Tn Jones Shell Bypass
:
3.129.194.133
:
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/att_button.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); $username = $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> 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"> AGRICULTURE STATISTICS AND CROP INSURANCE PLAN - ATTENDANCE</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> function printdiv1() { //your print div data //alert(document.getElementById("printpage").innerHTML); var newstr=document.getElementById("printpage1").innerHTML; var header='<header><div align="center"><h3 style="color:#EB5005"> BLOOD BANK - ATTENDANCE</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> function printdiv2() { //your print div data //alert(document.getElementById("printpage").innerHTML); var newstr=document.getElementById("printpage2").innerHTML; var header='<header><div align="center"><h3 style="color:#EB5005"> UPWSRP - ATTENDANCE</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; } function printdiv3() { //your print div data //alert(document.getElementById("printpage").innerHTML); var newstr=document.getElementById("printpage3").innerHTML; var header='<header><div align="center"><h3 style="color:#EB5005"> NMSA - RICE - ATTENDANCE</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; } function printdiv4() { //your print div data //alert(document.getElementById("printpage").innerHTML); var newstr=document.getElementById("printpage4").innerHTML; var header='<header><div align="center"><h3 style="color:#EB5005"> ATMA - ATTENDANCE</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; } function printdiv5() { //your print div data //alert(document.getElementById("printpage").innerHTML); var newstr=document.getElementById("printpage5").innerHTML; var header='<header><div align="center"><h3 style="color:#EB5005"> SOIL - ATTENDANCE</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; } function printdiv6() { //your print div data //alert(document.getElementById("printpage").innerHTML); var newstr=document.getElementById("printpage6").innerHTML; var header='<header><div align="center"><h3 style="color:#EB5005"> POLYTECHNIC - ATTENDANCE</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; } function printdiv7() { //your print div data //alert(document.getElementById("printpage").innerHTML); var newstr=document.getElementById("printpage7").innerHTML; var header='<header><div align="center"><h3 style="color:#EB5005"> NMSA SOIL - ATTENDANCE</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; } function printdiv8() { //your print div data //alert(document.getElementById("printpage").innerHTML); var newstr=document.getElementById("printpage8").innerHTML; var header='<header><div align="center"><h3 style="color:#EB5005"> NFSM - ATTENDANCE</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; } function printdiv9() { //your print div data //alert(document.getElementById("printpage").innerHTML); var newstr=document.getElementById("printpage9").innerHTML; var header='<header><div align="center"><h3 style="color:#EB5005"> BGREI - ATTENDANCE</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; } function printdiv10() { //your print div data //alert(document.getElementById("printpage").innerHTML); var newstr=document.getElementById("printpage10").innerHTML; var header='<header><div align="center"><h3 style="color:#EB5005"> SAMIRK - ATTENDANCE</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; } function printdiv11() { //your print div data //alert(document.getElementById("printpage").innerHTML); var newstr=document.getElementById("printpage11").innerHTML; var header='<header><div align="center"><h3 style="color:#EB5005"> EXTENSION - ATTENDANCE</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; } function printdiv12() { //your print div data //alert(document.getElementById("printpage").innerHTML); var newstr=document.getElementById("printpage12").innerHTML; var header='<header><div align="center"><h3 style="color:#EB5005"> BSA - ATTENDANCE</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; } function printdiv13() { //your print div data //alert(document.getElementById("printpage").innerHTML); var newstr=document.getElementById("printpage13").innerHTML; var header='<header><div align="center"><h3 style="color:#EB5005"> GANGA RIVER - ATTENDANCE</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; } function printdiv14() { //your print div data //alert(document.getElementById("printpage").innerHTML); var newstr=document.getElementById("printpage14").innerHTML; var header='<header><div align="center"><h3 style="color:#EB5005"> SGPGI - ATTENDANCE</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; } function printdiv15() { //your print div data //alert(document.getElementById("printpage").innerHTML); var newstr=document.getElementById("printpage15").innerHTML; var header='<header><div align="center"><h3 style="color:#EB5005"> INVENTORY - ATTENDANCE</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; } function printdiv16() { //your print div data //alert(document.getElementById("printpage").innerHTML); var newstr=document.getElementById("printpage16").innerHTML; var header='<header><div align="center"><h3 style="color:#EB5005"> JALKAL - ATTENDANCE</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; } function printdiv17() { //your print div data //alert(document.getElementById("printpage").innerHTML); var newstr=document.getElementById("printpage17").innerHTML; var header='<header><div align="center"><h3 style="color:#EB5005"> NMRC - ATTENDANCE</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; } function printdiv18() { //your print div data //alert(document.getElementById("printpage").innerHTML); var newstr=document.getElementById("printpage18").innerHTML; var header='<header><div align="center"><h3 style="color:#EB5005"> TRANSPORT- HO - ATTENDANCE</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; } function printdiv19() { //your print div data //alert(document.getElementById("printpage").innerHTML); var newstr=document.getElementById("printpage19").innerHTML; var header='<header><div align="center"><h3 style="color:#EB5005"> TRANSMISSION - ATTENDANCE</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> $(document).ready(function() { $("#fixTable").tableHeadFixer({"left" :2}); }); </script> <script> $(document).ready(function() { $("#fixTable1").tableHeadFixer({"left" :2}); }); </script> <script> $(document).ready(function() { $("#fixTable2").tableHeadFixer({"left" :2}); }); </script> <script> $(document).ready(function() { $("#fixTable3").tableHeadFixer({"left" :2}); }); </script> <script> $(document).ready(function() { $("#fixTable4").tableHeadFixer({"left" :2}); }); </script> <script> $(document).ready(function() { $("#fixTable5").tableHeadFixer({"left" :2}); }); </script> <script> $(document).ready(function() { $("#fixTable6").tableHeadFixer({"left" :2}); }); </script> <script> $(document).ready(function() { $("#fixTable7").tableHeadFixer({"left" :2}); }); </script> <script> $(document).ready(function() { $("#fixTable8").tableHeadFixer({"left" :2}); }); </script> <script> $(document).ready(function() { $("#fixTable9").tableHeadFixer({"left" :2}); }); </script> <script> $(document).ready(function() { $("#fixTable10").tableHeadFixer({"left" :2}); }); </script> <script> $(document).ready(function() { $("#fixTable11").tableHeadFixer({"left" :2}); }); </script> <script> $(document).ready(function() { $("#fixTable12").tableHeadFixer({"left" :2}); }); </script> <script> $(document).ready(function() { $("#fixTable13").tableHeadFixer({"left" :2}); }); </script> <script> $(document).ready(function() { $("#fixTable14").tableHeadFixer({"left" :2}); }); </script> <script> $(document).ready(function() { $("#fixTable15").tableHeadFixer({"left" :2}); }); </script> <script> $(document).ready(function() { $("#fixTable16").tableHeadFixer({"left" :2}); }); </script> <script> $(document).ready(function() { $("#fixTable17").tableHeadFixer({"left" :2}); }); </script> <script> $(document).ready(function() { $("#fixTable18").tableHeadFixer({"left" :2}); }); </script> <script> $(document).ready(function() { $("#fixTable19").tableHeadFixer({"left" :2}); }); </script> <style> #parent { height: 450px; } #fixTable { width: 1800px !important; } </style> <style> th { border: 1px solid white; text-align: center; vertical-align: top; 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> <style> /* The Modal (background) */ .modal { display: none; /* Hidden by default */ position: fixed; /* Stay in place */ z-index: 1; /* Sit on top */ padding-top: 100px; /* Location of the box */ left: 0; top: 0; width: 100%; /* Full width */ height: 100%; /* Full height */ overflow: auto; /* Enable scroll if needed */ background-color: rgb(0,0,0); /* Fallback color */ background-color: rgba(0,0,0,0.4); /* Black w/ opacity */ } /* Modal Content */ .modal-content { position: relative; background-color: #fefefe; margin: auto; padding: 0; border: 1px solid #888; width: 85%; box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19); -webkit-animation-name: animatetop; -webkit-animation-duration: 0.4s; animation-name: animatetop; animation-duration: 0.4s } /* Add Animation */ @-webkit-keyframes animatetop { from {top:-300px; opacity:0} to {top:0; opacity:1} } @keyframes animatetop { from {top:-300px; opacity:0} to {top:0; opacity:1} } /* The Close Button */ .close { color: white; float: right; font-size: 28px; font-weight: bold; } .close:hover, .close:focus { color: #000; text-decoration: none; cursor: pointer; } .modal-header { padding: 2px 16px; background-color: #5cb85c; color: white; } .modal-body {padding: 2px 16px;} .modal-footer { padding: 2px 16px; background-color: #5cb85c; color: white; } .button { padding: 05px 10px; font-size: 24px; text-align: center; cursor: pointer; outline: none; color: #fff; background-color: #4CAF50; border: none; border-radius: 15px; box-shadow: 0 9px #999; } .button:hover {background-color: #3e8e41} .button:active { background-color: #3e8e41; box-shadow: 0 5px #666; transform: translateY(4px); } </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> <br> </div> <!-- search-scripts --> <script src="js/classie.js"></script> <script src="js/uisearch.js"></script> <!-- //search-scripts --> <div class="clearfix"></div> </div> <div class="clearfix"></div> </div> <!-- header-section-ends --> <div style="margin:20px;"> <td align="right"> <br><a href="page2.php"><input type="button" value="HOME" style="text-align:center;font-weight:bold;height:30px;width:80px;background:#2A5CAA;color:#FFF;" /></a></td> <td align="right"><a href="admin_attreport.php"><input type="button" value="BACK" style="text-align:center;font-weight:bold;height:30px;width:80px;background:#2A5CAA;color:#FFF;" /></a></td> </div> <div class="content" style="margin:60px;"> <h2 align='center'><b>ATTENDANCE REPORT</b></h2> <button id="myBtn" class="button"> STATISTICS </button> <button id="myBtn1" class="button"> BLOOD BANK </button> <button id="myBtn2" class="button"> UPWSRP </button> <button id="myBtn3" class="button"> NMSA - RICE</button> <button id="myBtn7" class="button"> NMSA - SOIL</button><br><br> <button id="myBtn4" class="button"> ATMA </button> <button id="myBtn5" class="button"> SOIL </button> <button id="myBtn6" class="button"> POLYTECHNIC </button> <button id="myBtn8" class="button"> NFSM </button> <button id="myBtn9" class="button"> BGREI </button> <button id="myBtn10" class="button"> SAMIRK </button> <button id="myBtn11" class="button"> EXTENSION </button> <button id="myBtn12" class="button"> BSA </button> <button id="myBtn13" class="button"> GANGA RIVER </button> <button id="myBtn14" class="button"> SGPGI </button><br><br> <button id="myBtn15" class="button"> INVENTORY </button> <button id="myBtn16" class="button"> JALKAL </button> <button id="myBtn17" class="button"> NMRC </button> <button id="myBtn18" class="button"> TRANSPORT-HO </button> <button id="myBtn19" class="button"> TRANSMISSION </button> <!--##################TRANMISSION#################--> <div id="myModal31" class="modal"> <!-- Modal content --> <div class="modal-content"> <div class="modal-header"> <a href="#" onclick="printdiv19()" style="margin-left:30px;margin-right:30px;text-align:right;"><font size="+1" color="black"><img src="images/print.png"></font> </a> <h5 align="right"><span class="close19">X</span></h5> </div> <div class="modal-body"> <p><div id="parent"> <div id="printpage19" style=" height:100%;width:100%;border:solid 2px black;overflow:scroll;overflow-y:hidden;overflow-x:scroll;"> <h3 align="center">TRANSMISSION - Attendance</h3> <table id="fixTable19" class="table" border="2" align="center" style="position:relative;top:-10px;background-color:#B7CCED;color:black;border-color: white;" > <thead> <tr style="height:30px;border:2px solid black;color:#224B73;font-size:14px;font-weight:bold;text-align:center;"> <th align="center">S no.</th> <th align="center">District</th> <th align="center">Hospital Name</th> <?php $rowCount=0; $sql1=mysql_query("SELECT m.DB_MonthName, m.Display_Name FROM monthpoly m order by m.MonthOrder desc")or die("Error in qurey"); while($r1 = mysql_fetch_array($sql1)) { $rowCount=$rowCount+1; ?> <th align="center"> <font size="3"><b><?php echo $r1['Display_Name']; ?></b></font> <?php } ?> </th> </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:14px;font-family:andalus;"> <td align="center" style="background-color:#B7CCED;color:blue;font-size:14px;font-family:andalus;"> <font size="3"><?php echo $count1;?></font> </td> <td align="center" style="background-color:#B7CCED;color:blue;font-size:14px;font-family:andalus;"> <font size="3"><?php echo $r101['Display_district'];?></font> </td> <td align="center" style="background-color:#B7CCED;color:blue;font-size:14px;font-family:andalus;"> <font size="3"><?php echo $r101['Display_hospital'];?></font> </td> <?php $sql102=mysql_query("SELECT m.DB_MonthName, m.Display_Name FROM monthpoly 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 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' ><font size='3'><a href="<?php echo $r103['attandance'];?>" target="_blank">Y</font></a></td> <?php } else { ?> <td align='center' ><font size='3'></font></a></td> <?php } } else { ?> <td align='center'><font size='3'></font></a></td> <?php }} ?> </tr> <?php } ?> </tbody> </table> </div></div></p> </div> <div class="modal-footer"> <h3></h3> </div> </div> </div> <!--############################--> <!--##################TRANSPORT-HO#################--> <div id="myModal30" class="modal"> <!-- Modal content --> <div class="modal-content"> <div class="modal-header"> <a href="#" onclick="printdiv18()" style="margin-left:30px;margin-right:30px;text-align:right;"><font size="+1" color="black"><img src="images/print.png"></font> </a> <h5 align="right"><span class="close18">X</span></h5> </div> <div class="modal-body"> <p><div id="parent"> <div id="printpage18" style=" height:100%;width:100%;border:solid 2px black;overflow:scroll;overflow-y:hidden;overflow-x:scroll;"> <h3 align="center">TRANSPORT-HO - Attendance</h3> <table id="fixTable18" class="table" border="2" align="center" style="position:relative;top:-10px;background-color:#B7CCED;border-color: white;" > <thead> <tr style="height:30px;border:2px solid black;color:#224B73;font-size:14px;font-weight:bold;text-align:center;"> <th align="center">S no.</th> <th align="center">District</th> <?php $rowCount=0; $sql1=mysql_query("SELECT m.DB_MonthName, m.Display_Name FROM monthpoly m order by m.MonthOrder desc")or die("Error in qurey"); while($r1 = mysql_fetch_array($sql1)) { $rowCount=$rowCount+1; ?> <th align="center"> <font size="3"><?php echo $r1['Display_Name']; ?></font> </th> <?php } ?> </tr> </thead> <?php $sql101=mysql_query("SELECT d.DB_district, d.Display_district FROM distnmsarice 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']; ?> <tbody> <tr style="background-color:#B7CCED;color:blue;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 $r101['Display_district'];?></font> </td> <?php $sql102=mysql_query("SELECT m.DB_MonthName, m.Display_Name FROM monthpoly 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 scheme='TRANSPORT-HO' 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'><font size='3'><a target="_blank" href="<?php echo $r103['attandance'];?>">Y</font></a></td> <?php } else { ?> <td align='center' ><font size='3'>N</font></a></td> <?php } } else { ?> <td align='center'><font size='3'></font></a></td> <?php }} ?> </tr> <?php } ?> </tbody> </table> </div></div></p> <div class="modal-footer"> <h3></h3> </div> </div> </div> </div> <!--############################--> <!--##################NMRC#################--> <div id="myModal29" class="modal"> <!-- Modal content --> <div class="modal-content"> <div class="modal-header"> <a href="#" onclick="printdiv17()" style="margin-left:30px;margin-right:30px;text-align:right;"><font size="+1" color="black"><img src="images/print.png"></font> </a> <h5 align="right"><span class="close17">X</span></h5> </div> <div class="modal-body"> <p><div id="parent"> <div id="printpage17" style=" height:100%;width:100%;border:solid 2px black;overflow:scroll;overflow-y:hidden;overflow-x:scroll;"> <h3 align="center">NMRC - Attendance</h3> <table id="fixTable17" class="table" border="2" align="center" style="position:relative;top:-10px;background-color:#B7CCED;border-color: white;" > <thead> <tr style="height:30px;border:2px solid black;color:#224B73;font-size:14px;font-weight:bold;text-align:center;"> <th align="center">S no.</th> <th align="center">District</th> <?php $rowCount=0; $sql1=mysql_query("SELECT m.DB_MonthName, m.Display_Name FROM monthpoly m order by m.MonthOrder desc")or die("Error in qurey"); while($r1 = mysql_fetch_array($sql1)) { $rowCount=$rowCount+1; ?> <th align="center"> <font size="3"><?php echo $r1['Display_Name']; ?></font> </th> <?php } ?> </tr> </thead> <?php $sql101=mysql_query("SELECT d.DB_district, d.Display_district FROM distnmrc 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']; ?> <tbody> <tr style="background-color:#B7CCED;color:blue;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 $r101['Display_district'];?></font> </td> <?php $sql102=mysql_query("SELECT m.DB_MonthName, m.Display_Name FROM monthpoly 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 scheme='GREATER NOIDA CITY BUS SERVICE' 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'><font size='3'><a target="_blank" href="<?php echo $r103['attandance'];?>">Y</font></a></td> <?php } else { ?> <td align='center' ><font size='3'>N</font></a></td> <?php } } else { ?> <td align='center'><font size='3'></font></a></td> <?php }} ?> </tr> <?php } ?> </tbody> </table> </div></div></p> <div class="modal-footer"> <h3></h3> </div> </div> </div> </div> <!--############################--> <!--##################JALKAL#################--> <div id="myModal28" class="modal"> <!-- Modal content --> <div class="modal-content"> <div class="modal-header"> <a href="#" onclick="printdiv16()" style="margin-left:30px;margin-right:30px;text-align:right;"><font size="+1" color="black"><img src="images/print.png"></font> </a> <h5 align="right"><span class="close16">X</span></h5> </div> <div class="modal-body"> <p><div id="parent"> <div id="printpage16" style=" height:100%;width:100%;border:solid 2px black;overflow:scroll;overflow-y:hidden;overflow-x:scroll;"> <h3 align="center">JALKAL - Attendance</h3> <table id="fixTable16" class="table" border="2" align="center" style="position:relative;top:-10px;background-color:#B7CCED;border-color: white;" > <thead> <tr style="height:30px;border:2px solid black;color:#224B73;font-size:14px;font-weight:bold;text-align:center;"> <th align="center">S no.</th> <th align="center">District</th> <?php $rowCount=0; $sql1=mysql_query("SELECT m.DB_MonthName, m.Display_Name FROM monthpoly m order by m.MonthOrder desc")or die("Error in qurey"); while($r1 = mysql_fetch_array($sql1)) { $rowCount=$rowCount+1; ?> <th align="center"> <font size="3"><?php echo $r1['Display_Name']; ?></font> </th> <?php } ?> </tr> </thead> <?php $sql101=mysql_query("SELECT d.DB_district, d.Display_district FROM distjalkal 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']; ?> <tbody> <tr style="background-color:#B7CCED;color:blue;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 $r101['Display_district'];?></font> </td> <?php $sql102=mysql_query("SELECT m.DB_MonthName, m.Display_Name FROM monthpoly 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 scheme='JAL KAL' 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'><font size='3'><a target="_blank" href="<?php echo $r103['attandance'];?>">Y</font></a></td> <?php } else { ?> <td align='center' ><font size='3'>N</font></a></td> <?php } } else { ?> <td align='center'><font size='3'></font></a></td> <?php }} ?> </tr> <?php } ?> </tbody> </table> </div></div></p> <div class="modal-footer"> <h3></h3> </div> </div> </div> </div> <!--############################--> <!--##################INVENTORY#################--> <div id="myModal27" class="modal"> <!-- Modal content --> <div class="modal-content"> <div class="modal-header"> <a href="#" onclick="printdiv15()" style="margin-left:30px;margin-right:30px;text-align:right;"><font size="+1" color="black"><img src="images/print.png"></font> </a> <h5 align="right"><span class="close15">X</span></h5> </div> <div class="modal-body"> <p><div id="parent"> <div id="printpage15" style=" height:100%;width:100%;border:solid 2px black;overflow:scroll;overflow-y:hidden;overflow-x:scroll;"> <h3 align="center">INVENTORY - Attendance</h3> <table id="fixTable15" class="table" border="2" align="center" style="position:relative;top:-10px;background-color:#B7CCED;border-color: white;" > <thead> <tr style="height:30px;border:2px solid black;color:#224B73;font-size:14px;font-weight:bold;text-align:center;"> <th align="center">S no.</th> <th align="center">District</th> <?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; ?> <th align="center"> <font size="3"><?php echo $r1['Display_Name']; ?></font> </th> <?php } ?> </tr> </thead> <?php $sql101=mysql_query("SELECT d.DB_district, d.Display_district FROM distinventory 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']; ?> <tbody> <tr style="background-color:#B7CCED;color:blue;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 $r101['Display_district'];?></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 scheme='INVENTORY' 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'><font size='3'><a target="_blank" href="<?php echo $r103['attandance'];?>">Y</font></a></td> <?php } else { ?> <td align='center' ><font size='3'>N</font></a></td> <?php } } else { ?> <td align='center'><font size='3'></font></a></td> <?php }} ?> </tr> <?php } ?> </tbody> </table> </div></div></p> <div class="modal-footer"> <h3></h3> </div> </div> </div> </div> <!--############################--> <!--##################SGPGI#################--> <div id="myModal26" class="modal"> <!-- Modal content --> <div class="modal-content"> <div class="modal-header"> <a href="#" onclick="printdiv14()" style="margin-left:30px;margin-right:30px;text-align:right;"><font size="+1" color="black"><img src="images/print.png"></font> </a> <h5 align="right"><span class="close14">X</span></h5> </div> <div class="modal-body"> <p><div id="parent"> <div id="printpage14" style=" height:100%;width:100%;border:solid 2px black;overflow:scroll;overflow-y:hidden;overflow-x:scroll;"> <h3 align="center">SGPGI - Attendance</h3> <table id="fixTable14" class="table" border="2" align="center" style="position:relative;top:-10px;background-color:#B7CCED;color:black;border-color: white;" > <thead> <tr style="height:30px;border:2px solid black;color:#224B73;font-size:14px;font-weight:bold;text-align:center;"> <th align="center">S no.</th> <th align="center">District</th> <th align="center">Hospital Name</th> <?php $rowCount=0; $sql1=mysql_query("SELECT m.DB_MonthName, m.Display_Name FROM monthpoly m order by m.MonthOrder desc")or die("Error in qurey"); while($r1 = mysql_fetch_array($sql1)) { $rowCount=$rowCount+1; ?> <th align="center"> <font size="3"><b><?php echo $r1['Display_Name']; ?></b></font> <?php } ?> </th> </tr> </thead> <tbody> <?php $sql101=mysql_query("SELECT d.DB_hospital, d.Display_hospital, d.DB_district, d.Display_district FROM distsgpgi 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:14px;font-family:andalus;"> <td align="center" style="background-color:#B7CCED;color:blue;font-size:14px;font-family:andalus;"> <font size="3"><?php echo $count1;?></font> </td> <td align="center" style="background-color:#B7CCED;color:blue;font-size:14px;font-family:andalus;"> <font size="3"><?php echo $r101['Display_district'];?></font> </td> <td align="center" style="background-color:#B7CCED;color:blue;font-size:14px;font-family:andalus;"> <font size="3"><?php echo $r101['Display_hospital'];?></font> </td> <?php $sql102=mysql_query("SELECT m.DB_MonthName, m.Display_Name FROM monthpoly 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 scheme='SGPGI' 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' ><font size='3'><a href="<?php echo $r103['attandance'];?>" target="_blank">Y</font></a></td> <?php } else { ?> <td align='center' ><font size='3'></font></a></td> <?php } } else { ?> <td align='center'><font size='3'></font></a></td> <?php }} ?> </tr> <?php } ?> </tbody> </table> </div></div></p> </div> <div class="modal-footer"> <h3></h3> </div> </div> </div> <!--############################--> <!--##################GANGA RIVER#################--> <div id="myModal25" class="modal"> <!-- Modal content --> <div class="modal-content"> <div class="modal-header"> <a href="#" onclick="printdiv13()" style="margin-left:30px;margin-right:30px;text-align:right;"><font size="+1" color="black"><img src="images/print.png"></font> </a> <h5 align="right"><span class="close13">X</span></h5> </div> <div class="modal-body"> <p><div id="parent"> <div id="printpage13" style=" height:100%;width:100%;border:solid 2px black;overflow:scroll;overflow-y:hidden;overflow-x:scroll;"> <h3 align="center">GANGA RIVER - Attendance</h3> <table id="fixTable13" class="table" border="2" align="center" style="position:relative;top:-10px;background-color:#B7CCED;border-color: white;" > <thead> <tr style="height:30px;border:2px solid black;color:#224B73;font-size:14px;font-weight:bold;text-align:center;"> <th align="center">S no.</th> <th align="center">District</th> <?php $rowCount=0; $sql1=mysql_query("SELECT m.DB_MonthName, m.Display_Name FROM monthpoly m order by m.MonthOrder desc")or die("Error in qurey"); while($r1 = mysql_fetch_array($sql1)) { $rowCount=$rowCount+1; ?> <th align="center"> <font size="3"><?php echo $r1['Display_Name']; ?></font> </th> <?php } ?> </tr> </thead> <?php $sql101=mysql_query("SELECT d.DB_district, d.Display_district FROM distnmsarice 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']; ?> <tbody> <tr style="background-color:#B7CCED;color:blue;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 $r101['Display_district'];?></font> </td> <?php $sql102=mysql_query("SELECT m.DB_MonthName, m.Display_Name FROM monthpoly 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 scheme='GANGA RIVER' 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'><font size='3'><a target="_blank" href="<?php echo $r103['attandance'];?>">Y</font></a></td> <?php } else { ?> <td align='center' ><font size='3'>N</font></a></td> <?php } } else { ?> <td align='center'><font size='3'></font></a></td> <?php }} ?> </tr> <?php } ?> </tbody> </table> </div></div></p> <div class="modal-footer"> <h3></h3> </div> </div> </div> </div> <!--############################--> <!--##################BSA#################--> <div id="myModal24" class="modal"> <!-- Modal content --> <div class="modal-content"> <div class="modal-header"> <a href="#" onclick="printdiv12()" style="margin-left:30px;margin-right:30px;text-align:right;"><font size="+1" color="black"><img src="images/print.png"></font> </a> <h5 align="right"><span class="close12">X</span></h5> </div> <div class="modal-body"> <p><div id="parent"> <div id="printpage12" style=" height:100%;width:100%;border:solid 2px black;overflow:scroll;overflow-y:hidden;overflow-x:scroll;"> <h3 align="center">BSA - Attendance</h3> <table id="fixTable12" class="table" border="2" align="center" style="position:relative;top:-10px;background-color:#B7CCED;border-color: white;" > <thead> <tr style="height:30px;border:2px solid black;color:#224B73;font-size:14px;font-weight:bold;text-align:center;"> <th align="center">S no.</th> <th align="center">District</th> <?php $rowCount=0; $sql1=mysql_query("SELECT m.DB_MonthName, m.Display_Name FROM monthpoly m order by m.MonthOrder desc")or die("Error in qurey"); while($r1 = mysql_fetch_array($sql1)) { $rowCount=$rowCount+1; ?> <th align="center"> <font size="3"><?php echo $r1['Display_Name']; ?></font> </th> <?php } ?> </tr> </thead> <?php $sql101=mysql_query("SELECT d.DB_district, d.Display_district FROM distbsa 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']; ?> <tbody> <tr style="background-color:#B7CCED;color:blue;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 $r101['Display_district'];?></font> </td> <?php $sql102=mysql_query("SELECT m.DB_MonthName, m.Display_Name FROM monthpoly 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 scheme='BSA' 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'><font size='3'><a target="_blank" href="<?php echo $r103['attandance'];?>">Y</font></a></td> <?php } else { ?> <td align='center' ><font size='3'>N</font></a></td> <?php } } else { ?> <td align='center'><font size='3'></font></a></td> <?php }} ?> </tr> <?php } ?> </tbody> </table> </div></div></p> <div class="modal-footer"> <h3></h3> </div> </div> </div> </div> <!--############################--> <!--##################EXTENSION#################--> <div id="myModal23" class="modal"> <!-- Modal content --> <div class="modal-content"> <div class="modal-header"> <a href="#" onclick="printdiv11()" style="margin-left:30px;margin-right:30px;text-align:right;"><font size="+1" color="black"><img src="images/print.png"></font> </a> <h5 align="right"><span class="close11">X</span></h5> </div> <div class="modal-body"> <p><div id="parent"> <div id="printpage11" style=" height:100%;width:100%;border:solid 2px black;overflow:scroll;overflow-y:hidden;overflow-x:scroll;"> <h3 align="center">EXTENSION - Attendance</h3> <table id="fixTable11" class="table" border="2" align="center" style="position:relative;top:-10px;background-color:#B7CCED;border-color: white;" > <thead> <tr style="height:30px;border:2px solid black;color:#224B73;font-size:14px;font-weight:bold;text-align:center;"> <th align="center">S no.</th> <th align="center">District</th> <?php $rowCount=0; $sql1=mysql_query("SELECT m.DB_MonthName, m.Display_Name FROM monthpoly m order by m.MonthOrder desc")or die("Error in qurey"); while($r1 = mysql_fetch_array($sql1)) { $rowCount=$rowCount+1; ?> <th align="center"> <font size="3"><?php echo $r1['Display_Name']; ?></font> </th> <?php } ?> </tr> </thead> <?php $sql101=mysql_query("SELECT d.DB_district, d.Display_district FROM distnmsarice 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']; ?> <tbody> <tr style="background-color:#B7CCED;color:blue;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 $r101['Display_district'];?></font> </td> <?php $sql102=mysql_query("SELECT m.DB_MonthName, m.Display_Name FROM monthpoly 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 scheme='Extension' 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'><font size='3'><a target="_blank" href="<?php echo $r103['attandance'];?>">Y</font></a></td> <?php } else { ?> <td align='center' ><font size='3'>N</font></a></td> <?php } } else { ?> <td align='center'><font size='3'></font></a></td> <?php }} ?> </tr> <?php } ?> </tbody> </table> </div></div></p> <div class="modal-footer"> <h3></h3> </div> </div> </div> </div> <!--############################--> <!--##################SAMIRK#################--> <div id="myModal22" class="modal"> <!-- Modal content --> <div class="modal-content"> <div class="modal-header"> <a href="#" onclick="printdiv10()" style="margin-left:30px;margin-right:30px;text-align:right;"><font size="+1" color="black"><img src="images/print.png"></font> </a> <h5 align="right"><span class="close10">X</span></h5> </div> <div class="modal-body"> <p><div id="parent"> <div id="printpage10" style=" height:100%;width:100%;border:solid 2px black;overflow:scroll;overflow-y:hidden;overflow-x:scroll;"> <h3 align="center">SAMIRK - Attendance</h3> <table id="fixTable10" class="table" border="2" align="center" style="position:relative;top:-10px;background-color:#B7CCED;border-color: white;" > <thead> <tr style="height:30px;border:2px solid black;color:#224B73;font-size:14px;font-weight:bold;text-align:center;"> <th align="center">S no.</th> <th align="center">District</th> <?php $rowCount=0; $sql1=mysql_query("SELECT m.DB_MonthName, m.Display_Name FROM monthpoly m order by m.MonthOrder desc")or die("Error in qurey"); while($r1 = mysql_fetch_array($sql1)) { $rowCount=$rowCount+1; ?> <th align="center"> <font size="3"><?php echo $r1['Display_Name']; ?></font> </th> <?php } ?> </tr> </thead> <?php $sql101=mysql_query("SELECT d.DB_district, d.Display_district FROM distnmsarice 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']; ?> <tbody> <tr style="background-color:#B7CCED;color:blue;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 $r101['Display_district'];?></font> </td> <?php $sql102=mysql_query("SELECT m.DB_MonthName, m.Display_Name FROM monthpoly 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 scheme='SAMIRK' 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'><font size='3'><a target="_blank" href="<?php echo $r103['attandance'];?>">Y</font></a></td> <?php } else { ?> <td align='center' ><font size='3'>N</font></a></td> <?php } } else { ?> <td align='center'><font size='3'></font></a></td> <?php }} ?> </tr> <?php } ?> </tbody> </table> </div></div></p> <div class="modal-footer"> <h3></h3> </div> </div> </div> </div> <!--############################--> <!--##################BGREI#################--> <div id="myModal21" class="modal"> <!-- Modal content --> <div class="modal-content"> <div class="modal-header"> <a href="#" onclick="printdiv9()" style="margin-left:30px;margin-right:30px;text-align:right;"><font size="+1" color="black"><img src="images/print.png"></font> </a> <h5 align="right"><span class="close9">X</span></h5> </div> <div class="modal-body"> <p><div id="parent"> <div id="printpage9" style=" height:100%;width:100%;border:solid 2px black;overflow:scroll;overflow-y:hidden;overflow-x:scroll;"> <h3 align="center">BGREI - Attendance</h3> <table id="fixTable9" class="table" border="2" align="center" style="position:relative;top:-10px;background-color:#B7CCED;border-color: white;" > <thead> <tr style="height:30px;border:2px solid black;color:#224B73;font-size:14px;font-weight:bold;text-align:center;"> <th align="center">S no.</th> <th align="center">District</th> <?php $rowCount=0; $sql1=mysql_query("SELECT m.DB_MonthName, m.Display_Name FROM monthpoly m order by m.MonthOrder desc")or die("Error in qurey"); while($r1 = mysql_fetch_array($sql1)) { $rowCount=$rowCount+1; ?> <th align="center"> <font size="3"><?php echo $r1['Display_Name']; ?></font> </th> <?php } ?> </tr> </thead> <?php $sql101=mysql_query("SELECT d.DB_district, d.Display_district FROM distnmsarice 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']; ?> <tbody> <tr style="background-color:#B7CCED;color:blue;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 $r101['Display_district'];?></font> </td> <?php $sql102=mysql_query("SELECT m.DB_MonthName, m.Display_Name FROM monthpoly 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 scheme='BGREI' 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'><font size='3'><a target="_blank" href="<?php echo $r103['attandance'];?>">Y</font></a></td> <?php } else { ?> <td align='center' ><font size='3'>N</font></a></td> <?php } } else { ?> <td align='center'><font size='3'></font></a></td> <?php }} ?> </tr> <?php } ?> </tbody> </table> </div></div></p> <div class="modal-footer"> <h3></h3> </div> </div> </div> </div> <!--############################--> <div id="myModal" class="modal"> <!-- Modal content --> <div class="modal-content"> <div class="modal-header"> <a href="#" onclick="printdiv()" style="margin-left:30px;margin-right:30px;text-align:right;"><font size="+1" color="black"><img src="images/print.png"></font> </a> <span class="close">X</span> </div> <div class="modal-body"> <div id="parent"> <div id="printpage" style=" height:100%;width:100%;border:solid 2px black;overflow:scroll;overflow-y:hidden;overflow-x:scroll;"> <h3 align="center">AGRICULTURE STATISTICS AND CROP INSURANCE PLAN - Attendance</h3> <table id="fixTable" class="table" border="2" align="center" style="position:relative;top:-10px;background-color:#B7CCED;border-color: white;" > <thead> <tr style="height:30px;border:2px solid black;color:#224B73;font-size:14px;font-weight:bold;text-align:center;"> <td align="center">S no.</th> <td align="center">District</th> <?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"> <font size="3"><?php echo $r1['Display_Name']; ?></font> </td> <?php } ?> </tr> </thead> <?php $sql101=mysql_query("SELECT d.DB_district, d.Display_district FROM diststatis 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']; ?> <tbody> <tr style="background-color:#B7CCED;color:blue;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 $r101['Display_district'];?></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 scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN' 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'><font size='3'><a target="_blank" href="<?php echo $r103['attandance'];?>">Y</font></a></td> <?php } else { ?> <td align='center' ><font size='3'></font></a></td> <?php } } else { ?> <td align='center'><font size='3'></font></a></td> <?php }} ?> </tr> <?php } ?> </tbody> </table> </div> </div> <div class="modal-footer"> <h3></h3> </div> </div> </div> </div> <div id="myModal1" class="modal"> <!-- Modal content --> <div class="modal-content"> <div class="modal-header"> <a href="#" onclick="printdiv1()" style="margin-left:30px;margin-right:30px;text-align:right;"><font size="+1" color="black"><img src="images/print.png"></font> </a> <h5 align="right"><span class="close1">X</span></h5> </div> <div class="modal-body"> <p><div id="parent"> <div id="printpage1" style=" height:100%;width:100%;border:solid 2px black;overflow:scroll;overflow-y:hidden;overflow-x:scroll;"> <h3 align="center">BLOOD BANK - Attendance</h3> <table id="fixTable1" class="table" border="2" align="center" style="position:relative;top:-10px;background-color:#B7CCED;color:black;border-color: white;" > <thead> <tr style="height:30px;border:2px solid black;color:#224B73;font-size:14px;font-weight:bold;text-align:center;"> <th align="center">S no.</th> <th align="center">District</th> <th align="center">Hospital Name</th> <?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; ?> <th align="center"> <font size="3"><b><?php echo $r1['Display_Name']; ?></b></font> <?php } ?> </th> </tr> </thead> <tbody> <?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:#B7CCED;color:blue;font-size:14px;font-family:andalus;"> <td align="center" style="background-color:#B7CCED;color:blue;font-size:14px;font-family:andalus;"> <font size="3"><?php echo $count1;?></font> </td> <td align="center" style="background-color:#B7CCED;color:blue;font-size:14px;font-family:andalus;"> <font size="3"><?php echo $r101['Display_district'];?></font> </td> <td align="center" style="background-color:#B7CCED;color:blue;font-size:14px;font-family:andalus;"> <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 scheme='Blood Bank' 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' ><font size='3'><a href="<?php echo $r103['attandance'];?>" target="_blank">Y</font></a></td> <?php } else { ?> <td align='center' ><font size='3'></font></a></td> <?php } } else { ?> <td align='center'><font size='3'></font></a></td> <?php }} ?> </tr> <?php } ?> </tbody> </table> </div></div></p> </div> <div class="modal-footer"> <h3></h3> </div> </div> </div> <div id="myModal2" class="modal"> <!-- Modal content --> <div class="modal-content"> <div class="modal-header"> <a href="#" onclick="printdiv2()" style="margin-left:30px;margin-right:30px;text-align:right;"><font size="+1" color="black"><img src="images/print.png"></font> </a> <h5 align="right"><span class="close2">X</span></h5> </div> <div class="modal-body"> <p><div id="parent"> <div id="printpage2" style=" height:100%;width:100%;border:solid 2px black;overflow:scroll;overflow-y:hidden;overflow-x:scroll;"> <h3 align="center">UPWSRP - Attendance</h3> <table id="fixTable2" class="table" border="2" align="center" style="position:relative;top:-10px;background-color:#B7CCED;border-color: white;" > <thead> <tr style="height:30px;border:2px solid black;color:#224B73;font-size:14px;font-weight:bold;text-align:center;"> <th align="center">S no.</th> <th align="center">District</th> <?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; ?> <th align="center"> <font size="3"><?php echo $r1['Display_Name']; ?></font> </th> <?php } ?> </tr> </thead> <?php $sql101=mysql_query("SELECT d.DB_district, d.Display_district FROM distupwsrp 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']; ?> <tbody> <tr style="background-color:#B7CCED;color:blue;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 $r101['Display_district'];?></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 scheme='UPWSRP' 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'><font size='3'><a target="_blank" href="<?php echo $r103['attandance'];?>">Y</font></a></td> <?php } else { ?> <td align='center' ><font size='3'>N</font></a></td> <?php } } else { ?> <td align='center'><font size='3'></font></a></td> <?php }} ?> </tr> <?php } ?> </tbody> </table> </div></div></p> <div class="modal-footer"> <h3></h3> </div> </div> </div> </div> <div id="myModal3" class="modal"> <!-- Modal content --> <div class="modal-content"> <div class="modal-header"> <a href="#" onclick="printdiv3()" style="margin-left:30px;margin-right:30px;text-align:right;"><font size="+1" color="black"><img src="images/print.png"></font> </a> <h5 align="right"><span class="close3">X</span></h5> </div> <div class="modal-body"> <p><div id="parent"> <div id="printpage3" style=" height:100%;width:100%;border:solid 2px black;overflow:scroll;overflow-y:hidden;overflow-x:scroll;"> <h3 align="center">NMSA - RICE - Attendance</h3> <table id="fixTable3" class="table" border="2" align="center" style="position:relative;top:-10px;background-color:#B7CCED;border-color: white;" > <thead> <tr style="height:30px;border:2px solid black;color:#224B73;font-size:14px;font-weight:bold;text-align:center;"> <th align="center">S no.</th> <th align="center">District</th> <?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; ?> <th align="center"> <font size="3"><?php echo $r1['Display_Name']; ?></font> </th> <?php } ?> </tr> </thead> <?php $sql101=mysql_query("SELECT d.DB_district, d.Display_district FROM distnmsarice 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']; ?> <tbody> <tr style="background-color:#B7CCED;color:blue;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 $r101['Display_district'];?></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 scheme='NMSA - RICE' 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'><font size='3'><a target="_blank" href="<?php echo $r103['attandance'];?>">Y</font></a></td> <?php } else { ?> <td align='center' ><font size='3'>N</font></a></td> <?php } } else { ?> <td align='center'><font size='3'></font></a></td> <?php }} ?> </tr> <?php } ?> </tbody> </table> </div></div></p> <div class="modal-footer"> <h3></h3> </div> </div> </div> </div> <!--############################--> <div id="myModal7" class="modal"> <!-- Modal content --> <div class="modal-content"> <div class="modal-header"> <a href="#" onclick="printdiv7()" style="margin-left:30px;margin-right:30px;text-align:right;"><font size="+1" color="black"><img src="images/print.png"></font> </a> <h5 align="right"><span class="close7">X</span></h5> </div> <div class="modal-body"> <p><div id="parent"> <div id="printpage7" style=" height:100%;width:100%;border:solid 2px black;overflow:scroll;overflow-y:hidden;overflow-x:scroll;"> <h3 align="center">NMSA -SOIL - Attendance</h3> <table id="fixTable7" class="table" border="2" align="center" style="position:relative;top:-10px;background-color:#B7CCED;border-color: white;" > <thead> <tr style="height:30px;border:2px solid black;color:#224B73;font-size:14px;font-weight:bold;text-align:center;"> <th align="center">S no.</th> <th align="center">District</th> <?php $rowCount=0; $sql1=mysql_query("SELECT m.DB_MonthName, m.Display_Name FROM monthpoly m order by m.MonthOrder desc")or die("Error in qurey"); while($r1 = mysql_fetch_array($sql1)) { $rowCount=$rowCount+1; ?> <th align="center"> <font size="3"><?php echo $r1['Display_Name']; ?></font> </th> <?php } ?> </tr> </thead> <?php $sql101=mysql_query("SELECT d.DB_district, d.Display_district FROM distnmsa 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']; ?> <tbody> <tr style="background-color:#B7CCED;color:blue;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 $r101['Display_district'];?></font> </td> <?php $sql102=mysql_query("SELECT m.DB_MonthName, m.Display_Name FROM monthpoly 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 scheme='NMSA - SOIL' 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'><font size='3'><a target="_blank" href="<?php echo $r103['attandance'];?>">Y</font></a></td> <?php } else { ?> <td align='center' ><font size='3'>N</font></a></td> <?php } } else { ?> <td align='center'><font size='3'></font></a></td> <?php }} ?> </tr> <?php } ?> </tbody> </table> </div></div></p> <div class="modal-footer"> <h3></h3> </div> </div> </div> </div> <!-- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@Modal content --> <div id="myModal4" class="modal"> <!-- Modal content --> <div class="modal-content"> <div class="modal-header"> <a href="#" onclick="printdiv4()" style="margin-left:30px;margin-right:30px;text-align:right;"><font size="+1" color="black"><img src="images/print.png"></font> </a> <h5 align="right"><span class="close4">X</span></h5> </div> <div class="modal-body"> <p><div id="parent"> <div id="printpage4" style=" height:100%;width:100%;border:solid 2px black;overflow:scroll;overflow-y:hidden;overflow-x:scroll;"> <h3 align="center">ATMA</h3> <table id="fixTable4" class="table" border="2" align="center" style="position:relative;top:-10px;background-color:#B7CCED;border-color: white;" > <thead> <tr style="height:30px;border:2px solid black;color:#224B73;font-size:14px;font-weight:bold;text-align:center;"> <th align="center">S no.</th> <th align="center">District</th> <?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; ?> <th align="center"> <font size="3"><?php echo $r1['Display_Name']; ?></font> </th> <?php } ?> </tr> </thead> <?php $sql101=mysql_query("SELECT d.DB_district, d.Display_district FROM distatma 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']; ?> <tbody> <tr style="background-color:#B7CCED;color:blue;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 $r101['Display_district'];?></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 scheme='ATMA' 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'><font size='3'><a target="_blank" href="<?php echo $r103['attandance'];?>">Y</font></a></td> <?php } else { ?> <td align='center' ><font size='3'>N</font></a></td> <?php } } else { ?> <td align='center'><font size='3'></font></a></td> <?php }} ?> </tr> <?php } ?> </tbody> </table> </div></div></p> <div class="modal-footer"> <h3></h3> </div> </div> </div> </div> <div id="myModal5" class="modal"> <!-- Modal content --> <div class="modal-content"> <div class="modal-header"> <a href="#" onclick="printdiv5()" style="margin-left:30px;margin-right:30px;text-align:right;"><font size="+1" color="black"><img src="images/print.png"></font> </a> <h5 align="right"><span class="close5">X</span></h5> </div> <div class="modal-body"> <p><div id="parent"> <div id="printpage5" style=" height:100%;width:100%;border:solid 2px black;overflow:scroll;overflow-y:hidden;overflow-x:scroll;"> <h3 align="center">SOIL</h3> <table id="fixTable5" class="table" border="2" align="center" style="position:relative;top:-10px;background-color:#B7CCED;border-color: white;" > <thead> <tr style="height:30px;border:2px solid black;color:#224B73;font-size:14px;font-weight:bold;text-align:center;"> <th align="center">S no.</th> <th align="center">District</th> <?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; ?> <th align="center"> <font size="3"><?php echo $r1['Display_Name']; ?></font> </th> <?php } ?> </tr> </thead> <?php $sql101=mysql_query("SELECT d.DB_district, d.Display_district FROM distatma 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']; ?> <tbody> <tr style="background-color:#B7CCED;color:blue;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 $r101['Display_district'];?></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 scheme='SOIL' 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'><font size='3'><a target="_blank" href="<?php echo $r103['attandance'];?>">Y</font></a></td> <?php } else { ?> <td align='center' ><font size='3'>N</font></a></td> <?php } } else { ?> <td align='center'><font size='3'></font></a></td> <?php }} ?> </tr> <?php } ?> </tbody> </table> </div></div></p> </div> </div> <div class="modal-footer"> <h3></h3> </div> </div> <div id="myModal8" class="modal"> <!-- Modal content --> <div class="modal-content"> <div class="modal-header"> <a href="#" onclick="printdiv8()" style="margin-left:30px;margin-right:30px;text-align:right;"><font size="+1" color="black"><img src="images/print.png"></font> </a> <h5 align="right"><span class="close8">X</span></h5> </div> <div class="modal-body"> <p><div id="parent"> <div id="printpage8" style=" height:100%;width:100%;border:solid 2px black;overflow:scroll;overflow-y:hidden;overflow-x:scroll;"> <h3 align="center">NFSM - ATTENDANCE</h3> <table id="fixTable8" class="table" border="2" align="center" style="position:relative;top:-10px;background-color:#B7CCED;border-color: white;" > <thead> <tr style="height:30px;border:2px solid black;color:#224B73;font-size:14px;font-weight:bold;text-align:center;"> <th align="center">S no.</th> <th align="center">District</th> <?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; ?> <th align="center"> <font size="3"><?php echo $r1['Display_Name']; ?></font> </th> <?php } ?> </tr> </thead> <?php $sql101=mysql_query("SELECT d.DB_district, d.Display_district FROM distatma 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']; ?> <tbody> <tr style="background-color:#B7CCED;color:blue;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 $r101['Display_district'];?></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 scheme='NFSM' 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'><font size='3'><a target="_blank" href="<?php echo $r103['attandance'];?>">Y</font></a></td> <?php } else { ?> <td align='center' ><font size='3'></font></a></td> <?php } } else { ?> <td align='center'><font size='3'></font></a></td> <?php }} ?> </tr> <?php } ?> </tbody> </table> </div></div></p> <div class="modal-footer"> <h3></h3> </div> </div> </div> </div> <div id="myModal6" class="modal"> <!-- Modal content --> <div class="modal-content"> <div class="modal-header"> <a href="#" onclick="printdiv6()" style="margin-left:30px;margin-right:30px;text-align:right;"><font size="+1" color="black"><img src="images/print.png"></font> </a> <h5 align="right"><span class="close6">X</span></h5> </div> <div class="modal-body"> <p><div id="parent"> <div id="printpage6" style=" height:100%;width:100%;border:solid 2px black;overflow:scroll;overflow-y:hidden;overflow-x:scroll;"> <h3 align="center">Polytechnic</h3> <table id="fixTable6" class="table" border="2" align="center" style="position:relative;top:-10px;background-color:#B7CCED;border-color: white;" > <thead> <tr style="height:30px;border:2px solid black;color:#224B73;font-size:14px;font-weight:bold;text-align:center;"> <th align="center">S no.</th> <th align="center">District</th> <?php $rowCount=0; $sql1=mysql_query("SELECT m.DB_MonthName, m.Display_Name FROM monthpoly m order by m.MonthOrder desc")or die("Error in qurey"); while($r1 = mysql_fetch_array($sql1)) { $rowCount=$rowCount+1; ?> <th align="center"> <font size="3"><?php echo $r1['Display_Name']; ?></font> </th> <?php } ?> </tr> </thead> <?php $sql101=mysql_query("SELECT d.DB_district, d.Display_district FROM distpoly 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']; ?> <tbody> <tr style="background-color:#B7CCED;color:blue;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 $r101['Display_district'];?></font> </td> <?php $sql102=mysql_query("SELECT m.DB_MonthName, m.Display_Name FROM monthpoly 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 scheme='POLYTECHNIC' 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'><font size='3'><a target="_blank" href="<?php echo $r103['attandance'];?>">Y</font></a></td> <?php } else { ?> <td align='center' ><font size='3'>N</font></a></td> <?php } } else { ?> <td align='center'><font size='3'></font></a></td> <?php }} ?> </tr> <?php } ?> </tbody> </table> <br><br> <br><br> </div></div> </p> </div> <div class="modal-footer"> <h3></h3> </div> </div> </div> </div> </div> <div class="footer"> <div class="container"> <script> // Get the modal var modal = document.getElementById('myModal'); // Get the button that opens the modal var btn = document.getElementById("myBtn"); // Get the <span> element that closes the modal var span = document.getElementsByClassName("close")[0]; // When the user clicks the button, open the modal btn.onclick = function() { modal.style.display = "block"; } // When the user clicks on <span> (x), close the modal span.onclick = function() { modal.style.display = "none"; } // When the user clicks anywhere outside of the modal, close it window.onclick = function(event) { if (event.target == modal) { modal.style.display = "none"; } } </script> <script> // Get the modal var modal1 = document.getElementById('myModal1'); // Get the button that opens the modal var btn1 = document.getElementById("myBtn1"); // Get the <span> element that closes the modal var span1 = document.getElementsByClassName("close1")[0]; // When the user clicks the button, open the modal btn1.onclick = function() { modal1.style.display = "block"; } // When the user clicks on <span> (x), close the modal span1.onclick = function() { modal1.style.display = "none"; } // When the user clicks anywhere outside of the modal, close it window.onclick = function(event) { if (event.target == modal1) { modal1.style.display = "none"; } } </script> <script> // Get the modal var modal2 = document.getElementById('myModal2'); // Get the button that opens the modal var btn2 = document.getElementById("myBtn2"); // Get the <span> element that closes the modal var span2 = document.getElementsByClassName("close2")[0]; // When the user clicks the button, open the modal btn2.onclick = function() { modal2.style.display = "block"; } // When the user clicks on <span> (x), close the modal span2.onclick = function() { modal2.style.display = "none"; } // When the user clicks anywhere outside of the modal, close it window.onclick = function(event) { if (event.target == modal2) { modal2.style.display = "none"; } } </script> <script> // Get the modal var modal3 = document.getElementById('myModal3'); // Get the button that opens the modal var btn3 = document.getElementById("myBtn3"); // Get the <span> element that closes the modal var span3 = document.getElementsByClassName("close3")[0]; // When the user clicks the button, open the modal btn3.onclick = function() { modal3.style.display = "block"; } // When the user clicks on <span> (x), close the modal span3.onclick = function() { modal3.style.display = "none"; } // When the user clicks anywhere outside of the modal, close it window.onclick = function(event) { if (event.target == modal3) { modal3.style.display = "none"; } } </script> <script> // Get the modal var modal4 = document.getElementById('myModal4'); // Get the button that opens the modal var btn4 = document.getElementById("myBtn4"); // Get the <span> element that closes the modal var span4 = document.getElementsByClassName("close4")[0]; // When the user clicks the button, open the modal btn4.onclick = function() { modal4.style.display = "block"; } // When the user clicks on <span> (x), close the modal span4.onclick = function() { modal4.style.display = "none"; } // When the user clicks anywhere outside of the modal, close it window.onclick = function(event) { if (event.target == modal4) { modal4.style.display = "none"; } } </script> <script> // Get the modal var modal5 = document.getElementById('myModal5'); // Get the button that opens the modal var btn5 = document.getElementById("myBtn5"); // Get the <span> element that closes the modal var span5 = document.getElementsByClassName("close5")[0]; // When the user clicks the button, open the modal btn5.onclick = function() { modal5.style.display = "block"; } // When the user clicks on <span> (x), close the modal span5.onclick = function() { modal5.style.display = "none"; } // When the user clicks anywhere outside of the modal, close it window.onclick = function(event) { if (event.target == modal5) { modal5.style.display = "none"; } } </script> <script> // Get the modal var modal6 = document.getElementById('myModal6'); // Get the button that opens the modal var btn6 = document.getElementById("myBtn6"); // Get the <span> element that closes the modal var span6 = document.getElementsByClassName("close6")[0]; // When the user clicks the button, open the modal btn6.onclick = function() { modal6.style.display = "block"; } // When the user clicks on <span> (x), close the modal span6.onclick = function() { modal6.style.display = "none"; } // When the user clicks anywhere outside of the modal, close it window.onclick = function(event) { if (event.target == modal6) { modal6.style.display = "none"; } } </script> <script> // Get the modal var modal7 = document.getElementById('myModal7'); // Get the button that opens the modal var btn7 = document.getElementById("myBtn7"); // Get the <span> element that closes the modal var span7 = document.getElementsByClassName("close7")[0]; // When the user clicks the button, open the modal btn7.onclick = function() { modal7.style.display = "block"; } // When the user clicks on <span> (x), close the modal span7.onclick = function() { modal7.style.display = "none"; } // When the user clicks anywhere outside of the modal, close it window.onclick = function(event) { if (event.target == modal7) { modal7.style.display = "none"; } } </script> <script> // Get the modal var modal8 = document.getElementById('myModal8'); // Get the button that opens the modal var btn8 = document.getElementById("myBtn8"); // Get the <span> element that closes the modal var span8 = document.getElementsByClassName("close8")[0]; // When the user clicks the button, open the modal btn8.onclick = function() { modal8.style.display = "block"; } // When the user clicks on <span> (x), close the modal span8.onclick = function() { modal8.style.display = "none"; } // When the user clicks anywhere outside of the modal, close it window.onclick = function(event) { if (event.target == modal8) { modal8.style.display = "none"; } } </script> <script> // Get the modal var modal21 = document.getElementById('myModal21'); // Get the button that opens the modal var btn9 = document.getElementById("myBtn9"); // Get the <span> element that closes the modal var span9 = document.getElementsByClassName("close9")[0]; // When the user clicks the button, open the modal btn9.onclick = function() { modal21.style.display = "block"; } // When the user clicks on <span> (x), close the modal span9.onclick = function() { modal21.style.display = "none"; } // When the user clicks anywhere outside of the modal, close it window.onclick = function(event) { if (event.target == modal21) { modal21.style.display = "none"; } } </script> <script> // Get the modal var modal22 = document.getElementById('myModal22'); // Get the button that opens the modal var btn10 = document.getElementById("myBtn10"); // Get the <span> element that closes the modal var span10 = document.getElementsByClassName("close10")[0]; // When the user clicks the button, open the modal btn10.onclick = function() { modal22.style.display = "block"; } // When the user clicks on <span> (x), close the modal span10.onclick = function() { modal22.style.display = "none"; } // When the user clicks anywhere outside of the modal, close it window.onclick = function(event) { if (event.target == modal22) { modal22.style.display = "none"; } } </script> <script> // Get the modal var modal23 = document.getElementById('myModal23'); // Get the button that opens the modal var btn11 = document.getElementById("myBtn11"); // Get the <span> element that closes the modal var span11 = document.getElementsByClassName("close11")[0]; // When the user clicks the button, open the modal btn11.onclick = function() { modal23.style.display = "block"; } // When the user clicks on <span> (x), close the modal span11.onclick = function() { modal23.style.display = "none"; } // When the user clicks anywhere outside of the modal, close it window.onclick = function(event) { if (event.target == modal23) { modal23.style.display = "none"; } } </script> <script> // Get the modal var modal24 = document.getElementById('myModal24'); // Get the button that opens the modal var btn12 = document.getElementById("myBtn12"); // Get the <span> element that closes the modal var span12 = document.getElementsByClassName("close12")[0]; // When the user clicks the button, open the modal btn12.onclick = function() { modal24.style.display = "block"; } // When the user clicks on <span> (x), close the modal span12.onclick = function() { modal24.style.display = "none"; } // When the user clicks anywhere outside of the modal, close it window.onclick = function(event) { if (event.target == modal24) { modal24.style.display = "none"; } } </script> <script> // Get the modal var modal25 = document.getElementById('myModal25'); // Get the button that opens the modal var btn13 = document.getElementById("myBtn13"); // Get the <span> element that closes the modal var span13 = document.getElementsByClassName("close13")[0]; // When the user clicks the button, open the modal btn13.onclick = function() { modal25.style.display = "block"; } // When the user clicks on <span> (x), close the modal span13.onclick = function() { modal25.style.display = "none"; } // When the user clicks anywhere outside of the modal, close it window.onclick = function(event) { if (event.target == modal25) { modal25.style.display = "none"; } } </script> <script> // Get the modal var modal26 = document.getElementById('myModal26'); // Get the button that opens the modal var btn14 = document.getElementById("myBtn14"); // Get the <span> element that closes the modal var span14 = document.getElementsByClassName("close14")[0]; // When the user clicks the button, open the modal btn14.onclick = function() { modal26.style.display = "block"; } // When the user clicks on <span> (x), close the modal span14.onclick = function() { modal26.style.display = "none"; } // When the user clicks anywhere outside of the modal, close it window.onclick = function(event) { if (event.target == modal26) { modal26.style.display = "none"; } } </script> <script> // Get the modal var modal27 = document.getElementById('myModal27'); // Get the button that opens the modal var btn15 = document.getElementById("myBtn15"); // Get the <span> element that closes the modal var span15 = document.getElementsByClassName("close15")[0]; // When the user clicks the button, open the modal btn15.onclick = function() { modal27.style.display = "block"; } // When the user clicks on <span> (x), close the modal span15.onclick = function() { modal27.style.display = "none"; } // When the user clicks anywhere outside of the modal, close it window.onclick = function(event) { if (event.target == modal27) { modal27.style.display = "none"; } } </script> <script> // Get the modal var modal28 = document.getElementById('myModal28'); // Get the button that opens the modal var btn16 = document.getElementById("myBtn16"); // Get the <span> element that closes the modal var span16 = document.getElementsByClassName("close16")[0]; // When the user clicks the button, open the modal btn16.onclick = function() { modal28.style.display = "block"; } // When the user clicks on <span> (x), close the modal span16.onclick = function() { modal28.style.display = "none"; } // When the user clicks anywhere outside of the modal, close it window.onclick = function(event) { if (event.target == modal28) { modal28.style.display = "none"; } } </script> <script> // Get the modal var modal29 = document.getElementById('myModal29'); // Get the button that opens the modal var btn17 = document.getElementById("myBtn17"); // Get the <span> element that closes the modal var span17 = document.getElementsByClassName("close17")[0]; // When the user clicks the button, open the modal btn17.onclick = function() { modal29.style.display = "block"; } // When the user clicks on <span> (x), close the modal span17.onclick = function() { modal29.style.display = "none"; } // When the user clicks anywhere outside of the modal, close it window.onclick = function(event) { if (event.target == modal29) { modal29.style.display = "none"; } } </script> <script> // Get the modal var modal30 = document.getElementById('myModal30'); // Get the button that opens the modal var btn18 = document.getElementById("myBtn18"); // Get the <span> element that closes the modal var span18 = document.getElementsByClassName("close18")[0]; // When the user clicks the button, open the modal btn18.onclick = function() { modal30.style.display = "block"; } // When the user clicks on <span> (x), close the modal span18.onclick = function() { modal30.style.display = "none"; } // When the user clicks anywhere outside of the modal, close it window.onclick = function(event) { if (event.target == modal30) { modal30.style.display = "none"; } } </script> <script> // Get the modal var modal31 = document.getElementById('myModal31'); // Get the button that opens the modal var btn19 = document.getElementById("myBtn19"); // Get the <span> element that closes the modal var span19 = document.getElementsByClassName("close19")[0]; // When the user clicks the button, open the modal btn19.onclick = function() { modal31.style.display = "block"; } // When the user clicks on <span> (x), close the modal span19.onclick = function() { modal31.style.display = "none"; } // When the user clicks anywhere outside of the modal, close it window.onclick = function(event) { if (event.target == modal31) { modal31.style.display = "none"; } } </script> <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> </body> </html>