File size: 747B
<?php
include_once "../config.php";
include_once "../inc/inc.php";
include_once "../inc/func.php";
include_once "../inc/user.php";
include_once "../inc/gzip.php";
include_once "../inc/online.php";
if ($dostup != '1') {
echo "ПАШШШШШШШОЛНАХУЙ";
include_once "../themes/$theme/foot.php";
exit;
} else {
$razd = (int)$razd;
$naz = htmlspecialchars(stripslashes($naz));
$opis = htmlspecialchars(stripslashes($opis));
$pravila = htmlspecialchars(stripslashes($pravila));
$query = 'UPDATE ' . $pref . 'forum SET name = "' . $naz . '", opis = "' . $opis . '", pravila="' . $pravila . '" WHERE id=' . $razd;
$result = mysql_query($query);
header("Location: forum.php");
}
?>