欢迎进入极速独立站群官方网! 咨询电话:13135381668 销售QQ:1000207

独立站群

当前位置:首页 - - 独立站群 - 站群操作 - 文章详情
编辑推荐

后台定义第一个为图下边为内容调用方法

浏览:2262 发布时间:2021-07-06
<div class="hot bgb fr mb15">
<?   if(isset($TEMP_SET[1])){
  $tcid=intval($TEMP_SET[1]["value"]);
  $title=$TEMP_SET[1]["title"];?>
  
  <? $query=$db->query("select addtime,pic,title,aid,shehe,descriptions,remark from ".$LG->table("article")." where class like '".getarcn($tcid)."%'  order by addtime desc limit 8");
   $id = 0;
  $i=0;
  while($rs=$db->fetchrow($query)){
    $id = $rs['id'];
  ?>
  
  <?if ($i ==0) {
?>
<h2><a href="<? echo getarurl($rs["aid"]);?>" title="<? echo $rs["title"];?>" class="yanse" target="_ablank"><? echo $rs["title"];?></a></h2>
<p>数据来源:最高人民法院、最高人民检察院 版式设计:沈亦伶 贵州省仁怀市实验小学,小学生球员在足球训练对抗赛胜利后...</p>

<ul>
<?
}else{?>
<li><span>05-27</span><i class="fa fa-caret-right"></i> <a href="<? echo getarurl($rs["aid"]);?>" title="<? echo $rs["title"];?>" target="_ablank"><? echo $rs["title"];?></a></li><? }?> <? $i++;}?>

</ul>
<? }?>
</div>