小李SEO博客

网站优化服务

帝国cms首页使用PHP以及灵动标签调用评论表信息内容方法

帝国CMS模板php调用评论时间+评论内容+文章地址:<?php$sql=$empire->query("select * from {$dbtbpre}enewspl_1 order by saytime limit 10"); while($r=$empire->fetch($sql))   //循环获取查询记录{echo "<li><span class='time'>".date('m-d',$r[saytime])."</span><a target=_blank href='/e/action/ShowInfo.php?classid=".$r['classid']."&id=".$r['id']."'>".$r['saytext']."</a></li>";}?>

帝国CMS模板灵动标签调用评论时间+评论内容+文章地址:[e:loop={"select * from {$dbtbpre}enewspl_1 order by saytime limit 10",0,24,0}]<li><span><?=date('Y-m-d',$bqr[saytime])?></span><a href="<?=$public_r[newsurl]?>e/action/ShowInfo.php?classid=<?=$bqr['classid']?>&id=<?=$bqr['id']?>" target="_blank"><?=$bqr['saytext']?></a> </li>[/e:loop]

帝国CMS模板灵动标签调用评论时间+评论内容+评论地址:[e:loop={"select * from {$dbtbpre}enewspl_1 order by saytime limit 10",0,24,0}]<li><span><?=date('Y-m-d',$bqr[saytime])?></span><a href="<?=$public_r[newsurl]?>e/pl/?classid=<?=$bqr['classid']?>&id=<?=$bqr['id']?>" target="_blank"><?=$bqr['saytext']?></a> </li>[/e:loop]

上一篇:帝国cms百度主动自动推送插件PRO版安装教程 下一篇:帝国cms成功访问注册获得积分推广链接生产插件
相关帝国cms文章阅读
SEO公司排名
 
QQ在线咨询
SEM竞价推广
137-1296-7640
SEO优化外包
137-1296-7640