summaryrefslogtreecommitdiffstats
path: root/templates/cache/default/stats.html.php
blob: 5e1ae306a72c659394b028d0925b99b0ae14cd0e (plain)
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
<?php
if ($this->security()) {
// INCLUDE page_header.html
$this->assign_from_include('page_header.html');
echo '
<table width="100%" border="0" cellspacing="1" cellpadding="3">
<tr>
<th align="left" rowspan="2" width="100%"><a href="' . ((isset($this->_tpldata['.'][0]['U_STATS'])) ? $this->_tpldata['.'][0]['U_STATS'] : '') . 'o=' . ((isset($this->_tpldata['.'][0]['O_NAME'])) ? $this->_tpldata['.'][0]['O_NAME'] : '') . '&amp;show=' . ((isset($this->_tpldata['.'][0]['SHOW'])) ? $this->_tpldata['.'][0]['SHOW'] : '') . '">' . ((isset($this->_tpldata['.'][0]['L_NAME'])) ? $this->_tpldata['.'][0]['L_NAME'] : ((isset($user->lang['NAME'])) ? $user->lang['NAME'] : '{ ' . ucfirst(strtolower(str_replace('_', ' ', 'NAME'))) . ' 	}')) . '</a></th>
<th colspan="7">' . ((isset($this->_tpldata['.'][0]['L_RAIDS'])) ? $this->_tpldata['.'][0]['L_RAIDS'] : ((isset($user->lang['RAIDS'])) ? $user->lang['RAIDS'] : '{ ' . ucfirst(strtolower(str_replace('_', ' ', 'RAIDS'))) . ' 	}')) . '</th>
<th colspan="2">Loot</th>
<th colspan="1">' . ((isset($this->_tpldata['.'][0]['L_EARNED'])) ? $this->_tpldata['.'][0]['L_EARNED'] : ((isset($user->lang['EARNED'])) ? $user->lang['EARNED'] : '{ ' . ucfirst(strtolower(str_replace('_', ' ', 'EARNED'))) . ' 	}')) . '</th>
<th colspan="1">' . ((isset($this->_tpldata['.'][0]['L_SPENT'])) ? $this->_tpldata['.'][0]['L_SPENT'] : ((isset($user->lang['SPENT'])) ? $user->lang['SPENT'] : '{ ' . ucfirst(strtolower(str_replace('_', ' ', 'SPENT'))) . ' 	}')) . '</th>
<th class="smalltitle" rowspan="2"><a href="' . ((isset($this->_tpldata['.'][0]['U_STATS'])) ? $this->_tpldata['.'][0]['U_STATS'] : '') . 'o=' . ((isset($this->_tpldata['.'][0]['O_CURRENT'])) ? $this->_tpldata['.'][0]['O_CURRENT'] : '') . '&amp;show=' . ((isset($this->_tpldata['.'][0]['SHOW'])) ? $this->_tpldata['.'][0]['SHOW'] : '') . '">' . ((isset($this->_tpldata['.'][0]['L_CURRENT'])) ? $this->_tpldata['.'][0]['L_CURRENT'] : ((isset($user->lang['CURRENT'])) ? $user->lang['CURRENT'] : '{ ' . ucfirst(strtolower(str_replace('_', ' ', 'CURRENT'))) . ' 	}')) . '</a></th>
<th class="smalltitle" rowspan="2"><a href="' . ((isset($this->_tpldata['.'][0]['U_STATS'])) ? $this->_tpldata['.'][0]['U_STATS'] : '') . 'o=' . ((isset($this->_tpldata['.'][0]['O_EFFECTIVE'])) ? $this->_tpldata['.'][0]['O_EFFECTIVE'] : '') . '&amp;show=' . ((isset($this->_tpldata['.'][0]['SHOW'])) ? $this->_tpldata['.'][0]['SHOW'] : '') . '">' . ((isset($this->_tpldata['.'][0]['L_EFFECTIVE'])) ? $this->_tpldata['.'][0]['L_EFFECTIVE'] : ((isset($user->lang['EFFECTIVE'])) ? $user->lang['EFFECTIVE'] : '{ ' . ucfirst(strtolower(str_replace('_', ' ', 'EFFECTIVE'))) . ' 	}')) . '</a></th>
</tr>
<tr>
<th align="left" class="smalltitle"><a href="' . ((isset($this->_tpldata['.'][0]['U_STATS'])) ? $this->_tpldata['.'][0]['U_STATS'] : '') . 'o=' . ((isset($this->_tpldata['.'][0]['O_FIRSTRAID'])) ? $this->_tpldata['.'][0]['O_FIRSTRAID'] : '') . '&amp;show=' . ((isset($this->_tpldata['.'][0]['SHOW'])) ? $this->_tpldata['.'][0]['SHOW'] : '') . '">' . ((isset($this->_tpldata['.'][0]['L_FIRST'])) ? $this->_tpldata['.'][0]['L_FIRST'] : ((isset($user->lang['FIRST'])) ? $user->lang['FIRST'] : '{ ' . ucfirst(strtolower(str_replace('_', ' ', 'FIRST'))) . ' 	}')) . '</a></th>
<th align="left" class="smalltitle"><a href="' . ((isset($this->_tpldata['.'][0]['U_STATS'])) ? $this->_tpldata['.'][0]['U_STATS'] : '') . 'o=' . ((isset($this->_tpldata['.'][0]['O_LASTRAID'])) ? $this->_tpldata['.'][0]['O_LASTRAID'] : '') . '&amp;show=' . ((isset($this->_tpldata['.'][0]['SHOW'])) ? $this->_tpldata['.'][0]['SHOW'] : '') . '">' . ((isset($this->_tpldata['.'][0]['L_LAST'])) ? $this->_tpldata['.'][0]['L_LAST'] : ((isset($user->lang['LAST'])) ? $user->lang['LAST'] : '{ ' . ucfirst(strtolower(str_replace('_', ' ', 'LAST'))) . ' 	}')) . '</a></th>
<th align="left" class="smalltitle" colspan="2"><a href="' . ((isset($this->_tpldata['.'][0]['U_STATS'])) ? $this->_tpldata['.'][0]['U_STATS'] : '') . 'o=' . ((isset($this->_tpldata['.'][0]['O_RAIDCOUNT'])) ? $this->_tpldata['.'][0]['O_RAIDCOUNT'] : '') . '&amp;show=' . ((isset($this->_tpldata['.'][0]['SHOW'])) ? $this->_tpldata['.'][0]['SHOW'] : '') . '">' . ((isset($this->_tpldata['.'][0]['L_ATTENDED'])) ? $this->_tpldata['.'][0]['L_ATTENDED'] : ((isset($user->lang['ATTENDED'])) ? $user->lang['ATTENDED'] : '{ ' . ucfirst(strtolower(str_replace('_', ' ', 'ATTENDED'))) . ' 	}')) . '</a></th>
<th align="left" class="smalltitle"><a href="' . ((isset($this->_tpldata['.'][0]['U_STATS'])) ? $this->_tpldata['.'][0]['U_STATS'] : '') . 'o=' . ((isset($this->_tpldata['.'][0]['O_RAID_COUNT_30'])) ? $this->_tpldata['.'][0]['O_RAID_COUNT_30'] : '') . '&amp;show=' . ((isset($this->_tpldata['.'][0]['SHOW'])) ? $this->_tpldata['.'][0]['SHOW'] : '') . '">30 Days</a></th>
<th align="left" class="smalltitle"><a href="' . ((isset($this->_tpldata['.'][0]['U_STATS'])) ? $this->_tpldata['.'][0]['U_STATS'] : '') . 'o=' . ((isset($this->_tpldata['.'][0]['O_RAID_COUNT_60'])) ? $this->_tpldata['.'][0]['O_RAID_COUNT_60'] : '') . '&amp;show=' . ((isset($this->_tpldata['.'][0]['SHOW'])) ? $this->_tpldata['.'][0]['SHOW'] : '') . '">60 Days</a></th>
<th align="left" class="smalltitle"><a href="' . ((isset($this->_tpldata['.'][0]['U_STATS'])) ? $this->_tpldata['.'][0]['U_STATS'] : '') . 'o=' . ((isset($this->_tpldata['.'][0]['O_RAID_COUNT_90'])) ? $this->_tpldata['.'][0]['O_RAID_COUNT_90'] : '') . '&amp;show=' . ((isset($this->_tpldata['.'][0]['SHOW'])) ? $this->_tpldata['.'][0]['SHOW'] : '') . '">90 Days</a></th>

<th align="left" class="smalltitle"><a href="' . ((isset($this->_tpldata['.'][0]['U_STATS'])) ? $this->_tpldata['.'][0]['U_STATS'] : '') . 'o=' . ((isset($this->_tpldata['.'][0]['O_MEMBER_DROPS'])) ? $this->_tpldata['.'][0]['O_MEMBER_DROPS'] : '') . '&amp;show=' . ((isset($this->_tpldata['.'][0]['SHOW'])) ? $this->_tpldata['.'][0]['SHOW'] : '') . '">#</a></th>
<th align="left" class="smalltitle">%</th>

<th align="left" class="smalltitle"><a href="' . ((isset($this->_tpldata['.'][0]['U_STATS'])) ? $this->_tpldata['.'][0]['U_STATS'] : '') . 'o=' . ((isset($this->_tpldata['.'][0]['O_EARNED'])) ? $this->_tpldata['.'][0]['O_EARNED'] : '') . '&amp;show=' . ((isset($this->_tpldata['.'][0]['SHOW'])) ? $this->_tpldata['.'][0]['SHOW'] : '') . '">' . ((isset($this->_tpldata['.'][0]['L_TOTAL'])) ? $this->_tpldata['.'][0]['L_TOTAL'] : ((isset($user->lang['TOTAL'])) ? $user->lang['TOTAL'] : '{ ' . ucfirst(strtolower(str_replace('_', ' ', 'TOTAL'))) . ' 	}')) . '</a></th>
<th align="left" class="smalltitle"><a href="' . ((isset($this->_tpldata['.'][0]['U_STATS'])) ? $this->_tpldata['.'][0]['U_STATS'] : '') . 'o=' . ((isset($this->_tpldata['.'][0]['O_SPENT'])) ? $this->_tpldata['.'][0]['O_SPENT'] : '') . '&amp;show=' . ((isset($this->_tpldata['.'][0]['SHOW'])) ? $this->_tpldata['.'][0]['SHOW'] : '') . '">' . ((isset($this->_tpldata['.'][0]['L_TOTAL'])) ? $this->_tpldata['.'][0]['L_TOTAL'] : ((isset($user->lang['TOTAL'])) ? $user->lang['TOTAL'] : '{ ' . ucfirst(strtolower(str_replace('_', ' ', 'TOTAL'))) . ' 	}')) . '</a></th>
</tr>
';// BEGIN stats_row
$_stats_row_count = (isset($this->_tpldata['stats_row.'])) ?  sizeof($this->_tpldata['stats_row.']) : 0;
if ($_stats_row_count) {
for ($_stats_row_i = 0; $_stats_row_i < $_stats_row_count; $_stats_row_i++)
{
echo '
<tr class="' . ((isset($this->_tpldata['stats_row.'][$_stats_row_i]['ROW_CLASS'])) ? $this->_tpldata['stats_row.'][$_stats_row_i]['ROW_CLASS'] : '') . '">
<td><a href="' . ((isset($this->_tpldata['stats_row.'][$_stats_row_i]['U_VIEW_MEMBER'])) ? $this->_tpldata['stats_row.'][$_stats_row_i]['U_VIEW_MEMBER'] : '') . '">' . ((isset($this->_tpldata['stats_row.'][$_stats_row_i]['NAME'])) ? $this->_tpldata['stats_row.'][$_stats_row_i]['NAME'] : '') . '</a></td>
<td>' . ((isset($this->_tpldata['stats_row.'][$_stats_row_i]['FIRST_RAID'])) ? $this->_tpldata['stats_row.'][$_stats_row_i]['FIRST_RAID'] : '') . '</td>
<td>' . ((isset($this->_tpldata['stats_row.'][$_stats_row_i]['LAST_RAID'])) ? $this->_tpldata['stats_row.'][$_stats_row_i]['LAST_RAID'] : '') . '</td>
<td>' . ((isset($this->_tpldata['stats_row.'][$_stats_row_i]['ATTENDED_COUNT'])) ? $this->_tpldata['stats_row.'][$_stats_row_i]['ATTENDED_COUNT'] : '') . '</td>
<td class="' . ((isset($this->_tpldata['stats_row.'][$_stats_row_i]['C_ATTENDED_PERCENT'])) ? $this->_tpldata['stats_row.'][$_stats_row_i]['C_ATTENDED_PERCENT'] : '') . '">' . ((isset($this->_tpldata['stats_row.'][$_stats_row_i]['ATTENDED_PERCENT'])) ? $this->_tpldata['stats_row.'][$_stats_row_i]['ATTENDED_PERCENT'] : '') . '%</td>
<td align="center" class="' . ((isset($this->_tpldata['stats_row.'][$_stats_row_i]['C_ATTENDED_PERCENT_30'])) ? $this->_tpldata['stats_row.'][$_stats_row_i]['C_ATTENDED_PERCENT_30'] : '') . '">' . ((isset($this->_tpldata['stats_row.'][$_stats_row_i]['ATTENDED_PERCENT_30'])) ? $this->_tpldata['stats_row.'][$_stats_row_i]['ATTENDED_PERCENT_30'] : '') . '%</td>
<td align="center" class="' . ((isset($this->_tpldata['stats_row.'][$_stats_row_i]['C_ATTENDED_PERCENT_60'])) ? $this->_tpldata['stats_row.'][$_stats_row_i]['C_ATTENDED_PERCENT_60'] : '') . '">' . ((isset($this->_tpldata['stats_row.'][$_stats_row_i]['ATTENDED_PERCENT_60'])) ? $this->_tpldata['stats_row.'][$_stats_row_i]['ATTENDED_PERCENT_60'] : '') . '%</td>
<td align="center" class="' . ((isset($this->_tpldata['stats_row.'][$_stats_row_i]['C_ATTENDED_PERCENT_90'])) ? $this->_tpldata['stats_row.'][$_stats_row_i]['C_ATTENDED_PERCENT_90'] : '') . '">' . ((isset($this->_tpldata['stats_row.'][$_stats_row_i]['ATTENDED_PERCENT_90'])) ? $this->_tpldata['stats_row.'][$_stats_row_i]['ATTENDED_PERCENT_90'] : '') . '%</td>

<td>' . ((isset($this->_tpldata['stats_row.'][$_stats_row_i]['MEMBER_DROPS'])) ? $this->_tpldata['stats_row.'][$_stats_row_i]['MEMBER_DROPS'] : '') . '</td>
<td>' . ((isset($this->_tpldata['stats_row.'][$_stats_row_i]['MEMBER_DROP_PCT'])) ? $this->_tpldata['stats_row.'][$_stats_row_i]['MEMBER_DROP_PCT'] : '') . '%</td>

<td class="positive">' . ((isset($this->_tpldata['stats_row.'][$_stats_row_i]['EARNED_TOTAL'])) ? $this->_tpldata['stats_row.'][$_stats_row_i]['EARNED_TOTAL'] : '') . '</td>
<td class="negative">' . ((isset($this->_tpldata['stats_row.'][$_stats_row_i]['SPENT_TOTAL'])) ? $this->_tpldata['stats_row.'][$_stats_row_i]['SPENT_TOTAL'] : '') . '</td>
<td nowrap="nowrap" class="' . ((isset($this->_tpldata['stats_row.'][$_stats_row_i]['C_CURRENT'])) ? $this->_tpldata['stats_row.'][$_stats_row_i]['C_CURRENT'] : '') . '">' . ((isset($this->_tpldata['stats_row.'][$_stats_row_i]['CURRENT'])) ? $this->_tpldata['stats_row.'][$_stats_row_i]['CURRENT'] : '') . '</td>
<td align="center" class="' . ((isset($this->_tpldata['stats_row.'][$_stats_row_i]['C_EFFECTIVE'])) ? $this->_tpldata['stats_row.'][$_stats_row_i]['C_EFFECTIVE'] : '') . '">' . ((isset($this->_tpldata['stats_row.'][$_stats_row_i]['EFFECTIVE'])) ? $this->_tpldata['stats_row.'][$_stats_row_i]['EFFECTIVE'] : '') . '</td>
</tr>
';}}
// END stats_row
echo '
<tr>
<th colspan="19" class="footer">' . ((isset($this->_tpldata['.'][0]['STATS_FOOTCOUNT'])) ? $this->_tpldata['.'][0]['STATS_FOOTCOUNT'] : '') . '</th>
</tr>
</table>
<br />
<a name="classes" />
<table width="100%" border="0" cellspacing="1" cellpadding="2">
<tr>
<th align="left" width="100%">' . ((isset($this->_tpldata['.'][0]['L_CLASS'])) ? $this->_tpldata['.'][0]['L_CLASS'] : ((isset($user->lang['CLASS'])) ? $user->lang['CLASS'] : '{ ' . ucfirst(strtolower(str_replace('_', ' ', 'CLASS'))) . ' 	}')) . '</th>
<th align="center" colspan="2" nowrap="nowrap">' . ((isset($this->_tpldata['.'][0]['L_LOOTS'])) ? $this->_tpldata['.'][0]['L_LOOTS'] : ((isset($user->lang['LOOTS'])) ? $user->lang['LOOTS'] : '{ ' . ucfirst(strtolower(str_replace('_', ' ', 'LOOTS'))) . ' 	}')) . '</th>
<th align="center" colspan="2" nowrap="nowrap">' . ((isset($this->_tpldata['.'][0]['L_MEMBERS'])) ? $this->_tpldata['.'][0]['L_MEMBERS'] : ((isset($user->lang['MEMBERS'])) ? $user->lang['MEMBERS'] : '{ ' . ucfirst(strtolower(str_replace('_', ' ', 'MEMBERS'))) . ' 	}')) . '</th>
<th align="left" nowrap="nowrap">' . ((isset($this->_tpldata['.'][0]['L_LOOT_FACTOR'])) ? $this->_tpldata['.'][0]['L_LOOT_FACTOR'] : ((isset($user->lang['LOOT_FACTOR'])) ? $user->lang['LOOT_FACTOR'] : '{ ' . ucfirst(strtolower(str_replace('_', ' ', 'LOOT_FACTOR'))) . ' 	}')) . '</th>
</tr>
';// BEGIN class_row
$_class_row_count = (isset($this->_tpldata['class_row.'])) ?  sizeof($this->_tpldata['class_row.']) : 0;
if ($_class_row_count) {
for ($_class_row_i = 0; $_class_row_i < $_class_row_count; $_class_row_i++)
{
echo '
<tr class="' . ((isset($this->_tpldata['class_row.'][$_class_row_i]['ROW_CLASS'])) ? $this->_tpldata['class_row.'][$_class_row_i]['ROW_CLASS'] : '') . '">
<td width="100%"><a href="' . ((isset($this->_tpldata['class_row.'][$_class_row_i]['U_LIST_MEMBERS'])) ? $this->_tpldata['class_row.'][$_class_row_i]['U_LIST_MEMBERS'] : '') . '" class="' . ((isset($this->_tpldata['class_row.'][$_class_row_i]['LINK_CLASS'])) ? $this->_tpldata['class_row.'][$_class_row_i]['LINK_CLASS'] : '') . '">' . ((isset($this->_tpldata['class_row.'][$_class_row_i]['CLASS'])) ? $this->_tpldata['class_row.'][$_class_row_i]['CLASS'] : '') . '</a></td>
<td width="50" align="center" nowrap="nowrap">' . ((isset($this->_tpldata['class_row.'][$_class_row_i]['LOOT_COUNT'])) ? $this->_tpldata['class_row.'][$_class_row_i]['LOOT_COUNT'] : '') . '</td>
<td width="50" align="center" nowrap="nowrap">' . ((isset($this->_tpldata['class_row.'][$_class_row_i]['LOOT_PCT'])) ? $this->_tpldata['class_row.'][$_class_row_i]['LOOT_PCT'] : '') . '</td>
<td width="50" align="center" nowrap="nowrap">' . ((isset($this->_tpldata['class_row.'][$_class_row_i]['CLASS_COUNT'])) ? $this->_tpldata['class_row.'][$_class_row_i]['CLASS_COUNT'] : '') . '</td>
<td width="50" align="center" nowrap="nowrap">' . ((isset($this->_tpldata['class_row.'][$_class_row_i]['CLASS_PCT'])) ? $this->_tpldata['class_row.'][$_class_row_i]['CLASS_PCT'] : '') . '</td>
<td nowrap="nowrap" align="center" class="' . ((isset($this->_tpldata['class_row.'][$_class_row_i]['C_LOOT_FACTOR'])) ? $this->_tpldata['class_row.'][$_class_row_i]['C_LOOT_FACTOR'] : '') . '">' . ((isset($this->_tpldata['class_row.'][$_class_row_i]['LOOT_FACTOR'])) ? $this->_tpldata['class_row.'][$_class_row_i]['LOOT_FACTOR'] : '') . '</td>
</tr>
';}}
// END class_row
echo '
<tr>
<th colspan="6" class="footer">&nbsp;</th>
</tr>
</table>
';// INCLUDE page_tail.html
$this->assign_from_include('page_tail.html');

}
?>