Jump to content

freshJet

Members
  • Posts

    1470
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by freshJet

  1. Why would you want to do that anyway?
  2. Need to fix the padding in those sidebar boxes. Other than that - looking good!
  3. That paint is amazing!
  4. I believe Jeffery's kACARS Custom does this...
  5. If you want it rounded use border-radius however IIIRC this doesn't work in IE6. The again, nothing does. And for the images - have you definitely got the correct URL? This should work: <style> .styled-select select { background: transparent; width: 268px; padding: 5px; font-size: 16px; border: 1px solid #ccc; height: 34px; } .styled-select { width: 240px; height: 34px; overflow: hidden; background: url([url="http://cdn.bavotasan.com/wp-content/uploads/2011/05/down_arrow_select.jpg"]http://cdn.bavotasan...rrow_select.jpg[/url]) no-repeat right #ddd; } </style> <form> <div class="styled-select"> <select> [php for the options] </select> </div> </form> It's a good idea to save the image to your own directory instead.
  6. AFAIK you cannot move the arrows without moving the form dropdown thingy. I'd suggest using some CSS to position the dropdown so that it is centered both vertically and horizontally
  7. Yeah it's rather rare but it does happen. Seen it before. They rarely sell though.
  8. Yeah that's what I meant
  9. Yeah I know I considered that but then i thought how would anyone be able to read it anyway? It's the stats I want...
  10. Agreed - I've tried and I don't think the code is even HTML4
  11. Oh yeah thanks
  12. Whilst looking at my bookings list for my pilots the idea of having a reminder of bookings hit me. I know this can be done. I was considering something along the lines having an email sent to the pilot if their bid is more than one week old. And to prevent several emails at once (say the pilot booked a 10-leg journey) mention each booking in the one mail. I would do a rough code but my brain won't work. I've been working on a lot tonight. ----- Oh and one more thing, some of you may remember me asking what the cons of deleting a pilot were. Well, I found this in my PilotData.class.php: public static function deletePilot($pilotid) { $sql = array(); unset(self::$pilot_data[$pilotid]); $sql[] = 'DELETE FROM '.TABLE_PREFIX.'acarsdata WHERE pilotid='.$pilotid; $sql[] = 'DELETE FROM '.TABLE_PREFIX.'bids WHERE pilotid='.$pilotid; --------------------> $sql[] = 'DELETE FROM '.TABLE_PREFIX.'pireps WHERE pilotid='.$pilotid; <------------------ $sql[] = 'DELETE FROM '.TABLE_PREFIX.'pilots WHERE pilotid='.$pilotid; # These SHOULD delete on cascade, but incase they don't $sql[] = 'DELETE FROM '.TABLE_PREFIX.'fieldvalues WHERE pilotid='.$pilotid; $sql[] = 'DELETE FROM '.TABLE_PREFIX.'groupmembers WHERE pilotid='.$pilotid; $sql[] = 'DELETE FROM '.TABLE_PREFIX.'pirepcomments WHERE pilotid='.$pilotid; foreach($sql as $query) { $res = DB::query($query); } if(DB::errno() != 0) return false; return true; } If I were to remove the noted line from this code would it then prevent the PIREPs that the pilot flew being deleted?
  13. Pros: - Sleek design - Coded in HTML5 (as said above) - Very fast - Good choice of features Cons: - Only fully functional in Chrome - Food and shop seem a bit pointless as they are just iframes with major brands' sites
  14. Did you even read my post?
  15. Rather good apart from the last few and not impressed with 'please use chrome'. Whilst I have nothing against it we all know why it's not a good idea...
  16. Cheeky f***s at Alitalia virtual putting Alitalia virtual there instead
  17. ^ You can get locations on the Fleet Table module or use a bit of PHP to determine the aircraft's last location.
  18. I'm having issues with the flight board departures. First of all, I added: date_default_timezone_set('Europe/London'); which I believe has worked because it no longer displays strange times. However now (bear in mind it's 23:25 here) that the next flights (which leave at about 6 or 7am) are now boarding. Secondly, the times are not in order despite the SQL query stating that they should be sorted by deptime. http://www.freshjetvirtual.com/index.php (scroll down)
  19. Is this integrated into FS or is it a standalone program that we'd have to open via the desktop?
  20. You can fix it. It's in the aircraft.cfg somewhere - have a look
  21. Not bad actually. Agree with Tom though - it's a bit wide. Btw, you got the c and the s the wrong way round in Human Resources
  22. For future reference, there isn't much the phpVMS community can do...
×
×
  • Create New...