<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="login.aspx.cs" Inherits="JRAPI.Web.login" %>
<%@ Register src="Controls/Web_Top.ascx" tagname="Web_Top" tagprefix="uc1" %>
<!DOCTYPE HTML>
<html>
<head>
<meta charset="gb2312">
<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
<link  href="css/css.css" rel="stylesheet">
<script type="text/javascript" src="js/jquery-1.7.2.min.js"></script>
<title><%=JRAPI.Cache.ConfigCache.getSysConfigModel().SiteName%></title>
<meta name="description" content="<%=JRAPI.Cache.ConfigCache.getSysConfigModel().SiteDescription%>"/>
<meta name="keywords" content="<%=JRAPI.Cache.ConfigCache.getSysConfigModel().SiteKeyword%>"/>

</head>
<body>
<script>
    var e = "abbr, article, aside, audio, canvas, datalist, details, dialog, eventsource, figure, footer, header, hgroup, mark, menu, meter, nav, output, progress, section, time, video".split(', ');
    var i = e.length;
    while (i--) {
        document.createElement(e[i])
    }
</script>
<script>
    $(function () {
        //首页默认显示第一个标签
        $("#menu>li a:last").addClass("cli");
        var appVersion = (navigator.appVersion);
        //鼠标移动到某菜单上，子菜单向下展开
        $("#menu>li").mousemove(function () {
            //alert($(this).find('ul li').length);
            //当主菜单无下拉子菜单时，不显示空白子菜单
            if ($(this).find('ul li').length < 1) {
                $(this).find('ul').hide();
                //手机移动端不显示子菜单
            } else if (appVersion.indexOf("iPhone") != -1 || appVersion.indexOf("Android") != -1) {
                $(this).find('ul').hide();
            } else {
                $(this).find('ul').slideDown(500);
            }
        });
        //鼠标离开某菜单，子菜单向上收起
        $("#menu>li").mouseleave(function () {
            $(this).find('ul').slideUp(500);
            $("#menu>li a:last").addClass("cli");
        });
    });
</script>
<uc1:Web_Top ID="Web_Top1" runat="server" />
<!--主体内容-->
<div id="contentbox">
<form id="form1" runat="server">
<div id="login" class="clear">
        <dl class="login">
            <dt>用户登陆</dt>
            <dd>
                <div class="tt">
                    账 号：</div>
                <div class="input">
                    <asp:TextBox ID="txtusername" runat="server" CssClass="shu"></asp:TextBox></div>
                    <div style="color:Red; text-indent:5px;">
                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                    ControlToValidate="txtusername" ErrorMessage="* 请填写登陆邮箱" 
                    ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" 
                            Display="Dynamic"></asp:RegularExpressionValidator>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                            ControlToValidate="txtusername" ErrorMessage="* 请输入账号信息" Display="Dynamic"></asp:RequiredFieldValidator>
                </div>
            </dd>
            <dd>
                <div class="tt">
                    密 码：</div>
                <div class="input">
                    <asp:TextBox ID="txtpassword" runat="server" CssClass="shu" TextMode="Password"></asp:TextBox></div>
                    <div style="color:Red; text-indent:5px; "><asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                            ControlToValidate="txtpassword" ErrorMessage="* 请输入登陆密码" Display="Dynamic"></asp:RequiredFieldValidator></div>
            </dd>
            <dd>
                <div class="tt">
                    验证码：</div>
                <div class="input">
                    <asp:TextBox ID="txtpingma" runat="server" CssClass="yan" Width="90px"></asp:TextBox><img
                        id="codeimg" src="/code.aspx" height="40" width="100" title="点击刷新验证码" alt="点击刷新验证码"
                        style="cursor: hand; cursor: pointer" onclick="this.src='/code.aspx?rnd='+ Math.random();" />
                    <a href="javascript:void(0);" id="recode">看不清楚？ 换一张</a>
                </div>
            </dd>
            <dd>
                <div class="tt">
                </div>
                <div class="input">
                    <asp:ImageButton ID="btnLogin" runat="server" ImageUrl="images/login_18.jpg" 
                        onclick="btnLogin_Click" />
                </div>
            </dd>
            <dd>
                <div class="tt">
                </div>
            </dd>
        </dl>
        <dl class="zhuce">
            <dt>
                <div>
                    注册</div>
            </dt>
            <dd>
                还没有账号？</dd>
            <dd>
                <a href="reg.aspx">
                    <img src="images/login_10.jpg" width="107" height="39" /></a></dd>            
        </dl>
    </div>
    </form>
</div>
<footer  style="bottom: 0px; margin-top: 10px; position: absolute;">	
    <div class="indexparbox">
  	 	 <div class="indexpar">
   				<div class="icbc">
   					 <h4>合作银行及机构  </h4>
            		 <img src="images/300001.gif">
            		 <img src="images/300002.gif">
           			 <img src="images/300003.gif">
           		  	 <img src="images/300004.gif">
           		  	 <img src="images/300005.gif">
             		 <img src="images/300006.gif">
             		 <img src="images/300007.gif">
             		 <img src="images/300008.gif">
             		 <img src="images/300009.gif">
             	 	 <img src="images/300010.gif">
             		 <img src="images/300011.gif">
             		 <img src="images/300012.gif">
             		 <img src="images/300013.gif">
             		 <img src="images/300014.gif">
             		 <img src="images/300015.gif">
             		 <img src="images/300016.gif">
             		 <img src="images/300017.gif">
             		 <img src="images/300018.gif">
             		 <img src="images/300019.gif">
             		 <img src="images/300020.gif">
      	  		</div>
       			<div class="canonical">
       	  			<h4>权威认证</h4>
           			 <img src="images/su_01.gif">
                     </a>
       				<img src="images/su_02.gif">
     				<img src="images/su_03.gif">
       	 		</div>
   	  </div>
    </div>
  <div align="center" class="adress">
    <span>Copyright @ 2009 -2016 XX网络科技有限公司&nbsp;&nbsp;京ICP备14004334号-1</span>
    </div>
</footer>
</body>
</html>
