Tn Jones Shell Bypass
:
13.59.39.91
:
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/pay_dispatch1.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['dept1']; $sche=$_REQUEST['sche1']; $hos=$_REQUEST['host1']; $district=$_REQUEST['dist1']; $month=$_REQUEST['month1']; $Dispatch_mode=$_REQUEST['Dispatch_mode']; $carier_name=$_REQUEST['carier_name']; $Mobile_no=$_REQUEST['Mobile_no']; $tracking_id=$_REQUEST['tracking_id']; $Dispatch_date=$_REQUEST['Dispatch_date']; $Dispatch_remark=$_REQUEST['Dispatch_remark']; $Delivery_date=$_REQUEST['Delivery_date']; $Delivery_remark=$_REQUEST['Delivery_remark']; if($sql=mysql_query("update health SET Dispatch_mode='$Dispatch_mode',carier_name='$carier_name',Mobile_no='$Mobile_no',tracking_id='$tracking_id',Dispatch_date='$Dispatch_date',Dispatch_remark='$Dispatch_remark',Delivery_date='$Delivery_date',Delivery_remark='$Delivery_remark' where department='$dept' and scheme='$sche' and district='$district' and hospital='$hos' and month='$month'")) { echo "<script>"; echo "location.href='dispatch_report.php'"; echo "</script>"; $msg="<font color='navy'>Record saved</font>"; } else { $msg="ALready exist in record"; } } ?> <!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 type="text/javascript" src="js/jquery.js"></script> <script type="text/javascript" src="js/jquery-calendar.js"></script> <link rel="stylesheet" type="text/css" href="css/jquery-calendar.css" /> <link rel="stylesheet" type="text/css" href="css/styles.css" /> <script type="text/javascript"> //<![CDATA[ $(document).ready(function (){ $("#Dispatch_date, #calendar2").calendar(); $("#calendar1_alert").click(function(){alert(popUpCal.parseDate($('#calendar1').val()))}); }); //]]> //<![CDATA[ $(document).ready(function (){ $("#Delivery_date, #calendar2").calendar(); $("#calendar1_alert").click(function(){alert(popUpCal.parseDate($('#calendar1').val()))}); }); //]]> </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(); } } } //////////////////// </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"> <br> <div class="good-design"> <h3>Tracking Update</h3><center> <form method="POST" enctype="multipart/form-data"> <?php echo $msg;?> <?php $msg=""; $a=$_REQUEST['dept1']; $b=$_REQUEST['sche1']; $c=$_REQUEST['host1']; $d=$_REQUEST['dist1']; $e=$_REQUEST['month1']; $sql=mysql_query("SELECT * FROM health WHERE department='$a' and scheme='$b' and hospital='$c' and district='$d' and month='$e'")or die("Error"); if(mysql_num_rows($sql)>0) { $r=mysql_fetch_array($sql); ?> <center> <br> <!-- header-section-ends --> <table style="border:1px solid black;width:55%;" class="form" cellpadding="2px" align="center" > <tr><td colspan="4" style="border:1px solid black;background-color:#2A5CAA;color:white;font-size:20px;" align="center"><b>UPLOAD BILL FILE</b></td></tr> <tr><td colspan="4" style="border:1px solid black;color:#2A5CAA;font-size:20px;" align="center"><b><?php echo $r['department'];?> - (<?php echo $r['scheme'];?>)</b></td></tr> <tr><td colspan="4"><br></td></tr> <tr> <td align="right"><strong><font color="navy">District </font></strong></td> <td><select name="district" id="district" required="required" type="text" style="width:200px;height:30px;text-transform:uppercase;color:black;" /> <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="district" id="district" required="required" type="text" style="width:200px;height:30px;text-transform:uppercase;color:black;" /> <option value="<?php echo $r['hospital'];?>" ><?php echo $r['hospital'];?></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="month" id="month" required="required" type="text" style="width:200px;height:30px;text-transform:uppercase;color:black;" /> <option value="<?php echo $r['month'];?>" ><?php echo $r['month'];?></option> </select></td> <td align="right"><strong><font color="navy">BILL </font></strong></td> <td><a href="<?php echo $r['bill'];?>" target="_blank"><font> <b>VIEW BILL</b></font></a> </td> </tr> <tr><td colspan="4"><br></td></tr> <tr> <td align="right"><strong><font color="navy">Dispatch Mode </font></strong></td> <td ><select name="Dispatch_mode" id="Dispatch_mode" type="text" style="width:200px;height:30px;text-transform:uppercase;color:black;" /> <option value="<?php echo $r['Dispatch_mode'];?>" ><?php echo $r['Dispatch_mode'];?></option> <option value='Courier'>Courier</option> <option value='Post Office'>Post Office</option> <option value='By Bus'>By Bus</option> <option value='RMS'>RMS</option> <option value='Employee'>Employee</option> </select> </td> <td align="right"><strong><font color="navy">Carrier Name </font></strong></td> <td ><input name="carier_name" id="carier_name" type="text" value="<?php echo $r['carier_name'];?>" style="width:200px;height:30px;text-transform:uppercase;color:black;" /></td> </tr> <tr><td colspan="4"><br></td></tr> <tr> <td align="right"><strong><font color="navy">Carrier Mobile no. </font></strong></td> <td ><input name="Mobile_no" id="Mobile_no" type="text" maxlength="10" value="<?php echo $r['Mobile_no'];?>" style="width:200px;height:30px;text-transform:uppercase;color:black;" /></td> <td align="right"><strong><font color="navy">Tracking Id </font></strong></td> <td ><input name="tracking_id" id="tracking_id" type="text" value="<?php echo $r['tracking_id'];?>" style="width:200px;height:30px;text-transform:uppercase;color:black;" /></td> </tr> <tr><td colspan="4"><br></td></tr> <tr> <td align="right"><strong><font color="navy">Dispatch Date </font></strong></td> <td ><input name="Dispatch_date" id="Dispatch_date" type="text" value="<?php echo $r['Dispatch_date'];?>" style="width:200px;height:30px;text-transform:uppercase;color:black;" /></td> <td align="right"><strong><font color="navy">Dispatch Remark </font></strong></td> <td ><input name="Dispatch_remark" id="Dispatch_remark" type="text" value="<?php echo $r['Dispatch_remark'];?>" style="width:200px;height:30px;text-transform:uppercase;color:black;" /></td> </tr> <tr><td colspan="4"><br></td></tr> <tr> <td align="right"><strong><font color="navy">Delivery Date </font></strong></td> <td ><input name="Delivery_date" id="Delivery_date" type="text" value="<?php echo $r['Delivery_date'];?>" style="width:200px;height:30px;text-transform:uppercase;color:black;" /></td> <td align="right"><strong><font color="navy">Delivery Remark </font></strong></td> <td ><input name="Delivery_remark" id="Delivery_remark" type="text" value="<?php echo $r['Delivery_remark'];?>" style="width:200px;height:30px;text-transform:uppercase;color:black;" /></td> </tr> <tr><td colspan="4"><br><br></td></tr> <tr> <td align="center" colspan="4"> <table style="width:20%;"><tr><td> <input class="send_btn" name="submit" type="submit" value="Submit" alt="Submit" title="Submit" style="font-weight:bold;width:100px;height:30px;background-color:#2A5CAA;color:white;" /></td> <td> <a href="page2.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> <?php } ?> </center> </div> </div> </form> <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>