diff --git a/klan.php b/klan.php index 27553bc..337fee6 100644 --- a/klan.php +++ b/klan.php @@ -92,7 +92,7 @@ if (isset($_POST['kr']) && ($_POST['kolv'] > 0)) { if ($klan['glava'] == $sok['id']) { $st = "Глава клана"; } - if ($sok) { echo $_POST['option']; + if ($sok) { echo $_POST['action']; if ($_POST['save']) { if ($_POST['vin'] == 'on') { $polno[$sok['id']][0] = 1; @@ -257,7 +257,7 @@ if (isset($_POST['kr']) && ($_POST['kolv'] > 0)) { } function use(option) { - document.getElementById(option).innerHTML = "
"; + document.getElementById(option).innerHTML = "
"; }