<?php require_once('Connections/connData.php'); ?>
<?php
session_start();
$MM_authorizedUsers = "Administrator";
$MM_donotCheckaccess = "false";

// *** Restrict Access To Page: Grant or deny access to this page
function isAuthorized($strUsers, $strGroups, $UserName, $UserGroup) { 
  // For security, start by assuming the visitor is NOT authorized. 
  $isValid = False; 

  // When a visitor has logged into this site, the Session variable MM_Username set equal to their username. 
  // Therefore, we know that a user is NOT logged in if that Session variable is blank. 
  if (!empty($UserName)) { 
    // Besides being logged in, you may restrict access to only certain users based on an ID established when they login. 
    // Parse the strings into arrays. 
    $arrUsers = Explode(",", $strUsers); 
    $arrGroups = Explode(",", $strGroups); 
    if (in_array($UserName, $arrUsers)) { 
      $isValid = true; 
    } 
    // Or, you may restrict access to only certain users based on their username. 
    if (in_array($UserGroup, $arrGroups)) { 
      $isValid = true; 
    } 
    if (($strUsers == "") && false) { 
      $isValid = true; 
    } 
  } 
  return $isValid; 
}

$MM_restrictGoTo = "/login_failed.php";
if (!((isset($_SESSION['MM_Username'])) && (isAuthorized("",$MM_authorizedUsers, $_SESSION['MM_Username'], $_SESSION['MM_UserGroup'])))) {   
  $MM_qsChar = "?";
  $MM_referrer = $_SERVER['PHP_SELF'];
  if (strpos($MM_restrictGoTo, "?")) $MM_qsChar = "&";
  if (isset($QUERY_STRING) && strlen($QUERY_STRING) > 0) 
  $MM_referrer .= "?" . $QUERY_STRING;
  $MM_restrictGoTo = $MM_restrictGoTo. $MM_qsChar . "accesscheck=" . urlencode($MM_referrer);
  header("Location: ". $MM_restrictGoTo); 
  exit;
}
?>
<?php
mysql_select_db($database_connData, $connData);
$query_recordsetsystemvalues = "SELECT * FROM systemvalues";
$recordsetsystemvalues = mysql_query($query_recordsetsystemvalues, $connData) or die(mysql_error());
$row_recordsetsystemvalues = mysql_fetch_assoc($recordsetsystemvalues);
$totalRows_recordsetsystemvalues = mysql_num_rows($recordsetsystemvalues);

mysql_select_db($database_connData, $connData);
$query_Recordset1 = "SELECT COUNT(memberlastname) AS 'Total Members', lodge_name, lodge_no, city FROM sublodges GROUP BY lodge_name WITH ROLLUP";
$Recordset1 = mysql_query($query_Recordset1, $connData) or die(mysql_error());
$row_Recordset1 = mysql_fetch_assoc($Recordset1);
$totalRows_Recordset1 = mysql_num_rows($Recordset1);

mysql_select_db($database_connData, $connData);
$query_Recordset2 = "SELECT COALESCE(COUNT(memberlastname),0) AS 'GrandRaised' FROM sublodges WHERE lodge_name = '".$_POST['lodgename']."' AND `memberraiseddate` >= '".$_POST['date7']."' AND `memberraiseddate` <= '".$_POST['date8']."'";
$Recordset2 = mysql_query($query_Recordset2, $connData) or die(mysql_error());
$row_Recordset2 = mysql_fetch_assoc($Recordset2);
$totalRows_Recordset2 = mysql_num_rows($Recordset2);

mysql_select_db($database_connData, $connData);
$query_Recordset3 = "SELECT COALESCE(COUNT(memberlastname),0) AS 'GrandHeald' FROM sublodges WHERE lodge_name = '".$_POST['lodgename']."' AND `memberhealeddate` >= '".$_POST['date7']."' AND `memberhealeddate` <= '".$_POST['date8']."'";
$Recordset3 = mysql_query($query_Recordset3, $connData) or die(mysql_error());
$row_Recordset3 = mysql_fetch_assoc($Recordset3);
$totalRows_Recordset3 = mysql_num_rows($Recordset3);

mysql_select_db($database_connData, $connData);
//$query_Recordset4 = "SELECT lodge_name, COUNT(affiliationdate) AS 'Affiliated' FROM sublodges WHERE lodge_name != 'ZZZ' AND affiliationdate >= '".$_POST['date7']."' AND affiliationdate <= '".$_POST['date8']."' GROUP BY lodge_name";

$query_Recordset4 = "SELECT COALESCE(COUNT(memberlastname),0) AS 'GrandAffilated' FROM sublodges WHERE lodge_name = '".$_POST['lodgename']."' AND `affiliationdate` >= '".$_POST['date7']."' AND `affiliationdate` <= '".$_POST['date8']."'";
$Recordset4 = mysql_query($query_Recordset4, $connData) or die(mysql_error());
$row_Recordset4 = mysql_fetch_assoc($Recordset4);
$totalRows_Recordset4 = mysql_num_rows($Recordset4);

mysql_select_db($database_connData, $connData);
$query_Recordset5 = "SELECT COALESCE(COUNT(memberlastname),0) AS 'GrandReinstated' FROM sublodges WHERE lodge_name = '".$_POST['lodgename']."' AND `memberreinstateddate` >= '".$_POST['date7']."' AND `memberreinstateddate` <= '".$_POST['date8']."'";
$Recordset5 = mysql_query($query_Recordset5, $connData) or die(mysql_error());
$row_Recordset5 = mysql_fetch_assoc($Recordset5);
$totalRows_Recordset5 = mysql_num_rows($Recordset5);

