daily pastebin goal
59%
SHARE
TWEET

Untitled

a guest Nov 13th, 2013 144 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <style>
  2. #innerwrapper{
  3. background:none;
  4. border:none;
  5. padding:0px;
  6. }
  7. </style>
  8. <img style="border:1px solid lightgrey;"src="<?php echo SITE_URL;?>/lib/skins/Zumeweb.Pacific.V1/images/default/web_banner.png"/>
  9. <div class="row-fluid">
  10.         <div class="span9">
  11.                 <h3>Welcome Aboard</h3>
  12.                 <div class="box">
  13.                         <p>Welcome to Charter Virtual Airlines! We are a virtual airline that strives on serving Virtual Pilots dreams of making virtual flying feel real! We operate mainly Low Cost and charter airlines that operate across America and Europe at this present moment in time and we hope to spread world wide brining all low cost flying to our airline. At the moment we currently operate the following American low cost and charter airlines: AirTran Airways, Allegiant Air, Frontier Airlines, JetBlue, Southwest Airlines, Spirit Airlines, Sun Country Airlines, Virgin America and UPS. Our European low cost and charter are Aegean AIrlines, Aer Arann, Aer Lingus, Air Baltic, Air Berlin, Air Malta, Arkefly, Avro (charter), blu express, Blue Air, Brussels Airlines, Condor, Corendon, easyJet, Flybe, Thomas Cook, Germania Express, Germanwings, Jet2, Meridiana, Monarch, Norwegian, Onur Air, Pegasus Airlines, Ryanair, Smartwings, SunExpress, Thomson, Transavia, TUIfly, Volotea, Vueling Airlines, Wizzair, WOW air. We hoep you like our site and wish to see you in our skies soon! Charter Virtual Staff! </p>
  14.                 </div>
  15.         </div>
  16.         <div class="span3">
  17.         <h3><strong>Quick</strong>Facts</h3>
  18.                 <div class="box">
  19.                 <table width="100%" border="0" cellspacing="0" cellpadding="0">
  20.   <tr>
  21.     <td><b><span class="badge badge-info"><?php echo StatsData::PilotCount(); ?></div></b></td>
  22.     <td>Pilots</td>
  23.   </tr>
  24.   <tr>
  25.     <td><b><span class="badge badge-info"><?php echo StatsData::TotalAircraftInFleet(); ?></div></b></td>
  26.     <td>Aircraft</td>
  27.   </tr>
  28.   <tr>
  29.     <td><b><span class="badge badge-info"><?php echo StatsData::TotalSchedules(); ?></div></b></td>
  30.     <td>Schedules</td>
  31.   </tr>
  32.   <tr>
  33.     <td><b><span class="badge badge-info"><?php echo StatsData::TotalFlights(); ?></div></b></td>
  34.     <td>Completed Flights</td>
  35.   </tr>
  36.   <tr>
  37.     <td><b><span class="badge badge-info"><?php echo StatsData::TotalFlightsToday(); ?></div></b></td>
  38.     <td>Flight(s) today</td>
  39.   </tr>
  40.   <tr>
  41.     <td><b><span class="badge badge-info"><?php echo StatsData::TotalFuelBurned(); ?></div></b></td>
  42.     <td>Fuel burned</td>
  43.   </tr>
  44.   <tr>
  45.     <td><b><span class="badge badge-info"><?php echo StatsData::TotalHours(); ?></div></b></td>
  46.     <td>Hours Flown</td>
  47.   </tr>
  48.   <tr>
  49.     <td><b><span class="badge badge-info"><?php echo StatsData::TotalMilesFlown(); ?></div></b></td>
  50.     <td>Miles flown</td>
  51.   </tr>
  52.  
  53. </table>
  54.                 </div>
  55.         </div>
  56. </div>
  57.  
  58. <div class="row-fluid">
  59.         <div class="span9"><h3>Current Flights</h3><div class="box">
  60. <?php
  61.  
  62. $q = "SELECT * FROM phpvms_acarsdata";
  63. $l = DB::get_results($q);
  64. if($l != null){
  65. ?>
  66.         <table border="0" width="100%" cellspacing="4" class="acarsmap">
  67. <thead>
  68.         <tr>
  69.                 <td><b>Pilot</b></td>
  70.                 <td><b>Flight Number</b></td>
  71.                 <td><b>Departure</b></td>
  72.                 <td><b>Arrival</b></td>
  73.                 <td><b>Status</b></td>
  74.                 <td><b>Altitude</b></td>
  75.                 <td><b>Speed</b></td>
  76.                 <td><b>Time Remaining</b></td>
  77.         </tr>
  78. </thead>
  79. <tbody id="pilotlist">
  80. <?
  81.  
  82. foreach($l as $fl) {   
  83.         $lu = strtotime($fl->lastupdate);
  84.         $min_u = strtotime(date("Y-m-d") - 900);       
  85.         if($lu > $min_u) {
  86.         echo("<tr>");
  87.         echo("<td>".$fl->pilotname."</td>");
  88.         echo("<td>".$fl->flightnum."</td>");
  89.         echo("<td>".$fl->depicao."</td>");
  90.         echo("<td>".$fl->arricao."</td>");
  91.         echo("<td>".$fl->phasedetail."</td>");
  92.         echo("<td>".$fl->alt." feet</td>");
  93.         echo("<td>".$fl->gs." knots</td>");
  94.         echo("<td>".$fl->timeremaining."</td>");
  95.         echo("</tr>");
  96.         }
  97. }
  98. }else{ ?>
  99. <div class="alert alert-danger">
  100.  
  101.   <strong>Looks Like our Pilots are taking a rest!</strong> There is no current flights online.
  102. </div>
  103. <?php
  104. }
  105. ?>
  106. </tbody>
  107. </table>
  108.  
  109.         </div>
  110.         </div>
  111.         <div class="span3"><h3>Latest News</h3><div class="box"></div></div>
  112. </div>
  113.  
  114. <div class="row-fluid">
  115.         <div class="span9">
  116.                 <h3>Partners</h3>
  117.                 <div class="box">
  118.                 <center>
  119. <div class="partners" >
  120.         <a href="#" target="_blank">
  121.  
  122. <img src="<?php echo SITE_URL; ?>/lib/skins/Zumeweb.Pacific.V1/images/default/partner_logo.png" class="partnerimg">
  123. </a>
  124. <a href="#" target="_blank">
  125. <img src="<?php echo SITE_URL; ?>/lib/skins/Zumeweb.Pacific.V1/images/default/partner_logo1.png" class="partnerimg">
  126. </a>
  127.  
  128. <a href="#" target="_blank">
  129. <img src="<?php echo SITE_URL; ?>/lib/skins/Zumeweb.Pacific.V1/images/default/partner_logo2.png" class="partnerimg">
  130. </a>
  131.        
  132. </div>
  133. </center>
  134.                 </div>
  135.                
  136.         </div>
  137.        
  138.         <div class="span3">
  139.                 <h3>Newest Pilots</h3>
  140.                 <div class="box">
  141.                 <?php MainController::Run('Pilots', 'RecentFrontPage', 5); ?>
  142.                 </div>
  143.         </div>
  144. </div>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top