Jump to content

LH154

Members
  • Posts

    11
  • Joined

  • Last visited

Posts posted by LH154

  1. Has unfortunately not worked. Here times the original code I hope this is not a problem
     

    <section class="page-contents">
    <div class="container">
    <?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
    <h3><i class="fa fa-users" fa-lg"></i> <?php echo $title?></h3>
    
    <?php
    if(!$pilot_list) {
    	echo 'There are no pilots!';
    	return;
    }
    ?>
    
    <table class="sky_table" width="100%" cellspacing="0">
    <thead>
    <tr>
    	<th>Pilot ID</th>
    	<th>Name</th>
    	<th>Rank</th>
    	<th>Flights</th>
    	<th>Hours</th>
    </tr>
    </thead>
    <tbody>
    <?php
    foreach($pilot_list as $pilot)
    {
    	/* 
    		To include a custom field, use the following example:
    
    		<td>
    			<?php echo PilotData::GetFieldValue($pilot->pilotid, 'VATSIM ID'); ?>
    		</td>
    
    		For instance, if you added a field called "IVAO Callsign":
    
    			echo PilotData::GetFieldValue($pilot->pilotid, 'IVAO Callsign');		
    	 */
    	 
    	 // To skip a retired pilot, uncomment the next line:
    	 //if($pilot->retired == 1) { continue; }
    ?>
    <tr>
    	<td width="1%" nowrap><a href="<?php echo url('/profile/view/'.$pilot->pilotid);?>">
    			<?php echo PilotData::GetPilotCode($pilot->code, $pilot->pilotid)?></a>
    	</td>
    	<td>
    		<img src="<?php echo Countries::getCountryImage($pilot->location);?>" 
    			alt="<?php echo Countries::getCountryName($pilot->location);?>" />
    			
    		<?php echo $pilot->firstname.' '.$pilot->lastname?>
    	</td>
    	<td><img src="<?php echo $pilot->rankimage?>" alt="<?php echo $pilot->rank;?>" /></td>
    	<td><?php echo $pilot->totalflights?></td>
    	<td><?php echo Util::AddTime($pilot->totalhours, $pilot->transferhours); ?></td>
    <?php
    }
    ?>
    </tbody>
    </table>
    </div>
    </section>

     

  2. Hi Guys,

    i have a problem on the Lines

    Warning: Missing argument 1 for vStatsCenter::index() in /home/stuttgar/public_html/core/modules/vStatsCenter/vStatsCenter.php on line 19

    Warning: Missing argument 2 for vStatsCenter::index() in /home/stuttgar/public_html/core/modules/vStatsCenter/vStatsCenter.php on line 19

    Notice: The template file "/home/stuttgar/public_html//core/templates/vStatsCenter/index.php.tpl" doesn't exist in /home/stuttgar/public_html/core/classes/TemplateSet.class.php on line 248

    can anyone help me to script or finish?

     

    greating Niko

  3. Hi have worried me a template of crazy creatives.

    After uploading I get the following error phpvms:

    Notice: The template file "/home/stuttgar/public_html//lib/skins/crazyskin01/header.tpl" doesn't exist in /home/stuttgar/public_html/core/classes/TemplateSet.class.php on line 248

    Can someone help me there?

    Thank you

×
×
  • Create New...