XML/HTML代码
- <table>
- [e:loop={栏目ID,显示条数,操作类型,只显示有标题图片}]
- <?
- $newimg="";
- if(time()-$bqr[truetime]<=3*24*3600)
- {
- $newimg="<img src='New图片地址'>";
- }
- ?>
- <tr><td>
- <a href="<?=$bqsr[titleurl]?>" target="_blank"><?=esub($bqr[title],36)?></a><?=$newimg?>
- </td></tr>
- [/e:loop]
- </table>