Changeset 340 for registrace


Ignore:
Timestamp:
Apr 16, 2008, 7:37:21 AM (17 years ago)
Author:
george
Message:

Aktualizace odkazu do databáze statistiky

File:
1 edited

Legend:

Unmodified
Added
Removed
  • registrace/check_registration.php

    r73 r340  
    88
    99$Database->select_db('statistic');
    10 $DbResult = $Database->query('SELECT MAX(avg) FROM `stat_data` WHERE measure=5 AND level=0 AND time<NOW() AND time > (NOW() - INTERVAL 1 DAY)');
     10$DbResult = $Database->query('SELECT MAX(avg) FROM `data_wow_players` WHERE measure=5 AND level=0 AND time<NOW() AND time > (NOW() - INTERVAL 1 DAY)');
    1111$Row = $DbResult->fetch_array();
    1212$YesterdayMaxPlayers = $Row[0];
Note: See TracChangeset for help on using the changeset viewer.