Jump to content

Salem

Members
  • Content Count

    10
  • Joined

  • Last visited

  • Days Won

    1

Salem last won the day on May 1 2018

Salem had the most liked content!

Community Reputation

1 Neutral

About Salem

  • Rank
    Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Good day all, You would like show the data " payadjsut" on view all pirep page ( pirep_list.php). But that tells me 0. Will you have a problem regarding this problems. <?php foreach($pireps as $pirep) { if($pirep->accepted == PIREP_PENDING) $td_class = 'pending'; else $td_class = ''; $error = false; $schedule = SchedulesData::getScheduleByFlight($pirep->code, $pirep->flightnum); ?> <tr class="<?php echo $class?> pirep_list" id="row<?php echo $pirep->pirepid;?>"> <td align="center" valign="top" nowrap="nowrap" style="width: 2
  2. Hello, How to recover some information on the log with the variables For example: 12:35 start engine 2, 12:50 overspeed .... Thanks for your help
  3. Good day, I have a problem for send a bonus for all pirep with a landing rate under -150 on db PIREP Yet the call is correct is I get this message "Fatal error: Call to undefined method PIREPData::getPirepData()" If anyone would have an idea it would be cool. Here is the code below: $pilotbonus = "500"; $pirepinfo = PIREPData::getPirepData($pirep_details->pirepid); if($pirep_details->landingrate <= -1 AND $pirep_details->landingrate >= -150) { $bonus = $pilotbonus +$pirepinfo->bonus; $fields = array ( 'bonus' => $bonus, ); PIR
  4. Hello web541, It works perfectly, thank you for your help. Have a nice week end
  5. Hello everyone, I would like to create a ranking of pilots according to the pay, but unfortunately, I have a problem of coding. If anyone would have an idea about the solution it would be cool. I want to use the $pilots table and collect the id and totalpay Here is my code and my bug below. <?php mysql_select_db("pilots"); $reponse = mysql_query('SELECT * FROM pilotid ORDER BY totalpay'); $rang = 0; while ($pilots = mysql_fetch_array($reponse)) { $rang++; echo $rang; echo $pilots['pilotid']; echo $pilots['totalpay']; } ?> Deprecated: mysql_connect()
  6. Good day, I am interested in your help, make me a proposal by MP for my request above this topic. Is possible modify my request if is complicate. Thanks Best regards
  7. Good day all, I wish to create an automatic point system for my new company including see below: (using smartCARS) ------------------------------------------------ Briefing 30min 1pt / -1pt Engine 2 is on 1pt / -5pts Flaps set before take off 1pt / -5pts MTOW respected 1pt / flight rejected Departure on time +/- 10min 2pts Overspeed -5pts Flight time 1pt/30min Excced g/force -5pts Landing with 1000kg fuel -5pts Flaps set position 0 engine off 1pt Flying online day 2pts (Friday 02:00 pm to 23:00 pm) the values are not defin
  8. Good day, I have a problem after every flight, I can not see my PIREP. That tells me "This PIREP does not exist !". While it has been sent via the smartCARS application. I Booking flights under the website is work. Someone would have a solution for this problem please. Thank you Regards
×
×
  • Create New...