- <?exit?>
- <!--{template head_index}-->
- <!--{eval $ads = getad('system', 'indexad', '1'); }-->
- <!--{if !empty($ads['pageheadad']) }-->
- <div class="ad_header">$ads[pageheadad]</div>
- <!--{/if}-->
- <div class="mainbox2">
- <div class="left">
- <h1 class="Channeltitle_i1">热门标签</h1>
- <div class="box_i1">
- <ul class="list_9">
- <!--{block name="tag" parameter="type/$channel/order/spacenewsnum DESC/limit/0,10/cachetime/88008/cachename/hottag/tpl/data"}-->
- <!--{loop $_SBLOCK['hottag'] $value}-->
- <li>· <a href="$value[url]">$value[tagname]</a>($value[spacenewsnum])</li>
- <!--{/loop}-->
-
- </ul>
- <div class="clear_1"></div>
- </div>
- <div class="t_p1"><img src="{S_URL}/templates/hjsd/img/point_box1.gif" width="234" height="5" /></div>
-
- <h1 class="Channeltitle_i1">最新评论</h1>
- <div class="box_i1">
- <ul class="list_9">
- <!--{block name="spacenews" parameter="type/$channel/order/i.lastpost DESC/limit/0,10/subjectlen/26/subjectdot/0/cachetime/7500/cachename/newnews"}-->
- <!--{loop $_SBLOCK['newnews'] $value}-->
- <li>· <a href="$value[url]" title="$value[subjectall]">$value[subject]</a></li>
- <!--{/loop}-->
-
- </ul>
- <div class="clear_1"></div>
- </div>
- <div class="t_p1"><img src="{S_URL}/templates/hjsd/img/point_box1.gif" width="234" height="5" /></div>
- <h1 class="Channeltitle_i1">月度评论</h1>
- <div class="box_i1">
- <ul class="list_9">
- <!--{block name="spacenews" parameter="type/$channel/lastpost/2592000/order/i.replynum DESC/limit/0,10/cachetime/75400/subjectlen/26/subjectdot/0/cachename/replyhot"}-->
- <!--{loop $_SBLOCK['replyhot'] $value}-->
- <li>· <a href="$value[url]" title="$value[subjectall]">$value[subject]</a></li>
- <!--{/loop}-->
- </ul>
- <div class="clear_1"></div>
- </div>
- <div class="t_p1"><img src="{S_URL}/templates/hjsd/img/point_box1.gif" width="234" height="5" /></div></div>
-
- <div class="right">
- <div class="con01">
- <h1 class="Channeltitle_i3"><span class="f01">点击热门</span></h1>
- <div class="box_i11">
- <ul class="list_88">
- <!--{block name="spacenews" parameter="type/$channel/order/i.viewnum desc/limit/0,7/cachetime/85400/subjectlen/30/subjectdot/0/showdetail/1/cachename/newnews2"}-->
- <!--{loop $_SBLOCK['newnews2'] $value}-->
- <li><a href="$value[url]" title="$value[subjectall]">$value[subject]</a></li>
- <!--{/loop}-->
-
- </ul><div class="clear_1"></div>
-
- </div>
- <div><img src="{S_URL}/templates/hjsd/img/point_box11.gif" /></div>
- </div>
-
- <div class="con1">
- <div class="Channeltitle_i2"><span class="bgon">最新信息</span></div>
- <ul class="list_22">
- <!--{block name="spacenews" parameter="type/$channel/order/i.dateline DESC/limit/0,7/cachetime/85400/subjectlen/50/subjectdot/0/showdetail/1/cachename/newnews1"}-->
- <!--{loop $_SBLOCK['newnews1'] $value}-->
- <li><span>#date('y-m-d', $value['dateline'])#</span><a href="$value[url]" title="$value[subjectall]">$value[subject]</a></li>
- <!--{/loop}-->
-
-
-
- </ul><div><img src="{S_URL}/templates/hjsd/img/point_box111.gif" /></div>
- </div>
-
- <div class="clear_1"></div>
-
- <div class="Channeltitle_i4"><span class="bgon">图文信息</span></div>
- <div>
- <ul class="list_photo">
- [color=DarkRed]<!--{block name="spacenews" parameter="type/$channel/haveattach/2/showattach/1/showdetail/1/order/i.dateline DESC/limit/0,4/subjectlen/26/subjectdot/0/messagelen/170/messagedot/1/cachetime/11930/cachename/picnews"}-->
- <!--{loop $picnews $value}-->
- <li><div class="bgpic"><a href="$value[url]"><img src="$pvalue['a_filepath']" width="170" height="108" /></a></div>
- <a href="$value[url]">$value[subject]</a></li>
- <!--{/loop}-->[/color]
-
- </ul><div class="clear_1"></div></div>
-
- [color=Red]<!--{eval $i = 1;}-->
- <!--{loop $_SBLOCK['category'] $ckey $cat}-->
- <!--{eval $cachetime = 1800+30*$ckey;}-->
- <!--{block name="spacenews" parameter="catid/$cat[subcatid]/order/i.viewnum DESC/limit/0,7/cachetime/$cachetime/subjectlen/36/subjectdot/0/cachename/newshotlist"}-->
- <div class="con01">
- <h1 class="Channeltitle_i3"><span class="f01">本类热门</span></h1>
- <div class="box_i11">
- <ul class="list_88">
- <!--{loop $_SBLOCK['newshotlist'] $value}-->
- <li><a href="$value[url]" title="$value[subjectall]">$value[subject]</a></li>
- <!--{/loop}-->
-
- </ul><div class="clear_1"></div>
-
- </div>
- <div><img src="{S_URL}/templates/hjsd/img/point_box11.gif" /></div>
- </div>
-
- <div class="con1">
- <div class="Channeltitle_i2"><a href="#action/category/catid/$cat[catid]#">更多>></a><span class="bgon">$cat[name]</span></div>
- <ul class="list_22">
- <!--{block name="spacenews" parameter="catid/$cat[subcatid]/order/i.dateline DESC/limit/0,7/cachetime/$cachetime/subjectlen/48/subjectdot/0/cachename/newslist2"}-->
- <!--{loop $_SBLOCK['newslist2'] $value}-->
- <li><span>#date('y-m-d', $value['dateline'])#</span><a href="$value[url]" title="$value[subjectall]">$value[subject]</a></li>
- <!--{/loop}-->
-
- </ul><div><img src="{S_URL}/templates/hjsd/img/point_box111.gif" /></div>
- </div>
- <div class="clear_1"></div>
- <!--{eval $i++;}-->
- <!--{/loop}-->[/color] </div>
- <div class="clear_1"></div>
- </div>
- <!--{template foot_index}-->
- <!--底部结束-->
- </div>
- </div>
- </body>
- </html>
复制代码 我把它放置到 news_index.html.php 中 但是调用不出来 栏目和图文信息 都调用不出来!!! |