<?php
$current_page = basename($_SERVER['PHP_SELF']);
?>
<div class="header">
	<a class="logo" href="#"><img src="img/logo.png" alt="" title=""/></a>
	<ul class="header_menu">
		<li class="list_icon"><a href="#">&nbsp;</a></li>
	</ul>    
</div>
<div class="menu">                
	<div class="breadLine">            
		<div class="arrow"></div>
		<div class="adminControl active">
			Hi, Administrator
		</div>
	</div>
	<div class="admin">
		<ul class="control">                
			<li><span class="icon-share-alt"></span> <a href="logout.php">Logout</a></li>
		</ul>
	</div>
	<ul class="navigation">
	    <li <?php if($current_page == 'dashboard.php') { ?>class = "active"<?php } ?>>
			<a href="dashboard.php">
				<span class="isw-documents"></span><span class="text">Dashboard</span>
			</a>
		</li> 
		<li <?php if($current_page == 'site_settings.php') { ?>class = "active"<?php } ?>>
			<a href="site_settings.php">
				<span class="isw-documents"></span><span class="text">Site Settings</span>
			</a>
		</li> 
		<li <?php if($current_page == 'change_password.php') { ?>class = "active"<?php } ?>>
			<a href="change_password.php">
				<span class="isw-archive"></span><span class="text">Change Password</span>                 
			</a>
		</li>
		<!--<li class="openable <?php if($current_page == 'add_edit_banner.php' || $current_page == 'banner_list.php') { ?>active<?php } ?>">
			<a href="#">
				<span class="isw-list"></span><span class="text">Home Banner Management</span>
			</a>
			<ul>
				<li <?php if($current_page == 'add_edit_banner.php') { ?>class = "active"<?php } ?>>
					<a href="add_edit_banner.php">
						<span class="icon-pencil"></span><span class="text">Add Banner</span>
					</a>
				</li>                                                                                          
				<li <?php if($current_page == 'banner_list.php') { ?>class = "active"<?php } ?>>
					<a href="banner_list.php">
						<span class="icon-list"></span><span class="text">Banner List</span>
					</a>     
			   </li>
			</ul>                                
		</li>-->
		<li <?php if($current_page == 'edit_about.php') { ?>class = "active"<?php } ?>>
			<a href="edit_about.php">
				<span class="isw-documents"></span><span class="text">About Us</span>
			</a>
		</li>
		<li <?php if($current_page == 'user_list.php' || $current_page == 'user_details.php') { ?>class = "active"<?php } ?>>
			<a href="user_list.php">
				<span class="isw-list"></span><span class="text">Broker List</span>                 
			</a>
		</li>
		<li <?php if($current_page == 'property_list.php' || $current_page == 'property_details.php' || $current_page == 'property_enquiry_list.php') { ?>class = "active"<?php } ?>>
			<a href="property_list.php">
				<span class="isw-list"></span><span class="text">Property List</span>                 
			</a>
		</li>
		<li class="openable <?php if($current_page == 'design_enquiry_list.php' || $current_page == 'loan_enquiry_list.php') { ?>active<?php } ?>">
			<a href="#">
				<span class="isw-list"></span><span class="text">Enquiry List</span>
			</a>
			<ul>
				<li <?php if($current_page == 'design_enquiry_list.php') { ?>class = "active"<?php } ?>>
					<a href="design_enquiry_list.php">
						<span class="icon-pencil"></span><span class="text">Interior Design Enquiry List</span>
					</a>
				</li>                            
				<li <?php if($current_page == 'loan_enquiry_list.php') { ?>class = "active"<?php } ?>>
					<a href="loan_enquiry_list.php">
						<span class="icon-list"></span><span class="text">Loan Enquiry List</span>
					</a>     
			   </li>
			</ul>                                
		</li>
	</ul>
</div>
