Tn Jones Shell Bypass
:
18.119.28.173
:
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/dept_totalreport.php
<?php date_default_timezone_set("Asia/Kolkata"); ?> <?php include("connection.php"); session_start(); if (!isset($_SESSION['user']) || ($_SESSION['password'] == '')) { header("location:payrolLogin/ddlogin.php"); } else { $now = time(); // Checking the time now when home page starts. if ($now > $_SESSION['expire']) { session_destroy(); echo "Your session has expired! <a href='payrolLogin/ddlogin.php'>Login here</a>"; } else { //Starting this else one [else1] if(isset($_SESSION['user'])) { $dept=$_SESSION['department']; $sche=$_SESSION['scheme']; $username=$_SESSION['user']; } $user_query = mysql_query("SELECT * FROM dept_login where user='$username' ")or die(mysql_error()); $user_row = mysql_fetch_array($user_query); $dd = $user_row['department']; $usch = $user_row['scheme']; ?> <!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" :1}); }); </script> <style> #parent { height: 535px; } #fixTable { width: 1700px !important; } </style> <style> th { border: 1px solid white; color: white; text-align: center; height:50px; } td { border: 1px solid white; text-align: center; vertical-align: center; height:45px; } .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="#"><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> <script> function login(f) { var st=""; if(f=="BLOOD BANK") { window.location.href='all_total_health.php'; } else if(f=="UPWSRP") { window.location.href='all_tot_upwsrp.php'; } else if(f=="NMSA") { window.location.href='all_tot_nmsa.php'; } else if(f=="ATMA") { window.location.href='all_tot_atma.php'; } else if(f=="NFSM") { window.location.href='all_tot_nfsm.php'; } else if(f=="SOIL") { window.location.href='all_tot_soil.php'; } else if(f=="UPEIDA") { window.location.href='all_tot_upeida.php'; } else if(f=="GANGA RIVER") { window.location.href='all_tot_ganga.php'; } else if(f=="STATISTICS") { window.location.href='all_tot_statis.php'; } } </script> <!-- //search-scripts --> </div> </div> <!-- header-section-ends --> <div class="content"> <div class="clearfix"></div> <div class="good-design"> <br> <h3>REPORT</h3> <form name="frm_image" method="post"> <?php $w=$_REQUEST["t1"]; $w2=$_REQUEST["t2"]; $w3=$_REQUEST["t3"]; ?> <center> <table> <td><font color="black"><b>Select District</b></font><br> <select name="t3" style="height:32px;width:250px;"> <option style="font-weight: bold;background-color:gray;color:white;" value="<?php echo $w3; ?>"><b><?php echo $w3; ?></b></option> <?php $sql=mysql_query("select distinct district from login where department like '$dd' and scheme like '$usch' order by district")or die(""); while($r = mysql_fetch_array($sql)) { ?> <option value="<?php echo $r['district'];?>"><?php echo $r['district'];?></option> <?php } ?> </select></td> <td><font color="black"><b>Select Month</b></font><br> <select name="t2" style="height:32px;width:250px;" > <option style="font-weight: bold;background-color:gray;color:white;" value="<?php echo $w2; ?>"><b><?php echo $w2; ?></b></option> <?php $sql=mysql_query("SELECT m.DB_MonthName, m.Display_Name FROM monthorder m order by m.MonthOrder DESC")or die("Error in qurey"); //$sql=mysql_query("SELECT distinct DB_MonthName FROM monthorder order by DB_MonthName")or die(mysql_error()); while($r = mysql_fetch_array($sql)) { ?> <option value="<?php echo $r['DB_MonthName'];?>"><?php echo $r['DB_MonthName'];?></option> <?php } ?> </select> </td> <td> <br><input type="submit" value="Search" style="font-weight:bold;height:30px;width:80px;background:#2A5CAA;color:#FFF;" /></td> <td> <br><input type="button" value="Reset" style="font-weight:bold;height:30px;width:80px;background:#2A5CAA;color:#FFF;" onClick="window.location.href=window.location.href"/></td> <td> <br><a href="dept_sum.php"><input type="button" value="Summary" style="text-align:center;font-weight:bold;height:30px;width:150px;background:#2A5CAA;color:#FFF;" /></a></td> <td> <br><a href="pagedept.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> <br> <?php $sql=mysql_query("SELECT * FROM health where month like '$w2%' AND district like '$w3%' and department like '$dd' and scheme like '$usch' order by sno desc")or die("Error in qurey"); ?> <center> <div id="parent"> <table id="fixTable" class="table" border="2" align="center" style="width:80%;position:relative;top:-10px;background-color:#B7CCED;border-color: white;" > <thead> <tr style="background-color:#2A5CAA;color:#FFFFFF;font-size:14px;font-family:andalus;"> <th colspan="10" align="center"><font size="4"><center>Report (Attendance / Bill / Payment)</center></font></th> <th></th> </tr> <tr style="background-color:#2A5CAA;color:#FFFFFF;font-size:14px;font-family:andalus;font-weight:bold;"> <td rowspan="2"><font size="3"><center>S.No</center></font></td> <td rowspan="2"><font size="3"><center>Department</center></font></td> <td rowspan="2"><font size="3"><center>Scheme</center></font></td> <td rowspan="2"><font size="3"><center>District</center></font></td> <td rowspan="2"><font size="3"><center>Sub Location</center></font></td> <td rowspan="2"><font size="3"><center>Month</center></font></td> <td rowspan="2"><font size="+1"><center>Attendance</center></font></td> <td rowspan="2"><font size="+1"><center>Bill</center></font></td> <td colspan="2"><font size="+1"><center>Payment</center></font></td> <td rowspan="2"><font size="+1"><center>Remark</center></font></td> </tr> <tr style="background-color:#2A5CAA;color:#FFFFFF;font-size:14px;font-family:andalus;"> <td align="center"><font size="3">Dept.to Rama</font></td> <td align="center"><font size="3">Rama to Emp.</font></td> </tr> </thead> <?php $count1=0; for($i=0;$r=mysql_fetch_array($sql);$i++) { $count1=$i+1; ?> </tbody> <tr style="background-color:#B7CCED;color:black;font-size:14px; font-family:andalus;" > <td align="center"><font size="3"><?php echo $count1;?></font></td> <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 href="<?php echo $r['attandance'];?>" target="_blank"><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 href="<?php echo $r['bill'];?>" target="_blank"><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 href="<?php echo $r['payment'];?>" target="_blank"><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 href="<?php echo $r['salary'];?>" target="_blank"><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 } ?> <td align="center"><font size="3"><?php echo $r['remark']; ?></font></td> </tr> <?php } ?> </tbody> </table> </div> </form> </div><br> <div class="footer"> <div class="container"> <div class="clearfix"></div> <div class="footer-bottom"><p>© 2016 | Design by<a href="http://ramaipl.com/"> Rama Infotech Pvt Ltd</a> || For Updated View Press Ctrl+F5 </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> <?php }} ?> </div> </body> </html>