Legend:
- Unmodified
- Added
- Removed
-
index.php
r389 r390 74 74 <a href="gm.php">Administrátoři</a> 75 75 <div>'); 76 77 //include('administrace/SubFiles/DatabaseConection.php'); 78 $Database->select_db('wow'); 79 $Result = $Database->select('user', '*', 'ban = 0 ORDER BY id'); 80 while($Row = $Result->fetch_array()) 81 echo($Row['User'].' - '.$Row['Function'].'<br/>'); 76 $ChronosId = 11432; 77 $Database->select_db('realmd'); 78 $Result = $Database->query('SELECT * FROM account WHERE (locked = 0) AND (id != '.$ChronosId.') AND (gmlevel > 0) ORDER BY gmlevel DESC'); 79 while($Row = $Result->fetch_array()) 80 { 81 $Row['username'] = strtoupper($Row['username'][0]).strtolower(substr($Row['username'], 1)); 82 if(substr($Row['username'], -2, 2) == 'gm') $Row['username'] = substr($Row['username'], 0, -2); 83 echo($Row['username'].'<br/>'); 84 } 82 85 83 86 echo('</div>
Note:
See TracChangeset
for help on using the changeset viewer.