Tn Jones Shell Bypass
:
18.117.107.50
:
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/num_agst.php
<?php date_default_timezone_set("Asia/Kolkata"); ?> <?php include("connection.php"); session_start(); if (!isset($_SESSION['user']) || ($_SESSION['password'] == '')) { header("location:payrolLogin/ramalogin.php"); } if(isset($_SESSION['user'])) { $username=$_SESSION['user']; } $user_query = mysql_query("SELECT * FROM loginrama where user='$username' ")or die(mysql_error()); $user_row = mysql_fetch_array($user_query); $us = $user_row['user']; ?> <!DOCTYPE html> <html> <head> <title>Payroll</title> <link href="css/bootstrap.css" rel='stylesheet' type='text/css'/> <!-- jQuery (necessary for Bootstrap's JavaScript plugins) --> <script src="js/jquery.min.js"></script> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="keywords" content="Payroll Responsive web template, Bootstrap Web Templates, Flat Web Templates, Andriod Compatible web template, Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyErricsson, Motorola web design" /> <script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script> <link rel="stylesheet" href="css/flexslider.css" type="text/css" media="screen" /> <link href="css/style.css" rel="stylesheet" type="text/css" media="all" /> <!---- start-smoth-scrolling----> <script type="text/javascript" src="../js/move-top.js"></script> <script type="text/javascript" src="../js/easing.js"></script> <script src="js/jquery.easydropdown.js"></script> <script src="js/cbpViewModeSwitch.js" type="text/javascript"></script> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script> <script src="http://cdnjs.cloudflare.com/ajax/libs/jquery-throttle-debounce/1.1/jquery.ba-throttle-debounce.min.js"></script> <!--<script src="js3/jquery.stickyheader.js"></script>--> <script src="assets/jquery-2.1.3.js"></script> <script src="assets/tableHeadFixer.js"></script> <link rel="stylesheet" href="assets/bootstrap-3.3.2/css/bootstrap.css"> <script> $(document).ready(function() { $("#fixTable").tableHeadFixer({"left" :2}); }); </script> <style> #parent { height: 400px; } #fixTable { width: 1550px !important; } </style> <style> th { border: 1px solid white; color: white; text-align: left; vertical-align: top; height:50px; } td { border: 1px solid white; text-align: center; vertical-align: center; height:45px; } .verticalText { vertical-align: middle; width:10px; -webkit-transform: rotate(-90deg); -moz-transform: rotate(-90deg); } </style> </head> <body> <div class="header"> <div class="container"> <div class="logo"> <a href="index.html"><img src="images/logo.png" alt=""/></a> </div> <div class="top-menu"> <span class="menu"> </span> </div> <div id="sb-search" class="sb-search"> <h4 align="right"><a href="logout.php"><img src="images/logout.jpg"></a></h4> <br> <h4 align="right"><a href="consoliedreport.php"> <font face="andalus"><b>BACK</b></font></a> </h4> </div> <!-- search-scripts --> <script src="js/classie.js"></script> <script src="js/uisearch.js"></script> <!-- //search-scripts --> </div> </div> <!-- header-section-ends --> <div class="content"> <h3 align="center" style="color:#2A5CAA;"><b><u>AGRICULTURE STATISTICS AND CROP INSURANCE PLAN SUMMARY REPORT</u></b></h3><br> <div> <table id="fixTable" class="table" border="2px" align="center" > <thead> <tr style="border:2px solid black;color:#224B73;font-size:25px;font-weight:bold;text-align:center;"> <td align="center" colspan="13">Attendance Summary</td> </tr> <tr style="height:30px;border:2px solid black;color:#224B73;font-size:16px;font-weight:bold;text-align:center;"> <td align="center">Attandance Detail</td> <td>Feb - 2016</td> <td>Mar - 2016</td> <td>Apr - 2016</td> <td>May - 2016</td> <td>Jun - 2016</td> <td>Jul - 2016</td> <td>Aug - 2016</td> <td>Sept - 2016</td> <td>Oct - 2016</td> <td>Nov - 2016</td> <td>Dec - 2016</td> </tr> </thead> <tbody> <tr style="border:1px solid black;color:#224B73;font-size:14px;font-weight:bold;text-align:center;background-color:#B7CCED;"> <td>Total Joined</td> <td>5</td> <td>5</td> <td>5</td> <td>5</td> <td>5</td> <td>5</td> <td>5</td> <td>5</td> <td>5</td> <td>5</td> <td>5</td> </tr> <tr style="border:0px solid black;color:#224B73;font-size:14px;font-weight:bold;text-align:center;background-color:#B7CCED;"> <td>Attendance</td> <?php $sq1=mysql_query("select count(*) as attandance from health where month='February 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot=mysql_fetch_assoc($sq1); $tt=$tot['attandance']; ?> <td><?php echo $tt;?></td> <?php $sq1=mysql_query("select count(*) as attandance from health where month='March 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot=mysql_fetch_assoc($sq1); $tt=$tot['attandance']; ?> <td><?php echo $tt;?></td> <?php $sq1=mysql_query("select count(*) as attandance from health where month='April 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot=mysql_fetch_assoc($sq1); $tt=$tot['attandance']; ?> <td><?php echo $tt;?></td> <?php $sq1=mysql_query("select count(*) as attandance from health where month='May 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot=mysql_fetch_assoc($sq1); $tt=$tot['attandance']; ?> <td><?php echo $tt;?></td> <?php $sq1=mysql_query("select count(*) as attandance from health where month='June 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot=mysql_fetch_assoc($sq1); $tt=$tot['attandance']; ?> <td><?php echo $tt;?></td> <?php $sq1=mysql_query("select count(*) as attandance from health where month='July 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot=mysql_fetch_assoc($sq1); $tt=$tot['attandance']; ?> <td><?php echo $tt;?></td> <?php $sq1=mysql_query("select count(*) as attandance from health where month='August 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot=mysql_fetch_assoc($sq1); $tt=$tot['attandance']; ?> <td><?php echo $tt;?></td> <?php $sq1=mysql_query("select count(*) as attandance from health where month='September 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot=mysql_fetch_assoc($sq1); $tt=$tot['attandance']; ?> <td><?php echo $tt;?></td> <?php $sq1=mysql_query("select count(*) as attandance from health where month='October 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot=mysql_fetch_assoc($sq1); $tt=$tot['attandance']; ?> <td><?php echo $tt;?></td> <?php $sq1=mysql_query("select count(*) as attandance from health where month='November 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot=mysql_fetch_assoc($sq1); $tt=$tot['attandance']; ?> <td><?php echo $tt;?></td> <?php $sq1=mysql_query("select count(*) as attandance from health where month='December 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot=mysql_fetch_assoc($sq1); $tt=$tot['attandance']; ?> <td><?php echo $tt;?></td> </tr> <tr style="border:0px solid black;color:#224B73;font-size:14px;font-weight:bold;text-align:center;background-color:#B7CCED;"> <td>Remaining Attendance</td> <?php $sq1=mysql_query("select count(*) as attandance from health where month='February 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot=mysql_fetch_assoc($sq1); $tt=$tot['attandance']; $tr=5-$tt; ?> <td><?php echo $tr;?></td> <?php $sq1=mysql_query("select count(*) as attandance from health where month='March 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot=mysql_fetch_assoc($sq1); $tt=$tot['attandance']; $tr=5-$tt; ?> <td><?php echo $tr;?></td> <?php $sq1=mysql_query("select count(*) as attandance from health where month='April 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot=mysql_fetch_assoc($sq1); $tt=$tot['attandance']; $tr=5-$tt; ?> <td><?php echo $tr;?></td> <?php $sq1=mysql_query("select count(*) as attandance from health where month='May 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot=mysql_fetch_assoc($sq1); $tt=$tot['attandance']; $tr=5-$tt; ?> <td><?php echo $tr;?></td> <?php $sq1=mysql_query("select count(*) as attandance from health where month='June 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot=mysql_fetch_assoc($sq1); $tt=$tot['attandance']; $tr=5-$tt; ?> <td><?php echo $tr;?></td> <?php $sq1=mysql_query("select count(*) as attandance from health where month='July 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot=mysql_fetch_assoc($sq1); $tt=$tot['attandance']; $tr=5-$tt; ?> <td><?php echo $tr;?></td> <?php $sq1=mysql_query("select count(*) as attandance from health where month='August 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot=mysql_fetch_assoc($sq1); $tt=$tot['attandance']; $tr=5-$tt; ?> <td><?php echo $tr;?></td> <?php $sq1=mysql_query("select count(*) as attandance from health where month='September 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot=mysql_fetch_assoc($sq1); $tt=$tot['attandance']; $tr=5-$tt; ?> <td><?php echo $tr;?></td> <?php $sq1=mysql_query("select count(*) as attandance from health where month='October 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot=mysql_fetch_assoc($sq1); $tt=$tot['attandance']; $tr=5-$tt; ?> <td><?php echo $tr;?></td> <?php $sq1=mysql_query("select count(*) as attandance from health where month='November 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot=mysql_fetch_assoc($sq1); $tt=$tot['attandance']; $tr=5-$tt; ?> <td><?php echo $tr;?></td> <?php $sq1=mysql_query("select count(*) as attandance from health where month='December 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot=mysql_fetch_assoc($sq1); $tt=$tot['attandance']; $tr=5-$tt; ?> <td><?php echo $tr;?></td> </tr> </tbody> </table> </div> <div> <table id="fixTable" class="table" border="2px" align="center" > <thead> <tr style="border:2px solid black;color:#224B73;font-size:25px;font-weight:bold;text-align:center;"> <td align="center" colspan="13">Bill Summary</td> </tr> <tr style="height:30px;border:2px solid black;color:#224B73;font-size:16px;font-weight:bold;text-align:center;"> <td align="center">Bill Detail</td> <td>Feb - 2016</td> <td>Mar - 2016</td> <td>Apr - 2016</td> <td>May - 2016</td> <td>Jun - 2016</td> <td>Jul - 2016</td> <td>Aug - 2016</td> <td>Sept - 2016</td> <td>Oct - 2016</td> <td>Nov - 2016</td> <td>Dec - 2016</td> </tr> </thead> <tbody> <tr style="border:1px solid black;color:#224B73;font-size:14px;font-weight:bold;text-align:center;background-color:#B7CCED;"> <td>Attendance</td> <?php $sq1=mysql_query("select count(*) as attandance from health where month='February 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot=mysql_fetch_assoc($sq1); $tt=$tot['attandance']; ?> <td><?php echo $tt;?></td> <?php $sq1=mysql_query("select count(*) as attandance from health where month='March 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot=mysql_fetch_assoc($sq1); $tt=$tot['attandance']; ?> <td><?php echo $tt;?></td> <?php $sq1=mysql_query("select count(*) as attandance from health where month='April 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot=mysql_fetch_assoc($sq1); $tt=$tot['attandance']; ?> <td><?php echo $tt;?></td> <?php $sq1=mysql_query("select count(*) as attandance from health where month='May 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot=mysql_fetch_assoc($sq1); $tt=$tot['attandance']; ?> <td><?php echo $tt;?></td> <?php $sq1=mysql_query("select count(*) as attandance from health where month='June 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot=mysql_fetch_assoc($sq1); $tt=$tot['attandance']; ?> <td><?php echo $tt;?></td> <?php $sq1=mysql_query("select count(*) as attandance from health where month='July 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot=mysql_fetch_assoc($sq1); $tt=$tot['attandance']; ?> <td><?php echo $tt;?></td> <?php $sq1=mysql_query("select count(*) as attandance from health where month='August 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot=mysql_fetch_assoc($sq1); $tt=$tot['attandance']; ?> <td><?php echo $tt;?></td> <?php $sq1=mysql_query("select count(*) as attandance from health where month='September 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot=mysql_fetch_assoc($sq1); $tt=$tot['attandance']; ?> <td><?php echo $tt;?></td> <?php $sq1=mysql_query("select count(*) as attandance from health where month='October 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot=mysql_fetch_assoc($sq1); $tt=$tot['attandance']; ?> <td><?php echo $tt;?></td> <?php $sq1=mysql_query("select count(*) as attandance from health where month='November 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot=mysql_fetch_assoc($sq1); $tt=$tot['attandance']; ?> <td><?php echo $tt;?></td> <?php $sq1=mysql_query("select count(*) as attandance from health where month='December 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot=mysql_fetch_assoc($sq1); $tt=$tot['attandance']; ?> <td><?php echo $tt;?></td> </tr> <tr style="border:0px solid black;color:#224B73;font-size:14px;font-weight:bold;text-align:center;background-color:#B7CCED;"> <td>Bill</td> <?php $sql2=mysql_query("select count(*) as bill from health where month='February 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $totbill=mysql_fetch_assoc($sql2); $ttbill=$totbill['bill']; ?> <td><?php echo $ttbill;?></td> <?php $sql2=mysql_query("select count(*) as bill from health where month='March 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot2=mysql_fetch_assoc($sql2); $tt2=$tot2['bill']; ?> <td><?php echo $tt2;?></td> <?php $sql2=mysql_query("select count(*) as bill from health where month='April 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot2=mysql_fetch_assoc($sql2); $tt2=$tot2['bill']; ?> <td><?php echo $tt2;?></td> <?php $sql2=mysql_query("select count(*) as bill from health where month='May 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot2=mysql_fetch_assoc($sql2); $tt2=$tot2['bill']; ?> <td><?php echo $tt2;?></td> <?php $sql2=mysql_query("select count(*) as bill from health where month='June 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot2=mysql_fetch_assoc($sql2); $tt2=$tot2['bill']; ?> <td><?php echo $tt2;?></td> <?php $sql2=mysql_query("select count(*) as bill from health where month='July 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot2=mysql_fetch_assoc($sql2); $tt2=$tot2['bill']; ?> <td><?php echo $tt2;?></td> <?php $sql2=mysql_query("select count(*) as bill from health where month='August 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot2=mysql_fetch_assoc($sql2); $tt2=$tot2['bill']; ?> <td><?php echo $tt2;?></td> <?php $sql2=mysql_query("select count(*) as bill from health where month='September 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot2=mysql_fetch_assoc($sql2); $tt2=$tot2['bill']; ?> <td><?php echo $tt2;?></td> <?php $sql2=mysql_query("select count(*) as bill from health where month='October 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot2=mysql_fetch_assoc($sql2); $tt2=$tot2['bill']; ?> <td><?php echo $tt2;?></td> <?php $sql2=mysql_query("select count(*) as bill from health where month='November 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot2=mysql_fetch_assoc($sql2); $tt2=$tot2['bill']; ?> <td><?php echo $tt2;?></td> <?php $sql2=mysql_query("select count(*) as bill from health where month='December 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot2=mysql_fetch_assoc($sql2); $tt2=$tot2['bill']; ?> <td><?php echo $tt2;?></td> </tr> <tr style="border:0px solid black;color:#224B73;font-size:14px;font-weight:bold;text-align:center;background-color:#B7CCED;"> <td>Remaining Bill</td> <?php $sq1=mysql_query("select count(*) as bill from health where month='February 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot=mysql_fetch_assoc($sq1); $tt=$tot['bill']; $tr=52-$tt; ?> <td><?php echo $tr;?></td> <?php $sq1=mysql_query("select count(*) as bill from health where month='March 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot=mysql_fetch_assoc($sq1); $tt=$tot['bill']; $tr=52-$tt; ?> <td><?php echo $tr;?></td> <?php $sq1=mysql_query("select count(*) as bill from health where month='April 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot=mysql_fetch_assoc($sq1); $tt=$tot['bill']; $tr=52-$tt; ?> <td><?php echo $tr;?></td> <?php $sq1=mysql_query("select count(*) as bill from health where month='May 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot=mysql_fetch_assoc($sq1); $tt=$tot['bill']; $tr=52-$tt; ?> <td><?php echo $tr;?></td> <?php $sq1=mysql_query("select count(*) as bill from health where month='June 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot=mysql_fetch_assoc($sq1); $tt=$tot['bill']; $tr=52-$tt; ?> <td><?php echo $tr;?></td> <?php $sq1=mysql_query("select count(*) as bill from health where month='July 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot=mysql_fetch_assoc($sq1); $tt=$tot['bill']; $tr=52-$tt; ?> <td><?php echo $tr;?></td> <?php $sq1=mysql_query("select count(*) as bill from health where month='August 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot=mysql_fetch_assoc($sq1); $tt=$tot['bill']; $tr=52-$tt; ?> <td><?php echo $tr;?></td> <?php $sq1=mysql_query("select count(*) as bill from health where month='September 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot=mysql_fetch_assoc($sq1); $tt=$tot['bill']; $tr=52-$tt; ?> <td><?php echo $tr;?></td> <?php $sq1=mysql_query("select count(*) as bill from health where month='October 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot=mysql_fetch_assoc($sq1); $tt=$tot['bill']; $tr=52-$tt; ?> <td><?php echo $tr;?></td> <?php $sq1=mysql_query("select count(*) as bill from health where month='November 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot=mysql_fetch_assoc($sq1); $tt=$tot['bill']; $tr=52-$tt; ?> <td><?php echo $tr;?></td> <?php $sq1=mysql_query("select count(*) as bill from health where month='December 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot=mysql_fetch_assoc($sq1); $tt=$tot['bill']; $tr=52-$tt; ?> <td><?php echo $tr;?></td> </tr> </tbody> </table> </div> <div> <table id="fixTable" class="table" border="2px" align="center" > <thead> <tr style="border:2px solid black;color:#224B73;font-size:25px;font-weight:bold;text-align:center;"> <td align="center" colspan="13">Payment Summary</td> </tr> <tr style="height:30px;border:2px solid black;color:#224B73;font-size:16px;font-weight:bold;text-align:center;"> <td align="center">Payment Detail</td> <td>Feb - 2016</td> <td>Mar - 2016</td> <td>Apr - 2016</td> <td>May - 2016</td> <td>Jun - 2016</td> <td>Jul - 2016</td> <td>Aug - 2016</td> <td>Sept - 2016</td> <td>Oct - 2016</td> <td>Nov - 2016</td> <td>Dec - 2016</td> </tr> </thead> <tbody> <tr style="border:1px solid black;color:#224B73;font-size:14px;font-weight:bold;text-align:center;background-color:#B7CCED;"> <td>Total Joined</td> <td>50</td> <td>50</td> <td>50</td> <td>50</td> <td>50</td> <td>50</td> <td>50</td> <td>50</td> <td>50</td> <td>50</td> <td>50</td> </tr> <tr style="border:0px solid black;color:#224B73;font-size:14px;font-weight:bold;text-align:center;background-color:#B7CCED;"> <td>Payment</td> <?php $sql2=mysql_query("select count(*) as payment from health where month='February 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $totpay=mysql_fetch_array($sql2); $ttpay=$totpay['payment']; ?> <td><?php echo $ttpay;?></td> <?php $sql2=mysql_query("select count(*) as payment from health where month='March 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $totpay=mysql_fetch_assoc($sql2); $ttpay=$totpay['payment']; ?> <td><?php echo $ttpay;?></td> <?php $sql2=mysql_query("select count(*) as payment from health where month='April 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $totpay=mysql_fetch_assoc($sql2); $ttpay=$totpay['payment']; ?> <td><?php echo $ttpay;?></td> <?php $sql2=mysql_query("select count(*) as payment from health where month='May 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $totpay=mysql_fetch_assoc($sql2); $ttpay=$totpay['payment']; ?> <td><?php echo $ttpay;?></td> <?php $sql2=mysql_query("select count(*) as payment from health where month='June 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $totpay=mysql_fetch_assoc($sql2); $ttpay=$totpay['payment']; ?> <td><?php echo $ttpay;?></td> <?php $sql2=mysql_query("select count(*) as payment from health where month='July 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $totpay=mysql_fetch_assoc($sql2); $ttpay=$totpay['payment']; ?> <td><?php echo $ttpay;?></td> <?php $sql2=mysql_query("select count(*) as payment from health where month='August 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $totpay=mysql_fetch_assoc($sql2); $ttpay=$totpay['payment']; ?> <td><?php echo $ttpay;?></td> <?php $sql2=mysql_query("select count(*) as payment from health where month='September 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $totpay=mysql_fetch_assoc($sql2); $ttpay=$totpay['payment']; ?> <td><?php echo $ttpay;?></td> <?php $sql2=mysql_query("select count(*) as payment from health where month='October 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $totpay=mysql_fetch_assoc($sql2); $ttpay=$totpay['payment']; ?> <td><?php echo $ttpay;?></td> <?php $sql2=mysql_query("select count(*) as payment from health where month='November 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $totpay=mysql_fetch_assoc($sql2); $ttpay=$totpay['payment']; ?> <td><?php echo $ttpay;?></td> <?php $sql2=mysql_query("select count(*) as payment from health where month='December 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $totpay=mysql_fetch_assoc($sql2); $ttpay=$totpay['payment']; ?> <td><?php echo $ttpay;?></td> </tr> <tr style="border:0px solid black;color:#224B73;font-size:14px;font-weight:bold;text-align:center;background-color:#B7CCED;"> <td>Remaining Payment</td> <?php $sq1=mysql_query("select count(*) as payment from health where month='February 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot=mysql_fetch_assoc($sq1); $tt=$tot['payment']; $tr=50-$tt; ?> <td><?php echo $tr;?></td> <?php $sq1=mysql_query("select count(*) as payment from health where month='March 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot=mysql_fetch_assoc($sq1); $tt=$tot['payment']; $tr=50-$tt; ?> <td><?php echo $tr;?></td> <?php $sq1=mysql_query("select count(*) as payment from health where month='April 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot=mysql_fetch_assoc($sq1); $tt=$tot['payment']; $tr=50-$tt; ?> <td><?php echo $tr;?></td> <?php $sq1=mysql_query("select count(*) as payment from health where month='May 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot=mysql_fetch_assoc($sq1); $tt=$tot['payment']; $tr=50-$tt; ?> <td><?php echo $tr;?></td> <?php $sq1=mysql_query("select count(*) as payment from health where month='June 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot=mysql_fetch_assoc($sq1); $tt=$tot['payment']; $tr=50-$tt; ?> <td><?php echo $tr;?></td> <?php $sq1=mysql_query("select count(*) as payment from health where month='July 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot=mysql_fetch_assoc($sq1); $tt=$tot['payment']; $tr=50-$tt; ?> <td><?php echo $tr;?></td> <?php $sq1=mysql_query("select count(*) as payment from health where month='August 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot=mysql_fetch_assoc($sq1); $tt=$tot['payment']; $tr=50-$tt; ?> <td><?php echo $tr;?></td> <?php $sq1=mysql_query("select count(*) as payment from health where month='September 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot=mysql_fetch_assoc($sq1); $tt=$tot['payment']; $tr=50-$tt; ?> <td><?php echo $tr;?></td> <?php $sq1=mysql_query("select count(*) as payment from health where month='October 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot=mysql_fetch_assoc($sq1); $tt=$tot['payment']; $tr=50-$tt; ?> <td><?php echo $tr;?></td> <?php $sq1=mysql_query("select count(*) as payment from health where month='November 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot=mysql_fetch_assoc($sq1); $tt=$tot['payment']; $tr=50-$tt; ?> <td><?php echo $tr;?></td> <?php $sq1=mysql_query("select count(*) as payment from health where month='December 2016' and scheme='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'"); $tot=mysql_fetch_assoc($sq1); $tt=$tot['payment']; $tr=50-$tt; ?> <td><?php echo $tr;?></td> </tr> </tbody> </table> </div> </body> </html>