Jump to content

[Complete Skin] Pacific | Free


magicflyer

Recommended Posts

  • 2 weeks later...

I didn't see anyone answer this, but for future reference of any other users...

i have this code for the navigation bar

<ul class="nav nav-list">
<li class="active"><a href="#"><i class="icon-home icon-white"></i> Home</a></li>
<li><a href="#"><i class="icon-book"></i> Library</a></li>
<li><a href="#"><i class="icon-pencil"></i> Applications</a></li>
<li><a href="#"><i class="i"></i> Misc</a></li>
</ul>

how do i input the links?

do i put the <h ref> in the middle?

Yes, <a href="<?php echo url('/insertpagename'); ?>.

Link to comment
Share on other sites

Current Flights (on home page) takes ages to "catch" that there is a flight going on .... any help there? Is there some cacheing going on, then I could turn it off for that page??

3greenz! :blink:

Hi,

There is no caching going on, the current flights are directly fetches from the database in an sql query. If it's taking a while, it's just that the internet connection or the server speed is low.

Thanks

I didn't see anyone answer this, but for future reference of any other users...

Yes, <a href="<?php echo url('/insertpagename'); ?>.

Thank you so much for helping out! I didn't check this topic much after the first few weeks of it's release, I guess I should.

For future references, I provide much faster support if you email me through the contact form @ zumeweb.com, and select "Other" as department.

  • Like 1
Link to comment
Share on other sites

Hi,

There is no caching going on, the current flights are directly fetches from the database in an sql query. If it's taking a while, it's just that the internet connection or the server speed is low.

Thanks

Thank you so much for helping out! I didn't check this topic much after the first few weeks of it's release, I guess I should.

For future references, I provide much faster support if you email me through the contact form @ zumeweb.com, and select "Other" as department.

No problem!

Thank you for the awesome skin!

Link to comment
Share on other sites

Hi,

There is no caching going on, the current flights are directly fetches from the database in an sql query. If it's taking a while, it's just that the internet connection or the server speed is low.

Thanks

...

Ok, I changed few lines ... or just little things in them ... where it compares current time and last update form acars ...

it's in frontpage_main.tpl file:

foreach($l as $fl) {
$lu = strtotime($fl->lastupdate);
$min_u = strtotime("now") - 7200;

if($lu > $min_u) {

Link to comment
Share on other sites

  • 3 weeks later...

Hi, Ive done all that i can see in the forum, about correcting the issues on the live flight board, but i am still not having any luck...

My coding for the whole page is:

<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 ". TABLE_PREFIX ."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">
<?php

foreach($l as $fl) {
$lu = strtotime($fl->lastupdate);
$min_u = strtotime(date("Y-m-d") - 100);
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>Teamspeak Server</h3>
  <div align="center"><iframe frameborder="0" width="260" height="450" src="[url="http://www.teamspeak.co.uk/ajax/viewer_ts3_ext.php?ip=london6.teamspeak.net&tPort=26927&password=20051&iServerId=445&css=fsx%22></iframe></div>"]http://www.teamspeak...</iframe></div>[/url]
 <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="[url="http://www.vatsim.net/"]http://www.vatsim.net/"[/url] target="_blank">

<img src="<?php echo SITE_URL; ?>/lib/skins/Zumeweb.Pacific.V1/images/default/partner_logo1.png" class="partnerimg">
</a>
<a href="[url="http://elitewebhosting.net/"]http://elitewebhosting.net/"[/url] target="_blank">
<img src="<?php echo SITE_URL; ?>/lib/skins/Zumeweb.Pacific.V1/images/default/partner_logo.png" class="partnerimg">
</a>

<a href="[url="http://www.vacentral.net/"]http://www.vacentral.net/"[/url] 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>

Hope you can help!

Link to comment
Share on other sites

  • 2 months later...
  • 2 weeks later...
  • 4 weeks later...
  • 3 months later...
  • 1 month later...

My current flights are not being displayed, and the Error messgae saying "Pilots are taking a rest" is also not being triggered.

<?php
$q = "SELECT * FROM ". TABLE_PREFIX ."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 Skyline Pilots are taking a rest!</strong> There is no current flights online.
</div>
<?php
}
?>

This is a code I have

GJQW19O.png

Link to comment
Share on other sites

  • 1 month later...
  • 4 weeks later...
  • 1 month later...
  • 8 months later...

where can i get this skin its giving me 404

Hello,

So, the situation is this: These skins were created in 2013. Code was a little different back then, where certain features were deprecated and others added. As time evolved, there began to be a lot of bugs in this skin.

Therefore, I decided to take it down for the moment until I can roll out a newer bug-free version. Which will happen - But I can't guarantee when at this time. It'd just have to be when my workload gets a little lighter.

Link to comment
Share on other sites

  • 2 years later...

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...