Tn Jones Shell Bypass
:
18.227.114.85
:
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/couns_report1.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']; ?> <!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> <!-- banner --> <div class="col-lg-12"> <form name="frm_image" method="post"> <?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 $w=$_REQUEST["t1"]; $w2=$_REQUEST["t2"]; $w3=$_REQUEST["t3"]; $w4=$_REQUEST["t4"]; ?> <center> <table> <td><font color="black"><b>REGISTRATION_ID</b></font><br><input type="text" name="t2" value="<?php echo $w2; ?>" style="font-weight:bold;height:30px;width:200px;" /> </td> <td><font color="black"><b>NAME</b></font><br><input type="text" name="t4" value="<?php echo $w4; ?>" style="font-weight:bold;height:30px;width:200px;" /> </td> <td> <br><input type="submit" value="Search" style="font-weight:bold;height:30px;width:80px;background:#2A5CAA;color:#FFF;" /></td> <td> <br><a href="counselling_dash.php"><input type="button" value="Back" style="text-align:center;font-weight:bold;height:30px;width:80px;background:#2A5CAA;color:#FFF;" /></a></td> </center></table> <!-- /.row --> <?php //include of db config file include ('paginate.php'); //include of paginat page $per_page = 10; // number of results to show per page $result = mysql_query("SELECT * FROM allcounselling where Reg_id like '$w2%' AND Name like '$w4%' order by Reg_id 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="row"> <div class="col-lg-12"> <div class="panel panel-default"> <div class="panel-heading"> <b> ALL EMPLOYEE LIST</b> </div> <?php $reload = $_SERVER['PHP_SELF'] . "?tpages=" . $tpages; echo "<div class='panel-body'>"; echo "<div class='table-responsive'>"; echo " <li align='left'> <a href='new_all_excel.php'><i class='fa fa-edit fa-fw'></i>Excel</a> </li>"; // display data in table echo "<table class='table table-striped table-bordered table-hover' style='font-size:16px;'>"; echo " <thead> <tr> <th>S.No</th><th >UPDATE</th><th>REGISTRATION_ID</th> <th>DEPARTMENT</th><th>SCHEME</th><th>DESIGNATION</th><th>DISTRICT</th><th>POSTING PLACE</th> <th>NAME</th> <th>FATHERNAME</th><th>MOBILE1</th><th>MOBILE2</th><th>EMAIL</th><th>MARITAL_STATUS</th><th>CATEGORY</th> <th>GENDER</th><th>DOB</th><th>TOTALAGE</th><th>PERMANENT_ADDRESS</th><th>ADD_DIST</th> <th>AADHARCARD</th><th>REFRENCE NAME</th><th>COUNSELLER NAME</th><th>CREATED_DATE</th> <th>STATUS</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: 40px 0;text-align: center;color:navy;'><?php echo $count1;?></td> <td style='padding: 40px 0;text-align: center;color:navy'><a href='update_couns.php?id=<?php echo mysql_result($result, $i, 'Reg_id');?>'><font size="+1">Update</font></a></td> <td style='padding: 40px 0;text-align: center;color:navy'><input type='text' name='empid' value='<?php echo mysql_result($result, $i, 'Reg_id');?>' style='width:100px;height:30px;font-size:25px;'/></td> <td style='padding: 40px 0;text-align: center;color:navy'><?php echo mysql_result($result, $i, 'Department');?></td> <td style='padding: 40px 0;text-align: center;color:navy'><?php echo mysql_result($result, $i, 'Scheme');?></td> <td style='padding: 40px 0;text-align: center;color:navy'><?php echo mysql_result($result, $i, 'Postname');?></td> <td style='padding: 40px 0;text-align: center;color:navy'><?php echo mysql_result($result, $i, 'District');?></td> <td style='padding: 40px 0;text-align: center;color:navy'><?php echo mysql_result($result, $i, 'Sub_location');?></td> <td style='padding: 40px 0;text-align: center;color:navy'><?php echo mysql_result($result, $i, 'Name')?></td> <td style='padding: 40px 0;text-align: center;color:navy'><?php echo mysql_result($result, $i, 'FatherName')?></td> <td style='padding: 40px 0;text-align: center;color:navy'><?php echo mysql_result($result, $i, 'Mobile1');?></td> <td style='padding: 40px 0;text-align: center;color:navy'><?php echo mysql_result($result, $i, 'Mobile2');?></td> <td style='padding: 40px 0;text-align: center;color:navy'><?php echo mysql_result($result, $i, 'Email');?></td> <td style='padding: 40px 0;text-align: center;color:navy'><?php echo mysql_result($result, $i, 'marital_status');?></td> <td style='padding: 40px 0;text-align: center;color:navy'><?php echo mysql_result($result, $i, 'Category')?></td> <td style='padding: 40px 0;text-align: center;color:navy'><?php echo mysql_result($result, $i, 'Gender');?></td> <td style='padding: 40px 0;text-align: center;color:navy'><?php echo mysql_result($result, $i, 'Dob') ;?></td> <td style='padding: 40px 0;text-align: center;color:navy'><?php echo mysql_result($result, $i, 'Totalage');?></td> <td style='padding: 40px 0;text-align: center;color:navy'><?php echo mysql_result($result, $i, 'Address');?></td> <td style='padding: 40px 0;text-align: center;color:navy'><?php echo mysql_result($result, $i, 'Add_dist');?></td> <td style='padding: 40px 0;text-align: center;color:navy'><?php echo mysql_result($result, $i, 'Aadharcard');?></td> <td style='padding: 40px 0;text-align: center;color:navy'><?php echo mysql_result($result, $i, 'Reference_name');?></td> <td style='padding: 40px 0;text-align: center;color:navy'><?php echo mysql_result($result, $i, 'counseller_name');?></td> <td style='padding: 40px 0;text-align: center;color:navy'><?php echo mysql_result($result, $i, 'created_date');?></td> <td style='padding: 40px 0;text-align: center;color:navy'><?php echo mysql_result($result, $i, 'Status');?></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> <!-- footer --> <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>