            <!-- Exportable Table -->
             <div class="container-fluid">
            <div class="block-header">
                <h2>
                     <ol class="breadcrumb breadcrumb-bg-teal">
                           <li><a href="index.php?home"><i class="material-icons">home</i> Home</a></li>
                           <li class="active"><i class="material-icons">widgets</i> Setting Batas Belanja </li>
                     </ol>
                </h2>
            </div>
<?php 
if(isset($_GET['del'])){
$del=noninjection($koneksi,$_GET['del']);
			$qry_del=mysqli_query($koneksi,"DELETE FROM `tb_set_out` WHERE id='".$del."'");
			if($qry_del){echo ' <div class="alert bg-green alert-dismissible" role="alert">
                                <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                                <strong>Well done!</strong> Hapus Data Sukses.
                            </div>';
							}else {
							echo '<div class="alert bg-pink alert-dismissible" role="alert">
                                <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                               <strong>Warning!</strong> Hapus Data Gagal.
                            </div>';
							}
}
?>
            <!-- Exportable Table -->
            <div class="row clearfix">
                <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                    <div class="card">
                        <div class="header">
                            <h2>
                                DATA PENGATURAN BELANJA 
                            </h2>
                            <ul class="header-dropdown m-r--5">
                              
                                    <a href="index.php?setjajan&mn=setjajan_add" >
										<button type="button" class="btn bg-green btn-circle-lg waves-effect waves-circle waves-float"  data-toggle="tooltip"
                                            data-placement="left" title="Input Data Member">
                                    		<i class="material-icons">add_circle_outline</i> 
                               			</button>
                                    </a>
                                   
								  
                                
                            </ul>
                        </div>
                        <div class="body">
						
						
						
                            <div class="table-responsive">
                                <table class="table table-bordered table-striped table-hover dataTable js-exportable">
                                    <thead>
                                        <tr>
                                           <th>ID</th>
											 <th>Kategori</th>
                                            <th>Batas</th>
                                            <th>Kelompok</th>
											 <th>Status</th>
											  <th></th>
                                        </tr>
                                    </thead>
                                    <tfoot>
                                        <tr>
                                           <th>ID</th>
											 <th>Kategori</th>
                                            <th>Batas</th>
                                            <th>Kelompok</th>
											 <th>Status</th>
											  <th></th>
                                        </tr>
                                    </tfoot>
                                    <tbody>
									<?php 
									$qry_cari=mysqli_query($koneksi,"SELECT * FROM `tb_set_out` order by id");
									while($row=mysqli_fetch_array($qry_cari)){
									?>
                                        <tr>
										 <td><?php echo $row['id'];?></td>
										 
										 <td><?php echo $row['kat'];?></td>
                                            <td><?php echo $row['maximal'];?></td>
                                            <td><?php echo $row['kelompok'];?></td>
                                            <td><?php echo $row['status'];?></td>
											<td>
								<div align="right">
									<a href="index.php?setjajan&mn=setjajan_add&edit=<?php echo $row['id'];?>">
									<button type="button" class="btn bg-green btn-circle waves-effect waves-circle waves-float" data-toggle="tooltip" data-placement="left" title="Edit Data">
                                    	<i class="material-icons">create</i>
                                	</button>
									</a>
									
									
									
									<a href="index.php?setjajan&del=<?php echo $row['id'];?>" onclick="return confirm('Yakin ingin Hapus data ini?');">
								  	<button type="button" class="btn bg-red btn-circle waves-effect waves-circle waves-float" data-toggle="tooltip" data-placement="left" title="Hapus Data">
                                    	<i class="material-icons">delete_sweep</i>
                                	</button>
									</a>
									<div style="font-size:12px; color:#003300;" align="right"><?php echo $row['tgl'];?></div>
								</div>
											</td>
                                        </tr>
                                      <?php }?>
                                    </tbody>
                                </table>
								
							 
								
								
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <!-- #END# Exportable Table -->
<!-- Small Size -->

            