Thought I would share this... I made this yesterday, then saw the desire for it on here. Wings On Air and USA Flight Club are using this and we got the idea from one of our members who just made the avatar. It is a work in progress as I haven't taken the style jiberish out, yet and put it into css. As you can see this is just creating a background for a table and having the avatar a person uploads to the site and everything else, which makes every users badge custom to them. Problem is, you can't download from your site with it set up this way, and that's a bumber, so I'm trying to figure out how to modify the badge in phpvms to adjust the layout of the badge.
Any help there would be appreciated.
Here is the code:
***********************************************************************************************************************************
<div align="left">
<table>
<tr>
<td style="width: 235px; height: 300px; background: url('<?php echo SITE_URL.'/lib/avatars/avatar_back_wingsonair.png'; ?>')"><br /><br /><br /><center>
<p>
<center><b><font face="Arial" size="+1" color="#FF0000"><?php echo $pilotcode . ' - ' . $userinfo->firstname; ?></font></b></center>
<center><b><font face="Arial" color="#000000"><?php echo $userinfo->rank;?></font></b></center>
<table align="left" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><?php
if(!file_exists(SITE_ROOT.AVATAR_PATH.'/'.$pilotcode.'.png')) {
echo 'No Avatar you can upload an Avatar by going to the pilot center, then go to edit profile';
} else {
echo '<img src="'.SITE_URL.AVATAR_PATH.'/'.$pilotcode.'.png'.'" alt="No Avatar" width="115" height="115" /> ';
}
?>
</td>
</tr>
</table></td>
<td><table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="<?php echo PilotData::getPilotAirlineLogo(Auth::$userinfo->pilotid); ?>" align="top" width="70px" height="70px" /></td>
</tr>
<tr>
<td><img src="<?php echo $pilot->rankimage?>" alt="<?php echo $pilot->rank;?>" align="left" style="max-width: 70px" /></td>
</tr>
</table></td>
</tr>
</table>
</center>
<center><b><font face="Arial" color="#000000">Member Since:</font></b> <b><font color="#152F8C"><?php echo (date('m/d/Y', strtotime($userinfo->joindate))); ?></font></b></center>
</td>
</tr>
</table>
</div>
********************************************************************************************************************************************************