function count_arc() { global $dsql,$uid; $sql = "SELECT mid,userid FROM `dede_member` WHERE `userid` = '".$uid."'"; $row = $dsql->GetOne($sql); $count = $dsql->GetOne("select COUNT(*) AS dd FROM dede_archives where mid='".$row['mid']."'"); return $count['dd']; } |
模版任意页面中调用
|
Pbootcms问题解决
请点击在线联系我们【点击咨询解决问题】 如果您有任何Pbootcms问题,我们将免费为您写解决教程!