Jump to content

freshJet

Members
  • Posts

    1470
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by freshJet

  1. You could just take the field out and add: <input type="hidden" name="hub" value="CYYC" />
  2. Demand seems reasonable, I consider it
  3. I'm sure you've noticed that when you click on an aircraft on the ACARS map the dialog box will disappear when a position update occurs, is there a way to prevent this and simply update the data shown on the box instead?
  4. Can we see something more detailed? The obvious solution would be file paths.
  5. You must consider where your images are linked to too in the CSS file.
  6. Try reading the topic first http://forum.phpvms.net/topic/6441-in-air-orange/#entry54083
  7. Firstly, I noticed you've changed the thread title. Rosters are already displayed by default when you go to index.php/pilots. If you want it for just one hub then: <tr> <th>Pilot code</th> <th>First name</th> <th>Last name</th> <th>Country</th> <th>Total Hours</th> <th>Total Flights</th> </tr> <?php $params['p.hub'] = 'CYYZ'; $pilots = PilotData::findPilots($params); foreach($pilots as $pilot){ ?> <tr> <td><?php echo $pilot->code.$pilot->pilotid;?></td> <td><?php echo $pilot->firstname;?></td> <td><?php echo $pilot->lastname;?></td> <td><?php echo $pilot->country;?></td> <td><?php echo $pilot->totalhours;?></td> <td><?php echo $pilot->totalflights;?></td> </tr> <?php } ?> That will display all your pilots based in Toronto and some of their details.
  8. Did you use add the PHP tags? What are you doing with the code after that?
  9. Click Edit on the original post and edit the title to say [sOLVED] at the end.
  10. Don't know why you want pilots, but try it this way: $params['p.hub'] = 'CYYZ'; $pilots = PilotData::findPilots($params);
  11. A similar issue was posted recently, contact your host to see what PHP version they're on.
  12. Here's something I've released for beta testing at freshJet. It's a pilot calendar, a personal planner allowing pilots to plan what flights they want to fly and when they want to fly them. At the moment, it's fairly basic, and all it really does is allow pilots to add and remove flights from their calendars however I plan on making it book the flights 24 hours before departure time. If there's enough demand I might release it as a module. Preview:
  13. I suppose, but TEXT would be more efficient.
  14. If it's working that's fine. VARCHAR means a mix of different characters, it should be integer, INT. And no, it's not dangerous. You can do it through the Structure tab at the top in phpMyAdmin.
  15. Check the field type, make sure it's INT
  16. I don't know what you mean, what do you mean by digit to digit? These are integers and therefore there is no reason why they shouldn't sort. Did you try DESC?
  17. Did you try the code though?
  18. Should go in Support or Code Snippets. Anyway, I was not asking a question, that should be the correct code to use.
  19. This shouldn't be in Skinning, nonetheless: FROM phpvms_aircraft ORDER BY weight ASC
  20. I think it's the work of http://forum.phpvms.net/user/2485-rpalmer800/
  21. What makes you think that? I don't think the skin is publicly available.
  22. That was the other option I had in mind. Shouldn't be too hard with the change log I suppose.
  23. I disagree, that would work.
×
×
  • Create New...