Jump to content

Txmmy83

Members
  • Posts

    493
  • Joined

  • Last visited

Everything posted by Txmmy83

  1. thanks to nabeel http://forum.phpvms.net/topic/2251-jquery-lightbox/page__hl__lightbox__fromsearch__1
  2. I have a question is it possible that if you click on a aircraft fullname to open a picture/screenshot of the Particular aircraft http://www.flyeurope-va.org/index.php/fleet I have it realized on my fleet page but now my question is it possible to open the picture with Slimbox or Lightbox and any tips how to integrate? best regards and thanks in advance, Thomas
  3. Txmmy83

    In Air Orange

    easiest way is to use photoshop and use colour overlay
  4. great just what I am looking for here another module request: a module for creating a seperate VA rule page something like that in output Policy Name field Description field PIREP Policy Each pilot is required to fly at least x flight per month best regards, Thomas
  5. ok you changed it that it only show current month right? best regards, Thomas
  6. ok found the Problem I think echo '<option value="'.url('/StatsCenter/index?month='.$startmonth.'&year='.$startyear.'').'">'.$month_name.' - '.$startyear.'</option>'; should be vStatsCenter instead of StatsCenter on line 35 in vStatsCenter.tpl
  7. found another problem if you want to choose month you get An Error Was Encountered The module "STATSCENTER" doesn't exist!
  8. got it work I have set my bid expires after 48 hours= 2 days hope that help others <?php $lastbids = SchedulesData::GetAllBids(); if (count($lastbids) > 0) { ?> <table width="100%"> <tr> <th align="left"><b>Flight</b></td> <th align="left"><b>Pilot</b></td> <th align="left"><b>From</b></td> <th align="left"><b>To</b></td> <th align="left"><b>Aircraft</b></td> <th align="left"><b>Booked On</b></td> <th align="left"><b>Bid Expires</b></td> </tr> <?php foreach($lastbids as $lastbid) { $pilot_info = PilotData::GetPilotData($lastbid->pilotid); $date = date($lastbid->dateadded); $sNeuesDatum = date("Y-m-d", strtotime("$date + 2 day")); ?> <tr> <td align="left"><?php echo $lastbid->code; ?><?php echo $lastbid->flightnum; ?></td> <td align="left"><?php echo $pilot_info->firstname.' '.$pilot_info->lastname; ?></td> <td align="left"><?php echo $lastbid->depicao;?></td> <td align="left"><?php echo $lastbid->arricao; ?></td> <td align="left"><?php echo $lastbid->aircraft; ?></td> <td align="left"><?php echo $lastbid->dateadded;?></td> <td align="left"><?php echo $sNeuesDatum;?></td> </tr> <?php } } else { ?> <p style="color:#cccccc; font-size:22px; text-align:center;">No bookings!</p> <?php } ?> </table>
  9. getting the same error like Mattia
  10. if you have more than one Airline running on one phpvms install this code is more than usefull <td align="left"><?php echo $lastbid->code; ?><?php echo $lastbid->flightnum; ?></td> replaced your "FRX" Airline prefix with a code piece that takes the Airline code used in Schedule is it possible to get the valid thru date of an bid example from 2012-05-23 - 2012-05-27
  11. Kyle could it be that the upload lacks the sql install file great addon what I can see from the shots best regards, Thomas
  12. Txmmy83

    Pilot list

    sorry that I hijack your Topic but I have a question I want to know if it is possible to Show icao & country in an hub ordered pilotlist that it show something like this Panama City Tocumen - MPTO, Panama I have to say I have managed to make it look this before but I have forgotten how best regards, Thomas
  13. Txmmy83

    vAwards

    same problem here best regards, Thomas
  14. I use fspilot but I was never able to produce landingrates of -20fpm or less Realistic with fspilot are landingrates of -150fpm or higher! Best regards Thomas
  15. is it possible to show not the actual location of a plane but the route that a aircraft has flown most? best regards and thanks in advance Thomas
  16. interesting that could be a reason why it not update the cond value please could someone with coding expirience test if it updates the cond value when using Nighthawks tips since I think we are not that far away from solution
  17. yep very nice layout!
  18. thank you very much will make the changes tomorow since I have a flight running at the moment! modified your code a bit $payperdis = round((($this->post->distance/100)*30), 2);
  19. yes please help me with the code just found out that 30 works better as multiplicator thanks in advance Thomas
  20. what I want to do is that php math calculates the flight price for me and fill it in the flightplan formular it works great with Charter Modul from Simpilot but I don't know how I can get it into the schedule submit form in admin backend
  21. think it have not been asked before? if yes please give me a hint where I have added something like this to simpilots charter module to get prices for the charter flights which works quite well $charter[price] = ($distance/100)*20; is it possible to remove the manual price input and do it in background following maths operations like above? Best Regards and Thanks in advance Thomas
  22. the calculations are in ops_aircraftbuysell.tpl which you find in admin/templates starting at line 11 and they seemed to be only used in the admin backend
  23. yeah same here only codonEvent::Dispatch I have in my acars.php is CodonEvent::Dispatch('refresh_acars', 'ACARS');
  24. Txmmy83

    Artisteer

    sorry I forgot to mention that in my code sections
  25. yes cond table is aircraft table in DB also the Pirep is filed without Problems
×
×
  • Create New...