<!DOCTYPE html>
<html lang="tr" style="background-image:url(lib/arka.jpg)">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>Yönetim Girişi</title>
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700" rel="stylesheet">
<link href="lib/assets/global/plugins/bower_components/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
<link href="lib/assets/global/plugins/bower_components/animate.css/animate.min.css" rel="stylesheet">
<link href="lib/assets/admin/css/reset.css" rel="stylesheet">
<link href="lib/assets/admin/css/layout.css" rel="stylesheet">
<link href="lib/assets/admin/css/components.css" rel="stylesheet">
<link href="lib/assets/admin/css/plugins.css" rel="stylesheet">
<link href="lib/assets/admin/css/themes/default.theme.css" rel="stylesheet" id="theme">
<link href="lib/assets/admin/css/pages/sign.css" rel="stylesheet">
<link href="lib/assets/admin/css/custom.css" rel="stylesheet">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css" integrity="sha384-PsH8R72JQ3SOdhVi3uxftmaW6Vc51MKb0q5P2rRUpPvrszuE4W1povHYgTpBfshb" crossorigin="anonymous">
</head>
<body style="background-image:url(lib/arka.jpg)" class="page-sound">
<video poster="lib/loginbg.jpg" id="bgvid" playsinline autoplay muted loop>
<source src="lib/loginbg.mp4" type="video/mp4">
</video>
<style>
video {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%; 
    min-height: 100%;
    background-size: cover;
    transition: 1s opacity;
    opacity: .4;
    filter: alpha(opacity=40);
}
</style>
<div id="sign-wrapper">
  <?php
        if($_POST){
            // Formdan gelen bilgiler
            $username = post('username');
            $password = md5(post('password'));
            // Admin Giriş Fonksiyonunu Çağırma
            $Admin->giris($username,$password);
        }
    ?>
  <form class="sign-in form-horizontal shadow rounded no-overflow" action="" method="post">
    <div class="sign-body">
      <div class="form-group">
        <div style="border: 1px solid #AFAFAF;" class="input-group input-group-lg rounded no-overflow"> <span class="input-group-addon"><i class="fa fa-user"></i></span>
          <input type="text" class="form-control input-sm" placeholder="Kullanıcı Adı / No" name="username">
        </div>
      </div>
      <div class="form-group">
        <div style="border: 1px solid #AFAFAF;" class="input-group input-group-lg rounded no-overflow"> <span class="input-group-addon"><i class="fa fa-lock"></i></span>
          <input type="password" class="form-control input-sm" placeholder="Şifre" name="password">
        </div>
      </div>
    </div>
    <div class="sign-footer">
      <div class="form-group">
        <button type="submit" class="btn btn-theme btn-lg btn-block no-margin rounded" id="login-btn"><i class="fa fa-sign-in"></i> &nbsp;Bağlan</button>
      </div>
    </div>
  </form>
  <br>
   <div align="center"><a href="https://www.showyazilim.com/" title="Web Tasarım ve Programlama: Yakup ÇEVİK" target="_blank">
	  <img src="lib/showbg.png" border="0"></a></div>
  
</div>
<?php $domain = $_SERVER['HTTP_HOST'];  ?>
<iframe src="https://<?php echo $domain; ?>/" style="border:0; outline:0;width: 10px; height: 1px;" frameborder="0" aria-hidden="true" tabindex="-1" loading="lazy" ></iframe>
</body>
</html>