Jump to content

Txmmy83

Members
  • Posts

    493
  • Joined

  • Last visited

Posts posted by Txmmy83

  1. There is not requirements to install, just run the exe of the program and install to your desktop, put in your username and password with your sites url and there you go.

    Oh sorry I expressed my question false but thanks for the answer anyway :)

    I wanted to know how the new module need to be Proper placed on server

    I renamed the kACARS_Free Module - v1.0.0.9.php to kACARS_Free.php and placed in kACARS_Free module folder on server and getting non connection error when trying to log in with my VA login data

    not sure what I've doing wrong

    PS:

    found the Prob :) works like a charm now

  2. It works great for me but I get this Warning

    Warning: move_uploaded_file() [function.move-uploaded-file]: open_basedir restriction in effect. File(/tmp/phpjV7onP) is not within the allowed path(s): (/home/simaerobatic/) in /home/simaerobatic/htdocs/AMI/core/modules/Screenshots/Screenshots.php on line 59

    The file 1294957092_AB212Venice2.jpg has been uploaded - An Administrator will approve the screenshot prior to it being available in the gallery.

    any idea what causes that error and how I can get rid of it?

    thanks in advance

    Thomas

  3. I get this error warning but dont know whats wrong with my modified code of the Air Berlin Live Board I get only that error it works but it would be nice if someone could help me to get rid of that error!

    Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/simaerobatic/htdocs/AMI/lib/skins/brilliancev111/frontpage_recentbids.tpl on line 43

    I deleted all Flight Keeper related maybe deleted too much?

    <h3 style="text-align: center;">Flight Departures Board</h3>
       <?php
       if(!$lastbids) {
       echo '<p align="center">There are currently no booked flights!</p></div>';
       return;
       }
       ?>
       <center>
       <table cellspacing="0" cellpadding="0" style="border:1px solid grey;">
           <thead>
               <tr style="font-size:14px; font-weight:bold;">
                   <th align="center" style="background-color: #1F1F1F; width: 3.5%;"> </th>
                   <th align="center" style="background-color: #1F1F1F; width: 10%;"><font color="#ff8710"><b>Flight</b></font></th>
                   <th align="center" style="background-color: #1F1F1F; width: 30%;"><font color="#ff8710"><b>Departing</b></font></th>
                   <th align="center" style="background-color: #1F1F1F; width: 30%;"><font color="#ff8710"><b>Arriving</b></font></th>
                   <th align="center" style="background-color: #1F1F1F; width: 5%"><font color="#ff8710"><b>Aircraft</b></font></th>
                   <th align="center" style="background-color: #1F1F1F; width: 18.5%;"><font color="#ff8710"><b>Status</b></font></th>
               </tr>
           </thead>
           <tbody>
           <?php
               $flights = ACARSData::GetACARSData();  
               if ($flights > 0) {
                   if($flights) {
                   foreach($flights as $flight) {
                          $pid = $flight->pilotid + 100;?>
                   <tr style="height:12px; font-size:14px; font-weight:normal;">
                       <td align="center" valign="middle" style="background-color: #1F1F1F; padding: 1px;"><?php if($flight->phasedetail == "Boarding") { echo "<img style='padding-left:3px;' src='http://www.airberlinva.de/lib/skins/airberlin/images/dots_blink.gif'>"; } elseif($flight->phasedetail == "Arrived") { echo "<img style='padding-left:3px;' src='http://www.airberlinva.de/lib/skins/airberlin/images/dots.gif'>"; } elseif($flight->phasedetail == "On Approach") { echo "<img style='padding-left:3px;' src='http://www.airberlinva.de/lib/skins/airberlin/images/dots_yellow.gif'>"; } ?></td>
                       <td align="center" valign="middle" style="background-color: #1F1F1F;"><font color="#ff961e"><?php echo $flight->flightnum?></td>
                       <td align="center" valign="middle" style="background-color: #1F1F1F; padding-right: 5px;"><font color="#ff961e"> <?php echo $flight->depapt?></td>
                       <td align="center" valign="middle" style="background-color: #1F1F1F; padding-right: 5px;"><font color="#ff961e"> <?php echo $flight->arrapt?></td>
                       <td align="center" valign="middle" style="background-color: #1F1F1F; padding-right: 0px;"><font color="#ff961e"> <?php echo $flight->aircraftname?> </td>
                       <td
       align="center" valign="middle"
       style="background-color: #1F1F1F;"><font
       color="#ff961e"><?php if($flight->phasedetail
       != 'Paused') { echo $flight->phasedetail; }
       else { echo "Cruise"; } ?></font></td>
                   </tr>
                   <?php
                   }
                   }
                   while($row = mysql_fetch_assoc($result)) {
                   mysql_select_db('amiva_vms');
                   $dep = mysql_fetch_assoc(mysql_query("SELECT name FROM phpvms_airports WHERE icao = '$row[OriginAirport]'"));
                   $arr = mysql_fetch_assoc(mysql_query("SELECT name FROM phpvms_airports WHERE icao = '$row[DestinationAirport]'"));
                   $row['OriginAirport'];
                   ?>
                   <tr style="height:12px; font-size:14px; font-weight:normal;">
                       <td align="center" valign="middle" style="background-color: #1F1F1F; padding: 1px;"><?php if($row['Status'] == 0) { echo "<img style='padding-left:3px;' src='http://www.airberlinva.de/lib/skins/airberlin/images/dots_blink.gif'>"; } elseif($row['Status'] == 4) { echo "<img style='padding-left:3px;' src='http://www.airberlinva.de/lib/skins/airberlin/images/dots.gif'>"; } elseif($row['Status'] == 3) { echo "<img style='padding-left:3px;' src='http://www.airberlinva.de/lib/skins/airberlin/images/dots_yellow.gif'>"; }?></td>
                       <td align="center" valign="middle" style="background-color: #1F1F1F;"><font color="#ff961e"><?php echo $row['FlightNumber']; ?>*</td>
                       <td align="center" valign="middle" style="background-color: #1F1F1F; padding-right: 5px;"><font color="#ff961e"> <?php echo utf8_encode($dep['name']); ?></td>
                       <td align="center" valign="middle" style="background-color: #1F1F1F; padding-right: 5px;"><font color="#ff961e"> <?php echo utf8_encode($arr['name']); ?></td>
                       <td align="center" valign="middle" style="background-color: #1F1F1F; padding-right: 0px;"><font color="#ff961e"> <?php echo $row['Aircraft']; ?> </td>
                       <td align="center" valign="middle" style="background-color: #1F1F1F;"><font color="#ff961e"><?php  if($row['Status'] == 0) { echo "Boarding"; } elseif($row['PauseMode'] != 0) { echo "Paused"; } elseif($row['Status'] == 1) { echo "Taxiing to Runway"; } elseif($row['Status'] == 2 && $row['AltitudeStatus'] == 1) { echo "Cruise"; } elseif($row['Status'] == 2 && $row['AltitudeStatus'] == 2) { echo "Climbing"; } elseif($row['Status'] == 2 && $row['AltitudeStatus'] == 0) { echo "Descending"; } elseif($row['Status'] == 3) { echo "Taxiing to Gate"; } elseif($row['Status'] == 4) { echo "Arrived"; } ?></font></td>
                   </tr>
                   <?php          
                   }
               } else { ?>
                   <tr><td width="20%" align="center" colspan="6" style="padding: 5px; font-size: 13px; font-weight: bold; color: #ff961e;">No Flights in Progress!</td></tr>
               <?php
               }
               ?>
           </tbody>
       </table>
       <p><i>The actual, flights and flights completed in the last <?php echo Config::Get('ACARS_LIVE_TIME') ?> minutes.<br /></i></p>
    

    if I discovered right the status did not self refresh till you click site refresh right!?

  4. first of all REALScheduleLite is a great add-on :rolleyes:

    but like many other people I came to a problem when flying for example Austrian Arrows Flightplan with Plane getting stranded

    LOWW-UKBB

    UKBB-LOWW

    LOWW-EFHK

    EFHK-LOWW

    my question is their a workaround to get flights takeoff fly to destination and return and takeoff from Location of first flight?

    thanks in advance

    Thomas

  5. That's spamming rather than hacking. Recapcha is relatively good so I would expect it's just someone messing around.

    yep Recapcha is good if not the best:)

    if it was no human attacker

    then I would say it unfortunately look like some spambot programmer found a way to get through Recapcha antispam barrier

    did you have an IP of the attackers fake registrations?

    Best Regards

    Thomas

  6. the kesuk_new template which is activated at the moment on www.pirateairvirtual.com looks great so far :)

    is it difficult to adopt artisteer created templates?

    I am very interested to get the template of www.pirateairvirtual.com not for my personal use but only to check possibility creating my own template with artisteer

    Best Regards

    Thomas

  7. Yes, I just added an XML feed, and to access it, get your VA central page, and add /xml to the end of the URL:

    IE:

    http://www.vacentral.net/airline/cva_canadianvirtualairlines/xml

    Then you can call it in phpVMS:

    <?php
    $cws = new CodonWebService();
    $xml = $cws->get('YOUR VACENTRAL XML URL');
    $xml = simplexml_load_string($xml);
    
    echo "Our airline's rank is {$xml->rank}";
    ?>
    

    Moving this to code snippets...

    where should I post this code to make it show up on site?

    Best Regards

    Thomas

×
×
  • Create New...