优晟SEO

您现在的位置是:首页 > CMS教程 > 帝国cms > 正文

帝国cms

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

佚名 2024-08-20帝国cms
[!--empirenews.listtemp--]<tr><td height="25" align="left" valign="top" width="490"><!--list.var1--></td><td height="25" align="left" valign="top" wi……

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

[!--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>';