Jump to content


  • Posts

  • Joined

  • Last visited

Recent Profile Visitors

355 profile views

Jiko's Achievements


Newbie (1/14)



  1. these days i try the same think .... i was modify just a little the ops_scheduleform.php line 105 to get the multiple choice : <tr> <td><strong>Equipment: </strong></td> <td><select name="aircraft" multiple > <?php foreach($allaircraft as $aircraft) { if($aircraft->registration == $schedule->registration) $sel = 'selected'; else $sel = ''; echo '<option value="'.$aircraft->id.'" '.$sel.'>'.$aircraft->name.' ('.$aircraft->registration.')</option>'; } ?> </select> </td> </tr> Now i think must change some lines to the operations.php Can anybody help with this ?
  2. Jiko

    kACARS Free v1.0.1.4

    hello !!! i don't find any link to download the kACARS . If anyone have the KACARS pls send me a link. Thank you very much.
  3. hi!! i have o problem and i don't know how to fix it. Top Pilots All Time section its fine and works perfect but in the month stats , is count all the pireps with rejected and i dont want this. one more thing in the month stats, is show me only one pilot !! I find this code to forum for current moth stats (Miles Flown) and its work perfect. <tbody> <?php $dbm="SELECT t1.pilotid,t1.distance,t2.firstname,t2.lastname FROM (SELECT pilotid, sum(distance) as distance FROM phpvms_pireps WHERE date_format(submitdate, '%Y-%m') = date_format(now(), '%Y-%m') AND accepted = 1 GROUP BY pilotid) t1 LEFT JOIN phpvms_pilots t2 ON t1.pilotid = t2.pilotid ORDER BY distance DESC LIMIT 10"; $bstm = DB::get_results($dbm); foreach ($bstm as $btm) { if($bstm == '') { ?> <tr><td align="center" colspan="2">No Records yet!</td></tr> <?php } else { ?> <tr><td><?php echo $btm->lastname ;?></td><td align="center"><?php echo $btm->distance ;?> NM</td></tr> <?php } } ?> </tbody> Can anybody help me with other two stats ? current moth stats (Flights Flown) and current moth stats (Hours Flown) with this code ?? Because this code is count only the accept pireps and show me 5 pilots, no only one and its work perfect for me. thanks!!
  4. Hello to everyone !!!☺️ First of all I would like to say that I am very happy with phpvms I am new and I will really try day by day to learn and read more and more to get better. My point is this: I would like to add the flags of the countries next to the ICAO airpots on recent flights. I try some things buy I dont found any solution unfortunately. Is that possible? If anyone knows something about that please help me. Thank you so much !!!
  5. Hello to everyone !! I have 2 modules to my VA. The FltbookSystem-v2 (freeware) and the Charter Ops v1.11 from Crazy Creatives (payware) I make 2 different callsings to my VA. One for schedules and the other for Charters. I want for the charter filghts do not change location of the aircraft, only the pilot. But i don't know how to do this. If anyone from here have the knowledge to help me pls contact me with PM because the second module is payware and i know the rules of this forum. thank you very much !!
  6. very good question i have the same problem !!! Can anyone help with this ? disable the dropdown box with istead type ???
  7. <?php $count = 5; $pireps = PIREPData::getRecentReportsByCount($count); ?> <?php $count = 5; $pireps = PIREPData::getRecentReportsByCount($count); ?> <?php $count = 5; $pireps = PIREPData::getRecentReportsByCount($count); ?> <table width="625" border="1" cellspacing="2" cellpadding="2"> <tdead> <tr class="recent"> <td><strong>Flight No</strong></td> <td><strong>Departure</strong></td> <td><strong>Arrival</strong></td> <td><strong>Duration</strong></td> <td><strong>Pilot</strong></td> <td><strong>Status</strong></td> </tr> </tdead> <tbody> <?php if(count($pireps) > 0) { foreach ($pireps as $pirep) { { $pilotinfo = PilotData::getPilotData($pirep->pilotid); $pilotid = PilotData::getPilotCode($pilotinfo->code, $pilotinfo->pilotid); } ?> <tr> <td><a href="<?php echo url('/pireps/viewreport/'.$pirep->pirepid);?>"> <?php echo $pirep->code.$pirep->flightnum; ?></a> </td> <td><a href="<?php echo SITE_URL.'/index.php/profile/view/'.$pilotinfo->pilotid?>"> <?php echo $pilotinfo->firstname.' '.$pilotinfo->lastname; ?></td> <td><?php echo $pirep->depicao; ?></td> <td><?php echo $pirep->arricao; ?></td> <td><?php echo $pirep->flighttime; ?></td> <td><?php if($pirep->accepted == PIREP_ACCEPTED) echo '<span style="color:#347C17"><strong>Accepted</strong></span>'; elseif($pirep->accepted == PIREP_REJECTED) echo '<span style="color:#FF0000"><strong>Rejected</strong></span>'; elseif($pirep->accepted == PIREP_PENDING) echo '<span style="color:#E56717"><strong>Approval Pending</strong></span>'; elseif($pirep->accepted == PIREP_INPROGRESS) echo '<span style="color:#whatever">Flight in Progress</span>'; ?> </td> </tr> <?php }} else { echo '<tr><td>There are no recent flights!</td></tr>'; } ?> </tbody> </table> </div> <hr /> </div> </div>
  • Create New...