Changeset 420 for beta/pages


Ignore:
Timestamp:
Feb 10, 2009, 11:50:47 AM (16 years ago)
Author:
amun
Message:

Oprava nefunkčnosti + kódování...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • beta/pages/gmteam.php

    r419 r420  
    11<?
    2 $Role = array('Hrác', 'Moderátor', 'Game Master', 'Kontrolor chyb', 'Administrátor', 'Správce Systému');
     2include("inc/db.php");
     3$Role = array('Hráč', 'Moderátor', 'Game Master', 'Kontrolor chyb', 'Administrátor', 'Správce Systému');
    34
    4 echo('<h3>GM tým</h3>');
     5echo('<h2 align="center">GM tým</h2>');
    56
    67$ChronosId = 11432;
    7 include("inc/db.php");
    8 $Database->select_db("$db_realmd");
    9 $Result = $Database->query('SELECT * FROM account WHERE (locked = 0) AND (id != '.$ChronosId.') AND (gmlevel > 0) ORDER BY gmlevel DESC');
    10 echo('<table border="0">');
     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');
     11echo('<table border="0" align="center">');
    1112while($Line = $Result->fetch_array())
    1213{
     
    2930  $Acc = $Line['AccID'];
    3031*/
    31   $Database->select_db("$db_characters");
    32   echo('<tr><td><p>GM Postavy ve hre:</p></td>');
     32  $db->select_db("$db_characters");
     33  echo('<tr><td><p>GM Postavy ve hře:</p></td>');
    3334  echo('<td><p><b>');
    34   $ResultMangos = $Database->query('SELECT * FROM `characters` WHERE account = "'.$Line['id'].'"');
     35  $ResultMangos = $db->query('SELECT * FROM `characters` WHERE account = "'.$Line['id'].'"');
    3536  while($LineMangos = $ResultMangos->fetch_array())
    3637  {
Note: See TracChangeset for help on using the changeset viewer.