<!DOCTYPE html>
<html lang="en">

<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <!-- Meta, title, CSS, favicons, etc. -->
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto|Varela+Round">
  <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
  <script src= "https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src= "https://cdn.jsdelivr.net/npm/sweetalert2@11.4.8/dist/sweetalert2.all.min.js"></script>
  <title>SIKEUNG</title>

  <!-- Bootstrap -->
  <link href="plugins/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
  <!-- Font Awesome -->
  <link href="plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet">
  <!-- NProgress -->
  <link href="plugins/nprogress/nprogress.css" rel="stylesheet">
  <!-- Animate.css -->
  <link href="plugins/animate.css/animate.min.css" rel="stylesheet">

  <!-- Custom Theme Style -->
  <link href="build/css/custom.min.css" rel="stylesheet">
</head>

<body class="login">
  <div>


    <div class="login_wrapper">
      <div class="animate form login_form">
        <section class="login_content">
          <img src="build/images/ptma.png" width="39%">
          <h2 style="font-size: 25px; font-weight: 600;color: #26b99a;">SIKEUNG</h2>
          <h2 style="font-size: 18px; font-weight: 200; color: #26b99a;">Sistem Informasi Keuangan</h2>
          <form action="cek_login.php" method="post">
            <p>Masukkan Username dan Password</p>
            <div>
              <input type="text" class="form-control" placeholder="Username" name="username" required="Masukkan Username" autocomplete="off" />
            </div>
            <div>
              <input type="password" class="form-control" placeholder="Password" name="password" required autocomplete="off" />
            </div>
            <div>
              <button type="submit" class="btn btn-success btn-sm btn-block">Masuk</button>
          </form>
      </div><br>
      <p>Copyright © 2021 V1.7 | Developed by BSC for Pondok Tahfidz Modern Al-Imam</p>
    </div>
  </div>
  </section>
  </div>
  
  
  <?php 
  
  if($_GET['ntf']=='noaccess'){
      
      ?>
      <script>
   Swal.fire(
  'APLIKASI NONAKTIF',
  'SILAHKAN HUBUNGI ADMINISTRATOR',
  'warning'
);
      </script>
      <?php
      
  }
  
  ?>
  
  
  <?php  if($_GET['ntf']=='x'){
      
      ?>
      <script>
   Swal.fire(
  'USERNAME ATAU SANDI SALAH',
  '!',
  'error'
);
      </script>
      <?php
      
  }
  
  ?>


  </div>
  </div>
</body>

</html>