Снятие VIP. Убрал deprecated.

This commit is contained in:
Igor Barkov [iwork]
2018-12-13 17:16:24 +02:00
parent fad59398f1
commit 518e494adf
2 changed files with 22 additions and 30 deletions
+1 -1
View File
@@ -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']);