<?php
	include "php_class/class_mysql.php";
	include "php_class/class_ujian.php";
	$dataujian = new dataUjian;

	$koreksiuts = $dataujian->get_koreksi('koreksiuts');
	$naskahuts = $dataujian->get_koreksi('naskahuts');
	$koreksiuas = $dataujian->get_koreksi('koreksiuas');
	$naskahuas = $dataujian->get_koreksi('naskahuas');
	
	$koreksiutsnon = $dataujian->get_koreksi('koreksiutsnon');
	$naskahutsnon = $dataujian->get_koreksi('naskahutsnon');
	$koreksiuasnon = $dataujian->get_koreksi('koreksiuasnon');
	$naskahuasnon = $dataujian->get_koreksi('naskahuasnon');

?>
<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>
<section class="content-header">
  <h1>
   Data UTS / UAS
  </h1>
  <ol class="breadcrumb">
    <li><a href="<?php echo $base?>"><i class="fa fa-dashboard"></i> Home</a></li>
    <li>Setting Uang Koreksi</li>
  </ol>
</section>
<section class="content">
 	<div class="row">
    	<div class="row">
        	<div class="col-md-12">
            </div>
        </div>
    	<div class="col-md-12">
        	 <div class="box box-info">
                <div class="box-header">
                  <h3 class="box-title">Setting Uang Koreksi</h3>
                </div>
                <div class="box-body">
                <?php if($xcode==1){?>
				<div id="warning"><div class="alert alert-warning" role="alert">Data berhasil diubah!</div></div>
                <?php } ?>
                	<form method="post" action="<?php echo $base?>query-uang-koreksi">
                    	<input type="hidden" name="id" value="<?php echo $id?>">
                        <div class="form-group">
                            <label class="control-label">Uang Koreksi UTS REGULER</label>
                            <input type="number" class="form-control" name="koreksiuts" value="<?php echo $koreksiuts?>">
                         </div>
                         <div class="form-group">
                            <label class="control-label">Uang Naskah UTS REGULER</label>
                            <input type="number" name="naskahuts" required="required" class="form-control"  value="<?php echo $naskahuts?>">
                         </div>
                        <div class="form-group">
                            <label class="control-label">Uang Koreksi UAS REGULER</label>
                            <input type="number" class="form-control" name="koreksiuas" value="<?php echo $koreksiuas?>">
                         </div>
                         <div class="form-group">
                            <label class="control-label">Uang Naskah UAS REGULER</label>
                            <input type="number" name="naskahuas" required="required" class="form-control"  value="<?php echo $naskahuas?>">
                         </div>
                        <div class="form-group">
                            <label class="control-label">Uang Koreksi UTS NON REGULER</label>
                            <input type="number" class="form-control" name="koreksiutsnon" value="<?php echo $koreksiutsnon?>">
                         </div>
                         <div class="form-group">
                            <label class="control-label">Uang Naskah UTS NON REGULER</label>
                            <input type="number" name="naskahutsnon" required="required" class="form-control"  value="<?php echo $naskahutsnon?>">
                         </div>
                        <div class="form-group">
                            <label class="control-label">Uang Koreksi UAS NON REGULER</label>
                            <input type="number" class="form-control" name="koreksiuasnon" value="<?php echo $koreksiuasnon?>">
                         </div>
                         <div class="form-group">
                            <label class="control-label">Uang Naskah UAS NON REGULER</label>
                            <input type="number" name="naskahuasnon" required="required" class="form-control"  value="<?php echo $naskahuasnon?>">
                         </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>

    	
    	
   