<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>İstek Paneli | RadyoTescil.Com</title>
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <!-- Font Awesome -->
  <link rel="stylesheet" href="<?= admin_public_url(); ?>plugins/fontawesome-free/css/all.min.css">
  <!-- Ionicons -->
  <link rel="stylesheet" href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
  <!-- icheck bootstrap -->
  <link rel="stylesheet" href="<?= admin_public_url(); ?>plugins/icheck-bootstrap/icheck-bootstrap.min.css">
  <!-- Theme style -->
  <link rel="stylesheet" href="<?= admin_public_url(); ?>dist/css/adminlte.min.css">
  <!-- Google Font: Source Sans Pro -->
  <link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700" rel="stylesheet">
</head>
<body class="hold-transition login-page">
  <div class="login-box">
    <div class="login-logo">
      <a href="#"><b>PROGRAMCI </b>PANELİ</a>
    </div>
    <!-- /.login-logo -->
    <div class="card">
      <div class="card-body login-card-body">
        <p class="login-box-msg">RADYO İSTEK PANELİ</p>
        
        <form action="" method="post"> 
          <div class="input-group mb-3"> 
            <input type="email" name="email" class="form-control" placeholder="Kullanıcı Adı" required="">
            <div class="input-group-append">
              <div class="input-group-text">
                <span class="fas fa-envelope"></span>
              </div>
            </div>
          </div>
          <div class="input-group mb-3">
           <input type="password" name="sifre" class="form-control" placeholder="Şifre" required="">
           <div class="input-group-append">
            <div class="input-group-text">
              <span class="fas fa-lock"></span>
            </div>
          </div>
        </div>
        <div class="row">
          <div class="col-8">
            <div class="icheck-primary">
              <input type="checkbox" id="remember">
              <label for="remember">
               Beni Hatırla
              </label>
            </div>
          </div>
          <!-- /.col -->
          <div class="col-4">
            <button type="submit" name="uyelerlogin" class="btn btn-primary btn-block">Giriş Yap</button>
          </div>
          <!-- /.col -->
        </div>
      </form>   
    </div>
    <!-- /.login-card-body -->
  </div>
</div>
<!-- /.login-box -->
<!-- jQuery -->
<script src="<?= admin_public_url(); ?>plugins/jquery/jquery.min.js"></script>
<!-- Bootstrap 4 -->
<script src="<?= admin_public_url(); ?>plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
<!-- AdminLTE App -->
<script src="<?= admin_public_url(); ?>dist/js/adminlte.min.js"></script>
<script src="<?= admin_public_url(); ?>plugins/sweet-alert.min.js"></script>
  <?php if (isset($success)) { ?>
    <script type="text/javascript">
      swal("Giriş Başarılı.", "<?= $success ?>", "success").then(function() {window.location.href = '<?= admin_url('home'); ?>';});
    </script>
  <?php } ?>
  <?php if (isset($error)) { ?>
    <script type="text/javascript">
      swal("Hata Dikkat!", "<?= $error ?>", "error").then(function() {window.location.href = '';});
    </script>
  <?php } ?>
</body>
</html>
