<?php 
	include "php_class/class_mysql.php";
	include "php_class/class_absen.php";
	$dataabsen = new dataabsen;

?>

<link href="<?php echo $base?>plugins/daterangepicker/daterangepicker-bs3.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $base?>plugins/iCheck/all.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $base?>plugins/timepicker/bootstrap-timepicker.min.css" rel="stylesheet"/>
<script src="<?php echo $base?>plugins/input-mask/jquery.inputmask.js" type="text/javascript"></script>
<script src="<?php echo $base?>plugins/input-mask/jquery.inputmask.date.extensions.js" type="text/javascript"></script>
<script src="<?php echo $base?>plugins/input-mask/jquery.inputmask.extensions.js" type="text/javascript"></script>
<script src="<?php echo $base?>plugins/daterangepicker/daterangepicker.js" type="text/javascript"></script>
<script src="<?php echo $base?>plugins/timepicker/bootstrap-timepicker.min.js" type="text/javascript"></script>
<script src="<?php echo $base?>plugins/iCheck/icheck.min.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="<?php echo $base?>plugins/autocomplete/shieldui-all.css" />
<link href="<?php echo $base?>bootstrap/css/bootstrap-datetimepicker.min.css" rel="stylesheet" media="screen">
<script type="text/javascript" src="<?php echo $base?>bootstrap/js/bootstrap-datetimepicker.js" charset="UTF-8"></script>
<script type="text/javascript" src="<?php echo $base?>bootstrap/js/locales/bootstrap-datetimepicker.id.js" charset="UTF-8"></script>
<script type="text/javascript" src="<?php echo $base?>plugins/autocomplete/shieldui-all.min.js"></script>
<script>
	$(document).ready(function(){
	var base = <?php echo json_encode($base);?>;
		$("#cari").click(function(){
			$("#myModal1").modal('show');
		});

	});
</script>

<style>
	.checkbox2{	width:20px; height:20px; float:left; }
</style>
<section class="content-header">
  <h1>
   Data SAP
  </h1>
  <ol class="breadcrumb">
    <li><a href="<?php echo $base?>"><i class="fa fa-dashboard"></i> Home</a></li>
    <li><a href="<?php echo $base?>data-skripsi">Data SAP</a></li>
    <li class="active">Setting Tugas Mengajar</li>
  </ol>
</section>
<section class="content">
 	<div class="row">
    	<div class="col-md-12">
        	 <div class="box box-info">
                <div class="box-body">
                        
                        <div class="peringatan">
                        </div>
					<?php
			$kelas = $xcode;
			$idmatkul = $xcode2;
			$tanggalawal = $dataabsen->get_setting('tanggalawal');
			$tanggalakhir = $dataabsen->get_setting('tanggalakhir');
			$tanggalkumpul = $dataabsen->get_setting('tanggalkumpul');
			$nosk = "/UW-FE/PD-10/";
			
					?>
                	<form method="post" action="<?php echo $base?>laporan-pengantar-mengajar-sempek.php">
                    	<input type="hidden" name="kelas" value="<?php echo $kelas?>">
                        <input type="hidden" name="idmatkul" value="<?php echo $idmatkul?>">
                         <div class="form-group">
                            <label for="Operator" class="control-label">No Surat</label>
                            <input type="text" name="nosurat" required="required" class="form-control"  placeholder="No SK." value="<?php echo $nosk?>">
                         </div>
                         <div class="form-group">
                            <label class="control-label">Tanggal Mulai (contoh: 1 Januari)</label>
                            <input type="text" name="tanggalawal" required="required" class="form-control"  placeholder="tanggal mulai" value="<?php echo $tanggalawal?>">
                         </div>
                         <div class="form-group">
                            <label class="control-label">Tanggal Akhir (contoh: 1 Januari 2017)</label>
                            <input type="text" name="tanggalakhir" required="required" class="form-control"  placeholder="tanggal akhir" value="<?php echo $tanggalakhir?>">
                         </div>
                         <div class="form-group">
                            <label class="control-label">Tanggal Kumpul Nilai (contoh: 1 Januari tahun 2017)</label>
                            <input type="text" name="tanggalkumpul" required="required" class="form-control"  placeholder="tanggal kummpul nilai" value="<?php echo $tanggalkumpul?>">
                         </div>
                         <div class="form-group">
                            <button type="submit" class="btn btn-default"><i class='glyphicon glyphicon-ok'></i> Simpan</button>
                         </div>
                    </form>
                </div>
               </div>
         </div>
    </div>
</section>