daily pastebin goal
65%
SHARE
TWEET

Database Call Sheet phpVMS

a guest May 20th, 2014 1,532 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!-- Pilot Demographics -->
  2.         <!-- Pilot ID [Website] -->
  3.                 <?php echo $pilotcode; ?>
  4.         <!-- Pilot ID [Use for Registration Email] -->
  5.                 <?php echo PilotData::GetPilotCode($pilot->code,$pilot->pilotid)?>
  6.         <!-- Pilot Rank -->
  7.                 <?php echo Auth::$userinfo->rank;?>
  8.         <!-- Pilot Name -->
  9.                 <?php echo $userinfo->firstname ?> <?php echo $userinfo->lastname ?>
  10.         <!-- Pilot Hub -->
  11.                 <?php echo $userinfo->hub?>
  12. <!-- End Pilot Demographics -->
  13.  
  14. <!-- Pilot Statistics -->
  15.         <!-- Total Hours -->
  16.                 <?php echo Auth::$userinfo->totalhours;?>
  17.         <!-- Total Flights -->
  18.                 <?php echo Auth::$userinfo->totalflights?>
  19.         <!-- Total Transfer Hours -->
  20.                 <?php echo $userinfo->transferhours?>
  21.         <!-- Hours Until Rank Promotion -->
  22.                 <?php echo ($nextrank->minhours - $pilot_hours)?>
  23.         <!-- Next Available Rank -->
  24.                 <?php echo $nextrank->rank?>
  25.         <!-- Total Virtual Money -->
  26.                 <?php echo FinanceData::FormatMoney($userinfo->totalpay) ?>
  27. <!-- End Pilot Statistics -->
  28.  
  29. <!-- Airline Demographics -->
  30.         <!-- List of Latest Pilots [Change the 5 to however many pilots you want displayed in the column] -->
  31.                 <?php MainController::Run('Pilots', 'RecentFrontPage', 5); ?>
  32.         <!-- List of Latest Filed Pireps [Change the 5 to however many pilots you want displayed in the column] -->
  33.                 <?php MainController::Run('PIREPS', 'RecentFrontPage', 5); ?>
  34.         <!-- Displays Website Name Based off Original Airline -->
  35.                 <?php echo SITE_NAME; ?>
  36. <!-- End Airline Demographics -->
  37.  
  38. <!-- Airline Statistics -->
  39.         <!-- Total Pilot Count [If you wish to only display the stats for a specific airline on your website, insert the Airline ICAO code such as (UAL) -->
  40.                 <?php echo StatsData::PilotCount(); ?>
  41.         <!-- Total Aircraft in Fleet -->
  42.                 <?php echo StatsData::TotalAircraftInFleet(); ?>
  43.         <!-- Total Schedules -->
  44.                 <?php echo StatsData::TotalSchedules(); ?>
  45.         <!-- Total Flights -->
  46.                 <?php echo StatsData::TotalFlights(); ?>
  47.         <!-- Todays Flights -->
  48.                 <?php echo StatsData::TotalFlightsToday(); ?>
  49.         <!-- Total Fuel Used -->
  50.                 <?php echo StatsData::TotalFuelBurned(); ?>
  51.         <!-- Total Flight Hours -->
  52.                 <?php echo StatsData::TotalHours(); ?>
  53.         <!-- Total Miles Flown -->
  54.                 <?php echo StatsData::TotalMilesFlown(); ?>
  55. <!-- End Airline Statistics -->
  56.  
  57. <!-- Display Website Elements/Pages -->
  58.         <!-- ACARS Flight Map/Table -->
  59.                 <?php MainController::Run('ACARS', 'index'); ?>
  60.         <!-- Navigation Bar -->
  61.                 <?php Template::Show('core_navigation.tpl'); ?>
  62.         <!-- Page Content [Displays Frontpage and Addon Modules (Use in Layout.tpl)] -->
  63.                 <?php echo $page_content;?>
  64.         <!-- Javascript Library Call [Use in Layout.tpl (Place Custom JS Under the <?php ?>)] -->
  65.                 <?php echo $page_htmlhead;?><?php ?>
  66. <!-- End Display Website Elements/Pages -->
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