<!DOCTYPE html>
<html dir="ltr" lang="en-US">
<head>
<meta charset="utf-8">
<title><?php echo $page_title; ?></title>
<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]-->
<link rel="shortcut icon" type="image/png" href="<?php echo SITE_URL ?>/lib/skins/sky_Blue/images/favicon.png"/>
<link rel="stylesheet" media="all" type="text/css" href="<?php echo SITE_URL?>/lib/skins/sky_Blue/css/style.css" />
<link rel="stylesheet" media="all" type="text/css" href="<?php echo SITE_URL?>/lib/skins/sky_Blue/css/bootstrap.css" />
<!-- Fonts -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<link href='http://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700,700italic' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Oxygen:400,700,300' rel='stylesheet' type='text/css'>
<!--[if lte IE 7]><link rel="stylesheet" href="css/style.ie7.css" media="screen" /><![endif]-->
<link rel="stylesheet" media="all" type="text/css" href="<?php echo SITE_URL?>/lib/skins/sky_Blue/css/style.responsive.css" />

<style>.sky-content .sky-postcontent-0 .layout-item-0 { border-left-style:solid;border-left-width:1px;border-left-color:#A6A6A6; color: #D6D6D6; background: #050829; padding: 10px;  }
.sky-content .sky-postcontent-0 .layout-item-1 { color: #E0E0E0; background: #314872; padding: 10px;  }
.sky-content .sky-postcontent-0 .layout-item-2 { color: #D6D6D6; background: #050B31; padding: 10px;  }
.sky-content .sky-postcontent-0 .layout-item-3 { color: #E0E0E0; background: #2D4778; padding: 10px;  }
.sky-content .sky-postcontent-0 .layout-item-4 { border-top-style:solid;border-right-style:solid;border-bottom-style:solid;border-left-style:solid;border-width:2px;border-color:#E0E0E0;  }
.sky-content .sky-postcontent-0 .layout-item-5 { border-top-style:solid;border-right-style:solid;border-top-width:0px;border-right-width:1px;border-top-color:#E0E0E0;border-right-color:#E0E0E0; padding: 20px;  }
.sky-content .sky-postcontent-0 .layout-item-6 { border-top-style:solid;border-right-style:solid;border-bottom-style:solid;border-left-style:solid;border-top-width:0px;border-right-width:1px;border-bottom-width:1px;border-left-width:1px;border-color:#E0E0E0; padding: 20px;  }
.sky-content .sky-postcontent-0 .layout-item-7 { border-top-style:solid;border-left-style:solid;border-top-width:0px;border-left-width:1px;border-top-color:#E0E0E0;border-left-color:#E0E0E0; padding: 20px;  }
.sky-content .sky-postcontent-0 .layout-item-8 { border-top-style:solid;border-right-style:solid;border-bottom-style:solid;border-left-style:solid;border-width:2px;border-color:#E0E0E0;border-top:none !important;  }
.sky-content .sky-postcontent-0 .layout-item-9 { border-top-style:solid;border-top-width:0px;border-top-color:#E0E0E0;border-top:none !important; padding: 20px;  }
.ie7 .sky-post .sky-layout-cell {border:none !important; padding:0 !important; }
.ie6 .sky-post .sky-layout-cell {border:none !important; padding:0 !important; }
</style>
<?php
/* This is required, so phpVMS can output the necessary libraries it needs */
echo $page_htmlhead;
?>
</head>
<body>
<?php
/* This should be the first thing you place after a <body> tag
	This is also required by phpVMS */
echo $page_htmlreq;
?>
<div id="sky-main">
    <div id="sky-hmenu-bg" class="sky-bar sky-nav">
    </div>
<header class="sky-header">
       
<?php
if(!Auth::LoggedIn())
{
   // Show these if they haven't logged in yet
?>
<?php
}
else
{
   // Show these items only if they are logged in
?>
<h2 class="sky-slogan" data-left="78%"><i class="fa fa-envelope"></i><a href="<?php echo SITE_URL ?>/index.php/Mail"> My Messages</a> <span class="badge"><a href="<?php echo SITE_URL ?>/index.php/Mail"><?php MainController::Run('Mail', 'checkmail'); ?></span></a>| <i class="fa fa-money"></i> My Earnings(<?php setlocale(LC_MONETARY,"en_US"); ?><?php echo money_format("%10.2n", Auth::$userinfo->totalpay); ?> )</h2>
<?php
  }
 ?>



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


                    
</header>

<?php echo $page_content; ?>


<footer class="sky-footer">
  <div class="sky-footer-inner">
<div class="sky-content-layout layout-item-0">
    <div class="sky-content-layout-row">
    <div class="sky-layout-cell layout-item-1" style="width: 24%">
        <p><span style="color: rgb(238, 238, 238); font-size: 18px;"><i class="fa fa-info-circle"></i> About SkyBlue Air</span><br><br></p>
         
              Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam et congue nisl. Maecenas et commodo leo. Vivamus turpis odio, malesuada sit amet lectus id, fringilla volutpat massa. Fusce luctus velit eget sapien lobortis, sed aliquet purus venenatis.
    </div><div class="sky-layout-cell layout-item-2" style="width: 24%">
        <p><span style="color: rgb(238, 238, 238); font-size: 18px;"><i class="fa fa-paper-plane"></i> Recent Activity</span><br><br></p>
       <?php
    MainController::Run('Activity', 'Frontpage', 3);
?>
    </div><div class="sky-layout-cell layout-item-3" style="width: 22%">
        <p><span style="color: rgb(238, 238, 238); font-size: 18px;"><i class="fa fa-users"></i> Our Partners</span><br><br></p>
        <p><a href="http://www.simpilotgroup.com"target="new"><img src="<?php echo SITE_URL?>/lib/skins/sky_Blue/images/partner_simpilotgroup2.png"width="103" height="30"border="0" alt="0"></a><br></p>
        <p><a href="http:www.//fs-products.net"target="new"><img src="<?php echo SITE_URL?>/lib/skins/sky_Blue/images/partner_fsproducts_small.png"width="103" height="30"border="0" alt="0"></a><br></p>
        <p><a href="http://www.php-mods.eu"target="new"><img src="<?php echo SITE_URL?>/lib/skins/sky_Blue/images/partners_phpmods.png"width="103" height="30"border="0" alt="0"></a><br></p>
        <p><a href="http://www.crazycreatives.com"target="new"><img src="<?php echo SITE_URL?>/lib/skins/sky_Blue/images/partner_crazy_creatives.png"width="103" height="30"border="0" alt="0"></a><br></p>
        <p><a href="http://www.vacentral.net"target="new"><img src="<?php echo SITE_URL?>/lib/skins/sky_Blue/images/partner_vacentral.png"width="103" height="30"border="0" alt="0"></a><br></p>
    </div><div class="sky-layout-cell layout-item-4" style="width: 30%">






    
        <p style="text-align: right;"><a href="http://www.vatsim.net" target="new"><img src="<?php echo SITE_URL?>/lib/skins/sky_Blue/images/vatsim.png"class="sky-lightbox"width="120" height="36"border="0" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px;"></a>


  <a href="#"target="new"><img src="<?php echo SITE_URL?>/lib/skins/sky_Blue/images/youtube.png"style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px;" class=""></a>
  <a href="#"target="new"><img src="<?php echo SITE_URL?>/lib/skins/sky_Blue/images/twitter_32-2.png"style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px;" class=""></a>   
  <a href="#"target="new"><img src="<?php echo SITE_URL?>/lib/skins/sky_Blue/images/facebook_32-2.png"style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px;" class=""></a>
</p>
        <br>
        &copy; 2015-<?php echo date("Y") ?>, All Rights Reserved.<br>
        skyBlue v1.0.4 by <a href="http://www.phpvms.209studios.com" target="_blank" title="209Studios">209Studios</a><br>
        CMS by <a href="http://www.phpvms.net" target="_blank" title="phpVMS">phpVMS</a><br>
		----------------------------------------------<br>
<script>
var montharray=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec")
function countup(yr,m,d){
var today=new Date()
var todayy=today.getYear()
if (todayy < 1000)
todayy+=1900
var todaym=today.getMonth()
var todayd=today.getDate()
var todaystring=montharray[todaym]+" "+todayd+", "+todayy
var paststring=montharray[m-1]+" "+d+", "+yr
var difference=(Math.round((Date.parse(todaystring)-Date.parse(paststring))/(24*60*60*1000))*1)
years=parseInt(difference/365)
difference=difference%365
difference+=" days"
document.write("It\'s been "+years+" years and "+difference+" since the launch of skyBlue Airways. We have been flying in the sky since December 14, 2015")
}
//enter the count up date using the format year/month/day
countup(2015,12,14)
</script>
<br>
----------------------------------------------<br>
skyBlue Air is in no way affiliated with any real world Airline. The Logos and Trademarks displayed on this site remain property of their respective owners.

    </div>
    </div>
</div>
  </div>
</footer>

</div>
<script type="text/javascript" src="<?php echo SITE_URL?>/lib/skins/sky_Blue/js/script.js"></script>
<script type="text/javascript" src="<?php echo SITE_URL?>/lib/skins/sky_Blue/js/script.responsive.js"></script>
<script type="text/javascript" src="<?php echo SITE_URL?>/lib/skins/sky_Blue/js/bootstrap.min.js"></script>

<!-- 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="<?php echo url('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="sky-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="sky-button" data-dismiss="modal"><i class="fa fa-times fa-lg"></i> Close</button>

</form>
      </div>
    </div>
  </div>
</div>
</div>
</div>        </div>
    </div>
<!-- Login Modal End-->

</body>
</html>





