stat_team.htm
5.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
<!--{template common/header}-->
<div id="pt" class="bm cl">
<div class="z">
<a href="./" class="nvhm" title="{lang homepage}">$_G[setting][bbname]</a><em>›</em>
<a href="misc.php?mod=stat">{lang stats}</a><em>›</em>
{lang stats_team}
</div>
</div>
<div id="ct" class="ct2_a wp cl">
<div class="mn">
<div class="bm bw0">
<h1 class="mt">{lang stats_team}</h1>
<!--{if $team['admins']}-->
<div id="team_admins_c" class="umh">
<h3 onclick="toggle_collapse('team_admins', 1, 1);">{lang stats_team_admins}</h3>
<div class="umh_act">
<p class="umh_cb" onclick="toggle_collapse('team_admins', 1, 1);">[ {lang open} ]</p>
</div>
</div>
<table summary="{lang stats_team_admins}" id="team_admins" class="dt bm mbw">
<tr>
<th>{lang username}</th>
<th>{lang admin_usergroup_title}</th>
<th>{lang admin_status}</th>
<th>{lang lastvisit}</th>
<th>{lang stats_team_offdays}</th>
<th>{lang credits}</th>
<th>{lang posts}</th>
<th width="50">{lang stats_posts_thismonth}</th>
<!--{if $_G[setting][modworkstatus]}--><th width="30">{lang stats_modworks_thismonth}</th><!--{/if}-->
<!--{if $_G[setting][oltimespan]}-->
<th width="50">{lang onlinetime_total}({lang hours})</th>
<th width="50">{lang onlinetime_thismonth}({lang hours})</th>
<!--{/if}-->
</tr>
<!--{loop $team['admins'] $uid}-->
<tr class="{echo swapclass('alt')}">
<td><a target="_blank" href="home.php?mod=space&uid=$uid">$team[members][$uid][username]</a></td>
<td>$team[members][$uid][grouptitle]</td>
<td><!--{if $team['members'][$uid]['adminid'] == 1}-->{lang admin}<!--{elseif $team['members'][$uid]['adminid'] == 2}-->{lang supermod}<!--{elseif $team['members'][$uid]['adminid'] == 3}-->{lang moderator}<!--{/if}--></td>
<td>$team[members][$uid][lastactivity]</td>
<td>$team[members][$uid][offdays]</td>
<td>$team[members][$uid][credits]</td>
<td>$team[members][$uid][posts]</td>
<td>$team[members][$uid][thismonthposts]</td>
<!--{if $_G[setting][modworkstatus]}-->
<td><a href="misc.php?mod=stat&op=modworks&uid=$uid">$team[members][$uid][modactions]</a></td>
<!--{/if}-->
<!--{if $_G[setting][oltimespan]}-->
<td>$team[members][$uid][totalol]</td>
<td>$team[members][$uid][thismonthol]</td>
<!--{/if}-->
</tr>
<!--{/loop}-->
</table>
<!--{/if}-->
<!--{loop $team['categories'] $category}-->
<div id="category_$category[fid]_c" class="umh">
<h3 onclick="toggle_collapse('category_$category[fid]', 1, 1);">$category[name]</h3>
<div class="umh_act">
<p class="umh_cb" onclick="toggle_collapse('category_$category[fid]', 1, 1);">[ {lang open} ]</p>
</div>
</div>
<table id="category_$category[fid]" summary="$category[fid]" class="dt bm mbw">
<tr>
<th>{lang forum}</th>
<th>{lang username}</th>
<th>{lang admin_usergroup_title}</th>
<th>{lang admin_status}</th>
<th>{lang lastvisit}</th>
<th>{lang stats_team_offdays}</th>
<th>{lang credits}</th>
<th>{lang posts}</th>
<th width="50">{lang stats_posts_thismonth}</th>
<th width="30">{lang stats_modworks_thismonth}</th>
<!--{if $_G['setting']['oltimespan']}-->
<th width="50">{lang onlinetime_total}({lang hours})</th>
<th width="50">{lang onlinetime_thismonth}({lang hours})</th>
<!--{/if}-->
</tr>
<!--{eval unset($swapc);}-->
<!--{loop $team['forums'][$category['fid']] $fid $forum}-->
<!--{loop $team['moderators'][$fid] $key $uid}-->
<tr class="{echo swapclass('alt')}">
<!--{if $key == 0}--><td rowspan="$forum[moderators]"><!--{if $forum[type] == 'group'}--><a href="forum.php?gid=$fid"><!--{else}--><a href="forum.php?mod=forumdisplay&fid=$fid"><!--{/if}-->$forum[name]</a></td><!--{/if}-->
<td><a href="home.php?mod=space&uid=$uid"><!--{if $forum['inheritedmod']}--><b>$team[members][$uid][username]</b><!--{else}-->$team[members][$uid][username]<!--{/if}--></a></td>
<td>$team[members][$uid][grouptitle]</td>
<td><!--{if $team['members'][$uid]['adminid'] == 1}-->{lang admin}<!--{elseif $team['members'][$uid]['adminid'] == 2}-->{lang supermod}<!--{elseif $team['members'][$uid]['adminid'] == 3}-->{lang moderator}<!--{/if}--></td>
<td>$team[members][$uid][lastactivity]</td>
<td>$team[members][$uid][offdays]</td>
<td>$team[members][$uid][credits]</td>
<td>$team[members][$uid][posts]</td>
<td>$team[members][$uid][thismonthposts]</td>
<td><!--{if $_G['setting']['modworkstatus']}--><a href="misc.php?mod=stat&op=modworks&uid=$uid">$team[members][$uid][modactions]</a><!--{else}-->N/A<!--{/if}--></td>
<!--{if $_G['setting']['oltimespan']}-->
<td>$team[members][$uid][totalol]</td>
<td>$team[members][$uid][thismonthol]</td>
<!--{/if}-->
</tr>
<!--{/loop}-->
<!--{/loop}-->
</table>
<!--{/loop}-->
<div class="notice">{lang stats_update}</div>
</div>
</div>
<!--{subtemplate common/stat}-->
</div>
<!--{template common/footer}-->