Tn Jones Shell Bypass
:
18.216.161.178
:
160.187.54.56 / upgov.net
:
Linux 160-187-54-56.cprapid.com 4.18.0-553.22.1.lve.1.el7h.x86_64 #1 SMP Tue Oct 8 14:36:03 UTC 2024 x86_64
:
/
home
/
upgov
/
www
/
rmpyrll
/
Upload File:
files >> /home/upgov/www/rmpyrll/payment_status_up.php
<?php date_default_timezone_set("Asia/Kolkata"); ?> <?php include("connection.php"); session_start(); if (!isset($_SESSION['user']) || ($_SESSION['password'] == '')) { header("location:payrolLogin/ramalogin.php"); exit(); } if(isset($_SESSION['user'])) { $username=$_SESSION['user']; } $user_query = mysql_query("SELECT * FROM loginrama where user='$username' ")or die(mysql_error()); $user_row = mysql_fetch_array($user_query); $username = $user_row['user']; ?> <?php include("connection.php"); $msg=""; if(isset($_REQUEST['submit'])) { $dept=$_REQUEST['dept']; $sche=$_REQUEST['sche1']; $hos=$_REQUEST['host1']; $district=$_REQUEST['dist1']; $month=$_REQUEST['month1']; $step1=$_REQUEST['step1']; $step2=$_REQUEST['step2']; $step3=$_REQUEST['step3']; $step4=$_REQUEST['step4']; $step5=$_REQUEST['step5']; $remark=$_REQUEST['remark']; $step6=$_REQUEST['step6']; if($sql=mysql_query("update payment_table SET step_1='$step1',step_2='$step2',step_3='$step3',step_4='$step4',step_5='$step5',remark='$remark',step_6='$step6' where department='$dept' and scheme='$sche' and district='$district' and sub_loc='$hos' and month='$month'")) { echo "<script>"; echo "location.href='payment_amt_report.php'"; echo "</script>"; $msg="<font color='navy'>Record saved</font>"; } else { $msg="ALready exist in record<br><br>"; } } ?> <!DOCTYPE html> <html> <head> <title>Payroll</title> <link href="css/bootstrap.css" rel='stylesheet' type='text/css'/> <!-- jQuery (necessary for Bootstrap's JavaScript plugins) --> <script src="js/jquery.min.js"></script> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="keywords" content="Payroll Responsive web template, Bootstrap Web Templates, Flat Web Templates, Andriod Compatible web template, Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyErricsson, Motorola web design" /> <script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script> <link rel="stylesheet" href="css/flexslider.css" type="text/css" media="screen" /> <link href="css/style.css" rel="stylesheet" type="text/css" media="all" /> <!---- start-smoth-scrolling----> <script type="text/javascript" src="js/move-top.js"></script> <script type="text/javascript" src="js/easing.js"></script> <script src="js/jquery.easydropdown.js"></script> <script src="js/cbpViewModeSwitch.js" type="text/javascript"></script> <script src="js/cbpViewModeSwitch.js" type="text/javascript"></script> <script> function ValidateFileUpload() { var fuData = document.getElementById('bill'); var FileUploadPath = fuData.value; if (FileUploadPath == '') { alert("Please upload an image"); } else { var Extension = FileUploadPath.substring(FileUploadPath.lastIndexOf('.') + 1).toLowerCase(); if (Extension == "gif" || Extension == "png" || Extension == "bmp" || Extension == "jpeg" || Extension == "jpg" || Extension == "pdf") { if (fuData.files && fuData.files[0]) { var size = fuData.files[0].size; if(size >= 5000000) { alert("Maximum file 500 Kb width (1000 pixel) * height (1000pixel)"); document.getElementById('bill').value=""; document.getElementById('bill').focus(); return; }else{ var reader = new FileReader(); reader.onload = function(e) { $('#blah').attr('src', e.target.result); } reader.readAsDataURL(fuData.files[0]); } } } else { alert("Photo only allows file types of GIF, PNG, JPG, JPEG and BMP and PDF. "); document.getElementById('bill').value=""; document.getElementById('bill').focus(); } } } function calc3(birthday) { var expected = parseInt(document.getElementById("bill_amt").value); var Received= parseInt(document.getElementById("received_amt").value); if(expected<Received) { alert('From Billing Amount should not be greater than to Received Amount'); document.getElementById("due_amt").value=''; return false; } var d=parseInt(expected)-parseInt(Received); birthday.due_amt.value = d; } //////////////// </script> </head> <body> <div class="header"> <div class="container"> <div class="logo"> <a href="index.html"><img src="images/logo.png" alt=""/></a> </div> <div class="top-menu"> <span class="menu"> </span> </div> <div id="sb-search" class="sb-search"> <h4 align="right"><a href="logout.php"><img src="images/logout.jpg"></a></h4> <br> </div> <!-- search-scripts --> <script src="js/classie.js"></script> <script src="js/uisearch.js"></script> <!-- //search-scripts --> <div class="clearfix"></div> </div> <div class="clearfix"></div> </div> <!-- header-section-ends --> <div class="content"> <div class="good-design"> <h3>UPDATE PAYMENT STATUS</h3><center> <form method="POST" name='birthday' enctype="multipart/form-data"> <?php echo $msg;?> <?php $msg=""; $a=$_REQUEST['dd']; $b=$_REQUEST['s']; $c=$_REQUEST['sl']; $d=$_REQUEST['d']; $e=$_REQUEST['m']; $sql=mysql_query("SELECT * FROM payment_table WHERE department='$a' and scheme='$b' and sub_loc='$c' and district='$d' and month='$e'")or die("Error"); if(mysql_num_rows($sql)>0) { $r=mysql_fetch_array($sql); ?> <center> <!-- header-section-ends --> <table style="border:1px solid black;width:60%;" class="form" cellpadding="15px" cellspacing="15px" align="center" > <tr><td colspan="4" style="border:1px solid black;background-color:#2A5CAA;color:white;font-size:20px;" align="center"><b>PAYMENT STATUS</b></td></tr> <tr><td colspan="4"><br></td></tr> <tr> <td align="right"><strong><font color="navy">Department </font></strong></td> <td><select name="dept" id="dept" required="required" type="text" style="width:200px;height:30px;text-transform:uppercase;color:black;background-color:#A6E3F7;" /> <option value="<?php echo $r['department'];?>" ><?php echo $r['department'];?></option> </select></td> <td align="right"><strong><font color="navy">Scheme </font></strong></td> <td><select name="sche1" id="sche1" required="required" type="text" style="width:200px;height:30px;text-transform:uppercase;color:black;background-color:#A6E3F7;" /> <option value="<?php echo $r['scheme'];?>" ><?php echo $r['scheme'];?></option> </select></td> </tr> <tr><td colspan="4"><br></td></tr> <tr> <td align="right"><strong><font color="navy">District </font></strong></td> <td><select name="dist1" id="dist1" required="required" type="text" style="width:200px;height:30px;text-transform:uppercase;color:black;background-color:#A6E3F7;" /> <option value="<?php echo $r['district'];?>" ><?php echo $r['district'];?></option> </select></td> <td align="right"><strong><font color="navy">Sub Location </font></strong></td> <td><select name="host1" id="host1" required="required" type="text" style="width:200px;height:30px;text-transform:uppercase;color:black;background-color:#A6E3F7;" /> <option value="<?php echo $r['sub_loc'];?>" ><?php echo $r['sub_loc'];?></option> </select></td> </tr> <tr><td colspan="4"><br></td></tr> <tr> <td align="right"><strong><font color="navy">Month </font></strong></td> <td><select name="month1" id="month1" required="required" type="text" style="width:200px;height:30px;text-transform:uppercase;color:black;background-color:#A6E3F7;" /> <option value="<?php echo $r['month'];?>" ><?php echo $r['month'];?></option> </select></td> <td align="right"><strong><font color="navy">BillIng Amount </font></strong></td> <td ><input name="bill_amt" readonly id="bill_amt" value="<?php echo $r['bill_amt'];?>" required="required" type="text" style="width:200px;height:30px;text-transform:uppercase;color:black;background-color:#A6E3F7;" /></td> </tr> <tr><td colspan="4"><br></td></tr> <tr> <td align="right"><strong><font color="navy">BillIng Date </font></strong></td> <td><input readonly name="bill_date" autocomplete="OFF" id="bill_date" type="text" value="<?php echo $r['bill_date'];?>" style="width:200px;height:30px;text-transform:uppercase;color:black;background-color:#A6E3F7;" /></td> <td align="right"><strong><font color="navy">Paymant of </font></strong></td> <td><input readonly name="payment_of" autocomplete="OFF" id="payment_of" type="text" value="<?php echo $r['payment_of'];?>" style="width:200px;height:30px;text-transform:uppercase;color:black;background-color:#A6E3F7;" /></td> </tr> <tr><td colspan="4"><br></td></tr> <tr> <td align="right"><strong><font color="navy">Payment From Month </font></strong></td> <td><input readonly name="PFM" autocomplete="OFF" id="PFM" required="required" type="text" value="<?php echo $r['payment_from_month'];?>" style="width:200px;height:30px;text-transform:uppercase;color:black;background-color:#A6E3F7;" /></td> <td align="right"><strong><font color="navy">Payment To Month </font></strong></td> <td><input readonly name="PTM" autocomplete="OFF" id="PTM" required="required" type="text" value="<?php echo $r['payment_to_month'];?>" style="width:200px;height:30px;text-transform:uppercase;color:black;background-color:#A6E3F7;" /></td> </tr> <tr><td colspan="4"><br></td></tr> <tr> <td align="right"><strong><font color="navy">Received Amount </font></strong></td> <td><input readonly name="received_amt" autocomplete="OFF" id="received_amt" required="required" type="text" value="<?php echo $r['received_amt'];?>" style="width:200px;height:30px;text-transform:uppercase;color:black;background-color:#A6E3F7;" /></td> <td align="right"><strong><font color="navy">Received Date </font></strong></td> <td><input readonly name="received_date" autocomplete="OFF" id="received_date" required="required" type="text" value="<?php echo $r['received_date'];?>" style="width:200px;height:30px;text-transform:uppercase;color:black;background-color:#A6E3F7;" /></td> </tr> <tr><td colspan="4"><br></td></tr> <tr><td colspan="4" style="border:1px solid black;color:black;font-size:13px;" align="center"><b>UPDATE STATUS</b></td></tr> <tr><td colspan="4"><br></td></tr> <tr> <?php $att0=$r['step_1']; if($att0 !='') { ?> <td align="right"><strong><font color="navy">SBI INB </font></strong></td> <td><select name='step1' id='step1' style="width:200px;height:30px;text-transform:uppercase;color:black;"> <option value="<?php echo $r['step_1'];?>"><?php echo $r['step_1'];?></option> </select></td> <?php } else { ?> <td align="right"><strong><font color="navy">SBI INB </font></strong></td> <td><select name='step1' id='step1' style="width:200px;height:30px;text-transform:uppercase;color:black;"> <option value=""></option> <option value="<?php echo date('d-m-y h:i:s');?>"><?php echo date('d-m-y h:i:s');?></option> </select></td> <?php } ?> <?php $att1=$r['step_2']; if($att1 !='') { ?> <td align="right"><strong><font color="navy">UPDATED IN TALLY </font></strong></td> <td > <select name='step2' id='step2' style="width:200px;height:30px;text-transform:uppercase;color:black;"> <option value="<?php echo $r['step_2'];?>"><?php echo $r['step_2'];?></option> </select> </td> <?php } else { ?> <td align="right"><strong><font color="navy">UPDATED IN TALLY </font></strong></td> <td > <select name='step2' id='step2' style="width:200px;height:30px;text-transform:uppercase;color:black;"> <option value=""></option> <option value="<?php echo date('d-m-y h:i:s');?>"><?php echo date('d-m-y h:i:s');?></option> </select> </td> <?php } ?> </tr> <tr><td colspan="4"><br></td></tr> <tr> <?php $att2=$r['step_3']; if($att2 !='') { ?> <td align="right" ><strong><font color="navy">UPLOADED BANK SHEET </font></strong></td> <td > <select name='step3' id='step3' style="width:200px;height:30px;text-transform:uppercase;color:black;"> <option value="<?php echo $r['step_3'];?>"><?php echo $r['step_3'];?></option> </select></td> <?php } else { ?> <td align="right" ><strong><font color="navy">UPLOADED BANK SHEET </font></strong></td> <td > <select name='step3' id='step3' style="width:200px;height:30px;text-transform:uppercase;color:black;"> <option value=""></option> <option value="<?php echo date('d-m-y h:i:s');?>"><?php echo date('d-m-y h:i:s');?></option> </select></td> <?php } ?> <?php $att3=$r['step_4']; if($att3 !='') { ?> <td align="right"><strong><font color="navy">PAYMANT DONE </font></strong></td> <td > <select name='step4' id='step4' style="width:200px;height:30px;text-transform:uppercase;color:black;"> <option value="<?php echo $r['step_4'];?>"><?php echo $r['step_4'];?></option> </select></td> <?php } else { ?> <td align="right"><strong><font color="navy">PAYMANT DONE </font></strong></td> <td > <select name='step4' id='step4' style="width:200px;height:30px;text-transform:uppercase;color:black;"> <option value=""></option> <option value="<?php echo date('d-m-y h:i:s');?>"><?php echo date('d-m-y h:i:s');?></option> </select></td> <?php } ?> </tr> <tr><td colspan="4"><br></td></tr> <tr> <?php $att4=$r['step_5']; if($att4 !='') { ?> <td align="right"><strong><font color="navy">TRANSFER STATUS </font></strong></td> <td > <select name='step5' id='step5' style="width:200px;height:30px;text-transform:uppercase;color:black;"> <option value="<?php echo $r['step_5'];?>"><?php echo $r['step_5'];?></option> </select></td> <?php } else { ?> <td align="right"><strong><font color="navy">TRANSFER STATUS </font></strong></td> <td > <select name='step5' id='step5' style="width:200px;height:30px;text-transform:uppercase;color:black;"> <option value=""></option> <option value="<?php echo date('d-m-y h:i:s');?>"><?php echo date('d-m-y h:i:s');?></option> </select></td> <?php } ?> <?php $att5=$r['remark']; if($att5 !='') { ?> <td align="right"><strong><font color="navy">REMARK </font></strong></td> <td><input name="remark" autocomplete="OFF" id="remark" type="text" style="width:200px;height:30px;color:black;" /></td> <?php } else { ?> <td align="right"><strong><font color="navy">REMARK </font></strong></td> <td><input name="remark" autocomplete="OFF" id="remark" type="text" <?php echo $r['remark'];?> style="width:200px;height:30px;color:black;" /></td> <?php } ?> </tr> <tr><td colspan="4"><br></td></tr> <tr> <?php $att6=$r['step_6']; if($att6 !='') { ?> <td align="right"><strong><font color="navy">PENDING TRANSFER STATUS </font></strong></td> <td > <select name='step6' id='step6' style="width:200px;height:30px;text-transform:uppercase;color:black;"> <option value="<?php echo $r['step_6'];?>"><?php echo $r['step_6'];?></option> </select></td> <?php } else { ?> <td align="right"><strong><font color="navy">PENDING TRANSFER STATUS </font></strong></td> <td colspan='3'> <select name='step6' id='step6' style="width:200px;height:30px;text-transform:uppercase;color:black;"> <option value=""></option> <option value="<?php echo date('d-m-y h:i:s');?>"><?php echo date('d-m-y h:i:s');?></option> </select></td> <?php } ?> </tr> <tr><td colspan="4"><br></td></tr> <tr> <td align="center" colspan="4"> <table style="width:20%;"><tr><td> <input class="send_btn" name="submit" type="submit" value="Update" alt="Submit" title="Submit" style="font-weight:bold;width:100px;height:30px;background-color:#2A5CAA;color:white;" /></td> <td> <a href="payment_amt_report.php"><input type="button" name="" value="Back" style="font-weight:bold;width:100px;height:30px;background-color:#2A5CAA;color:white;"></a> </td> </tr></table></td> </tr> </table> </center> </div> </div> <?php } ?> </form><br/><br/><br/><br/> <div class="footer"> <div class="container"> <div class="clearfix"><br><br></div> <div class="footer-bottom"> <p>© 2016 | Design by<a href="http://ramaipl.com/"> Rama Infotech Pvt Ltd</a> || For Updated View Press Ctrl+F5 </p> </div> <script type="text/javascript"> $(document).ready(function() { /* var defaults = { containerID: 'toTop', // fading element id containerHoverID: 'toTopHover', // fading element hover id scrollSpeed: 1200, easingType: 'linear' }; */ $().UItoTop({ easingType: 'easeOutQuart' }); }); </script> <a href="#" id="toTop" style="display: block;"> <span id="toTopHover" style="opacity: 1;"> </span></a> </div> </div> </body> </html>