Jump to content

FlyingMachine

Members
  • Posts

    160
  • Joined

  • Last visited

1 Follower

Recent Profile Visitors

3096 profile views

FlyingMachine's Achievements

Newbie

Newbie (1/14)

8

Reputation

  1. Hi all, I hope you are ok, is there any module to show documents pdf or make a library inside phpvms for pdf files like SOPs and Handbooks ? Yours,
  2. Thank you web541. Works perfect! Yours,
  3. Dears, I have the code of custom field on Pilot list page, works perfect, i would like to show the same filed on pending pireps, next to full name check my code. The problem is in that template forache requests : foreach($pireps as $pirep) i would like to add pilots as pilot here. To display the custom filed. Yours,
  4. Hi all, I am trying to show cutom filed in Pending PIREPS, using the following code, any help in foreach code ? I got one issue where to put this and correct way to add it : <?php foreach($pilot_list as $pilot) { ?> <?php } ?> Because in pending PIREPs i call for : foreach ( pireps as pirep ! Thank you <tbody> <?php foreach($pireps as $pirep) { if($pirep->accepted == PIREP_PENDING) $td_class = 'pending'; else $td_class = ''; $error = false; ?> <tr class="<?php echo $class?> pirep_list" id="row<?php echo $pirep->pirepid;?>"> <td align="center" valign="top" nowrap="nowrap" style="width: 27px;" class="<?php echo $td_class;?>"> <img height="25px" width="25px" src="<?php echo PilotData::GetPilotAvatar($pirep->pilotid);?>" align="left" /> </td> <td align="left" valign="top" nowrap class="<?php echo $td_class;?>"> <strong><a href="<?php echo SITE_URL?>/admin/index.php/pilotadmin/viewpilots?action=viewoptions&pilotid=<?php echo $pirep->pilotid;?>"> <?php echo PilotData::GetPilotCode($pirep->pcode, $pirep->pilotid) . ' - ' .$pirep->firstname .' ' . $pirep->lastname;?></a> <!-- Here i would like to show VATSIM or IVAO ID using the following code --> l <?php echo PilotData::GetFieldValue($pilot->pilotid, 'VATSIM CID or IVAO VID'); ?> </strong> <strong>Flight:</strong> <?php echo $pirep->code . $pirep->flightnum; ?></div> <strong>Dep/Arr: </strong><?php echo $pirep->depicao; ?>/<?php echo $pirep->arricao; ?> <strong>Flight Time: </strong><?php echo $pirep->flighttime; ?> <br /> <strong>Submit Date: </strong><?php echo date(DATE_FORMAT, $pirep->submitdate); ?> <strong>Current Status: </strong> <?php echo PilotData::GetFieldValue($pilot->pilotid, 'VATSIM CID or IVAO VID');?> <?php if($pirep->accepted == PIREP_ACCEPTED) echo 'Accepted'; elseif($pirep->accepted == PIREP_REJECTED) echo 'Rejected'; elseif($pirep->accepted == PIREP_PENDING) echo 'Approval Pending'; ?> <?php # If there was an error, don't allow the PIREP to go through if($pirep->aircraft == '') { $error = true; } ?> <table width="100%" style="border: none;">
  5. Thank you ProAvia, i will try that. Yours,
  6. Dear @Nabeel I tried to set 1234567 in the db, but when exporting the schedules, i do not have (Sunday 7) Any suggestions !
  7. Hello sir, i do use Realbooking system. Yours,
  8. Hi all, I am using a module of CrazyCreatives, however couple of months ago, there is no support anymore, I would like to know if you can help to fix an issue with Event center. The event center closes event at 00 Midnight of the day of the event, ex: if my event starts today at 14:00z, normally in the same day people still can book and see the event as upcoming event before 14:00z. However, the module recognize the event as past event early morning at 00:00 of the same day before the event starts yet. Thank you in advance,
  9. Thank you ProAvia and Leonardl. What i meant something totally different example: i am a pilot KLM100 if already i have a booking, when ever i try to book a 2nd flight, the website redirects me to the bid i have already booked. It does not allow me to book 2nd booking. I would like to allow pilots to book more than 1 flight at once. the same pilot can book many flights without restrictions. thank you,
  10. Hi all, Currently when i have already 1 bid in my bids, i cannot to proceed to make 2nd booking, is there any option to allow 2 booking or more ? Yours,
  11. Dear all, I have the following code show the flights, i would like to change to something better. Like google or something more beautiful if available. <div><img src="http://www.gcmap.com/map?P=<?php echo $string ?>&MS=wls2&MR=60&MX=700x330&PM=b:ringb4:red&PC=%23ffa500"/></div>
  12. Thank you Servetas, It worked perfect. Yours,
×
×
  • Create New...