请指教下面问题:www.0757mama.com/mom
1----从0开始,前四条设置在滚动的焦点图了,我设置了1级显示:<!--{block name="spacenews" parameter="grade/1/haveattach/2/order/i.dateline DESC/limit/0,4/cachetime/83400/subjectlen/40/subjectdot/0/cachename/hotnewspic"}-->
2----在同一页中另外这里中的limit我是从最新发布的第四条显示到第八条,共五条。
<!--{block name="spacenews" parameter="catid/$thecat[subcatid]/haveattach/2/showattach/1/order/i.lastpost DESC/limit/4,5/subjectlen/14/subjectdot/0/cachetime/8000/cachename/picnews"}-->
3----在同一页中另外这里显示从第九条开始,只显示1条。<!--{block name="spacenews" parameter="catid/$thecat[subcatid]/haveattach/2/showattach/1/order/i.lastpost DESC/limit/9,1/subjectlen/14/subjectdot/0/cachetime/8000/cachename/picnews"}-->
4----在同一页中另外这里显示从第10条开始,只显示2条<!--{block name="spacenews" parameter="catid/$thecat[subcatid]/haveattach/2/showattach/1/order/i.lastpost DESC/limit/10,2/subjectlen/14/subjectdot/0/cachetime/8000/cachename/picnews"}-->
5----在同一页中另外这里显示从第12条开始,只显示6条<!--{block name="spacenews" parameter="catid/$thecat[subcatid]/haveattach/2/showattach/1/order/i.lastpost DESC/limit/12,6/subjectlen/14/subjectdot/0/cachetime/8000/cachename/picnews"}-->
终上五条的代码,我都是调用最新的发布图片顺序,我想问下这样调用,为什么那个顺序会乱的。18条信息,顺序排列好像全乱了。
6---公告加了代码,不知为什么显示不出来,这里我只显示一条公告的。我在后台发布了公告的
<!--{block name="announcement" parameter="order/displayorder DESC,starttime DESC/limit/0,1/cachetime/96400/subjectlen/34/subjectdot/0/cachename/announce"}-->
公告:<!--{if empty($_SBLOCK['announce'])}-->暂时没有公告
<!--{else}-->
<!--{loop $_SBLOCK['announce'] $value}-->
<a href="$value[url]" title="$value[subjectall]">$value[subject]</a>
<!--{/loop}-->
<!--{/if}--> |