Tn Jones Shell Bypass
:
18.116.27.78
:
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_empid.php
<?php date_default_timezone_set("Asia/Kolkata"); ?> <?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 include("connection.php"); $msg=""; if(isset($_REQUEST['submit'])) { $uploadDir = 'aadhardoc/'; $imgbank= $ramvalue."BANK"."-"; $extension = end(explode(".", $_FILES["bank_upload_2"]["name"])); if ($_FILES["bank_upload_2"]["error"] > 0){ echo "" . $_FILES["bank_upload_2"]["error"]; }else{ $bank_upload_2= $uploadDir . $image_name1 . $_FILES["bank_upload_2"]["name"]; move_uploaded_file($_FILES["bank_upload_2"]["tmp_name"], $bank_upload_2); } $emp_id=$_REQUEST['emp_id']; $emp_type=$_REQUEST['emp_type']; $oldemp_id=$_REQUEST['oldemp_id']; $department=$_REQUEST['department']; $scheme=$_REQUEST['scheme']; $posting_place=$_REQUEST['posting_place']; $division=$_REQUEST['division']; $district=$_REQUEST['district']; $post=$_REQUEST['post']; $emp_name=$_REQUEST['emp_name']; $emp_fname=$_REQUEST['emp_fname']; $emp_dob=$_REQUEST['emp_dob']; $emp_ms=$_REQUEST['emp_ms']; $emp_add=$_REQUEST['emp_add']; $emp_qualification=$_REQUEST['emp_qualification']; $emp_institute =$_REQUEST['emp_institute']; $emp_passing_year =$_REQUEST['emp_passing_year']; $emp_epf=$_REQUEST['emp_epf']; $emp_uan=$_REQUEST['emp_uan']; $emp_esi=$_REQUEST['emp_esi']; $emp_nom=$_REQUEST['emp_nom']; $joining_date=$_REQUEST['joining_date']; $updated_date=date('m/d/y,h:i:s'); $aadharno=$_REQUEST['aadharno']; $mobile_no=$_REQUEST['mobile_no']; $mobile_no2=$_REQUEST['mobile_no2']; $bank=$_REQUEST['bank']; $ifsc=$_REQUEST['ifsc']; $bank_add=$_REQUEST['bank_add']; $ifsc2=$_REQUEST['ifsc2']; $uploaded_bank_date=date('Y-m-d'); $status=$_REQUEST['status']; if($sql=mysql_query("UPDATE emp set emp_type=UPPER('$emp_type'),oldemp_id=UPPER('$oldemp_id'),department=UPPER('$department'),scheme=UPPER('$scheme'),division=UPPER('$division'),posting_place=UPPER('$posting_place'),district=UPPER('$district'),post=UPPER('$post'),emp_name=UPPER('$emp_name'),emp_fname=UPPER('$emp_fname'),emp_dob=UPPER('$emp_dob'),emp_ms=UPPER('$emp_ms'), emp_add=UPPER('$emp_add'), emp_qualification=UPPER('$emp_qualification'), emp_institute=UPPER('$emp_institute'), emp_passing_year = UPPER('$emp_passing_year'), emp_epf=UPPER('$emp_epf'),emp_uan=UPPER('$emp_uan'),emp_esi=UPPER('$emp_esi'),emp_nom=UPPER('$emp_nom'),joining_date='$joining_date',updated_by='$username',updated_date=UPPER('$updated_date'),aadharno='$aadharno',bank='$bank',ifsc='$ifsc',mobile_no='$mobile_no',mobile_no2='$mobile_no2',status='$status',bank_add='$bank_add',ifsc2='$ifsc2',uploaded_bank_date='$uploaded_bank_date',bank_upload_2='$bank_upload_2' Where emp_id='$emp_id'")) { echo "<script>"; echo "location.href='view_empid.php'"; echo "</script>"; $msg="<font color='navy'>Record saved</font>"; } else { $msg="ALready exist in record<br><br>"; } } ?> <!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> $(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> <!--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> </div> <!-- //header --> <!-- pop-up-box --> <!-- //pop-up-box --> <script src="js/jquery.magnific-popup.js" type="text/javascript"></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(); } function billprocess() { var wages=parseInt(document.getElementById("wages").value); var sertext=Math.round((wages/100)*18); var X=Math.round((sertext)+(wages)); document.getElementById("service_tax").value=sertext; document.getElementById("g_total").value=X; } </script> <!-- banner --> <table align="right"> <tr> <td align="right"> <a href="logout.php" target="_blank"><font color="navy" size="3"><input type="button" value="Logout" align="right" style="font-weight:bold;width:90px;height:35px;background-color:#20B2AA;color:white;"/></font></a> </td></tr></table><br> <!-- //banner --> <!-- contact --> <h4 align="right" ><font color="white" ><a href="help_file.pdf" target="_blank" >Help File</a> </font></h4> <h2 align="Center"><font color="#20B2AA"><b>UPDATE EMPLOYEE ID DETAILS</b></font></h2> <br> <?php $emp_id=$_REQUEST['id']; $sql2=mysql_query("select * from emp where emp_id LIKE '$emp_id'")or die("select * from emp where emp_id LIKE '$emp_id'"); if($r = mysql_fetch_array($sql2)) { ?> <form method='POST' onClick='billprocess();' enctype="multipart/form-data"> <table align="center" border="1" cellpadding="0px" cellspacing="0px" style='border:1px soild black;'> <tr> <td colspan="4" style="background-color:#20B2AA;color:white;height:45px;font-size:25px;" align="center"><b>EMPLOYEE DETAILS</b></td> </tr> <tr><td colspan="4"><br></td></tr> <tr> <td align="left"><strong><font color="navy">EMP ID </font><font color="red">* </font></strong></td> <td><input name="emp_id" id="emp_id" readonly value="<?php echo $r['emp_id'];?>" style="height:42px;width:250px;color:#000000;background-color:#DBDED9;" required="required"/> </td> <td align="left"><strong><font color="navy">OLD EMP ID </font></strong></td> <td><input name="oldemp_id" id="oldemp_id" value="<?php echo $r['oldemp_id'];?>" style="height:42px;width:250px;color:#000000;" /> </td> </tr> <tr><td colspan="4"><br></td></tr> <tr> <td align="left"><strong><font color="navy">DEPARTMENT</font><font color="red">* </font></strong></td> <td> <input type='text' value="<?php echo $r['department'];?>" name="department" id="department" style="width:250px;height:42px;text-transform:uppercase;color:black;" required="required"> </td> <td align="left"><strong><font color="navy">SCHEME </font><font color="red">* </font></strong></td> <td> <input type='text' name="scheme" value="<?php echo $r['scheme'];?>" id="scheme" style="width:250px;height:42px;text-transform:uppercase;color:black;" required="required" > </td> </tr> <tr><td colspan="4"><br></td></tr> <tr> <td align="left"><strong><font color="navy">DIVISION </font><font color="red">* </font></strong></td> <td><input name="division" id="division" value="<?php echo $r['division'];?>" style="height:42px;width:250px;color:#000000;text-transform:uppercase;" required="required"/> </td> <td align="left"><strong><font color="navy">DISTRICT </font><font color="red">* </font></strong></td> <td><input name="district" id="district" value="<?php echo $r['district'];?>" style="height:42px;width:250px;color:#000000;text-transform:uppercase;" required="required"/> </td> </tr> <tr><td colspan="4"><br></td></tr> <tr> <td align="left"><strong><font color="navy">POSTING_PLACE </font><font color="red">* </font></strong></td> <td><input name="posting_place" id="posting_place" value="<?php echo $r['posting_place'];?>" style="height:42px;width:250px;color:#000000;text-transform:uppercase;" required="required"/> </td> <td><strong><font color="navy">POST NAME</font><font color="red">* </font></strong></td> <td><input name="post" id="post" value="<?php echo $r['post'];?>" style="height:42px;width:250px;color:#000000;text-transform:uppercase;" /></td> </tr> <tr><td colspan="4"><br></td></tr> <tr> <td align="left"><strong><font color="navy">EMP_NAME</font><font color="red">* </font></strong></td> <td><input name="emp_name" id="emp_name" value="<?php echo $r['emp_name'];?>" style="height:42px;width:250px;color:#000000;text-transform:uppercase;" /></td> <td><strong><font color="navy">EMP_TYPE</font><font color="red">* </font></strong></td> <td> <select name="emp_type" id="emp_type" style="height:42px;width:250px;color:#000000;text-transform:uppercase;" > <option value="<?php echo $r['emp_type'];?>"><?php echo $r['emp_type'];?></option> <option value="FRESH">FRESH</option> <option value="TRANSFERED">TRANSFERED</option> <option value="REJOINED">REJOINED</option> </select> </td> <tr><td colspan="4"><br></td></tr> <tr><td align="left"><strong><font color="navy">EMP_Father's Name</font><font color="red">* </font></strong></td> <td><input name="emp_fname" id="emp_fname" value="<?php echo $r['emp_fname'];?>" style="height:42px;width:250px;color:#000000;text-transform:uppercase;" /></td> <td align="left"><strong><font color="navy">Employee DOB </font><font color="red">* </font></strong></td> <td> <input name="emp_dob" id="emp_dob" value="<?php echo $r['emp_dob'];?>" style="height:32px;width:240px;text-transform:uppercase;" /></td> </tr> <tr><td colspan="4"><br></td></tr> <tr> <td align="left"><strong><font color="navy">Employee Marital Status </font><font color="red">* </font></strong></td> <td><select name="emp_ms" id="emp_ms" style="height:32px;width:240px;text-transform:uppercase;" required="required" onchange='fun(this.value)'> <option value="<?php echo $r['emp_ms'];?>"><?php echo $r['emp_ms'];?></option> <option value="Married">Married</option> <option value="Un-Married">Un-Married</option> <option value="Widow/Widower">Widow/Widower</option> <option value="Divorcee">Divorcee</option> </select> </td> <td align="left"><strong><font color="navy">Employee Address </font><font color="red">* </font></strong></td> <td> <input name="emp_add" id="emp_add" value="<?php echo $r['emp_add'];?>" type="text" style="height:32px;width:240px;text-transform:uppercase;" /> </td> </tr> <tr><td colspan="4"><br></td></tr> <tr> <td align="left"><strong><font color="navy">Employee Highest Qualification </font><font color="red"> </font></strong> </td> <td> <input name="emp_qualification" id="emp_qualification" value="<?php echo $r['emp_qualification'];?>" type="text" style="height:32px;width:240px;text-transform:uppercase;" /> </td> <td align="left"><strong><font color="navy">Institute/College Name </font><font color="red"> </font></strong></td> <td> <input name="emp_institute" id="emp_institute" value="<?php echo $r['emp_institute'];?>" type="text" style="height:32px;width:240px;text-transform:uppercase;" /> </td> </tr> <tr><td colspan="4"><br></td></tr> <tr> <td align="left"><strong><font color="navy">Employee Passing Year </font><font color="red"> </font></strong> </td> <td> <input name="emp_passing_year" id="emp_passing_year" value="<?php echo $r['emp_passing_year'];?>" type="text" style="height:32px;width:240px;text-transform:uppercase;" /> </td> <td align="left"><strong><font color="navy"> </font><font color="red"></font></strong></td> <td> </td> </tr> <tr><td colspan="4"><br></td></tr> <tr> <td align="left"><strong><font color="navy">Employee EPF No. </font><font color="red">* </font></strong></td> <td> <input name="emp_epf" id="emp_epf" value="<?php echo $r['emp_epf'];?>" style="height:32px;width:240px;text-transform:uppercase;" /></td> <td align="left"><strong><font color="navy">Employee UAN No. </font><font color="red">* </font></strong></td> <td> <input name="emp_uan" id="emp_uan" value="<?php echo $r['emp_uan'];?>" style="height:32px;width:240px;text-transform:uppercase;" /></td> </tr> <tr><td colspan="4"><br></td></tr> <td align="left"><strong><font color="navy">Employee ESI No. </font><font color="red">* </font></strong></td> <td> <input name="emp_esi" id="emp_esi" value="<?php echo $r['emp_esi'];?>" style="height:32px;width:240px;text-transform:uppercase;" /></td> <td align="left"><strong><font color="navy">Nominee Name. </font><font color="red">* </font></strong></td> <td> <input name="emp_nom" id="emp_nom" value="<?php echo $r['emp_nom'];?>" style="height:32px;width:240px;text-transform:uppercase;" /></td> <tr><td colspan="4"><br></td></tr> <tr> <td align="left"><strong><font color="navy">DATE OF JOINING </font></strong></td> <td><input name="joining_date" id="joining_date" value="<?php echo $r['joining_date'];?>" style="height:42px;width:250px;color:#000000;text-transform:uppercase;" /> </td> <td align="left"><strong><font color="navy">Employee Aadhar No </font><font color="red">* </font></strong></td> <td> <input name="aadharno" id="aadharno" type="text" style="height:32px;width:240px;text-transform:uppercase;" value="<?php echo $r['aadharno'];?>" title="Aadhar No is requried" placeholder="Aadhar No" required="required"/> </td> </tr> <tr><td colspan="4"><br></td></tr> <tr> <td align="left"><strong><font color="navy">Mobile No </font><font color="red">* </font></strong></td> <td> <input name="mobile_no" id="mobile_no" maxlength="10" type="text" style="height:32px;width:240px;" value="<?php echo $r['mobile_no'];?>" placeholder="Mobile No" required="required"/> </td> <td align="left"><strong><font color="navy">Mobile No 2 </font><font color="red">* </font></strong></td> <td> <input name="mobile_no2" id="mobile_no2" maxlength="10" type="text" style="height:32px;width:240px;" value="<?php echo $r['mobile_no2'];?>" placeholder="Mobile No 2" /> </td> </tr> <tr> <td align="left"> </td> <td> </td> <td align="left"> </td> <td> </td> </tr> <tr> <td align="left"><strong><font color="navy">Bank A/C No. </font><font color="red">* </font></strong></td> <td> <input name="bank" id="bank" maxlength="17" type="text" style="height:32px;width:240px;" value="<?php echo $r['bank'];?>" placeholder="Bank A/C No." required="required"/> </td> <td align="left"><strong><font color="navy">IFSC </font><font color="red">* </font></strong></td> <td> <input name="ifsc" id="ifsc" maxlength="17" type="text" style="height:32px;width:240px;" value="<?php echo $r['ifsc'];?>" placeholder="IFSC" /> </td> </tr> <tr><td colspan="4"><br></td></tr> <tr> <td align="left"><strong><font color="navy">Bank A/C No.- 2 </font><font color="red">* </font></strong></td> <td> <input name="bank_add" id="bank_add" maxlength="17" type="text" style="height:32px;width:240px;" value="<?php echo $r['bank_add'];?>" placeholder="Bank A/C No." /> </td> <td align="left"><strong><font color="navy">IFSC -2 </font><font color="red">* </font></strong></td> <td> <input name="ifsc2" id="ifsc2" maxlength="17" type="text" style="height:32px;width:240px;" value="<?php echo $r['ifsc2'];?>" placeholder="IFSC" /> </td> </tr> <tr><td colspan="4"><br></td></tr> <tr> <td align="left"><strong><font color="navy">Status </font><font color="red">* </font></strong></td> <td> <select name="status" id="status" maxlength="10" type="text" style="height:32px;width:240px;" required="required"> <option value="<?php echo $r['status'];?>"><?php echo $r['status'];?></option> <option value="ACTIVE">ACTIVE</option> <option value="INACTIVE">INACTIVE</option> </td> <td align="left"><strong><font color="navy">upload Bank Passbook 2 (Only JPEG) </font><font color="red"> </font></strong></td> <td> <?php $att6=$r["bank_upload_2"]; if($att6 =='') { ?> <input name="bank_upload_2" id="bank_upload_2" type="file" style="height:32px;width:240px;text-transform:uppercase;" title="Bank Passbook is requried" /> <?php } else { ?> <font color="red"> <input name="bank_upload_2" id="bank_upload_2" type="hidden" style="height:32px;width:240px;text-transform:uppercase;" value="<?php echo $r['bank_upload_2'];?>"/> <a href='<?php echo($r["bank_upload_2"]);?>'>Bank pass book</a> </font> <?php } ?> </td> </tr> <tr><td colspan="4"><br></td></tr> <tr> <td align="left"> <div id="old"></div></td> </tr> <tr> <td colspan="4" align="center"> <input name="submit" type="submit" value="UPDATE" style="font-weight:bold;width:90px;height:35px;background-color:#20B2AA;color:white;"/> <a href='view_empid.php'> <input type="button" name="back" value="BACK" id="back" style="font-weight:bold;width:90px;height:35px;background-color:#20B2AA;color:white;"/></a> </td> </td> </tr> </table> </form> <?php } ?> <?php echo $msg;?> <!-- //contact --> <br> <!-- footer --> <div class="copyright"> <div align="center"> <p><font color="white">© 2019 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>