<h2 class="hometitle">点击排行</h2> [e:loop={'news',5,19,1}] <? if($bqno==1) { ?> <ul class="tjpic"> <i><img src="<?=$bqr[titlepic]?>"></i> <p><a href="<?=$bqsr[titleurl]?>" title="<?=$bqr[title]?>" target="_blank"> <?=$bqr[title]?> </a></p> </ul> <?php } else{ ?> <ul class="sidenews"> <li> <i><img src="<?=$bqr[titlepic]?>"></i> <p><a href="<?=$bqsr[titleurl]?>" title="<?=$bqr[title]?>" target="_blank"> <?=$bqr[title]?> </a></p> <span>[<?=date('Y-m-d',$bqr[newstime])?>]</span> </li> </ul> [/e:loop] <? } ?>