Jump to content

lorlandi

Members
  • Posts

    173
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by lorlandi

  1. 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

  2. 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

  3. 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

  4. 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

  5. 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

  6. 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

    post-408-064531600 1299519220_thumb.jpg

  7. 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>";

    ?>

  8. M082F390 QIT UG426 TBG UG437 GONIS UL341 PIGBO UL780 URSUS AR23 ZFP AR24 DIW J174 ORF VS1 HTO J55 BOS J575 TUSKY N63B VIXUN NATR MALOT DCT MOLAK UN545 MAC UN562 SAB UL983 PETIL L983 VES L975 ELVIX M611 KOLJA M864 NINTA UM864 IGORO G3 FK CORR3 UM

    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

    post-408-060577000 1299175020_thumb.jpg

  9. 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

  10. 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

  11. Hi, just wondering to know how the system count the quantity of pilots on the VA site, by the last pilot ID or the real number of pilots in the database. I´m asking this thing because reading an old post why the VaCentral ranking is calculating the quantity of pilots versus quantity of flights are important, using that information i´ll proceed to delete all inactive pilots (inactive by a year) from the database.

    For example, total pilots 200, just pilot 001 and pilot 200 are active, deleting 198 inactive pilots whow many pilots will appear in the VAcentral system.

    Thanks for de answer.

    Regards

×
×
  • Create New...