Revonzy Mini Shell

Revonzy Mini Shell

Şuanki Dizin: /home/wwwdreamtechnolo/public_html/dnyanjyot.in/exam_admin_dtmn/
Dosya Yükle :
Şuanki Dosya : /home/wwwdreamtechnolo/public_html/dnyanjyot.in/exam_admin_dtmn/index.php

<?php
	require_once("../lib/class/functions.php");
	
	$db = new functions();
	
	$email_error		=	"";
	$password_error 	= 	"";
	$flag = 0;
	
	$email		=	"";
	
	if(isset($_POST['signin_btn']))
	{
		$email	=	$_POST['user_email'];
		$password=	$_POST['user_password'];
		
		if($email=="")
		{
			$email_error	=	"Please enter email id";
			$flag = 1;
		}
		
		if($password=="")
		{
			$password_error	=	"Please enter password";
			$flag = 1;
		}
		
		if($flag==0)
		{
			$admin_pwd= $db->get_admin_password($email);
			
			if($admin_pwd=="")
			{
			    $password_error	=	"This admin is not valid";
			    $flag = 1;
			}
			else
			{
			    if($admin_pwd==$password)
			    {
					$_SESSION['current_admn_email']	=	$email;
					header("Location:/exam_admin_dtmn/dashboard.php");
				// 	header("Location:/atse_admin_panel007/dashboard.php");
			    }
			    else
			    {
			        $password_error	=	"Incorrect Password";
			        $flag = 1;
			    }
			}
				
		}
	}
	

	if(isset($_SESSION['current_admn_email']))
	{	
	    
					header("Location:/exam_admin_dtmn/dashboard.php");
	    
// 		header("Location:/atse_admin_panel007/dashboard.php");
	}
	
	$current_page = "";
?>
<html>
<head>
	<meta charset="UTF-8">
	<title><?php echo $project_name; ?></title>
	<link rel="stylesheet" type="text/css" href="/css/stylesheet.css" />
</head>
<body>

	<?php
		require_once('../lib/header.php');
	?>
	
	<div id="middle_data_container" style="min-height:570px;">
		
		<form action="<?php echo $_SERVER['PHP_SELF']; ?>" name="signin_form" method="post" autocomplete="off">
		<div id="login_container">
			<h2 class="login_titles">Admin Sign In</h2>
			
			<input type="email" name="user_email" class="input_txt" value="<?php echo $email; ?>" placeholder="Enter email id" />
			<label class="error_indicator"><?php  echo $email_error; ?></label>
			
			
			<input type="password" name="user_password" class="input_txt" placeholder="Enter password" />
			<label class="error_indicator"><?php  echo $password_error; ?></label>
			
			
			<input type="submit" name="signin_btn" value="Login" class="login_btn" />
			
			
		</div>
		</form>
		
		
	</div>
	
	<?php
		require_once('../lib/footer.php');
	?>

</body>
</html>

EliteHackz.ORG
Revonzy Mini Shell
root@revonzy.com

Linux 65-254-81-4.cprapid.com 5.14.0-284.11.1.el9_2.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 9 05:49:00 EDT 2023 x86_64
Apache
65.254.81.4