<?php
	include "php_class/class_mysql.php";
	include "php_class/class_mahasiswa.php";
	$DataMahasiswa = new DataMahasiswa;
?>


<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>
	Pendaftaran Mahasiswa
  </h1>
  <ol class="breadcrumb">
    <li><a href="<?php echo $base?>"><i class="fa fa-dashboard"></i> Home</a></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">Cetak Laporan</h3>
                </div>

                <div class="box-body">
                <div class="peringatan">
                </div>
                        <div class="form-group">
                <?php 
					include "php_class/class_transaksi.php";	
					$DataTransaksi = new DataTransaksi;
					$id = $xcode;
					$idGrup = $xcode2;
					$Alamat = $xcode3;
					$program = $DataTransaksi->get_master_trans_by_id('program', $id);
					$tahun = $DataTransaksi->get_master_trans_by_id('tahun',$id);
					$semester = $DataTransaksi->get_master_trans_by_id('semester', $id);

					$JumlahData = $DataTransaksi->get_detil_trans('',$a,'jumlah', $id);
						for ($a=1;$a<=$JumlahData;$a++){
							$NoId = $DataTransaksi->get_detil_trans('NoID',$a,'', $id);

				?>
                            <a href="<?php echo $base?>laporan-transaksi-grup.php?id=<?php echo $id?>&ids=<?php echo $NoId?>&idgrup=<?php echo $idGrup?>&ak=<?php echo $program.$tahun.$semester ?>&alamat=<?php echo $Alamat?>" target="_blank"><button class="btn btn-default" style="margin-right:5px;"><i class='glyphicon glyphicon-print'></i>Cetak <?php echo $a?></button></a>
				<?php } ?>
                            <a href="<?php echo $base?>data-transaksi-total"><button class="btn btn-default" style="margin-right:5px;"><i class='glyphicon glyphicon-back'></i>Kembali</button></a>
                        </div>
                </div>
               </div>
         </div>
    </div>
</section>

    	
    	
   