- เครดิต
- 0
- เพื่อน
- ทักทาย
- บล็อก
- อัลบั้ม
- โพสต์
- กระทู้
- แชร์
- สำคัญ
- สิทธิ์อ่าน
- 10
- จำนวนผู้ติดตาม
- จำนวนผู้กำลังติดตาม
- เพศ
- ไม่บอก
|
เจ้าของ|
GolfanO
โพสต์ 2009-3-28 22:27:44
รบกวนช่วยหาหน่อยครับ ผมหาแล้วไม่เจอ {:14_658:}- {subtemplate header}
- <div id="nav"><a href="$indexname">$bbname</a> » {lang home}</div>
- <!--{if $admode && empty($insenz['hardadstatus']) && !empty($advlist['text'])}--><div class="ad_text" id="ad_text"><table summary="Text Ad" cellpadding="0" cellspacing="1">$advlist[text]</table></div><!--{else}--><div id="ad_text"></div><!--{/if}-->
- <div class="ducedismain"><div class="content">{eval @include DISCUZ_ROOT.'./ducedis/indextrans/duceindex.php';}</div></div>
- <div id="wrap"{if $infosidestatus['allow'] < 2} class="wrap s_clear"{else} class="wrap with_side s_clear"{/if}>
- <!--{if $infosidestatus[allow] == 2}-->
- <a id="sidebar_img" href="javascript:;" onclick="sidebar_collapse(['{lang sidebar_collapsed_yes}', '{lang sidebar_collapsed_no}']);" class="$collapseimg[sidebar]"><!--{if $collapseimg[sidebar] == 'collapsed_yes'}-->{lang sidebar_collapsed_yes}<!--{else}-->{lang sidebar_collapsed_no}<!--{/if}--></a>
- <!--{elseif $infosidestatus[allow] == 1}-->
- <a id="sidebar_img" href="javascript:;" onclick="sidebar_collapse(['', '{lang sidebar_collapsed_no}']);" class="collapsed_yes">{lang sidebar_collapsed_yes}</a>
- <!--{/if}-->
- <div class="main"><div class="content">
- <!--{eval eval($hooks['natz_shoutbox_include_template']);}-->
- <div class="pages_btns s_clear">
- <span class="postbtn"><a href="misc.php?action=nav" onclick="floatwin('open_nav', this.href, 600, 410);return false;">{lang send_posts}</a></span>
- <!--{if !$discuz_uid}-->
- {lang home_welcome_guest}
- <!--{else}-->
- {lang home_welcome} {$discuz_userss}, <!--{if $lastvisit > 0}-->{lang home_lastvisit} {$lastvisit}, <!--{/if}--><a href="search.php?srchfrom=$newthreads&searchsubmit=yes" class="lightlink">{lang show_newthreads}</a>, <a href="member.php?action=markread" id="ajax_markread" onclick="ajaxmenu(event, this.id)" class="lightlink">{lang mark_read}</a>
- <!--{/if}-->
- </div>
- {eval @include DISCUZ_ROOT.'./ducedis/indextrans/duceindex.php';}
- <div class="foruminfo s_clear">
- <p class="right forumcount">
- {lang index_today}: <em>$todayposts</em>, {lang index_yesterday}: <em>$postdata[0]</em>, {lang index_members}: <em>$totalmembers</em>
- </p>
- <!--{if empty($gid) && $announcements}-->
- <div id="ann" onmouseover="annstop = 1" onmouseout="annstop = 0">
- <dl>
- <dt>{lang announcements}:</dt>
- <dd>
- <div id="annbody"><ul id="annbodylis">$announcements</ul></div>
- </dd>
- </dl>
- </div>
- <script type="text/javascript">
- var anndelay = 3000;
- var annst = 0;
- var annstop = 0;
- var annrowcount = 0;
- var anncount = 0;
- var annlis = $('annbody').getElementsByTagName("LI");
- var annrows = new Array();
- var annstatus;
- function announcementScroll() {
- if(annstop) {
- annst = setTimeout('announcementScroll()', anndelay);
- return;
- }
- if(!annst) {
- var lasttop = -1;
- for(i = 0;i < annlis.length;i++) {
- if(lasttop != annlis[i].offsetTop) {
- if(lasttop == -1) {
- lasttop = 0;
- }
- annrows[annrowcount] = annlis[i].offsetTop - lasttop;
- annrowcount++;
- }
- lasttop = annlis[i].offsetTop;
- }
- if(annrows.length == 1) {
- $('ann').onmouseover = $('ann').onmouseout = null;
- } else {
- annrows[annrowcount] = annrows[1];
- $('annbodylis').innerHTML += $('annbodylis').innerHTML;
- annst = setTimeout('announcementScroll()', anndelay);
- }
- annrowcount = 1;
- return;
- }
- if(annrowcount >= annrows.length) {
- $('annbody').scrollTop = 0;
- annrowcount = 1;
- annst = setTimeout('announcementScroll()', anndelay);
- } else {
- anncount = 0;
- announcementScrollnext(annrows[annrowcount]);
- }
- }
- function announcementScrollnext(time) {
- $('annbody').scrollTop++;
- anncount++;
- if(anncount != time) {
- annst = setTimeout('announcementScrollnext(' + time + ')', 10);
- } else {
- annrowcount++;
- annst = setTimeout('announcementScroll()', anndelay);
- }
- }
- </script>
- <!--{/if}-->
- </div>
- {eval @include DISCUZ_ROOT.'./ducedis/indextrans/duceindex.php';}
- <!--{if !empty($insenz['vfstatus']) && $insenz['vfpos'] == 'first'}--><script type="text/javascript" src="campaign.php?action=list"></script><!--{/if}-->
- <!--{eval $rkey=array_rand($catlist);}-->
- <!--{loop $catlist $key $cat}-->
- <!--{if $cat['forumscount']}-->
- <div class="mainbox list">
- <span class="headactions">
- <!--{if $cat['moderators']}-->{lang forum_category_modedby}: $cat[moderators]<!--{/if}-->
- <img id="category_$cat[fid]_img" src="{IMGDIR}/$cat[collapseimg]" title="{lang spread}" alt="{lang spread}" onclick="toggle_collapse('category_$cat[fid]');" />
- </span>
- <h3><a href="$indexname?gid=$cat[fid]">$cat[name]</a></h3>
- <table id="category_$cat[fid]" summary="category$cat[fid]" cellspacing="0" cellpadding="0" style="$collapse['category_'.$cat[fid]]">
- <!--{if !$cat['forumcolumns']}-->
- <!--{loop $cat[forums] $forumid}-->
- <!--{eval $forum=$forumlist[$forumid];}-->
- <tbody id="forum$forum[fid]">
- <tr>
- <th$forum[folder]>
- $forum[icon]
- <div class="left">
- <h2><a href="forumdisplay.php?fid=$forum[fid]" {if $forum[redirect]}target="_blank"{/if}>$forum[name]</a><!--{if $forum[todayposts] && !$forum['redirect']}--><em> ({lang index_today}: <strong>$forum[todayposts]</strong>)</em><!--{/if}--></h2>
- <!--{if $forum[description]}--><p>$forum[description]</p><!--{/if}-->
- <!--{if $forum['subforums']}--><p>{lang forum_subforums}: $forum['subforums']</p><!--{/if}-->
- <!--{if $forum['moderators']}--><!--{if $moddisplay == 'flat'}--><p>{lang forum_moderators}: $forum[moderators]</p><!--{else}--><span class="dropmenu" id="mod$forum[fid]" onmouseover="showMenu(this.id)">{lang forum_moderators}</span><ul class="moderators popupmenu_popup" id="mod$forum[fid]_menu" style="display: none">$forum[moderators]</ul><!--{/if}--><!--{/if}-->
- </div>
- </th>
- <td class="forumnums">
- <!--{if $forum['redirect']}-->N/A<!--{else}--><em>$forum[threads]</em> / $forum[posts]<!--{/if}-->
- </td>
- <td class="forumlast">
- <!--{if $forum['permission'] == 1}-->
- {lang private_forum}
- <!--{else}-->
- <!--{if $forum['redirect']}-->
- <a href="forumdisplay.php?fid=$forum[fid]">{lang url_link}</a>
- <!--{elseif is_array($forum['lastpost'])}-->
- <p><a href="redirect.php?tid=$forum[lastpost][tid]&goto=lastpost#lastpost">{echo cutstr($forum[lastpost][subject], 30)}</a></p>
- <cite><!--{if $forum['lastpost']['author']}-->$forum['lastpost']['author']<!--{else}-->{lang anonymous}<!--{/if}--> - $forum[lastpost][dateline]</cite>
- <!--{else}-->
- {lang never}
- <!--{/if}-->
- <!--{/if}-->
- </td>
- </tr>
- </tbody>
- <!--{/loop}-->
- <!--{else}-->
- <tr class="narrowlist">
- <!--{loop $cat['forums'] $forumid}-->
- <!--{eval $forum=$forumlist[$forumid];}-->
- <!--{if $forum['orderid'] && ($forum['orderid'] % $cat['forumcolumns'] == 0)}-->
- </tr></tbody>
- <!--{if $forum['orderid'] < $cat['forumscount']}-->
- <tbody><tr>
- <!--{/if}-->
- <!--{/if}-->
- <th width="$cat[forumcolwidth]"{$forum[folder]}>
- <h2><a href="forumdisplay.php?fid=$forum[fid]" {if $forum[redirect]}target="_blank"{/if}>$forum[name]</a><!--{if $forum[todayposts]}--><em> ({lang index_today}: <strong>$forum[todayposts]</strong>)</em><!--{/if}--></h2>
- <!--{if !$forum[redirect]}-->
- <p>{lang forum_threads}: $forum[threads], {lang forum_posts}: $forum[posts]</p>
- <!--{if $forum['permission'] == 1}-->
- <p>{lang private_forum}
- <!--{else}-->
- <p>{lang forum_lastpost}:
- <!--{if is_array($forum['lastpost'])}-->
- <a href="redirect.php?tid=$forum[lastpost][tid]&goto=lastpost#lastpost" title="{echo cutstr($forum[lastpost][subject], 30)} {lang forum_lastpost_by} {if $forum['lastpost']['author']}$forum['lastpost']['authorusername']{else}{lang anonymous}{/if} ">$forum[lastpost][dateline]</a>
- <!--{else}-->
- {lang never}
- <!--{/if}-->
- </p>
- <!--{/if}-->
- <!--{else}-->
- <p>{lang url_link}</p>
- <!--{/if}-->
- </th>
- <!--{/loop}-->
- $cat['endrows']
- <!--{/if}-->
- </table>
- </div>
- <!--{if !empty($insenz['vfstatus']) && $insenz['vfpos'] == 'rand' && $key == $rkey}--><script type="text/javascript" src="campaign.php?action=list"></script><!--{/if}-->
- <!--{if $admode && empty($insenz['hardadstatus']) && !empty($advlist['intercat']) && ($advlist['intercat'][$key] = array_merge(($advlist['intercat'][0] ? $advlist['intercat'][0] : array()), ($advlist['intercat'][$key] ? $advlist['intercat'][$key] : array())))}--><div class="ad_column" id="ad_intercat_$key"><!--{echo $advitems[$advlist['intercat'][$key][array_rand($advlist['intercat'][$key])]]}--></div><!--{else}--><div id="ad_intercat_$key"></div><!--{/if}-->
- <!--{/if}-->
- <!--{/loop}-->
- {subtemplate footer}
คัดลอกไปที่คลิปบอร์ด |
|