QQ:190274395 有人可以帮帮我吗...我研究几天了..确实弄不好了...
是改了这里面的调用代码才开始错位置的..
希望有好心人可以帮我解决一下啊..我对代码不熟悉..老是出错!!
<!--左列结束,右列开始-->
<div>
<div align=left style="float:right;">
<DIV id=right_pp>
<DIV id=r_tit_l_n><SPAN class=r_tit_r_n><A href="{S_URL}/?action_news"
target=_blank><IMG height=16 src="{S_URL}/templates/$_SCONFIG[template]/images/more.gif"
width=40 align=absMiddle></A></SPAN><SPAN class=r_tit_text_n><A
href="{S_URL}/?action_news" target=_blank>资讯导读</A></SPAN></DIV>
<DIV id=right_ol>
<DIV id="spacestaro" style="MARGIN: 0px 0px 0px 15px; TEXT-ALIGN: center;">
<!--{block name="spacenews" parameter="grade/1,2/haveattach/1/showattach/1/order/i.dateline DESC,i.viewnum DESC/limit/0,5/cachetime/900/subjectlen/30/showdetail/1/cachename/homenewsd/tpl/data"}--><!--Home资讯导读图片-->
<ul>
<!--{loop $_SBLOCK['homenewsd'] $value}-->
<li>
<div><a href="$value[url]" target="_blank"><img src="$value[a_thumbpath]" title="$value[subjectall]" /></a></div>
</li>
<!--{/loop}-->
</ul>
</div>
<DIV
style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 3px; WIDTH: 316px; PADDING-TOP: 3px; BACKGROUND-COLOR: #fff7f0">
<DIV id=ent_news style="MARGIN: 0px auto; WIDTH: 290px">
<P><SPAN class=main_c> 快迅导读:</SPAN>
<div>
<!--{block name="spacenews" parameter="catid/92/order/i.dateline DESC/limit/0,10/cachetime/900/tpl/subject_li"}--><!--校园新闻-->
<ul class="ico_book" style="height: 60px;">
<!--{loop $_SBLOCK['dd_ssqy'] $value}-->
<li><cite></cite> <a href="$value[url]" title="$value[subjectall]" target="_blank">$value[subject]</a></li>
<!--{/loop}-->
</ul>
</div>
</P>
<P><SPAN class=main_c>社会新闻:</SPAN>
<div>
<!--{block name="spacenews" parameter="catid/93/order/i.dateline DESC/limit/0,10/cachetime/900/tpl/subject_li"}--><!--社会新闻-->
<ul class="ico_book" style="height: 60px;">
<!--{loop $_SBLOCK['dd_shml'] $value}-->
<li><cite></cite> <a href="$value[url]" title="$value[subjectall]" target="_blank">$value[subject]</a></li>
<!--{/loop}-->
</ul>
</div>
</P>
<P><SPAN class=main_c>游戏资讯:</SPAN>
<div>
<!--{block name="spacenews" parameter="catid/94/order/i.dateline DESC/limit/0,10/cachetime/900/tpl/subject_li"}--><!--游戏资讯-->
<ul class="ico_book" style="height: 60px;">
<!--{loop $_SBLOCK['dd_shml'] $value}-->
<li><cite></cite> <a href="$value[url]" title="$value[subjectall]" target="_blank">$value[subject]</a></li>
<!--{/loop}-->
</ul>
</div>
</P>
<P><SPAN class=main_c>娱乐新闻:</SPAN>
<div>
<!--{block name="spacenews" parameter="catid/95/order/i.dateline DESC/limit/0,10/cachetime/900/tpl/subject_li"}--><!--娱乐新闻-->
<ul class="ico_book" style="height: 50px;">
<!--{loop $_SBLOCK['dd_shml'] $value}-->
<li><cite></cite> <a href="$value[url]" title="$value[subjectall]" target="_blank">$value[subject]</a></li>
<!--{/loop}-->
</ul>
</div>
</P>
<div style="margin-bottom: 3px;"> </div> <!--底为3px的空行,增加美观-->
</DIV></DIV></DIV>
</DIV>
</div><!--右列结束-->
<!--第一部份分列显示结束-->
<div style="margin-bottom: 5px;"> </div> <!--底为5px的空行,增加美观-->
<!--日志部份开始-->
[ 本帖最后由 nada_fans 于 2007-8-16 11:18 编辑 ] |