<%@ page language="C#" autoeventwireup="true" inherits="admin_login, App_Web_5fvwns4r" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>上海和尘网站系统管理</title>

<style type="text/css">
body {
	margin:0px;
}
body,td,th,input,password{ font-size:12px;font-family: Verdana, Geneva, sans-serif;}
body,td,th {
	font-size: 12px;
}
.input {background:#F6FAF7; height:16px; line-height:16px; padding:3px; border:1px solid #666;font-weight:bold;font-size:12px;font-family:Verdana, Geneva, sans-serif;}
.inputhover {background:#FFFBBC; height:26px; line-height:16px; padding:3px; border:1px solid #666;font-weight:bold;font-size:12px;font-family:Verdana, Geneva, sans-serif;}

.btn { background:url(images/login_r6_c7.png); height:31px; width:90px; border:0px;font-size:12px;}
.btnhover { background:url(images/login_r8_c3.png); height:31px; width:90px; border:0px;font-size:12px;}
a:link {
	color: #0E7347;
}
a:visited {
	color: #0E7347;
}
a:hover {
	color: #FF8600;
}
a:active {
	color: #0E7347;
}
label{color:Red;}
.error{color:Red;}

</style>

<script src="uploadify/jquery-1.4.2.min.js" type="text/javascript"></script>

<script language="JavaScript">

function CheckForm()
{
 
 if($.trim($("#admin").val())=="") 
 {
	$("#admin").focus();
    alert("请输入用户名！");
	return false;
  } 
 
 if($.trim($("#password").val())=="") 
 {
	$("#password").focus();
    alert("请输入密码！");
	return false;
  } 
 
 if($.trim($("#yzm").val())=="") 
 {
	$("#yzm").focus();
    alert("请输入验证码！");
	return false;
  }
 
}

function refreshimg()
{
   document.all.imagecode.src='imagecode.aspx?'+Math.random();
}
</script>


</head>
<body>
    <form id="myform" runat="server">

<table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%">
  <tr>
    <td align="center" valign="middle">
    
    
      <table width="700" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="350" align="center"><p><img src="Images/login_r4_c2.png" height="120" alt="" /></p>
            <p>&nbsp;</p>
            <p>&nbsp;</p></td>
          <td width="30"><img src="images/login_r2_c4.png" width="28" height="405"></td>
          <td width="350" align="center"><table  border="0" cellspacing="0" cellpadding="5">
            <tr>
              <td height="50" colspan="3"><img src="images/login_r3_c6.png" width="212" height="30" alt=""><br />
                  
                </td>
              </tr>
            <tr>
              <td align="left">用户名</td>
              <td colspan="2" align="left">
                  <input runat="server" name="admin" type="text" value="" id="admin" class="input" style="width:160px;" /></td>
            </tr>
            <tr>
              <td align="left">密&nbsp;&nbsp;&nbsp;码</td>
              <td colspan="2" align="left"><input runat="server" name="password" type="password" value="" id="password" class="input" style="width:160px;" /></td>
            </tr>
            
            <tr>
              <td align="left">验证码</td>
              <td align="left"><input name="yzm" id="yzm" type="text" class="input" style="width:80px;"/></td>
              <td><a href="javascript:;" onclick="javascript:refreshimg();"><img src="imagecode.aspx" id="imagecode" name="imagecode" align="absmiddle" border="1" style="WIDTH: 72px; CURSOR: pointer; HEIGHT: 22px;" align="texttop" title="看不清，点击换一个"></a></td>
            </tr>
                        
            <tr>
              <td align="center"></td>
              <td colspan="2"><label> 
                  <asp:Button ID="Button1" runat="server" Text="登录" CssClass="btn" OnClick="Button1_Click" />
                  
              </label>
              <span id="tip_load"></span>
              </td>
            </tr>
            
            <tr>
              <td>&nbsp;</td>
              <td colspan="2"></td>
            </tr>
          </table></td>
        </tr>
      </table>
    
    
    </td>
  </tr>
</table>




    </form>
</body>
</html>
