123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508 |
- <?php echo '周末设计商业模板保护!请购买正版模板, 客服QQ: 125422921 , http://www.wfdsoft.com/ ';exit;?>
- <div id="threadlist" class="tl bm bmw wk_threadlist"{if $_G['uid']} style="position:relative;"{/if}>
- <!--{if $quicksearchlist && !$_GET['archiveid']}-->
- <!--{subtemplate forum/search_sortoption}-->
- <!--{/if}-->
-
- <!--{if (!$simplestyle || !$_G['forum']['allowside'] && $page == 1) && !empty($announcement)}-->
- <div class="wk_gjhk">
- <div class="wk_ggxx">
- <span class="wk_yhg">{lang announcement} : </span><span><!--{if empty($announcement['type'])}--><a href="forum.php?mod=announcement&id=$announcement[id]#$announcement[id]" target="_blank" title="{lang announcement} : $announcement[subject]">" $announcement[subject] "</a><!--{else}--><a href="$announcement[message]" target="_blank" title="{lang announcement} : $announcement[subject]">" $announcement[subject] "</a><!--{/if}--></span><span class="wk_fs12">$forum_lang[1] : $announcement[starttime]</span>
- </div>
- </div>
- <!--{/if}-->
-
- <div class="th week_box">
- <div class="y">
- <a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=lastpost&orderby=lastpost$forumdisplayadd[lastpost]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}" class="{if $_GET['filter'] == 'lastpost'} xw1{/if}">{lang latest}</a>
- <span class="pipe">|</span>
- <a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=hot" class="{if $_GET['filter'] == 'hot'} xw1{/if}">{lang hot_thread}</a>
- <span class="pipe">|</span>
- <a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=digest&digest=1$forumdisplayadd[digest]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}" class="{if $_GET['filter'] == 'digest'} xw1{/if}">{lang digest_posts}</a>
- <span class="pipe">|</span>
- <span id="atarget" {if $_G['cookie']['atarget'] > 0}onclick="setatarget(-1)" class="atarget_1"{else}onclick="setatarget(1)"{/if} title="{lang new_window_thread}">{lang new_window}</span>
- <!--{if $_G['forum']['picstyle']}-->
- <span class="pipe"></span>
- <a{if empty($_G['cookie']['forumdefstyle'])} href="forum.php?mod=forumdisplay&fid=$_G[fid]&forumdefstyle=yes" class="chked"{else} href="forum.php?mod=forumdisplay&fid=$_G[fid]&forumdefstyle=no" class="unchk"{/if} title="{lang view_thread_imagemode}{lang view_thread}">{lang view_thread_imagemode}</a>
- <!--{/if}-->
- </div>
- <div class="z">
- $forum_lang[2] :
- <span class="wk_showmenu">
- <a id="filter_special" href="javascript:;" class="showmenu {if $_GET['specialtype']} xw1{/if}" onclick="showMenu(this.id)">
- <!--{if $_GET['specialtype'] == 'poll'}-->
- {lang thread_poll}
- <!--{elseif $_GET['specialtype'] == 'trade'}-->
- {lang thread_trade}
- <!--{elseif $_GET['specialtype'] == 'reward'}-->
- {lang thread_reward}
- <!--{elseif $_GET['specialtype'] == 'activity'}-->
- {lang thread_activity}
- <!--{elseif $_GET['specialtype'] == 'debate'}-->
- {lang thread_debate}
- <!--{else}-->
- {lang threads_all}
- <!--{/if}-->
- </a>
- </span>
- <span class="wk_showmenu">
- <a id="filter_dateline" href="javascript:;" class="showmenu {if $_GET['specialtype']} xw1{/if}" onclick="showMenu(this.id)">
- <!--{if !$_GET['dateline']}-->
- {lang all}{lang search_any_date}
- <!--{elseif $_GET['dateline'] == '86400'}-->
- {lang last_1_days}
- <!--{elseif $_GET['dateline'] == '172800'}-->
- {lang last_2_days}
- <!--{elseif $_GET['dateline'] == '604800'}-->
- {lang list_one_week}
- <!--{elseif $_GET['dateline'] == '2592000'}-->
- {lang list_one_month}
- <!--{elseif $_GET['dateline'] == '7948800'}-->
- {lang list_three_month}
- <!--{else}-->
- {lang all}{lang search_any_date}
- <!--{/if}-->
- </a>
- </span>
- {lang orderby} :
- <span class="wk_showmenu">
- <a id="filter_orderby" href="javascript:;" class="showmenu {if $_GET['specialtype']} xw1{/if}" onclick="showMenu(this.id)">
- <!--{if $_GET['orderby'] == 'dateline'}-->
- {lang list_post_time}
- <!--{elseif $_GET['orderby'] == 'replies'}-->
- {lang replies}
- <!--{elseif $_GET['orderby'] == 'views'}-->
- {lang views}
- <!--{elseif $_GET['orderby'] == 'lastpost'}-->
- {lang lastpost}
- <!--{elseif $_GET['orderby'] == 'heats'}-->
- {lang order_heats}
- <!--{else}-->
- {lang list_default_sort}
- <!--{/if}-->
- </a>
- </span>
- </div>
- </div>
-
- <div class="bm_c">
- <!--{if empty($_G['forum']['picstyle']) || $_G['cookie']['forumdefstyle']}-->
- <script type="text/javascript">var lasttime = $_G['timestamp'];var listcolspan= '{if !$_GET['archiveid'] && $_G['forum']['ismoderator']}6{else}5{/if}';</script>
- <!--{/if}-->
- <div id="forumnew" style="display:none"></div>
- <form method="post" autocomplete="off" name="moderate" id="moderate" action="forum.php?mod=topicadmin&action=moderate&fid=$_G[fid]&infloat=yes&nopost=yes">
- <input type="hidden" name="formhash" value="{FORMHASH}" />
- <input type="hidden" name="listextra" value="$extra" />
- <table summary="forum_$_G[fid]" cellspacing="0" cellpadding="0" id="threadlisttableid">
-
- <!--{if !$separatepos || !$_G['setting']['forumseparator']}-->
- <tbody id="separatorline" class="emptb"><tr><td class="icon"> </td><td class="icn"></td><!--{if !$_GET['archiveid'] && $_G['forum']['ismoderator']}--><td class="o"></td><!--{/if}--><th></th><!--{if CURMODULE == 'guide'}--><td class="by"></td><!--{/if}--><td class="by"></td><td class="num"></td><td class="by"></td></tr></tbody>
- <!--{/if}-->
- <!--{if $_G['forum_threadcount']}-->
- <!--{if empty($_G['forum']['picstyle']) || $_G['cookie']['forumdefstyle']}-->
- <!--{loop $_G['forum_threadlist'] $key $thread}-->
- <!--{if $_G[setting][forumseparator] == 1 && $separatepos == $key + 1}-->
- <tbody id="separatorline">
- <tr class="ts">
- <td class="icon" style="border-left:1px #F0F0F0 solid;"> </td><td> </td>
- <!--{if $_G['forum']['ismoderator'] && !$_GET['archiveid']}--><td> </td><!--{/if}-->
- <th><!--{if empty($_G['forum']['picstyle']) && $_GET['orderby'] == 'lastpost' && !$_GET['filter']}--><a href="javascript:;" onclick="checkForumnew_btn('{$_G['fid']}')" title="{lang showupgrade}" class="forumrefresh">{lang forum_thread}</a><!--{else}--> <!--{/if}--></th><td> </td><td> </td><td style=" border-right:1px #F0F0F0 solid;"> </td>
- </tr>
- </tbody>
- <script type="text/javascript">hideStickThread();</script>
- <!--{/if}-->
- <!--{if $separatepos <= $key + 1}-->
- <!--{ad/threadlist}-->
- <!--{/if}-->
- <tbody id="$thread[id]"{if $_G['hiddenexists'] && $thread['hidden']} style='display:none'{/if}>
- <tr {eval $i++;} {if ($i % 2 === 0)} {eval $i=0;} class="list_bg2"{/if}>
- <td class="icon">
- <a href="home.php?mod=space&uid=$thread[authorid]" class="w_uid" c="1"><!--{avatar($thread[authorid],small)}--></a>
- </td>
- <td class="icn">
- <a href="forum.php?mod=viewthread&tid=$thread[icontid]&{if $_GET['archiveid']}archiveid={$_GET['archiveid']}&{/if}extra=$extra" title="{if $thread['displayorder'] == 1}{lang thread_type1} - {/if}
- {if $thread['displayorder'] == 2}{lang thread_type2} - {/if}
- {if $thread['displayorder'] == 3}{lang thread_type3} - {/if}
- {if $thread['displayorder'] == 4}{lang thread_type4} - {/if}
- {if $thread[folder] == 'lock'}{lang closed_thread} - {/if}
- {if $thread['special'] == 1}{lang thread_poll} - {/if}
- {if $thread['special'] == 2}{lang thread_trade} - {/if}
- {if $thread['special'] == 3}{lang thread_reward} - {/if}
- {if $thread['special'] == 4}{lang thread_activity} - {/if}
- {if $thread['special'] == 5}{lang thread_debate} - {/if}
- {if $thread[folder] == "new"}{lang have_newreplies} - {/if}
- {lang target_blank}" target="_blank">
- <!--{if $thread[folder] == 'lock'}-->
- <img src="{IMGDIR}/folder_lock.gif" />
- <!--{elseif $thread['special'] == 1}-->
- <img src="{IMGDIR}/pollsmall.gif" alt="{lang thread_poll}" />
- <!--{elseif $thread['special'] == 2}-->
- <img src="{IMGDIR}/tradesmall.gif" alt="{lang thread_trade}" />
- <!--{elseif $thread['special'] == 3}-->
- <img src="{IMGDIR}/rewardsmall.gif" alt="{lang thread_reward}" />
- <!--{elseif $thread['special'] == 4}-->
- <img src="{IMGDIR}/activitysmall.gif" alt="{lang thread_activity}" />
- <!--{elseif $thread['special'] == 5}-->
- <img src="{IMGDIR}/debatesmall.gif" alt="{lang thread_debate}" />
- <!--{elseif in_array($thread['displayorder'], array(1, 2, 3, 4))}-->
- <img src="{IMGDIR}/pin_$thread[displayorder].gif" alt="$_G[setting][threadsticky][3-$thread[displayorder]]" />
- <!--{else}-->
- <img src="{IMGDIR}/folder_$thread[folder].gif" />
- <!--{/if}-->
- </a>
- </td>
- <!--{if !$_GET['archiveid'] && $_G['forum']['ismoderator']}-->
- <td class="o">
- <!--{if $thread['fid'] == $_G[fid]}-->
- <!--{if $thread['displayorder'] <= 3 || $_G['adminid'] == 1}-->
- <input onclick="tmodclick(this)" type="checkbox" name="moderate[]" value="$thread[tid]" />
- <!--{else}-->
- <input type="checkbox" disabled="disabled" />
- <!--{/if}-->
- <!--{else}-->
- <input type="checkbox" disabled="disabled" />
- <!--{/if}-->
- </td>
- <!--{/if}-->
- <th class="$thread[folder]">
- <!--{if CURMODULE == 'guide'}-->
- <span><a href="forum.php?mod=forumdisplay&fid=$thread[fid]" target="_blank">$forumnames[$thread[fid]]['name']</a></span>
- <!--{/if}-->
- <a href="javascript:;" id="content_$thread[tid]" class="showcontent y" title="{lang content_actions}" onclick="CONTENT_TID='$thread[tid]';CONTENT_ID='$thread[id]';showMenu({'ctrlid':this.id,'menuid':'content_menu'})"></a>
- <!--{if in_array($thread['displayorder'], array(1, 2, 3, 4))}-->
- <a href="javascript:void(0);" onclick="hideStickThread('$thread[tid]')" class="showhide y" title="{lang hidedisplayorder}">{lang hidedisplayorder}</a></em>
- <!--{/if}-->
- <!--{if !$thread['forumstick'] && $thread['closed'] > 1 && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])}-->
- <!--{eval $thread[tid]=$thread[closed];}-->
- <!--{/if}-->
- <!--{if !$_G['setting']['forumdisplaythreadpreview'] && !($thread['readperm'] && $thread['readperm'] > $_G['group']['readaccess'] && !$_G['forum']['ismoderator'] && $thread['authorid'] != $_G['uid'])}-->
- <!--{if !(!empty($_G['setting']['antitheft']['allow']) && empty($_G['setting']['antitheft']['disable']['thread']) && empty($_G['forum']['noantitheft']))}-->
- <a class="tdpre y" href="javascript:void(0);" onclick="previewThread('{echo $thread['moved'] ? $thread[closed] : $thread[tid]}', '$thread[id]');">{lang preview}</a>
- <!--{/if}-->
- <!--{/if}-->
- <!--{hook/forumdisplay_thread $key}-->
- $thread[typehtml] $thread[sorthtml]
- <!--{if $thread['moved']}-->
- {lang thread_moved}:<!--{eval $thread[tid]=$thread[closed];}-->
- <!--{/if}-->
- <a href="forum.php?mod=viewthread&tid=$thread[tid]&{if $_GET['archiveid']}archiveid={$_GET['archiveid']}&{/if}extra=$extra"$thread[highlight]{if $thread['isgroup'] == 1 || $thread['forumstick']} target="_blank"{else} onclick="atarget(this)"{/if} class="s xst">$thread[subject]</a>
- <!--{if $_G['setting']['threadhidethreshold'] && $thread['hidden'] >= $_G['setting']['threadhidethreshold']}--><span class="xg1">{lang hidden}</span> <!--{/if}-->
- <!--{if $thread[icon] >= 0}-->
- <img src="{STATICURL}image/stamp/{$_G[cache][stamps][$thread[icon]][url]}" alt="{$_G[cache][stamps][$thread[icon]][text]}" align="absmiddle" />
- <!--{/if}-->
- <!--{if $thread['rushreply']}-->
- <img src="{IMGDIR}/rushreply_s.png" alt="{lang rushreply}" align="absmiddle" />
- <!--{if $rushinfo[$thread[tid]]}-->
- <span id="rushtimer_$thread[tid]"> {lang havemore_special} <span id="rushtimer_body_$thread[tid]"></span> <script language="javascript">settimer($rushinfo[$thread[tid]]['timer'], 'rushtimer_body_$thread[tid]');</script>{if $rushinfo[$thread[tid]]['timertype'] == 'start'} {lang header_start} {else} {lang over} {/if} {lang right_special}</span>
- <!--{/if}-->
- <!--{/if}-->
- <!--{if $stemplate && $sortid}-->$stemplate[$sortid][$thread[tid]]<!--{/if}-->
- <!--{if $thread['readperm']}--> - [{lang readperm} <span class="xw1">$thread[readperm]</span>]<!--{/if}-->
- <!--{if $thread['price'] > 0}-->
- <!--{if $thread['special'] == '3'}-->
- - <a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=specialtype&specialtype=reward$forumdisplayadd[specialtype]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}&rewardtype=1" title="{lang show_rewarding_only}"><span class="xi1">[{lang thread_reward} <span class="xw1">$thread[price]</span> {$_G[setting][extcredits][$_G['setting']['creditstransextra'][2]][unit]}{$_G[setting][extcredits][$_G['setting']['creditstransextra'][2]][title]}]</span></a>
- <!--{else}-->
- - [{lang price} <span class="xw1">$thread[price]</span> {$_G[setting][extcredits][$_G['setting']['creditstransextra'][1]][unit]}{$_G[setting][extcredits][$_G['setting']['creditstransextra'][1]][title]}]
- <!--{/if}-->
- <!--{elseif $thread['special'] == '3' && $thread['price'] < 0}-->
- - <a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=specialtype&specialtype=reward$forumdisplayadd[specialtype]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}&rewardtype=2" title="{lang show_rewarded_only}">[{lang reward_solved}]</a>
- <!--{/if}-->
- <!--{if $thread['attachment'] == 2}-->
- <img src="{STATICURL}image/filetype/image_s.gif" alt="attach_img" title="{lang attach_img}" align="absmiddle" />
- <!--{elseif $thread['attachment'] == 1}-->
- <img src="{STATICURL}image/filetype/common.gif" alt="attachment" title="{lang attachment}" align="absmiddle" />
- <!--{/if}-->
- <!--{if $thread['mobile']}-->
- <img src="{IMGDIR}/mobile-attach-$thread['mobile'].png" alt="{lang post_mobile}" align="absmiddle" />
- <!--{/if}-->
- <!--{if $thread['digest'] > 0 && $filter != 'digest'}-->
- <img src="{IMGDIR}/digest_$thread[digest].gif" align="absmiddle" alt="digest" title="{lang thread_digest} $thread[digest]" />
- <!--{/if}-->
- <!--{if $thread['displayorder'] == 0}-->
- <!--{if $thread[recommendicon] && $filter != 'recommend'}-->
- <img src="{IMGDIR}/recommend_$thread[recommendicon].gif" align="absmiddle" alt="recommend" title="{lang thread_recommend} $thread[recommends]" />
- <!--{/if}-->
- <!--{if $thread[heatlevel]}-->
- <img src="{IMGDIR}/hot_$thread[heatlevel].gif" align="absmiddle" alt="heatlevel" title="{lang heats}: {$thread[heats]}" />
- <!--{/if}-->
- <!--{if $thread['rate'] > 0}-->
- <img src="{IMGDIR}/agree.gif" align="absmiddle" alt="agree" title="{lang rate_credit_add}" />
- <!--{elseif $thread['rate'] < 0}-->
- <img src="{IMGDIR}/disagree.gif" align="absmiddle" alt="disagree" title="{lang posts_deducted}" />
- <!--{/if}-->
- <!--{/if}-->
- <!--{if $thread['replycredit'] > 0}-->
- - <span class="xi1">[{lang replycredit} <strong> $thread['replycredit']</strong> ]</span>
- <!--{/if}-->
- <!--{hook/forumdisplay_thread_subject $key}-->
- <!--{if $thread[multipage]}-->
- <span class="tps">$thread[multipage]</span>
- <!--{/if}-->
- <!--{if $thread['weeknew']}-->
- <a href="forum.php?mod=redirect&tid=$thread[tid]&goto=lastpost#lastpost" class="xi1">New</a>
- <!--{/if}-->
- <!--{if !$thread['forumstick'] && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])}-->
- <!--{if $thread['related_group'] == 0 && $thread['closed'] > 1}-->
- <!--{eval $thread[tid]=$thread[closed];}-->
- <!--{/if}-->
- <!--{if $groupnames[$thread[tid]]}-->
- <span class="fromg xg1"> [{lang from}: <a href="forum.php?mod=group&fid={$groupnames[$thread[tid]][fid]}" target="_blank" class="xg1">{$groupnames[$thread[tid]][name]}</a>]</span>
- <!--{/if}-->
- <!--{/if}-->
- <div class="clear"></div>
- <div class="wk_tzlb_yh">
- <span>
- <!--{hook/forumdisplay_author $key}-->
- {lang author} :
- <!--{if $thread['authorid'] && $thread['author']}-->
- <a href="home.php?mod=space&uid=$thread[authorid]" c="1"{if $groupcolor[$thread[authorid]]} style="color:$groupcolor[$thread[authorid]];"{/if}>$thread[author]</a><!--{if !empty($verify[$thread['authorid']])}--> $verify[$thread[authorid]]<!--{/if}-->
- <!--{else}-->
- $_G[setting][anonymoustext]
- <!--{/if}-->
- <span class="pipe"></span>
- <span{if $thread['istoday']} class="xi1"{/if}>$thread[dateline]</span>
- </span>
- <span class="pipe">|</span>
- <span>
- {lang lastpost} :
- <!--{if $thread['lastposter']}--><a href="{if $thread[digest] != -2}home.php?mod=space&username=$thread[lastposterenc]{else}forum.php?mod=viewthread&tid=$thread[tid]&page={echo max(1, $thread[pages]);}{/if}" c="1">$thread[lastposter]</a><!--{else}-->$_G[setting][anonymoustext]<!--{/if}-->
- <span class="pipe"></span>
- <a href="{if $thread[digest] != -2 && !$thread[ordertype]}forum.php?mod=redirect&tid=$thread[tid]&goto=lastpost$highlight#lastpost{else}forum.php?mod=viewthread&tid=$thread[tid]{if !$thread[ordertype]}&page={echo max(1, $thread[pages]);}{/if}{/if}">$thread[lastpost]</a></span>
- </div>
- </th>
- <td class="by">
- <span class="ico_reply"><a href="forum.php?mod=viewthread&tid=$thread[tid]&extra=$extra"><!--{if $thread[allreplies]}-->$thread[allreplies]<!--{else}-->0<!--{/if}--></a></span>
- </td>
- <td class="num"></td>
- <td class="by">
- <span class="ico_see"><!--{if $thread['isgroup'] != 1}-->$thread[views]<!--{else}-->{$groupnames[$thread[tid]][views]}<!--{/if}--></span>
- </td>
- </tr>
- </tbody>
- <!--{/loop}-->
- </table><!-- end of table "forum_G[fid]" branch 1/3 -->
- <!--{if $_G['hiddenexists']}-->
- <div id="hiddenthread"{if $thread['hidden']} class="last"{/if}><a href="javascript:;" onclick="display_blocked_thread()">{lang other_reply_hide}</a></div>
- <!--{/if}-->
- <!--{else}-->
- </table><!-- end of table "forum_G[fid]" branch 2/3 -->
- <ul id="waterfall" class="ml waterfall cl">
- <!--{loop $_G['forum_threadlist'] $key $thread}-->
- <!--{if $_G['hiddenexists'] && $thread['hidden']}-->
- <!--{eval continue;}-->
- <!--{/if}-->
- <!--{if !$thread['forumstick'] && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])}-->
- <!--{if $thread['related_group'] == 0 && $thread['closed'] > 1}-->
- <!--{eval $thread[tid]=$thread[closed];}-->
- <!--{/if}-->
- <!--{/if}-->
- <!--{eval $waterfallwidth = $_G[setting][forumpicstyle][thumbwidth] + 14; }-->
- <li style="width:{$waterfallwidth}px">
- <!--{if !$_GET['archiveid'] && $_G['forum']['ismoderator']}-->
- <div style="position:absolute;margin:1px;padding:2px;background:#FFF">
- <!--{if $thread['fid'] == $_G[fid]}-->
- <!--{if $thread['displayorder'] <= 3 || $_G['adminid'] == 1}-->
- <input onclick="tmodclick(this)" type="checkbox" name="moderate[]" value="$thread[tid]" />
- <!--{else}-->
- <input type="checkbox" disabled="disabled" />
- <!--{/if}-->
- <!--{else}-->
- <input type="checkbox" disabled="disabled" />
- <!--{/if}-->
- </div>
- <!--{/if}-->
- <div class="c cl">
- <a href="forum.php?mod=viewthread&tid=$thread[tid]&{if $_GET['archiveid']}archiveid={$_GET['archiveid']}&{/if}extra=$extra" {if $thread['isgroup'] == 1 || $thread['forumstick'] || CURMODULE == 'guide'} target="_blank"{else} onclick="atarget(this)"{/if} title="$thread[subject]" class="z">
- <!--{if $thread['cover']}-->
- <img src="$thread[coverpath]" alt="$thread[subject]" width="{$_G[setting][forumpicstyle][thumbwidth]}" />
- <!--{else}-->
- <span class="nopic" style="width:{$_G[setting][forumpicstyle][thumbwidth]}px; height:{$_G[setting][forumpicstyle][thumbwidth]}px;"></span>
- <!--{/if}-->
- </a>
- </div>
- <h3 class="xw0">
- <!--{hook/forumdisplay_thread $key}-->
- <a href="forum.php?mod=viewthread&tid=$thread[tid]&{if $_GET['archiveid']}archiveid={$_GET['archiveid']}&{/if}extra=$extra"$thread[highlight]{if $thread['isgroup'] == 1 || $thread['forumstick']} target="_blank"{else} onclick="atarget(this)"{/if} title="$thread[subject]">$thread[subject]</a>
- </h3>
- <div class="auth cl">
- <cite class="xg1 y">
- {lang like}: <!--{if $thread[recommends]}-->$thread[recommends]<!--{else}-->0<!--{/if}-->
- {lang reply}: <a href="forum.php?mod=viewthread&tid=$thread[tid]&extra=$extra" title="$thread[replies] {lang reply}">$thread[replies]</a>
- </cite>
- <!--{hook/forumdisplay_author $key}-->
- <!--{if $thread['authorid'] && $thread['author']}-->
- <a href="home.php?mod=space&uid=$thread[authorid]">$thread[author]</a><!--{if !empty($verify[$thread['authorid']])}--> $verify[$thread[authorid]]<!--{/if}-->
- <!--{else}-->
- $_G[setting][anonymoustext]
- <!--{/if}-->
- </div>
- </li>
- <!--{/loop}-->
- </ul>
- <div id="tmppic" style="display: none;"></div>
- <script type="text/javascript" src="{$_G[setting][jspath]}redef.js?{VERHASH}"></script>
- <script type="text/javascript" reload="1">
- var wf = {};
- _attachEvent(window, "load", function () {
- if($("waterfall")) {
- wf = waterfall();
- }
- <!--{if $page < $_G['page_next'] && !$subforumonly}-->
- var page = $page + 1,
- maxpage = Math.min($page + 10,$maxpage + 1),
- stopload = 0,
- scrolltimer = null,
- tmpelems = [],
- tmpimgs = [],
- markloaded = [],
- imgsloaded = 0,
- loadready = 0,
- showready = 1,
- nxtpgurl = 'forum.php?mod=forumdisplay&fid={$_G[fid]}&filter={$filter}&orderby={$_GET[orderby]}{$forumdisplayadd[page]}&page=',
- wfloading = "<img src=\"{IMGDIR}/loading.gif\" alt=\"\" width=\"16\" height=\"16\" class=\"vm\" /> {lang onloading}...",
- pgbtn = $("pgbtn").getElementsByTagName("a")[0];
- function loadmore() {
- var url = nxtpgurl + page + '&t=' + parseInt((+new Date()/1000)/(Math.random()*1000));
- var x = new Ajax("HTML");
- x.get(url, function (s) {
- s = s.replace(/\n|\r/g, "");
- if(s.indexOf("id=\"pgbtn\"") == -1) {
- $("pgbtn").style.display = "none";
- stopload++;
- window.onscroll = null;
- }
- s = s.substring(s.indexOf("<ul id=\"waterfall\""), s.indexOf("<div id=\"tmppic\""));
- s = s.replace("id=\"waterfall\"", "");
- $("tmppic").innerHTML = s;
- loadready = 1;
- });
- }
- window.onscroll = function () {
- if(scrolltimer == null) {
- scrolltimer = setTimeout(function () {
- try {
- if(page < maxpage && stopload < 2 && showready && ((document.documentElement.scrollTop || document.body.scrollTop) + document.documentElement.clientHeight + 500) >= document.documentElement.scrollHeight) {
- pgbtn.innerHTML = wfloading;
- loadready = 0;
- showready = 0;
- loadmore();
- tmpelems = $("tmppic").getElementsByTagName("li");
- var waitingtimer = setInterval(function () {
- stopload >= 2 && clearInterval(waitingtimer);
- if(loadready && stopload < 2) {
- if(!tmpelems.length) {
- page++;
- pgbtn.href = nxtpgurl + Math.min(page, $maxpage);
- pgbtn.innerHTML = "{lang next_page_extra}";
- showready = 1;
- clearInterval(waitingtimer);
- }
- for(var i = 0, j = tmpelems.length; i < j; i++) {
- if(tmpelems[i]) {
- tmpimgs = tmpelems[i].getElementsByTagName("img");
- imgsloaded = 0;
- for(var m = 0, n = tmpimgs.length; m < n; m++) {
- tmpimgs[m].onerror = function () {
- this.style.display = "none";
- };
- markloaded[m] = tmpimgs[m].complete ? 1 : 0;
- imgsloaded += markloaded[m];
- }
- if(imgsloaded == tmpimgs.length) {
- $("waterfall").appendChild(tmpelems[i]);
- wf = waterfall({
- "index": wf.index,
- "totalwidth": wf.totalwidth,
- "totalheight": wf.totalheight,
- "columnsheight": wf.columnsheight
- });
- }
- }
- }
- }
- }, 40);
- }
- } catch(e) {}
- scrolltimer = null;
- }, 320);
- }
- };
- <!--{/if}-->
- });
- </script>
- <!--{/if}-->
- <!--{else}-->
- <tbody class="bw0_all"><tr><th colspan="{if !$_GET['archiveid'] && $_G['forum']['ismoderator']}6{else}5{/if}"><p class="emp">{lang forum_nothreads}</p></th></tr></tbody>
- </table><!-- end of table "forum_G[fid]" branch 3/3 -->
- <!--{/if}-->
- <!--{if $_G['forum']['ismoderator'] && $_G['forum_threadcount']}-->
- <!--{template forum/topicadmin_modlayer}-->
- <!--{/if}-->
- </form>
- </div>
- <!--{hook/forumdisplay_threadlist_bottom}-->
- </div>
- <!--{if !IS_ROBOT}-->
- <div id="filter_special_menu" class="p_pop wk_sub" style="display:none" change="location.href='forum.php?mod=forumdisplay&fid=$_G[fid]&filter='+$('filter_special').value">
- <ul>
- <li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">{lang all}{lang forum_threads}</a></li>
- <!--{if $showpoll}--><li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=specialtype&specialtype=poll$forumdisplayadd[specialtype]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">{lang thread_poll}</a></li><!--{/if}-->
- <!--{if $showtrade}--><li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=specialtype&specialtype=trade$forumdisplayadd[specialtype]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">{lang thread_trade}</a></li><!--{/if}-->
- <!--{if $showreward}--><li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=specialtype&specialtype=reward$forumdisplayadd[specialtype]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">{lang thread_reward}</a></li><!--{/if}-->
- <!--{if $showactivity}--><li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=specialtype&specialtype=activity$forumdisplayadd[specialtype]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">{lang thread_activity}</a></li><!--{/if}-->
- <!--{if $showdebate}--><li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=specialtype&specialtype=debate$forumdisplayadd[specialtype]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">{lang thread_debate}</a></li><!--{/if}-->
- </ul>
- </div>
- <div id="filter_reward_menu" class="p_pop wk_sub" style="display:none" change="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=specialtype&specialtype=reward$forumdisplayadd[specialtype]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}&rewardtype='+$('filter_reward').value">
- <ul>
- <li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=specialtype&specialtype=reward$forumdisplayadd[specialtype]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">{lang all_reward}</a></li>
- <!--{if $showpoll}--><li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=specialtype&specialtype=reward$forumdisplayadd[specialtype]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}&rewardtype=1">{lang rewarding}</a></li><!--{/if}-->
- <!--{if $showtrade}--><li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=specialtype&specialtype=reward$forumdisplayadd[specialtype]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}&rewardtype=2">{lang reward_solved}</a></li><!--{/if}-->
- </ul>
- </div>
-
- <div id="filter_dateline_menu" class="p_pop wk_sub" style="display:none">
- <ul>
- <li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&orderby={$_GET['orderby']}&filter=dateline$forumdisplayadd[dateline]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">{lang all}{lang search_any_date}</a></li>
- <li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&orderby={$_GET['orderby']}&filter=dateline&dateline=86400$forumdisplayadd[dateline]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">{lang last_1_days}</a></li>
- <li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&orderby={$_GET['orderby']}&filter=dateline&dateline=172800$forumdisplayadd[dateline]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">{lang last_2_days}</a></li>
- <li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&orderby={$_GET['orderby']}&filter=dateline&dateline=604800$forumdisplayadd[dateline]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">{lang list_one_week}</a></li>
- <li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&orderby={$_GET['orderby']}&filter=dateline&dateline=2592000$forumdisplayadd[dateline]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">{lang list_one_month}</a></li>
- <li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&orderby={$_GET['orderby']}&filter=dateline&dateline=7948800$forumdisplayadd[dateline]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">{lang list_three_month}</a></li>
- </ul>
- </div>
- <!--{if !$_G['setting']['closeforumorderby']}-->
- <div id="filter_orderby_menu" class="p_pop wk_sub" style="display:none">
- <ul>
- <li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">{lang list_default_sort}</a></li>
- <li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=author&orderby=dateline$forumdisplayadd[author]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">{lang list_post_time}</a></li>
- <li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=reply&orderby=replies$forumdisplayadd[reply]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">{lang replies}</a></li>
- <li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=reply&orderby=views$forumdisplayadd[view]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">{lang views}</a></li>
- <li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=lastpost&orderby=lastpost$forumdisplayadd[lastpost]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">{lang lastpost}</a></li>
- <li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=heat&orderby=heats$forumdisplayadd[heat]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">{lang order_heats}</a></li>
- </ul>
- </div>
- <!--{/if}-->
- <!--{/if}-->
- <!--{if $multipage && $filter != 'hot'}-->
- <!--{if !($_G[forum][picstyle] && !$_G[cookie][forumdefstyle])}-->
- <a class="bm_h wk_fbm_h" href="javascript:;" rel="$multipage_more" curpage="$page" id="autopbn" totalpage="$maxpage" picstyle="$_G[forum][picstyle]" forumdefstyle="$_G[cookie][forumdefstyle]">{lang next_page_extra}</a>
- <script type="text/javascript" src="{$_G[setting][jspath]}autoloadpage.js?{VERHASH}"></script>
- <!--{else}-->
- <div id="pgbtn" class="pgbtn"><a href="forum.php?mod=forumdisplay&fid={$_G[fid]}&filter={$filter}&orderby={$_GET[orderby]}{$forumdisplayadd[page]}&{$multipage_archive}&page=$nextpage" hidefocus="true">{lang next_page_extra}</a></div>
- <!--{/if}-->
- <!--{/if}-->
- <div class="bm bw0 pgs cl">
- <span id="fd_page_bottom">$multipage</span>
- <span {if $_G[setting][visitedforums]}id="visitedforumstmp" onmouseover="$('visitedforums').id = 'visitedforumstmp';this.id = 'visitedforums';showMenu({'ctrlid':this.id,'pos':'21'})"{/if} class="pgb"><a href="forum.php">{lang return_index}</a></span>
-
- </div>
|