首页 > CMS > 帝国Empire > 正文

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

2024-08-28 12:27:53
字体:
来源:转载
供稿:网友

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

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表