<!--#include virtual="/show/indexhead.asp"-->

<script language=javascript>
function refreshImage(img)
{
    var imageUrl = '/inc/code/'; 
    img.src = imageUrl + '?' + Math.random();
}
function checklog()
{ 

   if(document.login.username.value=="")
   {alert("请填写帐号");return false} 
   
    if(document.login.password.value=="") 
   {alert("请填写密码");return false}

   if(document.login.chkcode.value=="") 
   {alert("请填写验证码");return false}

   if(document.login.chkcode.value=="验证码") 
   {alert("请填写验证码");return false}
   
   
	var reg = /[\u4e00-\u9fa5]/g;
	if(reg.test(login.username.value)){alert("请正确填写手机号或邮箱！");return false;}
   

} 
</script>

<form name="login" method="post" action="/index/checkuser" onSubmit="return checklog()">
<div class="bannerlog">
    <div class="shier_denglu">
        <div class="loginbox">
            <div class="loginlog conter">
                <p style=" width:310px; height:80px; line-height:80px; font-size:16px; font-weight:bold; display:block;">账户登录</p>
                <div class="logininput">
                <p><input name="username" class="loginsrk" type="text"  style="color:#949494;" maxlength="20" value="手机号或邮箱" onClick="this.value=''"></p>
                <p>
                
                <input name="pass" class="loginsrk" type="text" style="color:#949494;margin-bottom:22px;" maxlength="20" value="密码" onFocus="this.style.display='none';document.getElementById('password').style.display='block';document.getElementById('password').focus().select();">
                
                <input name="password" class="loginsrk" type="password" id="password"  style="color:#949494;margin-bottom:22px;display:none;" maxlength="20" onClick="this.value=''">
                
                </p>
                <p><input name="chkcode"  class="loginsrk" type="text"  style="color:#949494;width:145px;" maxlength="4" value="验证码" onClick="this.value=''">
                <img src="/inc/code/" alt="点击刷新验证码" border=0 onClick="refreshImage(this);" style="cursor:pointer;float:right; padding-top:7px; padding-right:3px"></p>
                <p class="denglup"><a href="/index/pass" style="float:left">忘记密码</a> <a href="/index/reg" style="float:right; color:#F00">免费注册</a></p>
                <input style="cursor:pointer" name="denglu" type="submit" class="shier_dl" id="denglu" value=" 登 录 ">
                <input name="act" type="hidden" id="act" value="logindex">
                
                <input name="ww" type="hidden" id="ww" value="">
                <input name="hh" type="hidden" id="hh" value="">
        	
                </div>
            </div>
        </div>
    </div>
</div>
</form>

<script language="javascript">
document.getElementById("ww").value=screen.width;
document.getElementById("hh").value=screen.height;
</script>



<div class="clearit"></div>


<!--#include virtual="/show/indexfoot.asp"-->