guide.htm
7.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
<!--{template common/header}-->
<style type="text/css">
.xl2 { background: url({IMGDIR}/vline.png) repeat-y 50% 0; }
.xl2 li { width: 49.9%; }
.xl2 li em { padding-right: 10px; }
.xl2 .xl2_r em { padding-right: 0; }
.xl2 .xl2_r i { padding-left: 10px; }
</style>
<div id="pt" class="bm cl">
<div class="z">
<a href="./" class="nvhm" title="{lang homepage}">$_G[setting][bbname]</a><!--{if helper_access::check_module('guide')}--><em>»</em><a href="forum.php?mod=guide&view=index">{lang guide}</a><!--{/if}-->$navigation
</div>
</div>
<div class="boardnav">
<div id="ct" class="wp cl{if $_G['forum']['allowside']} ct2{/if}"{if $leftside} style="margin-left:{$_G['leftsidewidth_mwidth']}px"{/if}>
<div class="mn">
<div class="bm bml pbn">
<div class="bm_h cl">
<!--{if $view != 'index' && $view != 'my'}-->
<span class="y">
<a href="forum.php?mod=guide&view=$view&rss=1" class="fa_rss" target="_blank" title="RSS">{lang rss_subscribe_this}</a>
</span>
<!--{/if}-->
<h1 class="xs2">
$lang['guide_'.$view]
</h1>
</div>
<!--{if $view != 'my'}-->
<div class="bm_c cl pbn">
<div style=";" id="forum_rules_1163">
<div class="ptn xg2">$lang['guide_'.$view.'_description']</div>
</div>
</div>
<!--{/if}-->
</div>
<!--{if $view != 'index'}-->
<div id="pgt" class="bm bw0 pgs cl">
$multipage
<a onclick="showWindow('nav', this.href, 'get', 0)" href="forum.php?mod=misc&action=nav"><img src="{IMGDIR}/pn_post.png" alt="{lang send_posts}" /></a>
</div>
<!--{/if}-->
<ul id="thread_types" class="ttp bm cl">
<li $currentview['hot']><a href="forum.php?mod=guide&view=hot">{lang guide_hot}</a></li>
<li $currentview['digest']><a href="forum.php?mod=guide&view=digest">{lang guide_digest}</a></li>
<li $currentview['new']><a href="forum.php?mod=guide&view=new">{lang guide_new}</a></li>
<li $currentview['newthread']><a href="forum.php?mod=guide&view=newthread">{lang guide_newthread}</a></li>
<li $currentview['sofa']><a href="forum.php?mod=guide&view=sofa">{lang guide_sofa}</a></li>
<li $currentview['my']><a id="filter_special" href="forum.php?mod=guide&view=my" onmouseover="showMenu(this.id)">{lang guide_my}</a></li>
<!--{hook/guide_nav_extra}-->
</ul>
<!--{hook/guide_top}-->
<!--{if $view == 'index'}-->
<!--{loop $data $key $list}-->
<div class="bm bmw">
<div class="bm_h">
<a href="forum.php?mod=guide&view=$key" class="y xi2">{lang more} »</a>
<h2>
<!--{if $key == 'hot'}-->{lang guide_hot}<!--{elseif $key == 'digest'}-->{lang guide_digest}<!--{elseif $key == 'newthread'}-->{lang guide_newthread}<!--{elseif $key == 'new'}-->{lang guide_new}<!--{elseif $key == 'my'}-->{lang guide_my}<!--{/if}-->
</h2>
</div>
<div class="bm_c">
<div class="xl xl2 cl">
<!--{if $list['threadcount']}-->
<!--{eval $i=0;}-->
<!--{loop $list['threadlist'] $thread}-->
<!--{eval $i++;$newtd=$i%2;}-->
<li{if !$newtd} class="xl2_r"{/if}>
<em>
<!--{if $key == 'hot'}--><span class="xi1">$thread['heats']{lang guide_attend}</span><!--{/if}-->
<!--{if $key == 'new'}-->$thread['lastpost']<!--{/if}-->
</em>
<i>· <a href="forum.php?mod=viewthread&tid=$thread[tid]&{if $_GET['archiveid']}archiveid={$_GET['archiveid']}&{/if}extra=$extra"$thread[highlight] target="_blank">$thread[subject]</a></i> <span class="xg1"><a href="forum.php?mod=forumdisplay&fid=$thread[fid]" target="_blank">$list['forumnames'][$thread[fid]]['name']</a></span>
</li>
<!--{/loop}-->
<!--{else}-->
<p class="emp">{lang guide_nothreads}</p>
<!--{/if}-->
</div>
</div>
</div>
<!--{/loop}-->
<!--{else}-->
<!--{loop $data $key $list}-->
<div id="threadlist" class="tl bm bmw"{if $_G['uid']} style="position: relative;"{/if}>
<div class="th">
<table cellspacing="0" cellpadding="0">
<tr>
<th colspan="2">
{lang title}
<!--{if $view == 'my'}-->
<a href="forum.php?mod=guide&view=my&type=thread" $orderactives[thread]>{lang forum_threads}</a><span class="pipe">|</span>
<a href="forum.php?mod=guide&view=my&type=reply" $orderactives[reply]>{lang reply}</a><span class="pipe">|</span>
<a href="forum.php?mod=guide&view=my&type=postcomment" $orderactives[postcomment]>{lang comments}</a><span class="pipe">|</span>
<!--{if $viewtype != 'postcomment'}-->
<a href="#" onclick="var displayvalue = $('searchbody').style.display == 'none' ? '' : 'none';$('searchbody').style.display=displayvalue; return false;">{lang screening}</a>
<!--{/if}-->
<!--{/if}-->
</th>
<td class="by">{lang forum_group}</td>
<td class="by">{lang author}</td>
<td class="num">{lang replies}</td>
<td class="by">{lang lastpost}</td>
</tr>
<!--{if $view == 'my'}-->
<tbody class="bw0_all" id="searchbody"{if !$searchbody} style="display: none"{/if}>
<tr>
<th colspan="6">
<form method="get" action="forum.php">
<input type="hidden" name="mod" value="guide">
<input type="hidden" name="view" value="my">
<input type="hidden" name="type" value="$viewtype">
<!--{if $viewtype != 'postcomment'}-->
{lang status}:
<select name="filter" id="filter">
<option value="">{lang all}</option>
<!--{loop $filter_array $fkey $name}-->
<option value="$fkey" {if $fkey == $_GET[filter]}selected{/if}>$name</option>
<!--{/loop}-->
</select>
{lang guide_forum_select}:
<select name="fid" id="forumlist">
<option value="0">{lang all}</option>
$forumlist
</select>
<!--{/if}-->
<!--{if $viewtype == 'thread'}-->
{lang keyword}: <input type="text" id="searchmypost" class="px vm" name="searchkey" size="20" value="$searchkey" >
<!--{/if}--><button class="pn vm"><em>{lang search}</em></button>
</form>
</th>
</tr>
</tbody>
<!--{/if}-->
</table>
</div>
<div class="bm_c">
<div id="forumnew" style="display:none"></div>
<table cellspacing="0" cellpadding="0">
<!--{subtemplate forum/guide_list_row}-->
</table>
</div>
</div>
<!--{/loop}-->
<div class="bm bw0 pgs cl">
$multipage
<span class="pgb y"><a href="forum.php?mod=guide">{lang guide_index}</a></span>
</div>
<!--{/if}-->
<!--{hook/guide_bottom}-->
</div>
</div>
</div>
<!--{if !IS_ROBOT}-->
<div id="filter_special_menu" class="p_pop" style="display:none">
<ul>
<li><a href="home.php?mod=space&do=poll&view=me" target="_blank">{lang thread_poll}</a></li>
<li><a href="home.php?mod=space&do=trade&view=me" target="_blank">{lang thread_trade}</a></li>
<li><a href="home.php?mod=space&do=reward&view=me" target="_blank">{lang thread_reward}</a></li>
<li><a href="home.php?mod=space&do=activity&view=me" target="_blank">{lang thread_activity}</a></li>
</ul>
</div>
<!--{/if}-->
<!--{template common/footer}-->