mysql_select_db($database_connData, $connData);
$query_Recordset6 = "SELECT COALESCE(COUNT(memberlastname),0) AS 'GrandSuspended' FROM sublodges WHERE lodge_name = '".$_POST['lodgename']."' AND `membersuspendeddate` >= '".$_POST['date7']."' AND `membersuspendeddate` <= '".$_POST['date8']."'";
$Recordset6 = mysql_query($query_Recordset6, $connData) or die(mysql_error());
$row_Recordset6 = mysql_fetch_assoc($Recordset6);
$totalRows_Recordset6 = mysql_num_rows($Recordset6);

mysql_select_db($database_connData, $connData);
$query_Recordset7 = "SELECT COALESCE(COUNT(memberlastname),0) AS 'GrandDeceased' FROM sublodges WHERE lodge_name = '".$_POST['lodgename']."' AND `memberdeceaseddate` >= '".$_POST['date7']."' AND `memberdeceaseddate` <= '".$_POST['date8']."'";
$Recordset7 = mysql_query($query_Recordset7, $connData) or die(mysql_error());
$row_Recordset7 = mysql_fetch_assoc($Recordset7);
$totalRows_Recordset7 = mysql_num_rows($Recordset7);

mysql_select_db($database_connData, $connData);
//$query_Recordset8 = "SELECT lodge_name, COUNT(terminateaffiliationdate) AS 'Demitted' FROM sublodges WHERE lodge_name != 'ZZZ' AND terminateaffiliationdate  >= '".$_POST['date7']."' AND terminateaffiliationdate  <= '".$_POST['date8']."' GROUP BY lodge_name";
$query_Recordset8 = "SELECT COALESCE(COUNT(memberlastname),0) AS 'GrandDemitted' FROM sublodges WHERE lodge_name = '".$_POST['lodgename']."' AND `terminateaffiliationdate` >= '".$_POST['date7']."' AND `terminateaffiliationdate` <= '".$_POST['date8']."'";
$Recordset8 = mysql_query($query_Recordset8, $connData) or die(mysql_error());
$row_Recordset8 = mysql_fetch_assoc($Recordset8);
$totalRows_Recordset8 = mysql_num_rows($Recordset8);

mysql_select_db($database_connData, $connData);
$query_Recordset9 = "SELECT CONCAT(lodge_name, ' #', lodge_no) AS lodge_name, CONCAT(memberfirstname, ' ', memberlastname) AS membername, memberdob, CONCAT(memberaddress, ' ', membercity) AS memberaddress, memberraiseddate FROM sublodges WHERE lodge_name = '".$_POST['lodgename']."' AND `memberraiseddate` >= '".$_POST['date7']."' AND `memberraiseddate` <= '".$_POST['date8']."' ORDER BY lodge_name, memberraiseddate";
$Recordset9 = mysql_query($query_Recordset9, $connData) or die(mysql_error());
$row_Recordset9 = mysql_fetch_assoc($Recordset9);
$totalRows_Recordset9 = mysql_num_rows($Recordset9);

mysql_select_db($database_connData, $connData);
$query_Recordset10 = "SELECT CONCAT(lodge_name, ' #', lodge_no) AS lodge_name, CONCAT(memberfirstname, ' ', membermiddlename, ' ', memberlastname) AS membername, memberdob, CONCAT(memberaddress, ' ', membercity) AS memberaddress, memberhealeddate FROM sublodges WHERE lodge_name = '".$_POST['lodgename']."' AND memberhealeddate>= '".$_POST['date7']."' AND  memberhealeddate <= '".$_POST['date8']."' ORDER BY lodge_name,  memberhealeddate";
$Recordset10 = mysql_query($query_Recordset10, $connData) or die(mysql_error());
$row_Recordset10 = mysql_fetch_assoc($Recordset10);
$totalRows_Recordset10 = mysql_num_rows($Recordset10);

mysql_select_db($database_connData, $connData);
//$query_Recordset12 = "SELECT lodge_name, CONCAT(memberfirstname, ' ', membermiddlename, ' ', memberlastname) AS membername, memberdob, CONCAT(memberaddress, ' ', membercity) AS memberaddress, memberreinstateddate FROM sublodges WHERE memberreinstateddate >= '".$_POST['date7']."' AND  memberreinstateddate <= '".$_POST['date8']."' GROUP BY lodge_name";
$query_Recordset12 = "SELECT CONCAT(lodge_name, ' #', lodge_no) AS lodge_name, CONCAT(memberfirstname, ' ', membermiddlename, ' ', memberlastname) AS membername, memberdob, CONCAT(memberaddress, ' ', membercity) AS memberaddress, memberreinstateddate FROM sublodges WHERE lodge_name = '".$_POST['lodgename']."' AND memberreinstateddate>= '".$_POST['date7']."' AND  memberreinstateddate <= '".$_POST['date8']."' ORDER BY lodge_name,  memberreinstateddate";

$Recordset12 = mysql_query($query_Recordset12, $connData) or die(mysql_error());
$row_Recordset12 = mysql_fetch_assoc($Recordset12);
$totalRows_Recordset12 = mysql_num_rows($Recordset12);

mysql_select_db($database_connData, $connData);
$query_Recordset13 = "SELECT CONCAT(lodge_name, ' #', lodge_no) AS lodge_name, CONCAT(memberfirstname, ' ', memberlastname) AS membername, memberdob, CONCAT(memberaddress, ' ', membercity) AS memberaddress, membersuspendeddate FROM sublodges WHERE lodge_name = '".$_POST['lodgename']."' AND membersuspendeddate >= '".$_POST['date7']."' AND  membersuspendeddate <= '".$_POST['date8']."' ORDER BY lodge_name, membersuspendeddate";
$Recordset13 = mysql_query($query_Recordset13, $connData) or die(mysql_error());
$row_Recordset13 = mysql_fetch_assoc($Recordset13);
$totalRows_Recordset13 = mysql_num_rows($Recordset13);

mysql_select_db($database_connData, $connData);
$query_Recordset14 = "SELECT CONCAT(lodge_name, ' #', lodge_no) AS lodge_name, CONCAT(memberfirstname, ' ', membermiddlename, ' ', memberlastname) AS membername, memberdob, CONCAT(memberaddress, ' ', membercity) AS memberaddress, memberdeceaseddate FROM sublodges WHERE lodge_name = '".$_POST['lodgename']."' AND memberdeceaseddate >= '".$_POST['date7']."' AND  memberdeceaseddate <= '".$_POST['date8']."' ORDER BY lodge_name, memberdeceaseddate";
$Recordset14 = mysql_query($query_Recordset14, $connData) or die(mysql_error());
$row_Recordset14 = mysql_fetch_assoc($Recordset14);
$totalRows_Recordset14 = mysql_num_rows($Recordset14);

mysql_select_db($database_connData, $connData);
//$query_Recordset15 = "SELECT * FROM sublodges WHERE terminateaffiliationdate >= '".$_POST['date7']."' AND terminateaffiliationdate <= '".$_POST['date8']."' GROUP BY lodge_name";
$query_Recordset15 = "SELECT CONCAT(lodge_name, ' #', lodge_no) AS lodge_name, CONCAT(memberfirstname, ' ', memberlastname) AS membername, memberdob, CONCAT(memberaddress, ' ', membercity) AS memberaddress, terminateaffiliationdate FROM sublodges WHERE lodge_name = '".$_POST['lodgename']."' AND terminateaffiliationdate >= '".$_POST['date7']."' AND  terminateaffiliationdate <= '".$_POST['date8']."' ORDER BY lodge_name, terminateaffiliationdate";
$Recordset15 = mysql_query($query_Recordset15, $connData) or die(mysql_error());
$row_Recordset15 = mysql_fetch_assoc($Recordset15);
$totalRows_Recordset15 = mysql_num_rows($Recordset15);

mysql_select_db($database_connData, $connData);
//$query_Recordset16 = "SELECT lodge_name, CONCAT(memberfirstname, ' ', memberlastname) AS membername, memberdob, CONCAT(memberaddress, ' ', membercity) AS memberaddress, memberexpelleddate FROM sublodges WHERE memberexpelleddate >= '".$_POST['date7']."' AND  memberexpelleddate <= '".$_POST['date8']."' GROUP BY lodge_name";
$query_Recordset16 = "SELECT CONCAT(lodge_name, ' #', lodge_no) AS lodge_name, CONCAT(memberfirstname, ' ', memberlastname) AS membername, memberdob, CONCAT(memberaddress, ' ', membercity) AS memberaddress, memberexpelleddate FROM sublodges WHERE lodge_name = '".$_POST['lodgename']."' AND memberexpelleddate >= '".$_POST['date7']."' AND  memberexpelleddate <= '".$_POST['date8']."' ORDER BY lodge_name, memberexpelleddate";
$Recordset16 = mysql_query($query_Recordset16, $connData) or die(mysql_error());
$row_Recordset16 = mysql_fetch_assoc($Recordset16);
$totalRows_Recordset16 = mysql_num_rows($Recordset16);

mysql_select_db($database_connData, $connData);
//$query_Recordset17 = "SELECT lodge_name, CONCAT(memberfirstname, ' ', memberlastname) AS membername, memberdob, CONCAT(memberaddress, ' ', membercity) AS memberaddress, memberrank, memberbirthplace FROM sublodges WHERE memberrank = 'EA' GROUP BY lodge_name";
//$query_Recordset17 = "SELECT CONCAT(lodge_name, ' #', lodge_no) AS lodge_name, CONCAT(memberfirstname, ' ', ' ', memberlastname) AS membername, memberdob, CONCAT(memberaddress, ' ', membercity) AS memberaddress, memberinitiateddate FROM sublodges WHERE memberrank = 'EA' ORDER BY lodge_name, memberinitiateddate";
$query_Recordset17 = "SELECT CONCAT(lodge_name, ' #', lodge_no) AS lodge_name, CONCAT(memberfirstname, ' ', ' ', memberlastname) AS membername, memberdob, CONCAT(memberaddress, ' ', membercity) AS memberaddress, memberinitiateddate FROM sublodges WHERE lodge_name = '".$_POST['lodgename']."' AND memberinitiateddate >= '".$_POST['date7']."' AND  memberinitiateddate <= '".$_POST['date8']."' ORDER BY lodge_name, memberinitiateddate";
$Recordset17 = mysql_query($query_Recordset17, $connData) or die(mysql_error());
$row_Recordset17 = mysql_fetch_assoc($Recordset17);
$totalRows_Recordset17 = mysql_num_rows($Recordset17);

mysql_select_db($database_connData, $connData);
//$query_Recordset18 = "SELECT CONCAT(lodge_name, ' #', lodge_no) AS lodge_name, COUNT(memberrank ) AS 'Entered' FROM sublodges WHERE memberreaddate >= '".$_POST['date7']."' AND memberreaddate <= '".$_POST['date8']."'  GROUP BY lodge_name";
//$query_Recordset18 = "SELECT COALESCE(COUNT(memberlastname),0) AS 'Entered' FROM sublodges WHERE memberrank = 'EA' AND lodge_name != 'ZZZ'";
$query_Recordset18 = "SELECT COALESCE(COUNT(memberlastname),0) AS 'Entered' FROM sublodges WHERE lodge_name = '".$_POST['lodgename']."' AND memberinitiateddate >= '".$_POST['date7']."' AND  memberinitiateddate <= '".$_POST['date8']."'";

