帝国cms内容页某个字段没有填写就不显示的解决方法
<?phpif($navinfor[字段名]){?>现在字段<?}else{?>不显示<?}?>……
<?phpif($navinfor[字段名]){?>现在字段<?}else{?>不显示<?}?>
- 上一篇
JS记录并显示网页的最后修改时间
<script language=JavaScript> document.write("最后更新时间: " + document.lastModified + "") </script>
- 下一篇
会员发布的信息的内容页面调用会员发布的其他信息
用php和sql语句调用,把下面代码加到会员空间模板里面。用sql调用 select * from phome_ecms_表 where userid='$navinfor[userid]' and ismember=1 and checked=1 order by newstime desc limit 10