Dedecms V5.5后台首页信息统计代码分享

Dedecms V5.5后台首页信息统计代码分享,第1张

Dedecms V5.5后台首页信息统计代码分享 Dedecms V5.5后台首页信息统计代码分享   以下为引用的内容:   else if($dopost=='getRightSide')  {  $query = " Select count(*) as dd From `dede_member` ";  $row1 = $dsql->GetOne($query);  $query = " Select count(*) as dd From `dede_feedback` ";  $row2 = $dsql->GetOne($query);    $chArrNames = array();  $query = "Select id, typename From `dede_channeltype` ";  $dsql->Execute('c', $query);  while($row = $dsql->GetArray('c'))  {  $chArrNames[$row['id']] = $row['typename'];  }    $query = "Select count(channel) as dd, channel From `dede_arctiny` group by channel ";  $allArc = 0;  $chArr = array();  $dsql->Execute('a', $query);  while($row = $dsql->GetArray('a'))  {  $allArc += $row['dd'];  $row['typename'] = $chArrNames[$row['channel']];  $chArr[] = $row;  }    $query = "Select arc.id, arc.arcrank, arc.title, arc.channel, ch.editcon From `dede_archives` arc  left join `dede_channeltype` ch on ch.id = arc.channel  where arc.arcrank<>-2 order by arc.id desc limit 0, 6 ";  $arcArr = array();  $dsql->Execute('m', $query);  while($row = $dsql->GetArray('m'))  {  $arcArr[] = $row;  }  AjaxHead();  ?> 
 
  信息统计 
 
      会员数:         文档数:           :           评论数:        
 

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/zaji/3008807.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-09-27
下一篇 2022-09-27

发表评论

登录后才能评论

评论列表(0条)

保存