Changeset 532 for trunk/pages/gmteam.php
- Timestamp:
- Mar 24, 2009, 10:39:53 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/pages/gmteam.php
r420 r532 1 <? 1 <?php 2 2 3 include("inc/db.php"); 3 $Role = array('Hráč', 'Moderátor', 'Game Master', 'Kontrolor chyb', 'Administrátor', 'Správce Systému'); 4 5 $Role = array('Hráč', 'Moderátor', 'Game Master', 'Kontrolor chyb', 'Administrátor', 'Správce Systému', 'Čestný GM'); 4 6 5 7 echo('<h2 align="center">GM tým</h2>'); 6 7 $ChronosId = 11432; 8 9 $db->select_db("$db_realmd"); 10 $Result = $db->query('SELECT * FROM account WHERE (locked = 0) AND (id != '.$ChronosId.') AND (gmlevel > 0) ORDER BY gmlevel DESC'); 8 $db->select_db($db_realmd); 9 $Result = $db->query('SELECT * FROM account WHERE (locked = 0) AND (gmlevel > 0) ORDER BY gmlevel DESC'); 11 10 echo('<table border="0" align="center">'); 12 11 while($Line = $Result->fetch_array()) … … 15 14 if(substr($Line['username'], -2, 2) == 'gm') $Line['username'] = substr($Line['username'], 0, -2); 16 15 17 echo '<tr><td><p>Prezdívka:</p></td>';18 echo '<td><p><b>'.$Line['username'].'</b></p></td>';19 echo '</tr>';20 echo '<tr><td><p>Funkce:</p></td>';21 echo '<td><p><b>'.$Role[$Line['gmlevel']].'</b></p></td>';22 echo '</tr>';16 echo('<tr><td>Přezdívka:</td>'); 17 echo('<td><p><b>'.$Line['username'].'</b></p></td>'); 18 echo('</tr>'); 19 echo('<tr><td>Funkce:</td>'); 20 echo('<td><strong>'.$Role[$Line['gmlevel']].'</strong></td>'); 21 echo('</tr>'); 23 22 /* 24 23 if ($Line['Email'] <> '') … … 30 29 $Acc = $Line['AccID']; 31 30 */ 32 $db->select_db( "$db_characters");33 echo('<tr><td> <p>GM Postavy ve hře:</p></td>');34 echo('<td>< p><b>');31 $db->select_db($db_characters); 32 echo('<tr><td>GM Postavy ve hře:</td>'); 33 echo('<td><strong>'); 35 34 $ResultMangos = $db->query('SELECT * FROM `characters` WHERE account = "'.$Line['id'].'"'); 36 35 while($LineMangos = $ResultMangos->fetch_array()) … … 41 40 echo($LineMangos['name'].' '); 42 41 } 43 echo('</ b></p></td></tr>');42 echo('</strong></td></tr>'); 44 43 45 44 // $Database->select_db($Config['Mangos']['DatabaseRealmd']); 46 45 if($Line['ForumId'] != 0) 47 46 { 48 echo('<tr><td> <p>Profil na foru:</p></td>');49 echo('<td>< p><b><a href="http://wow.zdechov.net/forum/profile.php?mode=viewprofile&u='.$Line['ForumId'].'">Profil</a></b></p></td>');47 echo('<tr><td>Profil na foru:</td>'); 48 echo('<td><strong><a href="http://wow.zdechov.net/forum/profile.php?mode=viewprofile&u='.$Line['ForumId'].'">Profil</a></strong></td>'); 50 49 echo '</tr>'; 51 50 } … … 53 52 } 54 53 echo('</table>'); 54 55 ?>
Note:
See TracChangeset
for help on using the changeset viewer.