<%@ page language="C#" autoeventwireup="true" inherits="_Default, App_Web_default.aspx.cdcab7d2" enableEventValidation="false" %>

<%@ Register Src="MyHeader.ascx" TagName="MyHeader" TagPrefix="uc1" %>
<%@ Register Src="MyFooter.ascx" TagName="MyFooter" TagPrefix="uc2" %>
<!DOCTYPE html>
<html>
<head id="Head1" runat="server">
    <title>网上预约系统</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <script src="/control/js/jquery.js" type="text/javascript"></script>
    <link href="/control/plugin/bootstrap3/css/bootstrap.css" rel="stylesheet" type="text/css" />
    <link href="/control/css/rl.css" rel="stylesheet" type="text/css" />

    <link href="/lib/bootstrap/bootstrap.min.css" rel="stylesheet" type="text/css"/>
    <link href="/lib/ionicons/ionicons.min.css" rel="stylesheet" type="text/css"/>
    <link href="/css/base.css" rel="stylesheet" type="text/css"/>
    <link href="/css/index.css" rel="stylesheet" type="text/css"/>
    
    <!--[if lt IE 9]>
      <script src="/js/html5shiv.min.js"></script>
      <script src="/js/respond.min.js"></script>
    <![endif]-->
</head>
<body>
    <div class="wrapper p-top-0">
        <uc1:MyHeader ID="MyHeader1" runat="server" />
        
        <!-------------头部导航------------------>
        <nav class="top-nav">
            <div class="container">
                <div class="nav-header">
                    <!--移动模式右侧按钮-->
                    <ul class="nav-right-btn pull-right">
                        <li>
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="glyphicon glyphicon-cog"></i></a>
                            <ul class="dropdown-menu  pull-right">
                                <li>
                                    <a href="/user/Repair.aspx">申请报修</a>
                                </li>
                                <li class="divider"></li>
                                <li>
                                    <a href="http://www.25175.net/" target="_Blank">技术支持</a>
                                </li>
                            </ul>
                        </li>
                    </ul>
                    <!--logo-->
                    <a href="#" class="brand">
                        <img src="/images/logo.png">网上预约系统
                    </a>
                </div>
                <div class="nav-container">
                    <ul class="navbar-right">
                        <li>
                            <a href="/SysLogin.aspx">
                                <i class="glyphicon glyphicon-send  m-right-xs"></i>
                                管理员登录
                            </a>
                        </li>
                    </ul>
                </div>
            </div>
        </nav><!--/头部导航-->
        <div class="main-container">
            <div class="container padding-md">
                <div class=" panel panel-default">
                    <div class="panel-heading">
                     
                        <div class="panel-body">
                            <div id="myTabContent" class="tab-content">
                                <div class="tab-pane fade in active " id="userLogin">
                                    <ul id="myTab" class="nav nav-tabs">
                                        <li class="active"><a>用户登录</a></li>
                                      
                                        <li><a href="SysLogin.aspx">管理员登录</a></li>
                                    </ul>

                                    <div class="panel-body">
                                        <div class="row">
                                            <form class="form-horizontal col-md-7" id="from1" runat="server">
                                            <div class="form-group">
                                                <label class="col-sm-2 control-label" for="inputEmail3">
                                                    用户名：
                                                    <asp:RequiredFieldValidator ID="rfvtxtUser" runat="server" ForeColor="Red" ErrorMessage="*"
                                                        ControlToValidate="txtUser"></asp:RequiredFieldValidator></label>
                                                <div class="col-sm-10">
                                                    <asp:TextBox ID="txtUser" class="form-control" runat="server"></asp:TextBox>
                                                </div>
                                            </div>
                                            <div class="form-group">
                                                <label class="col-sm-2 control-label" for="inputPassword3">
                                                    密码：
                                                    <asp:RequiredFieldValidator ID="rfvtxtPass" runat="server" ForeColor="Red" ErrorMessage="*"
                                                        ControlToValidate="txtPass"></asp:RequiredFieldValidator>
                                                </label>
                                                <div class="col-sm-10">
                                                    <asp:TextBox ID="txtPass" class="form-control" TextMode="Password" runat="server"></asp:TextBox>
                                                </div>
                                            </div>
                                            <div class="form-group">
                                                <label class="col-sm-2 control-label" for="inputPassword3">
                                                    验证码：
                                                    <asp:RequiredFieldValidator ID="rfvPass" runat="server" ForeColor="Red" ErrorMessage="*"
                                                        ControlToValidate="txtValid"></asp:RequiredFieldValidator>
                                                </label>
                                                <div class="col-sm-3">
                                                    <asp:TextBox ID="txtValid" class="form-control" runat="server"></asp:TextBox>
                                                </div>
                                                <div class="col-sm-7">
                                                    <img id="ImageCheck" src="ValidCode.aspx" onclick="ChangeCode()" style="cursor: pointer"
                                                        alt='' />
                                                    <script language="javascript" type="text/javascript">
                                                        function newGuid() {
                                                            var guid = "";
                                                            for (var i = 1; i <= 32; i++) {
                                                                var n = Math.floor(Math.random() * 16.0).toString(16);
                                                                guid += n;
                                                                if ((i == 8) || (i == 12) || (i == 16) || (i == 20))
                                                                    guid += "-";
                                                            }
                                                            return guid;
                                                        }
                                                        function ChangeCode() {
                                                            var myImg = document.getElementById("ImageCheck");
                                                            myImg.src = "ValidCode.aspx?flag=" + newGuid();
                                                            return false;
                                                        }
                                                    </script>
                                                </div>
                                            </div>
                                  
                                            <div class="form-group">
                                                <div class="col-sm-offset-2 col-sm-10">
                                                    <asp:Button ID="btnSubmit" CssClass="btn btn-default btn-primary btn-lg " runat="server"
                                                        Text="用户登录" OnClick="btnSubmit_Click" />
                                                
                                                 
                                                </div>
                                            </div>

                                            </form>

                                            <aside class="con_r col-md-5 side_r">
                                                <div class="divide"><img src="/images/line.png" style="height: 300px;"></div>
                                                    <div class="code">
                                                        <h4 class="m-bottom-sm">手机扫描二维码登录</h4>
                                                        <div>
                                                            <img id="imgRcode" class="img-responsive" src="Rcode.ashx">
                                                        </div>
                                                    </div>
                                             </aside>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
  
        <uc2:MyFooter ID="MyFooter1" runat="server" />
    </div>
    <script src="/control/plugin/bootstrap3/js/bootstrap.js" type="text/javascript"></script>
</body>
</html>
