Снятие VIP. Убрал deprecated.
This commit is contained in:
@@ -12,7 +12,7 @@ include_once '../functions.php';
|
||||
$r = db::c()->query('SELECT `id`, `win` FROM `battle` WHERE `needbb` = 2 AND `win` = 3');
|
||||
$r2 = mysql_query("SELECT `id`, `win` FROM `battle` WHERE `needbb` = 1 AND `win` = 3 AND (`timeout`*90+`to1` < ".time()." OR `timeout`*90+`to2` < ".time().")");
|
||||
|
||||
if($r->getNumRows() > 0 || mysql_num_rows($r2) > 0) { include_once '../fbattle.php'; }
|
||||
if($r->getNumRows() || mysql_num_rows($r2) > 0) { include_once '../fbattle.php'; }
|
||||
$battles = array();
|
||||
while($rec = $r->fetch_assoc()) {
|
||||
$fbattles = new fbattle($rec['id']);
|
||||
|
||||
Reference in New Issue
Block a user