<!--begin--> <?php $ecms_bq_sql4=sys_ReturnEcmsLoopBq("select classid,classname,classpath from [!db.pre!]enewsclass where bclassid='$navclassid' order by myorder limit 5",20,24,0); $bqno4=0; while($bqr4=$empire->fetch($ecms_bq_sql4)) { $bqsr4=sys_ReturnEcmsLoopStext($bqr4); $bqno4++; ?> <div class="bgwhite" style="overflow:hidden;margin-bottom:10px;"> <div class="pics bgwhite"> <h3><?=$bqr4[classname]?>推荐</h3> <ul> [e:loop={$bqr4[classid],3,1,2,'isgood=1'}] <li> <div class="cover"><a href="<?=$bqsr[titleurl]?>" title="<?=$bqr[title]?>" target="_blank"><img src="<?=$bqr[titlepic]?>" border="0" width="160" height="160" alt="<?=$bqr[title]?>"></a></div> <h5><a href="<?=$bqsr[titleurl]?>" target="_blank"><?=esub($bqr[title],20)?></a></h5> </li> [/e:loop] </ul> </div> <div class="texts"> <h4><a href="/<?=$bqr4[classpath]?>">更多<?=$bqr4[classname]?> >></a></h4> <ul> [e:loop={$bqr4[classid],'0,3',1,0}] <li><a href="<?=$bqsr[titleurl]?>" title="<?=$bqr[title]?>" target="_blank"><?=esub($bqr[title],28)?></a><span><?=date('m-d',$bqr[newstime])?></span></li> [/e:loop] </ul> <ul style="border-top:1px solid #ddd;padding-top:7px;margin-top:7px;"> [e:loop={$bqr4[classid],'3,3',1,0}] <li><a href="<?=$bqsr[titleurl]?>" title="<?=$bqr[title]?>" target="_blank"><?=esub($bqr[title],28)?></a><span><?=date('m-d',$bqr[newstime])?></span></li> [/e:loop] </ul> </div> </div>
<?php } ?> <!--end-->
|