ÿØÿà JFIF ÿá Exif MM * ÿÛ C
Server IP : 199.250.214.225 / Your IP : 3.138.125.223 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 : |
<?php // //require_once('business login/classes/.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"); } // if ($_SERVER["REQUEST_METHOD"] == "POST" and ($_POST['ViewReport'] == 'View Report')) {//begin //reportGenerate...rptType $rptType=mysql_real_escape_string($_POST['rptType']); $judge_no=mysql_real_escape_string($_POST['judge_no']); $current_state=mysql_real_escape_string($_POST['current_state']); $division=mysql_real_escape_string($_POST['division']); $month=mysql_real_escape_string($_POST['month']); $year=mysql_real_escape_string($_POST['year']); $rank=mysql_real_escape_string($_POST['rank']); $bank =mysql_real_escape_string($_POST['bank']); $bankGroup = mysql_real_escape_string($_POST['bankGroup']); $bgroup = mysql_real_escape_string($_POST['bankgroup']); $_SESSION['division']= $division; $_SESSION['rpt']= $rptType; $_SESSION['current_state'] = $current_state; $_SESSION['judge_no']= $judge_no ; $_SESSION['rk'] = $rank; $_SESSION['mth'] = $month; $_SESSION['yr'] = $year; $_SESSION['bank'] = $bank; $_SESSION['bgroup'] = $bgroup; // // header("location:con_report209.php"); //} }//end ?> <!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...::...Reports</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; } .container tr td table tr td fieldset #login2 table .listtop td { color: #F00; } --> </style> <script language="javascript" type="text/javascript"> function submitregistration() { var form = document.login; if(form.fileNo.value == "") { alert( "Enter Staff File Number" ); return false; } } function checkValue(value) { document.getElementById('jrow').style.display = "none"; document.getElementById('bkname').style.display = "none"; document.getElementById('bkgroup').style.display = "none"; document.getElementById('cws').style.display = "none"; if(value == 1) { document.getElementById('bkname').style.display = "table-row"; document.getElementById('bkgroup').style.display = "table-row"; document.getElementById('cws').style.display = "table-row"; } else if(value == 2) { document.getElementById('cws').style.display = "none"; document.getElementById('bkname').style.display = "table-row"; document.getElementById('bkgroup').style.display = "table-row"; } else if(value == 5) { document.getElementById('jrow').style.display = "table-row"; document.getElementById('cadre').style.display = "none"; } else if((value == 7) || (value == 3)) { document.getElementById('bkname').style.display = "table-row"; document.getElementById('bkgroup').style.display = "table-row"; } else if(value == 8) { document.getElementById('cws').style.display = "table-row"; document.getElementById('bkname').style.display = "table-row"; document.getElementById('bkgroup').style.display = "table-row"; } else if(value == 9) { document.getElementById('cws').style.display = "none"; document.getElementById('bkname').style.display = "table-row"; document.getElementById('bkgroup').style.display = "table-row"; } } </script> </head> <body> <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="31%"> <a href="userArea.php">Home</a></td> <td width="69%"> <?php //$user->getLink($access); $user->get_fullname($uid); ?> <a href="?q=logout">Logout</a> </td> </tr> </table></td> </tr> <tr> <td height="243" valign="top"><?php require('links.php');?> <br /></td> <td valign="top"><table width="400" border="0" align="left" cellpadding="0" cellspacing="0"> <tr> <td width=""><br /> <fieldset> <legend>Deductions Report<br /> </legend> <form id="login2" name="login" method="post" action=""> <table width="100%" border="0" align="center" cellpadding="0" cellspacing="3"> <tr class="listtop"> <td colspan="3"> <div align="center"></div></td> </tr> <tr> <td><div align="right">Report Type</div></td> <td><select name="rptType" id="rptType" required="true" onchange="checkValue(this.value)" > <option value="1" selected="selected">PAYE</option> <option value="2">RENT & WATER</option> <option value="4">LOAN</option> <option value="3">NHF</option> <option value="5">PERSONAL ASSISTANT</option> <option value="6">MOTOR VEH. ADV.</option> <option value="7">PENSION</option> <option value="8">NICN COOP</option> <option value="9">JUDGES' CONTRIBUTION</option> </select></td> </tr> <tr id="jrow" style="display:none"> <td><div align="right">Judge's name</div></td> <td><select name="judge_no" id="judge_no"> <option selected="selected">Select type</option> <?php $rs = mysql_query("select fileno, surname, first_name, othernames from tblper where employee_type = 'CONSOLIDATED' order by surname, first_name, othernames"); while($row = mysql_fetch_array($rs)) { echo "<option value = '".$row['fileno']."'>".$row['surname']." ".$row['first_name']." ".$row['othernames']."</option>"; } ?> </select></td> </tr> <tr id="cadre"> <td><div align="right">Cadre</div></td> <td><select name="rank" id="rank"> <option selected="selected">Select type</option> <option value="P">President</option> <option value="CR">Chief Registrar</option> <option value="JS">Judges</option> </select></td> </tr> <tr> <td><div align="right">Month</div></td> <td><select name="month" id="month"> <option>Select Month</option> <option value="January">January</option> <option value="February">February</option> <option value="March">March</option> <option value="April">April</option> <option value="May">May</option> <option value="June">June</option> <option value="July">July</option> <option value="August">August</option> <option value="September">September</option> <option value="October">October</option> <option value="November">November</option> <option value="December">December</option> </select></td> </tr> <tr> <td><div align="right">Select Year</div></td> <td><select name="year" id="year"> <option>Select Year</option> <option value="2010">2010</option> <option value="2011">2011</option> <option value="2012">2012</option> <option value="2013">2013</option> <option value="2014">2014</option> <option value="2015">2015</option> <option value="2016">2016</option> <option value="2017">2017</option> <option value="2018">2018</option> <option value="2019">2019</option> <option value="2020">2020</option> <option value="2021">2021</option> <option value="2022">2022</option> <option value="2023">2023</option> <option value="2024">2024</option> <option value="2025">2025</option> <option value="2026">2026</option> <option value="2027">2027</option> <option value="2028">2028</option> <option value="2029">2029</option> <option value="2030">2030</option> <option value="2031">2031</option> <option value="2032">2032</option> <option value="2033">2033</option> <option value="2024">2034</option> <option value="2035">2035</option> <option value="2036">2036</option> <option value="2037">2037</option> <option value="2038">2038</option> <option value="2039">2039</option> <option value="2040">2040</option> </select></td> </tr> <tr id="bkname"> <td><div align="right">Bank Name</div></td> <td><label> <select name="bank" id="bank"> <?php $sql2 = "select distinct bank from tblper where employee_type = 'consolidated' "; $rs = mysql_query($sql2) or die (mysql_error()); echo "".mysql_num_rows($rs); while($rows = mysql_fetch_array($rs)) { echo "<option value = '".$rows[0]."'>".$rows[0]."</option>"; } ?> </select> </label></td> </tr> <tr id="divRow" style="display:none"> <td><div align="right">Division</div></td> <td><select name="division" id="division"> <?php $result = mysql_query("select division from tbldivision order by division"); while($rows = mysql_fetch_assoc($result)) { echo "<option value='".$rows['division']."'>".$rows['division']."</option>"; } ?> </select></td> </tr> <tr id="cws"> <td><div align="right">Current Working State</div></td> <td><select name="current_state" id="current_state"> <?php $result = mysql_query("select distinct state from tblstate_lga order by state"); while($rows = mysql_fetch_assoc($result)) { echo "<option value='".$rows['state']."'>".$rows['state']."</option>"; } ?> </select></td> </tr> <tr id="bkgroup"> <td>Bank Group</td> <td> <input type="text" name="bankgroup" /> </td> </tr> <tr> <td colspan="2"><div align="center"> <input type="hidden" name="flag2" value="login"/> <input type="submit" name="ViewReport" value="View Report" onclick="return( submitregistration());" id="ViewReport"/> </div></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();?>