Autofix small errors
This commit is contained in:
@@ -35,12 +35,12 @@ $polno = unserialize($klan['vozm']);
|
||||
|
||||
body {
|
||||
background-color: #dedede;
|
||||
margin-top: 0px;
|
||||
margin-right: 0px;
|
||||
margin-bottom: 0px;
|
||||
margin-top: 0;
|
||||
margin-right: 0;
|
||||
margin-bottom: 0;
|
||||
text-align: left;
|
||||
font-size: 12px;
|
||||
margin-left: 0px;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
td.off {
|
||||
@@ -478,7 +478,7 @@ $polno = unserialize($klan['vozm']);
|
||||
$hp = $row["ghp"] / 2;
|
||||
}
|
||||
if ($ssh == 78) {
|
||||
if (mysql_query("UPDATE `inventory` SET `ghp` = `ghp`-'" . (int)$hp . "' WHERE `id` = '{$_GET['mf']}' LIMIT 1;")) ;
|
||||
mysql_query("UPDATE `inventory` SET `ghp` = `ghp`-'" . (int)$hp . "' WHERE `id` = '{$_GET['mf']}' LIMIT 1;");
|
||||
}
|
||||
|
||||
}///shans 77
|
||||
@@ -492,9 +492,9 @@ $polno = unserialize($klan['vozm']);
|
||||
$hp = $row["ghp"];
|
||||
}
|
||||
|
||||
if (mysql_query("UPDATE `inventory` SET `ghp` = `ghp`-'" . (int)$hp . "' WHERE `id` = '{$_GET['mf']}' LIMIT 1;")) ;
|
||||
mysql_query("UPDATE `inventory` SET `ghp` = `ghp`-'" . (int)$hp . "' WHERE `id` = '{$_GET['mf']}' LIMIT 1;") ;
|
||||
}
|
||||
} else $hp == 0;
|
||||
} else $hp = 0;
|
||||
|
||||
//////начала БРОНИ////
|
||||
if ($row["bron1"] != 0) {
|
||||
@@ -509,7 +509,7 @@ $polno = unserialize($klan['vozm']);
|
||||
$bron1 = $row["bron1"] / 2;
|
||||
}
|
||||
if ($ssh == 78) {
|
||||
if (mysql_query("UPDATE `inventory` SET `bron1` = `bron1`-'" . (int)$bron1 . "' WHERE `id` = '{$_GET['mf']}' LIMIT 1;")) ;
|
||||
mysql_query("UPDATE `inventory` SET `bron1` = `bron1`-'" . (int)$bron1 . "' WHERE `id` = '{$_GET['mf']}' LIMIT 1;") ;
|
||||
}
|
||||
|
||||
}///shans 77
|
||||
@@ -523,7 +523,7 @@ $polno = unserialize($klan['vozm']);
|
||||
$bron1 = $row["bron1"];
|
||||
}
|
||||
|
||||
if (mysql_query("UPDATE `inventory` SET `bron1` = `bron1`-'" . (int)$bron1 . "' WHERE `id` = '{$_GET['mf']}' LIMIT 1;")) ;
|
||||
mysql_query("UPDATE `inventory` SET `bron1` = `bron1`-'" . (int)$bron1 . "' WHERE `id` = '{$_GET['mf']}' LIMIT 1;");
|
||||
} //made 100%(c)Thunder
|
||||
|
||||
else $bron1 = 0;
|
||||
@@ -541,7 +541,7 @@ $polno = unserialize($klan['vozm']);
|
||||
$bron = $row["bron2"] / 2;
|
||||
}
|
||||
if ($ssh == 78) {
|
||||
if (mysql_query("UPDATE `inventory` SET `bron2` = `bron2`-'" . (int)$bron1 . "' WHERE `id` = '{$_GET['mf']}' LIMIT 1;")) ;
|
||||
mysql_query("UPDATE `inventory` SET `bron2` = `bron2`-'" . (int)$bron1 . "' WHERE `id` = '{$_GET['mf']}' LIMIT 1;");
|
||||
}
|
||||
|
||||
}///shans 77
|
||||
@@ -555,7 +555,7 @@ $polno = unserialize($klan['vozm']);
|
||||
$bron2 = $row["bron2"];
|
||||
}
|
||||
|
||||
if (mysql_query("UPDATE `inventory` SET `bron1` = `bron2`-'" . (int)$bron2 . "' WHERE `id` = '{$_GET['mf']}' LIMIT 1;")) ;
|
||||
mysql_query("UPDATE `inventory` SET `bron1` = `bron2`-'" . (int)$bron2 . "' WHERE `id` = '{$_GET['mf']}' LIMIT 1;");
|
||||
}///////бронь2 конец made (c)Thunder
|
||||
|
||||
;
|
||||
@@ -572,7 +572,7 @@ $polno = unserialize($klan['vozm']);
|
||||
$bron = $row["bron3"] / 2;
|
||||
}
|
||||
if ($ssh == 78) {
|
||||
if (mysql_query("UPDATE `inventory` SET `bron3` = `bron3`-'" . (int)$bron3 . "' WHERE `id` = '{$_GET['mf']}' LIMIT 1;")) ;
|
||||
mysql_query("UPDATE `inventory` SET `bron3` = `bron3`-'" . (int)$bron3 . "' WHERE `id` = '{$_GET['mf']}' LIMIT 1;");
|
||||
}
|
||||
|
||||
}///shans 77
|
||||
@@ -586,7 +586,7 @@ $polno = unserialize($klan['vozm']);
|
||||
$bron3 = $row["bron3"];
|
||||
}
|
||||
|
||||
if (mysql_query("UPDATE `inventory` SET `bron1` = `bron1`-'" . (int)$bron3 . "' WHERE `id` = '{$_GET['mf']}' LIMIT 1;")) ;
|
||||
mysql_query("UPDATE `inventory` SET `bron1` = `bron1`-'" . (int)$bron3 . "' WHERE `id` = '{$_GET['mf']}' LIMIT 1;");
|
||||
}
|
||||
////made (c)Thunder
|
||||
} else $bron3 = 0;
|
||||
@@ -603,7 +603,7 @@ $polno = unserialize($klan['vozm']);
|
||||
$bron4 = $row["bron4"] / 2;
|
||||
}
|
||||
if ($ssh == 78) {
|
||||
if (mysql_query("UPDATE `inventory` SET `bron4` = `bron4`-'" . (int)$bron4 . "' WHERE `id` = '{$_GET['mf']}' LIMIT 1;")) ;
|
||||
mysql_query("UPDATE `inventory` SET `bron4` = `bron4`-'" . (int)$bron4 . "' WHERE `id` = '{$_GET['mf']}' LIMIT 1;");
|
||||
}
|
||||
|
||||
}///shans 77
|
||||
@@ -617,7 +617,7 @@ $polno = unserialize($klan['vozm']);
|
||||
$bron4 = $row["bron4"];
|
||||
}
|
||||
|
||||
if (mysql_query("UPDATE `inventory` SET `bron4` = `bron4`-'" . (int)$bron4 . "' WHERE `id` = '{$_GET['mf']}' LIMIT 1;")) ;
|
||||
mysql_query("UPDATE `inventory` SET `bron4` = `bron4`-'" . (int)$bron4 . "' WHERE `id` = '{$_GET['mf']}' LIMIT 1;");
|
||||
}
|
||||
|
||||
} else $bron4 = 0;
|
||||
@@ -634,7 +634,7 @@ $polno = unserialize($klan['vozm']);
|
||||
$mfkrit = $row["mfkrit"] / 2;
|
||||
}
|
||||
if ($ssh == 78) {
|
||||
if (mysql_query("UPDATE `inventory` SET `mfkrit` = `mfkrit`-'" . (int)$mfkrit . "' WHERE `id` = '{$_GET['mf']}' LIMIT 1;")) ;
|
||||
mysql_query("UPDATE `inventory` SET `mfkrit` = `mfkrit`-'" . (int)$mfkrit . "' WHERE `id` = '{$_GET['mf']}' LIMIT 1;");
|
||||
}
|
||||
|
||||
}///shans 77
|
||||
@@ -648,7 +648,7 @@ $polno = unserialize($klan['vozm']);
|
||||
$mfkrit = $row["mfkrit"];
|
||||
}
|
||||
|
||||
if (mysql_query("UPDATE `inventory` SET `mfkrit` = `mfkrit`-'" . (int)$mfkrit . "' WHERE `id` = '{$_GET['mf']}' LIMIT 1;")) ;
|
||||
mysql_query("UPDATE `inventory` SET `mfkrit` = `mfkrit`-'" . (int)$mfkrit . "' WHERE `id` = '{$_GET['mf']}' LIMIT 1;");
|
||||
}
|
||||
|
||||
} else $mfkrit = 0;
|
||||
@@ -664,7 +664,7 @@ $polno = unserialize($klan['vozm']);
|
||||
$mfakrit = $row["mfakrit"] / 2;
|
||||
}
|
||||
if ($ssh == 78) {
|
||||
if (mysql_query("UPDATE `inventory` SET `mfakrit` = `mfakrit`-'" . (int)$mfakrit . "' WHERE `id` = '{$_GET['mf']}' LIMIT 1;")) ;
|
||||
mysql_query("UPDATE `inventory` SET `mfakrit` = `mfakrit`-'" . (int)$mfakrit . "' WHERE `id` = '{$_GET['mf']}' LIMIT 1;");
|
||||
}
|
||||
|
||||
}///shans 77
|
||||
@@ -678,7 +678,7 @@ $polno = unserialize($klan['vozm']);
|
||||
$mfakrit = $row["mfakrit"];
|
||||
}
|
||||
|
||||
if (mysql_query("UPDATE `inventory` SET `mfakrit` = `mfakrit`-'" . (int)$mfakrit . "' WHERE `id` = '{$_GET['mf']}' LIMIT 1;")) ;
|
||||
mysql_query("UPDATE `inventory` SET `mfakrit` = `mfakrit`-'" . (int)$mfakrit . "' WHERE `id` = '{$_GET['mf']}' LIMIT 1;");
|
||||
}
|
||||
|
||||
} else $mfakrit = 0;
|
||||
@@ -694,7 +694,7 @@ $polno = unserialize($klan['vozm']);
|
||||
$mfuvorot = $row["mfuvorot"] / 2;
|
||||
}
|
||||
if ($ssh == 78) {
|
||||
if (mysql_query("UPDATE `inventory` SET `mfuvorot` = `mfuvorot`-'" . (int)$mfuvorot . "' WHERE `id` = '{$_GET['mf']}' LIMIT 1;")) ;
|
||||
mysql_query("UPDATE `inventory` SET `mfuvorot` = `mfuvorot`-'" . (int)$mfuvorot . "' WHERE `id` = '{$_GET['mf']}' LIMIT 1;");
|
||||
}
|
||||
|
||||
}///shans 77
|
||||
@@ -708,7 +708,7 @@ $polno = unserialize($klan['vozm']);
|
||||
$mfuvorot = $row["mfuvorot"];
|
||||
}
|
||||
|
||||
if (mysql_query("UPDATE `inventory` SET `mfuvorot` = `mfuvorot`-'" . (int)$mfuvorot . "' WHERE `id` = '{$_GET['mf']}' LIMIT 1;")) ;
|
||||
mysql_query("UPDATE `inventory` SET `mfuvorot` = `mfuvorot`-'" . (int)$mfuvorot . "' WHERE `id` = '{$_GET['mf']}' LIMIT 1;");
|
||||
}
|
||||
|
||||
} else $mfuvorot = 0;
|
||||
@@ -723,7 +723,7 @@ $polno = unserialize($klan['vozm']);
|
||||
$mfauvorot = $row["mfauvorot"] / 2;
|
||||
}
|
||||
if ($ssh == 78) {
|
||||
if (mysql_query("UPDATE `inventory` SET `mfauvorot` = `mfauvorot`-'" . (int)$mfauvorot . "' WHERE `id` = '{$_GET['mf']}' LIMIT 1;")) ;
|
||||
mysql_query("UPDATE `inventory` SET `mfauvorot` = `mfauvorot`-'" . (int)$mfauvorot . "' WHERE `id` = '{$_GET['mf']}' LIMIT 1;");
|
||||
}
|
||||
|
||||
}///shans 77
|
||||
@@ -737,7 +737,7 @@ $polno = unserialize($klan['vozm']);
|
||||
$$mfauvorot = $row["mfauvorot"];
|
||||
}
|
||||
|
||||
if (mysql_query("UPDATE `inventory` SET `mfauvorot` = `mfauvorot`-'" . (int)$mfauvorot . "' WHERE `id` = '{$_GET['mf']}' LIMIT 1;")) ;
|
||||
mysql_query("UPDATE `inventory` SET `mfauvorot` = `mfauvorot`-'" . (int)$mfauvorot . "' WHERE `id` = '{$_GET['mf']}' LIMIT 1;");
|
||||
}
|
||||
|
||||
} else $mfauvorot = 0;
|
||||
@@ -752,7 +752,7 @@ $polno = unserialize($klan['vozm']);
|
||||
$mfantiuvorot = $row["mfantiuvorot"] / 2;
|
||||
}
|
||||
if ($ssh == 78) {
|
||||
if (mysql_query("UPDATE `inventory` SET `mfantiuvorot` = `mfantiuvorot`-'" . (int)$mfantiuvorot . "' WHERE `id` = '{$_GET['mf']}' LIMIT 1;")) ;
|
||||
mysql_query("UPDATE `inventory` SET `mfantiuvorot` = `mfantiuvorot`-'" . (int)$mfantiuvorot . "' WHERE `id` = '{$_GET['mf']}' LIMIT 1;");
|
||||
}
|
||||
|
||||
}///shans 77
|
||||
@@ -766,7 +766,7 @@ $polno = unserialize($klan['vozm']);
|
||||
$mfantiuvorot = $row["mfantiuvorot"];
|
||||
}
|
||||
|
||||
if (mysql_query("UPDATE `inventory` SET `mfantiuvorot` = `mfantiuvorot`-'" . (int)$mfantiuvorot . "' WHERE `id` = '{$_GET['mf']}' LIMIT 1;")) ;
|
||||
mysql_query("UPDATE `inventory` SET `mfantiuvorot` = `mfantiuvorot`-'" . (int)$mfantiuvorot . "' WHERE `id` = '{$_GET['mf']}' LIMIT 1;");
|
||||
}
|
||||
|
||||
} else $mfantiuvorot = 0;
|
||||
@@ -784,7 +784,7 @@ $polno = unserialize($klan['vozm']);
|
||||
$sila = $row["gsila"] / 2;
|
||||
}
|
||||
if ($ssh == 78) {
|
||||
if (mysql_query("UPDATE `inventory` SET `gsila` = `gsila`-'" . (int)$sila . "' WHERE `id` = '{$_GET['mf']}' LIMIT 1;")) ;
|
||||
mysql_query("UPDATE `inventory` SET `gsila` = `gsila`-'" . (int)$sila . "' WHERE `id` = '{$_GET['mf']}' LIMIT 1;");
|
||||
}
|
||||
|
||||
}///shans 77
|
||||
@@ -798,7 +798,7 @@ $polno = unserialize($klan['vozm']);
|
||||
$sila = $row["gsilat"];
|
||||
}
|
||||
|
||||
if (mysql_query("UPDATE `inventory` SET `gsila` = `gsila`-'" . (int)$sila . "' WHERE `id` = '{$_GET['mf']}' LIMIT 1;")) ;
|
||||
mysql_query("UPDATE `inventory` SET `gsila` = `gsila`-'" . (int)$sila . "' WHERE `id` = '{$_GET['mf']}' LIMIT 1;");
|
||||
}
|
||||
|
||||
} else $sila = 0;
|
||||
@@ -813,7 +813,7 @@ $polno = unserialize($klan['vozm']);
|
||||
$lovk = $row["glovk"] / 2;
|
||||
}
|
||||
if ($ssh == 78) {
|
||||
if (mysql_query("UPDATE `inventory` SET `glovk` = `glovk`-'" . (int)$lovk . "' WHERE `id` = '{$_GET['mf']}' LIMIT 1;")) ;
|
||||
mysql_query("UPDATE `inventory` SET `glovk` = `glovk`-'" . (int)$lovk . "' WHERE `id` = '{$_GET['mf']}' LIMIT 1;");
|
||||
}
|
||||
|
||||
}///shans 77
|
||||
@@ -827,7 +827,7 @@ $polno = unserialize($klan['vozm']);
|
||||
$lovk = $row["gslovk"];
|
||||
}
|
||||
|
||||
if (mysql_query("UPDATE `inventory` SET `glovk` = `glovk`-'" . (int)$lovk . "' WHERE `id` = '{$_GET['mf']}' LIMIT 1;")) ;
|
||||
mysql_query("UPDATE `inventory` SET `glovk` = `glovk`-'" . (int)$lovk . "' WHERE `id` = '{$_GET['mf']}' LIMIT 1;");
|
||||
}
|
||||
|
||||
|
||||
@@ -846,7 +846,7 @@ $polno = unserialize($klan['vozm']);
|
||||
$inta = $row["gunta"] / 2;
|
||||
}
|
||||
if ($ssh == 78) {
|
||||
if (mysql_query("UPDATE `inventory` SET `gunta` = `gunta`-'" . (int)$inta . "' WHERE `id` = '{$_GET['mf']}' LIMIT 1;")) ;
|
||||
mysql_query("UPDATE `inventory` SET `gunta` = `gunta`-'" . (int)$inta . "' WHERE `id` = '{$_GET['mf']}' LIMIT 1;");
|
||||
}
|
||||
|
||||
}///shans 77
|
||||
@@ -860,7 +860,7 @@ $polno = unserialize($klan['vozm']);
|
||||
$inta = $row["gunta"];
|
||||
}
|
||||
|
||||
if (mysql_query("UPDATE `inventory` SET `gunta` = `gunta`-'" . (int)$inta . "' WHERE `id` = '{$_GET['mf']}' LIMIT 1;")) ;
|
||||
mysql_query("UPDATE `inventory` SET `gunta` = `gunta`-'" . (int)$inta . "' WHERE `id` = '{$_GET['mf']}' LIMIT 1;");
|
||||
}
|
||||
|
||||
} else $inta = 0;
|
||||
|
||||
Reference in New Issue
Block a user