我不会编写网页,下了个模板使用后出现这中情况,求高手给说下该修改什么地方
<?exit?>
<!--{template header2}-->
<!--{eval $ads3 = getad('system', 'news', '3'); }-->
<h2><a href="{S_URL}"><img src="{S_URL}/images/logo.gif" alt="$_SCONFIG[sitename]" /></a></h2>
<!--{if !empty($ads3['pageheadad']) }-->
<div class="ad_header">$ads3[pageheadad]</div>
<!--{/if}-->
</div>
</div>
<!--header end-->
<div id="pagebody">
<div id="pagebody_extbg">
<div id="nav">
<ul class="main_nav">
<!--{if empty($_SCONFIG['defaultchannel'])}-->
<li><a href="{S_URL}/index.php"><span>首页</span></a></li>
<!--{/if}-->
<!--{loop $channels['menus'] $key $value}-->
<li <!--{if $key == 'news' }--> class="current"<!--{/if}-->><a href="$value[url]"><span>$value[name]</span></a></li>
<!--{/loop}-->
</ul>
<div class="ext_nav_bg">
<div class="ext_nav">
<!--{block name="category" parameter="type/news/isroot/1/order/c.displayorder/limit/0,100/cachetime/80890/cachename/category"}-->
<!--{eval $dot = '|'}-->
<!--{eval $total = count($_SBLOCK['category'])}-->
<!--{eval $i = 1;}-->
<!--{loop $_SBLOCK['category'] $value}-->
<li><a href="$value[url]">$value[name]</a><!--{if $total != $i}--> $dot <!--{/if}--></li>
<!--{eval $i++;}-->
<!--{/loop}-->
</div>
</div>
</div>
<div class="column">
<!--{if !empty($ads3['pagecenterad'])}-->
<div class="ad_pagebody">$ads3['pagecenterad']</div>
<!--{/if}-->
<div class="box_l col_590">
<div class="nl_list global_model">
<h3>您的位置:<a href="{S_URL}/">$_SCONFIG[sitename]</a>
<!--{loop $guidearr $value}-->
>> <a href="$value[url]">$value[name]</a>
<!--{/loop}-->
>> 查看资讯
</h3>
<div id="article">
<h1>$news[subject]</h1>
<p id="article_extinfo">
发布: #date('Y-n-d H:i', $news["dateline"])# |
作者: $news[newsauthor] |
<!--{if !empty($news['newsfrom'])}-->
来源: <!--{if !empty($news[newsfromurl])}--><a href="$news[newsfromurl]" target="_blank" title="$news[newsfrom]">$news[newsfrom]</a><!--{else}-->$news[newsfrom]<!--{/if}--><!--{/if}--> |
查看: $news[viewnum]次
</p>
<div id="article_body">
<!--{if !empty($news[custom][name])}-->
<div id="article_custom">
<!--{loop $news[custom][key] $ckey $cvalue}-->
<h6>$news[custom][name]</h6>
<p><strong>$cvalue[name]: </strong>$news[custom][value][$ckey]</p>
<!--{/loop}-->
</div>
<!--{/if}-->
$news[message]
<!--{if empty($multipage)}-->
<!--{loop $news['attacharr'] $attach}-->
<!--{if $attach['isimage']}-->
<div id="article_attachment" class="article_attach_isimage"><a href="$attach[url]" target="_blank"><img src="$attach[thumbpath]" alt="$attach[subject]" /><span>$attach[subject]</span></a></div>
<!--{else}-->
<div id="article_attachment"><a href="$attach[url]" target="_blank">$attach[filename]</a> (<!--{eval echo formatsize($attach[size]);}--></div>
<!--{/if}-->
<!--{/loop}-->
<!--{/if}-->
</div>
</div>
<!--{if !empty($relativetagarr)}-->
<div id="article_tag">
<strong>TAG:</strong>
<!--{loop $relativetagarr $value}-->
<!--{eval $svalue = rawurlencode($value);}-->
<a href="#action/tag/tagname/$svalue#" target="_blank">$value</a>
<!--{/loop}-->
</div>
<!--{/if}-->
<!--{if $multipage}-->
$multipage
<!--{/if}-->
<div id="article_op">
<a href="javascript:doPrint();">打印</a> | <a href="javascript:;" onclick="bookmarksite(document.title, window.location.href)">收藏此页</a> |
<a href="javascript:;" onclick="showajaxdiv('{S_URL}/batch.common.php?action=emailfriend&itemid=$news[itemid]', 400);">Mail给朋友</a> | <a href="javascript:;" onclick="report($news[itemid])" >举报</a>
</div>
<div id="article_pn"><a class="box_l" href="{S_URL}/batch.common.php?action=viewnews&op=up&itemid=$news[itemid]&catid=$news[catid]">上一篇</a> <a class="box_r" href="{S_URL}/batch.common.php?action=viewnews&op=down&itemid=$news[itemid]&catid=$news[catid]">下一篇</a></div>
<div class="blog_comment">
<!--{if !empty($commentlist)}-->
<div class="commentlist">
<!--{loop $commentlist $value}-->
<div class="comment_list">
<div class="comment_list_caption">
<div class="box_l"><!--{if empty($value[authorid])}-->$value[author]<!--{else}--><a href="{S_URL}/space.php?uid=$value[authorid]" target="_blank" class="author">$value[author]</a><!--{/if}--> (#date("Y-n-d H:i:s", $value["dateline"])#, 评分:<strong>$value[rates]</strong>)</div>
<div class="box_r">
<!--{if !empty($value[authorid]) && $value[authorid] == $_SGLOBAL['supe_uid'] || $_SGLOBAL['member']['groupid'] == 1}-->
<a href="#action/viewcomment/itemid/$value[itemid]/cid/$value[cid]/op/delete/php/1#">删除</a> |
<!--{/if}--><a href="javascript:;" onclick="getQuote($value[cid])">引用</a></div>
</div>
<!--{if !empty($value['message'])}-->
<p>$value[message]</p>
<!--{else}-->
<p class="blog_scoresnum">评$value[rates]分</p>
<!--{/if}-->
</div>
<!--{/loop}-->
</div>
<!--{/if}-->
</div>
<div id="xspace-rates" class="block">
<div id="xspace-rates-bg">
<div id="xspace-rates-star" class="xspace-rates0"> </div>
<div id="xspace-rates-a">
<a href="javascript:;" onmouseover="rateHover(-5);" onmouseout="rateOut();" onclick="setRateXML('-5', '$news[itemid]');">-5</a>
<a href="javascript:;" onmouseover="rateHover(-3);" onmouseout="rateOut();" onclick="setRateXML('-3', '$news[itemid]');">-3</a>
<a href="javascript:;" onmouseover="rateHover(-1);" onmouseout="rateOut();" onclick="setRateXML('-1', '$news[itemid]');">-1</a>
<a href="javascript:;" onmouseover="rateHover(0);" onmouseout="rateOut();" onclick="setRateXML('0', '$news[itemid]');">-</a>
<a href="javascript:;" onmouseover="rateHover(1);" onmouseout="rateOut();" onclick="setRateXML('1', '$news[itemid]');">+1</a>
<a href="javascript:;" onmouseover="rateHover(3);" onmouseout="rateOut();" onclick="setRateXML('3', '$news[itemid]');">+3</a>
<a href="javascript:;" onmouseover="rateHover(5);" onmouseout="rateOut();" onclick="setRateXML('5', '$news[itemid]');">+5</a>
</div>
<input type="hidden" id="xspace-rates-value" name="rates" value="0" />
</div>
<p>评分:<span id="xspace-rates-tip">0</span></p>
</div>
<div id="sign_msg">
<form action="#action/viewcomment/itemid/$news[itemid]/php/1#" method="post">
<fieldset>
<legend>发表评论</legend>
<textarea id="message" name="message" onfocus="showcode()" onkeydown="ctlent(event,'postcomm');"></textarea><br />
<!--{if empty($_SCONFIG['noseccode'])}-->
<div class="security_code">
<label for="seccode">验证码:</label><input type="text" id="seccode" name="seccode" maxlength="4" style="width:85px;" /> <img id="xspace-imgseccode" src="{S_URL}/do.php?action=seccode" onclick="javascript:newseccode(this);" alt="seccode" title="看不清?点击换一个" /> <a class="c_blue" title="看不清?点击换一个" href="javascript:newseccode($('xspace-imgseccode'));">换一个</a>
</div>
<!--{/if}-->
<input type="submit" value="发表评论" id="submit" class="input_submit"/>
<input type="hidden" value="submit" name="submitcomm" />
<input type="hidden" id="itemid" name="itemid" value="$news[itemid]" />
</fieldset>
</form>
</div><!--sign_msg end-->
<div id="article_numtip">【已有$news[replynum]位网友发表了看法,<a href="#action/viewcomment/itemid/$news[itemid]#">点击查看全部评论</a>】</div>
</div>
<!--图片资讯显示-->
<!--{block name="spacenews" parameter="haveattach/2/showattach/1/order/i.lastpost DESC/limit/0,10/cachetime/8000/cachename/picnews"}-->
<!--{if $_SBLOCK['picnews']}-->
<div class="news_glo_module news_pic_list news_pic_ext">
<div class="global_caption"><h3>图片资讯</h3></div>
<ul>
<!--{loop $_SBLOCK['picnews'] $value}-->
<li><a href="$value[url]" target="_blank" title="$value[subjectall]"><img src="$value[a_thumbpath]" alt="$value[subjectall]" /></a><span><a href="$value[url]">$value[subject]</a></span></li>
<!--{/loop}-->
</ul>
</div>
<!--{/if}-->
<div class="nl_hot">
<ul class="news_top_caption" id="tab_news_top">
<li class="normal"><em onclick="secBoard('tab_news_top','toplist',1, 'news_day_$thecat[subcatid]')">24小时点击排行</em></li>
<li class="normal"><em onclick="secBoard('tab_news_top','toplist',2, 'news_week_$news[catid]')">本周</em></li>
<li class="normal"><em onclick="secBoard('tab_news_top','toplist',3, 'news_moon_$news[catid]')">本月</em></li>
<li class="current"><em onclick="secBoard('tab_news_top','toplist',4, 'news_all_$news[catid]')">全部</em></li>
</ul>
<div class="news_top_cotent">
<!--24小时点击排行-->
<ul id="toplist_1" class="normal">
</ul>
<!--站内热门资讯列表(一周)-->
<ul id="toplist_2" class="normal">
</ul>
<!--站内热门资讯列表(一月)-->
<ul id="toplist_3" class="normal">
</ul>
<!--站内热门资讯列表(全部)-->
<!--{block name="spacenews" parameter="order/i.viewnum DESC/limit/0,16/cachetime/99400/subjectlen/40/subjectdot/1/cachename/hotnews3"}-->
<ul id="toplist_4" class="current">
<!--{loop $_SBLOCK['hotnews3'] $value}-->
<li><span class="box_r">#date('m.d', $value['dateline'])#</span><a href="$value[url]">$value[subject]</a></li>
<!--{/loop}-->
</ul>
</div>
</div>
</div>
<div class="box_r col_350 nl_for_sides">
<div class="search_bar">
<h3>站内搜索</h3>
<ul id="tab_search">
<li class="current"><em onclick="secBoard('tab_search','searchlist',1)">作者</em></li>
<li class="normal"><em onclick="secBoard('tab_search','searchlist',2)">标题</em></li>
<li class="normal"><em onclick="secBoard('tab_search','searchlist',3)">内容</em></li>
</ul>
<div class="search_list">
<div id="searchlist_1" class="current">
<form action="{S_URL}/batch.search.php" method="post">
<input id="search1" onclick="javascript:searchtxt('search1')" type="text" class="input_tx" size="22" name="searchkey" value="作者" />
<input type="submit" class="input_search" name="authorsearchbtn" value="搜索" /><br />
<input type="hidden" value="news" name="type">
<input type="hidden" name="authorsearch" value="true" />
</form>
</div>
<div id="searchlist_2" class="normal">
<form action="{S_URL}/batch.search.php" method="post">
<input id="search2" onclick="javascript:searchtxt('search2')" type="text" class="input_tx" size="22" name="searchkey" value="标题" />
<input type="submit" class="input_search" name="searchbtn" value="搜索" /><br />
<input type="hidden" value="news" name="type">
<input type="hidden" name="subjectsearch" value="true" />
</form>
</div>
<div id="searchlist_3" class="normal">
<form action="{S_URL}/batch.search.php" method="post">
<input id="search3" onclick="javascript:searchtxt('search3')" type="text" class="input_tx" size="22" name="searchkey" value="内容" />
<input type="submit" class="input_search" name="messagesearchbtn" value="搜索" /><br />
<input type="hidden" value="news" name="type">
<input type="hidden" name="messagesearch" value="true" />
</form>
</div>
</div>
</div>
<div class="news_glo_module">
<h3>最新报道</h3>
<!--{block name="spacenews" parameter="catid/$thecat[subcatid]/haveattach/2/showattach/1/order/i.viewnum DESC/limit/0,5/cachetime/$ctime/subjectlen/36/subjectdot/1/cachename/hotpicnews"}-->
<!--{if !empty($_SBLOCK['hotpicnews'])}-->
<!--{eval $hotpic = array_shift($_SBLOCK['hotpicnews'])}-->
<div class="news_box_hot">
<a href="$hotpic[url]"><img align="left" src="$hotpic[a_thumbpath]" alt="$hotpic[subjectall]" /></a>
<ul>
<!--{loop $_SBLOCK['hotpicnews'] $value}-->
<li><a href="$value[url]" target="_blank">$value[subject]</a></li>
<!--{/loop}-->
</ul>
</div>
<!--最新资讯列表-->
<!--{block name="spacenews" parameter="catid/$thecat[subcatid]/order/i.dateline DESC/limit/0,8/subjectlen/40/subjectdot/1/cachetime/13800/cachename/newnews"}-->
<!--{else}-->
<!--{block name="spacenews" parameter="catid/$thecat[subcatid]/order/i.dateline DESC/limit/0,12/subjectlen/40/subjectdot/1/cachetime/13800/cachename/newnews"}-->
<!--{/if}-->
<div class="news_box_content">
<ul>
<!--{loop $_SBLOCK['newnews'] $value}-->
<li><span class="box_r">#date('m.d', $value['dateline'])#</span><a href="$value[url]">$value[subject]</a></li>
<!--{/loop}-->
</ul>
</div>
</div>
<!--{if !empty($ads3['viewsiderad'])}-->
<div class="ad_news_side">
$ads3['viewsiderad']
</div>
<!--{/if}-->
<!--{block name="spacenews" parameter="dateline/2592000/digest/1,2,3/order/i.viewnum DESC,i.dateline DESC/limit/0,20/cachetime/89877/subjectlen/20/subjectdot/1/cachename/hotnews2"}-->
<!--{if $_SBLOCK['hotnews2']}-->
<div class="nl_hot_recommend">
<h3>精彩推荐</h3>
<div class="nl_hot_relist">
<ul>
<!--{loop $_SBLOCK['hotnews2'] $value}-->
<li><a href="$value[url]">$value[subject]</a></li>
<!--{/loop}-->
</ul>
</div>
</div>
<!--{/if}-->
<!--相关资讯-->
<!--{if !empty($news[relativeitemids])}-->
<!--{block name="spacenews" parameter="itemid/$news[relativeitemids]/order/i.dateline DESC/limit/0,20/cachetime/17680/cachename/relativeitem/tpl/data"}-->
<!--{if !empty($_SBLOCK['relativeitem']) }-->
<div class="nl_hot_recommend">
<h3>相关资讯</h3>
<ul class="nl_hot_relist">
<!--{loop $_SBLOCK['relativeitem'] $ikey $value}-->
<li><a href="$value[url]" target="_blank" title="$value[subjectall]">$value[subject]</a></li>
<!--{/loop}-->
</ul>
</div>
<!--{/if}-->
<!--{/if}-->
</div>
<div class="clear"></div>
<!--{if !empty($ads3['pagefootad'])}-->
<div class="ad_footer">
$ads3[pagefootad]
</div>
<!--{/if}-->
</div><!--column end-->
</div><!--pagebody end-->
<script language="javascript" type="text/javascript">
<!--
addMediaAction('article_body');
addImgLink("article_body");
//-->
</script>
<!--{if !empty($ads3['pagemovead']) || !empty($ads3['pageoutad'])}-->
<!--{if !empty($ads3['pagemovead'])}-->
<div id="coupleBannerAdv" style="z-index: 10; position: absolute; width:100px;left:10px;top:10px;display:none">
<div style="position: absolute; left: 6px; top: 6px;">
$ads3[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;">
$ads3[pagemovead]
<br />
<img src="{S_URL}/images/base/advclose.gif" onMouseOver="this.style.cursor='hand'" onClick="closeBanner('coupleBannerAdv');">
</div>
</div>
<!--{/if}-->
<!--{if !empty($ads3['pageoutad'])}-->
<div id="floatAdv" style="z-index: 10; position: absolute; width:100px;left:10px;top:10px;display:none">
<div id="floatFloor" style="position: absolute; right: 6px; bottom:-700px">
$ads3[pageoutad]
</div>
</div>
<!--{/if}-->
<script type="text/javascript" src="{S_URL}/include/js/floatadv.js"></script>
<script type="text/javascript">
<!--{if !empty($ads3['pageoutad'])}-->
var lengthobj = getWindowSize();
lsfloatdiv('floatAdv', 0, 0, 'floatFloor' , -lengthobj.winHeight).floatIt();
<!--{/if}-->
<!--{if !empty($ads3['pagemovead'])}-->
lsfloatdiv('coupleBannerAdv', 0, 0, '', 0).floatIt();
<!--{/if}-->
</script>
<!--{/if}-->
<!--{template footer2}--> |