fix errors and notices
This commit is contained in:
parent
b78cb4c507
commit
c5b4a369c3
19
main.php
19
main.php
@ -2137,24 +2137,7 @@ if (isset($_GET['edit'])) {
|
|||||||
<div id="mZeInventory">
|
<div id="mZeInventory">
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php
|
<?php
|
||||||
if ($_GET['razdel'] == 0) {
|
if (in_array($_GET['razdel'], [0,1,2,3,4,5])) $_SESSION['razdel'] = $_GET['razdel'];
|
||||||
$_SESSION['razdel'] = 0;
|
|
||||||
}
|
|
||||||
if ($_GET['razdel'] == 1) {
|
|
||||||
$_SESSION['razdel'] = 1;
|
|
||||||
}
|
|
||||||
if ($_GET['razdel'] == 2) {
|
|
||||||
$_SESSION['razdel'] = 2;
|
|
||||||
}
|
|
||||||
if ($_GET['razdel'] == 3) {
|
|
||||||
$_SESSION['razdel'] = 3;
|
|
||||||
}
|
|
||||||
if ($_GET['razdel'] == 4) {
|
|
||||||
$_SESSION['razdel'] = 4;
|
|
||||||
}
|
|
||||||
if ($_GET['razdel'] == 5) {
|
|
||||||
$_SESSION['razdel'] = 5;
|
|
||||||
}
|
|
||||||
?>
|
?>
|
||||||
<table border=0 width=100% cellspacing="0" cellpadding="0" bgcolor="#A5A5A5">
|
<table border=0 width=100% cellspacing="0" cellpadding="0" bgcolor="#A5A5A5">
|
||||||
<tr>
|
<tr>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user