- Timestamp:
- Aug 7, 2009, 11:38:12 PM (15 years ago)
- Location:
- trunk/inc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/inc/html.php
r613 r614 297 297 '<tr>'. 298 298 '<td colspan="2">'. 299 '<strong>Server : </strong>'.$server->ServerImg($server->ServerOnline($Config['Web']['WoWServerAddr'], 3724)).'<b> (<a href="?page=realmlist">'.$server->ServerMangosOnline().' hráčů celkem</a>) | Patch '.$Config['Mangos']['ClientVersion'].' | <a href="'.$Config['Web']['BaseURL'].'/pages/realmlist.wtf">Realmlist</a> | <a href="?page=server">Server info</a> | <a href="?page=realmlist">Seznam světů</a> a></b>'.299 '<strong>Server : </strong>'.$server->ServerImg($server->ServerOnline($Config['Web']['WoWServerAddr'], 3724)).'<b> (<a href="?page=realmlist">'.$server->ServerMangosOnline().' hráčů celkem</a>) | Patch '.$Config['Mangos']['ClientVersion'].' | <a href="'.$Config['Web']['BaseURL'].'/pages/realmlist.wtf">Realmlist</a> | <a href="?page=server">Server info</a> | <a href="?page=realmlist">Seznam světů</a></b>'. 300 300 '</td></tr></table><br />'); 301 301 } -
trunk/inc/server.php
r611 r614 368 368 else return('-'); 369 369 } 370 371 function RealmSelection($FormNameSufix = '') 372 { 373 global $Config; 374 375 $Output = ''; 376 if(count($Config['Mangos']['RealmList']) > 1) 377 { 378 $Output .= '<div align="center"><form name="RealmSelection'.$FormNameSufix.'" action="" method="post">'. 379 'Svět <select name="RealmIndex" onchange="document.RealmSelection'.$FormNameSufix.'.submit()">'; 380 foreach($Config['Mangos']['RealmList'] as $Index => $Realm) 381 { 382 if($_COOKIE['RealmIndex'] == $Index) $Selected = ' selected="selected"'; 383 else $Selected = ''; 384 $Output .= '<option value="'.$Index.'"'.$Selected.'>'.$Realm['Name'].'</option>'; 385 } 386 $Output .= '</select>'. 387 '</form></div>'; 388 } 389 return($Output); 390 } 370 391 } 371 392
Note:
See TracChangeset
for help on using the changeset viewer.