<?exit?>
{template news_header}
<!--{if !empty($_SCONFIG['listadcenter'])}-->
<div class="content" style="background: none; margin-bottom: 0.5em;">
$_SCONFIG[listadcenter]
</div>
<!--{/if}-->
<!-- Content内容 -->
<DIV class=xw id=content>
<DIV class=lw><!--111111 评论列表-->
<DIV class=block>
<!--*************导航头***********-->
<DIV class=title>
<UL>
<LI class=current id=DivShopMsg_Party_All
onmouseover="getPageDiv('DivShopMsg_Party','_All')"><SPAN><A
href=""
target=_blank>最新推荐</A></SPAN> </LI>
<LI id=DivShopMsg_Party_SanNa
onmouseover="getPageDiv('DivShopMsg_Party','_SanNa')"><SPAN><A
href=""
target=_blank>最新发布</A></SPAN> </LI>
<LI id=DivShopMsg_Party_Join
onmouseover="getPageDiv('DivShopMsg_Party','_Join')"><SPAN><A
href=""
target=_blank>本周最热</A></SPAN> </LI>
<LI id=DivShopMsg_Party_YuLe
onmouseover="getPageDiv('DivShopMsg_Party','_YuLe')"><SPAN><A
href=""
target=_blank>评论最多</A></SPAN> </LI></UL>
<DIV class=hackbox></DIV></DIV>
<!--*************//导航头结束 --定位开始***********-->
<DIV class="content" id=DivShopMsg_Party_All_Content style="DISPLAY: none">1</DIV>
<DIV class="content" id=DivShopMsg_Party_SanNa_Content style="DISPLAY: none">2</DIV>
<DIV class="content" id=DivShopMsg_Party_Join_Content style="DISPLAY: none">3</DIV>
<DIV class="content" id=DivShopMsg_Party_YuLe_Content style="DISPLAY: none">4</DIV>
<!--*************//定位结束 --初始内容开始***********-->
<!--*****************************************************************************************************-->
<!--根分类最新日志列表-->
<!--{if $_SGET['page']<2 || empty($_SGET['mode'])}-->
<!--{block name="spacenews" parameter="perpage/6/catid/$thecat[subcatid]/order/i.dateline DESC/subjectlen/50/showdetail/1/messagelen/200/messagedot/1/cachename/newlist/tpl/data"}-->
<!--{if $_SBLOCK['newlist']}-->
<DIV class="content digg list" id=DivShopMsg_Party_ShowPanel style="PADDING-TOP: 10px; HEIGHT: 1000px">
<DIV></DIV>
<!--统计-->
<DIV class=pagebar>共有 <SPAN> </SPAN> 条资讯</DIV>
<!--//统计结束--内容开始-->
<!--{eval $i=1;}-->
<!--{loop $_SBLOCK['newlist'] $value}-->
<DIV class=messageDigg>
<DIV class="diggIt l">
<DIV class=num><SPAN id=module2Support5302>$value[viewnum]</SPAN> 人查看</DIV>
<DIV class=diggBtn><SPAN id=module2Span5302><A href="$value[url]">查看</A></SPAN>
</DIV></DIV>
<DIV class="messageBody l">
<H2><a href="$value[url]" target="_blank" title="$value[subjectall]">$value[subject]</a></H2>
<P class="author blueLink">作者:<SPAN
id=dlRecommend_ctl00_lbRecomUserName>$value[username] </SPAN></A>发表于:#date('Y-n-d H:i', $value["dateline"])#</P>
<P class=newsBody>$value[message] </P>
<UL class=blueLink>
<LI class=comment><A href="#">评论</A>(
<SPAN id=dlRecommend_ctl00_lbRecomRemarkCount>$value[replynum]</SPAN>条 ) </LI>
<LI class=copyLink><A
onclick="clipboardData.setData('text', '欢迎来到时尚炫彩'+location.href);window.alert('地址已复制,请直接粘贴发给MSN/QQ好友!')"
href="javascript://">告诉朋友</A> </LI></UL></DIV>
<DIV class=hackbox></DIV></DIV>
<!--{eval $i++;}-->
<!--{/loop}-->
<!--信息内容结束-->
<!--{if $_SBLOCK[newlist_multipage]}-->
<DIV id=AspNetPager1 style="WIDTH: 100%">
$_SBLOCK[newlist_multipage]
</DIV>
<!--{/if}-->
</DIV>
<!--{/if}-->
<!--{/if}-->
<!--*****************************************************************************************************-->
</DIV><!--111111 结束--></DIV>
<DIV class=rw><!--555555 已登录会员菜单-->
<DIV class=member>
<DIV class=memberphoto><IMG height=58 alt=""
src="{S_URL}/templates/$_SCONFIG[template]/img_35/0.gif" width=58></DIV>
<!--pd-->
<script src="{S_URL}/login3.panel.php?rand={eval echo rand(1, 999999)}" type="text/javascript" language="javascript"></script>
</DIV><!--555555 结束--><!--666666 搜索-->
<DIV class=yspace>
<DIV class="block yspace" id=TagSearch>
<DIV class=title>
<UL style="FONT-SIZE: 12px">
<LI class=current><A href="javascript://">热门标签</A> </LI>
<LI><A onClick="SwapSearchDiv('HotSearch')" href="javascript://">网友关注</A>
</LI></UL>
<DIV class=hackbox></DIV></DIV>
<DIV class="content hotTag1229 blueLink" style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-BOTTOM: 10px; PADDING-TOP: 10px">
<!--{block name="tag" parameter="order/spaceallnum DESC/limit/0,20/cachetime/900/cachename/tag20/tpl/data"}--><!--热门标签-->
<!--{loop $_SBLOCK['tag20'] $value}--><span><a href='$value[url]'>$value[tagname]</a></span><!--{/loop}-->
<DIV class=hackbox></DIV></DIV></DIV>
<DIV class="block yspace" id=HotSearch style="DISPLAY: none">
<DIV class=title>
<UL style="FONT-SIZE: 12px">
<LI style="BACKGROUND: none transparent scroll repeat 0% 0%"><A
onclick="SwapSearchDiv('TagSearch')" href="javascript://">热门标签</A> </LI>
<LI class=current><A href="javascrpt:///">网友关注</A> </LI></UL>
<DIV class=hackbox></DIV></DIV>
<DIV class="content hotTag1229 blueLink" style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-BOTTOM: 10px; PADDING-TOP: 10px">
<!--{block name="tag" parameter="order/spaceallnum DESC/limit/0,20/cachetime/900/cachename/tag20/tpl/data"}--><!--热门标签-->
<!--{loop $_SBLOCK['tag20'] $value}--><span><a href='$value[url]'>$value[tagname]</a></span><!--{/loop}-->
<DIV class=hackbox></DIV></DIV></DIV>
<!-- 以下是java-script代码 -->
<SCRIPT type=text/javascript>
String.prototype.trim = function()
{
return this.replace(/(^\s*)|(\s*$)/g, "");
}
function Trim(str)
{
return str.trim()
}
function SwapSearchDiv(ID)
{
document.getElementById("TagSearch").style.display='none';
document.getElementById("HotSearch").style.display='none';
document.getElementById(ID).style.display = 'block';
}
</SCRIPT>
</DIV><!--666666 结束--><!--777777 最新推荐-->
<DIV class="block yspace">
<DIV class=title>
<DIV class=singleMenu>月度热点</A></DIV></DIV>
<DIV class=content id=topMessage>
<!--月度关注热点-->
<!--{block name="spacenews" parameter="catid/$thecat[subcatid]/dateline/2592000/order/i.viewnum DESC/limit/0,10/cachetime/28800/cachename/hotnews/tpl/data"}-->
<UL>
<TABLE class=classList id=MS_RecommendArticleBar1_RecomArticleBar
style="BORDER-COLLAPSE: collapse" cellSpacing=0 border=0>
<TBODY>
<!--{loop $_SBLOCK['hotnews'] $value}-->
<TR>
<TD><a href="$value[url]">$value[subject]</a> </TD></TR>
<!--{/loop}-->
</TBODY></TABLE></UL></DIV></DIV><!--777777 结束-->
<!--444444 最新评论-->
<!--444444 结束--><!--44444 最新热门-->
<DIV class="block yspace">
<DIV class=title>
<DIV class=singleMenu>图片新闻</DIV></DIV>
<DIV class=content style="PADDING-TOP: 5px"><SPAN><SPAN>
<!--图片资讯显示-->
<!--{block name="spacenews" parameter="haveattach/1/showattach/1/order/i.lastpost DESC/subjectlen/20/subjectdot/1/messagelen/80/messagedot/1/limit/0,6/cachetime/8000/cachename/picnews/tpl/data"}-->
<!--{loop $_SBLOCK['picnews'] $value}-->
<DIV class=newComment style="WIDTH: 248px; PADDING-TOP: 10px"><a href="$value[url]" target="_blank"><img src="$value[a_thumbpath]" alt="$value[subjectall]" height="58" width="58" border="0" /></a>
<P class="articleTitle blueLink" style="PADDING-TOP: 0px"><a href="$value[url]" target="_blank" title="$value[subjectall]">$value[subject]</a> </P>
<P class=sayWhat
style="PADDING-TOP: 0px">$value[message].
<A href="$value[url]">全文</A> </P></DIV>
<!--{/loop}-->
</SPAN></SPAN>
<DIV class=hackbox></DIV></DIV></DIV><!--44444 结束--></DIV></DIV>
<script type="text/javascript">
function displayLayer(ID)
{
document.getElementById("netfr").style.display='none';
document.getElementById("lift").style.display='none';
document.getElementById("localFocus").style.display='none';
document.getElementById("diary").style.display='none';
document.getElementById(ID).style.display = 'block';
}
function displayLayer1(ID)
{
document.getElementById("recommend").style.display='none';
document.getElementById("recently").style.display = 'none';
document.getElementById("hots").style.display='none';
document.getElementById("support").style.display='none';
document.getElementById("remark").style.display='none';
document.getElementById(ID).style.display = 'block';
}
function displayLayer2(ID)
{
document.getElementById("liveUserList").style.display='none';
document.getElementById("userScoreList").style.display='none';
document.getElementById(ID).style.display = 'block';
}
function RecommendUpArticleSupportNum(articleID)
{
XM35com.Web.Message_MS_MainPage.UpArticleSupportNum(articleID,RecommendUpArticleSupportNum_callback)
}
function IsNumeric(s)
{
if(!isNaN(s)&&String(s).replace(/ /g,"").length!=0)return true
else return false
}
function HotsUpArticleSupportNum(articleID)
{
XM35com.Web.Message_MS_MainPage.UpArticleSupportNum(articleID,HotsUpArticleSupportNum_callback);
}
function RecentlyUpArticleSupportNum(articleID)
{
XM35com.Web.Message_MS_MainPage.UpArticleSupportNum(articleID,RecentlyUpArticleSupportNum_callback);
}
function SupportUpArticleSupportNum(articleID)
{
XM35com.Web.Message_MS_MainPage.UpArticleSupportNum(articleID,SupportUpArticleSupportNum_callback);
}
function RemarkUpArticleSupportNum(articleID)
{
XM35com.Web.Message_MS_MainPage.UpArticleSupportNum(articleID,RemarkUpArticleSupportNum_callback);
}
function IsNumeric(s)
{
if(!isNaN(s)&&String(s).replace(/ /g,"").length!=0)return true
else return false
}
</script>
<!-- /Content -->
<!--{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 news_footer}
其中这一段代码
<UL>
<LI class=current id=DivShopMsg_Party_All
onmouseover="getPageDiv('DivShopMsg_Party','_All')"><SPAN><A
href=""
target=_blank>最新推荐</A></SPAN> </LI>
<LI id=DivShopMsg_Party_SanNa
onmouseover="getPageDiv('DivShopMsg_Party','_SanNa')"><SPAN><A
href=""
target=_blank>最新发布</A></SPAN> </LI>
<LI id=DivShopMsg_Party_Join
onmouseover="getPageDiv('DivShopMsg_Party','_Join')"><SPAN><A
href=""
target=_blank>本周最热</A></SPAN> </LI>
<LI id=DivShopMsg_Party_YuLe
onmouseover="getPageDiv('DivShopMsg_Party','_YuLe')"><SPAN><A
href=""
target=_blank>评论最多</A></SPAN> </LI></UL>
<DIV class=hackbox></DIV></DIV>
<!--*************//导航头结束 --定位开始***********-->
<DIV class="content" id=DivShopMsg_Party_All_Content style="DISPLAY: none">1</DIV>
<DIV class="content" id=DivShopMsg_Party_SanNa_Content style="DISPLAY: none">2</DIV>
<DIV class="content" id=DivShopMsg_Party_Join_Content style="DISPLAY: none">3</DIV>
<DIV class="content" id=DivShopMsg_Party_YuLe_Content style="DISPLAY: none">4</DIV>
<!--*************//定位结束 --初始内容开始***********-->
<!--*****************************************************************************************************-->
<!--根分类最新日志列表-->
<!--{if $_SGET['page']<2 || empty($_SGET['mode'])}-->
<!--{block name="spacenews" parameter="perpage/6/catid/$thecat[subcatid]/order/i.dateline DESC/subjectlen/50/showdetail/1/messagelen/200/messagedot/1/cachename/newlist/tpl/data"}-->
<!--{if $_SBLOCK['newlist']}-->
<DIV class="content digg list" id=DivShopMsg_Party_ShowPanel style="PADDING-TOP: 10px; HEIGHT: 1000px">
<DIV></DIV>
<!--统计-->
<DIV class=pagebar>共有 <SPAN> </SPAN> 条资讯</DIV>
<!--//统计结束--内容开始-->
<!--{eval $i=1;}-->
<!--{loop $_SBLOCK['newlist'] $value}-->
<DIV class=messageDigg>
<DIV class="diggIt l">
<DIV class=num><SPAN id=module2Support5302>$value[viewnum]</SPAN> 人查看</DIV>
<DIV class=diggBtn><SPAN id=module2Span5302><A href="$value[url]">查看</A></SPAN>
</DIV></DIV>
<DIV class="messageBody l">
<H2><a href="$value[url]" target="_blank" title="$value[subjectall]">$value[subject]</a></H2>
<P class="author blueLink">作者:<SPAN
id=dlRecommend_ctl00_lbRecomUserName>$value[username] </SPAN></A>发表于:#date('Y-n-d H:i', $value["dateline"])#</P>
<P class=newsBody>$value[message] </P>
<UL class=blueLink>
<LI class=comment><A href="#">评论</A>(
<SPAN id=dlRecommend_ctl00_lbRecomRemarkCount>$value[replynum]</SPAN>条 ) </LI>
<LI class=copyLink><A
onclick="clipboardData.setData('text', '欢迎来到时尚炫彩'+location.href);window.alert('地址已复制,请直接粘贴发给MSN/QQ好友!')"
href="javascript://">告诉朋友</A> </LI></UL></DIV>
<DIV class=hackbox></DIV></DIV>
<!--{eval $i++;}-->
<!--{/loop}-->
<!--信息内容结束-->
我想实现最新推荐的按浏览量排序,最新发布的按时间排序。本周最热的按本周评论最多排序,评论最多这个就不用说了。。。
目前就最新推荐的下面有内容。最新发布下面是2.本周最热是3.评论最多是4,要实现全部都有内容并且按照我的要求排序应该怎么写,高手指导下。。。
[ 本帖最后由 理解万岁 于 2007-7-3 20:46 编辑 ] |