<?php
session_start();
error_reporting(0);
if (!isset($_SESSION['Kd_krywn']))
{
header('location:login.php');
exit;
}
else{ ?>
<?php
include "menu/header.php"; ?>
<body>
<div id="wrapper">
<!-- Navigation -->
<nav class="navbar navbar-default navbar-static-top" role="navigation" style="margin-bottom: 0">
<?php
include "menu/navigation.php"; ?>
<!-- /.navbar-header -->
<?php
include "menu/navbar-toplinks.php"; ?>
<!-- /.navbar-top-links -->
<?php
include "menu/navbar.php"; ?>
<!-- /.navbar-static-side -->
</nav>
<div id="page-wrapper">
<div class="row">
<div class="col-lg-12">
<div class="col-lg-12">
<table align="center" width="900">
<tr>
<td></td>
<td align="center"><font face="verdana" size="5" color="#000000"><strong>
KUB</strong><br><font face="verdana" size="3" color="#000000"><strong>
Koperasi Usaha Bersama</strong><br><font face="verdana" size="2" color="#000000"><strong>
Kalipucang RT01 Kasongan Bangunjiwo Kasihan Bantul Yogyakarta</strong></font></font>
</font></td>
</tr>
</table>
</div>
<!-- /.col-lg-12 -->
</div>
<!-- /.row -->
<div class="row">
<div class="col-lg-12">
<div class="panel panel-default">
<div class="panel-heading">
<h4>Daftar Bahan Baku</h4>
</div>
<!-- /.panel-heading -->
<div class="panel-body">
<div class="dataTable_wrapper">
<a class="btn btn-success btn-sm" href="cetak/bahan_baku.php">
<i class="glyphicon glyphicon-print icon-white"></i>
Print
</a>
<a class="btn btn-warning btn-sm" href="input_bahan_baku.php">
<i class="glyphicon glyphicon-plus icon-white"></i>
Tambah Data</a>
<div class="dataTable_wrapper">
<br>
<?php
include "../include/koneksi.php";
$query= "SELECT * FROM bahanbaku ORDER BY Kd_bhn_bku";
$sql = mysql_query($query);
?>
<table class="table table-striped table-bordered table-hover" id="dataTables-example">
<thead>
<tr>
<th>No </th>
<th>Kode</th>
<th>Bahan Baku</th>
<th>Jenis Bahan Baku</th>
<th>Ukuran</th>
<th>Pilihan</th>
</tr>
</thead>
<tbody>
<?php
$no=1;
while ($data= mysql_fetch_array($sql)){
?>
<tr class="odd gradeX">
<td class="center"><?php echo $no; ?></td>
<td><?php echo $data['Kd_bhn_bku']; ?></td>
<td><?php echo $data['Nm_bhn_bku']; ?></td>
<td><?php echo $data['Jns_bhn_bku']; ?></td>
<td><?php echo $data['Ukuran']; ?></td>
<td>
<a class="btn btn-info btn-sm" href="edit_bahan_baku.php?id=<?php echo $data['Kd_bhn_bku']?>">
<i class="glyphicon glyphicon-edit icon-white"></i>
Ubah
</a>
<a class="btn btn-danger btn-sm" href=proses_hapus/hapus_bahan_baku.php?id=<?php echo $data['Kd_bhn_bku'] ?> onClick="return confirm('Apakah Anda Yakin Hapus Data?')"/>
<i class="glyphicon glyphicon-trash icon-white"></i>
Hapus
</a>
</td>
</tr>
<?php $no++; } ?>
</tbody>
</table>
</div>
</div>
<!-- /.panel-body -->
</div>
<!-- /.panel -->
</div>
<!-- /.col-lg-12 -->
</div>
<!-- /.col-lg-12 -->
<?php
include "menu/footer.php"; ?>
</div>
<!-- /.row -->
</div>
<!-- /#page-wrapper -->
</div>
<!-- /#wrapper -->
<!-- jQuery -->
<script src="../bower_components/jquery/dist/jquery.min.js"></script>
<!-- Bootstrap Core JavaScript -->
<script src="../bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
<!-- Metis Menu Plugin JavaScript -->
<script src="../bower_components/metisMenu/dist/metisMenu.min.js"></script>
<!-- DataTables JavaScript -->
<script src="../bower_components/DataTables/media/js/jquery.dataTables.min.js"></script>
<script src="../bower_components/datatables-plugins/integration/bootstrap/3/dataTables.bootstrap.min.js"></script>
<!-- Custom Theme JavaScript -->
<script src="../dist/js/sb-admin-2.js"></script>
<script >
$(document).ready(function(){
<!-- untuk mengubah bahasa inggris jadi bahasi indonesia-->
$("#dataTables-example").dataTable({
"oLanguage": {
"sLengthMenu": "Tampilkan _MENU_ data per halaman",
"sSearch": "Pencarian: ",
"sZeroRecords": "Maaf, tidak ada data yang ditemukan",
"sInfo": "Menampilkan _START_ s/d _END_ dari _TOTAL_ data",
"sInfoEmpty": "Menampilkan 0 s/d 0 dari 0 data",
"sInfoFiltered": "( _MAX_ total data)",
"oPaginate": {
"sFirst": "Awal",
"sLast": "Akhir",
"sPrevious": "Sebelum",
"sNext": "Setelah"
}
},
<!-- Bahasa End-->
"sPaginationType":"full_numbers",
"responsive":true
});
});
</script>
</body>
</html>
<?php } ?>
session_start();
error_reporting(0);
if (!isset($_SESSION['Kd_krywn']))
{
header('location:login.php');
exit;
}
else{ ?>
<?php
include "menu/header.php"; ?>
<body>
<div id="wrapper">
<!-- Navigation -->
<nav class="navbar navbar-default navbar-static-top" role="navigation" style="margin-bottom: 0">
<?php
include "menu/navigation.php"; ?>
<!-- /.navbar-header -->
<?php
include "menu/navbar-toplinks.php"; ?>
<!-- /.navbar-top-links -->
<?php
include "menu/navbar.php"; ?>
<!-- /.navbar-static-side -->
</nav>
<div id="page-wrapper">
<div class="row">
<div class="col-lg-12">
<div class="col-lg-12">
<table align="center" width="900">
<tr>
<td></td>
<td align="center"><font face="verdana" size="5" color="#000000"><strong>
KUB</strong><br><font face="verdana" size="3" color="#000000"><strong>
Koperasi Usaha Bersama</strong><br><font face="verdana" size="2" color="#000000"><strong>
Kalipucang RT01 Kasongan Bangunjiwo Kasihan Bantul Yogyakarta</strong></font></font>
</font></td>
</tr>
</table>
</div>
<!-- /.col-lg-12 -->
</div>
<!-- /.row -->
<div class="row">
<div class="col-lg-12">
<div class="panel panel-default">
<div class="panel-heading">
<h4>Daftar Bahan Baku</h4>
</div>
<!-- /.panel-heading -->
<div class="panel-body">
<div class="dataTable_wrapper">
<a class="btn btn-success btn-sm" href="cetak/bahan_baku.php">
<i class="glyphicon glyphicon-print icon-white"></i>
</a>
<a class="btn btn-warning btn-sm" href="input_bahan_baku.php">
<i class="glyphicon glyphicon-plus icon-white"></i>
Tambah Data</a>
<div class="dataTable_wrapper">
<br>
<?php
include "../include/koneksi.php";
$query= "SELECT * FROM bahanbaku ORDER BY Kd_bhn_bku";
$sql = mysql_query($query);
?>
<table class="table table-striped table-bordered table-hover" id="dataTables-example">
<thead>
<tr>
<th>No </th>
<th>Kode</th>
<th>Bahan Baku</th>
<th>Jenis Bahan Baku</th>
<th>Ukuran</th>
<th>Pilihan</th>
</tr>
</thead>
<tbody>
<?php
$no=1;
while ($data= mysql_fetch_array($sql)){
?>
<tr class="odd gradeX">
<td class="center"><?php echo $no; ?></td>
<td><?php echo $data['Kd_bhn_bku']; ?></td>
<td><?php echo $data['Nm_bhn_bku']; ?></td>
<td><?php echo $data['Jns_bhn_bku']; ?></td>
<td><?php echo $data['Ukuran']; ?></td>
<td>
<a class="btn btn-info btn-sm" href="edit_bahan_baku.php?id=<?php echo $data['Kd_bhn_bku']?>">
<i class="glyphicon glyphicon-edit icon-white"></i>
Ubah
</a>
<a class="btn btn-danger btn-sm" href=proses_hapus/hapus_bahan_baku.php?id=<?php echo $data['Kd_bhn_bku'] ?> onClick="return confirm('Apakah Anda Yakin Hapus Data?')"/>
<i class="glyphicon glyphicon-trash icon-white"></i>
Hapus
</a>
</td>
</tr>
<?php $no++; } ?>
</tbody>
</table>
</div>
</div>
<!-- /.panel-body -->
</div>
<!-- /.panel -->
</div>
<!-- /.col-lg-12 -->
</div>
<!-- /.col-lg-12 -->
<?php
include "menu/footer.php"; ?>
</div>
<!-- /.row -->
</div>
<!-- /#page-wrapper -->
</div>
<!-- /#wrapper -->
<!-- jQuery -->
<script src="../bower_components/jquery/dist/jquery.min.js"></script>
<!-- Bootstrap Core JavaScript -->
<script src="../bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
<!-- Metis Menu Plugin JavaScript -->
<script src="../bower_components/metisMenu/dist/metisMenu.min.js"></script>
<!-- DataTables JavaScript -->
<script src="../bower_components/DataTables/media/js/jquery.dataTables.min.js"></script>
<script src="../bower_components/datatables-plugins/integration/bootstrap/3/dataTables.bootstrap.min.js"></script>
<!-- Custom Theme JavaScript -->
<script src="../dist/js/sb-admin-2.js"></script>
<script >
$(document).ready(function(){
<!-- untuk mengubah bahasa inggris jadi bahasi indonesia-->
$("#dataTables-example").dataTable({
"oLanguage": {
"sLengthMenu": "Tampilkan _MENU_ data per halaman",
"sSearch": "Pencarian: ",
"sZeroRecords": "Maaf, tidak ada data yang ditemukan",
"sInfo": "Menampilkan _START_ s/d _END_ dari _TOTAL_ data",
"sInfoEmpty": "Menampilkan 0 s/d 0 dari 0 data",
"sInfoFiltered": "( _MAX_ total data)",
"oPaginate": {
"sFirst": "Awal",
"sLast": "Akhir",
"sPrevious": "Sebelum",
"sNext": "Setelah"
}
},
<!-- Bahasa End-->
"sPaginationType":"full_numbers",
"responsive":true
});
});
</script>
</body>
</html>
<?php } ?>
Titanium Water Bottle | Titanium Arts - TITNIA BEEBEE
ReplyDeleteTIPNIA used ford edge titanium BEEBEE is a bottle designed babyliss pro titanium flat iron by Titanium titanium trimmer Arts. The bottle is titanium bars crafted with Tintan Gold titanium alloy nier replicant powder, distilled water, and has a unique tang.
oke
ReplyDelete