
<script language='JavaScript' type="text/javascript">
<!--
function ValidateForm() {
	var Check = 0;
	if (document.LOGIN.UserName.value == '') { Check = 1; }
	if (document.LOGIN.PassWord.value == '') { Check = 1; }
	if (Check == 1) {
		alert("{$ibforums->lang['blank_fields']}");
		return false;
	} else {
		document.LOGIN.submit.disabled = true;
		return true;
	}
}
//-->
</script>     
<br />
<!-- Borderline skin by InvisionSkins.com - copyright 2003 Goof Muilwijk [Roadkill71] -->
<div style='padding: 7px;'>{$ibforums->lang['login_text']}<br /><br /><strong>{$ibforums->lang['forgot_pass']} <a href='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?act=Reg&amp;CODE=10'>{$ibforums->lang['pass_link']}</a></strong></div>
<form action="{$ibforums->base_url}act=Login&amp;CODE=01" method="post" name='LOGIN' onsubmit='return ValidateForm()'>
<input type='hidden' name='referer' value="$referer" />
<div class='border'>
<div class='tableborder'>
<div style='float: right;padding:3px;'><{CAT_IMG}></div>
<div class='maintitle'><{CAT_IMG}>&nbsp;{$ibforums->lang['log_in']}</div>
<div class='titlemedium'>$message</div>
<table cellpadding='3' cellspacing='0' border='0' width='50%'>
  <tr>
    <td class='content'>{$ibforums->lang['enter_name']}</td>
    <td class='content'><input type='text' size='20' maxlength='64' name='UserName' class='forminput' /></td>
  </tr>
  <tr>
    <td class='content'>{$ibforums->lang['enter_pass']}</td>
    <td class='content'><input type='password' size='20' name='PassWord' class='forminput' /></td>
  </tr>
</table>
<div class='titlemedium'>{$ibforums->lang['options']}</div>		
<table cellpadding='3' cellspacing='0' border='0' width='100%'>
  <tr>
    <td class='content' width='50%'>{$ibforums->lang['cookies']}</td>
    <td class='content' width='50%'><input type="radio" name="CookieDate" value="1" checked="checked" />{$ibforums->lang['cookie_yes']}<br /><input type="radio" name="CookieDate" value="0" />{$ibforums->lang['cookie_no']}</td>
  </tr>
  <tr>
    <td class='content'>{$ibforums->lang['privacy']}</td>
    <td class='content'><input type="checkbox" name="Privacy" value="1" />{$ibforums->lang['anon_name']}</td>
  </tr>
</table>		
<div class='titlemedium' style='text-align: center;'><input type="submit" name='submit' value="{$ibforums->lang['log_in_submit']}" class='forminput' /></div>
</div>
</div>
</form>
