예제 #1
0
      <th rowspan="2">Kode APBN</th>
      <th rowspan="2"><font color="#006600">Lembaga</font><br /><strong>Satuan Kerja</strong><br/><font color="#0000FF">Kegiatan</font><br/><font color="#993333">Output</font></th>
      <th rowspan="2">Pagu Anggaran</th>
      <th colspan="3">Reaisasi Anggaran</th>
      <th width="10%" rowspan="2">Sisa<br />Anggaran</th>
    </tr>
    <tr>
      <th>Bulan ini </th>
      <th>s.d Bulan ini </th>
      <th>(%)</th>
    </tr>
  </thead>
  <tbody>
  <?php 
$pagu_menteri = pagu_menteri($th);
$real_menteri_bulan = real_menteri_bulan($th, $kdbulan);
$real_menteri_sdbulan = real_menteri_sdbulan($th, $kdbulan);
$renc_menteri_sdbulan = renc_menteri_sdbulan($th, $kdbulan);
?>
    <tr>
      <td align="center" valign="top">&nbsp;</td>
      <td align="center" valign="top"><font color="#009900"><strong><?php 
echo '023';
?>
</strong></font></td>
      <td align="left"><font color="#009900"><strong><?php 
echo strtoupper(nm_unit('231000'));
?>
</strong></font></td>
      <td align="right" valign="top"><font color="#009900"><strong><?php 
echo number_format($pagu_menteri, "0", ",", ".");
예제 #2
0
    $sql = "select \tsum(RPHPAGU) as RPHPAGU,\r\n\t\t\t\t\tsum(JML01) as JML01,\r\n\t\t\t\t\tsum(JML02) as JML02,\r\n\t\t\t\t\tsum(JML03) as JML03,\r\n\t\t\t\t\tsum(JML04) as JML04,\r\n\t\t\t\t\tsum(JML05) as JML05,\r\n\t\t\t\t\tsum(JML06) as JML06,\r\n\t\t\t\t\tsum(JML07) as JML07,\r\n\t\t\t\t\tsum(JML08) as JML08,\r\n\t\t\t\t\tsum(JML09) as JML09,\r\n\t\t\t\t\tsum(JML10) as JML10,\r\n\t\t\t\t\tsum(JML11) as JML11,\r\n\t\t\t\t\tsum(JML12) as JML12\r\n\t\t\t\t\tfrom d_trktrm WHERE THANG='{$th}' group by THANG";
    $aTarik = mysql_query($sql);
    $Tarik = mysql_fetch_array($aTarik);
    $pagu_menteri = pagu_menteri($th);
    $real_menteri_bulan_1 = real_menteri_bulan($th, 1);
    $real_menteri_bulan_2 = real_menteri_bulan($th, 2);
    $real_menteri_bulan_3 = real_menteri_bulan($th, 3);
    $real_menteri_bulan_4 = real_menteri_bulan($th, 4);
    $real_menteri_bulan_5 = real_menteri_bulan($th, 5);
    $real_menteri_bulan_6 = real_menteri_bulan($th, 6);
    $real_menteri_bulan_7 = real_menteri_bulan($th, 7);
    $real_menteri_bulan_8 = real_menteri_bulan($th, 8);
    $real_menteri_bulan_9 = real_menteri_bulan($th, 9);
    $real_menteri_bulan_10 = real_menteri_bulan($th, 10);
    $real_menteri_bulan_11 = real_menteri_bulan($th, 11);
    $real_menteri_bulan_12 = real_menteri_bulan($th, 12);
    $real_menteri_sdbulan = real_menteri_sdbulan($th, 12);
    ?>
    <tr>
      <td rowspan="2" align="center"><font color="#009900"><strong><?php 
    echo '023';
    ?>
</strong></font></td>
      <td rowspan="2" align="left"><font color="#009900"><strong><?php 
    echo strtoupper(nm_unit('2320000'));
    ?>
</strong></font></td>
      <td rowspan="2" align="right"><font color="#009900"><strong><?php 
    echo number_format($pagu_menteri, "0", ",", ".");
    ?>
</strong></font></td>