<!DOCTYPE html>
<html dir="ltr" lang="en-US"><head><!-- Created by Artisteer v4.1.0.59861 -->
    <meta charset="utf-8">
    <title><?php echo $page_title; ?></title>
    <?php echo $page_htmlhead; ?>
    <meta name="viewport" content="initial-scale = 1.0, maximum-scale = 1.0, user-scalable = no, width = device-width">
    <!--[if lt IE 9]><script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
    <!--[if lte IE 7]><link rel="stylesheet" href="style.ie7.css" media="screen" /><![endif]-->
    <link href="<?php echo SITE_URL?>/lib/skins/deepBlue/css/all-stylesheets.css" rel="stylesheet" media="all" />
<link rel="shortcut icon" type="image/png" href="<?php echo SITE_URL ?>/lib/skins/deepBlue/img/favicon.png"/>
<style>.deepBlue-content .deepBlue-postcontent-0 .layout-item-0 { padding-right: 10px;padding-left: 10px;  }
.ie7 .deepBlue-post .deepBlue-layout-cell {border:none !important; padding:0 !important; }
.ie6 .deepBlue-post .deepBlue-layout-cell {border:none !important; padding:0 !important; }

</style></head>
<body>
<?php echo $page_htmlreq; ?>
<div id="deepBlue-main">
    <div class="deepBlue-sheet clearfix">
<header class="deepBlue-header">


    <div class="deepBlue-shapes">

            </div>






</header>
<?php Template::Show('core_navigation'); ?>


 <?php echo $page_content;?>

                    </div>
                </div>
            </div><footer class="deepBlue-footer">
<p><a href="#">Link1</a> | <a href="#">Link2</a> | <a href="#">Link3</a></p>
<p>Copyright © 2016 <?php echo SITE_NAME; ?>. All Rights Reserved. CMS by <a href="http://www.phpvms.net" target="_blank" title="phpVMS">phpVMS</a> - deepBlue v1.0 template by <a href="http://www.209studios.com" target="_blank" title="209Studios">209Studios</a></p>
</footer>
<script type="text/javascript" src="<?php echo SITE_URL?>/lib/skins/deepBlue/js/script.js"></script>
<script type="text/javascript" src="<?php echo SITE_URL?>/lib/skins/deepBlue/js/script.responsive.js"></script>
<script type="text/javascript" src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

<!-- End Javascript-->
<!-- Begin Login Modal -->
<div class="modal fade" id="login" tabindex="-1" role="dialog" aria-labelledby="login">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
<h4 class="modal-title"><i class="fa fa-sign-in"></i> Crew Login</h4>
</div>
<div class="modal-body">
<form name="loginform" action="<?php echo url('/login');?>" method="post">
<div class="container center_div">
<label>Email Address or Pilot ID</label>
<input class="form-control input-sm" type="text" name="email" value=""/>
</div>
<br>
<div class="container center_div">
<label>Password</label>
<input class="form-control input-sm" type="password" name="password" value="" />
<br>
</div>
<div style="text-align:center;">
<div>
<input type="checkbox" name="remember"/><span> Remember Me</span>
</div>
<div>
</div>
<a href="index.php/Login/forgotpassword">I forgot my password</a>
</div>
<div class="modal-footer">
<span class="pull-left"><a href="<?php echo url('Login/forgotpassword'); ?>">Having Trouble Logging In?</a></span>
<button type="submit" name="submit" class="deepBlue-button" value="Log In" /><i class="fa fa-sign-in fa-lg"></i> Login</button>
<input type="hidden" name="redir" value="index.php/Profile" />
<input type="hidden" name="action" value="login" />
<button type="button" class="deepBlue-button" data-dismiss="modal"><i class="fa fa-times fa-lg"></i> Close</button>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- End Login Modal -->
<!-- Begin Logout Modal -->
<div class="modal fade" id="LogoutModal" role="dialog">
<div class="modal-dialog">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">&times;</button>
<h4 class="modal-title"><i class="fa fa-sign-out" style="color:#04327F"></i> Logout</h4>
</div>
<div class="modal-body">
<div class="alert alert-danger">
<p><i class="fa fa-exclamation-triangle fa-lg  fa-3x " aria-hidden="true"></i>  Are you sure you want to sign out of <?php echo SITE_NAME; ?>?</p>
</div>
</div>
<div class="modal-footer">
<a href="<?php echo SITE_URL ?>/index.php/Logout"><button type="submit" name="submit" class="deepBlue-button" value="Log In" /><i class="fa fa-sign-out"></i> Yes</button>
<button type="button" class="deepBlue-button" data-dismiss="modal"><i class="fa fa-times"></i> No</button>
</div>
</div>
</div>
</div>
<!-- End Logout Modal -->
    </div>
</div>


</body>
</html>
