Changeset 579 for trunk/inc/player.php
- Timestamp:
- Apr 30, 2009, 8:10:25 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/inc/player.php
r578 r579 365 365 while($row = $sql->fetch_array()) 366 366 { 367 $gender = ($row['gender'] == 0) ? ' m' : 'f';367 $gender = ($row['gender'] == 0) ? '0' : '1'; 368 368 echo('<tr>'. 369 369 '<td align="center">'.$row['name'].'</td>'. 370 370 '<td align="center">'.$this->GetPlayerLvl($row['guid']).'</td>'. 371 '<td align="center"><img src="imgs/icons/'.$ this->GetPlayerRace($row['race']).'-'.$gender.'.gif"></td>'.372 '<td align="center"><img src="imgs/icons/'.$ this->GetPlayerClass($row['class']).'.gif"</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 373 '<td align="center">'.round($row['totaltime'] / 3600).' h</td>'. 374 374 '</tr>');
Note:
See TracChangeset
for help on using the changeset viewer.