Changeset 24


Ignore:
Timestamp:
Aug 14, 2007, 9:26:53 PM (17 years ago)
Author:
george
Message:

Oprava zobrazení neexistujících guild ranků.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • guildy.php

    r20 r24  
    4444    while($Member = $Result->fetch_array())
    4545    {
     46      if(array_key_exists($Member['rank']+1, $GuildRanks)) $GuildRank = $GuildRanks[$Member['rank']+1]['rname']; else $GuildRank = ' ';
    4647//    $DataParts = explode(' ', $Member['data']);
    4748//    $Member['level'] .= ','.$DataParts[34];
    48       echo('<tr><td width="30%">'.$Member['name'].'</td><td>'.$Member['level'].'</td><td>'.$GuildRanks[$Member['rank']+1]['rname'].'</td><td>'.$Member['honor'].'</td></tr>');
     49      echo('<tr><td width="30%">'.$Member['name'].'</td><td>'.$Member['level'].'</td><td>'.$GuildRank.'</td><td>'.$Member['honor'].'</td></tr>');
    4950    }
    5051    echo('</table>');
Note: See TracChangeset for help on using the changeset viewer.