[Complete Skin] Pacific | Free

Thanks for this brilliant skin, just one issue if you could help please (image attached)

My frontpage_main.tpl

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

</div>

</div>

<div class=“span3”>

<h3>Newest Pilots</h3>

<div class=“box”>

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

</div>

</div>

<div class=“span3”>

<h3>Newest Pilots</h3>

<div class=“box”>

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

</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 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=“row-fluid”>

<div class=“span9”><h3>Latest Arrivals</h3><div class=“box”>

<?php

$count = 5;

$pireps = PIREPData::getRecentReportsByCount($count);

?>

<table width=“100%”>

<tdead>

<tr>

<td>Flight No</td>

<td">Departure</td>

<td>Arrival</td>

<td>Duration</td>

<td>Pilot</td>

<td>Status</td>

</tr>

</tdead>

<tbody>

<?php

if(count($pireps) > 0)

{

foreach ($pireps as $pirep)

{

{

$pilotinfo = PilotData::getPilotData($pirep->pilotid);

$pilotid = PilotData::getPilotCode($pilotinfo->code, $pilotinfo->pilotid);

if($pirep->accepted == ‘0’) $status = ‘REJECTED’;

if($pirep->accepted == ‘1’) $status = ‘ACCEPTED’;

else $status = ‘PENDING’;

}

?>

<tr>

<td><?php echo $pirep->code.$pirep->flightnum; ?></td>

<td><?php echo $pirep->depicao; ?></td>

<td><?php echo $pirep->arricao; ?></td>

<td><?php echo $pirep->flighttime; ?></td>

<td><?php echo $pilotinfo->firstname.’ '.$pilotinfo->lastname; ?></td>

<td><?php

if($pirep->accepted == PIREP_ACCEPTED)

echo ‘Accepted’;

elseif($pirep->accepted == PIREP_REJECTED)

echo ‘Rejected’;

elseif($pirep->accepted == PIREP_PENDING)

echo ‘Approval Pending’;

elseif($pirep->accepted == PIREP_INPROGRESS)

echo ‘Flight in Progress’;

?>

</td>

</tr>

<?php

}}

else

{

echo ‘<tr><td>There are no recent flights!</td></tr>’;

}

?>

</tbody>

</table>

</div>

</div>

<div class=“row-fluid”>

<div class=“span9”>

<h3>Partners</h3>

<div class=“box”>

<center>

<div class=“partners” >

<a href=“#” target=“_blank”>

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

</a>

<a href=“#” target=“_blank”>

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

</a>

<a href=“#” target=“_blank”>

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

</a>

</div>

</center>

</div>

</div>

</div>

Great skin and VERY EASY for a ‘noob’ like myself to navigate. For some reason, the “Looks like our Pilots are taking a rest!..” doesn’t appear but I am fine with that. Is there a way to change the ‘hover’ color of the topLinks? I want the background to be orange to match my theme.

Many thanks for putting this together!

Huge quote about an issue with the skin

Here is the fixed version:

http://pastebin.com/ywEsa6q2

The issue is that you had the <div class="row-fluid> inside another, the proper format is:

<div class="row-fluid">
 <div class="span4"></div>
 <div class="span4"></div>
 <div class="span4"></div>
</div>

Replace span4 with whatever span# for as long as # + # + # is equal to 12.

I modified it, to match the edits you made on your website, http://charterairlinesva.com/index.php/

Best wishes

Here is the fixed version:

http://pastebin.com/ywEsa6q2

The issue is that you had the <div class="row-fluid> inside another, the proper format is:

Replace span4 with whatever span# for as long as # + # + # is equal to 12.

I modified it, to match the edits you made on your website, http://charterairlin…com/index.php/

Best wishes

Thanks ever so much for this I will change when I egt home from school!

Regards

Due to my “newness” my posts are delayed. Hopefully the post I had is still in the queue to be approved, just in case it never went through I am requesting the following assistance…

