<?php session_start();  //Developed by ITechScripts
require 'include/configurations.php'; // ITECHBIDS Configuration File
require 'include/header.php';
?>

<style type="text/css">
<!--
.style1 {
	color: #666666;
	font-weight: bold;
}
.style3 {color: #666666; font-size: 11px; font-family:Arial, Helvetica, sans-serif}
-->
</style>
<html>
<head>
<title>ITECH HYIP::: Admin Area</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<?
$date=date('Y-m-d');
$jres=mysql_query("select * from members where date_of_join='$date'");
$join=mysql_num_rows($jres);
$wres=mysql_query("select * from history where type='withdraw_pending'");
$wnum=mysql_num_rows($wres);
$paid_res=mysql_query("select * from history where type='withdrawal'");
$paid_num=mysql_num_rows($paid_res);
$mat_res=mysql_query("select * from history where type='matured_deposit'");
$mat_num=mysql_num_rows($mat_res);
$rel_res=mysql_query("select * from history where type='release_deposit'");
$rel_num=mysql_num_rows($rel_res);
$noval="No Users Found";
?>

<body>
<form name="frm" action="download_excel.php" method="get">
  <br>
<table align="center" width="80%" class="ft">
		<tr class="ct" height="25"> <td height="22" colspan="3">Downloads</td></tr>
		<tr><td  class="ct" height="25">User Information</td></tr>
		<tr >
		<td><a href="download_excel.php?mode=all" id="tablink">Total User</a></td>
		</tr>
		<tr >
		<td><a href="download_excel.php?mode=actv" id="tablink">Active Users</a></td>
		</tr>
		<tr >
		<td><a href="download_excel.php?mode=suspend" id="tablink">Suspended Users</a></td>
		</tr>
		<tr >
		<td><a href="download_excel.php?mode=unver" id="tablink">Unverified Users</a></td>
		</tr>
		<tr >
		<td><a href="download_excel.php?mode=dup" id="tablink">Duplicate Users</a></td>
		</tr>
		<tr >
		<td><a href="download_excel.php?mode=new" id="tablink">New Users</a></td>
		<tr >
		<td><a href="download_excel.php?mode=join" id="tablink">Users Joined Today</a></td>
		</tr>
		<tr >
		<td class="ct" height="25">WithDrawal Details</td>
		</tr>
		<tr >
		<td><a href="download_excel.php?vall=pending" id="tablink">Pending Withdrawals</a></td>
		</tr>
		<tr >
		<td><a href="download_excel.php?vall=done" id="tablink">Drawn</a></td>
		</tr>
		<tr >
		<td  class="ct" height="25">Deposit Details</td>
		</tr>
		<tr >
		<td><a href="download_excel.php?val=today" id="tablink">Deposit Made Today</a></td>
		</tr>
		<tr >
		<td><a href="download_excel.php?val=tot" id="tablink">Total Deposits</a></td>
		</tr>
		<tr >
		<td><a href="download_excel.php?val=actv" id="tablink">Active Deposits</a></td>
		</tr>
		<tr >
		<td><a href="download_excel.php?val=mature" id="tablink">Matured Deposits</a></td>
		</tr>
		<tr >
		<td><a href="download_excel.php?val=release" id="tablink">Released Deposits</a></td>
		</tr>
		<tr >
		<td><a href="download_excel.php?val=E-Gold" id="tablink">Deposit through E-Gold</a></td>
		</tr>
		<tr >
		<td><a href="download_excel.php?val=Int-Gold" id="tablink">Deposit through Int-Gold</a></td>
		</tr>
		<tr >
		<td><a href="download_excel.php?val=Paypal" id="tablink">Deposit through Paypal</a></td>
		</tr>
		<tr >
		<td><a href="download_excel.php?val=Strompay" id="tablink">Deposit through Stormpay</a></td>
		</tr>
		<tr >
		<td><a href="download_excel.php?val=E-Bullion" id="tablink">Deposit through E-Bullion</a></td>
		</tr>
		<tr >
		<td><a href="download_excel.php?val=Money Bookers" id="tablink">Deposit through Money Bookers</a></td>
		</tr>
</table>
</form><?php
require 'include/footer.php';
?>