if (isset($_POST["cari"])) { $xkdunit = $_REQUEST['kdunit']; } $kdsatker = kd_satker($xkdunit); $sql = "select kdsatker from tb_unitkerja WHERE kdsatker = '{$kdsatker}' group by kdsatker"; $aSatker = mysql_query($sql); $count = 0; $count = mysql_num_rows($aSatker); while ($Satker = mysql_fetch_array($aSatker)) { $pagu_satker = pagu_satker($th, $Satker['kdsatker']); //echo 'pagu-'.$pagu_satker ; //if ( $pagu_satker > 0 ) //{ $col[1][] = $Satker['kdsatker']; $col[2][] = $pagu_satker; $col[3][] = blokir_satker($th, $Satker['kdsatker']); //}else{ //$count = 0 ; //} } ?> <div align="right"> <form action="" method="post"> <input type="hidden" name="p" value="<?php echo $p; ?> " /> Satker : <select name="kdunit"> <option value="<?php echo $xkdunit;
</td> <td align="right"><?php echo number_format(anggaran_belanja_satker($th, $kdsatker, '524'), "0", ",", "."); ?> </td> <td align="right"><?php echo number_format(anggaran_belanja_satker($th, $kdsatker, '57'), "0", ",", "."); ?> </td> </tr> <tr class="<?php echo $class; ?> "> <td align="right"><strong><?php echo number_format(blokir_satker($th, $kdsatker), "0", ",", "."); ?> </strong></td> <td align="right"><strong><?php echo number_format(blokir_belanja_satker($th, $kdsatker, '51'), "0", ",", "."); ?> </strong></td> <td align="right"><strong><?php echo number_format(blokir_belanja_satker($th, $kdsatker, '52'), "0", ",", "."); ?> </strong></td> <td align="right"><strong><?php echo number_format(blokir_belanja_satker($th, $kdsatker, '53'), "0", ",", "."); ?> </strong></td> <td align="right"><strong><?php