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']; } |
版權聲明: 本站資源均來自互聯(lián)網(wǎng)或會員發(fā)布,如果侵犯了您的權益請與我們聯(lián)系,我們將在24小時內(nèi)刪除!謝謝!
轉(zhuǎn)載請注明: dedecms織夢模板下載 調(diào)用當前會員發(fā)布的文章總數(shù)