Changeset 583 for trunk/pages/gmteam.php
- Timestamp:
- May 7, 2009, 9:15:17 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/pages/gmteam.php
r576 r583 3 3 $Role = array('Hráč', 'Moderátor', 'Game Master', 'Kontrolor chyb', 'Vedoucí Tábora', 'Administrátor', 'Správce Systému'); 4 4 5 echo('<h 2 align="center">GM tým</h2>');6 $db->select_db($ db_realmd);5 echo('<h3 class="PageTitle">GM tým</h3>'); 6 $db->select_db($Config['Mangos']['DatabaseRealmd']); 7 7 $Result = $db->query('SELECT * FROM account WHERE (locked = 0) AND (gmlevel > 0) ORDER BY username'); 8 echo('<table border="0" cellpadding="3" align="center">');8 echo('<table class="GMTeamTable">'); 9 9 while($Line = $Result->fetch_array()) 10 10 { … … 12 12 if(substr($Line['username'], -2, 2) == 'gm') $Line['username'] = substr($Line['username'], 0, -2); 13 13 14 echo('<tr ><td>Přezdívka:</td>');15 echo('<td style="text-align: left; font-weight: bold;">'.$Line['username'].'</td>');14 echo('<tr class="start"><th>Přezdívka:</th>'); 15 echo('<td>'.$Line['username'].'</td>'); 16 16 echo('</tr>'); 17 echo('<tr><t d>Pověření:</td>');18 echo('<td style="text-align: left; font-weight: bold;">'.$Line['Note'].'</td>');17 echo('<tr><th>Pověření:</th>'); 18 echo('<td>'.$Line['Note'].'</td>'); 19 19 echo('</tr>'); 20 20 /* … … 27 27 $Acc = $Line['AccID']; 28 28 */ 29 $db->select_db($ db_characters);30 echo('<tr><t d>GM Postavy ve hře:</td>');31 echo('<td style="text-align: left; font-weight: bold;">');29 $db->select_db($Config['Mangos']['DatabaseCharacters']); 30 echo('<tr><th>GM Postavy ve hře:</th>'); 31 echo('<td>'); 32 32 $Characters = array(); 33 33 $ResultMangos = $db->query('SELECT * FROM `characters` WHERE account = "'.$Line['id'].'"'); … … 43 43 if($Line['ForumId'] != 0) 44 44 { 45 echo('<tr><t d>Profil na foru:</td>');45 echo('<tr><th>Profil na foru:</th>'); 46 46 echo('<td><strong><a href="'.$Config['Web']['BaseURL'].'forum/memberlist.php?mode=viewprofile&u='.$Line['ForumId'].'">Profil</a></strong></td>'); 47 47 echo '</tr>'; 48 48 } 49 echo('<tr><td colspan="2"><hr></td></tr>');49 //echo('<tr><td colspan="2"><hr></td></tr>'); 50 50 } 51 51 echo('</table>');
Note:
See TracChangeset
for help on using the changeset viewer.