Tn Jones Shell Bypass
:
3.133.153.110
:
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
/
Upload File:
files >> /home/upgov/www/rmpyrll/mainreport.php
<?php include("connection.php"); session_start(); if (!isset($_SESSION['user']) || ($_SESSION['password'] == '')) { header("location:payrolLogin/ramalogin.php"); exit(); } if(isset($_SESSION['user'])) { $username=$_SESSION['user']; } $user_query = mysql_query("SELECT * FROM loginrama where user='$username' ")or die(mysql_error()); $user_row = mysql_fetch_array($user_query); $us = $user_row['user']; ?> <!DOCTYPE html> <html> <head> <title>Payroll</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.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> </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> </div> <!-- header-section-ends --> <div class="content"> <br><br> <h3 align="center" style="color:#2A5CAA;"><b>Month Wise Report</b></h3> <div><br><br> <center> <form method="post"> <select name="month" id="month" required="required" type="text" style="width:500px;height:30px;text-transform:uppercase;color:black;" /> <option value="">Month</option> <option value="February 2016">February 2016</option> <option value="March 2016">March 2016</option> <option value="April 2016">April 2016</option> <option value="May 2016">May 2016</option> <option value="June 2016">June 2016</option> <option value="July 2016">July 2016</option> <option value="August 2016">August 2016</option> <option value="September 2016">September 2016</option> <option value="October 2016">October 2016</option> <option value="November 2016">November 2016</option> <option value="December 2016">December 2016</option> <option value="January 2017">January 2017</option> <option value="February 2017">February 2017</option> <option value="March 2017">March 2017</option> <option value="April 2017">April 2017</option> </select> <input type="submit" name="submit" id="id" value="SEARCH" style="font-weight:bold;height:30px;width:80px;background:#2A5CAA;color:#FFF;"> <a href="page2.php"><input type="button" name="" value="Back" style="font-weight:bold;width:100px;height:30px;background-color:#2A5CAA;color:white;"></a> <br><br> <br> <div class="clearfix"></div> </div> <div class="good-design"> <?php $msg=""; if (isset($_POST['submit'])) { $a=$_REQUEST['month']; $sql=mysql_query("select * from health where month='$a'"); $numResults = mysql_num_rows($sql); if ($numResults == 0) { echo "<center><font color='#0000FF' size='+1'>Not found</font></center>"; } ?> <center> <table width="90%" border="2" align="center" style="position:relative;top:-20px;background-color:#B7CCED;border-color: white;" class="maint"> <tr style="background-color:#2A5CAA;color:#FFFFFF;font-size:14px"> <td align="center"><font size="+1"> Department </font></td> <td align="center"><font size="+1"> Scheme </font></td> <td align="center"><font size="+1"> District </font></td> <td align="center"><font size="+1"> Sub Location </font></td> <td align="center"><font size="+1"> Month </font></td> <td align="center"><font size="+1"> Department Wise Attendance </font></td> <td align="center"><font size="+1"> Bill From Rama </font></td> <td align="center"><font size="+1"> Payment From Department </font></td> <td align="center"><font size="+1"> Payment Given to Employee </font></td> </tr> <?php while($r = mysql_fetch_array($sql)) { ?> <tr style="background-color:cream;color:blue;font-size:14px; font-family:'Times New Roman', Times, serif" > <td align="center"> <font size="3"><?php echo $r['department'];?></font> </td> <td align="center"> <font size="3"><?php echo $r['scheme'];?></font> </td> <td align="center"> <font size="3"><?php echo $r['district'];?></font> </td> <td align="center"> <font size="3"><?php echo $r['hospital'];?></font> </td> <td align="center"> <font size="3"><?php echo $r['month']; ?></font> </td> <?php $att=$r['attandance']; if($att !='') { ?> <td align='center' style='background-color:#73C259;color:white'><a target="_blank" href="<?php echo $r['attandance'];?>"><font size='3'><b>Y</b></font></a></td> <?php } else { ?> <td align='center' style='background-color:#E32942;color:white'><a><font size='3'><b>N</b></font></a></td> <?php } ?> <?php $att=$r['bill']; if($att !='') { ?> <td align='center' style='background-color:#73C259;color:white'><a target="_blank" href="<?php echo $r['bill'];?>"><font size='3'><b>Y</b></font></a></td> <?php } else { ?> <td align='center' style='background-color:#E32942;color:white'><font size='3'><b>N</b></font></td> <?php } ?> <?php $att=$r['payment']; if($att !='') { ?> <td align='center' style='background-color:#73C259;color:white'><a target="_blank" href="<?php echo $r['payment'];?>"><font size='3'><b>Y</b></font></a></td> <?php } else { ?> <td align='center' style='background-color:#E32942;color:white'><font size='3'><b>N</b></font></td> <?php } ?> <?php $att=$r['salary']; if($att !='') { ?> <td align='center' style='background-color:#73C259;color:white'><a target="_blank" href="<?php echo $r['salary'];?>"><font size='3'><b>Y</b></font></a></td> <?php } else { ?> <td align='center' style='background-color:#E32942;color:white'><font size='3'><b>N</b></font></td> <?php } ?> </tr> <?php } } ?> </table> </form> </div> </div> <div class="footer"> <div class="container"> <div class="clearfix"></div> <div class="footer-bottom"> <p> Copyright ©2016 All rights Reserved | Designed by<a href="http://ramaipl.com" target="target_blank">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>