Moderators mark1million Posted May 1, 2011 Moderators Report Share Posted May 1, 2011 HI for some reason i cant remember why now but i changed the code in the profile_main.tpl, clearly this is not the right statement to get the next users rank and current hours as they are not showing up. <tr> <?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 } ?> </tr> Quote Link to comment Share on other sites More sharing options...
Jeff Posted May 1, 2011 Report Share Posted May 1, 2011 Here you go Mark... <?php if($nextrank) { ?> <p align="center"><font color="#FF0000">You have <?php echo ($nextrank->minhours - $pilot_hours)?> hours left until your promotion to <?php echo $nextrank->rank?></font></p> <?php } ?> Quote Link to comment Share on other sites More sharing options...
Moderators mark1million Posted May 1, 2011 Author Moderators Report Share Posted May 1, 2011 Yeh thats the code im using but its not working, i think Nabeel broke it in the recent beta Only kidding, but it doesnt work Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.