Jump to content

RogerB

Members
  • Posts

    904
  • Joined

  • Last visited

Everything posted by RogerB

  1. Hosting is cheap, find a good host...
  2. actually very easy...
  3. i3dthemes.com
  4. It's called fleet table, sorry had the name wrong. <h1><?php echo SITE_NAME?>'s Fleet Information</h1> <table> <!-- Fleet Table Version 1.1.2 - fleet_table.tpl CHANGES FROM 1.1: Added image --> <table border="1"> <thead> <tr> <td><b>Image</b></td> <td><b>ICAO</b></td> <td><b>Type</b></td> <td><b>Registration</b></td> <td><b>Range</b></td> <td><b>Empty Weight</b></td> <td><b>Cruise Alt</b></td> <td><b>Max Pax</b></td> <td><b>Max Cargo</b></td> <td><b>Total Hours</b></td> <td><b>Total Routes Flown</b></td> <td><b>Location</b></td> </tr> </thead> <tbody> <?php foreach ($fleet as $aircraft) { ?> <tr> <td><img src="<?php echo $aircraft->imageurl; ?>"></td> <td><?php echo $aircraft->icao; ?> </td> <td><?php echo $aircraft->name; ?> </td> <td><?php echo $aircraft->registration; ?></td> <td><?php echo $aircraft->range; ?> </td> <td><?php echo $aircraft->weight; ?></td> <td><?php echo $aircraft->cruise; ?></td> <td><?php echo $aircraft->maxpax; ?></td> <td><?php echo $aircraft->maxcargo; ?></td> <td><?php echo $aircraft->totaltime; ?></td> <td><?php echo $aircraft->routesflown; ?></td> <?php $params = (array('a.registration'=>$aircraft->registration, 'p.accepted'=>PIREP_ACCEPTED)); $pirep = PIREPData::findPIREPS($params); $current_location = $pirep[0]->arricao; $current_location2 = $pirep[0]->arrname; ?> <td><?php echo $current_location.'-'.$current_location2; ?></td> </tr> <?php } ?> </tbody> </table>
  5. I got it, had the path wrong. works now. Thanks Mark!!
  6. Getting a message no input file selected...I have never run a cron before so I'm totally lost. I'll do some reading up.
  7. Thanks Mark, think I got it.
  8. simpilot has a module for this, it's called frontschedule and I believe it's free. I have it if you need it.
  9. in your core directory it's in the local.config.php. Config::Set('SIGNATURE_SHOW_COPYRIGHT', false); Change it to false like shown above.
  10. That code isn't doing the trick, since I removed the listener and cronned that code it's still not working. I'm getting a sytax error and top pilot isn't updating now.
  11. Works great!! for all that use it all that was wrong is the path here is the correct code. <script type="text/javascript"> $("#bgimage").bind('change', function() { var image = $(this).val(); $("#preview_image").html("<img src='/lib/signatures/background/" + image + "' />"); }); </script>
  12. getting this error. syntax error near unexpected token
  13. Ok, I have this on two websites, one is just for testing, should I include the path of Kesuk?
  14. I believe there is a module for this already, check in releases...I think it's call fleet details.
  15. Mark, a while back you made a post about flight report delay with kacars. You removed the listener for top pilots and made it a cron. Can you share how you did that?
  16. This is what I want, when a user pics a banner from the drop down they get a preview under it. See picture below.
  17. Your header images are terrible, they are sized incorrectly which gives them an "out of skew" look. I couldn't help but notice in one of the headers a tail paint you copied off Pacific Airways. The video was cool but the lighting was too dark.
  18. Use firefox with the firebug add on..It will help you the most..This will save you hours of searching for stuff..
  19. RogerB

    fixed

    Great Album, And I can play the whole thing on guitar.
  20. That doesn't work, and the avatar doesn't show.
  21. I want a preview of the drop down menu, so you can see what you're selecting before you save it.
  22. One Thing Nabeel preached early on, and it is the best advice you can get. Start with small chunks when modifying things....
  23. Yeah it's been in Beta for 10 years......LMAO
×
×
  • Create New...