//error_reporting(E_ALL); error_reporting(E_ALL & ~E_NOTICE); if (!isset($dir)) $dir=""; include("pream.php"); if (isset($_GET["action"])) { if ($_GET["action"]=="delete_seminar") { if (isAut()) { $base->host="localhost"; $base->user="imath"; $base->pass="seminars"; $base->base="kms_seminar"; $base->close(); $base->database(); if ($_SESSION["permission"]<3) { $base->query("delete from talks where id=".$_GET["delete_id"]); } else { $base->query("delete from talks where id=".$_GET["delete_id"]." and user_name='".$_SESSION["user"]."'"); } $base->close(); $base=new database(); $base->database(); } } } ?> $fractalNumber=rand(1,9); ?>