For some reason the coding appears to be okay for the }else{ ?> comment that allows for

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

to be pulled when no pilots are online. For some reason that box does not appear for me. As indicated in the img, it is just blank. This is “okay” but I would prefer that empty space be filled if possible. Any assistance is greatly appreciated.

Attached: Image displaying site and coding I am referring to.

post-31958-0-88741200-1384448520.jpg

PHP Error Message

Warning : file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/a4049077/public_html//lib/skins/Zumeweb.Pacific.V1/<div class=“container”> <h3>Registration</h3> <p>Welcome to the registration form for JetStream Aviation. After you register, you will be notified by a staff member about your membership.</p> <form method=“post” action=“http://jsa.netau.net/index.php/registration"> <dl> <dt>First Name: *</dt> <dd><input type=“text” name=“firstname” value=”" /> </dd> <dt>Last Name: *</dt> <dd><input type=“text” name=“lastname” value=“” /> </dd> <dt>Email Address: *</dt> <dd><input type=“text” name=“email” value=“” /> </dd> <dt>Select Airline: *</dt> <dd> <select name in /home/a4049077/public_html/core/classes/TemplateSet.class.php on line 96

Any idea on what this could be? It’s on my registration page.

It appears to have errors right now: Notice: The template file “/home/zumewebc/public_html/Demo/Pacific//lib/skins/EosVA/header.tpl” doesn’t exist in /home/zumewebc/public_html/Demo/Pacific/core/classes/TemplateSet.class.php on line 248

Well, looks like I went on vacation for too long. The template file error is fixed , I had the wrong skin selected in recent edits. CTRL+F5 if you don’t see it fixed. Ill fix the {else} issue as soon as I can. I think I may have done an edit on a Module file, if so, I need to change it so that I can call the DB locally.

PHP Error Message

Warning : file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/a4049077/public_html//lib/skins/Zumeweb.Pacific.V1/<div class=“container”> <h3>Registration</h3> <p>Welcome to the registration form for JetStream Aviation. After you register, you will be notified by a staff member about your membership.</p> <form method=“post” action=“http://jsa.netau.net…/registration"> <dl> <dt>First Name: *</dt> <dd><input type=“text” name=“firstname” value=”" /> </dd> <dt>Last Name: *</dt> <dd><input type=“text” name=“lastname” value=“” /> </dd> <dt>Email Address: *</dt> <dd><input type=“text” name=“email” value=“” /> </dd> <dt>Select Airline: *</dt> <dd> <select name in /home/a4049077/public_html/core/classes/TemplateSet.class.php on line 96

Any idea on what this could be? It’s on my registration page.

I assume you either (1) No hubs, or (2) No airlines. Let me know, If I am right

Due to my “newness” my posts are delayed. Hopefully the post I had is still in the queue to be approved, just in case it never went through I am requesting the following assistance…

For some reason the coding appears to be okay for the }else{ ?> comment that allows for

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

to be pulled when no pilots are online. For some reason that box does not appear for me. As indicated in the img, it is just blank. This is “okay” but I would prefer that empty space be filled if possible. Any assistance is greatly appreciated.

Attached: Image displaying site and coding I am referring to.

Check out Line 60, where the <?php ?> code is right before the table, replace that set of php with this one:

<?php
$q = "SELECT * FROM ". TABLE_PREFIX ."acarsdata";
$l = DB::get_results($q);
if($l != null){
?>

Sorry, these posts are separated. The Questions above keep showing up magically, every time simpilot approves a post

Is there any way to add another button to the top of the website? i cant seem to find the file with the Navigation stuff

I also get an error while logging in.

when i type in my user name and password, then i hit login or enter, a screen comes up saying “You need to be logged in to see that.”

Help?

Hello, there is a problem on the map, zoom, and scroll bars, http://zumeweb.com/Demo/Pacific/index.php/acars you can not solve? thanks for any response. Sincerely

Hey Emanuele, check this fix out:

Credits to Zach from Cathay Pacific VA. Ill add it to the next update.

Thank you very kindly, I solved … Sincerely

As someone that dabbles in skinning, I appreciate the skin you created and the hard work. I can’t create anything near what you have done but great work. Thanks for helping the community! I have it on my test va right now and I am digging it, so far! Might also learn a lot from your files in the skin

1 Like

As someone that dabbles in skinning, I appreciate the skin you created and the hard work. I can’t create anything near what you have done but great work. Thanks for helping the community! I have it on my test va right now and I am digging it, so far! Might also learn a lot from your files in the skin

Why, thank you! Enjoy the skin

I also get an error while logging in.

when i type in my user name and password, then i hit login or enter, a screen comes up saying “You need to be logged in to see that.”

Help?

Hey there, Sorry your message only recently got approved. This sounds like an internal issue. However, send me the URL string that it redirects to when you click on that login button.

Is there any way to add another button to the top of the website? i cant seem to find the file with the Navigation stuff

The template you’re looking for is core_navigation.tpl In this file, you will find a variety of available options(That of which are copy/pastable) which can help you create your own buttons.

hey magicflyer, is there any way to change the upper part, where this is the pilot center and etc.?

hey magicflyer, is there any way to change the upper part, where this is the pilot center and etc.?

Hey there, I am not sure what you mean. I am thinking you’re talking about the navigation bar? You can edit that in the file called core_navigation.tpl

doesn’t work now. The demo I mean