<?php
///////////////////////////////////////////////////////////////////////////////
//                                                                           //
//   Program Name         : ProPhotoHost                                     //
//   Release Version      : 1.0                                              //
//   Home Page            : http://www.prophotohost.com                      //
//   Program Author       : Jake P                                           //
//   Supplied by          : drew010                                          //
//   Nullified by         : CyKuH [WTN]                                      //
//   Distribution         : via WebForum, ForumRU and associated file dumps  //
//                                                                           //
///////////////////////////////////////////////////////////////////////////////
?>

<?php if($session_admin == true) { ?>
	
	<tr>
		
		<td background="./images/tab.top.gif" height="18"><font face="verdana" size="1">&nbsp;&nbsp;<b>controls:</b></font></td>
		
	</tr>
	
	<tr>
		
		<td background="./images/tab.middle.gif" valign="top">
			
			<table cellpadding="1" cellspacing="0" align="center" width="100">
				
				<tr>
					
					<td height="5"></td>
					
				</tr>
				
				<tr>
					
					<td><font face="verdana" size="1">+ <a href="./admin.home.php">home</a></font></td>
					
				</tr>
				
				<tr>
					
					<td><font face="verdana" size="1">+ <a href="./admin.member.php">members</a></font></td>
					
				</tr>
				
				<tr>
					
					<td><font face="verdana" size="1">+ <a href="./admin.image.php">images</a></font></td>
					
				</tr>
				
				<tr>
					
					<td><font face="verdana" size="1">+ <a href="./confirmation.php?confirm=logout">logout</a></font></td>
					
				</tr>
				
			</table>
			
		</td>
		
	</tr>
	
	</form>
	
	<tr>
		
		<td><img src="./images/tab.bottom.gif"></td>
		
	</tr>
	
	<tr>
		
		<td><font face="verdana" size="1">&nbsp;</font></td>
		
	</tr>
	
<?php } else { ?>

<?php if($session_access == false) { ?>
	
	<tr>
		
		<td background="./images/tab.top.gif" height="18"><font face="verdana" size="1">&nbsp;&nbsp;<b>login:</b></font></td>
		
	</tr>
	
	<form name="login" action="./login.php" method="post">
	
	<tr>
		
		<td background="./images/tab.middle.gif" valign="top">
			
			<table cellpadding="1" cellspacing="0" align="center">
				
				<tr>
					
					<td height="5"></td>
					
				</tr>
				
				<tr>
					
					<td><font face="verdana" size="1">e:</font></td>
					<td><input type="text" name="email" class="form" style="width: 110px"></td>
					
				</tr>
				
				<tr>
					
					<td><font face="verdana" size="1">p:</font></td>
					<td><input type="password" name="password" class="form" style="width: 110px"></td>
					
				</tr>
				
				<tr>
					
					<td colspan="2" align="right">
						
						<table cellpadding="0" cellspacing="0">
							
							<tr>
								
								<td><font face="verdana" size="1"><a href="./forgot.php">forgot?</a>&nbsp;&nbsp;&nbsp;</font></td>
								<td><input type="image" src="./images/bu.login.gif" name="login_button"></td>
								
							</tr>
							
						</table>
						
					</td>
					
				</tr>
				
			</table>
			
		</td>
		
	</tr>
	
	</form>
	
	<tr>
		
		<td><img src="./images/tab.bottom.gif"></td>
		
	</tr>
	
	<tr>
		
		<td><font face="verdana" size="1">&nbsp;</font></td>
		
	</tr>
	
<?php } else { ?>
	
	<tr>
		
		<td background="./images/tab.top.gif" height="18"><font face="verdana" size="1">&nbsp;&nbsp;<b>controls:</b></font></td>
		
	</tr>
	
	<tr>
		
		<td background="./images/tab.middle.gif" valign="top">
			
			<table cellpadding="1" cellspacing="0" align="center" width="100">
				
				<tr>
					
					<td height="5"></td>
					
				</tr>
				
				<tr>
					
					<td><font face="verdana" size="1">+ <a href="./home.php">home</a></font></td>
					
				</tr>
				
				<tr>
					
					<td><font face="verdana" size="1">+ <a href="./add.image.php">add image</a></font></td>
					
				</tr>
				
				<tr>
					
					<td><font face="verdana" size="1">+ <a href="./preference.php">preferences</a></font></td>
					
				</tr>
				
				<tr>
					
					<td><font face="verdana" size="1">+ <a href="./confirmation.php?confirm=logout">logout</a></font></td>
					
				</tr>
				
			</table>
			
		</td>
		
	</tr>
	
	</form>
	
	<tr>
		
		<td><img src="./images/tab.bottom.gif"></td>
		
	</tr>
	
	<tr>
		
		<td><font face="verdana" size="1">&nbsp;</font></td>
		
	</tr>
	
<?php } ?>

<?php } ?>

<tr>
	
	<td><a href="./signup.php"><img src="./images/tab.signup.gif" border="0"></a></td>
	
</tr>