<?php
require("config/koneksi.php");
require("config/function.php");
require("config/crud.php");
?>
<?php if($menu['ppdb']==1): ?>
<meta content="0; url=ppdb" http-equiv="refresh">
<?php else: ?>
<!DOCTYPE html>
<html lang="en">
<head>
  <title>SANDIK</title>
	<meta charset="utf-8">
	 <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="mobile-web-app-capable" content="yes">
    <meta id="theme-color" name="theme-color" content="#4527A0">
    <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Raleway" type="text/css">
    <link rel="shortcut icon" href="favicon.png" sizes="144x144" type="image/png">
	<link rel="apple-touch-icon" sizes="180x180" href="<?= $setting['logo'] ?>">
	<link rel="icon" type="image/png" sizes="32x32" href="<?= $setting['logo'] ?>">
	<link rel="icon" type="image/png" sizes="16x16" href="<?= $setting['logo'] ?>">
	
	<meta name="msapplication-TileColor" content="#da532c">
	<meta name="theme-color" content="#ffffff">
     
	<link rel="stylesheet" href="sis/bootstrap.min.css">
	<link rel="stylesheet" href="sis/all.css">
	<link rel="stylesheet" href="sis'fontello.css" type="text/css" media="all" />
	<script src="sis/jquery.min.js"></script>
	<script src="sis/popper.min.js"></script>
	<script src="sis/bootstrap.min.js"></script>
	<script async src="https://www.googletagmanager.com/gtag/js?id=UA-120206082-3"></script>
	<script>
	  window.dataLayer = window.dataLayer || [];
	  function gtag(){dataLayer.push(arguments);}
	  gtag('js', new Date());

	  gtag('config', 'UA-120206082-3');
	</script>

</head>

<body oncontextmenu="return false" onkeydown="return false;" onmousedown="return false;">

<div class="container-fluid text-white" style="background:#326698;background-size: contain;background-image: url('sis/bg-top.png');background-repeat: no-repeat;background-position: left; height:150px;position:fixed;top:0px;left:0px;right:0px">
	  <div class="row">
		<div class="col pl-5 pt-1">
			<table>
				<tr>
					<td>
						<img style="margin:5px;height:70px" src="<?= $setting['logo'] ?>">
					</td>
					<td>
						<div><b><?= $setting['sekolah'] ?></b></div>
						<div><small>APLIKASI CBT / AKM / INFO SEKOLAH<small></div>
					</td>
				</tr>
			</table>
		</div>
	  </div>
</div>

<div class="wrapper fadeInDown"  style="margin-top:100px;">
  <div id="formContent" action="login.php">
    <div class="fadeIn text-center p-5">
      <form action="" method="post" id="formData">
	  <div class="mb-2">
		<b>Materi :</b>
	  </div>
      <div class="btn-group btn-group-toggle" data-toggle="buttons">
		  <label class="btn btn-success active btn_active">
			<input type="radio" name="options" id="option1" autocomplete="off" value="2" checked> <img src="sis/buku.png" width="50%"  style="font-size:60px"></i> <br/>Literasi
		  </label>
		  <label class="btn btn-danger">
			<input type="radio" name="options" id="option2" autocomplete="off" value="1"> <img src="sis/matematika.png" width="50%" style="font-size:60px"></i> <br/>Numerasi
		  </label>
	  </div>
	  
	  <div class="mb-2 mt-4">
		<b>Jenjang :</b>
		<p class="mt-2">
			<select name="jenjang" id="jenjang" class="form-control">
			
				<option value="<?= $setting['jenjang'] ?>"><?= $setting['jenjang'] ?> | <?= $setting['sekolah'] ?></option>
				
			</select>
		</p>
	  </div>
	  
	  <div class="text-center">
		<a href="login.php"><button type="button" class="btn btn-primary btn-round" >Ok, Lanjutkan !</button></a>
	  </div>
	  </form>
    </div>
	 
  </div> 
</div>


<div style="position:fixed;bottom:10px;left:0px;right:0px;text-align:center;font-size:11px;display:none"></div>
<div  style="position:absolute;top:0px;left:0px;right:0px;bottom:0px;background:#fff;opacity:0.5;z-index:99999;display:none" id="loader">
<img class="loader" src="sis/loader2.gif">
</div>

