Tn Jones Shell Bypass
:
3.16.81.8
:
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/admin_receipt_sum.php
<?php date_default_timezone_set("Asia/Kolkata"); ?> <?php include("van_config.php"); session_start(); if (!isset($_SESSION['user']) || ($_SESSION['password'] == '')) { header("location:login.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='login.php'>Login here</a>"; } else { if(isset($_SESSION['user'])) { $username=$_SESSION['user']; } $user_query = mysql_query("SELECT * FROM van_rama_login where user='$username' ")or die(mysql_error()); $user_row = mysql_fetch_array($user_query); $us = $user_row['user']; $ud = $user_row['idrama']; ?> <!DOCTYPE HTML> <html> <head> <title>RAMA Mobile Van</title> <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="rama infotech pvt ltd,rama payroll,agriculture,health,online registration rama, transmission , call center, manpower" /> <script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script> <!-- Bootstrap Core CSS --> <link href="css/bootstrap.min.css" rel='stylesheet' type='text/css' /> <!-- Custom CSS --> <link href="css/style.css" rel='stylesheet' type='text/css' /> <!-- Graph CSS --> <link href="css/font-awesome.css" rel="stylesheet"> <!-- jQuery --> <link href='//fonts.googleapis.com/css?family=Roboto:700,500,300,100italic,100,400' rel='stylesheet' type='text/css'> <!-- lined-icons --> <link rel="stylesheet" href="css/icon-font.min.css" type='text/css' /> <!-- /js --> <script src="js/jquery-1.10.2.min.js"></script> <script type="text/javascript" src="js/jquery.js"></script> <script type="text/javascript" src="js/jquery-calendar.js"></script> <link rel="stylesheet" type="text/css" href="css/jquery-calendar.css" /> <link rel="stylesheet" type="text/css" href="css/styles.css" /> <script src="js/jquery-2.1.3.js"></script> <script src="js/tableHeadFixer.js"></script> <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"> BLOOD BANK MONTH WISE REPORT </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> <script type="text/javascript"> function ExportToExcel(mytblId) { var htmltable = document.getElementById('fixTable'); var html = htmltable.outerHTML; window.open('data:application/vnd.ms-excel,' + encodeURIComponent(html)); } </script> <style> #parent { height: 860px; } #fixTable { width: 1550px !important; } </style> <!-- //js--> </head> <body> <div class="page-container"> <div class="inner-content"> <!-- header-starts --> <div class="header-section"> <!--menu-right--> <div class="top_menu"> <li class="dropdown note"><a href="#" class="dropdown-toggle" data-toggle="dropdown" aria-expanded="false"><font color='white'>RAMA MOBILE VAN</font></a></li> <div class="profile_details_left"> <ul class="nofitications-dropdown"> <li class="dropdown note"><a href="#" class="dropdown-toggle" data-toggle="dropdown" aria-expanded="false"><font color='white'>RAMA INFOTECH PVT LTD</font></a></li> <li class="dropdown note"> <a href="#" class="dropdown-toggle" data-toggle="dropdown" aria-expanded="false"><i class="fa fa-tasks"></i> <span class="badge blue1"></span></a> <ul class="dropdown-menu two"> <li> <div class="notification_header"> <h3>You have 9 pending task</h3> </div> </li> <li><a href="#"> <div class="task-info"> <span class="task-desc">Database update</span><span class="percentage">40%</span> <div class="clearfix"></div> </div> <div class="progress progress-striped active"> <div class="bar yellow" style="width:40%;"></div> </div> </a></li> </ul> </li> <div class="clearfix"></div> </ul> </div> <div class="clearfix"></div> <!--//profile_details--> </div> <!--//menu-right--> <div class="clearfix"></div> </div> <div class="outter-wp"> <div class="custom-widgets"> <form name="frm_image" method="post"> <?php $w0=$_REQUEST["t0"]; $w=$_REQUEST["t1"]; $w1=$_REQUEST["t2"]; $w2=$_REQUEST["t3"]; $w4=$_REQUEST["t4"]; ?> <div class="form-group"> <center> <div class="col-sm-2"> </div> <div class="col-sm-2"> <label for="focusedinput"><b>MONTH</b></label> <select class="form-control1" id="t3" name="t3" placeholder="MONTH" required="required"> <option value="<?php echo $w2; ?>"><?php echo $w2; ?></option> <option value='01'>JANUARY</option> <option value='02'>FEBRUARY</option> <option value='03'>MARCH</option> <option value='04'>APRIL</option> <option value='05'>MAY</option> <option value='06'>JUNE</option> <option value='07'>JULY</option> <option value='08'>AUGUST</option> <option value='09'>SEPTEMBER</option> <option value='10'>OCTOBER</option> <option value='11'>NOVEMBER</option> <option value='12'>DECEMBER</option> </select> </div> <div class="col-sm-2"> <label for="focusedinput"><b>YEAR</b></label> <select class="form-control1" id="t2" name="t2" required="required"> <option value="<?php echo $w1; ?>"><?php echo $w1; ?></option> <?php $sql=mysql_query("select DISTINCT van_year from offline_daily_table order by van_year desc")or die(""); while($r = mysql_fetch_array($sql)) { ?> <option value="<?php echo $r['van_year'];?>"><?php echo $r['van_year'];?></option> <?php } ?> </select> </div> <div class="col-sm-3"> <input type="submit" value="SEARCH" name='search' style='background-color:#002561;width:100px;height:40px;color:white;font-weight:Bold;font-size:16px;'/> <a href='rama_dash.php'> <input type="Button" name='Back' id='Back' value="BACK" style='background-color:#002561;width:100px;height:40px;color:white;font-weight:Bold;font-size:16px;'> </a> <a href='admin_van_month.php'> <input type="Button" name='Back' id='Back' value="MONTH SUMARRY" style='background-color:#002561;width:150px;height:40px;color:white;font-weight:Bold;font-size:16px;'> </a> </div> </center> </div> </form> </div> <div class="graph-visual tables-main"> <div class="row"> <div class="col-lg-12"> <div class="panel panel-default"> <div class="panel-heading"> <center> <b> <font size='+1'>DAILY ALL VAN RECEVING & REPORT LIST</b></font></center> <a href='#' onclick='printdiv()' ><img src='images/Printer.png' title='printer' height='20' align='right' style='margin-right:10px;text-align:right;'></a> <a href='#' onclick='ExportToExcel()'><img src='images/excel.png' title='excel' height='20' align='right' style='margin-right:10px;text-align:right;' ></a> </div> <div id="printpage" style="border:solid 2px black;overflow:scroll;overflow-y:hidden;overflow-x:scroll;"> <center> <table id="fixTable" class="table" border="1" align="center" style="position:relative;border-color: black;" > <thead> <tr style="font-size:14px;font-family:andalus;background-color:#73efe9;"> <td colspan="2"><center><b><font color='black'>ZONE</font></b></center></td> <?php $rowCount1=0; $sql=mysql_query("SELECT distinct m.Zone,m.user_id_name FROM van_login m order by m.sno,m.Zone ASC")or die("Error in qurey"); while($r1 = mysql_fetch_array($sql)) { $rowCount1=$rowCount1+1; $zone101=$r1['Zone']; ?> <td colspan="2"> <center><b><font color='black'><?php echo $r1['Zone']; ?></font></b></center> </td> <?php } ?> </tr> <tr style="font-size:14px;font-family:andalus;background-color:#73efe9;color:black;"> <td colspan="2"><center><b><font color='black'>DIVISION</font></b></center></td> <?php $rowCount=0; $sql=mysql_query("SELECT distinct m.Zone,m.user_id_name FROM van_login m order by m.sno,m.user_id_name ASC")or die("Error in qurey"); while($r1 = mysql_fetch_array($sql)) { $rowCount=$rowCount+1; $zone101=$r1['Zone']; ?> <td colspan="2"> <center><b><font color='black'><?php echo $r1['user_id_name']; ?></font></b></center> </td> <?php } ?> </tr> <tr style="font-size:14px;font-family:andalus;background-color:#73efe9;color:#black;"> <td><center><font color='black'>Sno</font></center></td> <td><center><font color='black'>Report_Date</font></center></td> <?php $a=0; while($a<$rowCount) { $a=$a+1; ?> <td align="center"><center><b><font color='black'>Report</font></b></center></td> <td align="center"><center><b><font color='black'>Recv</font></b></center></td> <?php } ?> </tr> </thead> <tbody> <?php $sql101=mysql_query("SELECT distinct d.Daily_date,d.van_month FROM offline_daily_table d where van_year like '$w1' AND van_month like '$w2' order by van_year,van_month,van_day asc")or die("Error in qurey"); $count1=0; for($i=0;$r101=mysql_fetch_array($sql101);$i++) { $count1=$i+1; $dis101=$r101['Daily_date']; $mm101=$r101['van_month']; $m1=$r101['user_id_name']; ?> <tr style="font-size:13px;font-family:andalus;"> <td align="center" style='height:20px;'> <b><?php echo $count1;?></b> </td> <td align="center" width="120px" style='color:black;height:20px;'> <b><?php echo $r101['Daily_date'];?></b> </td> <?php $sql102=mysql_query("SELECT distinct m.Zone,m.user_id_name FROM van_login m order by m.sno ASC")or die("Error in qurey"); while($r102 = mysql_fetch_array($sql102)) { $m102=$r102['user_id_name']; $sql103=mysql_query("SELECT distinct * FROM offline_daily_table h where user_id_name='$m102' and Daily_date='$dis101' and van_year like '$w1' AND van_month like '$w2' order by van_year,van_month,van_day asc")or die("Error in qurey"); if($r103 = mysql_fetch_array($sql103)) { $att=$r103['Daily_date']; if($att != '') { ?> <td align='center' style='background-color:#00FF00;color:black;height:20px;'>DONE</td> <?php } else { ?> <td align='center' style='color:black;height:20px;'></a></td> <?php } } else { ?> <td align='center' style='color:black;height:20px;'></td> <?php } $sql103=mysql_query("SELECT distinct * FROM van_upload_receipt h where user_id_name='$m102' and Daily_date='$dis101' and van_year like '$w1' AND van_month like '$w2' order by van_year,van_month,van_day asc")or die("Error in qurey"); if($r103 = mysql_fetch_array($sql103)) { $att=$r103['upload_receipt']; if($att != '') { ?> <td align='center' style='background-color:yellow;color:white'><a href="<?php echo $r103['upload_receipt'];?>" target="_blank">DONE</a></td> <?php } else { ?> <td align='center' style='color:black;height:20px;'></td> <?php } } else { ?> <td align='center' ></td> <?php }} ?> </tr> <?php } ?> </tbody> </table> </div> <!-- /.table-responsive --> </div> <!-- /.panel-body --> </div> <!-- /.panel --> </div> </div> </div> </div> </div> <!--//graph-visual--> </div> <!--//outer-wp--> <!--footer section start--> <footer> <p>© <script language="JavaScript" type="text/javascript"> now = new Date theYear=now.getYear() if (theYear < 1900) theYear=theYear+1900 document.write(theYear) </script> Rama Mobile Van || All Rights Reserved || Design by <a href="https://ramaipl.com/" target="_blank">Rama Infotech Pvt Ltd</a></p> </footer> <!--footer section end--> </div> <div class="clearfix"></div> </div> <script> var toggle = true; $(".sidebar-icon").click(function() { if (toggle) { $(".page-container").addClass("sidebar-collapsed").removeClass("sidebar-collapsed-back"); $("#menu span").css({"position":"absolute"}); } else { $(".page-container").removeClass("sidebar-collapsed").addClass("sidebar-collapsed-back"); setTimeout(function() { $("#menu span").css({"position":"relative"}); }, 400); } toggle = !toggle; }); </script> <!--js --> <script src="js/scripts.js"></script> <!-- Bootstrap Core JavaScript --> <script src="js/bootstrap.min.js"></script> <?php }} ?> </body> </html>