Changeset 579 for trunk/pages/online.php
- Timestamp:
- Apr 30, 2009, 8:10:25 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/pages/online.php
r577 r579 45 45 $aliance = array(1, 3, 4, 7, 11); 46 46 $frakce = (in_array($row['race'], $aliance)) ? '<img src="imgs/inc/a.gif" alt="aliance"/>' : '<img src="imgs/inc/h.gif" alt="horda" />'; 47 $gender = ($row['gender'] == 0) ? ' m' : 'f';47 $gender = ($row['gender'] == 0) ? '0' : '1'; 48 48 echo('<tr> 49 49 <td align="center">'.$frakce.'</td> 50 50 <td align="center">'.$row['name'].'</td> 51 <td align="center"><img src="imgs/icons/'.$ player->GetPlayerRace($row['race']).'-'.$gender.'.gif" alt="rasa" /></td>52 <td align="center"><img src="imgs/icons/'.$ player->GetPlayerClass($row['class']).'.gif" alt="třída" /></td>51 <td align="center"><img src="imgs/icons/'.$row['race'].'-'.$gender.'.gif" alt="rasa" /></td> 52 <td align="center"><img src="imgs/icons/'.$row['class'].'.gif" alt="třída" /></td> 53 53 <td align="center">'.$row['level'].'</td> 54 54 <td align="center">'.$server->MapName($row['map']).'<br />('.$server->ZoneName($row['zone']).')</td>
Note:
See TracChangeset
for help on using the changeset viewer.