Tn Jones Shell Bypass
:
3.145.101.119
:
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/contact_update.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']; $Op_postname=$_REQUEST['Op_postname']; $Op_name=$_REQUEST['Op_name']; $Mobileno=$_REQUEST['Mobileno']; $mobileno2=$_REQUEST['mobileno2']; $Email=$_REQUEST['Email']; $clerk_postname=$_REQUEST['clerk_postname']; $clerk_name=$_REQUEST['clerk_name']; $clerk_mobile1=$_REQUEST['clerk_mobile1']; $clerk_mobile2=$_REQUEST['clerk_mobile2']; $clerk_Email=$_REQUEST['clerk_Email']; $DD_postname=$_REQUEST['DD_postname']; $DD_name=$_REQUEST['DD_name']; $DD_mobile1=$_REQUEST['DD_mobile1']; $DD_mobile2=$_REQUEST['DD_mobile2']; $DD_Email=$_REQUEST['DD_Email']; if($sql=mysql_query("update login SET Op_postname='$Op_postname',Op_name='$Op_name',Mobileno='$Mobileno',mobileno2='$mobileno2',Email='$Email',clerk_postname='$clerk_postname',clerk_name='$clerk_name',clerk_mobile1='$clerk_mobile1',clerk_mobile1='$clerk_mobile1',clerk_mobile2='$clerk_mobile2',clerk_Email='$clerk_Email',DD_postname='$DD_postname',DD_name='$DD_name',DD_mobile1='$DD_mobile1',DD_mobile2='$DD_mobile2',DD_Email='$DD_Email' where department='$dept' and scheme='$sche' and district='$district' and sub_select='$hos'")) { echo "<script>"; echo "location.href='contact_report.php'"; echo "</script>"; $msg="<font color='navy'>Record saved </font>"; } else { $msg="ALready exist in record <br>update login SET Op_postname='$Op_postname',Op_name='$Op_name',Mobileno='$Mobileno',mobileno2='$mobileno2',Email='$Email',clerk_postname='$clerk_postname',clerk_name='$clerk_name',clerk_mobile1='$clerk_mobile1',clerk_mobile1='$clerk_mobile1',clerk_mobile2='$clerk_mobile2',clerk_Email='$clerk_Email',DD_postname='$DD_postname',DD_name='$DD_name',DD_mobile1='$DD_mobile1',DD_mobile2='$DD_mobile2',DD_Email='$DD_Email' where department='$dept' and scheme='$sche' and district='$district' and sub_select='$hos'"; } } ?> <!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> </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 Contact Detail</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']; $sql=mysql_query("SELECT * FROM login WHERE department='$a' and scheme='$b' and sub_select='$c' and district='$d'")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:65%;" 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>Update details</b></td></tr> <tr><td colspan="4"><br></td></tr> <tr> <td align="right"><strong><font color="navy">Department</font></strong></td> <td align="center"><input type='text' name="department" style="height:32px;width:250px;" readonly required="required" value='<?php echo $r['department'];?>'> </td> <td align="right"><strong><font color="navy">Scheme</font></strong></td> <td align="center"><input class="inp-text" name="scheme" id="scheme" required type="text" readonly style="height:32px;width:250px;" value='<?php echo $r['scheme'];?>'/> </td> </tr> <tr><td colspan="4"><br></td></tr> <tr> <td align="right"><strong><font color="navy">Division</font></strong></td> <td align="center"><input type='text' name="division" id="division" style="height:32px;width:250px;" readonly title="division is requried" required="required" value='<?php echo $r['division'];?>'> </td> <td align="right"><strong><font color="navy">District</font></strong></td> <td align="center"><input type='text' name="district" id="district" style="height:32px;width:250px;" readonly title="District1 is requried" required="required" value='<?php echo $r['district'];?>'> </td> </tr> <tr><td colspan="4"><br></td></tr> <tr> <td align="right"><strong><font color="navy">Sub Location</font></strong></td> <td align="center"><input type='text' name="sub_select" id="sub_select" style="height:32px;width:250px;" readonly title="District1 is requried" required="required" value='<?php echo $r['sub_select'];?>'> </td> <td colspan='2'></td> </tr> <tr><td colspan="4"><br></td></tr> <tr><td colspan="4" style="border:1px solid black;background-color:#2A5CAA;color:white" align="center"><b>Opreator Details</b></td></tr> <tr><td colspan="4"><br></td></tr> <tr> <td align="right"><strong><font color="navy">Opreator Postname</font></strong></td> <td align="center"><input name="Op_postname" id="Op_postname" type="text" style="width:250px;height:30px;color:black;" value="<?php echo $r['Op_postname'];?>"/></td> <td align="right"><strong><font color="navy">Opreator Name</font></strong></td> <td align="center"><input name="Op_name" id="Op_name" type="text" style="width:250px;height:30px;color:black;" value='<?php echo $r['Op_name'];?>' /></td> </tr> <tr><td colspan="4"><br></td></tr> <tr> <td align="right"><strong><font color="navy">Mobileno</font></strong></td> <td align="center"><input name="Mobileno" id="Mobileno" type="text" style="width:250px;height:30px;color:black;" value='<?php echo $r['Mobileno'];?>' /></td> <td align="right"><strong><font color="navy">Mobileno2</font></strong></td> <td align="center"><input name="mobileno2" id="mobileno2" type="text" style="width:250px;height:30px;color:black;" value='<?php echo $r['mobileno2'];?>' /></td> </tr> <tr><td colspan="4"><br></td></tr> <tr> <td align="right"><strong><font color="navy">Email Id</font></strong></td> <td align="center"><input name="Email" id="Email" type="text" style="width:250px;height:30px;color:black;" value='<?php echo $r['Email'];?>' /></td> <td colspan='2'></td> </tr> <tr><td colspan="4"><br></td></tr> <tr><td colspan="4" style="border:1px solid black;background-color:#2A5CAA;color:white" align="center"><b>Clerk Details</b></td></tr> <tr><td colspan="4"><br></td></tr> <tr> <td align="right"><strong><font color="navy">Clerk Postname</font></strong></td> <td align="center"><input name="clerk_postname" id="clerk_postname" type="text" style="width:250px;height:30px;color:black;" value='<?php echo $r['clerk_postname'];?>' /></td> <td align="right"><strong><font color="navy">Clerk Name</font></strong></td> <td align="center"><input name="clerk_name" id="clerk_name" type="text" style="width:250px;height:30px;color:black;" value='<?php echo $r['clerk_name'];?>' /></td> </tr> <tr><td colspan="4"><br></td></tr> <tr> <td align="right"><strong><font color="navy">Mobileno</font></strong></td> <td align="center"><input name="clerk_mobile1" id="clerk_mobile1" type="text" style="width:250px;height:30px;color:black;" value='<?php echo $r['clerk_mobile1'];?>' /></td> <td align="right"><strong><font color="navy">Mobileno2</font></strong></td> <td align="center"><input name="clerk_mobile2" id="clerk_mobile2" type="text" style="width:250px;height:30px;color:black;" value='<?php echo $r['clerk_mobile2'];?>' /></td> </tr> <tr><td colspan="4"><br></td></tr> <tr> <td align="right"><strong><font color="navy">Email Id</font></strong></td> <td align="center"><input name="clerk_Email" id="clerk_Email" type="text" style="width:250px;height:30px;color:black;" value='<?php echo $r['clerk_Email'];?>' /></td> <td colspan='2'></td> </tr> <tr><td colspan="4"><br></td></tr> <tr><td colspan="4" style="border:1px solid black;background-color:#2A5CAA;color:white" align="center"><b>DD/CSM Details</b></td></tr> <tr><td colspan="4"><br></td></tr> <tr> <td align="right"><strong><font color="navy">DD/CSM Postname</font></strong></td> <td align="center"><input name="DD_postname" id="DD_postname" type="text" style="width:250px;height:30px;color:black;" value='<?php echo $r['DD_postname'];?>' /></td> <td align="right"><strong><font color="navy">DD/CSM Name</font></strong></td> <td align="center"><input name="DD_name" id="DD_name" type="text" style="width:250px;height:30px;color:black;" value='<?php echo $r['DD_name'];?>' /></td> </tr> <tr><td colspan="4"><br></td></tr> <tr> <td align="right"><strong><font color="navy">Mobileno</font></strong></td> <td align="center"><input name="DD_mobile1" id="DD_mobile1" type="text" style="width:250px;height:30px;color:black;" value='<?php echo $r['DD_mobile1'];?>' /></td> <td align="right"><strong><font color="navy">Mobileno2</font></strong></td> <td align="center"><input name="DD_mobile2" id="DD_mobile2" type="text" style="width:250px;height:30px;color:black;" value='<?php echo $r['DD_mobile2'];?>' /></td> </tr> <tr><td colspan="4"><br></td></tr> <tr> <td align="right"><strong><font color="navy">Email Id</font></strong></td> <td align="center"><input name="DD_Email" id="DD_Email" type="text" style="width:250px;height:30px;color:black;" value='<?php echo $r['DD_Email'];?>' /></td> <td colspan='2'></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>