at 10年前 ca 记录笔记 pv 1168 by authorhu
$titlepic=$r[titlepic]; $titlepic=stripslashes($titlepic); if($titlepic==''){ $titlepic='/e/data/images/notimg.gif'; } $listtemp='<img src="'.$titlepic.'" alt="[!--title--]" width="145" height="109" />';
列表内容模板(list.var)判断标题图片是否存在 依然使用if
本文仅代表作者观点,未经许可,不得转载。
分享:
支付宝
微信