使用的为SUPTIE5.52的默认模板 bbs_viewthread
想将http://36363.net/html/11/t-220811.html 内容页的 右侧 月度关注热点 最新更新主题 去掉后
使左面的内容占用去掉的位置 还有图片能原始大小显示 请问下面代码该如何修改 谢谢!
本人改了好多次 但是去掉右侧的 月度关注热点 最新更新主题 后左侧内容都向左缩了 而且图片也还是缩略显示 请会的帮忙下 十分感谢
<?exit?>
{template bbs_header}
<!--{if !empty($_SCONFIG['viewadcenter'])}-->
<div class="content" style="background: none; margin-bottom: 0.5em;">
$_SCONFIG[viewadcenter]
</div>
<!--{/if}-->
<!-- Content内容 -->
<div class="contentR">
<div class="sideR">
<!--最新更新主题-->
<!--{block name="bbsthread" parameter="fid/$thread[fid]/limit/0,10/cachetime/24500/order/dateline DESC/cachename/newthread/tpl/data"}-->
<!--{if $_SBLOCK['newthread']}-->
<div class="block topblock">
<h3>最新更新主题</h3>
<ul class="msgtitlelist">
<!--{loop $_SBLOCK['newthread'] $value}-->
<li><a href="$value[url]">$value[subject]</a></li>
<!--{/loop}-->
</ul>
</div>
<!--{/if}-->
<!--月度关注热点-->
<!--{block name="bbsthread" parameter="fid/$thread[fid]/dateline/2592000/order/views DESC/limit/0,10/cachetime/97200/cachename/hotthread/tpl/data"}-->
<!--{if $_SBLOCK['hotthread']}-->
<div class="block">
<h3>月度关注热点</h3>
<ul class="msgtitlelist">
<!--{loop $_SBLOCK['hotthread'] $value}-->
<li><a href="$value[url]">$value[subject]</a></li>
<!--{/loop}-->
</ul>
</div>
<!--{/if}-->
</div>
<div class="mainarea">
<div class="block topblock">
<h1 class="articletitle">$thread[subject]</h1>
<p class="articleinfo">
<span class="articlectrl">
字体:
<a href="javascript:;" onclick="doZoom('12');">小</a>
<a href="javascript:;" onclick="doZoom('14');">中</a>
<a href="javascript:;" onclick="doZoom('16');">大</a> |
<a href="javascript:;" onclick="doPrint();" class="btnprint">打印</a>
</span>
<span class="smalltxt">发表于: #date('Y-n-d H:i', $thread["dateline"])# 作者: $thread[author] 来源: $_SCONFIG[sitename]</span>
</p>
<div id="articlebody">
$thread[message]
<!--{if !empty($_SCONFIG['viewadmessage'])}-->
<br />
$_SCONFIG[viewadmessage]
<br />
<!--{/if}-->
<!--{if !empty($thread['attachments'])}-->
<div class="imginlog">
<!--{loop $thread['attachments'] $value}-->
<!--{if ($value['isimage'])}-->
<p><img src="$value[attachment]"><br />$value[filename]</p>
<!--{else}-->
<p><img src="{S_URL}/images/base/haveattach.gif" align="absmiddle" border="0"><a href="{B_URL}/attachment.php?aid=$value[aid]" target="_blank"><strong>$value[filename]</strong></a><br />($value[dateline], Size: $value[attachsize], Downloads: $value[downloads])</p>
<!--{/if}-->
<!--{/loop}-->
</div>
<!--{/if}-->
<br />
</div>
</div>
<div id="commentlist" class="block">
<!--{if $iarr}-->
<a href="{B_URL}/post.php?action=reply&tid=$thread[tid]" target="_blank" class="more reply">我也来说两句</a>
<a href="{B_URL}/viewthread.php?tid=$thread[tid]" target="_blank" class="more">查看全部回复</a>
<h3>最新回复</h3>
<ul class="commentlist">
<!--{loop $iarr $key $post}-->
<li>
<h4>$post[author] <span class="smalltxt">(#date("Y-n-d H:i:s", $post["dateline"])#)</span></h4>
<div>$post[message]</div>
<!--{if !empty($item['posts'][$post['pid']]['attachments'])}-->
<div class="imginlog">
<!--{loop $item['posts'][$post['pid']]['attachments'] $post}-->
<!--{if ($post['isimage'])}-->
<p><img src="$post[attachment]"><br />$post[filename]</p>
<!--{else}-->
<p><img src="{S_URL}/images/base/haveattach.gif" align="absmiddle" border="0"><a href="{B_URL}/attachment.php?aid=$post[aid]" target="_blank"><strong>$post[filename]</strong></a><br />($post[dateline], Size: $post[attachsize], Downloads: $post[downloads])</p>
<!--{/if}-->
<!--{/loop}-->
</div>
<!--{/if}-->
</li>
<!--{/loop}-->
</ul>
<!--{/if}-->
<div class="pages">
<div class="xspace-page">
<a href="{B_URL}/viewthread.php?tid=$thread[tid]" target="_blank">查看全部回复</a>
<a href="{B_URL}/post.php?action=reply&tid=$thread[tid]" target="_blank">我也来说两句</a>
</div>
</div>
</div>
</div>
</div>
<!-- /Content -->
<script language="javascript" type="text/javascript">
<!--
addImgLink("articlebody");
addImgLink("commentlist");
//-->
</script>
<!--{if !empty($_SCONFIG['viewadfloating']) || !empty($_SCONFIG['viewadside'])}-->
<script type="text/javascript" src="{S_URL}/include/js/floatadv.js"></script>
<script type="text/javascript">
<!--{if !empty($_SCONFIG['viewadfloating'])}-->
var lengthobj = getWindowSize();
lsfloatdiv('floatAdv', 0, 0, "<div style=\"position: absolute; right: 6px; bottom: -"+lengthobj.winHeight+"px;\"><!--{eval echo jsstrip($_SCONFIG['viewadfloating']);}--></div>").floatIt();
<!--{/if}-->
<!--{if !empty($_SCONFIG['viewadside'])}-->
lsfloatdiv('coupleBannerAdv', 0, 0, "<div style=\"position: absolute; left: 6px; top: 6px;\"><!--{eval echo jsstrip($_SCONFIG['viewadside']);}--><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($_SCONFIG['viewadside']);}--><br><img src=\"{S_URL}/images/base/advclose.gif\" onMouseOver=\"this.style.cursor='hand'\" onClick=\"closeBanner('coupleBannerAdv');\"></div>").floatIt();
<!--{/if}-->
</script>
<!--{/if}-->
{template bbs_footer} |