Jump to content

lorlandi

Members
  • Posts

    173
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by lorlandi

  1. Hi all, i have many information in all Pireps like a long list, due to that i'm trying to create a code to give the options on show Route Map, Flown Data (Log) and Comments in order to show only thats options and not all the information. Many thanks for the support.
  2. Wayne, if you need to test your site connection i have custom kacars too, just creates a test account on your server and send me by PM the settings to connect, i'll do with my custom kacars. After test you can delete me. Regards
  3. Ok many thanks for the help. Regards
  4. Hi, a little question about this code, if i want to show the same information but in the pilot list for each pilot. Is correct...... i must to change $userinfo->lastpirep by $pilot->lastpirep or change other parts of the code. Thanks
  5. SOLVED, was my mistake. Many Thanks all. Regards
  6. Thanks for the help, i do that, the error message was killed but no image is present, just this words......" alt=" "/>. Also see the attached image. Regards
  7. Many thanks for the reply and help, but still have the problem with error message "Parse error: syntax error, unexpected $end in /home/xxxxxxxxxx/xxxxx/schedule_results.tpl on line 172" The complete code is the same than you posted. Thanks anyway Regards
  8. Hi, sorry for this question but i have problems to show the plane image, this is the code : { // there is a flight for sunday , so echo that plane icon out // img src="<?php echo SITE_URL?>/lib/skins/Template1/images/inair.png;?"> echo '"<?php echo SITE_URL?>/lib/skins/Template1/images/inair.png;?">'; } I have two options, wich is the correct sentence ?????. Also when activate the first or second option a message with error appear in the page "Parse error: syntax error, unexpected $end in /home/xxxxxxxxxx/xxxxx/schedule_results.tpl on line 172" line 172 is the last but it's a blank row, i tried deleted but the error still there. Any suggestion ??? Thanks for the help. Regards
  9. If you are using Windows Vista or 7, right click on kacars icon, then properties.....compatibility....execute like administrator, apply and accept. Regards
  10. Wich version of framework do you have, you can try making an update. Also check the kacars version if you install the kacars.php 1.0.0.9 the instalator (.msi must to be the same version) Regards
  11. lorlandi

    HubStats Class

    Any chance to code something like schedules search, i mean search a hub consulting all airports and to show only the selected airport by ICAO. Regards
  12. Dear all, just we know those files are very difficult to find, i explain in PM messages when i offer my help i thought you need just the vatsimphp generator and other files included in my e-mails. Once again i apologize for this misunderstanding, i'm still looking for the files to send. Regards
  13. PM me with your e-mail and i'll send you the files with some little instructions. Regards
  14. We have served 8 years in the virtual skies, we will celebrate this anniversary with a fly in the day March 20 from 17:00 hrs. local (21:00 hrs. z), with service in the FIR's SCFZ, SCEZ and SCTZ. Of course there are all invited to attend our first event which we hope to help spread even more to aviation and the quality of virtual pilots and controllers worldwide. Best regards
  15. This code is working in my VA, just replace spanish words to english and TPR icao. <?php require_once("VatsimPHPgenerator.php"); $VatsimPHP=new VatsimPHP; echo "<CENTER><FONT SIZE=\"3\"><B><U>Pilotos en Vuelo Conectados a VATSIM</U></B></FONT></CENTER>"; echo "<TABLE WIDTH=\"100%\" CELLSPACING=\"0\" CELLPADDING=\"0\">"; $pilotlist=$VatsimPHP->airline(array("TPR")); for($i = 0; $i < count($pilotlist); $i++) { echo "<TR><TD WIDTH=\"100%\" STYLE=\"border: 1 solid #003C00\"><TABLE WIDTH=\"100%\" CELLSPACING=\"0\" CELLPADDING=\"0\">"; echo "<TR><TD WIDTH=\"100%\" COLSPAN=\"4\" BGCOLOR=\"#DDDDDD\"> <FONT SIZE=\"2\"><B>".$pilotlist[$i][2]."</B></FONT></TD></TR>"; echo "<TR><TD WIDTH=\"20%\" ROWSPAN=\"3\" VALIGN=\"TOP\" ALIGN=\"CENTER\" STYLE=\"border: 1 solid #DDDDDD\"><FONT SIZE=\"1\"><A HREF=\"http://www.vataware.com/pilotredir.cfm?cid=".$pilotlist[$i][1]."\">".$pilotlist[$i][0]."</A><BR>"; if($pilotlist[$i][9]) { echo $pilotlist[$i][9]; } echo "<BR>"; if($pilotlist[$i][21]) { echo $pilotlist[$i][21]."FR"; } echo "</FONT></TD>"; echo "<TD WIDTH=\"20%\" STYLE=\"border: 1 solid #DDDDDD\"><FONT SIZE=\"1\">".$pilotlist[$i][8]." KT</FONT></TD>"; echo "<TD WIDTH=\"10%\" VALIGN=\"TOP\" ROWSPAN=\"7\" STYLE=\"border: 1 solid #DDDDDD\"><FONT SIZE=\"1\">".$pilotlist[$i][11]."<BR>".$pilotlist[$i][13]."<BR><BR>".$pilotlist[$i][28]."</FONT></TD>"; echo "<TD WIDTH=\"50%\" VALIGN=\"TOP\" ROWSPAN=\"5\" STYLE=\"border: 1 solid #DDDDDD\"><FONT SIZE=\"1\">"; if($pilotlist[$i][30]) { echo $pilotlist[$i][30]."<BR><BR><B>RMK:</B> ".$pilotlist[$i][29]; } echo "</FONT></TD></TR>"; echo "<TR><TD WIDTH=\"20%\" STYLE=\"border: 1 solid #DDDDDD\"><FONT SIZE=\"1\">".$pilotlist[$i][7]." FT</FONT></TD></TR>"; echo "<TR><TD WIDTH=\"20%\" STYLE=\"border: 1 solid #DDDDDD\"><FONT SIZE=\"1\">".$pilotlist[$i][12]."</FONT></TD></TR>"; echo "</TABLE></TD></TR>"; } if(count($pilotlist) == "0") { echo "<TR><TD WIDTH=\"100%\" COLSPAN=\"2\" ALIGN=\"CENTER\"><FONT SIZE=\"1.5\">Por el momento no hay Pilotos en Vuelo.</FONT></TD></TR>"; } echo "</TABLE>"; ?>
  16. You must check directly on the navdata database if the route points are correctly entered, for example, the fix TIMPU in EUROPE, look on all information and compare the same with some external data, if something is wrong like location yours fixes in the map will be show wrongly. in the attached jpg file you can see whow the database is structured. Best regards
  17. Thanks Tylor, the code works very nice, many thanks for your post. Regards
  18. Transpolar Virtual Cargo http://www.transpolar.cl
  19. Thanks lorathon i'll check those files. Regards
  20. Hi, regarding your post..... 1. transferhours - manually input hour field. This can be used for pilot promotions or not (setting in local.config.php) That is the problem, on input manually the hours and then click on save.....they are not saved, the field remain in "0". Regards and thanks
  21. Thanks Joeri but i made a bad explanation about add Pilot hours. When new pilot is registered and have hours from other VA i can't update those hours on admin page, i must to do that directly from database and the recalculate rank, but in admin page filled the option tranfers hours and then save total hours remain in 0, "transfer hours" is enable on local config. Best regards
  22. mmmmm, many time with the same problem, field transfer hour do not working in my VA admin page, hours aren't updated in pilot page, also "transfer hours" is enable on local config......any suggestion. Regards
  23. Ok Thanks, 221 pilots were deleted, all flight hours and pireps were keeped and the pilots number updated correctly. All deletion was made directly on de database manager. Regards
  24. Thanks for the answer, any way the system count well after delete records.
×
×
  • Create New...