Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html xmlns:fb="http://ogp.me/ns/fb#">
- <head>
- <?php
- /* This is required, so phpVMS can output the necessary libraries it needs */
- echo $page_htmlhead;
- ?>
- <meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title><?php echo $page_title; ?></title>
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700' rel='stylesheet' type='text/css'>
- <link href="<?php echo SITE_URL?>/lib/skins/aavirtual/css/reset.css" rel="stylesheet" type="text/css" />
- <link href="<?php echo SITE_URL?>/lib/skins/aavirtual/css/default.css" rel="stylesheet" type="text/css" />
- <?php /*Any custom Javascript should be placed below this line, after the above call */ ?>
- <script> src="http://code.jquery.com/jquery-1.9.1.min.js" type="text/javascript"></script>
- <script type="text/javascript" src="<?php echo SITE_URL?>/lib/skins/aavirtual/js/jquery.leanModal.min.js"></script>
- <script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCQxJumVVnsGegGx7TR_hogt4qu1e49Sp0&sensor=true"></script>
- <script type="text/javascript">
- function initialize() {
- var mapOptions = {
- center: new google.maps.LatLng(40.97990, -50.62500),
- zoom: 2,
- panControl: false,
- zoomControl: false,
- mapTypeControl: false,
- scaleControl: false,
- streetViewControl: false,
- overviewMapControl: false,
- mapTypeId: google.maps.MapTypeId.SATELLITE
- };
- var map = new google.maps.Map(document.getElementById("map-canvas"),
- mapOptions);
- var flightPlanCoordinates = [
- new google.maps.LatLng(40.6398, -73.7787),
- new google.maps.LatLng(18.041, -63.1089)
- ];
- var flightPath = new google.maps.Polyline({
- path: flightPlanCoordinates,
- strokeColor: "#25aef9",
- strokeOpacity: 1.0,
- strokeWeight: 2
- });
- flightPath.setMap(map);
- }
- google.maps.event.addDomListener(window, 'load', initialize);
- </script>
- <script>
- $(document).ready(function() {
- function tick(){
- $('#ticker li:first').slideUp( function () { $(this).appendTo($('#ticker')).slideDown(); });
- }
- //setInterval(function(){ tick () }, 5000);
- $('.quicklogin').leanModal({overlay : 0.4, closeButton: ".modal_close"});
- });
- </script>
- </head>
- <body onload="initialize()">
- <?php
- /* This should be the first thing you place after a <body> tag
- This is also required by phpVMS */
- echo $page_htmlreq;
- ?>
- <div id="fb-root"></div>
- <script>(function(d, s, id) {
- var js, fjs = d.getElementsByTagName(s)[0];
- if (d.getElementById(id)) return;
- js = d.createElement(s); js.id = id;
- js.src = "//connect.facebook.net/en_GB/all.js#xfbml=1&appId=108422045984290";
- fjs.parentNode.insertBefore(js, fjs);
- }(document, 'script', 'facebook-jssdk'));</script>
- <div id="headwrap">
- <div class="wrapper">
- <div id="logo"></div>
- <ul id="quicklinks">
- <?php
- if(Auth::LoggedIn() == false)
- { ?>
- <li><a href="<?php echo url('/registration'); ?>" class="quick">Register</a></li>
- <li><a href="#crewlogin" class="quick quicklogin">Crew Login</a></li>
- <?php
- }
- else {
- ?>
- <li><a href="<?php echo url('/downloads'); ?>" class="quick">Downloads</a></li>
- <li><a href="<?php echo url('/profile'); ?>" class="quick">View my Profile</a></li>
- <?php
- if(Auth::LoggedIn())
- {
- if(PilotGroups::group_has_perm(Auth::$usergroups, ACCESS_ADMIN))
- {
- echo '<li><a href="'.fileurl('/admin').'" class="quick">Admin Center</a></li>';
- }
- }
- ?>
- <li><a href="<?php echo url('/logout'); ?>" class="quick quicklogin">Logout</a></li>
- <?php } ?>
- </ul>
- <div class="clear"></div>
- <ul id="nav">
- <?php
- Template::Show('core_navigation.tpl');
- ?>
- </ul>
- <div id="join-container">
- <h1>fly with the best.</h1>
- <h3>join today and be part of something new</h3>
- <a href="<?php echo url('/registration'); ?>" class="join-button">Join Today!</a>
- </div>
- <div class="clear"></div>
- <div id="latest-news">
- <div id="news-anchor">Latest News</div>
- <ul id="ticker">
- <li>
- Welcome to AAVirtual! Rebranded, redesigned, reimagined!
- </li>
- </ul>
- <div class="clear"></div>
- </div>
- </div>
- </div>
- <div class="clear"></div>
- <div id="mainwrap">
- <div class="wrapper">
- <?php echo $page_content; ?>
- </div>
- </div>
- <div id="footwrap">
- <div class="wrapper">
- <ul id="footer-links">
- <li>
- <ul>
- <li class="title">Corporate</li>
- <li><a href="<?php echo url('/corporate'); ?>">About Us</a></li>
- <li><a href="<?php echo url('/corporate/team'); ?>">Staff Team</a></li>
- <li><a href="<?php echo url('/corporate/media'); ?>">News & Media</a></li>
- <li><a href="<?php echo url('/corporate/partners'); ?>">Our Partners</a></li>
- </ul>
- </li>
- <li>
- <ul>
- <li class="title">Operations</li>
- <li><a href="<?php echo url('/pilots'); ?>">Pilot Roster</a></li>
- <li><a href="<?php echo url('/operations/fleet'); ?>">Fleet Centre</a></li>
- <li><a href="<?php echo url('/schedules'); ?>">Search Flights</a></li>
- <li><a href="<?php echo url('/acars') ?>">Live Flights</a></li>
- </ul>
- </li>
- <li>
- <ul>
- <li class="title">Community</li>
- <li><a href="<?php echo url('/forums') ?>">Forums</a></li>
- <li><a href="<?php echo url('/community/events') ?>">Events</a></li>
- <li><a href="http://facebook.com/FlyAAGEFS">Facebook</a></li>
- <li><a href="http://twitter.com/VirtualAA">Twitter</a></li>
- <li><a href="http://youtube.com/AVAAmerican">Youtube</a></li>
- </ul>
- </li>
- <li>
- <ul>
- <li class="title">Careers</li>
- <?php
- if(!Auth::LoggedIn())
- {
- // Show these if they haven't logged in yet
- ?>
- <li><a href="<?php echo url('/registration'); ?>">Join Today!</a></li>
- <?php
- }
- ?>
- <li><a href="http://aalv.net/Dev/lib/skins/aavirtual/0.3.pdf">Airline Ranks & Policies</a></li>
- </ul>
- </li>
- </ul>
- <div id="footer-logo"></div>
- <div id="copyright">
- <p>Copyright © <?php echo SITE_NAME; ?> <?php echo date('Y') ?>. All Rights Reserved</p>
- <p>Click the link if you needed <a href="www.americanairlines.com">www.americanairlines.com</a></p>
- <p>powered by <a href="#">phpVMS</a></p>
- </div>
- <div class="clear"></div>
- </div>
- </div>
- <?php
- /*
- Quick example of how to see if they're logged in or not
- Only show this login form if they're logged in */
- if(Auth::LoggedIn() == false)
- { ?>
- <div id="crewlogin">
- <div class="modal_close"></div>
- <h2>Crew Login</h2>
- <hr>
- <form id="login-form" name="login-form" method="post" action="<?php echo url('/login'); ?>">
- <input type="text" name="email" value="" onClick="this.value=''" />
- <input type="password" name="password" value="" />
- <input type="hidden" name="remember" value="on" />
- <input type="hidden" name="redir" value="index.php/profile" />
- <input type="hidden" name="action" value="login" />
- <p>Forgot password? <a href="#">Password reminder!</a></p>
- <button>Login</button>
- </form>
- </div>
- <?php
- }?>
- <div id="lean_overlay"></div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement