Jump to content

JonnyKukula

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by JonnyKukula

  1. Hello, I have been having an issue with my website. I got this skin and when I go to the pilots list, as shown in picture below, it is all messed up. I have the code for the pilots list here. Does anyone see anything wrong with the code?

    http://westjetvirtual.com

    http://westjetvirtual.com/index.php/pilots

    Thank you for your help,

    Jonny

    <div class="clearfix colelem" id="u1543"><!-- group -->
       <div class="clearfix grpelem" id="u1546"><!-- group -->
      <p>Pilots</p>
     </div>
       </div>
       <div class="grpelem" id="u1553"><!-- simple frame --></div>
      </div>
      <div class="clearfix colelem" id="pu579"><!-- group -->
       <div class="rgba-background mse_pre_init" id="u579"><!-- simple frame --></div>
       <div class="museBGSize mse_pre_init" id="u580"><!-- simple frame --></div>
       <div class="mse_pre_init" id="u581"><!-- simple frame --></div>
      </div>
      <div class="clearfix colelem" id="u1556"><!-- group -->
    		 <div class="grpelem" id="u1563"><?php
    	 if(!$allpilots)
    {
     echo 'There are no pilots!';
     return;
    }
    ?> <table id="id_table">
       <tbody><tr>
        <th>Pilot ID</th>
        <th>Name</th>
        <th>Location</th>
        <th>Rank</th>
    							  <th>Flights</th>
        <th>Hours</th>
       </tr>
    					    <?php
    foreach($allpilots 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><a href="<?php echo url('/profile/view/'.$pilot->pilotid);?>">
      <?php echo PilotData::GetPilotCode($pilot->code, $pilot->pilotid)?></a></td>
    		    <td><?php echo $pilot->firstname.' '.$pilot->lastname?></td>
        <td><img src="<?php echo Countries::getCountryImage($pilot->location);?>" />
      <?php echo Countries::getCountryName($pilot->location);?></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>
       </tr>
    					    <?php
    }
    ?>
    
      </tbody></table></div>
      </div>
    

    post-51093-0-92582800-1480542404_thumb.png

  2. I am trying to install this. I installed it and followed all of the readmes that were in the folder. I get this error:

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

    and

    Notice: The template file "/home/westjet1/public_html//lib/skins/ocean_blue/footer.tpl" doesn't exist in /home/westjet1/public_html/core/classes/TemplateSet.class.php on line 24

    What should I do? What did I do wrong? I and running phpVMS on version 5.5.

    post-51093-0-52629600-1479176916_thumb.png

    post-51093-0-90094800-1479176935_thumb.png

×
×
  • Create New...