spacecp_usergroup.htm
19.8 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
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
<!--{template common/header}-->
<!--{if in_array($do, array('buy', 'exit'))}-->
<div class="f_c">
<h3 class="flb">
<em id="return_$_GET[handlekey]"><!--{if $join}-->{lang memcp_usergroups_joinbuy}<!--{else}-->{lang memcp_usergroups_joinexit}<!--{/if}--></em>
<!--{if $_G[inajax]}--><span><a href="javascript:;" onclick="hideWindow('$_GET[handlekey]');" class="flbc" title="{lang close}">{lang close}</a></span><!--{/if}-->
</h3>
<form id="buygroupform_{$groupid}" name="buygroupform_{$groupid}" method="post" autocomplete="off" action="home.php?mod=spacecp&ac=usergroup&do=$do&groupid=$groupid"{if !empty($_GET['inajax'])} onsubmit="ajaxpost('buygroupform_{$groupid}', 'return_$_GET['handlekey']', 'return_$_GET['handlekey']', 'onerror');return false;"{/if}>
<input type="hidden" name="referer" value="{echo dreferer()}" />
<input type="hidden" name="buysubmit" value="true" />
<input type="hidden" name="gid" value="$_GET[gid]" />
<!--{if $_G[inajax]}--><input type="hidden" name="handlekey" value="$_GET[handlekey]" /><!--{/if}-->
<input type="hidden" name="formhash" value="{FORMHASH}" />
<div class="c">
<table class="list" cellspacing="0" cellpadding="0" style="width:300px">
<!--{if $join}-->
<!--{if $group['dailyprice']}-->
<tr>
<td>{lang memcp_usergroups_dailyprice}</td><td> $group[dailyprice] {$_G[setting][extcredits][$_G[setting][creditstrans]][unit]}{$_G[setting][extcredits][$_G[setting][creditstrans]][title]}</td>
</tr>
<tr>
<td>{lang memcp_usergroups_credit}</td><td>$usermaxdays {lang days}</td>
</tr>
<tr>
<td>{lang memcp_usergroups_span}</td><td><input type="text" size="2" name="days" value="$group[minspan]" class="px" onkeyup="change_credits_need(this.value)" /> {lang days}</td>
</tr>
<tr>
<td>{lang credits_need}{$_G[setting][extcredits][$_G[setting][creditstrans]][title]}</td><td><span id="credits_need"></span> {$_G[setting][extcredits][$_G[setting][creditstrans]][unit]}
<script language="javascript">
var dailyprice = $group[dailyprice];
function change_credits_need(daynum) {
if(!isNaN(parseInt(daynum))) {
$('credits_need').innerHTML = parseInt(daynum) * dailyprice;
} else {
$('credits_need').innerHTML = '0';
}
}
change_credits_need($group[minspan]);
</script></td>
</tr>
<tr>
<td colspan="2">{lang memcp_usergroups_explain}:
<!--{if $join}-->
{lang memcp_usergroups_join_comment}
<!--{else}-->
{lang memcp_usergroups_exit_comment}
<!--{/if}-->
</td>
</tr>
<!--{else}-->
<tr>
<td colspan="2">{lang memcp_usergroups_explain}: {lang memcp_usergroups_free_comment}</td>
</tr>
<!--{/if}-->
<!--{else}-->
<tr>
<td colspan="2">{lang memcp_usergroups_explain}:
<!--{if $group[type] != 'special' || $group[system]=='private'}-->
{lang memcp_usergroups_admin_exit_comment}
<!--{elseif $group['dailyprice']}-->
{lang memcp_usergroups_exit_comment}
<!--{else}-->
{lang memcp_usergroups_open_exit_comment}
<!--{/if}-->
</td>
</tr>
<!--{/if}-->
</table>
</div>
<p class="o pns">
<button type="submit" name="editsubmit_btn" id="editsubmit_btn" value="true" class="pn pnc"><strong>{lang submit}</strong></button>
</p>
</form>
</div>
<!--{elseif $do == 'switch'}-->
<div class="f_c">
<h3 class="flb">
<em id="return_$_GET[handlekey]">{lang memcp_usergroups_switch}</em>
<!--{if $_G[inajax]}--><span><a href="javascript:;" onclick="hideWindow('$_GET[handlekey]');" class="flbc" title="{lang close}">{lang close}</a></span><!--{/if}-->
</h3>
<form id="switchgroupform_{$groupid}" name="switchgroupform_{$groupid}" method="post" autocomplete="off" action="home.php?mod=spacecp&ac=usergroup&do=switch&groupid=$groupid"{if !empty($_GET['inajax'])} onsubmit="ajaxpost('switchgroupform_{$groupid}', 'return_$_GET['handlekey']', 'return_$_GET['handlekey']', 'onerror');return false;"{/if}>
<input type="hidden" name="referer" value="{echo dreferer()}" />
<input type="hidden" name="groupsubmit" value="true" />
<input type="hidden" name="gid" value="$_GET[gid]" />
<!--{if $_G[inajax]}--><input type="hidden" name="handlekey" value="$_GET[handlekey]" /><!--{/if}-->
<input type="hidden" name="formhash" value="{FORMHASH}" />
<div class="c">
<table class="list" cellspacing="0" cellpadding="0" style="width:300px">
<tr>
<td>{lang memcp_usergroups_main_old}</td><td>$_G[group][grouptitle]</td>
</tr>
<tr>
<td>{lang memcp_usergroups_main_new}</td><td>$group[grouptitle]</td>
</tr>
</table>
</div>
<p class="o pns">
<button type="submit" name="editsubmit_btn" id="editsubmit_btn" value="true" class="pn pnc"><strong>{lang submit}</strong></button>
</p>
</form>
</div>
<!--{elseif $do == 'forum'}-->
<!--{subtemplate home/spacecp_header}-->
<!--{hook/spacecp_usergroup_top}-->
<!--{subtemplate home/spacecp_usergroup_header}-->
<table cellpadding="0" cellspacing="0" class="tdat ftb mtm mbm">
<tr class="alt">
<th class="xw1">{lang forum_name}</th>
<!--{loop $perms $perm}-->
<td class="xw1">$permlang['perms_'.$perm]</td>
<!--{/loop}-->
</tr>
<!--{eval $key = 1;}-->
<!--{loop $_G['cache']['forums'] $fid $forum}-->
<!--{if $forum['status']}-->
<tr {if $key++%2==0}class="alt"{/if}>
<th{if $forum['type'] == 'forum'} style="padding-left:30px"{elseif $forum['type'] == 'sub'} style="padding-left:60px"{/if}><a href="forum.php?mod=forumdisplay&fid=$forum[fid]">$forum[name]</th>
<!--{loop $perms $perm}-->
<td>
<!--{if !empty($verifyperm[$fid][$perm])}-->
<!--{if $myverifyperm[$fid][$perm] || $forumperm[$fid][$perm]}-->
<img src="{IMGDIR}/data_valid.gif" alt="data_valid" class="vm" />
<!--{else}-->
<img src="{IMGDIR}/data_invalid.gif" alt="data_invalid" class="vm" />
<!--{/if}-->
$verifyperm[$fid][$perm]
<!--{else}-->
<!--{if $forumperm[$fid][$perm]}--><img src="{IMGDIR}/data_valid.gif" alt="data_valid" /><!--{else}--><img src="{IMGDIR}/data_invalid.gif" alt="data_invalid" /><!--{/if}-->
<!--{/if}-->
</td>
<!--{/loop}-->
</tr>
<!--{/if}-->
<!--{/loop}-->
</table>
<img src="{IMGDIR}/data_valid.gif" alt="data_valid" class="vm" /> {lang usergroup_right_message1}
<img src="{IMGDIR}/data_invalid.gif" alt="data_invalid" class="vm" /> {lang usergroup_right_message2}
<!--{if $_G['setting']['verify']['enabled']}-->
<!--{echo implode('', $verifyicon)}--> {lang usergroup_right_message3}
<!--{/if}-->
</div>
<!--{hook/spacecp_usergroup_bottom}-->
</div>
<div class="appl">
<!--{subtemplate home/spacecp_footer}-->
</div>
</div>
<!--{elseif $do == 'expiry' || $do == 'list'}-->
<!--{subtemplate home/spacecp_header}-->
<!--{hook/spacecp_usergroup_top}-->
<!--{subtemplate home/spacecp_usergroup_header}-->
<p class="tbmu"><span class="y">
{lang youhave} <span class="xi1"> $usermoney {$_G[setting][extcredits][$_G[setting][creditstrans]][unit]}{$_G[setting][extcredits][$_G[setting][creditstrans]][title]}</span></span>
{lang yourusergroup}: {$_G['cache']['usergroups'][$_G[groupid]]['grouptitle']}
</p>
<!--{if $do == 'expiry'}-->
<div class="notice">{lang usergroup_expired}</div>
<!--{/if}-->
<!--{if $expirylist}-->
<table cellspacing="0" cellpadding="0" class="dt mtm mbm">
<tbody class="th">
<tr>
<th>{lang usergroup}</th>
<th>{lang memcp_usergroups_dailyprice}</th>
<th>{lang memcp_usergroups_credit}</th>
<th>{lang group_expiry_time}</th>
<th></th>
</tr>
</tbody>
<tbody>
<!--{loop $expirylist $groupid $group}-->
<tr class="{echo swapclass('alt')}">
<td><a href="home.php?mod=spacecp&ac=usergroup&gid=$groupid" class="xi2" target="_blank">$group[grouptitle]</a></td>
<td>
<!--{if $_G['cache']['usergroups'][$groupid]['pubtype'] == 'buy' && $group[dailyprice]}-->
$group[dailyprice] {$_G[setting][extcredits][$_G[setting][creditstrans]][unit]}{$_G[setting][extcredits][$_G[setting][creditstrans]][title]}
<!--{elseif $_G['cache']['usergroups'][$groupid]['pubtype'] == 'free'}-->
{lang free}
<!--{/if}-->
</td>
<td><!--{if $group[usermaxdays]}-->$group[usermaxdays] {lang days}<!--{/if}--></td>
<td>$group[time]</td>
<td>
<!--{if in_array($groupid, $extgroupids) || $groupid == $_G['groupid']}-->
<!--{if $groupid != $_G['groupid']}-->
<!--{if !$group[noswitch]}-->
<a href="home.php?mod=spacecp&ac=usergroup&do=switch&groupid=$groupid&handlekey=switchgrouphk" class="xw1 xi2" onclick="showWindow('group', this.href, 'get', 0);">{lang memcp_usergroups_set_main}</a>
<!--{/if}-->
<!--{if !$group['maingroup']}-->
<!--{if $_G['cache']['usergroups'][$groupid]['pubtype'] == 'buy'}-->
<a href="home.php?mod=spacecp&ac=usergroup&do=buy&groupid=$groupid&handlekey=buygrouphk" class="xw1 xi2" onclick="showWindow('group', this.href, 'get', 0);">{lang renew}</a>
<!--{/if}-->
<a href="home.php?mod=spacecp&ac=usergroup&do=exit&groupid=$groupid&handlekey=exitgrouphk" class="xw1 xi2" onclick="showWindow('group', this.href, 'get', 0);">{lang memcp_usergroups_exit}</a>
<!--{/if}-->
<!--{else}-->
<!--{if $_G['cache']['usergroups'][$groupid]['pubtype'] == 'buy'}-->
<a href="home.php?mod=spacecp&ac=usergroup&do=buy&groupid=$groupid&handlekey=buygrouphk" class="xw1 xi2" onclick="showWindow('group', this.href, 'get', 0);">{lang renew}</a>
<!--{/if}-->
{lang main_usergroup}
<!--{/if}-->
<!--{elseif $_G['cache']['usergroups'][$groupid]['pubtype'] == 'free'}-->
<a href="home.php?mod=spacecp&ac=usergroup&do=buy&groupid=$groupid&handlekey=buygrouphk" class="xw1 xi2" onclick="showWindow('group', this.href, 'get', 0);">{lang free_buy}</a>
<!--{elseif $_G['cache']['usergroups'][$groupid]['pubtype'] == 'buy'}-->
<a href="home.php?mod=spacecp&ac=usergroup&do=buy&groupid=$groupid&handlekey=buygrouphk" class="xw1 xi2" onclick="showWindow('group', this.href, 'get', 0);">{lang memcp_usergroups_buy}</a>
<!--{/if}-->
</td>
</tr>
<!--{/loop}-->
</tbody>
</table>
<!--{else}-->
<p class="emp">{lang memcp_usergroup_unallow}</p>
<!--{/if}-->
</div>
<!--{hook/spacecp_usergroup_bottom}-->
</div>
<div class="appl">
<!--{subtemplate home/spacecp_footer}-->
</div>
</div>
<!--{else}-->
<!--{subtemplate home/spacecp_header}-->
<!--{hook/spacecp_usergroup_top}-->
<!--{subtemplate home/spacecp_usergroup_header}-->
<!--{eval
$permtype = array(0 => '{lang permission_menu_normaloptions}', 1 => '{lang permission_modoptions_name}');
}-->
<div class="tdats">
<table cellpadding="0" cellspacing="0" class="tdat">
<tr><th class="c0"> </th></tr>
<tr><th class="alt"> </th></tr>
<tbody class="ca">
<tr><td>{lang user_level}</td></tr>
<!--{loop $bperms $key $perm}-->
<tr {if $key%2==0}class="alt"{/if}>
<td>$permlang['perms_'.$perm]</td>
</tr>
<!--{/loop}-->
</tbody>
<tr class="alt h">
<th>{lang permission_menu_post}</th>
</tr>
<tbody class="cb">
<!--{loop $pperms $key $perm}-->
<tr {if $key%2==0}class="alt"{/if}>
<td>$permlang['perms_'.$perm]</td>
</tr>
<!--{/loop}-->
</tbody>
<tr class="alt h">
<th>{lang about_space}</th>
</tr>
<tbody class="cc">
<!--{loop $sperms $key $perm}-->
<tr {if $key%2==0}class="alt"{/if}>
<td>$permlang['perms_'.$perm]</td>
</tr>
<!--{/loop}-->
</tbody>
<tr class="alt h">
<th>{lang permission_menu_attachment}</th>
</tr>
<tbody class="cd">
<!--{loop $aperms $key $perm}-->
<tr {if $key%2==0}class="alt"{/if}>
<td>$permlang['perms_'.$perm]</td>
</tr>
<!--{/loop}-->
</tbody>
</table>
<table cellpadding="0" cellspacing="0" class="tdat tfx{if !$group}f{/if}">
<tr>
<th class="c0"><h4>{lang my_main_usergroup} - $maingroup[grouptitle]</h4></th>
</tr>
<tr>
<th class="alt"><span class="notice">{lang credits}: $space[credits]</span></th>
</tr>
<!--{echo permtbody($maingroup)}-->
</table>
<!--{if $group}-->
<!--{if $switchtype == 'user'}--><!--{eval $cid = 1;$tlang = '{lang usergroup_group1}';}--><!--{/if}-->
<!--{if $switchtype == 'upgrade'}--><!--{eval $cid = 2;$tlang = '{lang usergroup_group2}';}--><!--{/if}-->
<!--{if $switchtype == 'admin'}--><!--{eval $cid = 3;$tlang = '{lang usergroup_group3}';}--><!--{/if}-->
<ul id="tba" class="tb c$cid">
<li id="c$cid">$tlang - $currentgrouptitle</li>
</ul>
<div class="tscr">
<table cellpadding="0" cellspacing="0" class="tdat">
<tr>
<th class="alt h">
<!--{if $group['grouptype'] == 'member'}-->
<!--{eval $v = $group[groupcreditshigher] - $_G['member']['credits'];}-->
<!--{if $_G['group']['grouptype'] == 'member' && $v > 0}-->
<span class="notice">{lang spacecp_usergroup_message1} $v</span>
<!--{else}-->
<span class="notice">{lang spacecp_usergroup_message2} $group[groupcreditshigher]</span>
<!--{/if}-->
<!--{/if}-->
<!--{if isset($publicgroup[$group['groupid']]) && $group['groupid'] != $_G['groupid'] && $publicgroup[$group['groupid']]['allowsetmain']}-->
<a href="home.php?mod=spacecp&ac=usergroup&do=switch&groupid=$group['groupid']&gid=$_GET[gid]&handlekey=switchgrouphk" class="xw1 xi2" onclick="showWindow('group', this.href, 'get', 0);">{lang memcp_usergroups_set_main}</a>
<!--{/if}-->
<!--{if in_array($group['groupid'], $extgroupids) && $switchmaingroup && $group['grouptype'] == 'special' && $group['groupid'] != $_G['groupid']}-->
<!--{if $_G['cache']['usergroups'][$group['groupid']]['pubtype'] == 'buy'}-->
<a href="home.php?mod=spacecp&ac=usergroup&do=buy&groupid=$group['groupid']&gid=$_GET[gid]&handlekey=buygrouphk" class="xw1 xi2" onclick="showWindow('group', this.href, 'get', 0);">{lang renew}</a>
<!--{/if}-->
<a href="home.php?mod=spacecp&ac=usergroup&do=exit&groupid=$group['groupid']&gid=$_GET[gid]&handlekey=exitgrouphk" class="xw1 xi2" onclick="showWindow('group', this.href, 'get', 0);">{lang memcp_usergroups_exit}</a>
<!--{/if}-->
<!--{if $group['grouptype']=='special' && $group['groupid'] != $_G['groupid'] && array_key_exists($group['groupid'], $publicgroup) && !$publicgroup[$group['groupid']]['allowsetmain']}-->
<a href="home.php?mod=spacecp&ac=usergroup&do=buy&groupid=$group['groupid']&gid=$_GET[gid]&handlekey=buygrouphk" class="xw1 xi2" onclick="showWindow('group', this.href, 'get', 0);">{lang memcp_usergroups_buy}</a>
<!--{/if}-->
<!--{if array_key_exists($group['groupid'], $groupterms['ext'])}-->
<span class="notice">{lang memcp_usergroups_timelimit}: <!--{date($groupterms[ext][$group['groupid']])}--></span>
<!--{/if}-->
</th>
</tr>
<!--{echo permtbody($group)}-->
</table>
</div>
<!--{/if}-->
</div>
<img src="{IMGDIR}/data_valid.gif" alt="data_valid" class="vm" /> {lang usergroup_right_message1}
<img src="{IMGDIR}/data_invalid.gif" alt="data_invalid" class="vm" /> {lang usergroup_right_message2}
<div id="gmy_menu" class="p_pop" style="display:none">$usergroups[my]</div>
<div id="gupgrade_menu" class="p_pop" style="display:none">$usergroups[upgrade]</div>
<div id="guser_menu" class="p_pop" style="display:none">$usergroups[user]</div>
<div id="gadmin_menu" class="p_pop" style="display:none">$usergroups[admin]</div>
</div>
<!--{hook/spacecp_usergroup_bottom}-->
</div>
<div class="appl">
<!--{subtemplate home/spacecp_footer}-->
</div>
</div>
<!--{/if}-->
{eval
function permtbody($maingroup) {
global $_G, $bperms, $pperms, $sperms, $aperms;
}
<tr><td><!--{echo showstars($_G['cache']['usergroups'][$maingroup['groupid']]['stars']);}--></td></tr>
<tbody class="ca">
<!--{loop $bperms $key $groupbperm}-->
<tr {if $key%2==0}class="alt"{/if}>
<td>
<!--{if $groupbperm == 'creditshigher' || $groupbperm == 'readaccess' || $groupbperm == 'maxpmnum'}-->
$maingroup[$groupbperm]
<!--{elseif $groupbperm == 'allowsearch'}-->
<!--{if $maingroup['allowsearch'] == '0'}-->{lang permission_basic_disable_sarch}<!--{elseif $maingroup['allowsearch'] == '1'}-->{lang permission_basic_search_title}<!--{else}-->{lang permission_basic_search_content}<!--{/if}-->
<!--{else}-->
<!--{if $maingroup[$groupbperm] >= 1}--><img src="{IMGDIR}/data_valid.gif" alt="data_valid" /><!--{else}--><img src="{IMGDIR}/data_invalid.gif" alt="data_invalid" /><!--{/if}-->
<!--{/if}-->
</td>
</tr>
<!--{/loop}-->
</tbody>
<tr class="alt h">
<th>$maingroup[grouptitle]</th>
</tr>
<tbody class="cb">
<!--{loop $pperms $key $grouppperm}-->
<tr {if $key%2==0}class="alt"{/if}>
<td>
<!--{if in_array($grouppperm, array('maxsigsize', 'maxbiosize'))}-->
$maingroup[$grouppperm] {lang bytes}
<!--{elseif $grouppperm == 'allowrecommend'}-->
<!--{if $maingroup[allowrecommend] > 0}-->+$maingroup[allowrecommend]<!--{else}--><img src="{IMGDIR}/data_invalid.gif" /><!--{/if}-->
<!--{elseif in_array($grouppperm, array('allowat', 'allowcreatecollection'))}-->
<!--{echo intval($maingroup[$grouppperm])}-->
<!--{else}-->
<!--{if $maingroup[$grouppperm] == 1 || (in_array($grouppperm, array('raterange', 'allowcommentpost')) && !empty($maingroup[$grouppperm]))}--><img src="{IMGDIR}/data_valid.gif" alt="data_valid" /><!--{else}--><img src="{IMGDIR}/data_invalid.gif" alt="data_invalid" /><!--{/if}-->
<!--{/if}-->
</td>
</tr>
<!--{/loop}-->
</tbody>
<tr class="alt h">
<th>$maingroup[grouptitle]</th>
</tr>
<tbody class="cc">
<!--{loop $sperms $key $perm}-->
<tr {if $key%2==0}class="alt"{/if}>
<td>
<!--{if in_array($perm, array('maxspacesize', 'maximagesize'))}-->
<!--{if $maingroup[$perm]}-->$maingroup[$perm]<!--{else}-->{lang permission_attachment_nopermission}<!--{/if}-->
<!--{else}-->
<!--{if $maingroup[$perm] == 1}--><img src="{IMGDIR}/data_valid.gif" alt="data_valid" /><!--{else}--><img src="{IMGDIR}/data_invalid.gif" alt="data_invalid" /><!--{/if}-->
<!--{/if}-->
</td>
</tr>
<!--{/loop}-->
</tbody>
<tr class="alt h">
<th>$maingroup[grouptitle]</th>
</tr>
<tbody class="cd">
<!--{loop $aperms $key $groupaperm}-->
<tr {if $key%2==0}class="alt"{/if}>
<td>
<!--{if in_array($groupaperm, array('maxattachsize', 'maxsizeperday', 'maxattachnum'))}-->
<!--{if $maingroup[$groupaperm]}-->$maingroup[$groupaperm]<!--{else}-->{lang permission_attachment_nopermission}<!--{/if}-->
<!--{elseif $groupaperm == 'attachextensions'}-->
<!--{if $maingroup[allowpostattach] == 1}--><!--{if $maingroup[attachextensions]}--><p class="nwp" title="$maingroup[attachextensions]">$maingroup[attachextensions]</p><!--{else}-->{lang permission_attachment_nopermission}<!--{/if}--><!--{else}--><img src="{IMGDIR}/data_invalid.gif" /><!--{/if}-->
<!--{else}-->
<!--{if $maingroup[$groupaperm] == 1}--><img src="{IMGDIR}/data_valid.gif" alt="data_valid" /><!--{else}--><img src="{IMGDIR}/data_invalid.gif" alt="data_invalid" /><!--{/if}-->
<!--{/if}-->
</td>
</tr>
<!--{/loop}-->
</tbody>
<!--{eval
}
}-->
<!--{template common/footer}-->