Jump to content

Box in frontpage


mobitu

Recommended Posts

hello again,

i have a new challenge and i dont know how to do it for the frontpagemain.

I would like to have a info box about new pilots in the VA.

i like something like that:

it would read new pilots

thump_2795376va.jpg

i only be able to get the name... i would like to know how to put the flag and the hire date

thanksssss

Link to comment
Share on other sites

  • Administrators

I think it's $pilot or whatever the variable is

// The country image
echo '<img src="'.Countries::getCountryImage($pilot->location).'" />';

// Join date

echo date('m-d-Y', $pilot->joindate);

Hopefully that helps!

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...