<!doctype html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>{{ title is defined ? (title ~ " • ")|raw : "" }}Imperial News Grid</title>
<meta name="description" content="The Galactic Empire - A Star Wars Combine faction">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- <link rel="apple-touch-icon" href="apple-touch-icon.png"> -->
<!-- Place favicon.ico in the root directory -->
<link href="{{ asset('screen.css', 'css') }}" media="screen" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="{{ asset('gejs.css', 'css') }}">
<link rel="stylesheet" href="{{ asset('lib/jquery-ui.css', 'css') }}">
<link rel="stylesheet" href="{{ asset('lib/jquery-ui.structure.css', 'css') }}">
<link rel="stylesheet" href="{{ asset('lib/jquery-ui.theme.css', 'css') }}">
{% block cssAssets '' %}
</head>
<body>
<script type="text/javascript" src="{{ asset('lib/jquery-2.1.4.min.js', 'js') }}"></script>
<script type="text/javascript" src="{{ asset('lib/jquery-ui.min.js', 'js') }}"></script>
<script type="text/javascript" src="{{ asset('lib/fontawesome-all.min.js', 'js') }}"></script>
<script type="text/javascript" src="{{ asset('lib/axios.min.js', 'js') }}"></script>
<script type="text/javascript" src="{{ asset('public.js', 'js') }}"></script>
{% if gejs is defined %}
{% for script in gejs %}
<script type="text/javascript" src="{{ asset(script, 'gejs') }}.js"></script>
{% endfor %}
{% endif %}
<script type="text/javascript" src="{{ asset('clock.js', 'js') }}"></script>
{% block jsAssets '' %}
{# <script type="text/javascript" src="<?php echo $GLOBALS['gJSPath'] ?>/<?php echo $js['path'] ?>?v<?php echo $js['version'] ?>"></script> #}
<script type="text/javascript">
gejsAjaxPath = "/gejs.php";
</script>
<section id="header">
<div class="clock" id="clockDiv" style="float: none;">Combine Galactic Time</div>
{% if app.user is not null %}
<div class="user">
Logged in as: {{ app.user.getName() }} <a href="{{ app.get('base_url') }}logout"><span class="fa fa-sign-out-alt"></span></a>
</div>
{% endif %}
</section>
<section id="body">
<nav id="main">
<div class="menu-title"><span>{% block menuTitle 'Main Menu' %}</span></div>
<div class="menu-body">
<div class="menu-icons">
<a href="/" title="Home"><span class="fa fa-home"></span></a>
<a href="/irms" title="IRMS"><span class="fa fa-id-card"></span></a>
{% if app.user is not null %}
<a href="/irms/notifications" title="Notifications">
<div style="display:inline-block;position:relative;">
<span class="fa fa-bell"></span>
{% set notifCount = app.user.getNotificationCount() %}
{% if notifCount > 0 %}
<span class="badge">{{ notifCount }}</span>
{% endif %}
</div>
</a>
{% endif %}
<a href="https://commcent.swc-empire.com" title="COMMCENT"><span class="fa fa-comments"></span></a>
<a href="http://swcombine.com" title="Star Wars Combine" style="padding-top: 2px;">
<svg width="18px" height="18px" viewBox="0 0 180 180">
<use xlink:href="#icon-combine"></use>
</svg>
</a>
</div>
{{ sideMenu() }}
</div>
</nav>
<div class="content">
<h1 class="content-title">{% block pageTitle 'The Galactic Empire' %}</h1>
<div id="flash">
{% for type, messages in app.flashes %}
{% for message in messages %}
<div class="message {{ type }}">
<i class="{{ app.flashIcons[type] }} fa-lg fa-pull-left"></i>
{{ message|raw }}
</div>
{% endfor %}
{% endfor %}
</div>
<div id="content">
{% block content '' %}
</div>
<div class="footer">
<div class="copy">
<div>
Copyright <span class="far fa-copyright"></span> 2012 - {{ "now"|date('Y') }} — The Galactic Empire — v{{ core_get('version') }}
</div>
</div>
</div>
</div>
</section>
<svg aria-hidden="true" style="position:absolute;width:0;height:0;overflow:hidden" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <defs> <symbol id="icon-credits" viewBox="0 0 19 32"> <title>credits</title> <path fill="#ccc" style="fill:var(--color1,#ccc)" d="M3.083 0.951v5.807h-1.662v6.645h1.68v5.789h1.233v-5.789h2.502v5.823h1.233v-5.823h2.909l-7.384 17.445 4.586 0.002 9.479-24.092h-9.59v-5.807h-1.233v5.807h-2.484v-5.807h-1.269z"></path> </symbol> <symbol id="icon-combine" viewBox="0 0 32 32"> <title>Combine</title> <path fill="#ddd" stroke="#ddd" stroke-width="1.7778" stroke-miterlimit="4" stroke-linecap="butt" stroke-linejoin="miter" style="stroke:var(--color2,#ddd)" style="fill: var(--color2, #ddd)" d="M0 15.822c0-7.004 5.618-13.689 13.156-13.689 6.009 0 10.844 4.124 10.844 10.311 0 3.698-2.88 7.822-7.289 7.822-3.911 0-6.044-2.489-6.044-5.511-0.64 0-1.067 1.067-1.067 2.133 0 2.951 3.52 6.044 7.644 6.044 5.404 0 11.022-4.942 11.022-12.267 0-4.551-2.204-8.356-4.089-10.667 2.311 1.956 5.689 5.831 5.689 11.911 0 7.004-5.618 13.689-13.156 13.689-6.009 0-10.844-4.124-10.844-10.311 0-3.698 2.88-7.822 7.289-7.822 3.911 0 6.044 2.489 6.044 5.511 0.64 0 1.067-1.067 1.067-2.133 0-2.951-3.52-6.044-7.644-6.044-5.404 0-11.022 4.942-11.022 12.267 0 4.551 2.204 8.356 4.089 10.667-2.311-1.956-5.689-5.831-5.689-11.911z"></path> </symbol> </defs> </svg>
</body>
</html>