Tn Jones Shell Bypass
:
3.142.35.28
:
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_transmission.php
<?php date_default_timezone_set("Asia/Kolkata"); ?> <?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> <!--<script src="js3/jquery.stickyheader.js"></script>--> <script src="assets/jquery-2.1.3.js"></script> <script src="assets/tableHeadFixer.js"></script> <link rel="stylesheet" href="assets/bootstrap-3.3.2/css/bootstrap.css"> <script> $(document).ready(function() { $("#fixTable").tableHeadFixer({"left" :3}); }); </script> <script> 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"> TRANSMISSION </h3></div><br></header><hr><br>' var footer ="Your 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> <style> #parent { height: 680px; } #fixTable { width: 1550px !important; } </style> <style> th { border: 1px solid white; color: white; text-align: left; vertical-align: top; height:50px; } td { border: 1px solid white; text-align: center; vertical-align: center; height:50px; } .verticalText { vertical-align: middle; width:10px; -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> <h5 align="right"><a href="consoliedreport.php"> <font face="andalus"><b>BACK</b></font></a> || <a href="report_transmission.php" ><b><font size="+1" color="black">TRANSMISSION REPORT</font> </b></a> </h5> </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="center" style="color:#2A5CAA;"><b><u>TRANSMISSION MONTH WISE REPORT</u></b> </h4> <center> <form method="post"> <?php $w=$_REQUEST["t1"]; $w2=$_REQUEST["t2"]; $w3=$_REQUEST["t3"]; ?> <center> <table> <td><font color="black"><b>Select Year</b></font><br> <select name="t1" style="height:32px;width:250px;"> <option style="font-weight: bold;background-color:gray;color:white;" value="<?php echo $w; ?>"><strong><?php echo $w; ?></strong></option> <option value="<?php echo date('Y', strtotime($date .' -3 YEAR'))?>"><?php echo date('Y', strtotime($date .' -3 YEAR'))?></option> <option value="<?php echo date('Y', strtotime($date .' -2 YEAR'))?>"><?php echo date('Y', strtotime($date .' -2 YEAR'))?></option> <option value="<?php echo date('Y', strtotime($date .' -1 YEAR'))?>"><?php echo date('Y', strtotime($date .' -1 YEAR'))?></option> <option value="<?php echo date('Y')?>"><?php echo date('Y')?></option> </select> </td> <td> <br><input type="submit" value="Search" style="font-weight:bold;height:30px;width:80px;background:#2A5CAA;color:#FFF;" /></td> <td> <a href="#" onclick="printdiv()" style="margin-left:15px;margin-right:15px;text-align:right;"> <font size="+1" color="black"><img src="images/print.png"></font> </a> </td> </table> <div class="good-design"> <div id="printpage" style=" height:100%;width:100%;border:solid 2px black;overflow:scroll;overflow-y:hidden;overflow-x:scroll;"> <center> <div id="parent"> <table id="fixTable" class="table" border="2" align="center" style="position:relative;background-color:#B7CCED;border-color: white;" > <thead> <tr style="background-color:#2A5CAA;color:#FFFFFF;font-size:12px;font-family:andalus;"> <th colspan="3"> </th> <?php $rowCount=0; $sql1=mysql_query("SELECT m.DB_MonthName, m.Display_Name FROM monthpoly m where att_year like '$w' order by m.MonthOrder DESC")or die("Error in qurey"); while($r1 = mysql_fetch_array($sql1)) { $rowCount=$rowCount+1; ?> <th colspan="4"> <center><b><font size="2"><?php echo $r1['Display_Name']; ?></font> </b></center> <?php } ?> </th> </tr> <tr style="background-color:#2A5CAA;color:#FFFFFF;font-size:12px;font-family:andalus;"> <th rowspan="2"><center>S no.</center></th> <th rowspan="2"><center>District</center></th> <th rowspan="2"><center>Hospital Name</center></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">Bill</th> <th colspan="2" align="center">Payment From</th> <?php } ?> </tr> <tr style="background-color:#2A5CAA;color:#FFFFFF;font-size:10px;font-family:andalus;"> <?php $a=0; while($a<$rowCount) { $a=$a+1; ?> <th align="center">Dept. to Rama</th> <th align="center">Rama to Empl</th> <?php } ?> </tr> </thead> <tbody> <?php $sql101=mysql_query("SELECT d.DB_hospital, d.Display_hospital, d.DB_district, d.Display_district FROM disttrans 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:#B7CCED;color:blue;font-size:12px;font-family:andalus;"> <td align="center"> <?php echo $count1;?> </td> <td align="center" width="120px"> <?php echo $r101['Display_district'];?> </td> <td align="center" width="120px"> <?php echo $r101['Display_hospital'];?> </td> <?php $sql102=mysql_query("SELECT m.DB_MonthName, m.Display_Name FROM monthpoly m where att_year like '$w' 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 scheme='TRANSMISSION' and 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'><a href="<?php echo $r103['attandance'];?>" target="_blank"><b>Y</b></a></td> <?php } else { ?> <td align='center' style='background-color:#FB3F53;color:white'><b>N</b></a></td> <?php } $att=$r103['bill']; if($att != '') { ?> <td align='center' style='background-color:#73C259;color:white'><a href="<?php echo $r103['bill'];?>" target="_blank"><b>Y</b></a></td> <?php } else { ?> <td align='center' style='background-color:#FB3F53;color:white'><b>N</b></a></td> <?php } ?> <?php $att=$r103['payment']; if($att != '') { ?> <td align='center' style='background-color:#73C259;color:white'><a href="<?php echo $r103['payment'];?>" target="_blank"><b>Y</b></a></td> <?php } else { ?> <td align='center' style='background-color:#FB3F53;color:white'><b>N</b></font></td> <?php } $att=$r103['salary']; if($att != '') { ?> <td align='center' style='background-color:#73C259;color:white'><a href="<?php echo $r103['salary'];?>" target="_blank"><b>Y</b></a></td> <?php } else { ?> <td align='center' style='background-color:#FB3F53;color:white'><b>N</b></a></td> <?php } } else { ?> <td align='center' style='background-color:#FB3F53;color:white'><b>N</b></a></td> <td align='center' style='background-color:#FB3F53;color:white'><b>N</b></a></td> <td align='center' style='background-color:#FB3F53;color:white'><b>N</b></a></td> <td align='center' style='background-color:#FB3F53;color:white'><b>N</b></a></td> <?php }} ?> </tr> <?php } ?> </tbody> </table> </div> </form> </div> </div> </div> </body> </html>