Jump to content

freshJet

Members
  • Posts

    1470
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by freshJet

  1. Here's the current code in my layout.tpl, I used James' method: <div id="wrapper"> <!-- start page --> <div id="page"> <!-- start content --> <div id="content"> <?php if(MainController::$activeModule == 'FRONTPAGE'){ ?> <div id="sidebar1" class="sidebar"> <ul> <li> <h2>News Centre</h2> <ul> <?php PopUpNews::PopUpNewsList(8); ?> </ul> <br> <h2>Newest Pilots</h2> <br> <?php MainController::Run('Pilots', 'RecentFrontPage', 5); ?> <br> <h2>Quick Stats</h2> <p><strong>Total Pilots: <?php echo StatsData::PilotCount(); ?></strong></p> <p><strong>Total Flights Flown: </strong><?php echo StatsData::TotalFlights(); ?></p> <p><strong>Total Aircraft: </strong><?php echo StatsData::TotalAircraftInFleet(); ?></p> <p><strong>Total Hours Flown: </strong><?php echo StatsData::TotalHours(); ?></p> <p><strong>Passengers Carried: </strong><?php echo StatsData::TotalPaxCarried(); ?></p> <p><strong>Miles Flown: </strong><?php echo StatsData::TotalMilesFlown(); ?></p> <p><strong>Total Flights Today: </strong><?php echo StatsData::totalflightstoday(); ?></p> <br> <h2>Flight Status</h2> <br> <b><a href="http://www.freshjetvirtual.com/index.php/acars">Live Flight Information >></a></b><br> </li> </li> </ul> </div> <?php } ?> <?php echo $page_content; ?> </div> <!-- end content --> <div style="clear: both;"> </div> </div> <!-- end page --> </div> <---- Is this an extra div?
  2. I'll see what I can do for free
  3. Hi, Everyone has to start somewhere . Although, this isn't the place to find it - this is the fivedev Hosting Forum. Post this in Paid Services.
  4. I've changed the code various times since the OP. When I had it as <div id="main">, the only CSS attribute was float:right, but this only right-aligned it at it's current position down the bottom.
  5. Nope didn't work. Something to do with the widths.
  6. OK, thanks but the content is still down the bottom, but correctly aligned as you'll see.
  7. Thanks Mark, can you see where? I can't find it...
  8. http://www.freshjetvirtual.com/index.php Click above, you'll see that the content is displaced, and is down below the sidebar. This happened when I moved the sidebar code from the layout.tpl to the frontpage_main.tpl. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.0/jquery-ui.min.js"></script> <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true"></script> <script type="text/javascript" src="http://www.freshjetvirtual.com/lib/js/jquery.form.js"></script> <script type="text/javascript" src="http://www.freshjetvirtual.com/lib/js/phpvms.js"></script> </head> <body> <div id="sidebar1" class="sidebar"> <ul> <li> <h2>News Centre</h2> <ul> <?php PopUpNews::PopUpNewsList(8); ?> </ul> <br> <h2>Newest Pilots</h2> <br> <?php MainController::Run('Pilots', 'RecentFrontPage', 5); ?> <br> <h2>Quick Stats</h2> <p><strong>Total Pilots: <?php echo StatsData::PilotCount(); ?></strong></p> <p><strong>Total Flights Flown: </strong><?php echo StatsData::TotalFlights(); ?></p> <p><strong>Total Aircraft: </strong><?php echo StatsData::TotalAircraftInFleet(); ?></p> <p><strong>Total Hours Flown: </strong><?php echo StatsData::TotalHours(); ?></p> <p><strong>Passengers Carried: </strong><?php echo StatsData::TotalPaxCarried(); ?></p> <p><strong>Miles Flown: </strong><?php echo StatsData::TotalMilesFlown(); ?></p> <p><strong>Total Flights Today: </strong><?php echo StatsData::totalflightstoday(); ?></p> <br> <h2>Flight Status</h2> <br> Â <b><a href="http://www.freshjetvirtual.com/index.php/acars">Live Flight Information >></a></b><br> </li> </li> </ul> </div> <h2>Welcome to freshJet!</h2> <marquee onmouseover="this.stop();" onmouseout="this.start();"><b>[09/05/2011]</b> Summer 2011 Schedules Delay Confirmed <b>[<a href="http://www.freshjetvirtual.com/index.php/PopUpNews/popupnewsitem/?itemid=18">More...</a>]</b> <b>[05/06/2011]</b> 757 ready for introduction after delay <b>[<a href="http://www.freshjetvirtual.com/index.php/pages/757">More...</a>]</b></marquee> <br> <br> Welcome to freshJet, one of the newest virtual airlines in the UK. We operate a wide variety of destinations across Europe to sun, ski and leisure destinations from our hubs at Glasgow and Belfast. We operate a modern fleet of Airbus A319 and A320 aircraft, including a lease for a single Boeing 757-200 in the summer for flights to Malta. We aim to provide the best experience for eveyone out there, offering realism, professionalism and a friendly community. Click <a href="http://www.freshjetvirtual.com/index.php/pages/whatweoffer">here</a> to see what else we have to offer.<br><br><br> <br> <center><img src="http://i.imgur.com/y0qld.png" />Â <img src="http://i.imgur.com/b5oeb.png" />Â <img src="http://i.imgur.com/PsA5e.png" /></center> <br> <br> <h2>Book a Flight</h2> <style type="text/css"> #outerdiv { width:500px; height:400px; overflow:hidden; position:relative; } #inneriframe { position:absolute; top:-250px; left:-370px; width:1280px; height:1200px; } </style> </head> <body> <div id='outerdiv'> <iframe src="http://www.freshjetvirtual.com/index.php/FrontSchedules" id='inneriframe' scrolling=no></iframe> </div> <h2>Latest Flights</h2> <?php $count = 5; $pireps = PIREPData::getRecentReportsByCount($count); ?> <table border="0" bordercolor="#000000" width="700" cellpadding="3" cellspacing="1"> <thead> <tr> <th style="background-color:#05A2EA">Flight #</th> <th style="background-color:#05A2EA">Departure</th> <th style="background-color:#05A2EA">Arrival</th> <th style="background-color:#05A2EA">Duration</th> <th style="background-color:#05A2EA">Pilot</th> </tr> </thead> <tbody> <?php if(count($pireps) > 0) { foreach ($pireps as $pirep) { $pilotinfo = PilotData::getPilotData($pirep->pilotid); $pilotid = PilotData::getPilotCode($pilotinfo->code, $pilotinfo->pilotid); echo '<tr>'; echo '<td>'.$pirep->code.$pirep->flightnum.'</td>'; echo '<td>'.$pirep->depicao.'</td>'; echo '<td>'.$pirep->arricao.'</td>'; echo '<td>'.$pirep->flighttime.'</td>'; echo '<td>'.$pilotid.' '.$pilotinfo->firstname.' '.$pilotinfo->lastname.'</td>'; echo '</tr>'; } } else { echo '<tr><td>There are no recent flights!</td></tr>'; } ?> </tbody> </table> <br> <a href="http://www.freshjetvirtual.com/index.php/acars">Live Flight Information >></a> <br><br><br><br><br><br><br><br><br><br><br><br><br><br> </body> </html>
  9. Thanks! I always wanted to know how to do that!
  10. http://www.freshjetvirtual.com/
  11. Hey all, I design skins occasionally for my site, but never make them, therefore do not release them. However, I decided to make one, and here it is. Positive comments and criticism welcome. Hope you like it
  12. This is not my site, I'm just designing it. When I log in, it gives me the already logged in error. So, I click Pilot Centre, only to be told to login. I can't access the Admin panel to clear cache or anything because of this. It happened after I edited something in the local.config.php (above the do not edit part). Checkinstall.php: Checking PHP version [OK] PHP version is 5.2.x Checking connectivity... [OK] Can contact outside servers Checking for SimpleXML module... [OK] SimpleXML module exists! Checking file hashes for corrupt or mismatched files [Checksum failed] /core/common/PIREPData.class.php did not match, possibly corrupt or out of date [Checksum failed] /core/common/RegistrationData.class.php did not match, possibly corrupt or out of date [Checksum failed] /core/common/PilotGroups.class.php did not match, possibly corrupt or out of date [Checksum failed] /core/common/PilotData.class.php did not match, possibly corrupt or out of date [Checksum failed] /core/common/SettingsData.class.php did not match, possibly corrupt or out of date [Error] ../core/common/GoogleMapAPI.class.php doesn't exist [Checksum failed] /core/common/SiteData.class.php did not match, possibly corrupt or out of date [Checksum failed] /core/common/FinanceData.class.php did not match, possibly corrupt or out of date [Checksum failed] /core/common/ChartGraph.class.php did not match, possibly corrupt or out of date [Checksum failed] /core/common/ACARSData.class.php did not match, possibly corrupt or out of date [Checksum failed] /core/common/CentralData.class.php did not match, possibly corrupt or out of date [Checksum failed] /core/templates/schedule_results.tpl did not match, possibly corrupt or out of date [Checksum failed] /core/templates/fsfk_log_flightimages.tpl did not match, possibly corrupt or out of date [Checksum failed] /core/templates/finance_summarysheet.tpl did not match, possibly corrupt or out of date [Checksum failed] /core/templates/pirep_viewreport.tpl did not match, possibly corrupt or out of date [Checksum failed] /core/templates/profile_stats.tpl did not match, possibly corrupt or out of date [Checksum failed] /core/templates/fsacars_config.tpl did not match, possibly corrupt or out of date [Checksum failed] /core/templates/fsfk_log_flightplan.tpl did not match, possibly corrupt or out of date [Checksum failed] /core/templates/registration_customfields.tpl did not match, possibly corrupt or out of date [Checksum failed] /core/templates/acarsmap.tpl did not match, possibly corrupt or out of date [Checksum failed] /core/templates/route_map.tpl did not match, possibly corrupt or out of date [Checksum failed] /core/templates/fsfk_log_flightdata.tpl did not match, possibly corrupt or out of date [Checksum failed] /core/templates/email_pilot_retired.tpl did not match, possibly corrupt or out of date [Checksum failed] /core/templates/profile_main.tpl did not match, possibly corrupt or out of date [Checksum failed] /core/templates/fsfk_vaconfig.tpl did not match, possibly corrupt or out of date [Checksum failed] /core/templates/pirep_new.tpl did not match, possibly corrupt or out of date [Checksum failed] /core/templates/pilots_list.tpl did not match, possibly corrupt or out of date [Checksum failed] /core/templates/pilot_public_profile.tpl did not match, possibly corrupt or out of date [Checksum failed] /core/templates/schedule_details.tpl did not match, possibly corrupt or out of date [Checksum failed] /core/templates/login_passwordreset.tpl did not match, possibly corrupt or out of date [Checksum failed] /core/templates/pirep_editform.tpl did not match, possibly corrupt or out of date [Error] ../core/classes/ezDB_MySQLi.class.php doesn't exist [Checksum failed] /core/classes/Debug.class.php did not match, possibly corrupt or out of date [Checksum failed] /core/classes/CodonEvent.class.php did not match, possibly corrupt or out of date [Checksum failed] /core/classes/TemplateSet.class.php did not match, possibly corrupt or out of date [Error] ../core/classes/ezDB_Oracle.class.php doesn't exist [Checksum failed] /core/classes/Util.class.php did not match, possibly corrupt or out of date [Checksum failed] /core/classes/CodonModule.class.php did not match, possibly corrupt or out of date [Error] ../core/classes/CodonAJAX.class.php doesn't exist [Checksum failed] /core/classes/Template.class.php did not match, possibly corrupt or out of date [Checksum failed] /core/modules/news/news.php did not match, possibly corrupt or out of date [Checksum failed] /core/modules/Contact/Contact.php did not match, possibly corrupt or out of date [Checksum failed] /core/modules/Registration/Registration.php did not match, possibly corrupt or out of date [Checksum failed] /core/modules/Pilots/Pilots.php did not match, possibly corrupt or out of date [Checksum failed] /core/modules/ACARS/fspax.php did not match, possibly corrupt or out of date [Checksum failed] /core/modules/ACARS/xacars.php did not match, possibly corrupt or out of date [Checksum failed] /core/modules/PIREPS/PIREPS.php did not match, possibly corrupt or out of date [Checksum failed] /core/modules/Pages/Pages.php did not match, possibly corrupt or out of date [Checksum failed] /core/modules/RouteMap/RouteMap.php did not match, possibly corrupt or out of date [Checksum failed] /admin/templates/maintenance_options.tpl did not match, possibly corrupt or out of date [Checksum failed] /admin/templates/awards_allawards.tpl did not match, possibly corrupt or out of date [Checksum failed] /admin/templates/ops_aircraftform.tpl did not match, possibly corrupt or out of date [Checksum failed] /admin/templates/finance_summarysheet.tpl did not match, possibly corrupt or out of date [Checksum failed] /admin/templates/pilots_details.tpl did not match, possibly corrupt or out of date [Checksum failed] /admin/templates/pireps_list.tpl did not match, possibly corrupt or out of date [Checksum failed] /admin/templates/pages_allpages.tpl did not match, possibly corrupt or out of date [Error] ../admin/templates/pirep_processed.tpl doesn't exist [Checksum failed] /admin/templates/finance_expenseform.tpl did not match, possibly corrupt or out of date [Checksum failed] /admin/templates/finance_header.tpl did not match, possibly corrupt or out of date [Checksum failed] /admin/templates/news_additem.tpl did not match, possibly corrupt or out of date [Checksum failed] /admin/templates/pirep_edit.tpl did not match, possibly corrupt or out of date [Checksum failed] /admin/templates/ops_airportlist.tpl did not match, possibly corrupt or out of date [Checksum failed] /admin/templates/import_form.tpl did not match, possibly corrupt or out of date [Checksum failed] /admin/templates/settings_customfieldsform.tpl did not match, possibly corrupt or out of date [Checksum failed] /admin/templates/pilots_addawards.tpl did not match, possibly corrupt or out of date [Checksum failed] /admin/templates/downloads_categoryform.tpl did not match, possibly corrupt or out of date [Checksum failed] /admin/templates/pilots_options.tpl did not match, possibly corrupt or out of date [Checksum failed] /admin/templates/pilots_pending.tpl did not match, possibly corrupt or out of date [Checksum failed] /admin/templates/mailer_form.tpl did not match, possibly corrupt or out of date [Checksum failed] /admin/templates/news_list.tpl did not match, possibly corrupt or out of date [Checksum failed] /admin/templates/pilots_groups.tpl did not match, possibly corrupt or out of date [Checksum failed] /admin/templates/pilots_awards.tpl did not match, possibly corrupt or out of date [Checksum failed] /admin/templates/pilots_list.tpl did not match, possibly corrupt or out of date [Error] ../admin/templates/pirep_pending.tpl doesn't exist [Checksum failed] /admin/templates/sidebar_ranks.tpl did not match, possibly corrupt or out of date [Checksum failed] /admin/templates/finance_expenselist.tpl did not match, possibly corrupt or out of date [Checksum failed] /admin/templates/settings_mainform.tpl did not match, possibly corrupt or out of date [Checksum failed] /admin/templates/downloads_downloadform.tpl did not match, possibly corrupt or out of date [Checksum failed] /admin/lib/phpvmsadmin.js did not match, possibly corrupt or out of date [Checksum failed] /admin/modules/Finance/Finance.php did not match, possibly corrupt or out of date [Checksum failed] /admin/modules/PilotAdmin/PilotAdmin.php did not match, possibly corrupt or out of date [Checksum failed] /admin/modules/Downloads/Downloads.php did not match, possibly corrupt or out of date [Checksum failed] /admin/modules/SiteCMS/SiteCMS.php did not match, possibly corrupt or out of date [Checksum failed] /admin/modules/Import/Import.php did not match, possibly corrupt or out of date [Checksum failed] /admin/modules/Maintenance/Maintenance.php did not match, possibly corrupt or out of date [Checksum failed] /admin/modules/PIREPAdmin/PIREPAdmin.php did not match, possibly corrupt or out of date [Error] ../lib/skins/crystal/javascript.tpl doesn't exist [Checksum failed] /lib/js/jquery_essentials.js did not match, possibly corrupt or out of date [Checksum failed] /lib/js/ofc/js-ofc-library/ofc.js did not match, possibly corrupt or out of date [Error] ../lib/js/jquery.impromptu.js doesn't exist [Checksum failed] /lib/js/acarsmap.js did not match, possibly corrupt or out of date [Error] ../lib/js/jquery.dimensions.pack.js doesn't exist [Error] ../lib/js/jquery-ui.js doesn't exist [Checksum failed] /action.php did not match, possibly corrupt or out of date -- Checked 164 files, found 94 errors Any ideas?
  13. GLASGOW, SC - May 24th 2011 On 23rd May 2011, we signed a contract with Skylines for a single Boeing 757-200WL. The aircraft will be used on our seasonal summer route from Glasgow to Malta. The aircraft will be returned to Skylines in October this year. Visit Skylines --- www.freshjetvirtual.com ---
  14. Yeah it's for actually deleting the pilot. I could just do it manually I suppose...
  15. So how do I fix it?
  16. Nope, didn't work :/
  17. <h2>Flight Briefing</h2> <script src="http://skyvector.com/linkchart.js"></script> <table width="500px" align="left" cellpadding="4"> <!-- Flight ID --> <tr style="background-color: #333; color: #FFF;"> <td colspan="2">Flight Number</td> </tr> <tr> <td colspan="2"> <?php echo $schedule->code.$schedule->flightnum; ?> </td> </tr> <tr style="background-color: #333; color: #FFF;"> <td>Departure</td> <td>Arrival</td> </tr> <tr> <td width="50%" ><?php echo "{$schedule->depname} ($schedule->depicao)"; ?><br /> </td> <td width="50%" ><?php echo "{$schedule->arrname} ($schedule->arricao)"; ?><br /> </tr> <!-- Times Row --> <tr style="background-color: #333; color: #FFF;"> <td>Departure Time</td> <td>Arrival Time</td> </tr> <tr> <td width="50%" ><?php echo "{$schedule->deptime}"; ?></td> <td width="50%" ><?php echo "{$schedule->arrtime}"; ?></td> </tr> <!-- Aircraft and Distance Row --> <tr style="background-color: #333; color: #FFF;"> <td>Aircraft</td> <td>Distance</td> </tr> <tr> <td width="50%" ><?php echo "{$schedule->aircraft}"; ?></td> <td width="50%" ><?php echo "{$schedule->distance}"; ?></td> </tr> <tr style="background-color: #333; color: #FFF;"> <td>Departure METAR</td> <td>Arrival METAR</td> </tr> <tr> <td width="50%" ><div id="<?php echo $schedule->depicao; ?>" class="metar">Getting Airport METAR</div> <br /> <a href="http://heras-gilsanz.com/manuel/METAR-Decoder.html" target="_blank"> Decode</a> </td> <td width="50%" ><div id="<?php echo $schedule->arricao; ?>" class="metar">Getting Airport METAR</div><br /> <a href="http://heras-gilsanz.com/manuel/METAR-Decoder.html" target="_blank"> Decode</a></td> </tr> <!-- NOTAM--> <tr style="background-color: #333; color: #FFF;"> <td width="200px">NOTAMS for <?php echo $schedule->depicao; ?></td> <td width="200px">NOTAMS for <?php echo $schedule->arricao; ?></td> </tr> <tr> <td width="200px" valign="top"><font size="1"><?php include('notamdep.tpl'); ?></font> <br> <br> <a href="http://www.navdata.at/php/notams/notams.php?area=Europe">>> Read Europe NOTAMS</a> </td> <td width="200px" valign="top"><font size="1"><?php include('notamarr.tpl'); ?></font> </td> </tr> <!-- Route --> <tr style="background-color: #333; color: #FFF;"> <td colspan="2">Route</td> </tr> <tr> <td colspan="2"> <?php # If it's empty, insert some blank lines if($schedule->route == '') { echo '<br /> <br /> <br />'; } else { echo strtoupper($schedule->route); } ?> </td> </tr> <!-- Notes --> <tr style="background-color: #333; color: #FFF;"> <td colspan="2">Notes</td> </tr> <tr> <td colspan="2" style="padding: 6px;"> <?php # If it's empty, insert some blank lines if($schedule->notes == '') { echo '<br /> <br /> <br />'; } else { echo "{$schedule->notes}"; } ?> </td> </tr> </table> <table width="98%" align="center" padding="2"> <tr style="background-color: #333; color: #FFF; padding: 5px;"></tr> </table> <h3>Procedures and Information</h3> <table width="98%" align="center"> <tr style="background-color: #333; color: #FFF;"> <td>Charts for <?php echo $schedule->depicao?></td> <td>Charts for <?php echo $schedule->arricao?></td> </tr> <tr align="center"> <td width="50%" valign="top"> <a href="http://www.airnav.com/airport/<?php echo $schedule->depicao?>#ifr" target="_blank"> <img border="0" src="http://flightaware.com/resources/airport/<?php echo $schedule->depicao?>/APD/AIRPORT+DIAGRAM/png" width="387px" height="594px" alt="No chart available" /></a> </td> <td width="50%" valign="top"> <a href="http://www.airnav.com/airport/<?php echo $schedule->arricao?>#ifr" target="_blank"> <img border="0" src="http://flightaware.com/resources/airport/<?php echo $schedule->arricao?>/APD/AIRPORT+DIAGRAM/png" width="387px" height="594px" alt="No chart available" /></a> </td> </tr> </table> <h3>Weather</h3> <div align="center"> <p><img src="http://icons-pe.wunderground.com/data/640x480/2xeu_st.gif" /></p> <p><img src="http://icons-pe.wunderground.com/data/640x480/2xeu_st_anim.gif" /></p> <p><img src="http://icons-pe.wunderground.com/data/640x480/2xeu_rh.gif" /></p> <p><img src="http://icons-pe.wunderground.com/data/640x480/2xeu_rh_anim.gif" /></p> <p><img src="http://icons-pe.wunderground.com/data/640x480/2xeu_ws.gif" /></p> <p><img src="http://icons-pe.wunderground.com/data/640x480/2xeu_ws_anim.gif" /></p> <p><img src="http://icons-pe.wunderground.com/data/640x480/2xeu_vs.gif" /></p> <p><img src="http://icons-pe.wunderground.com/data/640x480/2xeu_vs_anim.gif" /></p> <p><img src="http://icons-pe.wunderground.com/data/640x480/2xeu_jt.gif" /></p> <p><img src="http://icons-pe.wunderground.com/data/640x480/2xeu_jt_anim.gif" /></p> <a href="http://www.wunderground.com/" target="_blank">View additional weather graphs</a> </div> <div align="right" style="font-size: small;">Data Courtesy of <a href="http://www.wunderground.com" target="_new">Wunderground</a></div> <br />
  18. ...And negative posts ratings get you nowhere LMG, negative rating
  19. NOTE: I apologise for the amount of topics I'm posting, it'll stop once my issues are resolved I was scanning through core/templates for an 'email_removed.tpl' or something, but noticed there is no notification for removing a pilot. So, as I'm about to remove some, does anyone know how I could create one? I could do the email bit fine (creating the tpl and editing etc), but what triggers the emails to be sent? I'd need the code for that, and where it goes... Thanks, Iain.
×
×
  • Create New...