0) { $img="[图]"; } $listtemp='[!--title--] '.$img.'[!--newstime--]';">
表中怎么调出图片信息,以及增加省略号

表中怎么调出图片信息,以及增加省略号

来源:我爱模版网 作者:瞳荧 时间:2026-07-08
浏览:8 收藏 点赞(0)
简介:[!--empirenews.listtemp--]   [!--empirenews.listtemp--] (list.var调用的是) $img=""; if($bqr[img]>0) { $img="[图]"; } $listtemp='[!--title--] '.$img.'[!--newstime--]';
[!--empirenews.listtemp--]
<tr>
<td height="25" align="left" valign="top" width="490"><!--list.var1--></td>
<td height="25" align="left" valign="top" width="2" bgcolor="#C0C0C0"> </td>
<td height="25" align="left" valign="top" width="488"><!--list.var2--></td>
</tr>
[!--empirenews.listtemp--]

(list.var调用的是)

$img="";
if($bqr[img]>0)
{
$img="[图]";
}
$listtemp='<li><img border="0" src="/skin/default/images/biaoti1.gif" width="12" height="12"><a target="_blank" href="[!--titleurl--]">[!--title--]</a><font color="#ff0000"> '.$img.'</font><font color="#000000">[!--newstime--]</font><li>';

在线
客服