Changeset 322


Ignore:
Timestamp:
Apr 1, 2008, 6:42:15 AM (17 years ago)
Author:
george
Message:

Zobrazení počtu hráčů nad menu z tabulky characters namísto account.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • global.php

    r294 r322  
    4747  //$Content = fgets($File, 1000000);
    4848  //fclose($File);
    49   $Database->select_db('realmd');
    50   $Result = $Database->select('account', 'COUNT(*)', 'online=1');
     49  $Database->select_db('characters');
     50  $Result = $Database->select('characters', 'COUNT(*)', 'online=1');
    5151  $Row = $Result->fetch_array();
    5252  $PlayerCount = $Row[0];
Note: See TracChangeset for help on using the changeset viewer.