group_my.htm
9.16 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
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
<!--{template common/header}-->
<div id="pt" class="bm cl">
<div class="z">
<a href="./" class="nvhm" title="{lang home}">$_G[setting][bbname]</a><em>›</em><a href="group.php?mod=index">{lang group}</a><em>›</em><a href="group.php?mod=my">{$_G[username]}{lang somebody_group}</a>
</div>
</div>
<!--{hook/my_header}-->
<style id="diy_style" type="text/css"></style>
<div class="wp">
<!--[diy=diy1]--><div id="diy1" class="area"></div><!--[/diy]-->
</div>
<div id="ct" class="ct2 wp cl">
<div class="mn">
<!--[diy=diycontenttop]--><div id="diycontenttop" class="area"></div><!--[/diy]-->
<div class="tb cl" style="margin-top: 0;">
<ul>
<li $actives[groupthread]><a href="group.php?mod=my&view=groupthread">{lang group_thread}</a></li>
<li $actives[mythread]><a href="group.php?mod=my&view=mythread">{lang my_thread}</a></li>
<li $actives[join]><a href="group.php?mod=my&view=join">{lang my_join}</a></li>
<li $actives[manager]><a href="group.php?mod=my&view=manager">{lang my_manage}</a></li>
<li class="y"><a href="group.php?mod=index" class="groupbtn xi2"><span>{lang all_group} ›</span></a></li>
<li class="y">
<a onclick="showWindow('attentiongroup', 'group.php?mod=attentiongroup', 'get', 0);" class="groupbtn xi2"><span>{lang attention_group}</span></a>
</li>
<script language="javascript">
function succeedhandle_attentiongroup(locationhref) {
hideWindow('attentiongroup');
location.href = locationhref;
}
</script>
</ul>
</div>
<!--{if $view == 'groupthread' || $view == 'mythread'}-->
<ul class="ttp cl">
<li id="ttp_all"{if empty($typeid)} class="xw1 a"{/if}><a href="group.php?mod=my&view=$view">{lang all}</a></li>
<!--{loop $usergroups['grouptype'] $type}-->
<li{if $typeid == $type['fid']} class="xw1 a"{/if}><a href="group.php?mod=my&view=$view{if $typeid != $type['fid']}&typeid=$type[fid]{/if}">$type[name]</a></li>
<!--{/loop}-->
</ul>
<!--{if $attentionthread}-->
<!--{loop $attentionthread $groupid $threads}-->
<div class="bm tl">
<div class="th">
<table cellspacing="0" cellpadding="0" class="th">
<tr>
<td colspan="2"><a href="forum.php?mod=group&fid=$groupid" target="_blank" class="xw1">{$usergroups['groups'][$groupid]}</a></td>
<td class="num">{lang replies}</td>
<td class="by">{lang last_post}</td>
</tr>
</table>
</div>
<div class="bm_c">
<table cellspacing="0" cellpadding="0">
<!--{loop $threads $tid $thread}-->
<tr>
<td class="icn">
<a href="forum.php?mod=viewthread&tid=$tid" title="{lang open_new_window}" target="_blank">
<!--{if $thread[folder] == 'lock'}-->
<img src="{IMGDIR}/folder_lock.gif" /></a>
<!--{elseif in_array($thread['displayorder'], array(1, 2, 3, 4))}-->
<img src="{IMGDIR}/pin_$thread[displayorder].gif" alt="$_G[setting][threadsticky][3-$thread[displayorder]]" /></a>
<!--{else}-->
<img src="{IMGDIR}/folder_$thread[folder].gif" /></a>
<!--{/if}-->
</td>
<td><a href="forum.php?mod=viewthread&tid=$tid" target="_blank">$thread[subject]</a></td>
<td class="num">
<a href="forum.php?mod=viewthread&tid=$tid" class="xi2">$thread[replies]</a>
<em>$thread[views]</em>
</td>
<td class="by">
<cite><!--{if $thread['lastposter']}--><a href="home.php?mod=space&username=$thread[lastposter]">$thread[lastposter]</a><!--{else}-->{lang anonymous}<!--{/if}--></cite>
<em><a href="forum.php?mod=viewthread&tid=$tid&page={echo max(1, $thread[pages]);}">$thread[lastpost]</a></em>
</td>
</tr>
<!--{/loop}-->
</table>
<div class="ptm"><a href="forum.php?mod=group&fid=$groupid" class="xi2">{lang more}...</a></div>
</div>
</div>
<!--{/loop}-->
<!--{/if}-->
<div class="bm tl">
<div class="th">
<table cellpadding="0" cellspacing="0" class="th">
<tr>
<td colspan="2">
<!--{if $view == 'groupthread'}-->{lang last_topic_in_group}<!--{else}-->{lang my_last_topic_in_group}<!--{/if}-->
</td>
<td class="by">{lang group}</td>
<td class="num">{lang replies}</td>
<td class="by">{lang last_post}</td>
</tr>
</table>
</div>
<div class="bm_c">
<table cellspacing="0" cellpadding="0">
<!--{if $groupthreadlist}-->
<!--{loop $groupthreadlist $tid $thread}-->
<tr>
<td class="icn">
<a href="forum.php?mod=viewthread&tid=$tid" title="{lang open_new_window}" target="_blank">
<!--{if $thread[folder] == 'lock'}-->
<img src="{IMGDIR}/folder_lock.gif" /></a>
<!--{elseif in_array($thread['displayorder'], array(1, 2, 3, 4))}-->
<img src="{IMGDIR}/pin_$thread[displayorder].gif" alt="$_G[setting][threadsticky][3-$thread[displayorder]]" /></a>
<!--{else}-->
<img src="{IMGDIR}/folder_$thread[folder].gif" /></a>
<!--{/if}-->
</td>
<td><a href="forum.php?mod=viewthread&tid=$tid" target="_blank">$thread[subject]</a></td>
<td class="by"><a href="forum.php?mod=group&fid=$thread[fid]" target="_blank" class="xg1">$thread[groupname]</a></td>
<td class="num">
<a href="forum.php?mod=viewthread&tid=$tid" class="xi2">$thread[replies]</a>
<em>$thread[views]</em>
</td>
<td class="by">
<cite><!--{if $thread['lastposter']}--><a href="home.php?mod=space&username=$thread[lastposter]">$thread[lastposter]</a><!--{else}-->{lang anonymous}<!--{/if}--></cite>
<em><a href="forum.php?mod=viewthread&tid=$tid&page={echo max(1, $thread[pages]);}">$thread[lastpost]</a></em>
</td>
</tr>
<!--{/loop}-->
<!--{else}-->
<tr><td colspan="4"><div class="emp">{lang no_related_posts}</div></td></tr>
<!--{/if}-->
</table>
</div>
</div>
<!--{if $multipage}--><div class="pgs cl">$multipage</div><!--{/if}-->
<!--{elseif $view == 'manager' || $view == 'join'}-->
<!--{if $grouplist}-->
<div class="bm bml bw0">
<div class="bm_h cl">
<h2><!--{if $view == 'manager'}-->{lang my_manage_group} <!--{elseif $view == 'join'}-->{lang my_join_group} <!--{/if}--></h2>
</div>
<div class="bm_c">
<ul class="ml mls cl">
<!--{loop $grouplist $groupid $group}-->
<li>
<a href="forum.php?mod=group&fid=$groupid" title="$group[name]" class="avt"><img src="$group[icon]" alt="$group[name]" /></a>
<p><!--{if $group['flevel'] == '-1'}-->({lang group_wait_mod})<!--{/if}--><a href="forum.php?mod=group&fid=$groupid" title="$group[name]">$group[name]</a></p>
</li>
<!--{/loop}-->
</ul>
</div>
</div>
<!--{if $multipage}--><div class="pgs">$multipage</div><!--{/if}-->
<!--{else}-->
<div class="emp"><!--{if $view == 'manager'}-->{lang no_group_create_now} <!--{elseif $view == 'join'}-->{lang no_group_join} <!--{/if}--></div>
<!--{/if}-->
<!--{/if}-->
<!--[diy=diycontentbottom]--><div id="diycontentbottom" class="area"></div><!--[/diy]-->
<!--{hook/my_bottom}-->
</div>
<div class="sd">
<div class="drag">
<!--[diy=diysidebtntop]--><div id="diysidebtntop" class="area"></div><!--[/diy]-->
</div>
<!--{if helper_access::check_module('group')}-->
<div class="hm pbm">
<a href="forum.php?mod=group&action=create" id="create_group_btn"><img src="{IMGDIR}/create_group.png" alt="{lang group_create}" /></a>
</div>
<!--{/if}-->
<div class="drag">
<!--[diy=diysidetop]--><div id="diysidetop" class="area"></div><!--[/diy]-->
</div>
<!--{hook/my_side_top}-->
<!--{if $randgroup}-->
<div class="bm">
<div class="bm_h cl">
<h2>{lang hot_group}</h2>
</div>
<div class="bm_c">
<ul class="ml mls cl">
<!--{loop $randgroup $key $group}-->
<li>
<a href="forum.php?mod=group&fid=$group[fid]" title="$group[name]" class="avt" target="_blank"><img src="$group[icon]" alt="$group[name]" /></a>
<p><a href="forum.php?mod=group&fid=$group[fid]" title="$group[name]" target="_blank">$group[name]</a></p>
</li>
<!--{/loop}-->
</ul>
</div>
</div>
<!--{/if}-->
<div class="drag">
<!--[diy=diysidemiddle]--><div id="diysidemiddle" class="area"></div><!--[/diy]-->
</div>
<div class="bm">
<div class="bm_h cl">
<h2>{lang friend_join_group}</h2>
</div>
<div class="bm_c">
<ul class="ml mls cl">
<!--{loop $friendgrouplist $groupid $group}-->
<li>
<a href="forum.php?mod=group&fid=$groupid" title="$group[name]" class="avt" target="_blank"><img src="$group[icon]" alt="$group[name]" /></a>
<p><a href="forum.php?mod=group&fid=$groupid" title="$group[name]" target="_blank">$group[name]</a></p>
</li>
<!--{/loop}-->
</ul>
</div>
</div>
<div class="drag">
<!--[diy=diysidebottom]--><div id="diysidebottom" class="area"></div><!--[/diy]-->
</div>
<!--{hook/my_side_bottom}-->
</div>
</div>
<div class="wp mtn">
<!--[diy=diy3]--><div id="diy3" class="area"></div><!--[/diy]-->
</div>
<!--{template common/footer}-->