| 
									
										
										
										
											2022-03-24 22:26:03 +08:00
										 |  |  | <!doctype html> | 
					
						
							|  |  |  | <html lang="en"> | 
					
						
							|  |  |  |   <head> | 
					
						
							|  |  |  |     <!-- Required meta tags --> | 
					
						
							|  |  |  |     <meta charset="utf-8"> | 
					
						
							|  |  |  |     <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     <!-- Bootstrap CSS --> | 
					
						
							|  |  |  |     <?php if($this->optionslib->get_theme()) { ?>
 | 
					
						
							|  |  |  | 		<link rel="stylesheet" href="<?php echo base_url(); ?>assets/css/<?php echo $this->optionslib->get_theme();?>/bootstrap.min.css"> | 
					
						
							|  |  |  | 		<link rel="stylesheet" href="<?php echo base_url(); ?>assets/css/general.css"> | 
					
						
							|  |  |  |         <link rel="stylesheet" href="<?php echo base_url(); ?>assets/css/selectize.bootstrap4.css"/> | 
					
						
							|  |  |  | 		<link rel="stylesheet" href="<?php echo base_url(); ?>assets/css/bootstrap-dialog.css"/> | 
					
						
							|  |  |  | 		<link rel="stylesheet" href="<?php echo base_url(); ?>assets/css/<?php echo $this->optionslib->get_theme();?>/overrides.css"> | 
					
						
							|  |  |  | 	<?php } ?>
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     <link rel="stylesheet" href="<?php echo base_url(); ?>assets/fontawesome/css/all.css"> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	<link rel="stylesheet" href="<?php echo base_url(); ?>assets/css/jquery.fancybox.min.css" /> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     <!-- Maps --> | 
					
						
							|  |  |  |     <link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>assets/js/leaflet/leaflet.css" /> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>assets/css/loading.min.css" /> | 
					
						
							|  |  |  | 	<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>assets/css/ldbtn.min.css" /> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     <link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>assets/css/buttons.dataTables.min.css"/> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>assets/css/datatables.min.css"/> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	<?php if (file_exists(APPPATH.'../assets/css/custom.css')) { echo '<link rel="stylesheet" href="'.base_url().'assets/css/custom.css">'; } ?>
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     <link rel="icon" href="<?php echo base_url(); ?>favicon.ico"> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     <title><?php if(isset($page_title)) { echo $page_title; } ?> - Cloudlog</title>
 | 
					
						
							|  |  |  |   </head> | 
					
						
							|  |  |  |   <body> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <nav class="navbar navbar-expand-lg navbar-light bg-light main-nav"> | 
					
						
							|  |  |  | <div class="container"> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-12-31 07:01:34 +08:00
										 |  |  | 		<?php | 
					
						
							|  |  |  | 		if (!empty($slug)) { | 
					
						
							|  |  |  | 			echo '<a class="navbar-brand" href="' . site_url('visitor/'.$slug) .'">Cloudlog</a>'; | 
					
						
							|  |  |  | 		} else { | 
					
						
							|  |  |  | 			echo '<a class="navbar-brand" href="' . site_url() .'">Cloudlog</a>'; | 
					
						
							|  |  |  | 		} | 
					
						
							|  |  |  | 		?>
 | 
					
						
							| 
									
										
										
										
											2022-03-24 22:26:03 +08:00
										 |  |  | 	<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation"><span class="navbar-toggler-icon"></span></button> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	<div class="collapse navbar-collapse" id="navbarNav"> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 		<ul class="navbar-nav"> | 
					
						
							| 
									
										
										
										
											2022-12-31 07:01:34 +08:00
										 |  |  | 		<?php | 
					
						
							|  |  |  | 		if (!empty($slug)) { ?>
 | 
					
						
							| 
									
										
										
										
											2022-03-25 02:36:31 +08:00
										 |  |  | 		<li class="nav-item"> | 
					
						
							|  |  |  | 			<a class="nav-link" href="<?php echo site_url('visitor/satellites/'.$slug);?>">Gridsquares</a> | 
					
						
							|  |  |  | 		</li> | 
					
						
							| 
									
										
										
										
											2022-12-29 06:37:14 +08:00
										 |  |  | 		<?php | 
					
						
							| 
									
										
										
										
											2022-12-31 07:01:34 +08:00
										 |  |  | 			$this->CI =& get_instance(); | 
					
						
							|  |  |  | 			if ($this->CI->oqrs_enabled($slug)) { | 
					
						
							|  |  |  | 			?>
 | 
					
						
							|  |  |  | 			<li class="nav-item"> | 
					
						
							|  |  |  | 				<a class="nav-link" href="<?php echo site_url('oqrs');?>">OQRS</a> | 
					
						
							|  |  |  | 			</li> | 
					
						
							|  |  |  | 			<?php }  | 
					
						
							| 
									
										
										
										
											2023-01-10 06:48:55 +08:00
										 |  |  | 		} | 
					
						
							|  |  |  | 		if ($this->uri->segment(1) != "oqrs") { ?>
 | 
					
						
							| 
									
										
										
										
											2023-01-10 06:47:36 +08:00
										 |  |  | 		<li class="nav-item"> | 
					
						
							|  |  |  | 			 <a class="btn btn-outline-primary" href="<?php echo site_url('user/login');?>">Login</a> | 
					
						
							|  |  |  | 		</li> | 
					
						
							| 
									
										
										
										
											2023-01-10 06:48:55 +08:00
										 |  |  | 		<?php } ?>
 | 
					
						
							| 
									
										
										
										
											2022-03-24 22:26:03 +08:00
										 |  |  | 		</ul> | 
					
						
							| 
									
										
										
										
											2023-06-29 05:43:34 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | 		<div style="paddling-left: 0.5rem; padding-right: 0.5rem"></div> | 
					
						
							| 
									
										
										
										
											2023-07-10 23:11:40 +08:00
										 |  |  | 		<?php $this->CI =& get_instance(); | 
					
						
							|  |  |  | 		if ($this->CI->public_search_enabled($slug) || $this->session->userdata('user_type') >= 2) { ?>
 | 
					
						
							|  |  |  | 			<form method="post" action="" class="form-inline"> | 
					
						
							|  |  |  | 				<input class="form-control mr-sm-2" id="callsign" type="search" name="callsign" placeholder="<?php echo lang('menu_search_text'); ?>" aria-label="Search"> | 
					
						
							| 
									
										
										
										
											2023-06-29 05:43:34 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-07-10 23:11:40 +08:00
										 |  |  | 				<button onclick="publicSearchButtonPress()" class="btn btn-outline-success my-2 my-sm-0" type="submit"><i class="fas fa-search"></i> <?php echo lang('menu_search_button'); ?></button>
 | 
					
						
							|  |  |  | 			</form> | 
					
						
							|  |  |  | 		<?php } ?>
 | 
					
						
							| 
									
										
										
										
											2022-03-24 22:26:03 +08:00
										 |  |  | 	</div> | 
					
						
							|  |  |  | </div> | 
					
						
							|  |  |  | </nav> |