你知道帝国cms灵动标签如何实现循环子栏目数据吗?其实代码很简单,下面小编就来介绍一下。
[e:loop={"select classid, classname, classpath from `[!db.pre!]enewsclass` where bclassid=$bclassid order by `classid` desc ",7,24,0}]
-
fetch1("select title,titlepic,smalltext,titleurl,keyboard,groupid,classid,newspath,filename,id from {$dbtbpre}ecms_news where classid = ".$bqr[classid]." and titlepic!= order by newstime desc limit 1");
$commbookurl=sys_ReturnBqTitleLink($commbook);
?>
-
=$bqr[classname]?>
更多 -
=esub($commbook[title],28)?>
=esub($commbook[smalltext],64)?>...
query("select title,titlepic,smalltext,titleurl,keyboard,newstime,groupid,classid,newspath,filename,id from {$dbtbpre}ecms_news where classid =".$bqr[classid]." order by newstime desc limit 5");
while($r=$empire->fetch($newbook)) {
?>
- ">=$r[title]?>=date(Y-m-d,$r[newstime])?>
文章转自:黎青松SEO博客
来源地址:http://www.alitaohuo.com/CMSjiaocheng/diguojiaocheng/1855.html
$.getJSON(“/section/814.json”,function(data){var h = + data[0][title] + : + data[0][description] + ;$(#section-814).append(h);});
申请创业报道,分享创业好点子。点击此处,共同探讨创业新机遇!
$.getJSON(“/section/637.json”,function(data){var channel_id =window.CHANNEL_ID ||0;var channel,default_channel;$.each(data,function(i,r){if (r.channel_id ==0) {default_channel =r;} if (r.channel_id ==channel_id) {channel =r;return false;} }) channel =channel ?channel :default_channel;if (channel &&channel.thumb) {var h =;$(#section-637).append(h);} });