예제 #1
0
</strong></td>
      <td align="right" valign="top"><strong><?php 
        echo number_format($col[2][$k] - $real_satker, "0", ",", ".");
        ?>
</strong></td>
    </tr>
    <?php 
        $kdsatker = $col[1][$k];
        $sql = "select KDGIAT, sum(jumlah) as pagu_giat from {$table}  WHERE THANG = '{$th}' and KDSATKER = '{$kdsatker}' group by KDGIAT order by KDGIAT";
        $aGiat = mysql_query($sql);
        while ($Giat = mysql_fetch_array($aGiat)) {
            $pegawai_giat = anggaran_belanja_giat($th, $col[1][$k], $Giat['KDGIAT'], '51');
            $barang_giat = anggaran_belanja_giat($th, $col[1][$k], $Giat['KDGIAT'], '52');
            $modal_giat = anggaran_belanja_giat($th, $col[1][$k], $Giat['KDGIAT'], '53');
            $perjalanan_giat = anggaran_belanja_giat($th, $col[1][$k], $Giat['KDGIAT'], '524');
            $sosial_giat = anggaran_belanja_giat($th, $col[1][$k], $Giat['KDGIAT'], '57');
            $real_giat_sdbulan_51 = real_giat_spm_sdbulan_jnsbel($th, $kdsatker, $Giat['KDGIAT'], $kdbulan, '51');
            $real_giat_sdbulan_52 = real_giat_spm_sdbulan_jnsbel($th, $kdsatker, $Giat['KDGIAT'], $kdbulan, '52');
            $real_giat_sdbulan_53 = real_giat_spm_sdbulan_jnsbel($th, $kdsatker, $Giat['KDGIAT'], $kdbulan, '53');
            $real_giat_sdbulan_524 = real_giat_spm_sdbulan_jnsbel($th, $kdsatker, $Giat['KDGIAT'], $kdbulan, '524');
            $real_giat_sdbulan_57 = real_giat_spm_sdbulan_jnsbel($th, $kdsatker, $Giat['KDGIAT'], $kdbulan, '57');
            $real_giat = $real_giat_sdbulan_51 + $real_giat_sdbulan_52 + $real_giat_sdbulan_53 + $real_giat_sdbulan_524 + $real_giat_sdbulan_57;
            ?>
    <tr class="<?php 
            echo $class;
            ?>
">
      <td align="center" valign="top"><font color="#0000FF"><?php 
            echo $Giat['KDGIAT'];
            ?>
</font></td>
예제 #2
0
            ?>
</font></td>
      <td width="10%" align="right" valign="top"><font color="#0033CC"><?php 
            echo number_format(anggaran_belanja_giat($th, $col[1][$k], $Giat['KDGIAT'], '52'), "0", ",", ".");
            ?>
</font></td>
      <td width="5%" align="right" valign="top"><font color="#0033CC"><?php 
            echo number_format(anggaran_belanja_giat($th, $col[1][$k], $Giat['KDGIAT'], '53'), "0", ",", ".");
            ?>
</font></td>
      <td width="5%" align="right" valign="top"><font color="#0033CC"><?php 
            echo number_format(anggaran_belanja_giat($th, $col[1][$k], $Giat['KDGIAT'], '524'), "0", ",", ".");
            ?>
</font></td>
      <td width="5%" align="right" valign="top"><font color="#0033CC"><?php 
            echo number_format(anggaran_belanja_giat($th, $col[1][$k], $Giat['KDGIAT'], '57'), "0", ",", ".");
            ?>
</font></td>
      <td width="11%" rowspan="2" align="center" valign="top">
	  <a href="index.php?p=406&kdsatker=<?php 
            echo $col[1][$k];
            ?>
&th=<?php 
            echo $th;
            ?>
&kdgiat=<?php 
            echo $Giat['KDGIAT'];
            ?>
" title="DIPA Detil"><font size="1">[DIPA Detil]</font></a>
	  <br /><a href="index.php?p=407&kdsatker=<?php 
            echo $col[1][$k];
예제 #3
0
        ?>
</strong></td>
      <td align="right" valign="top"><strong><?php 
        echo number_format($col[2][$k] - $real_satker, "0", ",", ".");
        ?>
</strong></td>
    </tr>
    <?php 
        $kdsatker = $col[1][$k];
        $sql = "select a.THANG, a.KDGIAT, sum(a.jumlah) as pagu_giat, b.kdunitkerja from {$table} a LEFT OUTER JOIN m_kegiatan b ON ( a.KDGIAT = b.kdgiat and a.THANG = b.th )  WHERE a.THANG = '{$th}' and a.KDSATKER = '{$kdsatker}' group by a.KDGIAT order by b.kdunitkerja";
        $aGiat = mysql_query($sql);
        while ($Giat = mysql_fetch_array($aGiat)) {
            $pegawai_giat = anggaran_belanja_giat($col[0][$k], $col[1][$k], $Giat['KDGIAT'], '51');
            $barang_giat = anggaran_belanja_giat($col[0][$k], $col[1][$k], $Giat['KDGIAT'], '52');
            $modal_giat = anggaran_belanja_giat($col[0][$k], $col[1][$k], $Giat['KDGIAT'], '53');
            $perjalanan_giat = anggaran_belanja_giat($col[0][$k], $col[1][$k], $Giat['KDGIAT'], '524');
            $real_giat_sdtriwulan_51 = real_giat_sdtriwulan_jnsbel($th, $kdsatker, $Giat['KDGIAT'], $kdtriwulan, '51');
            $real_giat_sdtriwulan_52 = real_giat_sdtriwulan_jnsbel($th, $kdsatker, $Giat['KDGIAT'], $kdtriwulan, '52');
            $real_giat_sdtriwulan_53 = real_giat_sdtriwulan_jnsbel($th, $kdsatker, $Giat['KDGIAT'], $kdtriwulan, '53');
            $real_giat_sdtriwulan_524 = real_giat_sdtriwulan_jnsbel($th, $kdsatker, $Giat['KDGIAT'], $kdtriwulan, '524');
            $real_giat = $real_giat_sdtriwulan_51 + $real_giat_sdtriwulan_52 + $real_giat_sdtriwulan_53 + $real_giat_sdtriwulan_524;
            ?>
    <tr class="<?php 
            echo $class;
            ?>
">
      <td align="left" valign="top"><?php 
            if ($Giat['kdunitkerja'] != $kdunitkerja) {
                ?>
<font color="#0000FF"><?php 
                echo strtoupper(nm_unit($Giat['kdunitkerja']));