24小时发布时间为红色帝国CMS方法
24小时发布时间为红色语法:<span><?$newstime=date(&#39;m-d&#39;,$bqr[newstime]);if(time()-$bqr[newstime]<=1*24*3600){$newstime="<fontcolor=red>$newstime</font>";}?><?=$newstime?></span>……
24小时发布时间为红色语法:
<span><?$newstime=date('m-d',$bqr[newstime]);if(time()-$bqr[newstime]<=1*24*3600){$newstime="<fontcolor=red>$newstime</font>";}?><?=$newstime?></span>
- 上一篇
帝国cms电影播放页完美调用上一集和下一集链接的方法
打开播放器的php文件 在eDownSysplay下在ViewOnlineKFen($showdown_r,$u,$u[$user_userid],$classid,$id,$pathid,$r);下面增加$pathid1=$pathid-1;$pathid2=$pathid+1;然后在要调用的地方加上:<?phpif($pathid1==-1){
- 下一篇
帝国使用[showtags]标签随机颜色大小显示tags方法
帝国CMS使用[showtags]随机颜色大小显示tags标签在要显示TAGS的地方粘贴下列代码:<div id="tags">[showtags]'',10,10,'num desc',0,'s,r','',1,''[/showtags]</div><script>var bcolor = document.getElementById("