Remove starter quest
This commit is contained in:
parent
70a7ce3172
commit
031879acad
@ -392,9 +392,6 @@ if($d['mass'] > get_meshok() && $_GET['cp']) {
|
|||||||
// shop
|
// shop
|
||||||
if ($_GET['got'] && $_GET['level2']) {
|
if ($_GET['got'] && $_GET['level2']) {
|
||||||
mysql_query("UPDATE `users`,`online` SET `users`.`room` = '22',`online`.`room` = '22' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;");
|
mysql_query("UPDATE `users`,`online` SET `users`.`room` = '22',`online`.`room` = '22' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;");
|
||||||
if($user['first'] == 6){
|
|
||||||
mysql_query("update `users` set `kwest_shop_see`=`kwest_shop_see`+'1' where `id`='".$user['id']."'");
|
|
||||||
}
|
|
||||||
header('location: shop.php');
|
header('location: shop.php');
|
||||||
}
|
}
|
||||||
// repait
|
// repait
|
||||||
@ -493,9 +490,6 @@ if($d['mass'] > get_meshok() && $_GET['cp']) {
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
mysql_query("UPDATE `users`,`online` SET `users`.`room` = '29',`online`.`room` = '29' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;");
|
mysql_query("UPDATE `users`,`online` SET `users`.`room` = '29',`online`.`room` = '29' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;");
|
||||||
if($user['first'] == 5){
|
|
||||||
mysql_query("update `users` set `kwest_bank_see`=`kwest_bank_see`+'1' where `id`='".$user['id']."'");
|
|
||||||
}
|
|
||||||
header('location: bank.php');
|
header('location: bank.php');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -687,9 +681,6 @@ elseif($user['room']==2655) {
|
|||||||
header('location: city.php?cp=1');
|
header('location: city.php?cp=1');
|
||||||
}
|
}
|
||||||
if ($_GET['got'] && $_GET['level5']) {
|
if ($_GET['got'] && $_GET['level5']) {
|
||||||
if($user['first'] == 11){
|
|
||||||
mysql_query("update `users` set `kwest_see_znahar`=`kwest_see_znahar`+'1' where `id`='".$user['id']."'");
|
|
||||||
}
|
|
||||||
// print "<script>alert('Нанюхался трав. Пересматривает формулы')</script>";
|
// print "<script>alert('Нанюхался трав. Пересматривает формулы')</script>";
|
||||||
mysql_query("UPDATE `users`,`online` SET `users`.`room` = '43',`online`.`room` = '43' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;");
|
mysql_query("UPDATE `users`,`online` SET `users`.`room` = '43',`online`.`room` = '43' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;");
|
||||||
header('location: znahar.php');
|
header('location: znahar.php');
|
||||||
|
20
city.php
20
city.php
@ -424,9 +424,6 @@ if ($user['room'] == 20) {
|
|||||||
// shop
|
// shop
|
||||||
if ($_GET['got'] && $_GET['level2']) {
|
if ($_GET['got'] && $_GET['level2']) {
|
||||||
mysql_query("UPDATE `users`,`online` SET `users`.`room` = '22',`online`.`room` = '22' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;");
|
mysql_query("UPDATE `users`,`online` SET `users`.`room` = '22',`online`.`room` = '22' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;");
|
||||||
if ($user['first'] == 6) {
|
|
||||||
mysql_query("UPDATE `users` SET `kwest_shop_see`=`kwest_shop_see`+'1' WHERE `id`='" . $user['id'] . "'");
|
|
||||||
}
|
|
||||||
header('location: shop.php');
|
header('location: shop.php');
|
||||||
}
|
}
|
||||||
// repait
|
// repait
|
||||||
@ -497,18 +494,10 @@ if ($user['room'] == 20) {
|
|||||||
|
|
||||||
|
|
||||||
if ($_GET['got'] && $_GET['level5']) {
|
if ($_GET['got'] && $_GET['level5']) {
|
||||||
if ($user['align'] == 4) {
|
mysql_query("UPDATE `users`,`online` SET `users`.`room` = '29',`online`.`room` = '29' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;");
|
||||||
print "<script>alert('Хаосникам вход в банк запрещен!')</script>";
|
header('location: bank.php');
|
||||||
} else {
|
|
||||||
mysql_query("UPDATE `users`,`online` SET `users`.`room` = '29',`online`.`room` = '29' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;");
|
|
||||||
if ($user['first'] == 5) {
|
|
||||||
mysql_query("UPDATE `users` SET `kwest_bank_see`=`kwest_bank_see`+'1' WHERE `id`='" . $user['id'] . "'");
|
|
||||||
}
|
|
||||||
header('location: bank.php');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
if ($_GET['got'] && $_GET['level16']) {
|
if ($_GET['got'] && $_GET['level16']) {
|
||||||
//if($user['login'] == 'SaulDin' || $user['login'] == 'Дед мазай'){
|
|
||||||
$effs = mysql_fetch_array(mysql_query("SELECT `id` FROM `effects` WHERE `owner` = '{$user['id']}' AND `type` = '21' LIMIT 1"));
|
$effs = mysql_fetch_array(mysql_query("SELECT `id` FROM `effects` WHERE `owner` = '{$user['id']}' AND `type` = '21' LIMIT 1"));
|
||||||
if (isset($effs['id']))
|
if (isset($effs['id']))
|
||||||
print "<script>alert('Вход в БС под действием Силы Нейтралитета запрещен!')</script>";
|
print "<script>alert('Вход в БС под действием Силы Нейтралитета запрещен!')</script>";
|
||||||
@ -516,9 +505,7 @@ if ($user['room'] == 20) {
|
|||||||
mysql_query("UPDATE `users`,`online` SET `users`.`room` = '31',`online`.`room` = '31' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;");
|
mysql_query("UPDATE `users`,`online` SET `users`.`room` = '31',`online`.`room` = '31' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;");
|
||||||
header('location: tower.php');
|
header('location: tower.php');
|
||||||
}
|
}
|
||||||
//}else{
|
|
||||||
print "<script>alert('На реконструкции!')</script>";
|
print "<script>alert('На реконструкции!')</script>";
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -680,9 +667,6 @@ elseif ($user['room'] == 2655) {
|
|||||||
header('location: city.php?cp=1');
|
header('location: city.php?cp=1');
|
||||||
}
|
}
|
||||||
if ($_GET['got'] && $_GET['level5']) {
|
if ($_GET['got'] && $_GET['level5']) {
|
||||||
if ($user['first'] == 11) {
|
|
||||||
mysql_query("UPDATE `users` SET `kwest_see_znahar`=`kwest_see_znahar`+'1' WHERE `id`='" . $user['id'] . "'");
|
|
||||||
}
|
|
||||||
// print "<script>alert('Нанюхался трав. Пересматривает формулы')</script>";
|
// print "<script>alert('Нанюхался трав. Пересматривает формулы')</script>";
|
||||||
mysql_query("UPDATE `users`,`online` SET `users`.`room` = '43',`online`.`room` = '43' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;");
|
mysql_query("UPDATE `users`,`online` SET `users`.`room` = '43',`online`.`room` = '43' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;");
|
||||||
header('location: znahar.php');
|
header('location: znahar.php');
|
||||||
|
@ -4780,10 +4780,6 @@ function dressitem($id)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!($item['type'] == 12 && $user['level'] < 4)) {
|
if (!($item['type'] == 12 && $user['level'] < 4)) {
|
||||||
if ($user['first'] == 3 && ($item['name'] == 'Шлем новобранца' || $item['name'] == 'Рубаха новобранца')) {
|
|
||||||
mysql_query("UPDATE `users` SET `kwest_items_odet` = (`kwest_items_odet`+1) WHERE `id` = '" . $user['id'] . "' LIMIT 1");
|
|
||||||
}
|
|
||||||
|
|
||||||
if (mysql_query("UPDATE `users` AS `u`, `inventory` AS `i` SET `u`.`{$slot1}` = {$id}, `i`.`dressed` = 1, `u`.`sila` = `u`.`sila` + `i`.`gsila`, `u`.`lovk` = `u`.`lovk` + `i`.`glovk`, `u`.`inta` = `u`.`inta` + `i`.`ginta`, `u`.`intel` = `u`.`intel` + `i`.`gintel`, `u`.`maxhp` = `u`.`maxhp` + `i`.`ghp`, `u`.`noj` = `u`.`noj` + `i`.`gnoj`, `u`.`topor` = `u`.`topor` + `i`.`gtopor`, `u`.`dubina` = `u`.`dubina` + `i`.`gdubina`, `u`.`mec` = `u`.`mec` + `i`.`gmech`, `u`.`mfire` = `u`.`mfire` + `i`.`gfire`, `u`.`mwater` = `u`.`mwater` + `i`.`gwater`, `u`.`mair` = `u`.`mair` + `i`.`gair`, `u`.`mearth` = `u`.`mearth` + `i`.`gearth`, `u`.`mlight` = `u`.`mlight` + `i`.`glight`, `u`.`mgray` = `u`.`mgray` + `i`.`ggray`, `u`.`mdark` = `u`.`mdark` + `i`.`gdark`, `u`.`ubron1` = `u`.`ubron1` + `i`.`bron1`, `u`.`ubron2` = `u`.`ubron2` + `i`.`bron2`, `u`.`ubron3` = `u`.`ubron3` + `i`.`bron3`, `u`.`ubron4` = `u`.`ubron4` + `i`.`bron4`, `u`.`fkrit` = `u`.`fkrit` + `i`.`mfkrit`, `u`.`fakrit` = `u`.`fakrit` + `i`.`mfakrit`, `u`.`fuvorot` = `u`.`fuvorot` + `i`.`mfuvorot`, `u`.`fauvorot` = `u`.`fauvorot` + `i`.`mfauvorot`, `u`.`uminu` = `u`.`uminu` + `i`.`minu`, `u`.`umaxu` = `u`.`umaxu` + `i`.`maxu` WHERE `i`.`needident` = 0 AND `i`.`id` = {$id} AND `i`.`dressed` = 0 AND `i`.owner = {$user['id']} AND (20 + `u`.`sila`) >= `i`.`nsila` AND (20 + `u`.`lovk`) >= `i`.`nlovk` AND (20 + `u`.`inta`) >= `i`.`ninta` AND `u`.`vinos` >= `i`.`nvinos` AND (20 + `u`.`intel`) >= `i`.`nintel` AND `u`.`mudra` >= `i`.`nmudra` AND `u`.`level` >= `i`.`nlevel` AND (($al OR (" . (int)$user['align'] . " = `i`.`nalign`)) OR (`i`.`nalign` = 0)) AND `u`.`noj` >= `i`.`nnoj` AND `u`.`topor` >= `i`.`ntopor` AND `u`.`dubina` >= `i`.`ndubina` AND `u`.`mec` >= `i`.`nmech` AND `u`.`mfire` >= `i`.`nfire` AND `u`.`mwater` >= `i`.`nwater` AND `u`.`mair` >= `i`.`nair` AND `u`.`mearth` >= `i`.`nearth` AND `u`.`mlight` >= `i`.`nlight` AND `u`.`mgray` >= `i`.`ngray` AND `u`.`mdark` >= `i`.`ndark` AND `i`.`setsale` = 0 AND `u`.`id` = {$user['id']}"))
|
if (mysql_query("UPDATE `users` AS `u`, `inventory` AS `i` SET `u`.`{$slot1}` = {$id}, `i`.`dressed` = 1, `u`.`sila` = `u`.`sila` + `i`.`gsila`, `u`.`lovk` = `u`.`lovk` + `i`.`glovk`, `u`.`inta` = `u`.`inta` + `i`.`ginta`, `u`.`intel` = `u`.`intel` + `i`.`gintel`, `u`.`maxhp` = `u`.`maxhp` + `i`.`ghp`, `u`.`noj` = `u`.`noj` + `i`.`gnoj`, `u`.`topor` = `u`.`topor` + `i`.`gtopor`, `u`.`dubina` = `u`.`dubina` + `i`.`gdubina`, `u`.`mec` = `u`.`mec` + `i`.`gmech`, `u`.`mfire` = `u`.`mfire` + `i`.`gfire`, `u`.`mwater` = `u`.`mwater` + `i`.`gwater`, `u`.`mair` = `u`.`mair` + `i`.`gair`, `u`.`mearth` = `u`.`mearth` + `i`.`gearth`, `u`.`mlight` = `u`.`mlight` + `i`.`glight`, `u`.`mgray` = `u`.`mgray` + `i`.`ggray`, `u`.`mdark` = `u`.`mdark` + `i`.`gdark`, `u`.`ubron1` = `u`.`ubron1` + `i`.`bron1`, `u`.`ubron2` = `u`.`ubron2` + `i`.`bron2`, `u`.`ubron3` = `u`.`ubron3` + `i`.`bron3`, `u`.`ubron4` = `u`.`ubron4` + `i`.`bron4`, `u`.`fkrit` = `u`.`fkrit` + `i`.`mfkrit`, `u`.`fakrit` = `u`.`fakrit` + `i`.`mfakrit`, `u`.`fuvorot` = `u`.`fuvorot` + `i`.`mfuvorot`, `u`.`fauvorot` = `u`.`fauvorot` + `i`.`mfauvorot`, `u`.`uminu` = `u`.`uminu` + `i`.`minu`, `u`.`umaxu` = `u`.`umaxu` + `i`.`maxu` WHERE `i`.`needident` = 0 AND `i`.`id` = {$id} AND `i`.`dressed` = 0 AND `i`.owner = {$user['id']} AND (20 + `u`.`sila`) >= `i`.`nsila` AND (20 + `u`.`lovk`) >= `i`.`nlovk` AND (20 + `u`.`inta`) >= `i`.`ninta` AND `u`.`vinos` >= `i`.`nvinos` AND (20 + `u`.`intel`) >= `i`.`nintel` AND `u`.`mudra` >= `i`.`nmudra` AND `u`.`level` >= `i`.`nlevel` AND (($al OR (" . (int)$user['align'] . " = `i`.`nalign`)) OR (`i`.`nalign` = 0)) AND `u`.`noj` >= `i`.`nnoj` AND `u`.`topor` >= `i`.`ntopor` AND `u`.`dubina` >= `i`.`ndubina` AND `u`.`mec` >= `i`.`nmech` AND `u`.`mfire` >= `i`.`nfire` AND `u`.`mwater` >= `i`.`nwater` AND `u`.`mair` >= `i`.`nair` AND `u`.`mearth` >= `i`.`nearth` AND `u`.`mlight` >= `i`.`nlight` AND `u`.`mgray` >= `i`.`ngray` AND `u`.`mdark` >= `i`.`ndark` AND `i`.`setsale` = 0 AND `u`.`id` = {$user['id']}"))
|
||||||
$user[$slot1] = $item['id'];
|
$user[$slot1] = $item['id'];
|
||||||
return true;
|
return true;
|
||||||
|
@ -176,11 +176,6 @@ if($_REQUEST['present']) {
|
|||||||
// если в офе
|
// если в офе
|
||||||
mysql_query("INSERT INTO `telegraph` (`owner`,`date`,`text`) values ('".$to['id']."','','".'<font color=red>Внимание!</font> <span oncontextmenu=OpenMenu()>'.$from.'</span> '.$action.' вам <B>'.$buket_name.'</B>. '."');");
|
mysql_query("INSERT INTO `telegraph` (`owner`,`date`,`text`) values ('".$to['id']."','','".'<font color=red>Внимание!</font> <span oncontextmenu=OpenMenu()>'.$from.'</span> '.$action.' вам <B>'.$buket_name.'</B>. '."');");
|
||||||
}
|
}
|
||||||
|
|
||||||
if($user['first'] == 12 && ($to['id'] == 10023 || $to['id'] == 10024)) {
|
|
||||||
mysql_query("update `users` set `kwest_see_syvenir`=`kwest_see_syvenir`+'1' where `id`='".$user['id']."'");
|
|
||||||
}
|
|
||||||
|
|
||||||
echo "<b><font color=red>Подарок удачно доставлен к \"",$_POST['to_login'],"\"</font></b>";
|
echo "<b><font color=red>Подарок удачно доставлен к \"",$_POST['to_login'],"\"</font></b>";
|
||||||
}
|
}
|
||||||
echo mysql_error();
|
echo mysql_error();
|
||||||
|
3
shop.php
3
shop.php
@ -61,9 +61,6 @@ if(($_GET['set'] || $_POST['set'])) {
|
|||||||
} elseif(($dress['massa']*$_GET['count']+$d[0]) > (get_meshok())) {
|
} elseif(($dress['massa']*$_GET['count']+$d[0]) > (get_meshok())) {
|
||||||
echo "<font color=red><b>Недостаточно места в рюкзаке.</b></font>";
|
echo "<font color=red><b>Недостаточно места в рюкзаке.</b></font>";
|
||||||
} elseif($count_ok == 1 && ($user['money'] >= ($dress['cost']*$_GET['count'])) && ($dress['count'] >= $_GET['count'])) {
|
} elseif($count_ok == 1 && ($user['money'] >= ($dress['cost']*$_GET['count'])) && ($dress['count'] >= $_GET['count'])) {
|
||||||
if($user['first'] == 7 && ($dress['name'] == 'Короткий Готический Меч' || $dress['name'] == 'Дубина' || $dress['name'] == 'Церемониальный Топор')) {
|
|
||||||
mysql_query("UPDATE `users` SET `kwest_shop_buy` = `kwest_shop_buy`+'1' WHERE `id` = '".$user['id']."' LIMIT 1");
|
|
||||||
}
|
|
||||||
|
|
||||||
for($k = 1; $k <= $_GET['count']; $k++) {
|
for($k = 1; $k <= $_GET['count']; $k++) {
|
||||||
if(mysql_query("INSERT INTO `inventory` (`prototype`,`owner`,`name`,`type`,`massa`,`cost`,`img`,`maxdur`,`isrep`,`gsila`,`glovk`,`ginta`,`gintel`,`ghp`,`gnoj`,`gtopor`,`gdubina`,`gmech`,`gfire`,`gwater`,`gair`,`gearth`,`glight`,`ggray`,`gdark`,`needident`,`nsila`,`nlovk`,`ninta`,`nintel`,`nmudra`,`nvinos`,`nnoj`,`ntopor`,`ndubina`,`nmech`,`nfire`,`nwater`,`nair`,`nearth`,`nlight`,`ngray`,`ndark`,`mfkrit`,`mfakrit`,`mfuvorot`,`mfauvorot`,`bron1`,`bron2`,`bron3`,`bron4`,`maxu`,`minu`,`magic`,`nlevel`,`nalign`,`dategoden`,`goden`,`otdel`,`gmp`,`gmeshok`,`encicl`,`artefact`,`koll`) VALUES ('{$dress['id']}','{$user['id']}','{$dress['name']}','{$dress['type']}',{$dress['massa']},{$dress['cost']},'{$dress['img']}',{$dress['maxdur']},{$dress['isrep']},'{$dress['gsila']}','{$dress['glovk']}','{$dress['ginta']}','{$dress['gintel']}','{$dress['ghp']}','{$dress['gnoj']}','{$dress['gtopor']}','{$dress['gdubina']}','{$dress['gmech']}','{$dress['gfire']}','{$dress['gwater']}','{$dress['gair']}','{$dress['gearth']}','{$dress['glight']}','{$dress['ggray']}','{$dress['gdark']}','{$dress['needident']}','{$dress['nsila']}','{$dress['nlovk']}','{$dress['ninta']}','{$dress['nintel']}','{$dress['nmudra']}','{$dress['nvinos']}','{$dress['nnoj']}','{$dress['ntopor']}','{$dress['ndubina']}','{$dress['nmech']}','{$dress['nfire']}','{$dress['nwater']}','{$dress['nair']}','{$dress['nearth']}','{$dress['nlight']}','{$dress['ngray']}','{$dress['ndark']}','{$dress['mfkrit']}','{$dress['mfakrit']}','{$dress['mfuvorot']}','{$dress['mfauvorot']}','{$dress['bron1']}','{$dress['bron2']}','{$dress['bron3']}','{$dress['bron4']}','{$dress['maxu']}','{$dress['minu']}','{$dress['magic']}','{$dress['nlevel']}','{$dress['nalign']}','".(($dress['goden'])?($dress['goden']*24*60*60+time()):"")."','{$dress['goden']}','{$dress['razdel']}','{$dress['gmp']}','{$dress['gmeshok']}','{$dress['encicl']}','{$dress['artefact']}','{$dress[koll]}')")) {
|
if(mysql_query("INSERT INTO `inventory` (`prototype`,`owner`,`name`,`type`,`massa`,`cost`,`img`,`maxdur`,`isrep`,`gsila`,`glovk`,`ginta`,`gintel`,`ghp`,`gnoj`,`gtopor`,`gdubina`,`gmech`,`gfire`,`gwater`,`gair`,`gearth`,`glight`,`ggray`,`gdark`,`needident`,`nsila`,`nlovk`,`ninta`,`nintel`,`nmudra`,`nvinos`,`nnoj`,`ntopor`,`ndubina`,`nmech`,`nfire`,`nwater`,`nair`,`nearth`,`nlight`,`ngray`,`ndark`,`mfkrit`,`mfakrit`,`mfuvorot`,`mfauvorot`,`bron1`,`bron2`,`bron3`,`bron4`,`maxu`,`minu`,`magic`,`nlevel`,`nalign`,`dategoden`,`goden`,`otdel`,`gmp`,`gmeshok`,`encicl`,`artefact`,`koll`) VALUES ('{$dress['id']}','{$user['id']}','{$dress['name']}','{$dress['type']}',{$dress['massa']},{$dress['cost']},'{$dress['img']}',{$dress['maxdur']},{$dress['isrep']},'{$dress['gsila']}','{$dress['glovk']}','{$dress['ginta']}','{$dress['gintel']}','{$dress['ghp']}','{$dress['gnoj']}','{$dress['gtopor']}','{$dress['gdubina']}','{$dress['gmech']}','{$dress['gfire']}','{$dress['gwater']}','{$dress['gair']}','{$dress['gearth']}','{$dress['glight']}','{$dress['ggray']}','{$dress['gdark']}','{$dress['needident']}','{$dress['nsila']}','{$dress['nlovk']}','{$dress['ninta']}','{$dress['nintel']}','{$dress['nmudra']}','{$dress['nvinos']}','{$dress['nnoj']}','{$dress['ntopor']}','{$dress['ndubina']}','{$dress['nmech']}','{$dress['nfire']}','{$dress['nwater']}','{$dress['nair']}','{$dress['nearth']}','{$dress['nlight']}','{$dress['ngray']}','{$dress['ndark']}','{$dress['mfkrit']}','{$dress['mfakrit']}','{$dress['mfuvorot']}','{$dress['mfauvorot']}','{$dress['bron1']}','{$dress['bron2']}','{$dress['bron3']}','{$dress['bron4']}','{$dress['maxu']}','{$dress['minu']}','{$dress['magic']}','{$dress['nlevel']}','{$dress['nalign']}','".(($dress['goden'])?($dress['goden']*24*60*60+time()):"")."','{$dress['goden']}','{$dress['razdel']}','{$dress['gmp']}','{$dress['gmeshok']}','{$dress['encicl']}','{$dress['artefact']}','{$dress[koll]}')")) {
|
||||||
|
@ -679,7 +679,6 @@ if ($_REQUEST['level'] == 'begin') {
|
|||||||
$teams[$user['id']][$bot] = array(0,0,time());
|
$teams[$user['id']][$bot] = array(0,0,time());
|
||||||
$teams[$bot][$user['id']] = array(0,0,time());
|
$teams[$bot][$user['id']] = array(0,0,time());
|
||||||
|
|
||||||
if($user['first'] == 9){mysql_query("update `users` set `kwest_battle_train`=`kwest_battle_train`+'1' where `id`='".$user['id']."'"); }
|
|
||||||
mysql_query("INSERT INTO `battle`
|
mysql_query("INSERT INTO `battle`
|
||||||
(
|
(
|
||||||
`id`,`coment`,`teams`,`timeout`,`type`,`status`,`t1`,`t2`,`to1`,`to2`, `clone`
|
`id`,`coment`,`teams`,`timeout`,`type`,`status`,`t1`,`t2`,`to1`,`to2`, `clone`
|
||||||
@ -791,10 +790,6 @@ if ($_REQUEST['level'] == 'fiz') {
|
|||||||
$teams[$user['id']][$bot] = array(0, 0, time());
|
$teams[$user['id']][$bot] = array(0, 0, time());
|
||||||
$teams[$bot][$user['id']] = array(0, 0, time());
|
$teams[$bot][$user['id']] = array(0, 0, time());
|
||||||
|
|
||||||
if($user['first'] == 9){
|
|
||||||
mysql_query("update `users` set `kwest_battle_train`=`kwest_battle_train`+'1' where `id`='".$user['id']."'");
|
|
||||||
}
|
|
||||||
|
|
||||||
mysql_query("INSERT INTO `battle`
|
mysql_query("INSERT INTO `battle`
|
||||||
(`teams`,`timeout`,`type`,`status`,`t1`,`t2`,`to1`,`to2`, `clone`
|
(`teams`,`timeout`,`type`,`status`,`t1`,`t2`,`to1`,`to2`, `clone`
|
||||||
)
|
)
|
||||||
|
@ -9,10 +9,6 @@ include "config.php";
|
|||||||
include "functions.php";
|
include "functions.php";
|
||||||
if(!$user['login']) header("Location: index.php");
|
if(!$user['login']) header("Location: index.php");
|
||||||
if ($user['battle'] != 0) { header('location: fbattle.php'); die(); }
|
if ($user['battle'] != 0) { header('location: fbattle.php'); die(); }
|
||||||
|
|
||||||
if($user['first'] == 11){
|
|
||||||
mysql_query("update `users` set `kwest_see_znahar`=`kwest_see_znahar`+'1' where `id`='".$user['id']."'");
|
|
||||||
}
|
|
||||||
?>
|
?>
|
||||||
<HTML><HEAD>
|
<HTML><HEAD>
|
||||||
<link rel=stylesheet type="text/css" href="css/main.css">
|
<link rel=stylesheet type="text/css" href="css/main.css">
|
||||||
|
Loading…
Reference in New Issue
Block a user