
<!-- Top navigation-->
<nav class="navbar navbar-expand-lg navbar-light border-bottom bg-white text-dark">
	<div class="container-fluid">

		<div>
			<a href="javascript:void(0)" id="sidebarToggle"> <img src="<?=base_url('admin_assets/img/icons/hamburger-icon.png');?>" height="18px"></a>


			<div class="collapse navbar-collapse" id="navbarSupportedContent">



				<h3 class="mt-2" id="heading" style="font-weight: 600!important;margin-left: 20px; color: var(--devotee-dashboard-menu-color);font-family: Times New Roman;"></h3>

				<div id="dropdown-list" style="position: absolute;right: <?= $header == 'MY BOOKINGS' ? '240px' : '180px'; ?>"></div>

				<div style="right: 33px!important;position: absolute;vertical-align: middle!important;">
					<?php if ($header == 'MY PROFILE') { ?>

						<a  style="padding-right:20px;color: #ffffff00"  href="<?=base_url('admin/update-profile')?>"> <img src="<?=base_url('admin_assets/img/icons/edit.png')?>" height="40"width="40" style="vertical-align: middle!important;">
						</a>

					<?php }else if($header == 'EDIT PROFILE'){ ?> 

						<a href="javascript:void(0)" style="padding-right:20px;color: #0d6efd00;" id="saveDetails" onclick="submitForm()" class="btn btn-success text-white" >SAVE</a> 
						<a href="javascript:void(0)" onclick="closeForm()" class="btn btn-danger text-white mt-0">CANCEL</a>


					<?php }else if($header == 'MY-ANNUAL-EVENTS'){ ?> 

						<a href="<?=base_url('admin/add-annual-events')?>" style="padding-right:20px;color: #0d6efd00;"><img src="<?=base_url('admin_assets/img/icons/add-icon.png')?>" height="40"width="40" style="vertical-align: middle!important;"></a>

					<?php }else if($header == 'ADD-ANNUAL-EVENTS'){ ?> 

						<a id="addAnnualEventBtn" style="padding-right:20px;color: #0d6efd00;" onclick="submitForm()" class="btn btn-success text-white"   href="javascript:void(0)">SAVE</a>


					<?php }else if($header == 'MY SERVICE REQUEST'){ ?> 

						<a href="<?=base_url('admin/ServiceRequest')?>" style="padding-right:20px;color: #0d6efd00;"><img src="<?=base_url('admin_assets/img/icons/add-icon.png')?>" height="40"width="40" style="vertical-align: middle!important;"></a>

						<a id="refresh" onclick="refresh()" style="padding-right:20px;color: #0d6efd00;" style="color: #ffffff00"  href="javascript:void(0)"> <img src="<?=base_url('admin_assets/img/icons/refresh-icon.png')?>"height="40"width="40" style="vertical-align: middle!important;">
						</a>

					<?php }else if($header == 'REQUEST A SERVICE'){ ?> 

						<a href="javascript:void(0)" onclick="closeForm()" class="btn btn-danger text-white mt-0">CANCEL</a>

						<a id="serviceRequestBtn" style="padding-right:20px;color: #0d6efd00;" onclick="submitForm()" class="btn btn-success text-white"   href="javascript:void(0)">SAVE</a>

					<?php }else if($header == 'MY PAYMENTS'){ ?> 
						<a id="refresh" onclick="refresh()" style="padding-right:20px;color: #0d6efd00;"  href="javascript:void(0)"><img src="<?=base_url('admin_assets/img/icons/refresh-icon.png')?>" height="40"width="40" style="vertical-align: middle!important;">
						</a>

					<?php }else if($header == 'MY DONATIONS'){ ?>
						<a href="<?=base_url('donations')?>" style="padding-right:20px;color: #0d6efd00;"><img src="<?=base_url('admin_assets/img/icons/add-icon.png')?>" height="40"width="40" style="vertical-align: middle!important;"></a> 

						<a id="refresh" onclick="refresh()" style="padding-right:20px;color: #0d6efd00;"   href="javascript:void(0)"><img src="<?=base_url('admin_assets/img/icons/refresh-icon.png')?>" height="40"width="40" style="vertical-align: middle!important;">
						</a>


					<?php }else if($header == 'MY ORDERS'){ ?> 

						<a href="javascript:void(0)" style="padding-right:20px;"><img src="<?=base_url('admin_assets/img/icons/add-icon.png')?>" height="40"width="40" style="vertical-align: middle!important;">
						</a>


						<a id="refresh" onclick="refresh()" style="padding-right:20px;color: #0d6efd00;"  href="javascript:void(0)"><img src="<?=base_url('admin_assets/img/icons/refresh-icon.png')?>" height="40px" width="40px" style="vertical-align: middle!important;">
						</a>

					<?php }else if($header == 'MY BOOKINGS'){ ?> 

						<a href="<?=base_url('services')?>" style="padding-right:20px;"><img src="<?=base_url('admin_assets/img/icons/add-icon.png')?>" height="40"width="40" style="vertical-align: middle!important;"></a>


						<a id="refresh" onclick="refresh()" style="padding-right:20px;color: #0d6efd00;"   href="javascript:void(0)"><img src="<?=base_url('admin_assets/img/icons/refresh-icon.png')?>" height="40px" width="40px" style="vertical-align: middle!important;"></a>


					<?php }  ?>

					<a href="<?=base_url()?>" style="padding-right:20px;color: #0d6efd00;"><img src="<?=base_url('admin_assets/img/icons/home-icon.png')?>" height="34px" width="34px" style="vertical-align: middle!important;"></a> 


				</div>
			</div>
		</div>
	</div>
</nav>
<script type="text/javascript">
	$("#refresh").click(function() {
		location.reload();
	});
</script>