本帖最后由 chinawulian 于 2008-12-19 17:49 编辑
- <!--{template header}-->
- <!--{eval $ads = getad('system', 'indexad', '1'); }-->
- <h2><a href="{S_URL}/"><img src="{S_URL}/images/logo.gif" alt="$_SCONFIG[sitename]"
- /></a></h2>
- <!--{if !empty($ads['pageheadad']) }-->
- <div class="ad_header">$ads[pageheadad]</div>
- <!--{/if}-->
- </div>
- </div>
- <div id="pagebody">
-
- <div class="column">
- <div id="supehot">
- <!--{block name="spacenews"
- parameter="haveattach/2/order/i.dateline
- DESC/limit/0,4/cachetime/83400/subjectlen/40/subjectdot/1/cachename/hotnewspic"}-->
- <div class="box_l" id="index_focus_turn">
- <!--{if !empty($_SBLOCK['hotnewspic'])}-->
- <div id="index_focus_turn_pic">
- <div id="index_focus_turn_picList"
- style="left:0; top:0;">
- <ul>
- <!--{loop $_SBLOCK
- ['hotnewspic'] $pkey $pvalue}-->
- <li><a href="$pvalue
- [url]"><img src="$pvalue['a_filepath']" alt="" /></a></li>
- <!--{/loop}-->
- </ul>
- </div>
- <div id="index_focus_turn_opvdiv"></div>
- <div id="index_focus_turn_tx">
- <ul>
- <!--{eval $i = 0}-->
- <!--{loop $_SBLOCK['hotnewspic']
- $key $value}-->
- <!--{eval $current = ($i ==
- 0 ? 'current' : 'normal');}-->
- <li
- class="$current">$value[subject]</li>
- <!--{eval $i++}-->
- <!--{/loop}-->
- </ul>
- </div>
- </div>
- <div id="index_focus_turn_btn">
- <ul>
- <!--{eval $i = 0}-->
- <!--{loop $_SBLOCK['hotnewspic']
- $bkey $bvalue}-->
- <!--{eval $current = ($i == 0 ?
- 'current' : 'normal');}-->
- <li class="$current"><img
- src="$bvalue[a_thumbpath]" alt="" /></li>
- <!--{eval $i++}-->
- <!--{/loop}-->
- </ul>
- </div>
- <!--{/if}-->
- </div>
-
- <div class="box_r">
- <div class="supehot_txbox">
- <div class="supehot_txbox_caption">
- <ul>
- <li class="current"><em>五
- 莲新闻</em></li>
- </ul>
- </div>
- <div class="supehot_txbox_content">
- <!--{block name="spacenews"
- parameter="catid/6/order/i.dateline
- DESC/limit/0,9/cachetime/85400/subjectlen/40/subjectdot/1/cachename/hotnews1"}-->
- <ul class="current"
- id="supehot_list_1">
- <!--{loop $_SBLOCK['hotnews1']
- $value}-->
- <li><span
- class="box_r">#date('m.d',$value['dateline'])#</span><a href="$value[url]">$value
- [subject]</a></li>
- <!--{/loop}-->
- </ul>
- </div>
- </div>
- </div>
- </div><!--supehot end -->
-
- <div id="supespecial">
- <ul>
- <!--{block name="poll" parameter="order/dateline
- DESC/limit/0,1/cachetime/80000/cachename/poll"}-->
- <!--{if empty($_SBLOCK['poll'])}-->
- <li>暂时没有调查</li>
- <!--{else}-->
- <!--{loop $_SBLOCK['poll'] $value}-->
- <li>调查:<a href="$value[url]"
- target="_blank">$value[subject]</a></li>
- <!--{/loop}-->
- <!--{/if}-->
- <!--{block name="announcement"
- parameter="order/displayorder DESC,starttime
- DESC/limit/0,1/cachetime/96400/subjectlen/40/subjectdot/1/cachename/announce"}-->
- <!--{if empty($_SBLOCK['announce'])}-->
- <li>暂时没有公告</li>
- <!--{else}-->
- <!--{loop $_SBLOCK['announce'] $value}-->
- <li>公告:<a href="$value[url]"
- target="_blank">$value[subject]</a>
- <!--{/loop}-->
- <!--{/if}-->
- <li class="supesearch">
- <form id="searchform"
- action="{S_URL}/batch.search.php" method="post">
- <label>搜索:</label>
- <input type="text" id="searchkey" name="searchkey"
- size="23" class="input_tx"/>
- <input type="hidden" value="news" name="type">
- <input type="submit" value="搜索" id="submit"
- class="input_search" name="searchbtn"/>
- <input type="hidden" name="subjectsearch"
- value="true" />
- </form>
- </li>
- </ul>
- </div><!--supespecial end-->
-
- <div id="supenews" class="supe_globalmodule">
- <div class="supe_globalmodule_l">
- <div class="global_caption"><h3>资 讯</h3><a
- href="#action/news#">更多>></a></div>
- <!--{block name="spacenews"
- parameter="dateline/2592000/haveattach/2/order/i.viewnum
- DESC/limit/0,2/cachetime/86900/subjectlen/26/subjectdot/1/showdetail/1/messagelen/1
- 00/messagedot/1/cachename/imagenews"}-->
- <!--{if !empty($_SBLOCK['imagenews'])}-->
- <div class="supenews_pic">
- <!--{loop $_SBLOCK['imagenews'] $value}-->
- <dl>
- <dt><a href="$value[url]"><img
- src="$value[a_thumbpath]" alt="$value[a_subjectall]" /></a></dt>
- <dd>
- <h5><a href="$value
- [url]">$value[subject]</a></h5>
- <p>$value[message]</p>
- </dd>
- </dl>
- <!--{/loop}-->
- </div>
- <!--{block name="spacenews"
- parameter="dateline/2592000/order/i.viewnum
- DESC/limit/0,14/cachetime/97200/subjectlen/40/subjectdot/1/cachename/hotnews2"}-->
- <!--{else}-->
- <!--{block name="spacenews"
- parameter="dateline/2592000/order/i.viewnum
- DESC/limit/0,24/cachetime/97200/subjectlen/40/subjectdot/1/cachename/hotnews2"}-->
- <!--{/if}-->
- <div class="supenews_tx">
- <ul>
- <!--{loop $_SBLOCK['hotnews2']
- $value}-->
- <li><span class="box_r">#date
- ('m.d',$value['dateline'])#</span><a href="$value[url]">$value[subject]</a></li>
- <!--{/loop}-->
- </ul>
- </div>
- </div>
-
- <!--{block name="model"
- parameter="name/yp/order/i.dateline
- DESC/limit/0,10/cachetime/3600/subjectlen/40/subjectdot/1/cachename/hotnews2"}-->
- <div class="supe_globalmodule_r">
- <div class="supe_globalcaption"><h3>最新黄页
- </h3></div>
- <div class="supebbs_top10 supenews_top10_ext">
- <ul>
- <!--{loop $_SBLOCK['hotnews2']
- $value}-->
- <li><a href="$value[url]">$value
- [subject]</a></li>
- <!--{/loop}-->
- </ul>
- </div>
- </div>
- </div><!--supenews end-->
- <!--{if !empty($channels['menus']['uchimage'])}-->
- <!--{block name="uchphoto"
- parameter="updatetime/2592000/order/updatetime
- DESC/limit/0,9/cachetime/86585/subjectlen/12/cachename/uchphoto"}-->
- <div id="supepic" class="supe_globalmodule">
- <div class="supe_globalmodule_l">
- <div class="global_caption"><h3>相 册</h3><a
- href="#action/uchimage#">更多>></a></div>
- <!--{if !empty($_SBLOCK['uchphoto'])}-->
- <!--{eval $uchphoto = array_shift($_SBLOCK
- ['uchphoto'])}-->
-
- <div class="top_pic">
- <div><a href="$uchphoto[url]"
- target="_blank">
- <!--{if substr($uchphoto['pic'], -10) ==
- '.thumb.jpg'}-->
- <img src="<!--{eval echo substr($uchphoto
- ['pic'], 0, -10)}-->" alt="" />
- <!--{else}-->
- <img src="$uchphoto[pic]" alt="" />
- <!--{/if}-->
- </a></div>
- <span><a href="$uchphoto[url]"
- target="_blank">$uchphoto[albumname]</a></span></div>
- <div class="supe_piclist">
- <ul>
- <!--{loop $_SBLOCK['uchphoto'] $key
- $value}-->
- <li><div><a href="$value[url]"
- target="_blank"><img src="$value['pic']" alt="" /></a></div><span><a href="$value
- [url]" target="_blank">$value[albumname]</a></span></li>
- <!--{/loop}-->
- </ul>
- </div>
- <!--{/if}-->
- </div>
-
- <!--{block name="model"
- parameter="name/fenlei/order/i.dateline
- DESC/limit/0,10/cachetime/3600/subjectlen/40/subjectdot/1/cachename/hotnews2"}-->
- <div class="supe_globalmodule_r">
- <div class="supe_globalcaption"><h3>分类信息
- </h3></div>
- <div class="supebbs_top10 supenews_top10_ext">
- <ul>
- <!--{loop $_SBLOCK['hotnews2']
- $value}-->
- <li><a href="$value[url]">$value
- [subject]</a></li>
- <!--{/loop}-->
- </ul>
- </div>
- </div>
- </div><!--supenews end-->
- <!--{/if}-->
- <!--{if !empty($ads['pagecenterad'])}-->
- <div class="ad_pagebody">$ads[pagecenterad]</div>
- <!--{/if}-->
- <!--{if !empty($channels['menus']['bbs'])}-->
- <div id="supebbs" class="supe_globalmodule">
- <div class="supe_globalmodule_l">
- <div class="global_caption"><h3>论 坛</h3><a
- href="#action/bbs#">更多>></a></div>
- <!--{block name="bbsattachment"
- parameter="dateline/2592000/filetype/image/order/t.views
- DESC/limit/0,4/subjectlen/20/cachetime/38200/cachename/imagethread"}-->
- <!--{if !empty($_SBLOCK['imagethread'])}-->
- <div class="supebbs_pic">
- <ul>
- <!--{eval $i = 1;}-->
- <!--{loop $_SBLOCK['imagethread']
- $value}-->
- <li <!--{if $i == 4}-->
- style="margin-right:0;"<!--{/if}-->><a href="$value[url]" target="_blank"><img
- src="$value[attachment]" alt="$value[subjectall]" title="$value[subjectall]"
- /></a><h5><a href="$value[url]" target="_blank">$value[subject]</a></h5></li>
- <!--{eval $i++;}-->
- <!--{/loop}-->
- </ul>
- </div>
- <!--{block name="bbsthread"
- parameter="order/t.dateline
- DESC/subjectlen/40/subjectdot/1/limit/0,12/cachetime/5630/cachename/newthread"}-->
- <!--{else}-->
- <!--{block name="bbsthread"
- parameter="order/t.dateline
- DESC/subjectlen/40/subjectdot/1/limit/0,24/cachetime/5630/cachename/newthread"}-->
- <!--{/if}-->
- <div class="supebbs_tx">
- <ul>
- <!--{loop $_SBLOCK['newthread']
- $value}-->
- <li><span class="box_r"><a
- href="{S_URL}/space.php?uid=$value[authorid]" target="_blank">$value[author]
- </a></span><a href="$value[url]" target="_blank">$value[subject]</a></li>
- <!--{/loop}-->
- </ul>
- </div>
- </div>
- <!--{block name="bbsmember" parameter="order/m.posts
- DESC/limit/0,10/cachetime/86400/cachename/hotmembers/tpl/data"}-->
- <div class="supe_globalmodule_r">
- <div class="supe_globalcaption"><h3>发贴排行
- </h3></div>
- <div class="supebbs_top10 supenews_top10_ext">
- <ul>
- <!--{loop $_SBLOCK['hotmembers'] $value}-->
- <li><span class="num">$value
- [posts]</span><a href="$value[url]" target="_blank">$value[username]</a></li>
- <!--{/loop}-->
- </ul>
- </div>
- </div>
- </div><!--supebbs end-->
- <!--{/if}-->
- <!--{if !empty($channels['menus']['uchblog'])}-->
- <!--{block name="uchblog" parameter="picflag/2/order/dateline
- DESC/limit/0,2/cachetime/900/subjectlen/39/subjectdot/1/showdetail/1/messagelen/80/
- messagedot/1/cachename/uchblog"}-->
- <div id="supeblog" class="supe_globalmodule">
- <div class="supe_globalmodule_l">
- <div class="global_caption"><h3>日 志</h3><a
- href="#action/uchblog#">更多>></a></div>
- <div class="supeblog_top">
- <!--{loop $_SBLOCK['uchblog'] $key $value}
- -->
- <dl>
- <dt><a href="$_SC
- [uchurl]/space.php?uid=$value[uid]" target="_blank"><img src="{UC_API}/avatar.php?
- uid=$value[uid]&size=small" alt="" /></a></dt>
- <dd>
- <h5><a href="$value[url]"
- target="_blank">$value['subject']</a></h5>
- <p>$value[message]</p>
- </dd>
- </dl>
- <!--{/loop}-->
- </div><!--supeblog_top end-->
- <!--{block name="uchblog" parameter="order/dateline
- DESC/subjectlen/40/subjectdot/1/limit/0,14/cachetime/18400/cachename/hotblog"}-->
- <div class="supeblog_txlist">
- <ul>
- <!--{loop $_SBLOCK['hotblog']
- $value}-->
- <li><span><a href="$_SC
- [uchurl]/space.php?uid=$value[uid]" target="_blank">$value[username]</a></span><a
- href="$value[url]" target="_blank">$value[subject]</a></li>
- <!--{/loop}-->
- </ul>
- </div><!--supeblog_txlist end-->
- </div>
- <!--{block name="uchspace" parameter="order/updatetime
- DESC/limit/0,12/cachetime/86430/cachename/uchspace"}-->
- <div class="supe_globalmodule_r">
- <div class="supe_globalcaption"><h3>最近更新
- </h3></div>
- <ul>
- <!--{loop $_SBLOCK['uchspace'] $value}-->
- <li><a href="$_SC[uchurl]/space.php?
- uid=$value[uid]" target="_blank"><img src="{UC_API}/avatar.php?uid=$value[uid]
- &size=small" alt="$value[username]" /></a><span><a href="$_SC[uchurl]/space.php?
- uid=$value[uid]" target="_blank">$value[username]</a></span></li>
- <!--{/loop}-->
- </ul>
- </div>
- </div><!--supeblog end-->
- <!--{/if}-->
- <!--{if !empty($ads['pagefootad'])}-->
- <div class="ad_pagebody">
- $ads[pagefootad]
- </div>
- <!--{/if}-->
- <!--{if !empty($_SCONFIG['showindex'])}-->
- <!--{block name="friendlink"
- parameter="order/displayorder/limit/0,$_SCONFIG
- ['showindex']/cachetime/11600/namelen/32/cachename/friendlink/tpl/data"}-->
- <!--{eval $imglink=$txtlink="";}-->
- <!--{loop $_SBLOCK['friendlink'] $value}-->
- <!--{if $value[logo]}-->
- <!--{eval $imglink .="<li><a href="".$value[url].""
- target="_blank"><img src="".$value[logo]."" alt="".$value[description].""
- /></a></li>";}-->
- <!--{else}-->
- <!--{eval $txtlink .= "<li><a href="".$value[url].""
- title="".$value[description]."" target="_blank">".$value[name]."</a></li>";}-->
- <!--{/if}-->
- <!--{/loop}-->
- <div id="links">
- <a class="more" href="#action/site/type/link#">更多
- 链接</a>
- <h3>友情链接</h3>
-
- <ul class="text">
- $txtlink
- </ul>
- </div>
- <!--{/if}-->
- <!--column end-->
- </div><!--pagebody end-->
- <!--{if !empty($ads['pagemovead']) || !empty($ads['pageoutad'])}-->
- <!--{if !empty($ads['pagemovead'])}-->
- <div id="coupleBannerAdv" style="z-index: 10; position: absolute;
- width:100px;left:10px;top:10px;display:none">
- <div style="position: absolute; left: 6px; top: 6px;">
- $ads[pagemovead]
- <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;">
- $ads[pagemovead]
- <br />
- <img src="{S_URL}/images/base/advclose.gif"
- onMouseOver="this.style.cursor='hand'" onClick="closeBanner('coupleBannerAdv');">
- </div>
- </div>
- <!--{/if}-->
- <!--{if !empty($ads['pageoutad'])}-->
- <div id="floatAdv" style="z-index: 10; position: absolute;
- width:100px;left:10px;top:10px;display:none">
- <div id="floatFloor" style="position: absolute; right: 6px; bottom:-700px">
- $ads[pageoutad]
- </div>
- </div>
- <!--{/if}-->
- <script type="text/javascript" src="{S_URL}/include/js/floatadv.js"></script>
- <script type="text/javascript">
- <!--{if !empty($ads['pageoutad'])}-->
- var lengthobj = getWindowSize();
- lsfloatdiv('floatAdv', 0, 0, 'floatFloor' , -lengthobj.winHeight).floatIt();
- <!--{/if}-->
- <!--{if !empty($ads['pagemovead'])}-->
- lsfloatdiv('coupleBannerAdv', 0, 0, '', 0).floatIt();
- <!--{/if}-->
- </script>
- <!--{/if}-->
- <!--{if !empty($ads['pageoutindex'])}-->
- $ads[pageoutindex]
- <!--{/if}-->
- <!--{template footer}-->
复制代码 www.wl265.cn
不是很喜欢官方的那个黑色的导航棍,所以给去掉了
不过显示网页上有错误。高人给看看。。是哪里除了问题
谢谢拉 |