Changeset 403 for registrace/check_registration.php
- Timestamp:
- Jan 27, 2009, 9:25:57 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
registrace/check_registration.php
r348 r403 7 7 $AccountCount = $Row[0]; 8 8 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)'); 11 14 $Row = $DbResult->fetch_array(); 12 15 $YesterdayMaxPlayers = $Row[0];
Note:
See TracChangeset
for help on using the changeset viewer.