发一个友情链接的万能标签,下拉输出
页面模板内容
<select name=’friendsite’ onchange="if(this.options[this.selectedIndex].value!=”){window.open(this.options[this.selectedIndex].value,’_blank’);}">
<option value=”>友情文字链接站点</option>
…
页面模板内容
<select name=’friendsite’ onchange="if(this.options[this.selectedIndex].value!=”){window.open(this.options[this.selectedIndex].value,’_blank’);}">
<option value=”>友情文字链接站点</option>
…
灵动标签统计某表数据:
[e:loop={"select count(*) as title from [!db.pre!]ecms_info where ismember=1 and checked=1",1,24,0}]
总数:<font color="red"><?=$bqr[title]?></font>[/e:loop]条
某表某栏目统计:
[e:loop={"select count(*) as title from [!db.pre!]ecms_info where ismember=1 and checked=1 and classid=20",1,24,0}]
…
SQL标签的应用已带模版的标签为例:[ecmsinfo]"select * from phome_ecms_news where newstime > SUBDATE(NOW(),INTERVAL &nbs
也许,你是初学者,或者你是一个老道的ecms使用者,但是只要你利用ecms制作网站,你都不可避免滴反复修改模板,一旦出现一个小小的不足,修改就要修改全部的模板,这的确是一件非常累人的事情,有没有比较方便的方法呢?答案是肯定的,有,请看下面的文字。 &nbs