phpvms / phpvms_v2

Virtual Airline Management (not maintained)
http://www.phpvms.net
BSD 3-Clause "New" or "Revised" License
41 stars 46 forks source link

profile_main.tpl pilots Next Rank #47

Closed mark1million closed 13 years ago

mark1million commented 13 years ago

Nabeel, Pilots next rank code doesn't seem to be working any more, this is what i have,

<?php
     if($nextrank)
     {
     ?>
<td colspan="2"><p align="center"><strong>You have</strong> <?php echo ($nextrank->minhours - $pilot_hours)?> <strong>hours left until your promotion to <?php echo $nextrank->rank?></strong></p></td>
   <?php
     }
     ?>  
nabeelio commented 13 years ago

Not working in what way?

mark1million commented 13 years ago

Completely blank nothing displayed or no errors either on the page or logs.