<script type="text/javascript">
//<![CDATA[
// Set up img vars
var img_markers = {
	'bc_new.gif' : 'bc_nonew.gif',
	'bf_new.gif' : 'bf_nonew.gif',
	'br_new.gif' : 'br_nonew.gif'
};
var regex_markers = 'bc_new.gif|bf_new.gif|br_new.gif';
function focus_username( e )
{
	if ( e.value == "{$this->ipsclass->lang['qli_name']}" )
	{
		e.value = '';
		return false;
	}
}
function focus_password( e )
{
	if ( e.value == "------" )
	{
		e.value = '';
		return false;
	}
}
//]]>
</script>
<script type="text/javascript" src="jscripts/ipb_forum.js"></script>
<table cellspacing="0" class="newslink">
	<tr>
		<td><b>{$this->ipsclass->lang['welcome_back_text']}: <span>$lastvisit</span></b><!-- IBF.NEWSLINK --></td>
		<td align="right" valign="middle">
		<if="$this->ipsclass->member['id'] == 0">
			<form action="{$this->ipsclass->base_url}act=Login&amp;CODE=01&amp;CookieDate=1" method="post">
				<input type="text" size="20" name="UserName" onfocus="focus_username(this)" value="{$this->ipsclass->lang['qli_name']}" />
				<input type="password" size="20" name="PassWord" onfocus="focus_password(this)" value="------" />
				<input class="button" type="image" src="{$this->ipsclass->vars['img_url']}/login-button2.gif" />
			</form>
		</if>
		</td>
	</tr>
</table>