Jump to content

VirtualBMI

Members
  • Posts

    51
  • Joined

  • Last visited

Everything posted by VirtualBMI

  1. Any chance you can help please it doesn't work for me. Cheers
  2. Hey there, The only way I could think of is having manual ranking set to true in the local.config.php file, Sorry if this doesn't help Regards
  3. Thanks ever so much for this I will change when I egt home from school! Regards
  4. 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>
  5. Thanks for that, I also get this: Notice: The template file "/home1/chartera/public_html//core/templates/popupnews/popupnews_list.tpl" doesn't exist in/home1/chartera/public_html/core/classes/TemplateSet.class.phpon line 248
  6. Notice: The template file "/home1/chartera/public_html//admin/templates/plugins/header.tpl" doesn't exist in /home1/chartera/public_html/core/classes/TemplateSet.class.php on line 248 Notice: The template file "/home1/chartera/public_html//admin/templates/plugins/uploaded.tpl" doesn't exist in /home1/chartera/public_html/core/classes/TemplateSet.class.php on line 248 Notice: The template file "/home1/chartera/public_html//admin/templates/plugins/footer.tpl" doesn't exist in /home1/chartera/public_html/core/classes/TemplateSet.class.php on line 248
  7. Sorry guys, can I add it to my Our Partners on the front page and our main website page? Regards
  8. Thanks for the perfect web design, recommended #1
  9. Hello, Corporate Virtual is back and with a bang, paid hosting, completely new up-to-date designed website with many new and upcoming features. Website: http://www.corporatevirtual.com/index.php Email(s): CEO - daniel@corporatevirtual.com VCEO - jackson@corporatevirtual.com HR - tyler@corporatevirtual.com Admin - admin@corporatevirtual.com Skype: CorporateVirtual Hope to see you all soon! Please leave comments below! Best Reagrds, Daniel Cormack CEO
  10. It looks like the airports are not in the database go to Admin Center > Flight Operations > Add/Edit Airports and add them in there. Regards
  11. Hello, Website designer needed contact me on skype please daniel_cormack thanks
  12. Hello, Payware or freeware hosting? Regards
  13. Hello, If you go to your Admin Panel and go under Pilot&Groups and click on Pilto Ranks here you can add the ranks for you pilots with Image, Hours an pay. Now to make sure this will make the pilot the next rank up when he has the right amount of hours you have to access the local.config.php file which you would have to use FileZilla or another similair software to do and go to public_html/core/local.config.php and look for the following: # Automatically confirm pilots? Config::Set('PILOT_AUTO_CONFIRM', false); # Automatically calculate ranks? Config::Set('RANKS_AUTOCALCULATE', true); # For how many hours a pilot can edit their submitted PIREP (custom fields only) Config::Set('PIREP_CUSTOM_FIELD_EDIT', '12'); True is automatic to make it manual change it to false. Hope this helps. Regards
  14. Hello sir, Just to quickly confirm you want to show recent pilots on your website? If so find the code below: <?php MainController::Run('Pilots', 'RecentFrontPage', 5); ?> Where the 5 is change to how many you want to show. Regards
  15. Also a thank you to you sir, as said above I will get this resolved ASAP Regards
  16. Thank you for this, I will be onto this as soon as I can. Regards
  17. Hello guys, We are still pushing with our Corporate VA. http://corporateva.co.uk/en/index.php We would like your thoughts and any ideas we can do to help us improve our service. We are on paid hosting. With a proper domain which we did say we would get for ages and have finally done it. Regards all
  18. Hello, Are you using free hosting? If so that could be the problem. Regards, Daniel Cormack (Username: CorporateVA, issue with the account)
  19. Thank you very much regards
  20. Hey, Thanks for the quick replay sadly it doesn't work it gives the pilots Avatar not his pilot badge. Thanks for the help anyway
  21. Hello, I was wondering if anyone new how to make the pilot badge available to guests on the Pilot Public Profile? Best regards
  22. Yeah everything is checked, it was working then suddenly stopped.
  23. Hey, I have the kACARS_Free in modules sorry to be a pain and thanks for the help Regards
×
×
  • Create New...