在帝国cms内容页模板显示该信息的下线时间
<?$info=$empire->fetch1("select * from phome_enewsinfovote where classid='$navinfor[classid]' and id='$navinfor[id]'");echo date("Y-m-d H:i:s",$info[infodowntime]);?>……
<?$info=$empire->fetch1("select * from phome_enewsinfovote where classid='$navinfor[classid]' and id='$navinfor[id]'");echo date("Y-m-d H:i:s",$info[infodowntime]);?>
- 上一篇
在帝国cms内容页里调用收藏该内容的会员信息
[e:loop={"select a.*,b.* from [!db.pre!]enewsfava a LEFT JOIN [!db.pre!]enewsmemberadd b ON a.userid=b.userid where classid='$navinfor[cl
- 下一篇
帝国cms列表页跳转到内容页的列表模板代码
此代码适用于栏目下面只有一个文章的 例如公司简介,联系我们等单页形式 代码如下<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd