<?
include_once("../include/main.inc.php");
check_session('MyCpanel','index.php');

################ Paging Starts From Here ##################
admin_header();
?>
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="0" valign="top">
 <tr>
	<td align="left" width="50%"><strong><b class="myTitle">Manage Reporting</b></strong></td>
	<td align="right"></td>
 </tr>
</table>
<hr size="2" width="99%" color="#DA251C">

<?
$totalMembers=getCount("member_tbl", "where 1");
$activeMembers=getCount("member_tbl", "where status='Y'");
$inactiveMembers=getCount("member_tbl", "where status='N'");
$deletedMembers=getCount("member_tbl", "where status='D'");
$paidMembers=getCount("member_tbl", "where membershipType < 3");
$platinumMembers=getCount("member_tbl", "where membershipType = 1");
$goldMembers=getCount("member_tbl", "where membershipType = 2");
$silverMembers=getCount("member_tbl", "where membershipType = 3");
$freeMembers=getCount("member_tbl", "where membershipType = 4");
$premiumMembers=getCount("member_tbl", "where premiumMember='Y'");

$totalLeads=getCount("trade_leads_tbl", "where 1");
$activeLeads=getCount("trade_leads_tbl", "where status='Y' and expiryDate >= '$wdt'");
$inactiveLeads=getCount("trade_leads_tbl", "where status='N'");
$deletedLeads=getCount("trade_leads_tbl", "where status='D'");
$expiredLeads=getCount("trade_leads_tbl", "where expiryDate < '$wdt' and status!='D'");

$totalBuyLeads=getCount("trade_leads_tbl", "where leadType='1'");
$activeBuyLeads=getCount("trade_leads_tbl", "where status='Y' and leadType='1' and expiryDate >= '$wdt'");
$inactiveBuyLeads=getCount("trade_leads_tbl", "where status='N' and leadType='1'");
$deletedBuyLeads=getCount("trade_leads_tbl", "where status='D' and leadType='1'");
$expiredBuyLeads=getCount("trade_leads_tbl", "where expiryDate < '$wdt' and leadType='1' and status!='D'");

$totalSellLeads=getCount("trade_leads_tbl", "where leadType='2'");
$activeSellLeads=getCount("trade_leads_tbl", "where status='Y' and leadType='2' and expiryDate >= '$wdt'");
$inactiveSellLeads=getCount("trade_leads_tbl", "where status='N' and leadType='2'");
$deletedSellLeads=getCount("trade_leads_tbl", "where status='D' and leadType='2'");
$expiredSellLeads=getCount("trade_leads_tbl", "where expiryDate < '$wdt' and leadType='2' and status!='D'");


$totalSellBuyLeads=getCount("trade_leads_tbl", "where leadType='3'");
$activeSellBuyLeads=getCount("trade_leads_tbl", "where status='Y' and leadType='3'");
$inactiveSellBuyLeads=getCount("trade_leads_tbl", "where status='N' and leadType='3'");
$deletedSellBuyLeads=getCount("trade_leads_tbl", "where status='D' and leadType='3'");
$expiredSellBuyLeads=getCount("trade_leads_tbl", "where expiryDate < '$wdt' and leadType='3'");


$totalLeadEnquiries=getCount("trade_enquiry_tbl", "where source=''");
$activeLeadEnquiries=getCount("trade_enquiry_tbl", "where status='Y' and source=''");
$inactiveLeadEnquiries=getCount("trade_enquiry_tbl", "where status='N' and source=''");
$deletedLeadEnquiries=getCount("trade_enquiry_tbl", "where status='D' and source=''");

$totalBuyLeadEnquiries=getCount("trade_enquiry_tbl", "where leadType='1' and source=''");
$activeBuyLeadEnquiries=getCount("trade_enquiry_tbl", "where status='Y' and leadType='1' and source=''");
$inactiveBuyLeadEnquiries=getCount("trade_enquiry_tbl", "where status='N' and leadType='1' and source=''");
$deletedBuyLeadEnquiries=getCount("trade_enquiry_tbl", "where status='D' and  leadType='1' and source=''");

$totalSellLeadEnquiries=getCount("trade_enquiry_tbl", "where leadType='2' and source=''");
$activeSellLeadEnquiries=getCount("trade_enquiry_tbl", "where status='Y' and leadType='2' and source=''");
$inactiveSellLeadEnquiries=getCount("trade_enquiry_tbl", "where status='N' and leadType='2' and source=''");
$deletedSellLeadEnquiries=getCount("trade_enquiry_tbl", "where status='D' and  leadType='2' and source=''");


$totalSellBuyLeadEnquiries=getCount("trade_enquiry_tbl", "where leadType='3' and source=''");
$activeSellBuyLeadEnquiries=getCount("trade_enquiry_tbl", "where status='Y' and leadType='3' and source=''");
$inactiveSellBuyLeadEnquiries=getCount("trade_enquiry_tbl", "where status='N' and leadType='3' and source=''");
$deletedSellBuyLeadEnquiries=getCount("trade_enquiry_tbl", "where status='D' and  leadType='3' and source=''");


$totalCatalogEnquiries=getCount("trade_enquiry_tbl", "where source='catalog'");
$activeCatalogEnquiries=getCount("trade_enquiry_tbl", "where status='Y' and source='catalog'");
$inactiveCatalogEnquiries=getCount("trade_enquiry_tbl", "where status='N' and source='catalog'");
$deletedCatalogEnquiries=getCount("trade_enquiry_tbl", "where status='D' and source='catalog'");

$totalBuyCatalogEnquiries=getCount("trade_enquiry_tbl", "where source='catalog' and leadType='1'");
$activeBuyCatalogEnquiries=getCount("trade_enquiry_tbl", "where status='Y' and leadType='1' and source='catalog'");
$inactiveBuyCatalogEnquiries=getCount("trade_enquiry_tbl", "where status='N' and leadType='1' and source='catalog'");
$deletedBuyCatalogEnquiries=getCount("trade_enquiry_tbl", "where status='D' and leadType='1' and source='catalog'");

$totalSellCatalogEnquiries=getCount("trade_enquiry_tbl", "where source='catalog' and leadType='2'");
$activeSellCatalogEnquiries=getCount("trade_enquiry_tbl", "where status='Y' and leadType='2' and source='catalog'");
$inactiveSellCatalogEnquiries=getCount("trade_enquiry_tbl", "where status='N' and leadType='2' and source='catalog'");
$deletedSellCatalogEnquiries=getCount("trade_enquiry_tbl", "where status='D' and leadType='2' and source='catalog'");


$totalSellBuyCatalogEnquiries=getCount("trade_enquiry_tbl", "where source='catalog' and leadType='3'");
$activeSellBuyCatalogEnquiries=getCount("trade_enquiry_tbl", "where status='Y' and leadType='3' and source='catalog'");
$inactiveSellBuyCatalogEnquiries=getCount("trade_enquiry_tbl", "where status='N' and leadType='3' and source='catalog'");
$deletedSellBuyCatalogEnquiries=getCount("trade_enquiry_tbl", "where status='D' and leadType='3' and source='catalog'");


$totalBusinessEnquiries=getCount("business_enquiry_tbl", "where 1");
$activeBusinessEnquiries=getCount("business_enquiry_tbl", "where status='Y'");
$inactiveBusinessEnquiries=getCount("business_enquiry_tbl", "where status='N'");
$deletedBusinessEnquiries=getCount("business_enquiry_tbl", "where status='D'");

$totalBanners=getCount("banner_tbl", "where 1");
$activeBanners=getCount("banner_tbl", "where status='Y'");
$inactiveBanners=getCount("banner_tbl", "where status='N'");
$deletedBanners=getCount("banner_tbl", "where status='D'");
$expiredBanners=getCount("banner_tbl", "where expiryDate < '$wdt' and status!='D'");

$totalTestimonials=getCount("testimonial_tbl", " where 1");
$activeTestimonials=getCount("testimonial_tbl", " where status='Y'");
$inactiveTestimonials=getCount("testimonial_tbl", " where status='N'");
$repliedTestimonials=getCount("testimonial_tbl", " where replyStatus='Y'");

$totalTradeShows=getCount("trade_show_tbl", " where 1");
$activeTradeShows=getCount("trade_show_tbl", " where status='Y'");
$inactiveTradeShows=getCount("trade_show_tbl", " where status='N'");
$expiredTradeShows=getCount("trade_show_tbl", " where tsDate < '$wdt' and status!='D'");
/*
$totalForumTopics=getCount("forum_topic_tbl", " where 1");
$activeForumTopics=getCount("forum_topic_tbl", " where status='Y'");
$inactiveForumTopics=getCount("forum_topic_tbl", " where status='N'");
$deletedForumTopics=getCount("forum_topic_tbl", " where status='D'");

$totalFeedbacks=getCount("feedback_tbl", " where 1");
$repliedFeedbacks=getCount("feedback_tbl", "where status='Y'");
*/
?>

<table width="99%" border="0" cellpadding="4" cellspacing="0" class="lightBorder">
 <tr height="25" bgcolor="#EAEAEA"><td colspan="4"><b>Registered Members Detail &rarr;</b></td></tr>  
 <tr height="25" bgcolor="#ffffff">
  <td valign="top" width="25%"><i>Total Members</i>&nbsp;&rarr;&nbsp;<b><?=$totalMembers;?></b></td>
  <td valign="top" width="25%"><i>Active Members</i>&nbsp;&rarr;&nbsp;<b><?=$activeMembers;?></b></td>
  <td valign="top" width="25%"><i>Inactive Members</i>&nbsp;&rarr;&nbsp;<b><?=$inactiveMembers;?></b></td>
  <td valign="top" width="25%"><i>Deleted Members</i>&nbsp;&rarr;&nbsp;<b><?=$deletedMembers;?></b></td>
 </tr>
 <tr height="25" bgcolor="#ffffff">
  <td valign="top"><i>Paid Members</i>&nbsp;&rarr;&nbsp;<b><?=$paidMembers;?></b></td>
  <td valign="top"><i>Platinum Members</i>&nbsp;&rarr;&nbsp;<b><?=$platinumMembers;?></b></td>
  <td valign="top"><i>Gold Members</i>&nbsp;&rarr;&nbsp;<b><?=$goldMembers;?></b></td>
  <td valign="top"><i>Silver Members</i>&nbsp;&rarr;&nbsp;<b><?=$silverMembers;?></b></td>
 </tr>
 
 <tr height="25" bgcolor="#ffffff">
  <td valign="top"><i>Free Members</i>&nbsp;&rarr;&nbsp;<b><?=$freeMembers;?></b></td>
  <td valign="top" colspan="3"><i>Premium Suppliers</i>&nbsp;&rarr;&nbsp;<b><?=$premiumMembers;?></b></td> 
 </tr>
 <tr height="25" bgcolor="#EAEAEA"><td colspan="4"><b>Trade Leads Detail &rarr;</b></td></tr>
 <tr height="25" bgcolor="#f6f6f6">
  <td valign="top"><i>Total Trade Leads</i>&nbsp;&rarr;&nbsp;<b><?=$totalLeads;?></b></td>
  <td valign="top"><i>Active Trade Leads</i>&nbsp;&rarr;&nbsp;<b><?=$activeLeads;?></b></td>
  <td valign="top"><i>Inactive Trade Leads</i>&nbsp;&rarr;&nbsp;<b><?=$inactiveLeads;?></b></td>
  <td valign="top"><i>Deleted Trade Leads</i>&nbsp;&rarr;&nbsp;<b><?=$deletedLeads;?></b></td>
 </tr>
 <tr height="25" bgcolor="#f6f6f6">
  <td valign="top" colspan="4"><i>Expired Trade Leads</i>&nbsp;&rarr;&nbsp;<b><?=$expiredLeads;?></b></td> 
 </tr>
 <tr height="25" bgcolor="#ffffff">
  <td valign="top"><i>Total Buy Leads</i>&nbsp;&rarr;&nbsp;<b><?=$totalBuyLeads;?></b></td>
  <td valign="top"><i>Active Buy Leads</i>&nbsp;&rarr;&nbsp;<b><?=$activeBuyLeads;?></b></td>
  <td valign="top"><i>Inactive Buy Leads</i>&nbsp;&rarr;&nbsp;<b><?=$inactiveBuyLeads;?></b></td>
  <td valign="top"><i>Deleted Buy Leads</i>&nbsp;&rarr;&nbsp;<b><?=$deletedBuyLeads;?></b></td>
 </tr>
 <tr height="25" bgcolor="#ffffff">
  <td valign="top" colspan="4"><i>Expired Buy Leads</i>&nbsp;&rarr;&nbsp;<b><?=$expiredBuyLeads;?></b></td> 
 </tr>
 <tr height="25" bgcolor="#f6f6f6">
  <td valign="top"><i>Total Sell Leads</i>&nbsp;&rarr;&nbsp;<b><?=$totalSellLeads;?></b></td>
  <td valign="top"><i>Active Sell Leads</i>&nbsp;&rarr;&nbsp;<b><?=$activeSellLeads;?></b></td>
  <td valign="top"><i>Inactive Sell Leads</i>&nbsp;&rarr;&nbsp;<b><?=$inactiveSellLeads;?></b></td>
  <td valign="top"><i>Deleted Sell Leads</i>&nbsp;&rarr;&nbsp;<b><?=$deletedSellLeads;?></b></td>
 </tr>
 <tr height="25" bgcolor="#f6f6f6">
  <td valign="top" colspan="4"><i>Expired Sell Leads</i>&nbsp;&rarr;&nbsp;<b><?=$expiredSellLeads;?></b></td> 
 </tr>
 
 <tr height="25" bgcolor="#ffffff">
  <td valign="top"><i>Total Sell & Buy Leads</i>&nbsp;&rarr;&nbsp;<b><?=$totalSellBuyLeads;?></b></td>
  <td valign="top"><i>Active Sell & Buy Leads</i>&nbsp;&rarr;&nbsp;<b><?=$activeSellBuyLeads;?></b></td>
  <td valign="top"><i>Inactive Sell & Buy Leads</i>&nbsp;&rarr;&nbsp;<b><?=$inactiveSellBuyLeads;?></b></td>
  <td valign="top"><i>Deleted Sell & Buy Leads</i>&nbsp;&rarr;&nbsp;<b><?=$deletedSellBuyLeads;?></b></td>
 </tr>
 <tr height="25" bgcolor="#ffffff">
  <td valign="top" colspan="4"><i>Expired Sell & Buy Leads</i>&nbsp;&rarr;&nbsp;<b><?=$expiredSellBuyLeads;?></b></td> 
 </tr>
 
 <tr height="25" bgcolor="#EAEAEA"><td colspan="4"><b>Trade Leads Enquiries Detail &rarr;</b></td></tr>
 <tr height="25" bgcolor="#f6f6f6">
  <td valign="top"><i>Total Trade Lead Enquiries</i>&nbsp;&rarr;&nbsp;<b><?=$totalLeadEnquiries;?></b></td>
  <td valign="top"><i>Active Lead Enquiries</i>&nbsp;&rarr;&nbsp;<b><?=$activeLeadEnquiries;?></b></td>
  <td valign="top"><i>Inactive Lead Enquiries</i>&nbsp;&rarr;&nbsp;<b><?=$inactiveLeadEnquiries;?></b></td>
  <td valign="top"><i>Deleted Lead Enquiries</i>&nbsp;&rarr;&nbsp;<b><?=$deletedLeadEnquiries;?></b></td>
 </tr>
 <tr height="25" bgcolor="#ffffff">
  <td valign="top"><i>Total Buy Lead Enquiries</i>&nbsp;&rarr;&nbsp;<b><?=$totalBuyLeadEnquiries;?></b></td>
  <td valign="top"><i>Active Buy Lead Enquiries</i>&nbsp;&rarr;&nbsp;<b><?=$activeBuyLeadEnquiries;?></b></td>
  <td valign="top"><i>Inactive Buy Lead Enquiries</i>&nbsp;&rarr;&nbsp;<b><?=$inactiveBuyLeadEnquiries;?></b></td>
  <td valign="top"><i>Deleted Buy Lead Enquiries</i>&nbsp;&rarr;&nbsp;<b><?=$deletedBuyLeadEnquiries;?></b></td>
 </tr>
 <tr height="25" bgcolor="#f6f6f6">
  <td valign="top"><i>Total Sell Lead Enquiries</i>&nbsp;&rarr;&nbsp;<b><?=$totalSellLeadEnquiries;?></b></td>
  <td valign="top"><i>Active Sell Lead Enquiries</i>&nbsp;&rarr;&nbsp;<b><?=$activeSellLeadEnquiries;?></b></td>
  <td valign="top"><i>Inactive Sell Lead Enquiries</i>&nbsp;&rarr;&nbsp;<b><?=$inactiveSellLeadEnquiries;?></b></td>
  <td valign="top"><i>Deleted Sell Lead Enquiries</i>&nbsp;&rarr;&nbsp;<b><?=$deletedSellLeadEnquiries;?></b></td>
 </tr>
 
 <tr height="25" bgcolor="#ffffff">
  <td valign="top"><i>Total Trade Sell & Buy Enquiries</i>&nbsp;&rarr;&nbsp;<b><?=$totalSellBuyLeadEnquiries;?></b></td>
  <td valign="top"><i>Active Sell & Buy Lead Enquiries</i>&nbsp;&rarr;&nbsp;<b><?=$activeSellBuyLeadEnquiries;?></b></td>
  <td valign="top"><i>Inactive Sell & Buy Lead Enquiries</i>&nbsp;&rarr;&nbsp;<b><?=$inactiveSellBuyLeadEnquiries;?></b></td>
  <td valign="top"><i>Deleted Sell & Buy Lead Enquiries</i>&nbsp;&rarr;&nbsp;<b><?=$deletedSellBuyLeadEnquiries;?></b></td>
 </tr> 
 
 <tr height="25" bgcolor="#EAEAEA"><td colspan="4"><b>Catalog Enquiries Detail &rarr;</b></td></tr>
 <tr height="25" bgcolor="#f6f6f6">
  <td valign="top"><i>Total Catalog Enquiries</i>&nbsp;&rarr;&nbsp;<b><?=$totalCatalogEnquiries;?></b></td>
  <td valign="top"><i>Active Catalog Enquiries</i>&nbsp;&rarr;&nbsp;<b><?=$activeCatalogEnquiries;?></b></td>
  <td valign="top"><i>Inactive Catalog Enquiries</i>&nbsp;&rarr;&nbsp;<b><?=$inactiveCatalogEnquiries;?></b></td>
  <td valign="top"><i>Deleted Catalog Enquiries</i>&nbsp;&rarr;&nbsp;<b><?=$deletedCatalogEnquiries;?></b></td>
 </tr>
 <tr height="25" bgcolor="#ffffff">
  <td valign="top"><i>Total Buy Catalog Enquiries</i>&nbsp;&rarr;&nbsp;<b><?=$totalBuyCatalogEnquiries;?></b></td>
  <td valign="top"><i>Active Buy Catalog Enquiries</i>&nbsp;&rarr;&nbsp;<b><?=$activeBuyCatalogEnquiries;?></b></td>
  <td valign="top"><i>Inactive Buy Catalog Enquiries</i>&nbsp;&rarr;&nbsp;<b><?=$inactiveBuyCatalogEnquiries;?></b></td>
  <td valign="top"><i>Deleted Buy Catalog Enquiries</i>&nbsp;&rarr;&nbsp;<b><?=$deletedBuyCatalogEnquiries;?></b></td>
 </tr>
 <tr height="25" bgcolor="#f6f6f6">
  <td valign="top"><i>Total Sell Catalog Enquiries</i>&nbsp;&rarr;&nbsp;<b><?=$totalSellCatalogEnquiries;?></b></td>
  <td valign="top"><i>Active Sell Catalog Enquiries</i>&nbsp;&rarr;&nbsp;<b><?=$activeSellCatalogEnquiries;?></b></td>
  <td valign="top"><i>Inactive Sell Catalog Enquiries</i>&nbsp;&rarr;&nbsp;<b><?=$inactiveSellCatalogEnquiries;?></b></td>
  <td valign="top"><i>Deleted Sell Catalog Enquiries</i>&nbsp;&rarr;&nbsp;<b><?=$deletedSellCatalogEnquiries;?></b></td>
 </tr>
 
 <tr height="25" bgcolor="#ffffff">
  <td valign="top"><i>Total Sell & Buy Catalog Enquiries</i>&nbsp;&rarr;&nbsp;<b><?=$totalSellBuyCatalogEnquiries;?></b></td>
  <td valign="top"><i>Active Sell & Buy Catalog Enquiries</i>&nbsp;&rarr;&nbsp;<b><?=$activeSellBuyCatalogEnquiries;?></b></td>
  <td valign="top"><i>Inactive Sell & Buy Catalog Enquiries</i>&nbsp;&rarr;&nbsp;<b><?=$inactiveSellBuyCatalogEnquiries;?></b></td>
  <td valign="top"><i>Deleted Sell & Buy Catalog Enquiries</i>&nbsp;&rarr;&nbsp;<b><?=$deletedSellBuyCatalogEnquiries;?></b></td>
 </tr> 
 
 <tr height="25" bgcolor="#EAEAEA"><td colspan="4"><b>Business Classifieds Enquiries Detail &rarr;</b></td></tr>
 <tr height="25" bgcolor="#f6f6f6">
  <td valign="top"><i>Total Business Classified Enquiries</i>&nbsp;&rarr;&nbsp;<b><?=$totalBusinessEnquiries;?></b></td>
  <td valign="top"><i>Active Business Classified Enquiries</i>&nbsp;&rarr;&nbsp;<b><?=$activeBusinessEnquiries;?></b></td>
  <td valign="top"><i>Inactive Business Classified Enquiries</i>&nbsp;&rarr;&nbsp;<b><?=$inactiveBusinessEnquiries;?></b></td>
  <td valign="top"><i>Deleted Business Classified Enquiries</i>&nbsp;&rarr;&nbsp;<b><?=$deletedBusinessEnquiries;?></b></td>
 </tr>
 
 <tr height="25" bgcolor="#EAEAEA"><td colspan="4"><b>Banner Advertisement Details &rarr;</b></td></tr>
 <tr height="25" bgcolor="#f6f6f6">
  <td valign="top"><i>Total Banners</i>&nbsp;&rarr;&nbsp;<b><?=$totalBanners;?></b></td>
  <td valign="top"><i>Active Banners</i>&nbsp;&rarr;&nbsp;<b><?=$activeBanners;?></b></td>
  <td valign="top"><i>Inactive Banners</i>&nbsp;&rarr;&nbsp;<b><?=$inactiveBanners;?></b></td>
  <td valign="top"><i>Deleted Banners</i>&nbsp;&rarr;&nbsp;<b><?=$deletedBanners;?></b></td>
 </tr>
 <tr height="25" bgcolor="#ffffff">
  <td valign="top" colspan="4"><i>Expired Banners</i>&nbsp;&rarr;&nbsp;<b><?=$expiredBanners;?></b></td> 
 </tr>
 
 <tr height="25" bgcolor="#EAEAEA"><td colspan="4"><b>Testimonials / Success Stories Detail &rarr;</b></td></tr>
 <tr height="25" bgcolor="#f6f6f6">
  <td valign="top"><i>Total Testimonials</i>&nbsp;&rarr;&nbsp;<b><?=$totalTestimonials;?></b></td>
  <td valign="top"><i>Active Testimonials</i>&nbsp;&rarr;&nbsp;<b><?=$activeTestimonials;?></b></td>
  <td valign="top"><i>Inactive Testimonials</i>&nbsp;&rarr;&nbsp;<b><?=$inactiveTestimonials;?></b></td>
  <td valign="top"><i>Replied Testimonials</i>&nbsp;&rarr;&nbsp;<b><?=$repliedTestimonials;?></b></td>
 </tr>
 
 <tr height="25" bgcolor="#EAEAEA"><td colspan="4"><b>Trade Shows Detail &rarr;</b></td></tr>
 <tr height="25" bgcolor="#ffffff">
  <td valign="top"><i>Total Trade Shows</i>&nbsp;&rarr;&nbsp;<b><?=$totalTradeShows;?></b></td>
  <td valign="top"><i>Active Trade Shows</i>&nbsp;&rarr;&nbsp;<b><?=$activeTradeShows;?></b></td>
  <td valign="top"><i>Inactive Trade Shows</i>&nbsp;&rarr;&nbsp;<b><?=$inactiveTradeShows;?></b></td>
  <td valign="top"><i>Expired Trade Shows</i>&nbsp;&rarr;&nbsp;<b><?=$expiredTradeShows;?></b></td>
 </tr>
 <!--
 <tr height="25" bgcolor="#EAEAEA"><td colspan="4"><b>Customer Feedback Details &rarr;</b></td></tr>
 <tr height="25" bgcolor="#ffffff">
  <td valign="top"><i>Total Feedbacks</i>&nbsp;&rarr;&nbsp;<b><?=$totalFeedbacks;?></b></td>
  <td valign="top" colspan="3"><i>Replied Feedbacks</i>&nbsp;&rarr;&nbsp;<b><?=$repliedFeedbacks;?></b></td>  
 </tr>
 !-->
</table><br>

<?
admin_footer();	
exit;
?>