<?php $kepangkatans = getKepangkatanDisplay($row['nip_peg']); foreach ($kepangkatans as $row2) { ?> <td><?php echo $row2['pangkat_gol']; ?> - <?php echo $row2['tmt']; ?> </td> <?php } ?> <?php $kepangkatans = getJabatanDisplay($row['nip_peg']); foreach ($kepangkatans as $row3) { ?> <td><?php echo $row3['eselon']; ?> - <?php echo $row3['tmt']; ?> </td> <td><?php echo $row3['jabatan']; ?> </td> <?php }
<?php include "header.php"; $nip_peg = $_GET['nip_peg']; $pegawais = getDataPegawaiById($nip_peg); foreach ($pegawais as $row) { $jabatans = getJabatanDisplay($nip_peg); $pangkats = getKepangkatanDisplay($nip_peg); include "sidebar.php"; ?> <div class="col-md-9"> <h2>DAFTAR RIWAYAT HIDUP</h2> <div> <div> <h3>DETAIL KETERANGAN PERORANGAN</h3> <div class="tbl-no-border data-diri"> <table id="left" border="0"> <tr> <td>1.</td> <td>Nama </td> <td>:</td> <td><?php if (isset($_SESSION['username'])) { ?> <a href="<?php echo $base_url; ?> /edit_pegawai.php?nip_peg=<?php echo $nip_peg; ?> "><?php
//Restore orignal HTML document.body.innerHTML = oldPage; } </script> <?php include "sidebar.php"; ?> <div class="col-md-9"> <h3>DAFTAR RIWAYAT HIDUP</h3> <?php $search = $_GET['search']; $pegawais = getSearchPegawai($search); foreach ($pegawais as $row) { $jabatandisplays = getJabatanDisplay($row['nip_peg']); $pangkatdisplays = getKepangkatanDisplay($row['nip_peg']); $pendidikandisplays = getPendidikanDisplay($row['nip_peg']); $diks = getDiklat($row['nip_peg']); $kepangkatans = getKepangkatan($row['nip_peg']); $jabatans = getJabatan($row['nip_peg']); $pendidikans = getPendidikan($row['nip_peg']); $keluargas = getKeluargaPegawai($row['nip_peg']); // var_dump($row); ?> <div> <div> <h4>IDENTITAS PEGAWAI</h4> <div class="tbl-no-border data-diri" style="width:450px;"> <table id="left" border="0"> <tr>