<?
/*
Manager Default Page Plugin 1.0 (General Use)
Build Date 1.28.2003
*/
?>
						<table>
							
							<tr>
							
								<td height="5" colspan="2"></td>
								
							</tr>
							
							<tr>
							
								<td height="7" colspan="2"></td>
								
							</tr>
							
							<tr>
							
								<td  align="center" valign="top">
								
									<table>
									
										<tr>
							
											<td>
											
											<?
											//**** Nav Area ****/////////////////////////////////////////////////////////////////////////
											
											$x = count($nav_title);
											$i = 1;
											while($i <= $x){
											?>
												<font face="verdana" size="2" color="#eeeeee"><a href="mgr.index.php?n=<? echo $i; ?>&p_mode=<? echo $nav_page[$i]; ?>"><? echo $nav_title[$i]; ?></a></font><br>
											<?
												$i++;
											}
											?>
											
											
											</td>
											
										</tr>
										
									</table>
								
								</td>
								
								<td align="left">
								
								<?
								//**** Add Quick Stats ****////////////////////////////////////////////////////////////////////////////
								if($setup->quick_stats == 1){ ?>
								
									<table cellspacing="0" cellpadding="0">
									
										<tr>
											
											<td><img src="images/login.header.gif"></td>
											
										</tr>
										
										<tr>
										
											<td bgcolor="#ffffff" align="center" style="border-left: 1px solid #A0A1A3; border-right: 1px solid #A0A1A3;">
											
												<table width="95%">
												
													<tr>
													
														<td colspan="2" style="border-bottom: 1px solid #eeeeee;"><font face="verdana" size="2"><b>Quick Site Stats</b></td>
														
													</tr>
													
													<tr>
													
														<td><font face="verdana" size="1" color="#8C8E91">Current Active Members:</td>
														<td align="right"><font face="verdana" size="1"><b>
														<?
														$mem_result = mysql_query("SELECT member_id FROM members where active = '1'", $db);
														$mem_count = mysql_num_rows($mem_result);
														$mem = mysql_fetch_object($mem_result);															
														echo $mem_count;
														?>
														</b></td>
														
													</tr>
													
													<tr>
													
														<td><font face="verdana" size="1" color="#8C8E91">Website Hits:</td>
														<td align="right"><font face="verdana" size="1"><b><? echo $setup->website_hits; ?></b></td>
														
													</tr>
													
													<tr>
													
														<td><font face="verdana" size="1" color="#8C8E91">New Members since you last logged in:</td>
														<td align="right"><font face="verdana" size="1"><b>
														<?
														$mem_result = mysql_query("SELECT member_id FROM members where signup_date > '$setup->admin_login_date'", $db);
														$mem_count = mysql_num_rows($mem_result);
														$mem = mysql_fetch_object($mem_result);															
														echo $mem_count;
														?>
														</b></td>
														
													</tr>
													
												</table>							
											
											</td>
											
										</tr>
										
										<tr>
											
											<td><img src="images/login.footer.gif"></td>
											
										</tr>
										
									</table>
									
								<? } ?>
								
								</td>
								
							</tr>
							
							<tr>
								<td colspan="2">
									<?
											echo $welcome_page;
											//echo $site_type . " | " . $site_version;
										
									?>
								</td>							
							</tr>					
							
						</table>
						