fetch1("select pretime,preip,loginnum,preipport from {$dbtbpre}enewsuser where userid='$logininid'");
$gr=$empire->fetch1("select groupname from {$dbtbpre}enewsgroup where groupid='$loginlevel'");
//管理员统计
$adminnum=$empire->gettotal("select count(*) as total from {$dbtbpre}enewsuser");
$date=date("Y-m-d");
$noplnum=$empire->gettotal("select count(*) as total from {$dbtbpre}enewspl_".$public_r['pldeftb']." where checked=1");
//未审核会员
$nomembernum=$empire->gettotal("select count(*) as total from ".eReturnMemberTable()." where ".egetmf('checked')."=0");
//过期广告
$outtimeadnum=$empire->gettotal("select count(*) as total from {$dbtbpre}enewsad where endtime<'$date' and endtime<>'0000-00-00'");
//签发信息
$qfinfonum=$empire->gettotal("select count(*) as total from {$dbtbpre}enewswfinfo where checktno=0 and (groupid like '%,".$lur['groupid'].",%' or userclass like '%,".$lur['classid'].",%' or username like '%,".$lur['username'].",%')");
//系统信息
if(function_exists('ini_get')){
$onoff = ini_get('register_globals');
} else {
$onoff = get_cfg_var('register_globals');
}
if($onoff){
$onoff="打开";
}else{
$onoff="关闭";
}
if(function_exists('ini_get')){
$upload = ini_get('file_uploads');
} else {
$upload = get_cfg_var('file_uploads');
}
if ($upload){
$upload="可以";
}else{
$upload="不可以";
}
if(function_exists('ini_get')){
$uploadsize = ini_get('upload_max_filesize');
} else {
$uploadsize = get_cfg_var('upload_max_filesize');
}
if(function_exists('ini_get')){
$uploadpostsize = ini_get('post_max_size');
} else {
$uploadpostsize = get_cfg_var('post_max_size');
}
//开启
$register_ok="开启";
if($public_r[register_ok])
{$register_ok="关闭";}
$addnews_ok="开启";
if($public_r[addnews_ok])
{$addnews_ok="关闭";}
//版本
@include("../class/EmpireCMS_version.php");
?>