Changeset 615


Ignore:
Timestamp:
Aug 8, 2009, 11:36:14 AM (15 years ago)
Author:
george
Message:
  • Opraveno: Přepínání světů.
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/inc/server.php

    r614 r615  
    373373    global $Config;
    374374   
     375   
    375376    $Output = '';
    376377    if(count($Config['Mangos']['RealmList']) > 1)
    377378    {
    378       $Output .= '<div align="center"><form name="RealmSelection'.$FormNameSufix.'" action="" method="post">'.
     379      if(array_key_exists('page', $_GET)) $Target = '?page='.$_GET['page'];
     380        else $Target = '';
     381      $Output .= '<div align="center"><form name="RealmSelection'.$FormNameSufix.'" action="'.$Target.'" method="post">'.
    379382      'Svět <select name="RealmIndex" onchange="document.RealmSelection'.$FormNameSufix.'.submit()">';
    380383      foreach($Config['Mangos']['RealmList'] as $Index => $Realm)
  • trunk/index.php

    r614 r615  
    8989echo('</div>');
    9090
    91 echo($server->RealmSelection());
     91echo($server->RealmSelection('Menu'));
    9292
    9393echo('<br /><br />');
  • trunk/pages/gmteam.php

    r611 r615  
    44
    55echo('<h3 class="PageTitle">GM tým</h3>');
     6echo($server->RealmSelection());
    67$db->select_db($Config['Mangos']['DatabaseRealmd']);
    78$Result = $db->query('SELECT * FROM account WHERE (locked = 0) AND (gmlevel > 0) ORDER BY username');
  • trunk/pages/online.php

    r614 r615  
    2222
    2323echo('<h3 class="PageTitle">Online hráči</h3>');
    24 echo($server->RealmSelection('Menu'));
     24echo($server->RealmSelection());
    2525
    2626echo('<div style="text-align: center">Celkem '.$server->MangosOnline($_COOKIE['RealmIndex']).' hráčů.</div>'.
Note: See TracChangeset for help on using the changeset viewer.