本站资源均来自互联网,仅供学习与参考,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
Copyright @ 2015-2020 织梦园 版权所有
Power by DedeCms
鲁ICP备15039853号-1
鲁公网安备 37132302000249号
模板标签 TAG标签 网站地图 XML地图 今日更新 返回顶部
if($col>1){ $artlist = “<table width=’$tablewidth’ border=’0′ cellspacing=’0′ cellpadding=’0′>\r\n”; }
修改为:
if($col>1){ $artlist = “\r\n”; }
查找:
if($col>1) $artlist .= “<tr>\r\n”;
修改为:
if($col>1) $artlist .= “\r\n”;
查找:
if($col>1) $artlist .= ” <td width=’$colWidth’ valign=’top’>\r\n”;
修改为:
if($col>1) $artlist .= ” \r\n”;
查找:
if($col>1) $artlist .= ” </td>\r\n”;
修改为:
if($col>1) $artlist .= ” \r\n”;
查找:
if($col>1){ $artlist .= ” </tr>\r\n”;}
修改为:
if($col>1){ $artlist .= ” \r\n”;}
查找:
if($col>1) $artlist .= ” </table>\r\n”;
修改为:
if($col>1) $artlist .= ” \r\n”;
这样去掉所有table(表格)标签,然后在模板里使用channelArtlist标签,***终显示的内容将不再包含这些table元素了。
在{dede:channelArtlist}与{/dede:channelArtlist}就能直接调用***终要显示的内容,不会含有多余的html代码了。