Tn Jones Shell Bypass
:
18.216.89.144
:
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
/
rpl
/
report
/
Upload File:
files >> /home/upgov/www/rpl/report/add_batches.php
<?php date_default_timezone_set("Asia/Kolkata"); ?> <?php include("connection.php"); ?> <?php $msg=""; if(isset($_REQUEST['submit'])) { $Candidate_Id = $_REQUEST['Candidate_Id']; $Trainer_id = $_REQUEST['Trainer_id']; $Trainer_Name = $_REQUEST['Trainer_Name']; $Training_Centre_Name = $_REQUEST['Training_Centre_Name']; $Location = $_REQUEST['Location']; $Trade = $_REQUEST['Trade']; $Training_Period_From = $_REQUEST['Training_Period_From']; $Training_Period_To = $_REQUEST['Training_Period_To']; $Batch_Code = $_REQUEST['Batch_Code']; $Batch_Start_Date = $_REQUEST['Batch_Start_Date']; $Batch_start_time = $_REQUEST['Batch_start_time']; $Batch_End_Date = $_REQUEST['Batch_End_Date']; $Batch_End_time = $_REQUEST['Batch_End_time']; $Batch_Assessment_date = $_REQUEST['Batch_Assessment_date']; $batch_assesment_time = $_REQUEST['batch_assesment_time']; $sql=mysql_query("UPDATE Uppcl_Rpl set Training_Centre_Name=UPPER('$Training_Centre_Name'),Location=UPPER('$Location'),Trainer_Name='$Trainer_Name',Trainer_id='$Trainer_id',Trade='$Trade',Training_Period_From='$Training_Period_From',Training_Period_To='$Training_Period_To',Batch_Code='$Batch_Code',Batch_Start_Date='$Batch_Start_Date',Batch_start_time='$Batch_start_time',Batch_End_Date='$Batch_End_Date',Batch_End_time='$Batch_End_time',Batch_Assessment_date='$Batch_Assessment_date', batch_assesment_time='$batch_assesment_time'Where Registration_no='$Candidate_Id'")or die(mysql_error()); if($sql==true) { $msg="<font color='navy'>Record saved</font>"; echo "<script>"; echo "location.href='tables2.php'"; echo "</script>"; } else { die("Details already Exist in our Record<br>"); } } ?> <!DOCTYPE html> <html> <head> <title>RPL-Rama</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_room.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> <link rel="stylesheet" type="text/css" href="css/styles.css" /> <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script> <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script> <script type="text/javascript"> $(function() { $("#Training_Period_From").datepicker({ dateFormat: "yy-mm-dd" }).val() }); $(function() { $("#Training_Period_To").datepicker({ dateFormat: "yy-mm-dd" }).val() }); $(function() { $("#Batch_Start_Date").datepicker({ dateFormat: "yy-mm-dd" }).val() }); $(function() { $("#Batch_End_Date").datepicker({ dateFormat: "yy-mm-dd" }).val() }); $(function() { $("#Batch_Assessment_date").datepicker({ dateFormat: "yy-mm-dd" }).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> </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"> <h1><b>UPPCL- RPL Add Batches</b></h1> <form method="POST" enctype="multipart/form-data"> <table style="border:1px solid black;width:50%;" class="form" cellpadding="2px" align="center" > <tr> <td colspan="2" style="height:45px;border:1px solid black;background-color:#2A5CAA;color:white;size:35px;" align="center"> <b>NEW Batches </b></td></tr> <tr><td colspan="2"><br></td></tr> <?php $Candidate_Id=$_REQUEST['id']; $sql2=mysql_query("select * from Uppcl_Rpl where Registration_no LIKE '$Candidate_Id'")or die("select * from Main_Table where Registration_no LIKE '$Candidate_Id'"); if($r = mysql_fetch_array($sql2)) { ?> <tr> <td align="right"><strong><font color="navy">Candidate_Id </font></strong></td> <td> <input type="text" name="Candidate_Id" id="Candidate_Id" autocomplete="OFF" required="required" style="width:350px;height:35px;text-transform:uppercase;color:black;" readonly value='<?php echo $r['Registration_no'];?>'> </td> </tr> <tr><td colspan="2"><br></td></tr> <tr> <td align="right"><strong><font color="navy">Candidate_Id </font></strong></td> <td> <input type="text" name="Candidate_Name" id="Candidate_Name" autocomplete="OFF" required="required" style="width:350px;height:35px;text-transform:uppercase;color:black;" readonly value='<?php echo $r['Candidate_Name'];?> <?php echo $r['Candidate_middle_name'];?> <?php echo $r['Candidate_last_name'];?>'> </td> </tr> <tr><td colspan="2"><br></td></tr> <tr> <td align="right"><strong><font color="navy">Training_Centre_Name </font></strong></td> <td> <select id="Training_Centre_Name" name="Training_Centre_Name" required='required' style="width:350px;height:30px;font-weight:bold;" onChange="showUser0(this.value)"> <option value="<?php echo $r['Training_Centre_Name'];?>"><?php echo $r['Training_Centre_Name'];?></option> <option value="EDC Basti">EDC Basti</option> <option value="EDC Faizabad">EDC Faizabad</option> <option value="EDC Chandauli">EDC Chandauli</option> <option value="EDC Gautam buddh nagar">EDC Gautam buddh nagar</option> <option value="EDC Kanpur Dehat">EDC Kanpur Dehat</option> </select> </td> </tr> <tr><td colspan="2"><br></td></tr> <tr> <td align="right"><strong><font color="navy"> Location </font></strong></td> <td> <select id="Location" name="Location" required='required' style="width:350px;height:30px;font-weight:bold;" onChange="showUser0(this.value)"> <option value="<?php echo $r['Location'];?>"><?php echo $r['Location'];?></option> <option value="ERC Academy Shivdaspur Masaudha Ayodhya 224133">ERC Academy Shivdaspur Masaudha Ayodhya 224133 Faizabad</option> <option value="Mudghat Katra Gandhi Nagar Basti 272001">Mudghat Katra Gandhi Nagar Basti 272001</option> <option value="Ganga Pvt. ITI Jiwadipur Sindhitali Chanduali 221009">Ganga Pvt. ITI Jiwadipur Sindhitali Chanduali 221009</option> </select> </td> </tr> <tr><td colspan="2"><br></td></tr> <tr> <td align="right"><strong><font color="navy">Trainer_id </font></strong></td> <td> <input type="text" name="Trainer_id" id="Trainer_id" autocomplete="OFF" required="required" style="width:350px;height:35px;text-transform:uppercase;color:black;" value='<?php echo $r['Trainer_id'];?>'> </td> </tr> <tr><td colspan="2"><br></td></tr> <tr> <td align="right"><strong><font color="navy">Trainer_Name </font></strong></td> <td> <select id="Trainer_Name" name="Trainer_Name" required='required' style="width:350px;height:30px;font-weight:bold;" onChange="showUser0(this.value)"> <option value="<?php echo $r['Trainer_Name'];?>"><?php echo $r['Trainer_Name'];?></option> <option value="Vardan Shankar Tripathi">Vardan Shankar Tripathi - 102</option> <option value="Rohit Kumar Tiwari">Rohit Kumar Tiwari - 105 (Basti)</option> <option value="Siya Ram Yadav">Siya Ram Yadav - 106 (Faizabad)</option> <option value="Omkar Singh">Omkar Singh - 107 (Chandauli)</option> </select> </td> </tr> <tr><td colspan="2"><br></td></tr> <tr> <td align="right"><strong><font color="navy"> Trade </font></strong></td> <td> <input type="text" name="Trade" id="Trade" autocomplete="OFF" required="required" style="width:350px;height:35px;text-transform:uppercase;color:black;" readonly value='<?php echo $r['Trade'];?>'> </td> </tr> <tr><td colspan="2"><br></td></tr> <tr> <td align="right"><strong><font color="navy">Training_Period_From </font></strong></td> <td> <input type="text" name="Training_Period_From" id="Training_Period_From" autocomplete="OFF" required="required" style="width:350px;height:35px;text-transform:uppercase;color:black;" value='<?php echo $r['Training_Period_From'];?>'> </td> </tr> <tr><td colspan="2"><br></td></tr> <tr> <td align="right"><strong><font color="navy">Training_Period_To </font></strong></td> <td> <input type="text" name="Training_Period_To" id="Training_Period_To" autocomplete="OFF" required="required" style="width:350px;height:35px;text-transform:uppercase;color:black;" value='<?php echo $r['Training_Period_To'];?>'> </td> </tr> <tr><td colspan="2"><br></td></tr> <tr> <td align="right"><strong><font color="navy">Batch_Code </font></strong></td> <td> <select id="Batch_Code" name="Batch_Code" required='required' style="width:350px;height:30px;font-weight:bold;" onChange="showUser0(this.value)"> <option value="<?php echo $r['Batch_Code'];?>"><?php echo $r['Batch_Code'];?></option> <option value="BATCH A LINE MAN">BATCH A LINE MAN</option> <option value="BATCH B LINE MAN">BATCH B LINE MAN</option> <option value="BATCH C LINE MAN">BATCH C LINE MAN</option> <option value="BATCH D LINE MAN">BATCH D LINE MAN</option> <option value="BATCH E LINE MAN">BATCH E LINE MAN</option> <option value="BATCH F LINE MAN">BATCH F LINE MAN</option> <option value="BATCH G LINE MAN">BATCH G LINE MAN</option> <option value="BATCH H LINE MAN">BATCH H LINE MAN</option> <option value="BATCH I LINE MAN">BATCH I LINE MAN</option> <option value="BATCH J LINE MAN">BATCH J LINE MAN</option> <option value="BATCH A SSO">BATCH A SSO</option> <option value="BATCH B SSO">BATCH B SSO</option> <option value="BATCH C SSO">BATCH C SSO</option> <option value="BATCH D SSO">BATCH D SSO</option> <option value="BATCH E SSO">BATCH E SSO</option> <option value="BATCH F SSO">BATCH F SSO</option> <option value="BATCH G SSO">BATCH G SSO</option> <option value="BATCH H SSO">BATCH H SSO</option> <option value="BATCH I SSO">BATCH I SSO</option> <option value="BATCH J SSO">BATCH J SSO</option> </select> </td> </tr> <tr><td colspan="2"><br></td></tr> <tr> <td align="right"><strong><font color="navy">Batch_Start_Date </font></strong></td> <td> <input type="text" name="Batch_Start_Date" id="Batch_Start_Date" autocomplete="OFF" required="required" style="width:350px;height:35px;text-transform:uppercase;color:black;" value='<?php echo $r['Batch_Start_Date'];?>'> </td> </tr> <tr><td colspan="2"><br></td></tr> <tr> <td align="right"><strong><font color="navy">Batch_start_time </font></strong></td> <td> <input type="time" name="Batch_start_time" id="Batch_start_time" autocomplete="OFF" required="required" style="width:350px;height:35px;text-transform:uppercase;color:black;" value='<?php echo $r['Batch_start_time'];?>'> </td> </tr> <tr><td colspan="2"><br></td></tr> <tr> <td align="right"><strong><font color="navy">Batch_End_Date </font></strong></td> <td> <input type="text" name="Batch_End_Date" id="Batch_End_Date" autocomplete="OFF" required="required" style="width:350px;height:35px;text-transform:uppercase;color:black;" value='<?php echo $r['Batch_End_Date'];?>'> </td> </tr> <tr><td colspan="2"><br></td></tr> <tr> <td align="right"><strong><font color="navy">Batch_End_time </font></strong></td> <td> <input type="time" name="Batch_End_time" id="Batch_End_time" autocomplete="OFF" required="required" style="width:350px;height:35px;text-transform:uppercase;color:black;" value='<?php echo $r['Batch_End_time'];?>'> </td> </tr> <tr><td colspan="2"><br></td></tr> <tr> <td align="right"><strong><font color="navy">Batch_Assessment_date </font></strong></td> <td> <input type="text" name="Batch_Assessment_date" id="Batch_Assessment_date" autocomplete="OFF" required="required" style="width:350px;height:35px;text-transform:uppercase;color:black;" value='<?php echo $r['Batch_Assessment_date'];?>'> </td> </tr> <tr><td colspan="2"><br></td></tr> <tr> <td align="right"><strong><font color="navy">batch_assesment_time </font></strong></td> <td> <input type="time" name="batch_assesment_time" id="batch_assesment_time" autocomplete="OFF" required="required" style="width:350px;height:35px;text-transform:uppercase;color:black;" value='<?php echo $r['batch_assesment_time'];?>'> </td> </tr> <tr><td colspan="2"><br></td></tr> <tr> <td colspan='2' align='right'> <input type="submit" name='submit' value="submit" style="font-weight:bold;width:80px;height:30px;background-color:#2A5CAA;color:white;"> <a href='tables2.php'> <input type="button" name="back" value="BACK" id="back" style="font-weight:bold;width:80px;height:30px;background-color:#2A5CAA;color:white;"/></a> </td> </tr> <tr><td colspan="2"><br></td></tr> </table> <?php } ?> </form> <br><br> <center><font size='+2' color='red'><?php echo $msg;?></font></center> </div> </div> <div class="footer"> <div class="container"> <div class="clearfix"></div> <div class="footer-bottom"> <p>© 2018 DDU-GKY (Rama Infotech Pvt Ltd). All rights reserved | Design by <a href="http://ramaipl.com">Rama Infotech Pvt Ltd</a></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>