出问题的网站首页 http://nbdepei.com
搞了半天,终于在资讯首页调用出了三级分类的列表。可为什么最后会多出几个管理制度?帮我看看哪里不对啊!
- <div class="mainarea">
- <div class="blockcategorylist">
- <!--各分类最新资讯列表-->
- <!--{eval $ctime=1800+30*$ckey;}-->
- <!--{block name="spacenews" parameter="catid/91,113,93,94/order/i.dateline DESC/limit/0,9/cachetime/300/subjectlen/34/subjectdot/1/showcategory/1/cachename/newslist/tpl/data"}--><!--资讯首页信息调用-->
- <div class="blockcategory">
- <h3>
- <strong><a href="#action/category/catid/1#">信息</a></strong>
- <a href="#action/category/catid/1#" class="more">更多</a>
- </h3>
- <ul class="msgtitlelist">
- <!--{loop $_SBLOCK['newslist'] $value}-->
- <li><cite>#date("m-d", $value["dateline"])# </cite><a href="$value[url]">$value[subject]</a></li>
- <!--{/loop}-->
- </ul>
- </div>
- <!--{block name="spacenews" parameter="catid/95,96,97,98/order/i.dateline DESC/limit/0,9/cachetime/300/subjectlen/34/subjectdot/1/showcategory/1/cachename/newslist/tpl/data"}--><!--资讯首页区域信息调用-->
- <div class="blockcategory">
- <h3>
- <strong><a href="#action/category/catid/2#">区域</a></strong>
- <a href="#action/category/catid/2#" class="more">更多</a>
- </h3>
- <ul class="msgtitlelist">
- <!--{loop $_SBLOCK['newslist'] $value}-->
- <li><cite>#date("m-d", $value["dateline"])# </cite><a href="$value[url]">$value[subject]</a></li>
- <!--{/loop}-->
- </ul>
- </div>
- <!--{block name="spacenews" parameter="catid/100,101,102,99/order/i.dateline DESC/limit/0,9/cachetime/300/subjectlen/34/subjectdot/1/showcategory/1/cachename/newslist/tpl/data"}--><!--资讯首页娱乐信息调用-->
- <div class="blockcategory">
- <h3>
- <strong><a href="#action/category/catid/3#">娱乐</a></strong>
- <a href="#action/category/catid/3#" class="more">更多</a>
- </h3>
- <ul class="msgtitlelist">
- <!--{loop $_SBLOCK['newslist'] $value}-->
- <li><cite>#date("m-d", $value["dateline"])# </cite><a href="$value[url]">$value[subject]</a></li>
- <!--{/loop}-->
- </ul>
- </div>
- <!--{block name="spacenews" parameter="catid/103,104,105,106/order/i.dateline DESC/limit/0,9/cachetime/300/subjectlen/34/subjectdot/1/showcategory/1/cachename/newslist/tpl/data"}--><!--资讯首页财经信息调用-->
- <div class="blockcategory">
- <h3>
- <strong><a href="#action/category/catid/4#">财经</a></strong>
- <a href="#action/category/catid/4#" class="more">更多</a>
- </h3>
- <ul class="msgtitlelist">
- <!--{loop $_SBLOCK['newslist'] $value}-->
- <li><cite>#date("m-d", $value["dateline"])# </cite><a href="$value[url]">$value[subject]</a></li>
- <!--{/loop}-->
- </ul>
- </div>
- <!--{block name="spacenews" parameter="catid/107,108/order/i.dateline DESC/limit/0,9/cachetime/300/subjectlen/34/subjectdot/1/showcategory/1/cachename/newslist/tpl/data"}--><!--资讯首页房产信息调用-->
- <div class="blockcategory">
- <h3>
- <strong><a href="#action/category/catid/5#">房产</a></strong>
- <a href="#action/category/catid/5#" class="more">更多</a>
- </h3>
- <ul class="msgtitlelist">
- <!--{loop $_SBLOCK['newslist'] $value}-->
- <li><cite>#date("m-d", $value["dateline"])# </cite><a href="$value[url]">$value[subject]</a></li>
- <!--{/loop}-->
- </ul>
- </div>
- <!--{block name="spacenews" parameter="catid/109,110,111,112/order/i.dateline DESC/limit/0,9/cachetime/300/subjectlen/34/subjectdot/1/showcategory/1/cachename/newslist/tpl/data"}--><!--资讯首页医疗信息调用-->
- <div class="blockcategory">
- <h3>
- <strong><a href="#action/category/catid/90#">医疗</a></strong>
- <a href="#action/category/catid/90#" class="more">更多</a>
- </h3>
- <ul class="msgtitlelist">
- <!--{loop $_SBLOCK['newslist'] $value}-->
- <li><cite>#date("m-d", $value["dateline"])# </cite><a href="$value[url]">$value[subject]</a></li>
- <!--{/loop}-->
- </ul>
- </div>
- </div>
- </div>
复制代码
[ 本帖最后由 游离人 于 2007-11-13 13:39 编辑 ] |