Changeset 571 for trunk/pages/gmteam.php


Ignore:
Timestamp:
Apr 22, 2009, 11:41:43 AM (15 years ago)
Author:
george
Message:
  • Upraveno: Zobrazování pověření GM na stránce GM týmu dle sloupce Note v tabulce account databáze realmd.
  • Přidáno: Odkaz na mangos debug log v administraci na webu.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pages/gmteam.php

    r559 r571  
    11<?php
    22
    3 include("inc/db.php");
     3include('inc/db.php');
    44
    55$Role = array('Hráč', 'Moderátor', 'Game Master', 'Kontrolor chyb', 'Vedoucí Tábora', 'Administrátor', 'Správce Systému');
     
    1515 
    1616  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>');
    1818  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>');
    2121  echo('</tr>');
    2222/*
     
    3232  echo('<tr><td>GM Postavy ve hře:</td>');
    3333  echo('<td><strong>');
     34  $Characters = array();
    3435  $ResultMangos = $db->query('SELECT * FROM `characters` WHERE account = "'.$Line['id'].'"');
    3536  while($LineMangos = $ResultMangos->fetch_array())
    3637  {
    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'];
    4140  }
     41  echo(implode(', ', $Characters));
    4242  echo('</strong></td></tr>');
    4343
Note: See TracChangeset for help on using the changeset viewer.