Tn Jones Shell Bypass
:
18.117.11.13
:
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/tables6.php
<?php include("connection.php"); session_start(); if (!isset($_SESSION['User']) || ($_SESSION['password'] == '')) { header("location:index.php"); exit(); } if(isset($_SESSION['User'])) { $name=$_SESSION['User']; } $user_query = mysql_query("select * from login where User ='$name'")or die(mysql_error()); $user_row = mysql_fetch_array($user_query); $username = $user_row['User']; ?> <!DOCTYPE HTML> <html> <head> <title>Admin RPL</title> <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="Shoppy 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> <!-- jQuery (necessary for Bootstrap's JavaScript plugins) --> <link href="css/bootstrap.css" rel="stylesheet" type="text/css" media="all"> <!-- Custom Theme files --> <link href="css/style.css" rel="stylesheet" type="text/css" media="all"/> <!--js--> <script src="js/jquery-2.1.1.min.js"></script> <!--icons-css--> <link href="css/font-awesome.css" rel="stylesheet"> <link href="bower_components/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet"> <!-- MetisMenu CSS --> <link href="bower_components/metisMenu/dist/metisMenu.min.css" rel="stylesheet"> <!-- DataTables CSS --> <link href="bower_components/datatables-plugins/integration/bootstrap/3/dataTables.bootstrap.css" rel="stylesheet"> <!-- DataTables Responsive CSS --> <link href="bower_components/datatables-responsive/css/dataTables.responsive.css" rel="stylesheet"> <!-- Custom CSS --> <link href="bower_components/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css"> <!--Google Fonts--> <link href='//fonts.googleapis.com/css?family=Carrois+Gothic' rel='stylesheet' type='text/css'> <link href='//fonts.googleapis.com/css?family=Work+Sans:400,500,600' rel='stylesheet' type='text/css'> <!--static chart--> <script src="js/Chart.min.js"></script> <!--//charts--> <!-- geo chart --> <script src="//cdn.jsdelivr.net/modernizr/2.8.3/modernizr.min.js" type="text/javascript"></script> <script>window.modernizr || document.write('<script src="lib/modernizr/modernizr-custom.js"><\/script>')</script> <!--<script src="lib/html5shiv/html5shiv.js"></script>--> <!-- Chartinator --> <script src="js/chartinator.js" ></script> <!--geo chart--> <!--skycons-icons--> <script src="js/skycons.js"></script> <!--//skycons-icons--> <script type="text/javascript"> function ExportToExcel(mytblId) { var htmltable = document.getElementById('fixTable'); var html = htmltable.outerHTML; window.open('data:application/vnd.ms-excel,' + encodeURIComponent(html)); } </script> </head> <body> <div class="page-container"> <div class="mother-grid-inner"><br> <form name="frm_image" method="post"> <?php $w=$_REQUEST["t0"]; $w1=$_REQUEST["t1"]; $w2=$_REQUEST["t2"]; $w3=$_REQUEST["t3"]; $w4=$_REQUEST["t4"]; $w5=$_REQUEST["t5"]; ?> <center> <table> <td><font color="black"><b>Aadharcard_no</b></font><br><input type="text" name="t2" value="<?php echo $w2; ?>" style="font-weight:bold;height:30px;width:180px;" /> </td> <td><font color="black"><b>Name of Candidate</b></font><br><input type="text" name="t3" value="<?php echo $w3; ?>" style="font-weight:bold;height:30px;width:180px;" /> </td> <td><font color="black"><b>Batch Code</b></font><br><select id="t0" name="t0" style="width:180px;height:30px;font-weight:bold;" > <option value="<?php echo $w; ?>"><?php echo $w; ?></option> <option value="">NONE</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> <td><font color="black"><b>District</b></font><br> <select id="t5" name="t5" style="width:180px;height:30px;font-weight:bold;" onChange="showUser0(this.value)"> <option value="<?php echo $w5; ?>"><?php echo $w5; ?></option> <option value="PRATAPGARH">Pratapgarh</option> <option value="FARRUKHABAD">Farrukhabad</option> <option value="FIROZABAD">Firozabad</option> <option value="BARABANKI">Barabanki</option> <option value="Basti">Basti</option> <option value="Faizabad">Faizabad</option> <option value="Chandauli">Chandauli</option> <option value="Gautam buddh nagar">Gautam buddh nagar</option> <option value="Kanpur Dehat">Kanpur Dehat</option> </select> </td> <td> <br><input type="submit" value="SEARCH" style='background-color:#002561;width:100px;height:30px;color:white;font-weight:Bold;font-size:16px;' /> </td> <td> <br><a href='dashboard.php'> <input type="Button" name='Back' id='Back' value="BACK" style='background-color:#002561;width:100px;height:30px;color:white;font-weight:Bold;font-size:16px;'></a></td> </table> <?php //include of db config file include ('paginate.php'); //include of paginat page $per_page = 5000; // number of results to show per page $up_id=$_REQUEST[id]; $up_app=$_REQUEST[app]; if($up_app==1 || $up_app==2 || $up_app==3) { if($up_app==1) $SQL21="UPDATE Uppcl_Rpl set Traning_completed='Completed' where Registration_no='$up_id'"; else if($up_app==2) $SQL21="UPDATE Uppcl_Rpl set Traning_completed='Not Completed' where Registration_no='$up_id'"; else $SQL21="UPDATE Uppcl_Rpl set Traning_completed='Pending' where Registration_no='$up_id'"; $rs21 = mysql_query($SQL21); } $up_ap=$_REQUEST[ap]; if($up_ap==1 || $up_ap==2 || $up_ap==3) { if($up_ap==1) $SQL2="UPDATE Uppcl_Rpl set Result='Pass' where Registration_no='$up_id'"; else if($up_ap==2) $SQL2="UPDATE Uppcl_Rpl set Result='Fail' where Registration_no='$up_id'"; else $SQL2="UPDATE Uppcl_Rpl set Result='Pending' where Registration_no='$up_id'"; $rs2 = mysql_query($SQL2); } $result = mysql_query("SELECT * FROM Uppcl_Rpl where DomicileDistrict like '$w5%' And Aadharcard_no like '$w2%' and Candidate_Name like '$w3%' and Batch_Code like '$w%' order by Registration_no Desc"); $total_results = mysql_num_rows($result); $total_pages = ceil($total_results / $per_page);//total pages we going to have //-------------if page is setcheck------------------// if (isset($_GET['page'])) { $show_page = $_GET['page']; //it will telles the current page if ($show_page > 0 && $show_page <= $total_pages) { $start = ($show_page - 1) * $per_page; $end = $start + $per_page; } else { // error - show first set of results $start = 0; $end = $per_page; } } else { // if page isn't set, show first set of results $start = 0; $end = $per_page; } // display pagination $page = intval($_GET['page']); $tpages=$total_pages; if ($page <= 0) $page = 1; ?> <div class="panel panel-default"> <div class="panel-heading"> <b>CANDIDATE RESULT</b> <a href='#' onclick='ExportToExcel()'><img src='images/excel.png' title='excel' height='20' align='right' style='margin-right:10px;text-align:right;' ></a> </div> </h1> <?php $reload = $_SERVER['PHP_SELF'] . "?tpages=" . $tpages; echo "<div class='panel-body'>"; echo "<div class='table-responsive'> "; // display data in table echo "<table id='fixTable' border='1' class='table table-striped table-bordered table-hover' style='font-size:12px;'>"; echo " <thead> <tr> <th>S.No</th> <th>Registration_no</th> <th>Training_Centre_Name</th> <th>Trade</th> <th>Batch_Code</th> <th>Candidate_Name</th> <th>Father_Name</th> <th>Aadharcard_no</th> <th>Traning Status</th> <th>Result</th> </tr> </thead>"; // loop through results of database query, displaying them in the table $count1=0; for ($i = $start; $i < $end; $i++) { $count1=$i+1; // make sure that PHP doesn't try to show results that don't exist if ($i == $total_results) { break; } // echo out the contents of each row into a table echo " <tbody>"; echo "<tr " . $cls . " class='odd gradeX'>"; ?> <td style='padding: 10px 0;text-align: center;'><?php echo $count1;?></td> <td style='padding: 10px 0;text-align: center;'><?php echo mysql_result($result, $i, 'Registration_no');?></td> <td style='padding: 10px 0;text-align: center;'><?php echo mysql_result($result, $i, 'Training_Centre_Name');?></td> <td style='padding: 10px 0;text-align: center;'><?php echo mysql_result($result, $i, 'Trade');?></td> <td style='padding: 10px 0;text-align: center;'><?php echo mysql_result($result, $i, 'Batch_Code');?></td> <td style='padding: 10px 0;text-align: center;'><?php echo mysql_result($result, $i, 'Candidate_Name');?> <?php echo mysql_result($result, $i, 'Candidate_middle_name');?> <?php echo mysql_result($result, $i, 'Candidate_last_name');?></td> <td style='padding: 10px 0;text-align: center;'><?php echo mysql_result($result, $i, 'Father_Name');?> <?php echo mysql_result($result, $i, 'Father_middle_name');?> <?php echo mysql_result($result, $i, 'Father_last_name');?></td> <td style='padding: 10px 0;text-align: center;'><?php echo mysql_result($result, $i, 'Aadharcard_no');?></td> <td> <?php $att6=mysql_result($result, $i, 'Traning_completed'); if($att6 =='') {?> <a href=<?php echo "tables6.php?id=".mysql_result($result, $i, 'Registration_no')."&app=1"; ?>>Completed</a> <br> <a href=<?php echo "tables6.php?id=".mysql_result($result, $i, 'Registration_no')."&app=2"; ?>>Not Completed</a> <?php } else { echo mysql_result($result, $i, 'Traning_completed'); }?> </td> <td> <?php $att6=mysql_result($result, $i, 'Result'); if($att6 =='') {?> <a href=<?php echo "tables6.php?id=".mysql_result($result, $i, 'Registration_no')."&ap=1"; ?>>Pass</a> <br> <a href=<?php echo "tables6.php?id=".mysql_result($result, $i, 'Registration_no')."&ap=2"; ?>>Fail</a> <?php } else { echo mysql_result($result, $i, 'Result'); }?> </td> </tr> <?php echo " </tbody>"; } // close table> echo "</table>"; echo '<div class="pagination"><ul>'; if ($total_pages > 1) { echo paginate($reload, $show_page, $total_pages); } echo "</ul></div>"; // pagination ?> </div> <!-- /.table-responsive --> <!-- /.panel-body --> </div> </div> <!--inner block end here--> <!--copy rights start here--> <div class="copyrights"> <p>© 2016 Shoppy. All Rights Reserved | Design by <a href="http://w3layouts.com/" target="_blank">W3layouts</a> </p> </div> <!--COPY rights end here--> </div> </div> <!--slider menu--> <!--slide bar menu end here--> <script> var toggle = true; $(".sidebar-icon").click(function() { if (toggle) { $(".page-container").addClass("sidebar-collapsed").removeClass("sidebar-collapsed-back"); $("#menu span").css({"position":"absolute"}); } else { $(".page-container").removeClass("sidebar-collapsed").addClass("sidebar-collapsed-back"); setTimeout(function() { $("#menu span").css({"position":"relative"}); }, 400); } toggle = !toggle; }); </script> <!--scrolling js--> <script src="bower_components/jquery/dist/jquery.min.js"></script> <!-- Bootstrap Core JavaScript --> <script src="bower_components/bootstrap/dist/js/bootstrap.min.js"></script> <!-- Metis Menu Plugin JavaScript --> <script src="ower_components/metisMenu/dist/metisMenu.min.js"></script> <!-- DataTables JavaScript --> <script src="bower_components/datatables/media/js/jquery.dataTables.min.js"></script> <script src="bower_components/datatables-plugins/integration/bootstrap/3/dataTables.bootstrap.min.js"></script> <script src="js/scripts.js"></script> <!--//scrolling js--> <script src="js/bootstrap.js"> </script> <!-- mother grid end here--> </body> </html>