<?php $data['manage/auth.set']=Dever::load('manage/auth.set') ?>
<!DOCTYPE html>
<!--power by dever--><html lang="zh-CN">
<head>
  
  <?php require Dever::config("base")->data . 'compile/sg/manage/moltran/inc/head.cmp.php' ?>
</head>
    <body>


        <div class="wrapper-page">
            <div class="panel panel-color panel-primary panel-pages">
                <div class="panel-heading bg-img"> 
                    <div class="bg-overlay"></div>
                    <h3 class="text-center m-t-10 text-white"> 登录到 <strong id="name"><?php  echo Dever::load("manage/auth.config#title") ?></strong> </h3>
                </div> 


                <div class="panel-body">
                <form action="<?php  echo Dever::url("auth.login") ?>" method="post" target="f1" class="form-horizontal m-t-20" id="login">
                <input type="hidden" name="function" id="function" value="msg">
                <input type="hidden" name="refer" id="refer" value="<?php echo $data['manage/auth.set']['refer'] ?>">
                <iframe id="f1" name="f1" style="display:none;"></iframe>
                    
                    <div class="form-group">
                        <div class="col-xs-12">
                            <input class="form-control input-lg" name="username" type="text" required="" placeholder="账号">
                        </div>
                    </div>

                    <div class="form-group">
                        <div class="col-xs-12">
                            <input class="form-control input-lg" name="password" type="password" required="" placeholder="密码">
                        </div>
                    </div>

                    <div class="form-group">
                        <div class="col-xs-12">
                            <div class="checkbox checkbox-primary">
                                <input id="checkbox-signup" type="checkbox" checked>
                                <label for="checkbox-signup">
                                    记住密码
                                </label>
                            </div>
                            
                        </div>
                    </div>
                    
                    <div class="form-group text-center m-t-40">
                        <div class="col-xs-12">
                            <button class="btn btn-primary btn-lg w-lg waves-effect waves-light" type="submit">登录</button>
                        </div>
                    </div>

                    <div class="form-group m-t-30" style="display:none;">
                        <div class="col-sm-7">
                            <a href="recoverpw.html"><i class="fa fa-lock m-r-5"></i> 忘记密码?</a>
                        </div>
                        <div class="col-sm-5 text-right">
                            <a href="register.html">注册</a>
                        </div>
                    </div>
                </form> 
                </div>                                 
                
            </div>

            <div>
                <p class="pull-right" style="<?php if(!(Dever::config("base")->copyright)): ?>display:none;<?php endif; ?>" id="footer"><?php  echo Dever::config("base")->copyright ?></p>
            </div>
        </div>

        

        
        <?php require Dever::config("base")->data . 'compile/sg/manage/moltran/inc/script.cmp.php' ?>
        <script>
        $(function()
        {
          $("#login").bind("keydown",function(e){
            var theEvent = e || window.event;    
            var code = theEvent.keyCode || theEvent.which || theEvent.charCode;    
            if (code == 13) {    
                    $("#login").submit();
                }
           });
        });

        </script>
    </body>
</html>