<?exit?>
{template news_header}
<!-- Content内容 -->
<div class="content topcontent">
<div class="mainarea">
<p id="nav">您的位置:<a href="{S_URL}/">$_SCONFIG[sitename]</a>
<!--{loop $guidearr $value}-->
>> <a href="$value[url]">$value[name]</a>
<!--{/loop}-->
</p>
<!--根分类最新日志列表-->
<!--{if $_SGET['page']<2 || empty($_SGET['mode'])}-->
<!--{block name="spacenews" parameter="perpage/40/catid/$thecat[subcatid]/order/i.dateline DESC/cachename/newlist/tpl/data"}-->
<!--{if $_SBLOCK['newlist']}-->
<div class="block">
<h3>资讯列表</h3>
<ul class="msgtitlelist linelist articlelist">
<!--{loop $_SBLOCK['newlist'] $value}-->
<li>
<cite>#date($value["dateline"])# </cite>
<a href="$value[url]" target="_blank">$value[subject]</a>
</li>
<!--{/loop}-->
</ul>
<!--{if $_SBLOCK[newlist_multipage]}-->
<div class="pages">
$_SBLOCK[newlist_multipage]
</div>
<!--{/if}-->
</div>
<!--{/if}-->
<!--{/if}-->
<!--论坛资源列表-->
<!--{if !empty($thecat['bbsmodel'])}-->
<!--{if $_SGET['page']<2 || !empty($_SGET['mode'])}-->
<!--{eval $_SGET['mode']='bbs';}-->
<!--{block name="bbsthread" parameter="perpage/40/$thecat[blockparameter]/cachename/bbsthreadlist/tpl/data"}-->
<!--{if $_SBLOCK['bbsthreadlist']}-->
<div class="block">
<h3>论坛资源</h3>
<ul class="msgtitlelist linelist articlelist">
<!--{loop $_SBLOCK['bbsthreadlist'] $value}-->
<li>
<cite>#date($value["dateline"])# </cite>
<a href="$value[url]">$value[subject]</a> </li>
<!--{/loop}-->
</ul>
<!--{if $_SBLOCK[bbsthreadlist_multipage]}-->
<div class="pages">
$_SBLOCK[bbsthreadlist_multipage]
</div>
<!--{/if}-->
</div>
<!--{/if}-->
<!--{/if}-->
<!--{/if}-->
<!--{block name="category" parameter="upid/$thecat[catid]/ischannel/2/order/c.displayorder/limit/0,100/cachetime/10900/cachename/subarr/tpl/data"}-->
<!--{if $_SGET['page']<2}-->
<div class="blockcategorylist">
<!--{loop $_SBLOCK['subarr'] $ckey $cat}-->
<!--{eval $ctime=1800+30*$ckey;}-->
<!--{block name="spacenews" parameter="catid/$cat[subcatid]/order/i.dateline DESC/limit/0,10/subjectlen/36/subjectdot/1/cachetime/$ctime/cachename/subnewlist/tpl/data"}-->
<!--{if $_SBLOCK['subnewlist']}-->
<div class="blockcategory">
<h3><a href="#action/category/catid/$cat[catid]#">$cat[name]</a></h3>
<ul class="msgtitlelist">
<!--{loop $_SBLOCK['subnewlist'] $value}-->
<li><cite>#date($value["dateline"])# </cite><a href="$value[url]">$value[subject]</a></li>
<!--{/loop}-->
<li><a href="#action/category/catid/$cat[catid]#" class="more">更多……</a></li>
</ul>
</div>
<!--{/if}-->
<!--{/loop}-->
</div>
<!--{/if}-->
</div>
<div class="side">
<div class="block blockG">
<h1>$thecat[name]</h1>
<!--{if $thecat['thumb'] || $thecat['note']}-->
<div class="catepic">
<!--{if $thecat['thumb']}-->
<div><img src="{A_URL}/$thecat[thumb]" alt="" /></div>
<!--{/if}-->
<!--{if $thecat['note']}-->
<p>$thecat[note]</p>
<!--{/if}-->
</div>
<!--{/if}-->
<!--{if $_SBLOCK['subarr']}-->
<ul class="msgtitlelist">
<!--{loop $_SBLOCK['subarr'] $value}-->
<li><a href="$value[url]">$value[name]</a></li>
<!--{/loop}-->
</ul>
<!--{/if}-->
</div>
<!--专题列表-->
<!--{block name="category" parameter="upid/$thecat[catid]/ischannel/1/showattach/1/order/c.displayorder/limit/0,100/cachetime/16400/cachename/channel/tpl/data"}-->
<!--{if $_SBLOCK['channel']}-->
<div class="block">
<h3>专题</h3>
<ul class="imglogolist">
<!--{loop $_SBLOCK['channel'] $value}-->
<li>
<a href="#action/category/catid/$value[catid]#"><img src="$value[thumb]" alt="" /></a>
<p><a href="#action/category/catid/$value[catid]#">$value[name]</a></p>
</li>
<!--{/loop}-->
</ul>
</div>
<!--{/if}-->
<!--月度关注热点-->
<!--{block name="spacenews" parameter="dateline/2592000/catid/$thecat[subcatid]/order/i.viewnum DESC/limit/0,15/subjectlen/30/subjectdot/1/cachetime/97200/cachename/hotnews/tpl/data"}-->
<!--{if $_SBLOCK['hotnews']}-->
<div class="block">
<h3>月度关注热点</h3>
<ul>
<!--{loop $_SBLOCK['hotnews'] $value}-->
<li>
<a href="$value[url]">$value[subject]</a>
<span class="smalltxt">#date( $value["dateline"])#</span> </li>
<!--{/loop}-->
</ul>
</div>
<!--{/if}-->
</div>
</div>
<!-- /Content -->
<!--{if !empty($_SCONFIG['listadfooter'])}-->
<div class="adbox">$_SCONFIG[listadfooter]</div>
<!--{/if}-->
<!--{if !empty($_SCONFIG['listadfloating']) || !empty($_SCONFIG['listadside'])}-->
<script type="text/javascript" src="{S_URL}/include/js/floatadv.js"></script>
<script type="text/javascript">
<!--{if !empty($_SCONFIG['listadfloating'])}-->
var lengthobj = getWindowSize();
lsfloatdiv('floatAdv', 0, 0, "<div style=\"position: absolute; right: 6px; bottom: -"+lengthobj.winHeight+"px;\"><!--{eval echo jsstrip($_SCONFIG['listadfloating']);}--><\/div>").floatIt();
<!--{/if}-->
<!--{if !empty($_SCONFIG['listadside'])}-->
lsfloatdiv('coupleBannerAdv', 0, 0, "<div style=\"position: absolute; left: 6px; top: 6px;\"><!--{eval echo jsstrip($_SCONFIG['listadside']);}--><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['listadside']);}--><br \/><img src=\"{S_URL}/images/base/advclose.gif\" onMouseOver=\"this.style.cursor='hand'\" onClick=\"closeBanner('coupleBannerAdv');\"><\/div>").floatIt();
<!--{/if}-->
</script>
<!--{/if}-->
{template site_footer}
这段代码是SS3.0正式版的。
我想把右面的。side DIV里的内容全部移到 左边
原本左边的内容移动到右边。有没可能实现》?
然后我自己用了表格去套。
<?exit?>
{template news_header}
<table width="970" border="0" class="content topcontent">
<tr>
<td valign="top" class="side"><div>
<div class="block blockG">
<h1>$thecat[name]</h1>
<!--{if $thecat['thumb'] || $thecat['note']}-->
<div class="catepic">
<!--{if $thecat['thumb']}-->
<div><img src="{A_URL}/$thecat[thumb]" alt="" /></div>
<!--{/if}-->
<!--{if $thecat['note']}-->
<p>$thecat[note]</p>
<!--{/if}-->
</div>
<!--{/if}-->
<!--{if $_SBLOCK['subarr']}-->
<ul class="msgtitlelist">
<!--{loop $_SBLOCK['subarr'] $value}-->
<li><a href="$value[url]">$value[name]</a></li>
<!--{/loop}-->
</ul>
<!--{block name="spaceimage" parameter="catid/20,21,22,24,25,26,27,28,29/order/i.dateline ASC,i.lastpost DESC,i.replynum DESC/limit/0,10/cachetime/900/subjectlen/10/subjectdot/1/showdetail/1/messagelen/20/messagedot/1/showcategory/1/tpl/thumb_subject_li"}--><!--图片-->
<!--{/if}-->
</div>
<!--专题列表-->
<!--{block name="category" parameter="upid/$thecat[catid]/ischannel/1/showattach/1/order/c.displayorder/limit/0,100/cachetime/16400/cachename/channel/tpl/data"}-->
<!--{if $_SBLOCK['channel']}-->
<div class="block">
<h3>专题</h3>
<ul class="imglogolist">
<!--{loop $_SBLOCK['channel'] $value}-->
<li>
<a href="#action/category/catid/$value[catid]#"><img src="$value[thumb]" alt="" /></a>
<p><a href="#action/category/catid/$value[catid]#">$value[name]</a></p>
</li>
<!--{/loop}-->
</ul>
</div>
<!--{/if}-->
<!--月度关注热点-->
<!--{block name="spacenews" parameter="dateline/2592000/catid/$thecat[subcatid]/order/i.viewnum DESC/limit/0,15/subjectlen/30/subjectdot/1/cachetime/97200/cachename/hotnews/tpl/data"}-->
<!--{if $_SBLOCK['hotnews']}-->
<div class="block">
<h3>月度关注热点</h3>
<ul>
<!--{loop $_SBLOCK['hotnews'] $value}-->
<li>
<a href="$value[url]">$value[subject]</a>
<span class="smalltxt">#date( $value["dateline"])#</span> </li>
<!--{/loop}-->
</ul>
</div>
<!--{/if}-->
</div></td>
<td><div class="mainarea">
<p id="nav">您的位置:<a href="{S_URL}/">$_SCONFIG[sitename]</a>
<!--{loop $guidearr $value}-->
>> <a href="$value[url]">$value[name]</a>
<!--{/loop}-->
</p>
<!--根分类最新日志列表-->
<!--{if $_SGET['page']<2 || empty($_SGET['mode'])}-->
<!--{block name="spacenews" parameter="perpage/40/catid/$thecat[subcatid]/order/i.dateline DESC/cachename/newlist/tpl/data"}-->
<!--{if $_SBLOCK['newlist']}-->
<div class="block">
<h3>资讯列表</h3>
<ul class="msgtitlelist linelist articlelist">
<!--{loop $_SBLOCK['newlist'] $value}-->
<li>
<cite>#date($value["dateline"])# </cite>
<a href="$value[url]" target="_blank">$value[subject]</a> </li>
<!--{/loop}-->
</ul>
<!--{if $_SBLOCK[newlist_multipage]}-->
<div class="pages">
$_SBLOCK[newlist_multipage] </div>
<!--{/if}-->
</div>
<!--{/if}-->
<!--{/if}-->
<!--论坛资源列表-->
<!--{if !empty($thecat['bbsmodel'])}-->
<!--{if $_SGET['page']<2 || !empty($_SGET['mode'])}-->
<!--{eval $_SGET['mode']='bbs';}-->
<!--{block name="bbsthread" parameter="perpage/40/$thecat[blockparameter]/cachename/bbsthreadlist/tpl/data"}-->
<!--{if $_SBLOCK['bbsthreadlist']}-->
<div class="block">
<h3>论坛资源</h3>
<ul class="msgtitlelist linelist articlelist">
<!--{loop $_SBLOCK['bbsthreadlist'] $value}-->
<li>
<cite>#date($value["dateline"])# </cite>
<a href="$value[url]">$value[subject]</a> </li>
<!--{/loop}-->
</ul>
<!--{if $_SBLOCK[bbsthreadlist_multipage]}-->
<div class="pages">
$_SBLOCK[bbsthreadlist_multipage] </div>
<!--{/if}-->
</div>
<!--{/if}-->
<!--{/if}-->
<!--{/if}-->
<!--{block name="category" parameter="upid/$thecat[catid]/ischannel/2/order/c.displayorder/limit/0,100/cachetime/10900/cachename/subarr/tpl/data"}-->
<!--{if $_SGET['page']<2}-->
<div class="blockcategorylist">
<!--{loop $_SBLOCK['subarr'] $ckey $cat}-->
<!--{eval $ctime=1800+30*$ckey;}-->
<!--{block name="spacenews" parameter="catid/$cat[subcatid]/order/i.dateline DESC/limit/0,10/subjectlen/36/subjectdot/1/cachetime/$ctime/cachename/subnewlist/tpl/data"}-->
<!--{if $_SBLOCK['subnewlist']}-->
<div class="blockcategory">
<h3><a href="#action/category/catid/$cat[catid]#">$cat[name]</a></h3>
<ul class="msgtitlelist">
<!--{loop $_SBLOCK['subnewlist'] $value}-->
<li><cite>#date($value["dateline"])# </cite><a href="$value[url]">$value[subject]</a></li>
<!--{/loop}-->
<li><a href="#action/category/catid/$cat[catid]#" class="more">更多……</a></li>
</ul>
</div>
<!--{/if}-->
<!--{/loop}-->
</div>
<!--{/if}-->
</div></td>
</tr>
</table>
<!--{if !empty($_SCONFIG['listadfooter'])}-->
<div class="adbox">$_SCONFIG[listadfooter]</div>
<!--{/if}-->
<!--{if !empty($_SCONFIG['listadfloating']) || !empty($_SCONFIG['listadside'])}-->
<script type="text/javascript" src="{S_URL}/include/js/floatadv.js"></script>
<script type="text/javascript">
<!--{if !empty($_SCONFIG['listadfloating'])}-->
var lengthobj = getWindowSize();
lsfloatdiv('floatAdv', 0, 0, "<div style=\"position: absolute; right: 6px; bottom: -"+lengthobj.winHeight+"px;\"><!--{eval echo jsstrip($_SCONFIG['listadfloating']);}--><\/div>").floatIt();
<!--{/if}-->
<!--{if !empty($_SCONFIG['listadside'])}-->
lsfloatdiv('coupleBannerAdv', 0, 0, "<div style=\"position: absolute; left: 6px; top: 6px;\"><!--{eval echo jsstrip($_SCONFIG['listadside']);}--><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['listadside']);}--><br \/><img src=\"{S_URL}/images/base/advclose.gif\" onMouseOver=\"this.style.cursor='hand'\" onClick=\"closeBanner('coupleBannerAdv');\"><\/div>").floatIt();
<!--{/if}-->
</script>
<!--{/if}-->
{template site_footer}
套了之后分类栏目不显示了。不知道什么问题 |