Sindbad~EG File Manager

Current Path : /home/beghelic/www/admin/kod/
Upload File :
Current File : /home/beghelic/www/admin/kod/login.php

<?php
ob_start();
include "baglan.php";
session_start();

$kadi = $_POST["kullanici"];
$ksifre = $_POST["sifre"];

$adminler = $db->query('SELECT * FROM yonetici where kullanici_adi LIKE "'.$kadi.'" ');
$cek = $adminler->fetch(PDO::FETCH_ASSOC);

$vtkullanici = $cek ["kullanici_adi"];
$vtsifre = $cek ["sifre"];

if($kadi != $vtkullanici){
	echo "<script>alert('Kullanıcı Adı veya Şifreniz Hatalı !')</script>";
			header('Refresh: 1; url=../index.php');
}else{
	if ($ksifre != $vtsifre){
		echo "<script>alert('Kullanıcı Adı veya Şifreniz Hatalı !')</script>";
			header('Refresh: 1; url=../index.php');
	}else{
		$_SESSION["oturum"] = 1;
		header('Location: ../pages/anasayfa.php?s=1');
	}
}

?>

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists