Jump to content

Recommended Posts

Posted

<style>

#innerwrapper{

background:none;

border:none;

padding:0px;

}

</style>

<img style="border:1px solid lightgrey;"src="<?php echo SITE_URL;?>/lib/skins/Zumeweb.Pacific.V1/images/default/web_banner.png"/>

<div class="row-fluid">

<div class="span9">

<h3>Welcome Aboard</h3>

<div class="box">

<p>Hello, and welcome to our website!</p> <p>Here at Fly High Virtual, we thrive to give our pilots the best, safest, and most fufilling virtual airline experience. Our staff, combined, have had over 20 years in the virtual airline industry, with over 5 years managing virtual airlines. Most, if not all of our pilots have a geniune keen interest in aviation, and have some ambition, or connection to the real - life airline world.</p> <p>Fly High Virtual, is a free service, for FSX enthusiasts wishing to take their Flight simulation hobby to the next level, joining with people from around the world, online, to do what we love most, flying!</p> <p>If you would like to register for Fly High Virtual, please follow the link in the banner above, and we will soon be getting back to you! Best Wishes,</p> <p>CEO</p>

</div>

</div>

<div class="span3">

<h3><strong>Quick</strong>Facts</h3>

<div class="box">

<table width="100%" border="0" cellspacing="0" cellpadding="0">

<tr>

<td><b><span class="badge badge-info"><?php echo StatsData::PilotCount(); ?></div></b></td>

<td>Pilots</td>

</tr>

<tr>

<td><b><span class="badge badge-info"><?php echo StatsData::TotalAircraftInFleet(); ?></div></b></td>

<td>Aircraft</td>

</tr>

<tr>

<td><b><span class="badge badge-info"><?php echo StatsData::TotalSchedules(); ?></div></b></td>

<td>Schedules</td>

</tr>

<tr>

<td><b><span class="badge badge-info"><?php echo StatsData::TotalFlights(); ?></div></b></td>

<td>Completed Flights</td>

</tr>

<tr>

<td><b><span class="badge badge-info"><?php echo StatsData::TotalFlightsToday(); ?></div></b></td>

<td>Flight(s) today</td>

</tr>

<tr>

<td><b><span class="badge badge-info"><?php echo StatsData::TotalFuelBurned(); ?></div></b></td>

<td>Fuel burned</td>

</tr>

<tr>

<td><b><span class="badge badge-info"><?php echo StatsData::TotalHours(); ?></div></b></td>

<td>Hours Flown</td>

</tr>

<tr>

<td><b><span class="badge badge-info"><?php echo StatsData::TotalMilesFlown(); ?></div></b></td>

<td>Miles flown</td>

</tr>

</table>

</div>

</div>

</div>

<div class="row-fluid">

<div class="span9"><h3>Current Flights</h3><div class="box">

<?php

$q = "SELECT * FROM phpvms_acarsdata";

$l = DB::get_results($q);

if($l != null){

?>

<table border="0" width="100%" cellspacing="4" class="acarsmap">

<thead>

<tr>

<td><b>Pilot</b></td>

<td><b>Flight Number</b></td>

<td><b>Departure</b></td>

<td><b>Arrival</b></td>

<td><b>Status</b></td>

<td><b>Altitude</b></td>

<td><b>Speed</b></td>

<td><b>Time Remaining</b></td>

</tr>

</thead>

<tbody id="pilotlist">

<?

foreach($l as $fl) {

$lu = strtotime($fl->lastupdate);

$min_u = strtotime(date("Y-m-d") - 900);

if($lu > $min_u) {

echo("<tr>");

echo("<td>".$fl->pilotname."</td>");

echo("<td>".$fl->flightnum."</td>");

echo("<td>".$fl->depicao."</td>");

echo("<td>".$fl->arricao."</td>");

echo("<td>".$fl->phasedetail."</td>");

echo("<td>".$fl->alt." feet</td>");

echo("<td>".$fl->gs." knots</td>");

echo("<td>".$fl->timeremaining."</td>");

echo("</tr>");

}

}

}else{ ?>

<div class="alert alert-danger">

<strong>Looks Like our Pilots are taking a rest!</strong> There is no current flights online.

</div>

<?php

}

?>

</tbody>

</table>

</div>

</div>

<div class="span3"><h3>Latest News</h3><div class="box"></div></div>

</div>

<div class="row-fluid">

<div class="span9">

<h3>Partners</h3>

<div class="box">

<center>

<div class="partners" >

<a href="http://www.vatsim.net/" target="_blank">

<img src="<?php echo SITE_URL; ?>/lib/skins/Zumeweb.Pacific.V1/images/default/partner_logo1.png" class="partnerimg">

</a>

<a href="http://elitewebhosting.net/" target="_blank">

<img src="<?php echo SITE_URL; ?>/lib/skins/Zumeweb.Pacific.V1/images/default/partner_logo.png" class="partnerimg">

</a>

<a href="http://www.vacentral.net/" target="_blank">

<img src="<?php echo SITE_URL; ?>/lib/skins/Zumeweb.Pacific.V1/images/default/partner_logo2.png" class="partnerimg">

</a>

</div>

</center>

</div>

</div>

<div class="span3">

<h3>Newest Pilots</h3>

<div class="box">

<?php MainController::Run('Pilots', 'RecentFrontPage', 5); ?>

</div>

</div>

</div>

Posted

Thanks! That resolved the issue, just now, now, there are no live flights appearing. Or the 'no flight' message?

According to your photo, there have been no flights or hours. Until you fly one, I believe there won't be any unless you have flown any?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...