Jump to content

Get Pilot Join Date


edmundk

Recommended Posts

Although, not tested. You should be able to place it in the core/templates/frontpage_recentpilots.tpl like this:

<?php

foreach($pilots as $pilot)
{
?>
<p><?php echo PilotData::GetPilotCode($pilot->code, $pilot->pilotid). ' ' .$pilot->firstname . ' ' . $pilot->lastname?> <?php echo date(DATE_FORMAT, strtotime($userinfo->joindate)); ?></p>
<?php
}
?>

It should work though Edmund.

**Remember, any time you edit a core/templates/.tpl file, you should place the edited one in your lib/skins/your skin folder, so it wont be overwritten during a phpVMS update.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...