Tn Jones Shell Bypass
:
3.139.69.53
:
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/recorddel.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); $us = $user_row['user']; ?> <?php $msg=""; if(isset($_POST['id'])) { $dep=$_POST['dept']; $sch=$_POST['scheme']; $dis=$_POST['district1']; $hos=$_POST['hospital']; $iduser=$_POST['search1']; $sql=mysql_query("SELECT * FROM health WHERE department='$dep' and scheme='$sch' and district='$dis' AND hospital='$hos' and month='$iduser'")or die("SELECT * FROM health WHERE department='$dep' and scheme='$sch' and district='$dis' AND hospital='$hos' and month='$iduser'Error"); $numResults = mysql_num_rows($sql); if ($numResults == 0) { $msg= "<center><font color='#0000FF' size='+1'>Details are not found</font><br>SELECT * FROM health WHERE department='$dep' and scheme='$sch' and district='$dis' and month='$iduser'</center>"; } else { echo "<script>"; echo "location.href='delete.php?dept1=$dep&sche1=$sch&dist1=$dis&host1=$hos&month1=$iduser'"; echo "</script>"; $msg="<font color='navy'>Record saved</font>"; } } ?> <!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> function showUser(str) { if (str == "") { document.getElementById("ss1").innerHTML =""; return; } else { if (window.XMLHttpRequest) { // code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp = new XMLHttpRequest(); } else { // code for IE6, IE5 xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange = function() { if (xmlhttp.readyState == 4 && xmlhttp.status == 200) { document.getElementById("ss1").innerHTML = xmlhttp.responseText; } }; xmlhttp.open("GET","data.php?na="+str,true); xmlhttp.send(); } } function showUser1(str1) { if (str1 == "") { document.getElementById("dist22").innerHTML =""; return; } else { if (window.XMLHttpRequest) { // code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp = new XMLHttpRequest(); } else { // code for IE6, IE5 xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange = function() { if (xmlhttp.readyState == 4 && xmlhttp.status == 200) { document.getElementById("dist22").innerHTML = xmlhttp.responseText; } }; xmlhttp.open("GET","data1.php?na1="+str1,true); xmlhttp.send(); } } function showUser2(str2) { var a=document.getElementById("scheme").value; if (str2 == "") { document.getElementById("div1").innerHTML =""; return; } else { if (window.XMLHttpRequest) { // code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp = new XMLHttpRequest(); } else { // code for IE6, IE5 xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange = function() { if (xmlhttp.readyState == 4 && xmlhttp.status == 200) { document.getElementById("div1").innerHTML = xmlhttp.responseText; } }; xmlhttp.open("GET","data2.php?na2="+str2+"&na4="+a,true); xmlhttp.send(); } } //SCANNER </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> </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>DELETE ATTENDANCE</h3> <form method="POST" enctype="multipart/form-data"> <table style="border:1px solid black;width:30%;" class="form" cellpadding="2px" align="center" > <tr><td colspan="2" style="border:1px solid black;background-color:#2A5CAA;color:white;font-size:20px;" align="center"><b>Delete Attendance</b></td></tr> <tr><td colspan="2"><br></td></tr> <tr> <td align="right"><strong><font color="navy">Department </font></strong></td> <td><select name="dept" id="dept" onChange="showUser(this.value)" style="width:250px;height:30px;text-transform:uppercase;color:black;" /> <option value=""></option> <option value="Agriculture">Agriculture</option> <option value="Jal Nigam">Jal Nigam</option> <option value='Technical Education'>Technical Education</option> <option value="Swasthya Vibhag">Swasthya Vibhag</option> <option value="Upeida">Upeida</option> <option value="Mvvnl">Mvvnl</option> <option value="UPPTCL">UPPTCL</option> <option value="NAGAR PALIKA PARISHAD">NAGAR PALIKA PARISHAD</option> <option value="NMRC">NMRC</option> <option value="BASIC EDUCATION COUNCIL">BASIC EDUCATION COUNCIL</option> <option value="TRANSPORT">TRANSPORT</option> <option value="FOOD SAFETY & DRUG ADMINISTRATION">FOOD SAFETY & DRUG ADMINISTRATION</option> <option value="UPPPCL">UPPPCL</option> <option value="Medical education">MEDICAL EDUCATION</option> <option value="BAL VIKAS SEVA EVAM PUSTAHAR">BAL VIKAS SEVA EVAM PUSTAHAR</option> </select> </td> </tr> <tr><td colspan="2"><br></td></tr> <tr> <td align="right"><strong><font color="navy">Scheme </font></strong></td> <td><div id="ss1"><select class="inp-text" name="scheme" id="scheme" value="" style="width:250px;height:30px;text-transform:uppercase;color:black;" /><option></option></select></div> </td> </tr> <tr><td colspan="2"><br></td></tr> <tr> <td align="right"><strong><font color="navy">District </font></strong></td> <td><div id="dist22"><select name="district1" id="district1" style="height:32px;width:250px;" title="District1 is requried" placeholder="District1" required="required"> <option value=""></option> </select> </div> </td> </tr> <tr><td colspan="2"><br></td></tr> <tr> <td align="right"></td> <td><div id="div1"> </div> </td> </tr> <tr><td colspan="2"><br></td></tr> <tr> <td align="right"><strong><font color="navy">Select Month</font></strong></td> <td><select name="search1" id="search1" type="text" style="width:250px;height:30px;text-transform:uppercase;color:black;" > <option value=""></option> <option value="February 2016">FEBRUARY 2016</option> <option value="March 2016">MARCH 2016</option> <option value="April 2016">APRIL 2016</option> <option value="May 2016">MAY 2016</option> <option value="June 2016">JUNE 2016</option> <option value="July 2016">JULY 2016</option> <option value="August 2016">AUGUST 2016</option> <option value="September 2016">SEPTEMBER 2016</option> <option value="October 2016">OCTOBER 2016</option> <option value="November 2016">NOVEMBER 2016</option> <option value="December 2016">DECEMBER 2016</option> <option value="January 2017">JANUARY 2017</option> <option value="February 2017">FEBRUARY 2017</option> <option value="March 2017">MARCH 2017</option> <option value="April 2017">APRIL 2017</option> <option value="May 2017">May 2017</option> <option value="June 2017">June 2017</option> <option value="July 2017">July 2017</option> <option value="August 2017">August 2017</option> <option value="September 2017">September 2017</option> </select></td> </tr> <tr><td colspan="2"><br></td></tr> <tr> <td colspan="2" align="center"> <table style="width:20%;"><tr><td> <input class="send_btn" type="Submit" name="id" id="id" onClick="return reg()" value="Search" title="Submit" style="font-weight:bold;width:100px;height:30px;background-color:#2A5CAA;color:white;"/></td> <td> <a href="admin_paymentreport.php"><input type="button" name="" value="Back" style="font-weight:bold;width:100px;height:30px;background-color:#2A5CAA;color:white;"></a> </td> <td> <a href="page2.php"><input type="button" name="" value="Home" style="font-weight:bold;width:130px;height:30px;background-color:#2A5CAA;color:white;"></a> </td> </tr></table> </td></tr> </table> </center><br> <?php echo $msg;?> </form> </div> </div> <div class="footer"> <div class="container"> <div class="clearfix"></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>