<!doctype html>
<html lang="<?php echo $this->locale->setCurrentLanguage(); ?>">
  <head>
	<meta charset="utf-8">
	<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
	
	<style>
		#loader-wrapper {position: absolute; top: 0; left: 50%; z-index: 10001; font-size: 12px; }
		#loader-content {position: relative; left: -50%; background-color: #F9EDC3; color: #222222; padding: 5px; text-align: center; font-weight: bold; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; border: 1px solid #EDC584; -webkit-box-shadow: 0px 1px 11px -2px rgba(0,0,0,0.75);
-moz-box-shadow: 0px 1px 11px -2px rgba(0,0,0,0.75);
box-shadow: 0px 1px 11px -2px rgba(0,0,0,0.75);}
	</style>
	
	<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css" integrity="sha384-GJzZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS" crossorigin="anonymous">
	
	<link rel="stylesheet" href="<?php echo $this->getPublicUri(); ?>css/font-awesome.min.css">
	<link rel="stylesheet" href="<?php echo $this->getPublicUri(); ?>css/jquery.datetimepicker.css">
	<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.3.5/jquery.fancybox.min.css" />
	<link rel="stylesheet" href="<?php echo $this->getPublicUri(); ?>css/remote-visit-style.css<?php echo $this->setFileTimestamp(); ?>">

	<title><?php echo $this->settings['app-title']; ?></title>
	
	<script id="global-js-variables" src="<?php echo $this->getPublicUri(); ?>global-js"></script>
	
	<link rel="shortcut icon" href="/images/logo-icons/favicon.ico" type="image/x-icon">
	
  </head>
  
  <body>
		<div id="loader-wrapper">
		  <div id="loader-content">
			  <?php echo _('Loading...'); ?>
		  </div>
		</div>
	  
		<input type="hidden" id="api-key" value="<?php echo $this->config['settings']['api-key']; ?>">
		<input type="hidden" id="group-id" value="0"> <!-- Set by login (AJAX) -->
		<input type="hidden" id="user-id" value="0"> <!-- Set by login (AJAX) -->
		<input type="hidden" id="user-username" value=""> <!-- Set by login (AJAX) -->
		<input type="hidden" id="static-uri" value="<?php echo $this->config['settings']['static-uri']; ?>">
	  
	  <div id="main" class="h-100"></div>
	  
	  
	  <div id="overlay">
		  <div id="text"><img src="/images/spinner.svg" /></div>
	  </div>
	  
	  <link rel="stylesheet" href="<?php echo $this->getPublicUri(); ?>css/fonts.css">
	  <link rel="stylesheet" href="<?php echo $this->getPublicUri(); ?>css/component-chosen.min.css">
		
	  <script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
	<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
	<!--
	<script src="<?php echo $this->getPublicUri(); ?>js/bootstrap.min.js"></script>
	-->
	
	<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/js/bootstrap.min.js" integrity="sha384-B0UglyR+jN6CkvvICOB2joaf5I4l3gm9GU6Hc1og6Ls7i6U/mkkaduKaBhlAXv9k" crossorigin="anonymous"></script>
	
	<script src="https://unpkg.com/emodal@1.2.69/dist/eModal.min.js"></script>
	<script src="https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.3.5/jquery.fancybox.min.js"></script>
	<script src="<?php echo $this->getPublicUri(); ?>js/chosen.jquery.min.js" type="text/javascript" charset="utf-8"></script>
	<script src="<?php echo $this->getPublicUri(); ?>js/jquery.datetimepicker.full.min.js"></script>
	<script src="<?php echo $this->getPublicUri(); ?>js/sammy/sammy-latest.min.js" type="text/javascript" charset="utf-8"></script>
	<script src="<?php echo $this->getPublicUri(); ?>js/jquery.mask.js" type="text/javascript" charset="utf-8"></script>
	<script src="<?php echo $this->getPublicUri(); ?>js/router.js<?php echo $this->setFileTimestamp(); ?>" type="text/javascript" charset="utf-8"></script>
	<script src="<?php echo $this->getPublicUri(); ?>js/app.js<?php echo $this->setFileTimestamp(); ?>" type="text/javascript" charset="utf-8"></script>
  </body>
</html>