Jump to content

ThomasH

Members
  • Posts

    24
  • Joined

  • Last visited

Posts posted by ThomasH

  1. I would find it good if the flights are also practicable by different airplanes. Quite a lot of amateur pilot has thus his predilections. One there fly dear airbus, the other dear Boeing. Thus one could avoid that then every flight must be given three times or more. With the flight choice the pilot can decide which airplane he would like to take with pleasure. Though is unrealistic a little bit, but it offers a high flexibility for the pilots.

  2. Does somebody know from you FSAirlines.net? There one can also select with the flight schedule choice which airplane one would like to take.

    Could one insert also with phpvms?

    Example: I have the possibility to make the flight KMIA-KBOS with a B738, A320, B753. I can choose this with the flight schedule choice?

  3. What is your line 45?

    ah sorry

       
    37     <center><td><?php echo Util::AddTime($pilot->totalhours, $pilot->transferhours); ?></td></center>
    38     <td colspan="2"><center>
    39       <?php
    40  $last_location = PIREPData::getLastReports($pilot->pilotid, 1, PIREP_ACCEPTED);
    41
    42  echo "This pilot's last location is: {$last_location->arricao}";
    43  ?>
    44   </tbody>
    45   </table>

  4. In the pilot roster a table in which the last location (current location) is indicated should appear.

    In addition I have in the pilots_list.tpl following code:

    <table width="789" class="tablesorter" id="tabledlist">
     <thead>
    <tr bgcolor="#336699">
      <th>Pilot ID</th>
      <th width="25%">Name</th>
      <th width="10%">Rank</th>
      <th width="16%">Flights</th>
      <th width="23%">Hours</th>
      <th>Location</th>
      </tr>
    </thead>
    <?php foreach($roster as $pilot) { ?>
    <tr align="left" valign="middle" bgcolor="#DFF4FF">
      <td width="9%" align="right" nowrap>
          <img src="<?php echo Countries::getCountryImage($pilot->location);?>"
            alt="<?php echo Countries::getCountryName($pilot->location);?>" />
     <a href="<?php echo SITE_URL?>/index.php/profile/view/<?php echo $pilot->pilotid?>">
            <?php echo PilotData::GetPilotCode($pilot->code, $pilot->pilotid)?></a>
      </td>
      <td nowrap="nowrap">
    
    
         <left><?php echo $pilot->firstname.' '.$pilot->lastname?></center>
      </td>
      <center><td align="center"><img src="<?php echo $pilot->rankimage?>" alt="<?php echo $pilot->rank;?>" /></td></center>
      <center><td><?php echo $pilot->totalflights?></td></center>
      <center><td><?php echo Util::AddTime($pilot->totalhours, $pilot->transferhours); ?></td></center>
      <td colspan="2"><center>
        <?php
    $last_location = PIREPData::getLastReports($pilot->pilotid, 1, PIREP_ACCEPTED);
    
    echo "This pilot's last location is: {$last_location->arricao}";
    ?>
      </tbody>
    </table>

    Then I get the error message in the browser:

    Parse error: syntax error, unexpected $end in /kunden/265414_32756/html/phpvms/core/templates/pilots_list.tpl  on line 45

    Where is the mistake?

    Greetings

    Thomas

  5.    <center><td><?php $last_location = PIREPData::getLastReports($pilot->pilotid, 1, PIREP_ACCEPTED);
    echo $last_location->arricao ; ?>
    </td></center>
    </tr>
     </tbody>
    </table>
    

    And then come:

    Parse error: syntax error, unexpected $end in /kunden/265414_32756/html/phpvms/core/templates/pilots_list.tpl  on line 45

  6. Ok, this is my code in pilots_list.tpl:

    39 <center><td><?php echo $userinfo->arricao;?></td></center>

    40 </tr>

    41 </tbody>

    42 </table>

    But becom error message in the browser:

    Parse error: syntax error, unexpected $end in /kunden/265414_32756/html/phpvms/core/templates/pilots_list.tpl on line 43

    hmm, can you help me?

  7. Okay, I have acted.

    The result:

    Warning: include(/kunden/265414_32756/html/phpvms/core/lib/php-ofc-library/open-flash-chart.php) [function.include]: failed to open stream: No such file or directory in /kunden/265414_32756/html/phpvms/core/modules/Pilots/Pilots.php on line 85

    Warning: include() [function.include]: Failed opening '/kunden/265414_32756/html/phpvms/core/lib/php-ofc-library/open-flash-chart.php' for inclusion (include_path='.:/usr/local/lib/php') in /kunden/265414_32756/html/phpvms/core/modules/Pilots/Pilots.php on line 85

    Fatal error: Class 'title' not found in /kunden/265414_32756/html/phpvms/core/modules/Pilots/Pilots.php on line 87

    Now the Pilots.php:

    Good night, greetings from Germany

    Thomas

  8. Hello,

    I have the problem that I get no statistics indicated. Under "MyStats" or also in the Admin Panel with "pilot of report for the Past Week" I see only this error message.

    error.jpg

    Unfortunately, the search also has nobody occur brought. The newest update is on it.

    Just I wanted to insert a few airports, now he himself does not find known any more. If I fill everything of hand, the system does not accept him.

    Can somebody help me?

    Greets

    Thomas

×
×
  • Create New...