<h2>Klasifikasi</h2>
<?php 
echo add_path('klasifikasi');
echo $this->session->flashdata('notice');
echo table_open_tag('cellpadding=\\"5\\" cellspacing=\\"0\\"');
$title = array('No', 'ID', 'Nama Klasifikasi', 'Aksi');
echo table_title($title);
$no = 1;
foreach ($results as $row) {
    $data = array($no, $row->KLASIFIKASI_ID, $row->NAMA_KLASIFIKASI, delete_path('klasifikasi', $row->ID, $row->NAMA_KLASIFIKASI) . ' | ' . edit_path('klasifikasi', $row->ID));
    echo table_contents($data);
    $no++;
}
echo table_close_tag();
if (empty($results)) {
    echo "Data tidak ditemukan..";
}
<h2>Pengaturan Hak Akses</h2>

<?php 
echo table_open_tag('cellspacing="0" cellpadding="5" width="100%"');
$title = array('Nama Group', '-');
echo table_title($title);
foreach ($results as $row) {
    $data = array($row->NAMA_GROUP, anchor('user_roles/group/' . $row->ID, 'Edit Permission'));
    echo table_contents($data);
}
echo table_close_tag();
<?php

echo table_open_tag("cellpadding=\"5\" cellspacing=\"0\" width=\"100%\"");
$title = array('Judul Pustaka', 'ISBN/ISNN', 'Copies', 'Last Update', '');
echo table_title($title);
foreach ($results as $row) {
    $data = array($row->JUDUL_PUSTAKA, $row->ISBN_ISSN, !$row->JUMLAH ? "none" : $row->JUMLAH, date("d M Y", strtotime($row->TANGGAL_INPUT)), form_checkbox('check[]', $row->ID) . ' | ' . edit_path('buku', $row->ID) . ' | ' . anchor('buku/', 'Add Item'));
    echo table_contents($data);
}
echo table_close_tag();
//echo data_is_empty($results);