添加自定义列表,
统计记录
select count(*) as total from phome_enewstags查询记录
select tagid as id,tagname as title from phome_enewstags order by tagid desc标签聚合列表模
添加自定义列表,
统计记录
select count(*) as total from phome_enewstags
查询记录
select tagid as id,tagname as title from phome_enewstags order by tagid desc
标签聚合列表模板
<?php
if($class_r[$GLOBALS[navclassid]][bclassid]==0){
$classid=$GLOBALS['navclassid'];
$classname=$class_r[$classid][classname];
}else{
$classid=$class_r[$GLOBALS[navclassid]][bclassid];
$classname=$class_r[$classid][classname];
$fclass=sys_ReturnBqClassUrl($class_r[$classid]);//父栏目 URL
}
?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>[!--pagetitle--] - <?=$public_r[sitename]?></title>
<meta name="keywords" content="[!--pagekey--]">
<meta name="description" content="[!--pagedes--]">
<meta http-equiv="x-dns-prefetch-control" content="on" />
<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<link href="/skin/zhann/css/list.css" rel="external nofollow" rel="stylesheet" type="text/css" />
<script src="/skin/zhann/js/head.js"></script>
<script src="/skin/zhann/js/myfocus-2.0.4.min.js"></script>
<!--移动适配star-->
<script type="text/javascript">
(function(){
var ua = navigator.userAgent.toLowerCase();
var bIsIpad = ua.match(/ipad/i) == "ipad";
var bIsIphoneOs = ua.match(/iphone os/i) == "iphone os";
var bIsAndroid = ua.match(/android/i) == "android";
var bIsWM=ua.match(/windows mobile/i)=="windows mobile";
var host = "<?=$public_r['add_zhann_murl']?>";
var pathname = window.location.pathname;
if(bIsIpad||bIsIphoneOs||bIsAndroid||bIsWM){
window.location.href =host + pathname;
}
})();
</script>
<!--移动适配end-->
</head>
<body>
[!--temp.header--]
<div class="list_con con clear">
<div class="main">
<div class="ls_con_nr">
<div class="con_l1 fl">
<div class="ls_list bg yj_10 bj_mt10">
<div class="head_2">
<div class="fl lm_head_l">
<h3>
<em class="iconfont cb f24"></em>
<span href="#" rel="external nofollow" class="f24 ca">最新标签</span>
</h3>
</div>
</div>
<ul class="ls_list_ul bj_mt301">
[!--empirenews.listtemp--]<!--list.var1-->[!--empirenews.listtemp--]
</ul>
</div>
</div>
</div>
<div class="pnum">
<ul>
[!--show.listpage--]
<div class="clear"></div>
</ul>
</div>
<div class="clear"></div>
</div>
</div>
</div>
<footer class="bj_mt30 bg2">
<div class="footer_b bg_a bj_mt30">
</div>
</footer>
<script src="/skin/zhann/js/footer.js"></script>
<script src="/skin/zhann/js/index.js"></script>
</body>
</html>
list.var代码
<li><a href="/tag/[!--id--].html" rel="external nofollow" target="_blank">[!--title--]</a></li>
声明:
1.本站大部分内容均收集于网络!若内容若侵犯到您的权益,请发送邮件至:115904045@qq.com,我们将第一时间处理!
2.资源所需价格并非资源售卖价格,是收集、整理、编辑详情以及本站运营的适当补贴,并且本站不提供任何免费技术支持
3.所有资源仅限于参考和学习,版权归原作者所有,更多请阅读网站声明。
1.本站大部分内容均收集于网络!若内容若侵犯到您的权益,请发送邮件至:115904045@qq.com,我们将第一时间处理!
2.资源所需价格并非资源售卖价格,是收集、整理、编辑详情以及本站运营的适当补贴,并且本站不提供任何免费技术支持
3.所有资源仅限于参考和学习,版权归原作者所有,更多请阅读网站声明。