ob_start(); include "./../db.php"; include "./../functions.php"; $admin_control = mysql_query("select * from admin where username = '".$_COOKIE['admin_username']."' and password = '".$_COOKIE['admin_password']."' "); if (!mysql_num_rows($admin_control)>0) { if ($file<>"login") { setcookie("admin_username", "", -1); setcookie("admin_password", "", -1); Header("Location: ?file=login"); } } ?>
|
|
|
if($_GET['file'] == "") { echo "Dershanemizin Yönetim Bölümüne Hoşgeldiniz... Bu bölümü kullanarak, web sitemize; |