<?php 
$ambiente_systems=$_GET['ambiente_systems'];
$url_admin=($ambiente_systems == "S") ? "/" : "/bancos/";
session_start();
if (isset($_SESSION['bn_name_system_global'])) {
  $ruta=$_SERVER['SERVER_NAME'];
  header('Location:$url_admin');
}?>
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <link rel="stylesheet" type="text/css" href="<?php echo $url_admin;?>login/css/bootstrap.min.css">
  <link rel="stylesheet" type="text/css" href="<?php echo $url_admin;?>login/fonts/font-awesome-4.7.0/css/font-awesome.min.css">
  <link rel="stylesheet" type="text/css" href="<?php echo $url_admin;?>login/fonts/iconic/css/material-design-iconic-font.min.css">
  <link rel="stylesheet" type="text/css" href="<?php echo $url_admin;?>login/css/util.css">
  <link rel="stylesheet" type="text/css" href="<?php echo $url_admin;?>login/css/main.css">
  <link rel="stylesheet" href="<?php echo $url_admin;?>plugins/toastr/toastr.min.css">

  <style type="text/css">
body{
background-image: url('<?php echo $url_admin;?>login/img/fondo.jpg');
background-size: 100% 100%;
background-repeat: no-repeat, repeat;
/*background: linear-gradient(45deg, #4057e3 14%, #0091ff 73%);*/
}

  </style>
</head>
<body class="hold-transition login-page" >

  <div class="limiter">

    <div class="container-login100"  >

      <div class="wrap-login100">

        <form class="login100-form validate-form">
<!--           
<center><h1 style="color: #fff;font-size: 100px;">Control Bank</h1></center>

<center>
          <img src="<?php echo $url_admin;?>dist/img/logo.png" style="height: 100px;">
          </center> -->


          <div class="wrap-input100 validate-input" data-validate = "Enter username">
            <input class="input100" type="text" name="username" placeholder="Usuario" id="username">
            <span class="focus-input100" data-placeholder="&#xf207;"></span>
          </div>

          <div class="wrap-input100 validate-input" data-validate="Enter password">
            <input class="input100" id="userpass" type="password" name="pass" placeholder="Contraseña">
            <span class="focus-input100" data-placeholder="&#xf191;"></span>
          </div>

          <div class="container-login100-form-btn">
            <button class="login100-form-btn" id="login">
              Iniciar sesión
            </button>
          </div>
        </form>
      </div>
    </div>
  </div>
<!-- /.login-box -->

<!-- jQuery -->
<script src="<?php echo $url_admin;?>plugins/jquery/jquery.min.js"></script>
<!-- Bootstrap 4 -->
<script src="<?php echo $url_admin;?>plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
<!-- AdminLTE App -->
<script src="<?php echo $url_admin;?>plugins/toastr/toastr.min.js"></script>

<?php include 'core/js/login_js.php';?> 
</body>
</html>
