Ignore:
Timestamp:
Jan 27, 2009, 9:25:57 AM (16 years ago)
Author:
george
Message:
  • Přidáno: RSS kanál pro seznam finančních příspěvků. * Přidáno: Návod a soubory ke stažení pro testovací realm 3.0.3 WoTLK.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • registrace/check_registration.php

    r348 r403  
    77$AccountCount = $Row[0];
    88
    9 $Database->select_db('statistic');
    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)');
     9
     10$Database2 = new Database($Config['CheckRegistration']['Host'], $Config['CheckRegistration']['User'], $Config['CheckRegistration']['Password'], $Config['CheckRegistration']['Database']);
     11$Database2->charset($Config['CheckRegistration']['Charset']);
     12
     13$DbResult = $Database2->query('SELECT MAX(avg) FROM `data_wow_players` WHERE measure=5 AND level=0 AND time<NOW() AND time > (NOW() - INTERVAL 1 DAY)');
    1114$Row = $DbResult->fetch_array();
    1215$YesterdayMaxPlayers = $Row[0];
Note: See TracChangeset for help on using the changeset viewer.