?> <!-- preview gambar --> <!-- table req details --> <?php if (isset($_GET['idreq']) && isset($_GET['tbl'])) { $tbl = htmlspecialchars($_GET['tbl']); $dafkol = $this->db->list_fields('purchase'); $fkol = array_shift(array_slice($dafkol, 0, 1)); $idreqs = rtrim(htmlspecialchars($_GET['idreq'])); $cekurld = cekurlid('purchase', 'idreq'); if (in_array($idreqs, $cekurld)) { $datanya = getpurc_byst($tbl); ?> <div class="table-responsive"> <table class="table table-bordered"> <thead> <tr> <?php if (is_admin() || is_mimin()) { ?> <th>Aksi</th> <?php } ?> <?php foreach ($dafkol as $kol) { ?>
?> <!-- preview gambar --> <!-- table req details --> <?php if (isset($_GET['idreq']) && isset($_GET['tbl'])) { $tbl = htmlspecialchars($_GET['tbl']); $dafkol = $this->db->list_fields('purchase'); $fkol = array_shift(array_slice($dafkol, 0, 1)); $idreqs = rtrim(htmlspecialchars($_GET['idreq'])); $cekurld = cekurlid('purchase', 'idreq'); if (in_array($idreqs, $cekurld)) { $datanya = getpurc_byst($tbl, $idreqs); ?> <div class="table-responsive"> <table class="table table-bordered"> <thead> <tr> <?php if (is_admin() || is_mimin()) { ?> <th>Aksi</th> <?php } ?> <?php foreach ($dafkol as $kol) {