?> " /> Sampai dengan Triwulan : <select name="kdtriwulan"><?php for ($i = 1; $i <= 4; $i++) { ?> <option value="<?php echo $i; ?> " <?php if ($i == $kdtriwulan) { echo "selected"; } ?> ><?php echo 'Triwulan ' . nmromawi($i); ?> </option><?php } ?> </select> <input type="submit" value="Tampilkan" name="cari"/> </form> <br /> <table width="787" cellpadding="1" class="adminlist"> <thead> <tr> <th rowspan="2">Kode APBN</th> <th rowspan="2"><font color="#006600">Lembaga</font><br />Akun</th>
<thead> <tr> <th rowspan="3">Kode APBN</th> <th rowspan="3">Nama Program</th> <th colspan="5">Anggaran</th> </tr> <tr> <th rowspan="2">Total<br /> Pagu</th> <th colspan="2">Rencana Penarikan s/d<br /> Triwulan <?php echo nmromawi($kdtriwulan); ?> </th> <th colspan="2">Realisasi s/d<br />Triwulan <?php echo nmromawi($kdtriwulan); ?> </th> </tr> <tr> <th height="21">Rp.</th> <th>%</th> <th>Rp.</th> <th>%</th> </tr> </thead> <tbody> <?php if ($count == 0) { ?> <tr>
$pdf->Cell($w2[2], $ln, '(3)', $border, 0, 'C'); $pdf->SetX($margin + $w2[0] + $w2[1] + $w2[2]); $pdf->Cell($w2[3], $ln, '(4)', $border, 0, 'C'); $pdf->SetX($margin + $w2[0] + $w2[1] + $w2[2] + $w2[3]); $pdf->Cell($w2[4], $ln, '(5)', $border, 0, 'C'); $pdf->SetX($margin + $w2[0] + $w2[1] + $w2[2] + $w2[3] + $w2[4]); $pdf->Cell($w2[5], $ln, '(6)=(3)x(5)', $border, 0, 'C'); $pdf->SetX($margin + $w2[0] + $w2[1] + $w2[2] + $w2[3] + $w2[4] + $w2[5]); $pdf->Cell($w2[6], $ln, '(7)', $border, 1, 'C'); $ln = 4; $sql = "SELECT kdkelompok FROM t_bantu WHERE kdjab = '{$kdjab}' GROUP BY kdkelompok ORDER BY kdkelompok"; $qu = mysql_query($sql); while ($Kelompok = mysql_fetch_array($qu)) { $pdf->SetFont($font, 'B', $size - 1); $max = 0; $arrNo = $pdf->SplitToArray($w2[0], $ln, nmromawi($Kelompok['kdkelompok'])); $arrUraian = $pdf->SplitToArray($w2[1] + $w2[2] + $w2[3] + $w2[4] + $w2[5] + $w2[6], $ln, trim(nm_kelompok_bantu($kdjab, $Kelompok['kdkelompok']))); if ($max < count($arrUraian)) { $max = count($arrUraian); } for ($i = 0; $i < $max; $i++) { $pdf->SetX($margin); $pdf->Cell($w2[0], $ln, $arrNo[$i], 'LR', 0, 'C'); $pdf->SetX($margin + $w2[0]); $pdf->Cell($w2[1] + $w2[2] + $w2[3] + $w2[4] + $w2[5] + $w2[6], $ln, $arrUraian[$i], 'LR', 1, 'L'); } $pdf->Line($margin, $pdf->GetY(), $margin + $w2[0] + $w2[1] + $w2[2] + $w2[3] + $w2[4] + $w2[5] + $w2[6], $pdf->GetY()); $pdf->SetFont($font, '', $size - 2); $sql_item = "SELECT * FROM t_bantu WHERE kdjab = '{$kdjab}' and kdkelompok = '{$Kelompok['kdkelompok']}' ORDER BY kditem"; $qu_item = mysql_query($sql_item); while ($Item = mysql_fetch_array($qu_item)) {
echo "selected"; } ?> ><?php echo nmromawi($i); ?> </option><?php } ?> </select> <input type="submit" value="Cari" name="cari"/> </form> </div> <strong><?php echo 'Triwulan ' . nmromawi($kdtriwulan); ?> </strong><br /> <table width="840" cellpadding="1" class="adminlist"> <thead> <tr> <th width="4%" rowspan="2">No.</th> <th width="6%" rowspan="2">Unit Kerja</th> <th colspan="2">Kode</th> <th rowspan="2">Nama Satker dan Kegiatan /<br> Output /<br />Hasil</th> <th colspan="5">% Capaian & Hasil Triwulan </th> <th rowspan="2">Aksi</th> </tr> <tr> <th width="6%">Satker</th>
<tr><td align="center" colspan="9">Tidak ada data!</td></tr><?php } else { foreach ($col[0] as $k => $val) { if ($k % 2 == 1) { $class = "row0"; } else { $class = "row1"; } ?> <tr class="<?php echo $class; ?> "> <td align="center"><?php if ($col[1][$k] != $col[1][$k - 1]) { echo nmromawi($col[1][$k]); } ?> </td> <td align="left"><?php if ($col[1][$k] != $col[1][$k - 1]) { echo nm_kelompok_bantu($kdjab, $col[1][$k]); } ?> </td> <td align="center"><?php echo $col[3][$k]; ?> </td> <td align="left"><?php echo $col[4][$k];
if ($k % 2 == 1) { $class = "row0"; } else { $class = "row1"; } ?> <tr class="<?php echo $class; ?> "> <td align="center" valign="top"><?php echo $limit * ($pagess - 1) + ($k + 1); ?> </td> <td align="left" valign="top"><?php echo 'Golongan ' . nmromawi($col[1][$k]); ?> </td> <td align="center" valign="top"><?php echo $col[2][$k]; ?> </td> <td width="5%" align="center" valign="top"> <?php if ($xlevel == '1') { ?> <a href="<?php echo $ed[$k]; ?> &pagess=<?php echo $pagess;
?> </select> <input type="submit" value="Tampilkan" name="cari"/> </form> <br /> <table width="787" cellpadding="1" class="adminlist"> <thead> <tr> <th rowspan="2">Unit Eselon II</th> <th rowspan="2">Kode APBN</th> <th rowspan="2"><font color="#006600">Lembaga</font><br />Nama Satuan Kerja / <br> <font color="#0000FF">Nama Kegiatan</font> / <br /><font color="#993333">Output</font></th> <th colspan="2">Pagu</th> <th colspan="4">Realisasi Triwulan <?php echo nmromawi($kdtriwulan) . ' Tahun ' . $th; ?> </th> <th width="10%" rowspan="2">Sisa<br />Anggaran</th> </tr> <tr> <th>Pagu</th> <th>Rencana s.d<br />Triwulan Ini</th> <th>Triwulan Ini </th> <th>s.d Triwulan Ini </th> <th>% thd Rencana Penarikan </th> <th>% thd Pagu </th> </tr> </thead> <tbody> <?php