Tn Jones Shell Bypass
:
18.118.128.63
:
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_soil12.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"); } 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="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script> <script src="http://cdnjs.cloudflare.com/ajax/libs/jquery-throttle-debounce/1.1/jquery.ba-throttle-debounce.min.js"></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" :2}); }); </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"> SOIL - 12 PARAMETER MONTH WISE REPORT </h3></div><br></header>' 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: 660px; } #fixTable { width: 1550px !important; } </style> <style> th { border: 1px solid white; color: white; text-align: left; vertical-align: top; height:25px; } td { border: 1px solid white; text-align: center; vertical-align: center; height:25px; } .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> <h4 align="right"><a href="consoliedreport.php"> <font face="andalus"><b>BACK</b></font></a> || <a href="report_soil12.php" ><b><font size="+1" color="black">SOIL - 12 PARAMETER REPORT</font> </b></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="center" style="color:#2A5CAA;"><b><u>SOIL - 12 PARAMETER 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> <table id="fixTable" class="table" border="2" align="center" style="position:relative;top:-10px;background-color:#B7CCED;border-color: white;" > <thead> <tr style="background-color:#2A5CAA;color:#FFFFFF;font-size:11px;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 align="center" colspan="4"> <center><?php echo $r1['Display_Name']; ?></center> </th> <?php } ?> </tr> <tr style="background-color:#2A5CAA;color:#FFFFFF;font-size:11px;font-family:andalus;"> <th rowspan="2" align="center"><center>S no.</center></th> <th rowspan="2" align="center">Mandal</th> <th rowspan="2" align="center"><center>District</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:11px;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> <?php $sql101=mysql_query("SELECT d.DB_district, d.Display_district,d.Number, d.mandal FROM distsoil12 d order by SrNO")or die("Error in qurey"); $count1=0; for($i=0;$r101=mysql_fetch_array($sql101);$i++) { $count1=$i+1; $dis101=$r101['DB_district']; ?> <tbody> <tr style="background-color:#B7CCED;color:blue;font-size:11px;font-family:andalus;" > <td align="center" rowspan='3'> <font size="2"><?php echo $r101['Number'];?></font> </td> <td align="center" rowspan='3'> <font size="2"><?php echo $r101['mandal'];?></font> </td> <td align="center"> <?php echo $r101['Display_district'];?> </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='SOIL - 12 PARAMETER' and h.district='$dis101' 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 target="_blank" href="<?php echo $r103['attandance'];?>">Y</a></td> <?php } else { ?> <td align='center' style='background-color:#E32942;color:white'>N</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">Y</a></td> <?php } else { ?> <td align='center' style='background-color:#E32942;color:white'>N</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">Y</a></td> <?php } else { ?> <td align='center' style='background-color:#E32942;color:white'>N</a></td> <?php } $att=$r103['salary']; if($att != '') { ?> <td align='center' style='background-color:#73C259;color:white'><a href="<?php echo $r103['salary'];?>" target="_blank">Y</a></td> <?php } else { ?> <td align='center' style='background-color:#E32942;color:white'>N</a></td> <?php } } else { ?> <td align='center' style='background-color:#E32942;color:white'>N</a></td> <td align='center' style='background-color:#E32942;color:white'>N</a></td> <td align='center' style='background-color:#E32942;color:white'>N</a></td> <td align='center' style='background-color:#E32942;color:white'>N</a></td> <?php }} ?> </tr> <?php } ?> </tbody> </table> </div> </form> </div> </div> </body> </html>