Changeset 30 for measure_scripts/wow.php


Ignore:
Timestamp:
Feb 13, 2008, 2:24:11 PM (17 years ago)
Author:
george
Message:

Oprava měřících skriptů

File:
1 edited

Legend:

Unmodified
Added
Removed
  • measure_scripts/wow.php

    r27 r30  
    1010  global $Database;
    1111
     12  $Database->select_db('realmd');
    1213  $DbResult = $Database->query('SELECT COUNT(*) FROM account WHERE online=1');
    1314  $Row = $DbResult->fetch_array();
     
    2930  global $Database;
    3031
     32  $Database->select_db('realmd');
    3133  $DbResult = $Database->query('SELECT COUNT(*) FROM account');
    3234  $Row = $DbResult->fetch_array();
     
    3436}
    3537
    36 function WoWGuild()
     38function WoWGuildCount()
    3739{
    3840  global $Database;
    3941 
     42  $Database->select_db('characters');
    4043  $DbResult = $Database->query('SELECT COUNT(*) FROM guild');
    4144  $Row = $DbResult->fetch_array();
     
    4346}
    4447
    45 function WoWCharacter()
     48function WoWCharacterCount()
    4649{
    4750  global $Database;
Note: See TracChangeset for help on using the changeset viewer.