1 | <?php
|
---|
2 | if (INCLUDED!==true) exit('Dieee !!!');
|
---|
3 |
|
---|
4 | $page['title'] = "$lang[pagetitle_honor]";
|
---|
5 |
|
---|
6 | include('inc/page.header.php');
|
---|
7 |
|
---|
8 | include('inc/site.defines.php');
|
---|
9 | include('inc/site.classes.php');
|
---|
10 | include('inc/int.honor.inc.php');
|
---|
11 |
|
---|
12 | ?>
|
---|
13 | <div class='blogbody'>
|
---|
14 |
|
---|
15 | <?php if(!$_GET['realm'] && !$_GET['faction']){ ?>
|
---|
16 | <center>
|
---|
17 | <table border="0" cellpadding="0" cellspacing="0" width="90%">
|
---|
18 | <tbody><tr>
|
---|
19 | <td width="24"><img src="img/subheader-left-sword.gif" height="20" width="24"></td>
|
---|
20 | <td bgcolor="#05374a" width="100%"><b class="white"><?php echo$lang['honor_choose_realm'];?>:</b></td>
|
---|
21 | <td width="10"><img src="img/subheader-right.gif" height="20" width="10"></td>
|
---|
22 | </tr>
|
---|
23 | </tbody></table>
|
---|
24 | <!--PlainBox Top-->
|
---|
25 | <table border="0" cellpadding="0" cellspacing="0" width="90%">
|
---|
26 | <tbody>
|
---|
27 | <tr>
|
---|
28 | <td width="3"><img src="img/plainbox-top-left.gif" border="0" height="3" width="3"></td>
|
---|
29 | <td background="img/plainbox-top.gif" width="100%"></td>
|
---|
30 | <td width="3"><img src="img/plainbox-top-right.gif" border="0" height="3" width="3"></td>
|
---|
31 | </tr>
|
---|
32 | <tr>
|
---|
33 | <td background="img/plainbox-left.gif"></td>
|
---|
34 | <td bgcolor="#cdb68d" valign="top">
|
---|
35 | <!--PlainBox Top-->
|
---|
36 | <center>
|
---|
37 | <table width="80%">
|
---|
38 | <tbody><tr>
|
---|
39 | <td valign="top" width="100%">
|
---|
40 | <span>
|
---|
41 | <?php echo realm_table();?>
|
---|
42 | </span>
|
---|
43 | </td>
|
---|
44 | </tr>
|
---|
45 | </tbody></table>
|
---|
46 | </center>
|
---|
47 | <!--PlainBox Bottom-->
|
---|
48 | </td>
|
---|
49 | <td background="img/plainbox-right.gif"></td>
|
---|
50 | </tr>
|
---|
51 | <tr>
|
---|
52 | <td><img src="img/plainbox-bot-left.gif" border="0" height="3" width="3"></td>
|
---|
53 | <td background="img/plainbox-bot.gif"></td>
|
---|
54 | <td><img src="img/plainbox-bot-right.gif" border="0" height="3" width="3"></td>
|
---|
55 | </tr>
|
---|
56 | </tbody>
|
---|
57 | </table>
|
---|
58 | <!--PlainBox Bottom-->
|
---|
59 | </center><br>
|
---|
60 | <?php }elseif($_GET[realm] && !$_GET[faction]){ ?>
|
---|
61 | <center>
|
---|
62 | <table border="0" cellpadding="0" cellspacing="0" width="90%">
|
---|
63 | <tbody>
|
---|
64 | <tr>
|
---|
65 | <td width="24"><img src="img/subheader-left-sword.gif" height="20" width="24"></td>
|
---|
66 | <td bgcolor="#05374a" width="100%"><b class="white"><?php echo$lang['honor_choose_faction'];?>:</b></td>
|
---|
67 | <td width="10"><img src="img/subheader-right.gif" height="20" width="10"></td>
|
---|
68 | </tr>
|
---|
69 | </tbody>
|
---|
70 | </table>
|
---|
71 | <a href="<?php echo$_SERVER[PHP_SELF];?>?n=interactive/honor&realm=<?php echo$_GET[realm];?>&faction=a"><img src="img/alliance.jpg" alt="<?php echo$lang['Alliance'];?>" border="0" height="351" width="310"></a>
|
---|
72 | <a href="<?php echo$_SERVER[PHP_SELF];?>?n=interactive/honor&realm=<?php echo$_GET[realm];?>&faction=h"><img src="img/horde.jpg" alt="<?php echo$lang['Horde'];?>" border="0" height="351" width="310"></a>
|
---|
73 | </center>
|
---|
74 | <?php }elseif($_GET[realm] && $_GET[faction]){ ?>
|
---|
75 |
|
---|
76 | <?php
|
---|
77 | $realm_param = get_realm_byname($_GET[realm]);
|
---|
78 | $mangosd_database = parse_worlddb_info($realm_param['dbinfo']);
|
---|
79 | $mangos_db = new DBLayer($mangosd_database['host'], $mangosd_database['user'], $mangosd_database['password'], $mangosd_database['db']);
|
---|
80 | $mangos_db->query("SET NAMES $database_encoding");
|
---|
81 |
|
---|
82 | $hs = NEW honor_system;
|
---|
83 | $hs->mangos_db = $mangos_db;
|
---|
84 | $ch_info = NEW character_info;
|
---|
85 | $ch_info->mangos_db = $mangos_db;
|
---|
86 |
|
---|
87 | $allhonor = $hs->get_all_honor();
|
---|
88 | arsort($allhonor);
|
---|
89 | $ranking_str = '';
|
---|
90 | foreach($allhonor as $charid => $charhonor)
|
---|
91 | {
|
---|
92 | $char_stat = $ch_info->get_character_stat($charid);
|
---|
93 | if($site_debug){echo'<pre>';print_r($char_stat);echo'</pre>';}
|
---|
94 | // === Faction filter === \\
|
---|
95 | if ($char_stat['race']==2 || $char_stat['race']==5 || $char_stat['race']==6 || $char_stat['race']==8)
|
---|
96 | $plfaction='h';
|
---|
97 | if ($char_stat['race']==1 || $char_stat['race']==3 || $char_stat['race']==4 || $char_stat['race']==7)
|
---|
98 | $plfaction='a';
|
---|
99 | if($plfaction != $_GET['faction'])continue;
|
---|
100 | // =================== //
|
---|
101 | // === Zero honor filter === \\
|
---|
102 | if($charhonor <= 0)continue;
|
---|
103 | // ====================== //
|
---|
104 | $rank_num++;
|
---|
105 | $char_guild = $ch_info->get_character_guild($charid);
|
---|
106 | $char_rank_int = $hs->calc_character_rank($charhonor);
|
---|
107 | if($char_stat['race'] <= 4) $char_rank = $site_defines['character_rank']['alliance'][$char_rank_int];
|
---|
108 | else $char_rank = $site_defines['character_rank']['horde'][$char_rank_int];
|
---|
109 | $char_race = $site_defines['character_race'][$char_stat['race']];
|
---|
110 | $char_class = $site_defines['character_class'][$char_stat['class']];
|
---|
111 | // === Rase/Class filter === \\
|
---|
112 | $char_gender = dechex($char_stat['gender']);
|
---|
113 | $char_gender = str_pad($char_gender,8, 0, STR_PAD_LEFT);
|
---|
114 | $char_gender = $char_gender{3};
|
---|
115 | // ====================== //
|
---|
116 | $ranking_str .= '
|
---|
117 | <tr class="rankingRow" style="background-color: rgb(17, 17, 17);">
|
---|
118 | <td class="rankingRow">'.$rank_num.'<sup>'.get_rank_numending($rank_num).'</sup>
|
---|
119 | </td>
|
---|
120 | <td class="rankingRowAlt" nowrap="nowrap">
|
---|
121 | <img style="vertical-align: middle;" src="img/rank'.$char_rank_int.'.gif" onmouseover="ddrivetip(\'Rank: '.$char_rank.'\')" onmouseout="hideddrivetip()" height="18" width="18">
|
---|
122 | '.ereg_replace("é","é",$char_stat['name']).'
|
---|
123 | </td>
|
---|
124 | <td class="rankingRowAlt">
|
---|
125 | <small>'.$char_guild.'</small>
|
---|
126 | </td>
|
---|
127 | <td class="rankingRow">'.$char_stat['level'].'
|
---|
128 | </td>
|
---|
129 | <td class="rankingRow">
|
---|
130 | <img onmouseover="ddrivetip(\''.$lang["$char_race"].'\')" onmouseout="hideddrivetip()" src="img/'.$char_stat['race'].'-'.$char_gender.'.gif" height="18" width="18">
|
---|
131 | <img src="img/pixel.gif" height="1" width="3">
|
---|
132 | <img src="img/'.$char_stat['class'].'.gif" onmouseover="ddrivetip(\''.$lang["$char_class"].'\')" onmouseout="hideddrivetip()" height="18" width="18">
|
---|
133 | </td>
|
---|
134 | <td class="rankingRowRight">
|
---|
135 | <span class="myGreen">'.$char_stat['lifetime_honorable_kills'].'</span>
|
---|
136 | </td>
|
---|
137 | <td class="rankingRowLeft">
|
---|
138 | <small> - </small>
|
---|
139 | <small class="colorRed">'.$char_stat['lifetime_dishonorable_kills'].'</small>
|
---|
140 | </td>
|
---|
141 | <td class="rankingRow" style="background-color: rgb(5, 19, 44); color: rgb(0, 192, 255);">'.$charhonor.'
|
---|
142 | </td>
|
---|
143 | </tr>';
|
---|
144 | $char_num++;
|
---|
145 | }
|
---|
146 | // === Build pages === \\
|
---|
147 | $page_num = get_pages_num($char_num);
|
---|
148 | $page_str = build_h_pages($page_num, $_GET['p']);
|
---|
149 | $next_page = $_GET['p']+1;
|
---|
150 | if($next_page > $page_num)$next_page = 1;
|
---|
151 | $prev_page = $_GET['p']-1;
|
---|
152 | if($prev_page <= 0)$prev_page = $page_num;
|
---|
153 | // ================== \\
|
---|
154 | if($_GET['faction'] == 'a'){$race_select = array(1=>$site_defines['character_race'][1],3=>$site_defines['character_race'][3],4=>$site_defines['character_race'][4],7=>$site_defines['character_race'][7]); }
|
---|
155 | elseif($_GET['faction'] == 'h'){$race_select = array(2=>$site_defines['character_race'][2],5=>$site_defines['character_race'][5],6=>$site_defines['character_race'][6],8=>$site_defines['character_race'][8]); }
|
---|
156 |
|
---|
157 | $mangos_db->close();
|
---|
158 | unset($mangos_db);
|
---|
159 | ?>
|
---|
160 | <span>
|
---|
161 | <div style="position: relative;">
|
---|
162 | <div style="visibility: hidden;" id="factionSelect">
|
---|
163 | <table border="0" cellpadding="0" cellspacing="0" width="100%">
|
---|
164 | <tbody><tr>
|
---|
165 | <td height="1" width="1"></td>
|
---|
166 | <td bgcolor="#d5d5d7" height="1"><img src="img/pixel.gif" height="1" width="1"></td>
|
---|
167 | <td height="1" width="1"></td>
|
---|
168 | </tr>
|
---|
169 | <tr>
|
---|
170 | <td bgcolor="#a5a5a5" width="1"><img src="img/pixel.gif" height="1" width="1"></td>
|
---|
171 | <td bgcolor="#010721" valign="top"><div style="visibility: hidden;" id="factionSelectText"><?php echo$lang['honor_choose_realmfaction'];?></div></td>
|
---|
172 | <td bgcolor="#a5a5a5" width="1"><img src="img/pixel.gif" height="1" width="1"></td>
|
---|
173 | </tr>
|
---|
174 | <tr>
|
---|
175 | <td height="1" width="1"></td>
|
---|
176 | <td bgcolor="#4f4f4f"><img src="img/pixel.gif" height="2" width="1"></td>
|
---|
177 | <td height="1" width="1"></td>
|
---|
178 | </tr>
|
---|
179 | </tbody></table>
|
---|
180 | </div>
|
---|
181 | </div>
|
---|
182 | <center>
|
---|
183 |
|
---|
184 | <span style="cursor: auto;" id="headerElement">
|
---|
185 | <span>
|
---|
186 | <table border="0" cellpadding="0" cellspacing="0" width="95%">
|
---|
187 | <tbody>
|
---|
188 | <tr>
|
---|
189 | <td colspan="3">
|
---|
190 | <table border="0" cellpadding="0" cellspacing="0" width="100%">
|
---|
191 | <tbody>
|
---|
192 | <tr>
|
---|
193 | <td align="center" width="100%"><span><img src="img/pixel.gif" height="8" width="1"><br></span></td>
|
---|
194 | <td><img src="img/pixel.gif" height="33" width="70"></td>
|
---|
195 | <td><img src="img/search-left.gif" height="33" width="68"></td>
|
---|
196 | <td background="img/search-center.gif" valign="bottom">
|
---|
197 | <a name="top"></a>
|
---|
198 | <table border="0" cellpadding="0" cellspacing="0">
|
---|
199 | <tbody>
|
---|
200 | <tr>
|
---|
201 | <td><input id="characterSearch" style="width: 153px;" class="alliance" onkeypress="{return characterSearchOnKeyPress(event)}" maxlength="40"></td>
|
---|
202 | </tr>
|
---|
203 | </tbody>
|
---|
204 | </table>
|
---|
205 | </td>
|
---|
206 | <td background="img/search-center.gif" valign="bottom"><a href="#" onclick="{return setCharacterSearch('characterSearch')}"><img src="img/search-button.gif" border="0" height="23" width="64"></a></td>
|
---|
207 | <td><img src="img/search-right.gif" height="33" width="14"></td>
|
---|
208 | <td valign="top">
|
---|
209 | <div id="characterSearchErrorDiv" style="visibility: hidden;">
|
---|
210 | <div style="position: relative;">
|
---|
211 | <div style="position: absolute; left: -5px; top: 10px; width: 200px;">
|
---|
212 | <table border="0" cellpadding="0" cellspacing="0">
|
---|
213 | <tbody>
|
---|
214 | <tr>
|
---|
215 | <td><img src="img/arrow-left.gif" height="13" width="8"></td>
|
---|
216 | <td>
|
---|
217 | <table border="0" cellpadding="0" cellspacing="0">
|
---|
218 | <tbody>
|
---|
219 | <tr>
|
---|
220 | <td width="3"><img src="img/plainbox-red-top-left.gif" border="0" height="3" width="3"></td>
|
---|
221 | <td background="img/plainbox-red-top.gif"></td>
|
---|
222 | <td width="3"><img src="img/plainbox-red-top-right.gif" border="0" height="3" width="3"></td>
|
---|
223 | </tr>
|
---|
224 | <tr>
|
---|
225 | <td background="img/plainbox-red-left.gif"></td>
|
---|
226 | <td bgcolor="#db0101">
|
---|
227 | <table border="0" cellpadding="1" cellspacing="0">
|
---|
228 | <tbody>
|
---|
229 | <tr>
|
---|
230 | <td valign="top" width="14"><img src="img/error-tiny2.gif" height="13" width="14"></td>
|
---|
231 | <td nowrap="nowrap"><font color="white"><b class="smallbold" id="characterSearchErrorLoc"></b></font></td>
|
---|
232 | </tr>
|
---|
233 | </tbody>
|
---|
234 | </table>
|
---|
235 | </td>
|
---|
236 | <td background="img/plainbox-red-right.gif"></td>
|
---|
237 | </tr>
|
---|
238 | <tr>
|
---|
239 | <td><img src="img/plainbox-red-top-right.gif" border="0" height="3" width="3"></td>
|
---|
240 | <td background="img/plainbox-red-bot.gif"></td>
|
---|
241 | <td><img src="img/plainbox-red-top-left.gif" border="0" height="3" width="3"></td>
|
---|
242 | </tr>
|
---|
243 | </tbody>
|
---|
244 | </table>
|
---|
245 | </td>
|
---|
246 | </tr>
|
---|
247 | </tbody>
|
---|
248 | </table>
|
---|
249 | </div>
|
---|
250 | </div>
|
---|
251 | </div>
|
---|
252 | </td>
|
---|
253 | </tr>
|
---|
254 | </tbody>
|
---|
255 | </table>
|
---|
256 | </td>
|
---|
257 | </tr>
|
---|
258 | <tr>
|
---|
259 | <td width="59"><a href="<?php echo$_SERVER[PHP_SELF];?>?n=interactive/honor"><img onmouseover="showLayer('factionSelect'); showLayer('factionSelectText');" onmouseout="hideLayer('factionSelect'); hideLayer('factionSelectText');" src="img/<?php if($_GET[faction]=='a')echo'alliance';elseif($_GET[faction]=='h')echo'horde';?>.gif" border="0" height="56" width="59"></a></td>
|
---|
260 | <td background="img/<?php if($_GET[faction]=='a')echo'alliance';elseif($_GET[faction]=='h')echo'horde';?>-bg.jpg" width="100%">
|
---|
261 | <table border="0" cellpadding="0" cellspacing="0" width="100%">
|
---|
262 | <tbody>
|
---|
263 | <tr>
|
---|
264 | <td colspan="10" align="right">
|
---|
265 | <table border="0" cellpadding="0" cellspacing="0">
|
---|
266 | <tbody>
|
---|
267 | <tr>
|
---|
268 | <td><img src="img/searchbot-left.gif" height="5" width="19"></td>
|
---|
269 | <td background="img/searchbot-bg.gif"><img src="img/pixel.gif" height="5" width="265"></td>
|
---|
270 | </tr>
|
---|
271 | </tbody>
|
---|
272 | </table>
|
---|
273 | </td>
|
---|
274 | <td rowspan="3" width="15"><img src="img/<?php if($_GET[faction]=='a')echo'alliance';elseif($_GET[faction]=='h')echo'horde';?>-right.gif" height="56" width="15"></td>
|
---|
275 | </tr>
|
---|
276 | <tr>
|
---|
277 | <td width="10"><img src="img/faction.gif" height="8" width="45">
|
---|
278 | <select id="faction" class="<?php if($_GET[faction]=='a')echo'alliance';elseif($_GET[faction]=='h')echo'horde';?>" onchange="javascript: { if (this.value) setFaction(this.value);}">
|
---|
279 | <option value="a"<?php echo$_GET[faction]=='a'?' selected':'';?>><?php echo$lang['Alliance'];?></option>
|
---|
280 | <option value="h"<?php echo$_GET[faction]=='h'?' selected':'';?>><?php echo$lang['Horde'];?></option>
|
---|
281 | </select></td>
|
---|
282 | <td width="5"><img src="img/pixel.gif" height="51" width="5"></td>
|
---|
283 | <td width="10"><img src="img/realm.gif" height="8" width="33">
|
---|
284 | <select id="realmName" class="<?php if($_GET[faction]=='a')echo'alliance';elseif($_GET[faction]=='h')echo'horde';?>" onchange="javascript: { if (this.value) setRealm(this.value);}">
|
---|
285 | <?php echo realm_list(); ?>
|
---|
286 | </select>
|
---|
287 | </td>
|
---|
288 | <td width="100%"></td>
|
---|
289 | <td width="10"><img src="img/sorting.gif" height="8" width="45">
|
---|
290 | <select id="sort" class="<?php if($_GET[faction]=='a')echo'alliance';elseif($_GET[faction]=='h')echo'horde';?>" onchange="javascript: { if (this.value) setSort(this.value);}">
|
---|
291 | <option value="position"><?php echo$lang['honor_standing'];?></option>
|
---|
292 | <option value="title"><?php echo$lang['honor_rank'];?></option>
|
---|
293 | <option value="name"><?php echo$lang['honor_name'];?></option>
|
---|
294 | <option value="guild"><?php echo$lang['honor_guild'];?></option>
|
---|
295 | <option value="level"><?php echo$lang['honor_level'];?></option>
|
---|
296 | <option value="lhk"><?php echo$lang['honor_h_kills'];?></option>
|
---|
297 | <option value="ldk"><?php echo$lang['honor_dh_kills'];?></option>
|
---|
298 | <option value="rating"><?php echo$lang['honor_rating'];?></option>
|
---|
299 | </select>
|
---|
300 | </td>
|
---|
301 | <td width="5"><img src="img/pixel.gif" height="12" width="5"></td>
|
---|
302 | <td width="10"><img src="img/filter.gif" height="8" width="39">
|
---|
303 | <select id="filter" onchange="javascript: { if (this.value) setComboFilter(this.value);}" class="<?php if($_GET[faction]=='a')echo'alliance';elseif($_GET[faction]=='h')echo'horde';?>">
|
---|
304 | <option value="NOFILTER"><?php echo$lang['honor_filter_all'];?></option>
|
---|
305 | <option>-------------</option>
|
---|
306 | <?php
|
---|
307 | foreach($race_select as $s_race_id => $s_race){
|
---|
308 | echo ' <option value="race.'.$s_race_id.'"'.($_GET['filter']=="race.$s_race_id"?' selected':'').'>'.$lang["$s_race"]."</option> \n";
|
---|
309 | }
|
---|
310 | ?>
|
---|
311 | <option>-------------</option>
|
---|
312 | <?php
|
---|
313 | foreach($site_defines['character_class'] as $s_class_id => $s_class){
|
---|
314 | echo ' <option value="class.'.$s_class_id.'"'.($_GET['filter']=="class.$s_class_id"?' selected':'').'>'.$lang["$s_class"]."</option> \n";
|
---|
315 | }
|
---|
316 | ?>
|
---|
317 | </select>
|
---|
318 | </td>
|
---|
319 | </tr>
|
---|
320 | </tbody>
|
---|
321 | </table>
|
---|
322 | </td>
|
---|
323 | </tr>
|
---|
324 | </tbody>
|
---|
325 | </table>
|
---|
326 | </span>
|
---|
327 | </span>
|
---|
328 |
|
---|
329 | <span style="cursor: auto;" id="dataElement">
|
---|
330 | <span>
|
---|
331 | <table border="0" cellpadding="0" cellspacing="0" width="95%">
|
---|
332 | <tbody>
|
---|
333 | <tr>
|
---|
334 | <td width="12"><img src="img/metalborder-top-left.gif" height="12" width="12"></td>
|
---|
335 | <td background="img/metalborder-top.gif"></td>
|
---|
336 | <td width="12"><img src="img/metalborder-top-right.gif" height="12" width="12"></td>
|
---|
337 | </tr>
|
---|
338 | <tr>
|
---|
339 | <td background="img/metalborder-left.gif"></td>
|
---|
340 | <td bgcolor="#1c1910">
|
---|
341 | <table border="0" cellpadding="0" cellspacing="1" width="100%">
|
---|
342 | <tbody>
|
---|
343 | <tr>
|
---|
344 | <td class="rankingHeader" width="17">
|
---|
345 | <a class="button" href="javascript:setPageNumber(1);"><img src="img/firstpage-button.gif" border="0" height="15" width="13"></a>
|
---|
346 | </td>
|
---|
347 | <td class="rankingHeader" nowrap="nowrap" width="100">
|
---|
348 | <a class="button" href="javascript:setPageNumber(<?php echo $prev_page;?>);"><img src="img/previous-button.gif" style="vertical-align: middle;" border="0" height="10" width="13"><?php echo$lang['prev_page']; ?></a>
|
---|
349 | </td>
|
---|
350 | <td class="rankingFiller" align="center" width="100%">
|
---|
351 | <?php echo $page_str;?>
|
---|
352 | </td>
|
---|
353 | <td class="rankingHeader" nowrap="nowrap" width="100">
|
---|
354 | <a class="button" href="javascript:setPageNumber(<?php echo $next_page;?>);">
|
---|
355 | <?php echo$lang['next_page']; ?>
|
---|
356 | <img src="img/next-button.gif" style="vertical-align: middle;" border="0" height="9" width="13">
|
---|
357 | </a>
|
---|
358 | </td>
|
---|
359 | <td class="rankingHeader" width="17">
|
---|
360 | <a class="button" href="javascript:setPageNumber(<?php echo $page_num;?>);">
|
---|
361 | <img src="img/lastpage-button.gif" border="0" height="15" width="13">
|
---|
362 | </a>
|
---|
363 | </td>
|
---|
364 | </tr>
|
---|
365 | </tbody>
|
---|
366 | </table>
|
---|
367 | <table border="0" cellpadding="0" cellspacing="0" width="100%">
|
---|
368 | <tbody>
|
---|
369 | <tr>
|
---|
370 | <td colspan="9" style="background-color: rgb(0, 0, 0);"><img src="img/pixel.gif" height="1" width="5"></td>
|
---|
371 | </tr>
|
---|
372 | <tr>
|
---|
373 | <td class="rankingHeader" align="center" nowrap="nowrap">
|
---|
374 | <a class="button" href="javascript:setSort('position');"><?php echo$lang['honor_standing'];?><img src="img/arrow-down.gif" border="0" height="6" width="14"></a>
|
---|
375 | </td>
|
---|
376 | <td class="rankingHeader" align="center" nowrap="nowrap">
|
---|
377 | <a class="button" href="javascript:setSort('name');"><?php echo$lang['honor_charname'];?></a>
|
---|
378 | </td>
|
---|
379 | <td class="rankingHeader" align="center" nowrap="nowrap">
|
---|
380 | <a class="button" href="javascript:setSort('guild');"><?php echo$lang['honor_guildname'];?></a>
|
---|
381 | </td>
|
---|
382 | <td class="rankingHeader" align="center" nowrap="nowrap">
|
---|
383 | <a class="button" href="javascript:setSort('level');"><?php echo$lang['honor_level_short'];?></a>
|
---|
384 | </td>
|
---|
385 | <td class="rankingHeader" align="center" nowrap="nowrap"><?php echo$lang['race'];?> / <?php echo$lang['class'];?>
|
---|
386 | </td>
|
---|
387 | <td class="rankingHeader" colspan="2" align="center" nowrap="nowrap">
|
---|
388 | <a class="button" href="javascript:setSort('lhk');"><?php echo$lang['honor_lifetime_kills'];?></a>
|
---|
389 | </td>
|
---|
390 | <td class="rankingHeader" align="center" nowrap="nowrap">
|
---|
391 | <a class="button" href="javascript:setSort('rating');"><?php echo$lang['honor_rating'];?></a>
|
---|
392 | </td>
|
---|
393 | </tr>
|
---|
394 | <tr>
|
---|
395 | <td colspan="9" style="background-color: rgb(0, 0, 0);">
|
---|
396 | <img src="img/pixel.gif" height="2" width="5">
|
---|
397 | </td>
|
---|
398 | </tr>
|
---|
399 | <?php echo $ranking_str;?>
|
---|
400 | </tr>
|
---|
401 | <tr>
|
---|
402 | <td colspan="9" style="background-color: rgb(0, 0, 0);">
|
---|
403 | <img src="img/pixel.gif" height="2" width="5">
|
---|
404 | </td>
|
---|
405 | </tr>
|
---|
406 | </tbody>
|
---|
407 | </table>
|
---|
408 | <table border="0" cellpadding="0" cellspacing="1" width="100%">
|
---|
409 | <tbody>
|
---|
410 | <tr>
|
---|
411 | <td class="rankingHeader" width="17">
|
---|
412 | <a class="button" href="javascript:setPageNumber(1);"><img src="img/firstpage-button.gif" border="0" height="15" width="13"></a>
|
---|
413 | </td>
|
---|
414 | <td class="rankingHeader" nowrap="nowrap" width="100">
|
---|
415 | <a class="button" href="javascript:setPageNumber(<?php echo $prev_page;?>);"><img src="img/previous-button.gif" style="vertical-align: middle;" border="0" height="10" width="13"><?php echo$lang['prev_page']; ?></a>
|
---|
416 | </td>
|
---|
417 | <td class="rankingFiller" align="center" width="100%">
|
---|
418 | <?php echo $page_str;?>
|
---|
419 | </td>
|
---|
420 | <td class="rankingHeader" nowrap="nowrap" width="100"><a class="button" href="javascript:setPageNumber(<?php echo$next_page; ?>);"><?php echo$lang['next_page']; ?><img src="img/next-button.gif" style="vertical-align: middle;" border="0" height="9" width="13"></a></td>
|
---|
421 | <td class="rankingHeader" width="17"><a class="button" href="javascript:setPageNumber(<?php echo $page_num;?>);"><img src="img/lastpage-button.gif" border="0" height="15" width="13"></a></td>
|
---|
422 | </tr>
|
---|
423 | </tbody>
|
---|
424 | </table>
|
---|
425 | </td>
|
---|
426 | <td background="img/metalborder-right.gif"></td>
|
---|
427 | </tr>
|
---|
428 | <tr>
|
---|
429 | <td><img src="img/metalborder-bot-left.gif" height="11" width="12"></td>
|
---|
430 | <td background="img/metalborder-bot.gif"></td>
|
---|
431 | <td><img src="img/metalborder-bot-right.gif" height="11" width="12"></td>
|
---|
432 | </tr>
|
---|
433 | </tbody>
|
---|
434 | </table>
|
---|
435 | <!--
|
---|
436 | <div style="visibility: hidden;">
|
---|
437 | <select>
|
---|
438 | <option id="pRealm" value="Shadow Moon"></option>
|
---|
439 | <option id="pFaction" value="a"></option>
|
---|
440 | <option id="pPageNumber" value="1"></option>
|
---|
441 | <option id="pSearchCharacterName" value=""></option>
|
---|
442 | <option id="pSearchCharacterError" value=""></option>
|
---|
443 | <option id="pSortField" value="position"></option>
|
---|
444 | <option id="pSortDir" value="a"></option>
|
---|
445 | <option id="pFilterField" value=""></option>
|
---|
446 | <option id="pFilterValue" value=""></option>
|
---|
447 | </select>
|
---|
448 | </div>
|
---|
449 | -->
|
---|
450 | </span>
|
---|
451 | </span>
|
---|
452 |
|
---|
453 | </center>
|
---|
454 | </span>
|
---|
455 |
|
---|
456 | <?php } ?>
|
---|
457 |
|
---|
458 | </div>
|
---|
459 | <?php
|
---|
460 | include('inc/page.footer.php');
|
---|
461 | ?>
|
---|