include "header.php";
if(isset($_GET['error_log'])){
?>
Email atau password Anda salah
}else if(isset($_GET['error'])){
?>
Email Anda tidak terdaftar
}else if(isset($_GET['success'])){
$success = $_GET['success'];
if($success=="regis sekolah"){
?>
Sekolah Anda sukses terdaftar
}else{
?>
Silahkan cek email Anda
}
}else if(isset($_GET['successPass'])){
$success = trim(htmlentities($_GET['successPass']));
?>
Anda berhasil
}//end if($_GET['error_log'])//end if($_GET['error_log'])
?>
if(isset($_GET['emforgotpass'])){
//===================================================== CHANGE PASSWORD DARI FORGOT ==================================================
$emforgotpass = $_GET['emforgotpass'];
?>
Forgot Password?
Just enter the e-mail address you used for registration - we will send you a link to reset your password.
}else if(isset($_GET['login'])=="forgotPass"){
//===================================================== FORGOT PASSWORD ==================================================
?>
Forgot Password?
Just enter the e-mail address you used for registration - we will send you a link to reset your password.
}else{
?>
$sql = mysql_query("select * from slider order by idslide desc limit 0,4");
while($baca = mysql_fetch_array($sql)){
echo " ";
}
?>
include "cari.php";
?>
}//end if(isset($_GET['login']))-else
?>
Copyright © 2012 Nyasko.com
}else if(isset($_SESSION['role'])){
$role = $_SESSION['role'];
if($role==1){header("location:profile.php");}
else if($role==2){
$idskolah = $_SESSION['iduser'];
header("location:school.php?id=".$idskolah);}
else if($role==0){header("location:admin/");}
//header("location:profile.php");
}//end if -else
?>