Jump to content

mattia

Members
  • Posts

    267
  • Joined

  • Last visited

Everything posted by mattia

  1. check this http://forum.phpvms.net/topic/5181-solved-examcenter-with-time-please-help-me/page__p__34653__hl__%2Bexam+%2Bcenter+%2Bwith+%2Btime__fromsearch__1#entry34653
  2. ok i solved with this code <?php $somar = mysql_query("SELECT SUM(landingrate) as landingrate FROM `phpvms_pireps` WHERE pilotid=$userinfo->pilotid"); $total = mysql_fetch_array($somar); $v_total = $total['landingrate']; $linha = mysql_query("SELECT * FROM `phpvms_pireps` WHERE pilotid=$userinfo->pilotid"); $taxa = mysql_num_rows($linha); $v_taxa = $taxa; $media = $v_total/$v_taxa; $v_media = number_format($media, 0, '.', ''); ?> <?php echo $v_media." ft/min"; ?> but you can have a table to put our best 10? thanks for the help
  3. yes, I have the module simpilot TouchdownStats and top pilot
  4. hi jeff tried your code in profile_main.tpl but does not work this is my error Fatal error: Call to undefined method TouchdownStatsData::pilot_average() in /var/www/virtual/italianivolanti.it/htdocs/iv/core/templates/profile_main.tpl on line 308
  5. mattia

    VA Central

    is a problem va central
  6. hi jeff thanks for help but dont work i try <?php $query="SELECT * FROM phpvms_11pireps WHERE flighttime_stamp > '00:00:00' ORDER BY flighttime_stamp DESC LIMIT 15"; $list=DB::get_results($query); foreach ($list as $pirep) { echo '<tr><th> '.$pirep->pilotid.' '.$pirep->firstname.' '.$pirep->lastname.' </th> <th>'.$pirep->flightnum.'</th> <th>'.$pirep->flighttime_stamp .'</th> <th>'.$pirep->source.'</th> </tr>'; } echo '</table>' ?> appears only pilot id
  7. hi all, I created this code to see the longest flight <h4>TEST</h4> <table width="100%" border="1" align="center"> <tr bgcolor=blue> <th><b><font color=black>pilot</th></b> <th><b><font color=black>flight</th><b/b> <th><b><font color=black>time</th></b> <th><b><font color=black>cliente</th></b> </tr> <?php $query="SELECT * FROM phpvms_11pireps WHERE flighttime_stamp > '00:00:00' ORDER BY flighttime_stamp DESC LIMIT 15"; $list=DB::get_results($query); foreach ($list as $pirep) { echo '<tr><th>'.$pirep->pilotid.'</th> <th>'.$pirep->flightnum.'</th> <th>'.$pirep->flighttime_stamp .'</th> <th>'.$pirep->source.'</th> </tr>'; } echo '</table>' ?> works, but how can I take from the pilot ID his name and surname of the pilot?? thanks in advance to all
  8. Hi Dave! does not work for me, no result, only exits "No Stats Available" http://s3.imagestime.com/out.php/i631825_Immagine.png thanks and happy new year
  9. hi Mr.Bean soory but how do I order them with the flight number thanks and Merry Christmas
  10. Ciao Davide the problem is not solved I attach another picture http://s3.imagestime.com/out.php/i628385_Problemaordinedelletratte2.png
  11. hi all I have a problem with the number of flights, does not insert them in numerical order. link to photo to better understand the problem. http://s3.imagestime.com/out.php/i628371_432.png Thank for the help Have a Merry Christmas and a Happy New Year!
  12. check this http://forum.phpvms.net/topic/5814-step-1-aircraft-buying-mod-version-08/
  13. hi TAV1702 you are getting the copy right?
  14. hi all I put the skin "layout_dark" in admin center, but when I go on the airport list or pilots list does not appear to open the Filter button or buttons to change pages. attach photo http://s3.imagestime.com/out.php/i623957_er.png
  15. This is the link working! http://www.megaupload.com/?d=133LICG0
  16. hello I have this skin you see on my website: http://www.italianivolanti.it/ (click on "virtual airline") if you want I send you the file
  17. hi TAV1702 ! When I click on "Reset pilot pay" returns all the money the pilot
×
×
  • Create New...