$Recordset18 = mysql_query($query_Recordset18, $connData) or die(mysql_error());
$row_Recordset18 = mysql_fetch_assoc($Recordset18);
$totalRows_Recordset18 = mysql_num_rows($Recordset18);

mysql_select_db($database_connData, $connData);
$query_Recordset19 = "SELECT CONCAT(lodge_name, ' #', lodge_no) AS lodge_name, COUNT(affiliationdate) AS 'Affiliated' FROM sublodges WHERE lodge_name = '".$_POST['lodgename']."' AND affiliationdate >= '".$_POST['date7']."' AND  affiliationdate <= '".$_POST['date8']."' GROUP BY lodge_name";
$Recordset19 = mysql_query($query_Recordset19, $connData) or die(mysql_error());
$row_Recordset19 = mysql_fetch_assoc($Recordset19);
$totalRows_Recordset19 = mysql_num_rows($Recordset19);

mysql_select_db($database_connData, $connData);
$query_TotalMembers = "SELECT COALESCE(COUNT(memberlastname),0) AS 'Grand' FROM sublodges WHERE lodge_name = '".$_POST['lodgename']."'";
$TotalMembers = mysql_query($query_TotalMembers, $connData) or die(mysql_error());
$row_TotalMembers = mysql_fetch_assoc($TotalMembers);
$totalRows_TotalMembers = mysql_num_rows($TotalMembers);

mysql_select_db($database_connData, $connData);
$query_Recordset11 = "SELECT CONCAT(lodge_name, ' #', lodge_no) AS lodge_name, CONCAT(memberfirstname, ' ', memberlastname) AS membername, memberdob, CONCAT(memberaddress, ' ', membercity) AS memberaddress, affiliationdate FROM sublodges WHERE lodge_name = '".$_POST['lodgename']."' AND affiliationdate>= '".$_POST['date7']."' AND  affiliationdate <= '".$_POST['date8']."' ORDER BY lodge_name, affiliationdate";
$Recordset11 = mysql_query($query_Recordset11, $connData) or die(mysql_error());
$row_Recordset11 = mysql_fetch_assoc($Recordset11);
$totalRows_Recordset11 = mysql_num_rows($Recordset11);

// Sum up lodge member increases
$TotalIncrease = $row_Recordset4['GrandAffilated'] + $row_Recordset2['GrandRaised'] + $row_Recordset3['GrandHeald'] + $row_Recordset5['GrandReinstated'];
// End Sum up lodge member increases

// Sum LAST REPORT MEMBERS PLUS $TotalIncrease
$TotalofLastReportedMembersPlusTotalIncrease = $row_TotalMembers['Grand'] + $TotalIncrease;
// End

// Sum DECREASES
$TotalDecreases = $row_Recordset6['GrandSuspended'] +  $row_Recordset7['GrandDeceased'] + $row_Recordset8['GrandDemitted'];
// End Sum DECREASES

// SUM Payable Members
$PayableMembers = $TotalofLastReportedMembersPlusTotalIncrease - $TotalDecreases ;
//

// Relief Department
//$r1 = $PayableMembers * 3.75;
$r1 = $PayableMembers * $row_recordsetsystemvalues['reliefmembers'];
$r2 = $row_Recordset4['GrandAffilated'] * $row_recordsetsystemvalues['reliefaffiliated'];
//$r2 = $row_Recordset4['GrandAffilated'] * 5.00;
$r3 = $row_Recordset2['GrandRaised'] * $row_recordsetsystemvalues['reliefraised'];
//$r3 = $row_Recordset2['GrandRaised'] * 5.00;
$r4 = $row_Recordset5['GrandReinstated'] * $row_recordsetsystemvalues['reliefreinstated'];
//$r4 = $row_Recordset5['GrandReinstated'] * 5.00;
$r5 = $r1 + $r2 + $r3 + $r4;
// End Relief Department

// General Department
$g1 = $PayableMembers  * $row_recordsetsystemvalues['generalmembers'];
//$g1 = $PayableMembers * 8.75;
$g2 = $row_Recordset2['GrandRaised'] * $row_recordsetsystemvalues['generalraised'];
//$g2 = $row_Recordset2['GrandRaised'] * 7.50;
$g3 = $row_Recordset3['GrandHeald'] * $row_recordsetsystemvalues['generalhealed'];
//$g3 = $row_Recordset3['GrandHeald'] * 65.00;
$g4 = $row_Recordset4['GrandAffilated'] * $row_recordsetsystemvalues['generalaffiliated'];
//$g4 = $row_Recordset4['GrandAffilated'] * 12.50;
$g5 = $row_Recordset18['Entered'] * $row_recordsetsystemvalues['generalentered'];
//$g5 = $row_Recordset18['Entered'] * 65.00;
$g6 = $row_Recordset5['GrandReinstated'] * $row_recordsetsystemvalues['generalreinstated'];
//$g6 = $row_Recordset5['GrandReinstated'] * 12.50;
$g7 = $row_Recordset19['Affiliated'] * $row_recordsetsystemvalues['generalaffiliated'];
//$g7 = $row_Recordset19['Affiliated'] * 30.00;
$g8 = $PayableMembers * $row_recordsetsystemvalues['generalGMConNAACP'];
//$g8 = $PayableMembers * .75;
$g9 = $PayableMembers * $row_recordsetsystemvalues['generalcivicaffairs'];
//$g9 = $PayableMembers * .25;
$g10 = $PayableMembers * $row_recordsetsystemvalues['generalcards'];
//$g10 = $PayableMembers * .20;
$g11 = $g1 + $g2 + $g3 + $g4 + $g5 + $g6 + $g7 + $g8 + $g9 + $g10;

