太阳成游戏网站CMS框架是一款PHP8高性能·简单易用的CMS开源开发框架,基于MIT开源许可协议发布,免费且不限制商业使用,是免费开源的产品,以万端互联为设计理念,支持的微信公众号、小程序、APP客户端、移动端网站、PC网站等多终端式管理系统。
联系官方销售客服
QQ1835022299
028-61286886
模板标签里面
想统计一下每个模块的 阅读量总和 不知道 咋写 谢谢
模板文件:URL地址:
{template "nheader.html"} {fc_lang('网站后台')} {fc_lang('总览')} {if $ip} {$ip} {/if} {template "main2.html"} {if $admin.usermenu} {loop $admin.usermenu $t} {$t.name} {/loop} {/if} {fc_lang('数据统计')} {fc_lang('模块')} {fc_lang('总数据')} {fc_lang('今日')} {fc_lang('审核')} {fc_lang('回收站')} {fc_lang('浏览数')} {loop $mtotal $dir $t} {php $ci->db->select_sum('hits'); $query = $ci->db->get(SITE_ID.'_'.$dir.'_hits'); is_object($query)?$row = $query->row_array():exit();} {php !$row['hits']?$row['hits']=0:$row['hits'];} {$t.name} {$row['hits']} {/loop} 系统信息 {fc_lang('授权域名')}: {$sqdomain} {fc_lang('程序版本')}: POSCMS v{DR_VERSION} Bulid{dr_rp(DR_UPDATE,'.','')} {fc_lang('服务器环境')}: {$server} 、PHP{PHP_VERSION} 、MySql{$sqlversion} {fc_lang('上传最大值')}: {php echo @ini_get("upload_max_filesize");} {fc_lang('POST最大值')}: {php echo @ini_get("post_max_size");} {fc_lang('通知提醒')} {fc_lang('全部')} {if !$notice} {fc_lang('无任何提醒')} {else} {loop $notice $t} {if $t.type =='system'} {else if $t.type =='content'} {else if $t.type =='app'} {else if $t.type =='member'} {/if} {$t.msg} {dr_date($t.inputtime,'m-d')} {/loop} {/if} {template "nfooter.html"}
{$ip}
写出来了 晚上给你写教程