<!-- Aside (Left Column) -->
		<div id="aside" class="box">

			<div class="padding box">
			<div style="padding-bottom:5px;">
			<p id="logo" style="font-size:36px; font-weight:bold;"><center><h1><a href="<?php echo SITE_URL.ADMIN_DIR ?>"><img width="60%" src="<?php echo SITE_URL;?>images/socio-mail-logo.png" alt="<?php echo SITE_NAME?>" title="<?php echo SITE_NAME?>" /></a></h1></center></p>
          </div>	<?php $file_name = basename($_SERVER['SCRIPT_NAME']);
				
					if($file_name=='adminlist.php' || $file_name=='addadmin.php'){ ?>					
					
						<form action="adminlist.php" method="post" id="search" name="search">
							<fieldset>
								<legend>Search</legend>
								<p><input type="text" size="17" name="search_input" id="search_input" value="<?php echo $_POST['search_input'] ?>" class="input-text" />&nbsp;
									<input id="search_submit" name="search_submit" type="submit" value="OK" class="input-submit-02" /><br />
									
							</fieldset>
						</form>

						<?php if($ADD_ACCESS){ ?>
							<p id="btn-create" class="box"><a href="addadmin.php"><span>Add Administrator</span></a></p>
						<?php } ?>	
						
					<?php }else if($file_name=='userlist.php' || $file_name=='adduser.php'){ ?>
					
						<form action="userlist.php" method="post" id="search" name="search">
							<fieldset>
								<legend>Search</legend>
								<p><input type="text" size="17" name="search_input" id="search_input" value="<?php echo $_POST['search_input'] ?>" class="input-text" />&nbsp;
									<input id="search_submit" name="search_submit" type="submit" value="OK" class="input-submit-02" /><br />
									
							</fieldset>
						</form>

						<?php if($ADD_ACCESS){ ?>
							<p id="btn-create" class="box"><a href="adduser.php"><span>Add User</span></a></p>
						<?php } ?>						

					<?php }?>	

			</div> 
			
			

		


		</div> <!-- /aside -->