<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->change_avatar}</title>
{$headerinclude}
</head>
<body id="forums">
{$header}
<table width="100%" border="0" align="center">
<tr>
{$usercpnav}
<td valign="top">
{$avatar_error}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->change_avatar}</strong></td>
</tr>
<tr>
<td class="trow1" colspan="2">
<table cellspacing="0" cellpadding="0" width="100%">
<tr>
<td>{$lang->avatar_note}{$avatarmsg}</td>
{$currentavatar}
</tr>
</table>
</td>
</tr>
<tr>
<td class="tcat" colspan="2"><strong>{$lang->custom_avatar}</strong></td>
</tr>
<form enctype="multipart/form-data" action="usercp.php" method="post">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
{$avatarupload}
<tr>
<td class="trow2" width="40%">
<strong>{$lang->avatar_url}</strong>
<br /><span class="smalltext">{$lang->avatar_url_note}</span>
</td>
<td class="trow2" width="60%">
<input type="text" class="textbox" name="avatarurl" size="45" value="{$avatarurl}" />
<br /><span class="smalltext">{$lang->avatar_url_gravatar}</span>
</td>
</tr>
</table>
<br />
<div align="center">
<input type="hidden" name="action" value="do_avatar" />
<input type="submit" class="button" name="submit" value="{$lang->change_avatar}" />
{$removeavatar}
</div>
</td>
</tr>
</table>
</form>
{$footer}
</body>
</html>