Jump to content

freshJet

Members
  • Posts

    1470
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by freshJet

  1. Well if it's any use I tried the exact code you had and put it in the flight briefings and still nothing
  2. Better
  3. Still doesn't work. It just displays the headers lat and long. Where does $params lead to?
  4. By the way this is in a file called briefing.php in my public_html directory. Schedule: $schedule = SchedulesData::GetScheduleDetailed (all I can remember off the top of my head) $route is $schedule->route but with some characters removed as some of my routes had '?' instead of a space so I used str_replace to do replace that with a space.
  5. Just to confirm this will lead to what I'm looking for won't it? Displaying the data for each waypoint?
  6. Nope not working: <?php $params->deplat = $schedule->deplat; $params->deplng = $schedule->deplng; $params->route = $route; $routedata = NavData::parseRoute($params); ?> <table> <thead> <tr> <th>Lat</th> <th>Long</th> </tr> </thead> <tbody> <?php foreach($routedata as $routeline) { ?> <tr> <td align="center"><?php echo $routeline->lat; ?></td> <td align="center"><?php echo $routeline->lng; ?></td> </tr> <?php } ?> </tbody> </table>
  7. And I'm trying to get waypoint name etc like it says in Navdata.class.php
  8. Yes. I mentioned it in the first post.
  9. Still not working for me :/
  10. Thought someone would've come up with the solution by now
  11. I can't see the pics
  12. I really like it. The only points I can make are that I think the border-radius is too high. 10px should do it. The other thing is I don't think the Twitter widget colours suit the rest of the site. Other than that - pretty good!
  13. Yeah that's similar to my code. There's a description in the code but I don't get it. Nabeel?
  14. Or can anyone tell me how to use the parseRoute() function?
  15. Yes it's in the local.config.php and is called something like DISABLE_SCHEDULE_ON_BID. Just change it to false
  16. I want to make a foreach loop with the schedule route and the nav data, so basically display the data for each waypoint in the route. I noticed there is a function called parseRoute($schedule), which I tried to implement by nothing happened. Any ideas???
  17. For the ICAO problem, change: <?php echo $schedule->depicao;?> to <?php echo $schedule->depname;?> You can combine them so it's ICAO - Airport Name by doing: <?php echo $schedule->depicao.' - '.$schedule->depname;?> Same applies for arricao. For the schedule frequency: <?php // We are gonna loop each day of the week for($dayofweek = 0; $dayofweek < 7; $dayofweek++) { // echo our column opening echo '<td class="center">'; // Check if $i (the current day of week) exists if(substr_count($route->daysofweek, $dayofweek) > 0) { // there is a flight for sunday , so echo that plane icon out echo '<img src="IMAGE URL GOES HERE" />'; } // Close that column echo '</td>'; } ?>
  18. Wow never heard that one before. But isn't 2013 a little unrealistic?
  19. Yeah I thought Monarch were quite bad for it
  20. I like the name and idea but Wix isn't the way to go
  21. Sorry but it still isn't any better. It's an eyesore to say the least.
  22. Not bad, however the try removing the underline from the navbar links. And it's the livery that's puts it off for me
  23. Maybe you get paid to fly what VA is this anyway?
  24. British Airways Virtual is one of the best out there and is run by BA so it's no wonder it's always full. bvair looks terrible. And simmiles - don't even go there - they're all the same. I'd try another airline.
  25. Why have you got Unalakleet as a hub??
×
×
  • Create New...