<?php if ($count == 0) { ?> <tr> <td align="center" colspan="10">Tidak ada data!</td> </tr> <?php } else { foreach ($col[0] as $k => $val) { if ($k % 2 == 1) { $class = "row0"; } else { $class = "row1"; } $real_satker_spm = real_satker_spm($th, $col[0][$k]); $real_satker_sp2d = real_satker_sp2d($th, $col[0][$k]); ?> <tr class="<?php echo $class; ?> "> <td width="6%" align="center"><strong><?php echo $col[0][$k]; ?> </strong></td> <td width="54%" align="left"><strong><?php echo nm_satker($col[0][$k]); ?> </strong></td> <td width="12%" align="right"><strong><?php echo number_format($col[1][$k], "0", ",", ".");
$real_spm = real_satker_spm($th, $kdsatker); break; case 7: $teks_1 = 'Operator Keuangan'; $teks_2 = nm_satker(substr($xusername, 4, 6)); $kdsatker = substr($xusername, 4, 6); $pagu = pagu_satker($th, $kdsatker); $real_sp2d = real_satker_sp2d($th, $kdsatker); $real_spm = real_satker_spm($th, $kdsatker); break; case 8: $teks_1 = 'Pimpinan'; $teks_2 = nm_unit(substr($xusername, 3, 7)); $kdsatker = kd_satker(substr($xusername, 3, 7)); $pagu = pagu_satker($th, $kdsatker); $real_sp2d = real_satker_sp2d($th, $kdsatker); $real_spm = real_satker_spm($th, $kdsatker); break; case 9: $teks_1 = $xusername; $teks_2 = 'DIREKTORAT JENDERAL KEBUDAYAAN'; $kdsatker = ''; $pagu = pagu_menteri($th); $real_sp2d = real_menteri_sp2d($th, '023', '15'); $real_spm = real_menteri_spm($th, '023', '15'); break; } echo "<strong><font color='#993300' size = '2'> Realisasi Anggaran <br>" . $teks_2 . "</font></strong>"; $sql = "select KDDEPT, KDUNIT from setup_dept "; $aDept = mysql_query($sql); $Dept = mysql_fetch_array($aDept);