<?php

?>
<!-- BEGIN SIDEBAR -->
	<div class="page-sidebar-wrapper">
		<!-- DOC: Set data-auto-scroll="false" to disable the sidebar from auto scrolling/focusing -->
		<!-- DOC: Change data-auto-speed="200" to adjust the sub menu slide up/down speed -->
		<div class="page-sidebar navbar-collapse collapse">
			<!-- BEGIN SIDEBAR MENU -->
			<!-- DOC: Apply "page-sidebar-menu-light" class right after "page-sidebar-menu" to enable light sidebar menu style(without borders) -->
			<!-- DOC: Apply "page-sidebar-menu-hover-submenu" class right after "page-sidebar-menu" to enable hoverable(hover vs accordion) sub menu mode -->
			<!-- DOC: Apply "page-sidebar-menu-closed" class right after "page-sidebar-menu" to collapse("page-sidebar-closed" class must be applied to the body element) the sidebar sub menu mode -->
			<!-- DOC: Set data-auto-scroll="false" to disable the sidebar from auto scrolling/focusing -->
			<!-- DOC: Set data-keep-expand="true" to keep the submenues expanded -->
			<!-- DOC: Set data-auto-speed="200" to adjust the sub menu slide up/down speed -->
			<ul class="page-sidebar-menu" data-keep-expanded="false" data-auto-scroll="true" data-slide-speed="200">
				<!-- DOC: To remove the sidebar toggler from the sidebar you just need to completely remove the below "sidebar-toggler-wrapper" LI element -->
				<li class="sidebar-toggler-wrapper">
					<!-- BEGIN SIDEBAR TOGGLER BUTTON -->
					<div class="sidebar-toggler">
					</div>
					<!-- END SIDEBAR TOGGLER BUTTON -->
				</li>
				<!-- DOC: To remove the search box from the sidebar you just need to completely remove the below "sidebar-search-wrapper" LI element -->
				</li>
				
				<li class="start ">
					<a href="dashboard.php">
					<i class="icon-home"></i>
					<span class="title">Dashboard</span>					
					</a>
				</li>				

				

				<li class="start ">
					<a href="#">
					<i class="fa fa-check" aria-hidden="true"></i>
					<span class="title">Application</span>
					<span class="arrow "></span>					
					</a>

					<ul class="sub-menu">
						<?php if(ismenuauth("New application")==true){ ?>
						<li>
							<a href="newapplication.php">
							New Application</a>
						</li>
						<?php } ?>
						
						<?php if(ismenuauth("Application list")==true){ ?>
						<li>
							<a href="application.php">
							 Application List</a>
						</li>
						<?php } ?>
						
					    <?php if(ismenuauth("Receipt list")==true){ ?>
						<li>
							<a href="application_reciept.php">
							Reciept List</a>
						</li>
					    <?php } ?>
				
						<?php if(ismenuauth("Main visa category")==true){ ?>
						<li>
							<a href="mainvisatype.php">
							Main Service Category</a>
						</li>
						<?php } ?>
						
						<?php if(ismenuauth("Visa category")==true){ ?>
						<li>
							<a href="visatype.php">
							Service Category</a>
						</li>
					    <?php } ?>

					</ul>
				</li>

				<li class="start ">
				<?php if(ismenuauth("Document tracker list")==true){ ?>
					<a href="#">
					<i class="fa fa-thumb-tack" aria-hidden="true"></i>
					<span class="title">Document Tracker</span>
					<span class="arrow "></span>					
					</a>
<?php } ?>
					<ul class="sub-menu">
								
						<?php if(ismenuauth("Document tracker list")==true){ ?>
						<li>
							<a href="docposition_tracking.php">
							Document Tracker List</a>
						</li>
						<?php } ?>
	
						<?php if(ismenuauth("Document position list")==true){ ?>		
						<li>
							<a href="doc_position_list.php">
							Document Position List</a>
						</li>
						<?php } ?>
														
						
					</ul>
				</li>
				<?php if(ismenuauth("Update doc position")==true){ ?>
				<li class="start ">
					<a href="#">
					<i class="fa fa-file" aria-hidden="true"></i>
					<span class="title">Update Doc Position </span>
					<span class="arrow "></span>					
					</a>

					<ul class="sub-menu">
								
						<li>
							<a href="javascript:;" class="nav-link nav-toggle">
	                                <i class="fa fa-file-text"></i> Update Position 
	                                <span class="arrow"></span>
		                            </a>
		                    <ul class="sub-menu">
								
								<li>
									<a href="javascript:;" class="nav-link nav-toggle">
	                                <i class="fa fa-file-text"></i> Delivery 
	                                <span class="arrow"></span>
		                            </a>
									<ul class="sub-menu">
										<li>							
											<a href="docposupdate.php?docposid=1">
											File Received</a>
										</li>
										<li>							
											<a href="docposupdate.php?docposid=6">
											  Origination Scan</a>
										</li>
										<li>							
											<a href="docposupdate.php?docposid=8">
											    Ready for Pickup</a>
										</li>
										<li>							
											<a href="docposupdate.php?docposid=9">
											    Pickup Up</a>
										</li>										
										<li>							
											<a href="docposupdate.php?docposid=14">
											      In transit from CTG </a>
										</li>
										<li>							
											<a href="docposupdate.php?docposid=15">
											      In transit from SYL </a>
										</li>									
									</ul>
								<li>
								<li>
									<a href="javascript:;" class="nav-link nav-toggle">
	                                <i class="fa fa-file-text"></i> To Embassy 
	                                <span class="arrow"></span>
		                            </a>
									<ul class="sub-menu">
										<li>							
											<a href="docposupdate.php?docposid=3">
											      In transit to Embassy LOT 01 </a>
										</li>
										<li>							
											<a href="docposupdate.php?docposid=10">
											      In transit to Embassy LOT 02 </a>
										</li>
										<li>							
											<a href="docposupdate.php?docposid=11">
											      In transit to Embassy LOT 03 </a>
										</li>
										<li>							
											<a href="docposupdate.php?docposid=4">
											      In transit to Embassy </a>
										</li>
										<li>							
											<a href="docposupdate.php?docposid=5">
											      Delivered to Embassy </a>
										</li>
									</ul>
								<li>
								<li>
									<a href="javascript:;" class="nav-link nav-toggle">
	                                <i class="fa fa-file-text"></i> From Embassy 
	                                <span class="arrow"></span>
		                            </a>
									<ul class="sub-menu">
										<li>							
											<a href="docposupdate.php?docposid=7">
											      In transit From Embassy </a>
										</li>
										<li>							
											<a href="docposupdate.php?docposid=12">
											      In transit from Embassy LOT 01 </a>
										</li>
										<li>							
											<a href="docposupdate.php?docposid=13">
											      In transit from Embassy LOT 02 </a>
										</li>								
									</ul>
								<li>	
														
							</ul>

						</li>
																	
						<li>							
							<a href="docposall_update.php">
							Update to All Document Positions</a>
						</li>	
					</ul>
				</li>
				<?php } ?>
				
				<li class="start ">
					<a href="#">
					<i class="fa fa-file-text" aria-hidden="true"></i>
					<span class="title">Report</span>
					<span class="arrow "></span>					
					</a>

					<ul class="sub-menu">
						<?php if(ismenuauth("General report")==true){ ?>
						<li>							
							<a href="javascript:;" class="nav-link nav-toggle">
                                <i class="fa fa-file-text"></i> General Report
                                <span class="arrow"></span>
                            </a>
							<ul class="sub-menu">
								<li>							
									<a href="report_daily_applicant.php">
									Daily Applicant Report</a>
								</li>
								<li>							
									<a href="report_visa_type.php">
									Category Wise Report</a>
								</li>
								<li>							
									<a href="report_location_fee.php">
									Location wise Fee Report</a>
								</li>
							</ul>

						</li>
						<?php } ?>

						<?php if(ismenuauth("Admin report")==true){ ?>
						<li>							
							<a href="javascript:;" class="nav-link nav-toggle">
                                <i class="fa fa-file-text"></i> Admin Report
                                <span class="arrow"></span>
                            </a>
							<ul class="sub-menu">
								<li>							
									<a href="report_daily_user.php">
									Daily User Report</a>
								</li>
								<li>							
									<a href="report_pendingpay.php">
									Pending Payment Report</a>
								</li>		
								<li>							
									<a href="report_delete_applicant.php">
									Application Deleted Report</a>
								</li>
								<li>							
									<a href="report_daily_sum_sb.php">  Daily Summary Report(Service/Bank)</a>
								</li>
								
							</ul>
						</li>
						<?php } ?>

						<?php if(ismenuauth("Document report")==true){ ?>
						<li>							
							<a href="javascript:;" class="nav-link nav-toggle">
                                <i class="fa fa-file-text"></i> Document Report
                                <span class="arrow"></span>
                            </a>
							<ul class="sub-menu">
								
								<li>
									<a href="javascript:;" class="nav-link nav-toggle">
	                                <i class="fa fa-file-text"></i> Delivery 
	                                <span class="arrow"></span>
		                            </a>
									<ul class="sub-menu">
										<li>							
											<a href="report_doc_position.php?docposid=1">
											File Received</a>
										</li>
										<li>							
											<a href="report_doc_position.php?docposid=6">
											  Origination Scan</a>
										</li>
										<li>							
											<a href="report_doc_position.php?docposid=8">
											    Ready for Pickup</a>
										</li>
										<li>							
											<a href="report_doc_position.php?docposid=9">
											    Pickup Up</a>
										</li>
										<li>							
											<a href="#">
											Bangladesh Document Delivery Report</a>
										</li>
										<li>							
											<a href="report_aging.php">
											Ageing Report</a>
										</li>
										<li>							
											<a href="report_doc_position.php?docposid=14">
											      In transit from CTG </a>
										</li>
										<li>							
											<a href="report_doc_position.php?docposid=15">
											      In transit from SYL </a>
										</li>									
									</ul>
								<li>
								<li>
									<a href="javascript:;" class="nav-link nav-toggle">
	                                <i class="fa fa-file-text"></i> To Embassy 
	                                <span class="arrow"></span>
		                            </a>
									<ul class="sub-menu">
										<li>							
											<a href="report_doc_position.php?docposid=3">
											      In transit to Embassy LOT 01 </a>
										</li>
										<li>							
											<a href="report_doc_position.php?docposid=10">
											      In transit to Embassy LOT 02 </a>
										</li>
										<li>							
											<a href="report_doc_position.php?docposid=11">
											      In transit to Embassy LOT 03 </a>
										</li>
										<li>							
											<a href="report_doc_position.php?docposid=4">
											      In transit to Embassy </a>
										</li>
										<li>							
											<a href="report_doc_position.php?docposid=5">
											      Delivered to Embassy </a>
										</li>
									</ul>
								<li>
								<li>
									<a href="javascript:;" class="nav-link nav-toggle">
	                                <i class="fa fa-file-text"></i> From Embassy 
	                                <span class="arrow"></span>
		                            </a>
									<ul class="sub-menu">
										<li>							
											<a href="report_doc_position.php?docposid=7">
											      In transit From Embassy </a>
										</li>
										<li>							
											<a href="report_doc_position.php?docposid=12">
											      In transit from Embassy LOT 01 </a>
										</li>
										<li>							
											<a href="report_doc_position.php?docposid=13">
											      In transit from Embassy LOT 02 </a>
										</li>								
									</ul>
								<li>	
														
							</ul>
						</li>
						<?php } ?>
                        
                        <?php if(ismenuauth("Embassy report")==true){ ?>
                        <li>							
							<a href="javascript:;" class="nav-link nav-toggle">
                                <i class="fa fa-file-text"></i> Embassy Report
                                <span class="arrow"></span>
                            </a>
							<ul class="sub-menu">
								<li>							
									<a href="report_daily_visa.php">  Daily Report</a>
								</li>
								<li>							
									<a href="report_daily_delimode.php">  Daily Delivery Mode Report</a>
								</li>
								<li>							
									<a href="report_daily_sum.php">  Daily Summary Report</a>
								</li>
								
								<li>							
									<a href="report_doc_position.php?docposid=4">  In transit to Embassy Report</a>
								</li>
								<li>							
								<a href="report_doc_position.php?docposid=7">  In transit from Embassy Report</a>
								</li>
							
							</ul>
						</li>
						<?php } ?>
						
						<?php if(ismenuauth("Scanning report")==true){ ?>
						<li>							
							<a href="javascript:;" class="nav-link nav-toggle">
                                <i class="fa fa-file-text"></i> Scanning Report
                                <span class="arrow"></span>
                            </a>
							<ul class="sub-menu">
								<li>							
									<a href="report_daily_scandoc.php">
									Scanned Document Report</a>
								</li>
								<li>							
									<a href="report_export_scandoc.php">
									Export Document Report</a>
								</li>								
							</ul>
						</li>
						<?php } ?>
					
					</ul>
				</li>

			<?php  if($_SESSION["level"] ==1) {?>	

				<li class="start ">
					<a href="#">
					<i class="fa fa-user" aria-hidden="true"></i>
					<span class="title">User</span>
					<span class="arrow "></span>					
					</a>

					<ul class="sub-menu">
						<li>
							<a href="adduser.php">
							New User</a>
						</li>
						<li>
							<a href="user.php">
							User List</a>
						</li>
						<li>
							<a href="ip.php">
							IP List</a>
						</li>
						<li>
							<a href="editsettingvalues.php">
							Setting</a>
						</li>
						<li>
							<a href="delivery_location.php">
							Delivery Location</a>
						</li>
					</ul>
				</li>

				
				
					<?php } ?>

				
			</ul>
			<!-- END SIDEBAR MENU -->
		</div>
	</div>
	<!-- END SIDEBAR -->




	