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

时间:2019-02-14 23:14作者:网友投稿

[!--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>';
上传以下图片:


免责声明:本站所有文章和图片均来自用户分享和网络收集,文章和图片版权归原作者及原出处所有,仅供学习与参考,请勿用于商业用途,如果损害了您的权利,请联系网站客服处理。