Files

56 lines
1.6 KiB
PHP

<?php
//open form
echo form_open(base_url('animasi'),' class="form-horizontal"');
?>
<p>
<a href="<?php echo base_url('dashboard') ?>" class="btn btn-secondary" data-dismiss="modal"><i class="fa fa-times"></i> Kembali</a>
</p>
<?php
//panggil form tambah
//include('tambah.php');
//closing form
echo form_close();
?>
<table class="table table-bordered table-striped table-sm" id="example1">
<thead>
<tr>
<th width="5%">NO.</th>
<th width="8%">NO. PEND</th>
<th width="20%">NAMA LENGKAP</th>
<th width="15%">TEMPAT/TGL. LAHIR</th>
<th width="10%">AGAMA</th>
<th width="20%">SEKOLAH ASAL</th>
<th width="25%">PROG. KEAHLIAN DIMINATI</th>
<th width="10%">GELOMBANG</th>
<th width="10%">NO. HP CASIS</th>
<th width="10%">NO. HP AYAH</th>
<th width="10%">NO. HP IBU</th>
</tr>
</thead>
<tbody>
<?php foreach ($animasi as $key => $animasi) { ?>
<tr>
<td><?php echo $key+1; ?></td>
<td><b><?php echo $animasi->no_pendaftaran ?></b>
<br><small><?php echo date('d-m-Y', strtotime($animasi->tgl_trans)) ?></small>
</td>
<td><?php echo $animasi->nama_lengkap ?>
<br><small><?php echo $animasi->jkelamin ?></small>
</td>
<td><?php echo $animasi->tempat_lahir ?>, <?php echo date('d-m-Y', strtotime($animasi->tgl_lahir)) ?></td>
<td><?php echo $animasi->agama ?></td>
<td><?php echo $animasi->sekolah_asal ?></td>
<td><?php echo $animasi->kompetensi ?></td>
<td><?php echo $animasi->gelombang ?></td>
<td><?php echo $animasi->no_hp ?></td>
<td><?php echo $animasi->tlp_ayah ?></td>
<td><?php echo $animasi->tlp_ibu ?></td>
</tr>
<?php } ?>
</tbody>
</table>