<tr>
      <th rowspan="2">Kode APBN</th>
      <th rowspan="2"><font color="#006600">Lembaga</font><br />Akun</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>Triwulan ini </th>
      <th>s.d Triwulan ini </th>
      <th>(%)</th>
    </tr>
  </thead>
  <tbody>
  <?php 
$pagu_menteri = pagu_menteri($th);
$real_menteri_triwulan = real_menteri_triwulan($th, $kdtriwulan);
$real_menteri_sdtriwulan = real_menteri_sdtriwulan($th, $kdtriwulan);
?>
    <tr>
      <td align="center" valign="top"><font color="#009900"><strong><?php 
echo '084';
?>
</strong></font></td>
      <td align="left"><font color="#009900"><strong><?php 
echo strtoupper(nm_unit('840000'));
?>
</strong></font></td>
      <td align="right" valign="top"><font color="#009900"><strong><?php 
echo number_format($pagu_menteri, "0", ",", ".");
?>
Пример #2
0
        ?>
" title="Delete"> 
        <img src="css/images/stop_f2.png" border="0" width="16" height="16"> </a>      </td>
    </tr>
    <?php 
    }
}
?>
    <tr class="<?php 
echo $class;
?>
">
      <td colspan="4" align="right" valign="top"><strong>Jumlah Anggaran</strong></td>
      <td align="right" valign="top"><strong><?php 
echo number_format($total, "0", ",", ".");
?>
</strong></td>
      <td align="center" valign="top">&nbsp;</td>
      <td align="center" valign="top">&nbsp;</td>
    </tr>
  
  <tfoot>
    <tr> 
      <td colspan="7"><font color="#003399"><strong>Jumlah Alokasi anggaran program Direktorat Jenderal Kebudayaan sebesar Rp. <?php 
echo number_format(pagu_menteri($th), "0", ",", ".");
?>
</strong></font></td>
    </tr>
  </tfoot>
</table>
Пример #3
0
      <th>7</th>
      <th>8</th>
      <th>9</th>
      <th>10</th>
      <th>11</th>
      <th>12</th>
      <th width="2%">(%)</th>
    </tr>
  </thead>
  <tbody>
  <?php 
if ($xlevel != 3 and $xlevel != 4 and $xlevel != 5 and $xlevel != 6 and $xlevel != 7 and $xlevel != 8) {
    $sql = "select \tsum(RPHPAGU) as RPHPAGU,\r\n\t\t\t\t\tsum(JML01) as JML01,\r\n\t\t\t\t\tsum(JML01+JML02) as JML02,\r\n\t\t\t\t\tsum(JML01+JML02+JML03) as JML03,\r\n\t\t\t\t\tsum(JML01+JML02+JML03+JML04) as JML04,\r\n\t\t\t\t\tsum(JML01+JML02+JML03+JML04+JML05) as JML05,\r\n\t\t\t\t\tsum(JML01+JML02+JML03+JML04+JML05+JML06) as JML06,\r\n\t\t\t\t\tsum(JML01+JML02+JML03+JML04+JML05+JML06+JML07) as JML07,\r\n\t\t\t\t\tsum(JML01+JML02+JML03+JML04+JML05+JML06+JML07+JML08) as JML08,\r\n\t\t\t\t\tsum(JML01+JML02+JML03+JML04+JML05+JML06+JML07+JML08+JML09) as JML09,\r\n\t\t\t\t\tsum(JML01+JML02+JML03+JML04+JML05+JML06+JML07+JML08+JML09+JML10) as JML10,\r\n\t\t\t\t\tsum(JML01+JML02+JML03+JML04+JML05+JML06+JML07+JML08+JML09+JML10+JML11) as JML11,\r\n\t\t\t\t\tsum(JML01+JML02+JML03+JML04+JML05+JML06+JML07+JML08+JML09+JML10+JML11+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) / 1000000;
    $real_menteri_bulan_1 = real_menteri_spm_sdbulan($th, $kddept, $kdunit, 1) / 1000000;
    $real_menteri_bulan_2 = real_menteri_spm_sdbulan($th, $kddept, $kdunit, 2) / 1000000;
    $real_menteri_bulan_3 = real_menteri_spm_sdbulan($th, $kddept, $kdunit, 3) / 1000000;
    $real_menteri_bulan_4 = real_menteri_spm_sdbulan($th, $kddept, $kdunit, 4) / 1000000;
    $real_menteri_bulan_5 = real_menteri_spm_sdbulan($th, $kddept, $kdunit, 5) / 1000000;
    $real_menteri_bulan_6 = real_menteri_spm_sdbulan($th, $kddept, $kdunit, 6) / 1000000;
    $real_menteri_bulan_7 = real_menteri_spm_sdbulan($th, $kddept, $kdunit, 7) / 1000000;
    $real_menteri_bulan_8 = real_menteri_spm_sdbulan($th, $kddept, $kdunit, 8) / 1000000;
    $real_menteri_bulan_9 = real_menteri_spm_sdbulan($th, $kddept, $kdunit, 9) / 1000000;
    $real_menteri_bulan_10 = real_menteri_spm_sdbulan($th, $kddept, $kdunit, 10) / 1000000;
    $real_menteri_bulan_11 = real_menteri_spm_sdbulan($th, $kddept, $kdunit, 11) / 1000000;
    $real_menteri_bulan_12 = real_menteri_spm_sdbulan($th, $kddept, $kdunit, 12) / 1000000;
    ?>
    <tr>
      <td rowspan="2" align="center">&nbsp;</td>