/plus/ 下新建一个 memcount.php
	<?php
require_once(dirname(__FILE__)."/../include/common.inc.php");
if(!empty($view))
{
    $row = $dsql->GetOne(" SELECT COUNT(*) AS dd FROM `SzsFox_member` ");
    if(is_array($row))
    {
        echo "document.write('".$row['dd']."');\r\n";
    }
}
exit(); 
前台模板调用
共有会员<script src="{dede:field name='phpurl'/}/memcount.php?view=yes"type='text/javascript' language="javascript"></script>
原文链接:https://www.qiquanji.com/post/6981.html
本站声明:网站内容来源于网络,如有侵权,请联系我们,我们将及时处理。
                        微信扫码关注
更新实时通知