Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Perbaiki tema natra tampilkan halaman suplemen
- Loading branch information
1 parent
167d7dd
commit 070237e
Showing
3 changed files
with
124 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<?php if(!defined('BASEPATH')) exit('No direct script access allowed'); ?> | ||
<!DOCTYPE html> | ||
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://ogp.me/ns#" xmlns:fb="https://www.facebook.com/2008/fbml"> | ||
<head> | ||
<?php $this->load->view("$folder_themes/commons/meta.php"); ?> | ||
</head> | ||
<body> | ||
<!-- | ||
<div id="preloader"> | ||
<div id="status"> </div> | ||
</div> | ||
--> | ||
<a class="scrollToTop" href="#"><i class="fa fa-angle-up"></i></a> | ||
<div class="container" style="background-color: #f6f6f6;"> | ||
<header id="header"> | ||
<?php $this->load->view("$folder_themes/partials/header.php"); ?> | ||
</header> | ||
<div id="navarea"> | ||
<?php $this->load->view("$folder_themes/partials/menu_head.php"); ?> | ||
</div> | ||
<div class="row"> | ||
<section> | ||
<div class="content_middle"></div> | ||
<div class="content_bottom"> | ||
<div class="col-lg-9 col-md-9"> | ||
<div class="content_bottom_left"> | ||
<?php $this->load->view("$folder_themes/partials/suplemen.php"); ?> | ||
</div> | ||
</div> | ||
<div class="col-lg-3 col-md-3"> | ||
<?php $this->load->view("$folder_themes/partials/bottom_content_right.php"); ?> | ||
</div> | ||
</div> | ||
</section> | ||
</div> | ||
</div> | ||
<footer id="footer"> | ||
<?php $this->load->view("$folder_themes/partials/footer_top.php"); ?> | ||
<?php $this->load->view("$folder_themes/partials/footer_bottom.php"); ?> | ||
</footer> | ||
<?php $this->load->view("$folder_themes/commons/meta_footer.php"); ?> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
<?php if(!defined('BASEPATH')) exit('No direct script access allowed'); ?> | ||
|
||
<div class="single_page_area"> | ||
<h2 class="post_titile" >Data Suplemen - <?= $main['suplemen']['nama']; ?></h2> | ||
<div class="box-body"> | ||
<h3 class="subtitle">Rincian Data Suplemen</h3> | ||
<div class="table-responsive"> | ||
<table class="table table-striped table-bordered dataTable table-hover nowrap"> | ||
<tbody> | ||
<tr> | ||
<td width="20%">Nama Data</td> | ||
<td width="1%">:</td> | ||
<td><?= $main['suplemen']['nama']; ?></td> | ||
</tr> | ||
<tr> | ||
<td>Sasaran Terdata</td> | ||
<td>:</td> | ||
<td><?= $sasaran[$main['suplemen']['sasaran']]; ?></td> | ||
</tr> | ||
<tr> | ||
<td>Keterangan</td> | ||
<td>:</td> | ||
<td><?= $main['suplemen']['keterangan']; ?></td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div> | ||
</div> | ||
<div class="box-body"> | ||
<h3 class="subtitle">Daftar Terdata</h3> | ||
<div class="table-responsive"> | ||
<table class="table table-striped table-bordered dataTable table-hover nowrap" id="tabel-data"> | ||
<thead class="bg-gray disabled color-palette"> | ||
<tr> | ||
<th>No</th> | ||
<th>Nama</th> | ||
<th>Tempat Lahir</th> | ||
<th>Jenis-kelamin</th> | ||
<th>Alamat</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<?php foreach ($main['terdata'] as $key => $data): ?> | ||
<tr> | ||
<td class="text-center"><?= ($key + 1); ?></td> | ||
<td><?= $data['terdata_nama']; ?></td> | ||
<td><?= $data["tempat_lahir"]; ?></td> | ||
<td><?= $data["sex"]; ?></td> | ||
<td><?= $data["info"];?></td> | ||
</tr> | ||
<?php endforeach; ?> | ||
</tbody> | ||
</table> | ||
</div> | ||
</div> | ||
</div> | ||
<script> | ||
$(document).ready(function(){ | ||
$('#tabel-data').DataTable({ | ||
'processing': true, | ||
"pageLength": 10, | ||
'order': [], | ||
'columnDefs': [ | ||
{ | ||
'searchable': false, | ||
'targets': 0 | ||
}, | ||
{ | ||
'orderable': false, | ||
'targets': 0 | ||
} | ||
], | ||
'language': { | ||
'url': BASE_URL + '/assets/bootstrap/js/dataTables.indonesian.lang' | ||
}, | ||
}); | ||
}); | ||
</script> |