<style>
	/* STRUCTURE */
	.loader {
	  margin: 0;
	  position: absolute;
	  top: 50%;
	  left: 50%;
	  -ms-transform: translate(-50%, -50%);
	  transform: translate(-50%, -50%);
	}

	.wrapper {
	  display: flex;
	  align-items: center;
	  flex-direction: column; 
	  justify-content: center;
	  width: 100%;
	  min-height: 100%;
	  padding: 20px;
	  margin-top:-80px;
	}

	#formContent {
	  -webkit-border-radius: 10px 10px 10px 10px;
	  border-radius: 10px 10px 10px 10px;
	  background: #fff;
	  padding: 30px;
	  width: 90%;
	  max-width: 450px;
	  position: relative;
	  padding: 0px;
	  -webkit-box-shadow: 0 30px 60px 0 rgba(0,0,0,0.3);
	  box-shadow: 0 30px 60px 0 rgba(0,0,0,0.3);
	  text-align: center;
	}

	


	/* TABS */

	h2.inactive {
	  color: #cccccc;
	}

	h2.active {
	  color: #0d0d0d;
	  border-bottom: 2px solid #5fbae9;
	}
	
	input[type=text] {
	  border: none;
	  color: #0d0d0d;
	  text-decoration: none;
	  display: inline-block;
	  font-size: 16px;
	  border-radius:0px;
	  border-bottom:2px solid #eee;
	}
	input[type=password] {
	  border: none;
	  color: #0d0d0d;
	  text-decoration: none;
	  display: inline-block;
	  font-size: 16px;
	  border-radius:0px;
	  border-bottom:2px solid #eee;
	}

	/* ANIMATIONS */

	/* Simple CSS3 Fade-in-down Animation */
	.fadeInDown {
	  -webkit-animation-name: fadeInDown;
	  animation-name: fadeInDown;
	  -webkit-animation-duration: 1s;
	  animation-duration: 1s;
	  -webkit-animation-fill-mode: both;
	  animation-fill-mode: both;
	}

	@-webkit-keyframes fadeInDown {
	  0% {
		opacity: 0;
		-webkit-transform: translate3d(0, -100%, 0);
		transform: translate3d(0, -100%, 0);
	  }
	  100% {
		opacity: 1;
		-webkit-transform: none;
		transform: none;
	  }
	}

	@keyframes fadeInDown {
	  0% {
		opacity: 0;
		-webkit-transform: translate3d(0, -100%, 0);
		transform: translate3d(0, -100%, 0);
	  }
	  100% {
		opacity: 1;
		-webkit-transform: none;
		transform: none;
	  }
	}

	/* Simple CSS3 Fade-in Animation */
	@-webkit-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
	@-moz-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
	@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }

	.fadeIn {
	  opacity:0;
	  -webkit-animation:fadeIn ease-in 1;
	  -moz-animation:fadeIn ease-in 1;
	  animation:fadeIn ease-in 1;

	  -webkit-animation-fill-mode:forwards;
	  -moz-animation-fill-mode:forwards;
	  animation-fill-mode:forwards;

	  -webkit-animation-duration:1s;
	  -moz-animation-duration:1s;
	  animation-duration:1s;
	}

	.fadeIn.first {
	  -webkit-animation-delay: 0.4s;
	  -moz-animation-delay: 0.4s;
	  animation-delay: 0.4s;
	}

	.fadeIn.second {
	  -webkit-animation-delay: 0.6s;
	  -moz-animation-delay: 0.6s;
	  animation-delay: 0.6s;
	}

	.fadeIn.third {
	  -webkit-animation-delay: 0.8s;
	  -moz-animation-delay: 0.8s;
	  animation-delay: 0.8s;
	}

	.fadeIn.fourth {
	  -webkit-animation-delay: 1s;
	  -moz-animation-delay: 1s;
	  animation-delay: 1s;
	}

	/* Simple CSS3 Fade-in Animation */
	.underlineHover:after {
	  display: block;
	  left: 0;
	  bottom: -10px;
	  width: 0;
	  height: 2px;
	  background-color: #56baed;
	  content: "";
	  transition: width 0.2s;
	}

	.underlineHover:hover {
	  color: #0d0d0d;
	}

	.underlineHover:hover:after{
	  width: 100%;
	}
</style>
 <script src="sw.js" type="text/javascript"></script>
<script type="text/javascript" src="sis/ajquery.min.js"></script>


</body>
</html>
 <?php endif; ?>