帝国cms列表页最新文章显示红色日期的教程
帝国cms首页列表页最新文章显示红色日期应该怎么办首页再列表模板处勾选使用程序代码$newimg=&#39;&#091;!--newstime--]&#39;;if(time()-$r[newstime]<=1*24*3600){$newimg=&#39;<FONT color=red>&#091;!--newstime-……
帝国cms首页列表页最新文章显示红色日期应该怎么办
首页再列表模板处勾选使用程序代码
$newimg='[!--newstime--]';if(time()-$r[newstime]<=1*24*3600){$newimg='<FONT color=red>[!--newstime--]</FONT>';}$listtemp='<LI><SPAN class=date>'.$newimg.'</SPAN> <a href="[!--titleurl--]" target=_blank>[!--title--]</A> </LI>';
- 上一篇
帝国cms内容页上一篇和下一篇另类调用方法
<a href="[!--news.url--]e/public/GotoNext?classid=[!--classid--]&id=[!--id--]&enews=pre">上一篇</a><a href="[!--news.url--]e/public/GotoNext?classid=[!--classid--]&id=&
- 下一篇
帝国cms内容页文章种添加广告,环绕内容显示
帝国CMS内容页模板加环饶广告代码方法!一起来看看吧:<divid="ad">[phomead]广告ID[/phomead]</div><styletype="text/css"><!--#ad{float:right;}--></style>大家赶紧去试试吧!