Changeset 571 for trunk/pages/gmteam.php
- Timestamp:
- Apr 22, 2009, 11:41:43 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/pages/gmteam.php
r559 r571 1 1 <?php 2 2 3 include( "inc/db.php");3 include('inc/db.php'); 4 4 5 5 $Role = array('Hráč', 'Moderátor', 'Game Master', 'Kontrolor chyb', 'Vedoucí Tábora', 'Administrátor', 'Správce Systému'); … … 15 15 16 16 echo('<tr><td>Přezdívka:</td>'); 17 echo('<td>< p><b>'.$Line['username'].'</b></p></td>');17 echo('<td><strong>'.$Line['username'].'</strong></td>'); 18 18 echo('</tr>'); 19 echo('<tr><td> Funkce:</td>');20 echo('<td><strong>'.$ Role[$Line['gmlevel']].'</strong></td>');19 echo('<tr><td>Pověření:</td>'); 20 echo('<td><strong>'.$Line['Note'].'</strong></td>'); 21 21 echo('</tr>'); 22 22 /* … … 32 32 echo('<tr><td>GM Postavy ve hře:</td>'); 33 33 echo('<td><strong>'); 34 $Characters = array(); 34 35 $ResultMangos = $db->query('SELECT * FROM `characters` WHERE account = "'.$Line['id'].'"'); 35 36 while($LineMangos = $ResultMangos->fetch_array()) 36 37 { 37 if($LineMangos['online'] == 1) 38 echo($LineMangos['name'].'(online) '); 39 else 40 echo($LineMangos['name'].' '); 38 if($LineMangos['online'] == 1) $Characters[] = $LineMangos['name'].'(online)'; 39 else $Characters[] = $LineMangos['name']; 41 40 } 41 echo(implode(', ', $Characters)); 42 42 echo('</strong></td></tr>'); 43 43
Note:
See TracChangeset
for help on using the changeset viewer.