问题出在IE 6.0, 在新闻和论坛版块中间多出一个最新新闻的后两个字符。IE 7.0和Firefox全部看起来没问题。请大家指教,很急。- <?exit?>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=$_SCONFIG[charset]" />
- <title>$_SCONFIG[sitename] $_SCONFIG[seotitle]</title>
- <meta name="keywords" content="$_SCONFIG[sitename] $_SCONFIG[seokeywords]" />
- <meta name="description" content="$_SCONFIG[sitename] $_SCONFIG[seodescription]" />
- <link rel="stylesheet" type="text/css" href="{S_URL}/templates/$_SCONFIG[template]/css/style.css" />
- $_SCONFIG[seohead]
- <script type="text/javascript">
- var siteUrl = "{S_URL}";
- </script>
- <script src="{S_URL}/include/js/ajax.js" type="text/javascript" language="javascript"></script>
- <script src="{S_URL}/include/js/common.js" type="text/javascript" language="javascript"></script>
- </head>
- <body>
- <!--{eval $ads = getad('system', 'indexad', '1');}-->
- <div id="wrap">
- <div id="header">
- <div id="a_topmenu">
- <span>
- <a href="{S_URL}/">首页</a> |
- <a href="#action/bbs#">论坛</a> |
- <a href="{S_URL}/batch.search.php">搜索</a>
- </span>
- <div id="userpanel"><script src="{S_URL}/a03_batch.panel.php?rand={eval echo rand(1, 999999)}" type="text/javascript" language="javascript"></script></div>
- </div>
- <div id="pagetitle">
- <!--{if !empty($ads['pageheadad'])}-->
- <div class="bannertop">$ads[pageheadad]</div>
- <!--{/if}-->
- <div>
- <a href="{S_URL}/"><img id="logo" src="{S_URL}/templates/$_SCONFIG[template]/images/logo.gif" alt="$_SCONFIG[sitename]" /></a>
- </div>
- </div>
- <div id="topmenu">
- <div>
- <!--{loop $channels['menus'] $key $value}-->
- <a href="$value[url]" class="$key">$value[name]</a>
- <!--{/loop}-->
- </div>
- </div>
-
- <!--论坛分类导航菜单-->
- <!--{block name="bbsforum" parameter="type/forum/allowblog/1/order/displayorder/limit/0,100/cachetime/14400/cachename/forumarr/tpl/data"}-->
- <div id="menu" class="block"; style="border-top-width:0">
- <ul>
- <!--{loop $_SBLOCK['forumarr'] $value}-->
- <li><a href="$value[url]">$value[name]</a></li>
- <!--{/loop}-->
- </ul>
- </div>
- <div id="navigation">
- <form id="searchform" action="{S_URL}/batch.search.php" method="post">
- <input type="text" id="searchkey" name="searchkey" />
- <select name="type" id="type">
- <option value="">全部</option>
- <!--{loop $channels['types'] $value}-->
- <option value="$value[nameid]">$value[name]</option>
- <!--{/loop}-->
- </select>
- <button type="submit" name="subjectsearch" value="true">搜索</button>
- </form>
- <p>您的位置:<a href="{S_URL}/">首页</a></p>
- </div>
- </div>
- <!--{if !empty($ads['pagecenterad'])}-->
- <div class="banner">
- $ads[pagecenterad]
- </div>
- <!--{/if}-->
- <!-- Content内容 -->
- <div class="content">
- <!--左边-->
- <div class="sideL">
- <!--图文资讯幻灯片-->
- <!--{block name="spacenews" parameter="haveattach/1/showattach/1/order/i.dateline DESC/limit/0,10/cachetime/11930/cachename/picnews/tpl/data"}-->
- <div id="slideimg" class="block" style="height: 253px; overflow: hidden;">
- <!--{if !empty($_SBLOCK['picnews'])}-->
- <script type="text/javascript" language="javascript">
- <!--
- var xsTextBar = 1; //是否显示文字链接,1为显示,0为不显示
- var xsPlayBtn = 0; //是否显示播放按钮,1显示,0为不显示
- var xsImgSize = new Array(286,220); //幻灯图片的尺寸,格式为“宽度,高度”
-
- var xsImgs = new Array();
- var xsImgLinks = new Array();
- var xsImgTexts = new Array();
-
- <!--{eval $i=0;}-->
- <!--{loop $_SBLOCK['picnews'] $key $value}-->
- xsImgs[$i] = "$value[a_thumbpath]";
- xsImgLinks[$i] = "<!--{eval echo url_remake($value['url']);}-->";
- xsImgTexts[$i] = "<!--{eval echo addslashes($value[subject])}-->";
- <!--{eval $i++;}-->
- <!--{/loop}-->
- //-->
- </script>
- <script language="javascript" type="text/javascript" src="{S_URL}/include/js/slide.js"></script>
- <!--{/if}-->
- </div>
- <!--资讯图片幻灯片 结束-->
-
- <!--最热资讯TAG列表-->
- <!--{block name="tag" parameter="order/spacenewsnum DESC/limit/0,18/cachetime/18000/cachename/hottag/tpl/data"}-->
- <div id="hottag" class="block">
- <h3>热门Tag</h3>
- <div style="height:75px; overflow:hidden;">
- <!--{loop $_SBLOCK['hottag'] $value}-->
- <a href="$value[url]">$value[tagname]<em>($value[spacenewsnum])</em></a>
- <!--{/loop}-->
- </div>
- </div>
- <!--TAG结束-->
-
- </div>
- <!--左边结束-->
- <!-- 中间 -->
- <div class="mainarea">
- <!--站内最新资讯列表-->
- <!--{block name="spacenews" parameter="order/i.dateline DESC/limit/0,16/subjectlen/60/cachetime/13800/cachename/newnews/tpl/data"}-->
- <div id="focus" class="block" style="height:380px; overflow:hidden;">
- <h3>最新新闻</h3>
- <dl>
- <!--{loop $_SBLOCK['newnews'] $value}-->
- <dt><a href="$value[url]">$value[subject]</a></dt>
- <!--{/loop}-->
- </dl>
- </div>
- </div>
- <!-- 中间结束-->
- <!-- 右侧 -->
- <div class="sideR">
- <!--一周评论热点-->
- <!--{block name="spacenews" parameter="dateline/604800/order/i.replynum DESC/limit/0,16/cachetime/68000/cachename/replyhot/tpl/data"}-->
- <div id="focus" class="block" style="height:380px; overflow:hidden;">
- <h3>评论热点</h3>
- <dl>
- <!--{if !empty($_SBLOCK['replyhot'])}-->
- <!--{loop $_SBLOCK['replyhot'] $value}-->
- <dt><a href="$value[url]" title="$value[subjectall]">$value[subject]</a></dt>
- <!--{/loop}-->
- <!--{/if}-->
- </dl>
- </div>
- </div>
- <!--sideR结束-->
- </div>
- <!--内容结束-->
- <div class="content">
-
- <div class="blocktitle">
- <a href="{B_URL}/" class="more">进入论坛</a>
- <h2>论坛版块</h2>
- </div>
- <div class="blockcategorylist block3col">
- <!--各板块最新列表-->
- <!--{loop $_SBLOCK['forumarr'] $ckey $cat}-->
- <!--{eval $ctime=3800+30*$ckey;}-->
- <!--{block name="bbsthread" parameter="fid/$cat[fid]/order/dateline DESC/limit/0,10/cachetime/$ctime/subjectlen/40/subjectdot/1/cachename/threadlist/tpl/data"}-->
- <div class="blockcategory" style="width: 239px;">
- <h3>
- <a href="#action/forumdisplay/fid/$cat[fid]#" class="more">更多</a>
- <strong><a href="#action/forumdisplay/fid/$cat[fid]#">$cat[name]</a></strong>
- </h3>
- <ul class="msgtitlelist">
- <!--{loop $_SBLOCK['threadlist'] $value}-->
- <li><cite>#date("m-d", $value["dateline"])# </cite><a href="$value[url]">$value[subject]</a></li>
- <!--{/loop}-->
- </ul>
- <!--p class="catecommend"><a href="javascript:;">热点</a></p-->
- </div>
- <!--{/loop}-->
- </div>
- </div>
- <br />
- <!-- /Content -->
- <!-- Footer -->
- <div id="footer">
- <!--{if !empty($ads['pagefootad'])}-->
- <div class="banner">
- $ads[pagefootad]
- </div>
- <!--{/if}-->
- <p>
- <a href="{S_URL}/">$_SCONFIG[sitename]</a> |
- <a href="{B_URL}/" target="_blank">交流论坛</a> |
- <a href="{S_URL}/?action/site/type/panel">快捷面板</a> |
- <a href="{S_URL}/?action/site/type/map">站点地图</a> |
- <a href="{S_URL}/?action/site/type/link">友情链接</a> |
- <a href="{S_URL}/?action/spaces">空间列表</a> |
- <a href="{S_URL}/archiver/">站点存档</a> |
- <a href="mailto:$_SCONFIG[adminemail]">联系我们</a>
- </p>
- <p id="copyright">
- Powered by <a href="http://www.supesite.com" target="_blank"><strong>Supe<span>Site</span></strong></a> <em><?=S_VER?></em>
- © 2001-2008 <a href="http://www.comsenz.com" target="_blank">Comsenz Inc.</a>
- <br />{eval debuginfo();}
- </p>
- </div>
- <!-- /Footer -->
- </div>
- <!--{if !empty($ads['pagemovead']) || !empty($ads['pageoutad'])}-->
- <script type="text/javascript" src="{S_URL}/include/js/floatadv.js"></script>
- <script type="text/javascript">
- <!--{if !empty($ads['pageoutad'])}-->
- var lengthobj = getWindowSize();
- lsfloatdiv('floatAdv', 0, 0, "<div style="position: absolute; right: 6px; bottom: -"+lengthobj.winHeight+"px;"><!--{eval echo jsstrip($ads['pageoutad']);}--><\/div>").floatIt();
- <!--{/if}-->
- <!--{if !empty($ads['pagemovead'])}-->
- lsfloatdiv('coupleBannerAdv', 0, 0, "<div style="position: absolute; left: 6px; top: 6px;"><!--{eval echo jsstrip($ads['pagemovead']);}--><br \/><img src="{S_URL}/images/base/advclose.gif" onMouseOver="this.style.cursor='hand'" onClick="closeBanner('coupleBannerAdv');"><\/div><div style="position: absolute; right: 6px; top: 6px;"><!--{eval echo jsstrip($ads['pagemovead']);}--><br \/><img src="{S_URL}/images/base/advclose.gif" onMouseOver="this.style.cursor='hand'" onClick="closeBanner('coupleBannerAdv');"><\/div>").floatIt();
- <!--{/if}-->
- </script>
- <!--{/if}-->
- <!--{if !empty($ads['pageoutindex'])}-->
- $ads[pageoutindex]
- <!--{/if}-->
- </body>
- </html>
复制代码 |