Changeset 583 for trunk/inc/player.php


Ignore:
Timestamp:
May 7, 2009, 9:15:17 AM (15 years ago)
Author:
george
Message:
  • Opraveno: Chyba v CSS stylech způsobovala špatné zobrazení rámečků tabulek a stylů dalších prvnků.
  • Upraveno: Sjednocen styl různých tabulek.
  • Upraveno: Přepis nejednotného přístupu k databázi přes jiné proměnné a konstanty než dle konfigurace proměnné $Config.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/inc/player.php

    r579 r583  
    8686     <table>
    8787                <tr>
    88                   <td><b>Jméno : </b></td><td><input type="text" name="user"></td>
     88                  <td><b>Jméno : </b></td><td><input type="text" name="user" class="textinput"></td>
    8989                </tr>
    9090                <tr>
    91                   <td><b>Heslo : </b></td><td><input type="password" name="pass" autocomplete="off"></td>
     91                  <td><b>Heslo : </b></td><td><input type="password" name="pass" autocomplete="off" class="textinput"></td>
    9292                </tr>
    9393                <tr>
     
    351351    global $Config;
    352352   
    353     echo('<table>
     353    echo('<table class="BaseTable">
    354354          <tr>
    355             <th align="center">Jméno</th>
    356             <th align="center">Úroveň</th>
    357             <th align="center">Rasa</th>
    358             <th align="center">Třída</th>
    359             <th align="center">Nahráno</th>
     355            <th>Jméno</th>
     356            <th>Úroveň</th>
     357            <th>Rasa</th>
     358            <th>Třída</th>
     359            <th>Nahráno</th>
    360360          </tr>');
    361361    $this->db->select_db($Config['Mangos']['DatabaseCharacters']);
     
    367367      $gender = ($row['gender'] == 0) ? '0' : '1';
    368368      echo('<tr>'.
    369         '<td align="center">'.$row['name'].'</td>'.
    370         '<td align="center">'.$this->GetPlayerLvl($row['guid']).'</td>'.
    371         '<td align="center"><img src="imgs/icons/'.$row['race'].'-'.$gender.'.gif"></td>'.
    372         '<td align="center"><img src="imgs/icons/'.$row['class'].'.gif"</td>'.
    373         '<td align="center">'.round($row['totaltime'] / 3600).' h</td>'.
     369        '<td>'.$row['name'].'</td>'.
     370        '<td>'.$this->GetPlayerLvl($row['guid']).'</td>'.
     371        '<td><img src="imgs/icons/'.$row['race'].'-'.$gender.'.gif" alt="rasa" /></td>'.
     372        '<td><img src="imgs/icons/'.$row['class'].'.gif" alt="trida" /></td>'.
     373        '<td>'.round($row['totaltime'] / 3600).' h</td>'.
    374374        '</tr>');
    375375    }
Note: See TracChangeset for help on using the changeset viewer.