<?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, <?php echo $_SESSION['LOGIN_NAME'];?>
		</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>
		<?php if($_SESSION['LOGIN_ID'] == 1) { ?>
		<li class="openable <?php if($current_page == 'add_edit_sub_admin.php' || $current_page == 'sub_admin_list.php') { ?>active<?php } ?>">
			<a href="#">
				<span class="isw-list"></span><span class="text">Sub Admin Management</span>
			</a>
			<ul>
				<li <?php if($current_page == 'add_edit_sub_admin.php') { ?>class = "active"<?php } ?>>
					<a href="add_edit_sub_admin.php">
						<span class="icon-pencil"></span><span class="text">Add Sub Administrator</span>
					</a>
				</li>                              
				<li <?php if($current_page == 'sub_admin_list.php') { ?>class = "active"<?php } ?>>
					<a href="sub_admin_list.php">
						<span class="icon-list"></span><span class="text">Sub Administrator List</span>
					</a>     
			   </li>
			</ul>                                
		</li>
		<?php } ?>
		<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 class="openable <?php if($current_page == 'edit_welcome.php' || $current_page == 'edit_org.php' || $current_page == 'edit_mission.php' || $current_page == 'edit_vision.php' || $current_page ==  'edit_moto.php' || $current_page ==  'edit_pre.php' || $current_page == 'edit_terms.php' || $current_page == 'edit_privacy.php' || $current_page == 'edit_bank.php' || $current_page == 'edit_footer_text.php') { ?>active<?php } ?>">
			<a href="#">
				<span class="isw-list"></span><span class="text">Content Management</span>
			</a>
			<ul>
			    <li <?php if($current_page == 'edit_welcome.php') { ?>class = "active"<?php } ?>>
					<a href="edit_welcome.php">
						<span class="icon-pencil"></span><span class="text">Welcome Text</span>
					</a>
				</li>
				<li <?php if($current_page == 'edit_org.php') { ?>class = "active"<?php } ?>>
					<a href="edit_org.php">
						<span class="icon-pencil"></span><span class="text">About Organization</span>
					</a>
				</li>
				<li <?php if($current_page == 'edit_mission.php') { ?>class = "active"<?php } ?>>
					<a href="edit_mission.php">
						<span class="icon-pencil"></span><span class="text">Our Mission</span>
					</a>
				</li>
				<li <?php if($current_page == 'edit_vision.php') { ?>class = "active"<?php } ?>>
					<a href="edit_vision.php">
						<span class="icon-pencil"></span><span class="text">Our Vision</span>
					</a>
				</li>
				<li <?php if($current_page == 'edit_moto.php') { ?>class = "active"<?php } ?>>
					<a href="edit_moto.php">
						<span class="icon-pencil"></span><span class="text">Our Moto</span>
					</a>
				</li>
				<li <?php if($current_page == 'edit_pre.php') { ?>class = "active"<?php } ?>>
					<a href="edit_pre.php">
						<span class="icon-pencil"></span><span class="text">Presidental Column</span>
					</a>
				</li>
			    <li <?php if($current_page == 'edit_terms.php') { ?>class = "active"<?php } ?>>
					<a href="edit_terms.php">
						<span class="icon-pencil"></span><span class="text">Terms & Conditions</span>
					</a>
				</li>
				<li <?php if($current_page == 'edit_privacy.php') { ?>class = "active"<?php } ?>>
					<a href="edit_privacy.php">
						<span class="icon-pencil"></span><span class="text">Privacy Policy</span>
					</a>
				</li>
			    <li <?php if($current_page == 'edit_bank.php') { ?>class = "active"<?php } ?>>
					<a href="edit_bank.php">
						<span class="icon-pencil"></span><span class="text">Donation Details</span>
					</a>
				</li>
				<li <?php if($current_page == 'edit_footer_text.php') { ?>class = "active"<?php } ?>>
					<a href="edit_footer_text.php">
						<span class="icon-pencil"></span><span class="text">Footer Text</span>
					</a>
				</li>
			</ul>                                
		</li>
		<li class="openable <?php if($current_page == 'add_edit_member.php' || $current_page == 'member_list.php') { ?>active<?php } ?>">
			<a href="#">
				<span class="isw-list"></span><span class="text">Member Management</span>
			</a>
			<ul>
				<li <?php if($current_page == 'add_edit_member.php') { ?>class = "active"<?php } ?>>
					<a href="add_edit_member.php">
						<span class="icon-pencil"></span><span class="text">Add Activity</span>
					</a>
				</li>                             
				<li <?php if($current_page == 'member_list.php') { ?>class = "active"<?php } ?>>
					<a href="member_list.php">
						<span class="icon-list"></span><span class="text">Member List</span>
					</a>     
			   </li>
			</ul>                                
		</li>
		<li class="openable <?php if($current_page == 'add_edit_activity.php' || $current_page == 'activity_list.php') { ?>active<?php } ?>">
			<a href="#">
				<span class="isw-list"></span><span class="text">Activity Management</span>
			</a>
			<ul>
				<li <?php if($current_page == 'add_edit_activity.php') { ?>class = "active"<?php } ?>>
					<a href="add_edit_activity.php">
						<span class="icon-pencil"></span><span class="text">Add Activity</span>
					</a>
				</li>                              
				<li <?php if($current_page == 'activity_list.php') { ?>class = "active"<?php } ?>>
					<a href="activity_list.php">
						<span class="icon-list"></span><span class="text">Activity List</span>
					</a>     
			   </li>
			</ul>                                
		</li>
		<li class="openable <?php if($current_page == 'add_edit_blog.php' || $current_page == 'blog_list.php') { ?>active<?php } ?>">
			<a href="#">
				<span class="isw-list"></span><span class="text">Blog Management</span>
			</a>
			<ul>
				<li <?php if($current_page == 'add_edit_blog.php') { ?>class = "active"<?php } ?>>
					<a href="add_edit_blog.php">
						<span class="icon-pencil"></span><span class="text">Add Blog</span>
					</a>
				</li>                              
				<li <?php if($current_page == 'blog_list.php') { ?>class = "active"<?php } ?>>
					<a href="blog_list.php">
						<span class="icon-list"></span><span class="text">Blog List</span>
					</a>     
			   </li>
			</ul>                                
		</li>
		<li class="openable <?php if($current_page == 'add_edit_ann.php' || $current_page == 'ann_list.php') { ?>active<?php } ?>">
			<a href="#">
				<span class="isw-list"></span><span class="text">Announcement Management</span>
			</a>
			<ul>
				<li <?php if($current_page == 'add_edit_ann.php') { ?>class = "active"<?php } ?>>
					<a href="add_edit_ann.php">
						<span class="icon-pencil"></span><span class="text">Add Announcement</span>
					</a>
				</li>                             
				<li <?php if($current_page == 'ann_list.php') { ?>class = "active"<?php } ?>>
					<a href="ann_list.php">
						<span class="icon-list"></span><span class="text">Announcement List</span>
					</a>     
			   </li>
			</ul>                                
		</li>
		<li class="openable <?php if($current_page == 'add_edit_photo.php' || $current_page == 'photo_list.php') { ?>active<?php } ?>">
			<a href="#">
				<span class="isw-list"></span><span class="text">Gallery Management</span>
			</a>
			<ul>
				<li <?php if($current_page == 'add_edit_photo.php') { ?>class = "active"<?php } ?>>
					<a href="add_edit_photo.php">
						<span class="icon-pencil"></span><span class="text">Add Photo</span>
					</a>
				</li>                              
				<li <?php if($current_page == 'photo_list.php') { ?>class = "active"<?php } ?>>
					<a href="photo_list.php">
						<span class="icon-list"></span><span class="text">Photo List</span>
					</a>     
			   </li>
			</ul>                                
		</li>
		<li class="openable <?php if($current_page == 'subscription_list.php' || $current_page == 'subscription_details.php') { ?>active<?php } ?>">
			<a href="#">
				<span class="isw-list"></span><span class="text">Subscription Management</span>
			</a>
			<ul>
				<li <?php if($current_page == 'subscription_list.php') { ?>class = "active"<?php } ?>>
					<a href="subscription_list.php">
						<span class="icon-list"></span><span class="text">Subscription Collection List</span>
					</a>     
			   </li>
			</ul>                                
		</li>
		<li class="openable <?php if($current_page == 'donation_list.php' || $current_page == 'donation_details.php' || $current_page == 'facebook_donation_list.php' || $current_page == 'facebook_donation_details.php') { ?>active<?php } ?>">
			<a href="#">
				<span class="isw-list"></span><span class="text">Donation Management</span>
			</a>
			<ul>
				<li <?php if($current_page == 'donation_list.php') { ?>class = "active"<?php } ?>>
					<a href="donation_list.php">
						<span class="icon-list"></span><span class="text">Donation Collection List</span>
					</a>     
			   </li>
			   <li <?php if($current_page == 'facebook_donation_list.php') { ?>class = "active"<?php } ?>>
					<a href="facebook_donation_list.php">
						<span class="icon-list"></span><span class="text">Facebook Donation List</span>
					</a>     
			   </li>
			</ul>                                
		</li>
		<li class="openable <?php if($current_page == 'general_list.php' || $current_page == 'general_details.php' || $current_page == 'general_reject_cause.php' || $current_page == 'student_list.php' || $current_page == 'student_details.php' || $current_page == 'student_reject_cause.php') { ?>active<?php } ?>">
			<a href="#">
				<span class="isw-list"></span><span class="text">Volunteer Management</span>
			</a>
			<ul>
				<li <?php if($current_page == 'general_list.php') { ?>class = "active"<?php } ?>>
					<a href="general_list.php">
						<span class="icon-list"></span><span class="text">General Volunteer List</span>
					</a>     
			   </li>
			   <li <?php if($current_page == 'student_list.php') { ?>class = "active"<?php } ?>>
					<a href="student_list.php">
						<span class="icon-list"></span><span class="text">Student Volunteer List</span>
					</a>     
			   </li>
			</ul>                                
		</li>
		<!--<li <?php if($current_page == 'order_list.php' || $current_page == 'order_details.php' || $current_page == 'suggestion.php' || $current_page == 'cancel_request.php') { ?>class = "active"<?php } ?>>
			<a href="order_list.php">
				<span class="isw-list"></span><span class="text">Order List</span>                 
			</a>
		</li>
		<li <?php if($current_page == 'user_list.php') { ?>class = "active"<?php } ?>>
			<a href="user_list.php">
				<span class="isw-list"></span><span class="text">User List</span>                 
			</a>
		</li>
		<li <?php if($current_page == 'sub_list.php') { ?>class = "active"<?php } ?>>
			<a href="sub_list.php">
				<span class="isw-list"></span><span class="text">Subscriber List</span>                 
			</a>
		</li>-->
	</ul>
</div>