// Determine if it's May to exclude Associated calculation
$m=date("m");
if ($m=="5") $g8 = 0;
$g11 = $g1 + $g2 + $g3 + $g4 + $g5 + $g6;
// end Associated calculation

// Determine if it's Feb to exclude Associated calculation
$m1=date("m");
if ($m1=="5") $g9 = 0;
$g11 = $g1 + $g2 + $g3 + $g4 + $g5 + $g6;
// end Associated calculation

// Determine if it's May to exclude Associated calculation
$m2=date("m");
if ($m2=="5") $g10 = 0;
$g11 = $g1 + $g2 + $g3 + $g4 + $g5 + $g6;
// end Associated calculation

// Determine if it's May to exclude Associated calculation
$m3=date("m");
if ($m3=="5") $g7 = 0;
$g11 = $g1 + $g2 + $g3 + $g4 + $g5 + $g6;
// end Associated calculation

// End General
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Non-Certified Combined Quarterly Report</title>
<style type="text/css">
<!--
.style1 {
	font-size: large;
	font-weight: bold;
}
.style3 {font-size: small}
.style4 {font-family: Tahoma}
.style5 {font-size: 24px}
.style6 {font-size: 10px}
.style9 {font-size: small; font-weight: bold; font-family: Tahoma; }
.style10 {font-size: large; font-weight: bold; font-family: Tahoma; }
.style11 {font-size: x-large}
.style12 {color: #FF0000}
.style13 {font-family: Tahoma; color: #FF0000; }
.style14 {font-size: small; font-weight: bold; font-family: Tahoma; color: #FF0000; }
.style16 {font-size: smaller; font-weight: bold; }
.style18 {font-size: large; font-weight: bold; font-family: Tahoma; color: #FF0000; }

-->
</style>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
</head>

<body>

<div align="center">
  <h1 align="center" class="style1 style11" style="margin-top: 0px; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(66, 26, 44); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); "><font face="Old English Text MT" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;">Most Worshipful...Your Grand Lodge Name Here<br>
  </span></font><span style="color: rgb(66, 26, 44); font-family: Georgia; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-center; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); display: inline !important; float: none;">Free and Accepted Masons, State of ... </span></h1>
  <table width="1165" border="0" align="left" cellpadding="0" cellspacing="0">
    <tr>
      <th nowrap scope="row"><div align="left"><span class="style10">COMBINED QUARTERLY REPORT from: <span class="style14"><?php echo $_POST['date7']; ?></span> to:</span> <span class="style14"><?php echo $_POST['date8']; ?></span> <span class="style9">FOR:</span> <span class="style18"><?php echo $_POST['lodgename']; ?></span></div>        
      <div align="left" class="style9"></div>        <div align="left" class="style9"></div>        <div align="left" class="style9"></div>        <div align="left" class="style9"></div></th>
    </tr>
  </table>
  <p><br>
  </p>
  <div id="Layer5" style="position:absolute; width:200px; height:115px; z-index:5">
    <div align="left">
      <table width="400" border="0" align="left" cellpadding="0" cellspacing="0">
        <tr>
          <th colspan="3" scope="row"><span class="style10">SUMMARY</span></th>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <th width="257" nowrap scope="row"><div align="left" class="style4"><span class="style1">STATISTICAL: </span></div></th>
          <td width="21">&nbsp;</td>
          <td width="160">&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <th nowrap scope="row"><div align="left"></div></th>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <th colspan="3" nowrap scope="row"><div align="left" class="style4">Members on LAST REPORT <img src="/Right_Arrow2.png" width="146" height="15" align="absmiddle"></div></th>
          <td width="17" class="style14"><?php echo $row_TotalMembers['Grand']; ?></td>
        </tr>
        <tr>
          <th nowrap scope="row"><div align="left" class="style4">Number of Associated Members</div></th>
          <td class="style14">&nbsp;</td>
          <td class="style14"><?php echo $row_Recordset4['GrandAffilated']; ?><?php echo $row_Recordset4['Affiliated']; ?></td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <th scope="row"><div align="left"><img src="/spacer.gif" width="250" height="8"></div></th>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
      </table>
    </div>
  </div>
  <p align="left">&nbsp;</p>
  <p align="left" class="style1" style="margin-top: 0px; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(66, 26, 44); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); ">&nbsp; </p>
  <p align="left">&nbsp;</p>
  <p>&nbsp;</p>
  <p>&nbsp;</p>
  <p>&nbsp;</p>
  <div id="Layer3" style="position:absolute; width:200px; height:115px; z-index:3; left: 9px; top: 293px;">
    <div align="left">
      <table width="400" border="0" align="left" cellpadding="0" cellspacing="0">
        <tr>
          <th nowrap class="style4" scope="row"><div align="left">INCREASE since </div></th>
          <th rowspan="12"><img src="/verticalbar1.jpg" width="11" height="200"></th>
          <td class="style9"><div align="left"></div></td>
          <td rowspan="12"><div align="left"></div>
              <div align="left"><img src="/verticalbar1.jpg" width="11" height="200"></div>
              <div align="left"></div>
              <div align="left"></div>
              <div align="left"></div>
              <div align="left"></div>
              <div align="left"></div>
              <div align="left"></div>
              <div align="left"></div>
              <div align="left"></div>
              <div align="left"></div>
              <div align="left"></div>
              <div align="left"></div>
              <div align="left"></div></td>
          <td>&nbsp;</td>
          <td rowspan="12"><img src="/verticalbar1.jpg" width="11" height="200"><br>
          </td>
        </tr>
        <tr>
          <th nowrap class="style4" scope="row"><div align="left"></div></th>
          <td class="style9"><div align="left"></div></td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <th nowrap class="style4" scope="row"><div align="left"><br>
        By </div></th>
          <td class="style9"><div align="left"></div></td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <th nowrap scope="row"><div align="left"><span class="style4">(A) Raised</span> <img src="/horizontalline.jpg" width="170" height="7"></div></th>
          <td class="style9"><div align="left" class="style14"><?php echo $row_Recordset2['GrandRaised']; ?></div></td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <th nowrap scope="row"><div align="left"></div></th>
          <td class="style9"><div align="left"></div></td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <th nowrap scope="row"><div align="left"><span class="style4">(B) Healed</span> <img src="/horizontalline.jpg" width="170" height="7"></div></th>
          <td class="style9"><div align="left" class="style14"><?php echo $row_Recordset3['GrandHeald']; ?></div></td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <th nowrap scope="row"><div align="left"></div></th>
          <td class="style9"><div align="left"></div></td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <th nowrap scope="row"><div align="left"><span class="style4">(C) Affiliated</span> <img src="/horizontalline.jpg" width="157" height="7"></div></th>
          <td class="style9"><div align="left" class="style14"><?php echo $row_Recordset4['GrandAffilated']; ?></div></td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <th nowrap scope="row"><div align="left"></div></th>
          <td class="style9"><div align="left"></div></td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <th nowrap scope="row"><div align="left"><span class="style4">(D) Reinstated</span> <img src="/horizontalline.jpg" width="145" height="7"></div></th>
          <td class="style9"><div align="left" class="style14"><?php echo $row_Recordset5['GrandReinstated']; ?></div></td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <th nowrap scope="row"><div align="left">&nbsp;</div></th>
          <td class="style9"><div align="left"></div></td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <th nowrap scope="row"><div align="left" class="style4">Total of LAST qauarter and Increase </div></th>
          <td nowrap class="style14"><?php echo $TotalIncrease ?></td>
          <td nowrap class="style14"><?php echo $TotalofLastReportedMembersPlusTotalIncrease ?></td>
        </tr>
        <tr>
          <th nowrap scope="row"><div align="left"></div></th>
          <th>&nbsp;</th>
          <td nowrap class="style14">&nbsp;</td>
          <td>&nbsp;</td>
          <td nowrap class="style14">&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
      </table>
    </div>
  </div>
  <p align="left" class="style1" style="margin-top: 0px; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(66, 26, 44); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); ">&nbsp;</p>
  <p align="left" class="style1" style="margin-top: 0px; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(66, 26, 44); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); ">&nbsp;</p>
  <p align="left" class="style1" style="margin-top: 0px; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(66, 26, 44); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); ">&nbsp;</p>
  <div id="Layer1" style="position:absolute; width:200px; height:851px; z-index:1; left: 588px; top: 125px;">
    <div align="left"> 
      <table width="645" border="0" cellspacing="0" cellpadding="0">
   <tr>
     <th scope="row"><div align="left" class="style4">
       <p align="left"><span class="style1">RAISED<br>
       </span><span class="style5">A </span><span class="style6">This category &quot;A&quot; includes ONLY those Raised. Fees are $65</span> </p>
       </div></th>
   </tr>
 </table>
  <table border="1" cellpadding="0" cellspacing="0">
   <tr>
     <td nowrap class="style14">Lodge</td>
     <td nowrap><span class="style14">Name of Raised </span></td>
     <td nowrap><span class="style14">DOB</span></td>
     <td nowrap><span class="style14">Address</span></td>
     <td nowrap><span class="style14">Date Raised </span></td>
   </tr>
   <?php do { ?>
   <tr>
     <td nowrap><span class="style3"><?php echo $row_Recordset9['lodge_name']; ?></span></td>
     <td nowrap><span class="style3"><?php echo $row_Recordset9['membername']; ?></span></td>
     <td nowrap><span class="style3"><?php echo $row_Recordset9['memberdob']; ?></span></td>
     <td nowrap><span class="style3"><?php echo $row_Recordset9['memberaddress']; ?></span></td>
     <td nowrap><span class="style3"><?php echo $row_Recordset9['memberraiseddate']; ?></span></td>
   </tr>
   <?php } while ($row_Recordset9 = mysql_fetch_assoc($Recordset9)); ?>
 </table>     
  <table width="645" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <th scope="row"><div align="left" class="style4">
        <div align="center">
          <p align="left" class="style5"><span class="style1"><br>
                HEALED<br>
          </span>            B</p>
          </div>
      </div></th>
    </tr>
  </table>
  <table border="1" cellpadding="0" cellspacing="0">
    <tr class="style14">
      <td nowrap>Lodge</td>
      <td nowrap>Name of Healed </td>
      <td nowrap>DOB</td>
      <td nowrap>Address</td>
      <td nowrap>Date Healed </td>
    </tr>
    <?php do { ?>
    <tr class="style3">
      <td nowrap><?php echo $row_Recordset10['lodge_name']; ?></td>
      <td nowrap><?php echo $row_Recordset10['membername']; ?></td>
      <td nowrap><?php echo $row_Recordset10['memberdob']; ?></td>
      <td nowrap><?php echo $row_Recordset10['memberaddress']; ?></td>
      <td nowrap><?php echo $row_Recordset10['memberhealeddate']; ?></td>
    </tr>
    <?php } while ($row_Recordset10 = mysql_fetch_assoc($Recordset10)); ?>
  </table>
  <table width="645" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <th scope="row"><div align="left" class="style4">
          <div align="center">
            <p align="left" class="style5"><span class="style1"><br>
            AFFILIATED<br>
            </span> C <span class="style6">This category includes affilation among Lodges of California and those of foreign Jurisdictions </span></p>
          </div>
      </div></th>
    </tr>
  </table>
  <table border="1" cellpadding="0" cellspacing="0">
    <tr class="style14">
      <td nowrap>Lodge</td>
      <td nowrap>Name of Affiliated </td>
      <td nowrap>DOB</td>
      <td nowrap>Address</td>
      <td nowrap>Date of Affiliated </td>
    </tr>
    <?php do { ?>
    <tr class="style3">
      <td nowrap><?php echo $row_Recordset11['lodge_name']; ?></td>
      <td nowrap><?php echo $row_Recordset11['membername']; ?></td>
      <td nowrap><?php echo $row_Recordset11['memberdob']; ?></td>
      <td nowrap><?php echo $row_Recordset11['memberaddress']; ?></td>
      <td nowrap><?php echo $row_Recordset11['affiliationdate']; ?></td>
    </tr>
    <?php } while ($row_Recordset11 = mysql_fetch_assoc($Recordset11)); ?>
  </table>
  <table width="645" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <th scope="row"><div align="left" class="style4">
          <div align="center">
            <p align="left" class="style5"><span class="style1"><br>
            REINSTATED<br>
            </span> D <span class="style6">This category includes ONLY those REINSTATED </span></p>
          </div>
      </div></th>
    </tr>
  </table>
  <table border="1" cellpadding="0" cellspacing="0">
    <tr class="style14">
      <td nowrap>Lodge</td>
      <td nowrap>Name of Reinstated </td>
      <td nowrap>DOB</td>
      <td nowrap>Address</td>
      <td nowrap>Date of Reinstated </td>
    </tr>
    <?php do { ?>
    <tr class="style3">
      <td nowrap><?php echo $row_Recordset12['lodge_name']; ?></td>
      <td nowrap><?php echo $row_Recordset12['membername']; ?></td>
      <td nowrap><?php echo $row_Recordset12['memberdob']; ?></td>
      <td nowrap><?php echo $row_Recordset12['memberaddress']; ?></td>
      <td nowrap><?php echo $row_Recordset12['memberreinstateddate']; ?></td>
    </tr>
    <?php } while ($row_Recordset12 = mysql_fetch_assoc($Recordset12)); ?>
  </table>
  <table width="645" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <th scope="row"><div align="left" class="style4">
          <div align="center">
            <p align="left" class="style5"><span class="style1"><br>
            SUSPENDED<br>
            </span> E </p>
          </div>
      </div></th>
    </tr>
  </table>
  <table border="1" cellpadding="0" cellspacing="0">
    <tr class="style14">
      <td nowrap>Lodge</td>
      <td nowrap>Name of Suspended </td>
      <td nowrap>DOB</td>
      <td nowrap>Address</td>
      <td nowrap>Date Suspended </td>
    </tr>
    <?php do { ?>
    <tr class="style3">
      <td nowrap><?php echo $row_Recordset13['lodge_name']; ?></td>
      <td nowrap><?php echo $row_Recordset13['membername']; ?></td>
      <td nowrap><?php echo $row_Recordset13['memberdob']; ?></td>
      <td nowrap><?php echo $row_Recordset13['memberaddress']; ?></td>
      <td nowrap><?php echo $row_Recordset13['membersuspendeddate']; ?></td>
    </tr>
    <?php } while ($row_Recordset13 = mysql_fetch_assoc($Recordset13)); ?>
  </table>
  <table width="645" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <th scope="row"><div align="left" class="style4">
          <div align="center">
            <p align="left" class="style5"><span class="style1"><br>
            DECEASED<br>
            </span> F </p>
          </div>
      </div></th>
    </tr>
  </table>
  <table border="1" cellpadding="0" cellspacing="0">
    <tr class="style14">
      <td nowrap>Lodge</td>
      <td nowrap>Name of Deceased </td>
      <td nowrap>DOB</td>
      <td nowrap>Address</td>
      <td nowrap>Date of Death </td>
    </tr>
    <?php do { ?>
    <tr class="style3">
      <td nowrap><?php echo $row_Recordset14['lodge_name']; ?></td>
      <td nowrap><?php echo $row_Recordset14['membername']; ?></td>
      <td nowrap><?php echo $row_Recordset14['memberdob']; ?></td>
      <td nowrap><?php echo $row_Recordset14['memberaddress']; ?></td>
      <td nowrap><?php echo $row_Recordset14['memberdeceaseddate']; ?></td>
    </tr>
    <?php } while ($row_Recordset14 = mysql_fetch_assoc($Recordset14)); ?>
  </table>
  <br>
  <table width="645" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <th scope="row"><div align="left" class="style4">
          <div align="center">
            <p align="left" class="style5"><span class="style1"><br>
            DEMITTED<br>
            </span> G </p>
          </div>
      </div></th>
    </tr>
  </table>
  <table border="1" cellpadding="0" cellspacing="0">
    <tr class="style9">
      <td nowrap><span class="style12">Lodge</span></td>
      <td nowrap><span class="style12">Name of Demitted </span></td>
      <td nowrap><span class="style12">DOB</span></td>
      <td nowrap><span class="style12">Address</span></td>
      <td nowrap class="style14">Date Demitted </td>
    </tr>
    <?php do { ?>
    <tr class="style3">
      <td nowrap><?php echo $row_Recordset15['lodge_name']; ?></td>
      <td nowrap><?php echo $row_Recordset15['membername']; ?></td>
      <td nowrap><?php echo $row_Recordset15['memberdob']; ?></td>
      <td nowrap><?php echo $row_Recordset15['memberaddress']; ?></td>
      <td nowrap><?php echo $row_Recordset15['terminateaffiliationdate']; ?></td>
    </tr>
    <?php } while ($row_Recordset15 = mysql_fetch_assoc($Recordset15)); ?>
  </table>
  <table width="645" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <th scope="row"><div align="left" class="style4">
          <div align="center">
            <p align="left" class="style5"><span class="style1"><br>
            EXPELLED<br>
            </span> H </p>
          </div>
      </div></th>
    </tr>
  </table>
  <table border="1" cellpadding="0" cellspacing="0">
    <tr class="style9">
      <td nowrap><span class="style12">Lodge</span></td>
      <td nowrap><span class="style12">Name of Expelled </span></td>
      <td nowrap><span class="style12">DOB</span></td>
      <td nowrap><span class="style12">Address</span></td>
      <td nowrap><span class="style12">Date Expelled </span></td>
    </tr>
    <?php do { ?>
    <tr class="style3">
      <td nowrap><?php echo $row_Recordset16['lodge_name']; ?></td>
      <td nowrap><?php echo $row_Recordset16['membername']; ?></td>
      <td nowrap><?php echo $row_Recordset16['memberdob']; ?></td>
      <td nowrap><?php echo $row_Recordset16['memberaddress']; ?></td>
      <td nowrap><?php echo $row_Recordset16['memberexpelleddate']; ?></td>
    </tr>
    <?php } while ($row_Recordset16 = mysql_fetch_assoc($Recordset16)); ?>
  </table>
  <table width="645" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <th scope="row"><div align="left" class="style4">
          <div align="center">
            <p align="left" class="style5"><span class="style1"><br>
            ENTERED<br>
            </span> I </p>
          </div>
      </div></th>
    </tr>
  </table>
  <table border="1" cellpadding="0" cellspacing="0">
    <tr class="style9">
      <td nowrap><span class="style12">Lodge</span></td>
      <td nowrap><span class="style12">Name of Entered </span></td>
      <td nowrap><span class="style12">DOB</span></td>
      <td nowrap><span class="style12">Birth Place </span></td>
      <td nowrap><span class="style12">Date Expelled </span></td>
    </tr>
    <?php do { ?>
    <tr class="style3">
      <td nowrap><?php echo $row_Recordset17['lodge_name']; ?></td>
      <td nowrap><?php echo $row_Recordset17['membername']; ?></td>
      <td nowrap><?php echo $row_Recordset17['memberbirthplace']; ?></td>
      <td nowrap><?php echo $row_Recordset17['memberaddress']; ?></td>
      <td nowrap><?php echo $row_Recordset17['memberinitiateddate']; ?></td>
    </tr>
    <?php } while ($row_Recordset17 = mysql_fetch_assoc($Recordset17)); ?>
  </table>
  <p></p>
  <p></p>
  <p></p>
  <p></p>
  <p><br>
    </p>
    </div>
  </div>
  <p align="left" class="style1" style="margin-top: 0px; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(66, 26, 44); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); ">&nbsp;</p>
  <p align="left" class="style1" style="margin-top: 0px; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(66, 26, 44); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); ">&nbsp;</p>
  <p align="left" class="style1" style="margin-top: 0px; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(66, 26, 44); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); ">&nbsp;</p>
  <div id="Layer4" style="position:absolute; width:200px; height:115px; z-index:4">
    <div align="left">
      <table width="400" border="0" align="left" cellpadding="0" cellspacing="0">
        <tr>
          <th nowrap scope="row"><div align="left" class="style4">
              <p>&nbsp;</p>
              <p>DECREASE since </p>
          </div></th>
          <th rowspan="13" scope="row"><img src="/verticalbar1.jpg" width="11" height="246"></th>
          <td class="style9"><div align="left"></div></td>
          <td rowspan="13"><div align="left"></div>
              <div align="left"><img src="/verticalbar1.jpg" width="11" height="246"></div>
              <div align="left"></div>
              <div align="left"></div>
              <div align="left"></div>
              <div align="left"></div>
              <div align="left"></div>
              <div align="left"></div>
              <div align="left"></div>
              <div align="left"></div>
              <div align="left"></div>
              <div align="left"></div>
              <div align="left"></div>
              <div align="left"></div></td>
          <td>&nbsp;</td>
          <td rowspan="13"><img src="/verticalbar1.jpg" width="11" height="246"></td>
        </tr>
        <tr>
          <th nowrap scope="row"><div align="left"></div></th>
          <td class="style9"><div align="left"></div></td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <th nowrap class="style4" scope="row"><div align="left"> By </div></th>
          <td class="style9"><div align="left"></div></td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <th nowrap class="style4" scope="row"><div align="left">(E) suspended N.P.D<img src="/horizontalline.jpg" width="120" height="7"></div></th>
          <td class="style9"><div align="left" class="style14"><?php echo $row_Recordset6['GrandSuspended']; ?></div></td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <th nowrap scope="row"><div align="left"></div></th>
          <td class="style9"><div align="left"></div></td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <th nowrap scope="row"><div align="left"><span class="style4">(F) Deceased</span><img src="/horizontalline.jpg" width="170" height="7"></div></th>
          <td class="style9"><div align="left" class="style14"><?php echo $row_Recordset7['GrandDeceased']; ?></div></td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <th nowrap scope="row"><div align="left"></div></th>
          <td class="style9"><div align="left"></div></td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <th nowrap scope="row"><div align="left"><span class="style4">(G) Demitted</span> <img src="/horizontalline.jpg" width="168" height="7"></div></th>
          <td class="style9"><div align="left" class="style14"><?php echo $row_Recordset8['GrandDemitted']; ?></div></td>
          <td>&nbsp;</td>
        </tr>
        <tr>
