gettotal("select count(*) as total from ".$membertb." where ".egetmf('checked')."=0"); $allmembernum=eGetTableRowNum($membertb); //管理员 $adminnum=eGetTableRowNum($dbtbpre.'enewsuser'); //订单 $showshopmenu=stristr($public_r['closehmenu'],',shop,')?0:1; if($showshopmenu) { $allddnum=eGetTableRowNum($dbtbpre.'enewsshopdd'); $todayddnum=$empire->gettotal("select count(*) as total from {$dbtbpre}enewsshopdd where ddtime>='".$todaydate." 00:00:00' and ddtime<='".$todaydate." 23:59:59' limit 1"); $yesterdayddnum=$empire->gettotal("select count(*) as total from {$dbtbpre}enewsshopdd where ddtime>='".$yesterday." 00:00:00' and ddtime<='".$yesterday." 23:59:59' limit 1"); } //留言 $allgbooknum=eGetTableRowNum($dbtbpre.'enewsgbook'); $checkgbooknum=$empire->gettotal("select count(*) as total from {$dbtbpre}enewsgbook where checked=1"); //反馈 $allfeedbacknum=eGetTableRowNum($dbtbpre.'enewsfeedback'); $noreadfeedbacknum=$empire->gettotal("select count(*) as total from {$dbtbpre}enewsfeedback where haveread=0"); //广告 $alladnum=eGetTableRowNum($dbtbpre.'enewsad'); $outtimeadnum=$empire->gettotal("select count(*) as total from {$dbtbpre}enewsad where endtime<'$todaydate' and endtime<>'0000-00-00'"); //错误报告 $errornum=eGetTableRowNum($dbtbpre.'enewsdownerror'); //友情链接 $sitelinknum=eGetTableRowNum($dbtbpre.'enewslink'); ?>
位置:其他统计 |
其他统计 | |
会员 |
待审核会员:=$checkmembernum?>,会员总数:=$allmembernum?> |
管理员 |
管理员总数:=$adminnum?> |
商城订单 |
|
留言 |
待审核留言:=$checkgbooknum?>,总留言数:=$allgbooknum?> |
反馈 |
未查看反馈:=$noreadfeedbacknum?>,总反馈数:=$allfeedbacknum?> |
广告 |
过期广告数:=$outtimeadnum?>,总广告数:=$alladnum?> |
错误报告 |
错误报告数:=$errornum?> |
友情链接 |
友情链接数:=$sitelinknum?> |
说明:点击“数量”可进入相应的管理。 |