<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<%--<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">--%>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>酒店客房控制系统--用户登录</title>
	<link href="/Styles/login.css" rel="stylesheet" type="text/css" />
	<script src="/easyui-1.4.2/jquery.min.js" type="text/javascript"></script>
	<% switch ((int)Session["isCN"]){case 1: %>
    <script type="text/javascript" src="/Scripts/en-US.js"></script>
    <% break; case 2: %>
    <script type="text/javascript" src="/Scripts/zh-TW.js"></script>
    <% break;default: %>
    <script type="text/javascript" src="/Scripts/zh-CN.js"></script>
    <% break; } %>
	<script src="/Scripts/login.js" type="text/javascript"></script>
	<script type="text/javascript" src="/easyui-1.4.2/jquery.easyui.min.js"></script>
</head>
<body>
	
	<div class="container">
		
		<div class="header">
			<%--<img src="/images/logo_actop.png" alt="宝来威智能科技有限公司" />--%>
		</div>
		
		<div id="loginbox">
			<table cellspacing="5">
				<tr>
					<td><label><%: Html.Language("Account")%>：</label></td>
					<td colspan="2"><input type="text" id="txtAccount" name="account" class="text" style="width:210px;" /></td>
				</tr>
				<tr>
					<td><label><%: Html.Language("Password")%>：</label></td>
					<td colspan="2"><input type="password" id="txtPassword" name="password" class="text"  style="width:210px;" /></td>
				</tr>
				<tr>
					<td><label><%: Html.Language("VerificationCode")%>：</label></td>
					<td style="width:90px;"><input type="text" id="txtCode" name="code" class="text"  style="width:88px;" /></td>
					<td style="text-align:left;">
						<img src="/Home/ValidateCode/" style="cursor:pointer;" alt="点击刷新" title="点击刷新" onclick="this.src=this.src+'?';" />
					</td>
				</tr>
				
				<tr>
					<td colspan="3" style="height:50px;text-align:center">
						<a class="button" href="javascript:void(0);" onclick="logOn();"> <%: Html.Language("Login") %></a>&nbsp;
						<a class="button" href="javascript:void(0);" onclick="reset();"><%: Html.Language("Reset")%></a>
					</td>
				</tr>
				<tr>
					<td colspan="3">
						<div id="msg" style="color:red;line-height:30px;height:30px;"></div>
					</td>
				</tr>
			</table>
		</div>
		
		<div class="footer">
			<div class="copyright">
				深圳市宝来威智能科技有限公司<br />
				COPYRIGHT &copy; 2014-2016 ALL RIGHT RESERVED
			</div>
		</div>
	</div>
	
</body>
</html>
