Example #1
0
 function Header()
 {
     $kdunit = '420000';
     $border = 1;
     $borderless = 0;
     $marginL = 13;
     $marginT = 25;
     $marginR = 200;
     $marginB = 287;
     $font = "Arial";
     $fsize1 = 9;
     $h = $fsize1 / 2;
     $fsize2 = 10;
     $hh = $fsize2 / 2;
     $fsize3 = 12;
     $hhh = $fsize3 / 2;
     $w = array(75, 100, 75);
     $th = date('Y');
     $renstra = th_renstra($th);
     $this->SetFont($font, 'B', $fsize3);
     $this->SetX($marginL + $w[0]);
     $this->Cell($w[1], $hhh, 'INDIKATOR KINERJA UTAMA ' . $renstra, $borderless, 1, 'C');
     $this->SetX($marginL + $w[0]);
     $this->Cell($w[1], $hhh, trim(nm_unit($kdunit)), $borderless, 1, 'C');
     $this->Ln();
 }
Example #2
0
 function Header()
 {
     $kdunit = $_REQUEST['kdunit'];
     $border = 1;
     $borderless = 0;
     $marginL = 13;
     $marginT = 25;
     $marginR = 200;
     $marginB = 287;
     $font = "Arial";
     $fsize1 = 9;
     $h = $fsize1 / 2;
     $fsize2 = 10;
     $hh = $fsize2 / 2;
     $fsize3 = 12;
     $hhh = $fsize3 / 2;
     $w = array(75, 100, 75);
     $this->SetFont($font, 'B', $fsize3);
     $this->SetX($marginL + $w[0]);
     $this->Cell($w[1], $hhh, 'INDIKATOR KINERJA UTAMA 2010-2014', $borderless, 1, 'C');
     $this->SetX($marginL + $w[0]);
     $this->Cell($w[1], $hhh, trim(nm_unit($kdunit)), $borderless, 1, 'C');
     $this->Ln();
 }
	<?php 
if ($xlevel != 3 and $xlevel != 4 and $xlevel != 5 and $xlevel != 6 and $xlevel != 7 and $xlevel != 8) {
    //-----------------------------	$sql = "select sum(NILMAK) as real_menteri from m_spmmak WHERE THANG='$th' AND left(KDAKUN,1) = '5' group by THANG";
    $aMenteri = mysql_query($sql);
    $Menteri = mysql_fetch_array($aMenteri);
    $pagu_menteri = pagu_menteri($th);
    $real_menteri_spm = real_menteri_spm($th, $kddept, $kdunit);
    $real_menteri_sp2d = real_menteri_sp2d($th, $kddept, $kdunit);
    ?>
    <tr>
      <td align="center"><font color="#009933"><strong><?php 
    echo $kddept;
    ?>
</strong></font></td>
      <td align="left"><font color="#009933"><strong><?php 
    echo strtoupper(nm_unit($kdmenteri));
    ?>
</strong></font></td>
      <td align="right"><font color="#009933"><strong><?php 
    echo number_format($pagu_menteri, "0", ",", ".");
    ?>
</strong></font></td>
      <td align="right"><font color="#009933"><strong><?php 
    echo number_format($real_menteri_spm, "0", ",", ".");
    ?>
</strong></font></td>
      <td align="center"><font color="#009933"><strong><?php 
    echo number_format($real_menteri_spm / $pagu_menteri * 100, "2", ",", ".");
    ?>
</strong></font></td>
      <td align="right"><font color="#009933"><strong><?php 
Example #4
0
echo $_GET['p'];
?>
&no_sasaran=<?php 
echo $no_sasaran;
?>
&q=<?php 
echo $q;
?>
" method="post" name="form">
	<table width="803" cellspacing="1" class="admintable">
		
		<tr>
			<td width="173" class="key">Kementerian</td>
			<td width="621">
			<input type="text" size="70" value="<?php 
echo nm_unit($kdmenteri);
?>
" disabled="disabled"/>			</td>
		</tr>
		<tr>
		  <td class="key">No. Urut </td>
		  <td><input type="text" name="no_iku" size="3" value="<?php 
echo @$value['no_iku'];
?>
" /></td>
	  </tr>
		<tr>
			<td class="key">Indikator Kinerja Utama </td>
			<td><textarea name="nm_iku" cols="70" rows="2"><?php 
echo @$value['nm_iku'];
?>
Example #5
0
        ?>
</td>
      <td align="left"><?php 
        echo $col[7][$k];
        ?>
</td>
    </tr>
    <?php 
    }
}
?>
  </tbody>
  <tfoot>
    <tr> 
      <td colspan="3"><strong> <?php 
echo 'Tugas dan Fungsi ' . trim(ucwords(strtolower(nm_unit('420000'))));
?>
</strong><br><br>
	  <?php 
echo '<strong> Tugas : </strong>' . tugas_unit('420000');
?>
<br><br>
	  <?php 
echo '<strong> Fungsi : </strong>';
?>
<br>
<?php 
$nom = 0;
$oList = mysql_query("select nmfungsi from tb_unitkerja_fungsi where kdunit='420000' order by kdfungsi ");
while ($List = mysql_fetch_array($oList)) {
    $nom += 1;
      <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", ",", ".");
?>
</strong></font></td>
      <td align="right" valign="top"><font color="#009900"><strong><?php 
echo number_format($real_menteri_triwulan, "0", ",", ".");
?>
</strong></font></td>
      <td align="right" valign="top"><font color="#009900"><strong><?php 
echo number_format($real_menteri_sdtriwulan, "0", ",", ".");
?>
</strong></font></td>
      <td align="center" valign="top"><font color="#009900"><strong><?php 
Example #7
0
    <?php 
} else {
    foreach ($col[0] as $k => $val) {
        if ($k % 2 == 1) {
            $class = "row0";
        } else {
            $class = "row1";
        }
        ?>
    <tr class="<?php 
        echo $class;
        ?>
">
      <td align="left" valign="top"><?php 
        if ($col[2][$k] != $col[2][$k - 1]) {
            echo nm_unit($col[2][$k]);
        }
        ?>
</td> 
      <td align="left" valign="top"><?php 
        if ($col[3][$k] != $col[3][$k - 1]) {
            echo nm_sasaran($col[1][$k], $col[2][$k], $col[3][$k]);
        }
        ?>
</td>
      <td align="center" valign="top"><?php 
        echo $col[4][$k];
        ?>
</td>
      <td align="left" valign="top"><?php 
        echo $col[5][$k];
Example #8
0
		<?php 
} else {
    foreach ($col[0] as $k => $val) {
        if ($k % 2 == 1) {
            $class = "row1";
        } else {
            $class = "row1";
        }
        ?>
			<tr class="<?php 
        echo $class;
        ?>
">
			  <td align="left"><?php 
        if ($col[3][$k] != $col[3][$k - 1]) {
            echo nm_unit($col[3][$k]);
        }
        ?>
</td>
	          <td colspan="8" align="left"><font color="#0000FF"><?php 
        echo $col[2][$k];
        ?>
</font></td>
	          <td colspan="2" align="center"><a href="index.php?p=583&no_sasaran=<?php 
        echo $col[1][$k];
        ?>
&kdunit=<?php 
        echo $col[3][$k];
        ?>
" title="Tambah Indikator Kinerja">
							<img src="css/images/menu/add-icon.png" border="0" width="16" height="16">Tambah IK</a></td>
$y = $pdf->GetY();
$pdf->SetY($y);
$pdf->Image('../../css/images/logo_lapan.jpg', 135, 5, 30, 30, 'jpg');
$y = $pdf->GetY();
$pdf->Cell(0, 30, '', '', 1, 'L');
$oSatker = mysql_query("SELECT NAMA FROM t_satker WHERE KDUNITKERJA = '{$kdunit}' ");
$Satker = mysql_fetch_array($oSatker);
$kdeselon1 = substr($kdunit, 0, 3) . '000';
$oEselon = mysql_query("SELECT nama FROM tb_unitkerja WHERE kdunit = '{$kdeselon1}' ");
$Eselon = mysql_fetch_array($oEselon);
$w = array(0, 290);
$pdf->SetFont($font, 'B', $size + 2);
$pdf->SetX($margin + $w[0]);
$pdf->Cell($w[1], $ln, 'RENCANA AKSI DARI PENETAPAN KINERJA', '', 1, 'C');
$pdf->SetX($margin + $w[0]);
$pdf->Cell($w[1], $ln, trim(strtoupper(nm_unit($kdunit))), '', 1, 'C');
$pdf->Ln() * 2;
$w1 = array(35, 40, 18, 9, 40, 9, 40, 9, 40, 9, 40);
$pdf->SetFont($font, 'B', $size);
$pdf->SetX($margin);
$pdf->Cell($w1[0], $ln * 3, 'Sasaran Strategis', $border, 0, 'C');
$pdf->SetX($margin + $w1[0]);
$pdf->Cell($w1[1], $ln * 3, 'Indikator Kinerja', $border, 0, 'C');
$pdf->SetX($margin + $w1[0] + $w1[1]);
$pdf->Cell($w1[2], $ln * 3, 'Target', $border, 0, 'C');
$y = $pdf->GetY();
$pdf->SetXY($margin + $w1[0] + $w1[1] + $w1[2], $y);
$pdf->Cell(($w1[3] + $w1[4]) * 4, $ln, 'Rencana Aksi', $border, 0, 'C');
$pdf->SetXY($margin + $w1[0] + $w1[1] + $w1[2], $y + 5);
$pdf->Cell($w1[3] + $w1[4], $ln, 'Triwulan I', $border, 0, 'C');
$pdf->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4], $y + 5);
Example #10
0
?>
" size="20" value="<?php 
echo $value[1];
?>
" /></td>
    </tr>
    <tr>
      <td class="key">Unit Kerja</td>
      <td><input type="text" name="<?php 
echo $field[8];
?>
" size="7" value="<?php 
echo $value[8];
?>
" readonly /><br><?php 
echo nm_unit($value[8]);
?>
</td>
    </tr>
    <tr> 
      <td width="104" class="key">Kegiatan</td>
      <td width="608"><select name="<?php 
echo $field[2];
?>
">
          <option value="<?php 
echo $value[2];
?>
"><?php 
echo $value[2] . ' ' . substr(nm_giat($value[2]), 0, 70);
?>
Example #11
0
          <?php 
}
?>
        </select></td>
    </tr>
    <tr> 
      <td class="key">Deputi Pelaksana </td>
      <td><select name="<?php 
echo $field[6];
?>
">
          <option value="<?php 
echo $value[6];
?>
"><?php 
echo $value[6] . ' ' . nm_unit($value[6]);
?>
</option>
          <option value="">- Pilih Deputi -</option>
          <?php 
$query = mysql_query("select kdunit, left(nama_unit_kerja,60) as namadeputi from tb_unitkerja where right(kdunit,3)='000' and right(kdunit,4)<>'0000'");
while ($row = mysql_fetch_array($query)) {
    ?>
          <option value="<?php 
    echo $row['kdunit'];
    ?>
"><?php 
    echo $row['kdunit'] . ' ' . $row['namadeputi'];
    ?>
</option>
          <?php 
Example #12
0
$kdunit = $_REQUEST['kdunit'];
$renstra = th_renstra($th);
$font = 'Arial';
$noborder = 0;
$border = 1;
$size = 11;
$ln = 5;
$margin = 25;
$tinggi = 275;
$w = array(0, 180);
$pdf->Ln();
$pdf->SetFont($font, 'B', $size + 2);
$pdf->SetX($margin + $w[0]);
$pdf->Cell($w[1], $ln, 'INDIKATOR KINERJA UTAMA', '', 1, 'C');
$pdf->SetX($margin + $w[0]);
$pdf->Cell($w[1], $ln, nm_unit($kdunit), '', 1, 'C');
$pdf->SetX($margin + $w[0]);
$pdf->Cell($w[1], $ln, 'Periode Renstra ' . $renstra, '', 1, 'C');
$pdf->Ln() * 2;
$w1 = array(50, 110);
$pdf->SetFont($font, 'B', $size);
$pdf->SetX($margin);
$pdf->Cell($w1[0], $ln * 2, 'Sasaran Strategis', $border, 0, 'C');
$pdf->SetX($margin + $w1[0]);
$pdf->Cell($w1[1], $ln * 2, 'Indikator Kinerja Utama', $border, 1, 'C');
$pdf->SetFont($font, '', $size);
$no = 0;
$oList = mysql_query("select * from m_ikk_kegiatan WHERE ta = '{$renstra}' and kdunitkerja = '{$kdunit}' order by kdunitkerja,kdgiat,no_ikk");
while ($row = mysql_fetch_array($oList)) {
    $max = 0;
    $no += 1;
Example #13
0
    <?php 
} else {
    foreach ($col[0] as $k => $val) {
        if ($k % 2 == 1) {
            $class = "row0";
        } else {
            $class = "row1";
        }
        ?>
    <tr class="<?php 
        echo $class;
        ?>
">
      <td align="left" valign="top"><?php 
        if ($col[10][$k] != $col[10][$k - 1]) {
            echo nm_unit($col[10][$k]);
        }
        ?>
</td> 
      <td align="left" valign="top"><?php 
        if ($col[10][$k] != $col[10][$k - 1] or $col[2][$k] != $col[2][$k - 1]) {
            echo nm_giat($col[2][$k]);
        }
        ?>
</td>
      <td align="left" valign="top"><?php 
        if ($col[10][$k] != $col[10][$k - 1] or $col[16][$k] != $col[16][$k - 1]) {
            echo nm_sasaran($renstra, $col[10][$k], $col[16][$k]);
        }
        ?>
</td>
?>
" method="post" name="form">
	
  <table cellspacing="1" class="admintable">
    <tr> 
      <td width="109" class="key">Tahun</td>
      <td width="204"><input type="text" name="th" size="15" value="<?php 
echo $PK['th'];
?>
" disabled="disabled"/></td>
      <td width="232" align="right"></td>
    </tr>
    <tr>
      <td class="key">Eselon I</td>
      <td colspan="2"><textarea name="nm_unit" cols="70" rows="2" disabled="disabled"><?php 
echo nm_unit($xkdunit);
?>
</textarea></td>
    </tr>
    <tr>
      <td class="key">Sasaran</td>
      <td colspan="2"><textarea name="nm_sasaran" cols="70" rows="2" disabled="disabled"><?php 
echo nm_sasaran($renstra, $xkdunit, $PK['no_sasaran']);
?>
</textarea></td>
    </tr>
    
    <tr> 
      <td class="key">Kinerja</td>
      <td colspan="2"><textarea name="nm_pk" cols="70" rows="2" disabled="disabled"><?php 
echo $PK['nm_pk'];
Example #15
0
	
  <table width="721" cellspacing="1" class="admintable">
    
    
    
    <tr>
      <td class="key">Unit Kerja</td>
      <td><select name="<?php 
echo $field[2];
?>
">
          <option value="<?php 
echo $value[2];
?>
"><?php 
echo substr(nm_unit($value[2]), 0, 70);
?>
</option>
          <option value="">- Pilih Unit Kerja -</option>
          <?php 
switch ($xlevel) {
    default:
        $query = mysql_query("select kdunit, left(nmunit,70) as nama_unit from tb_unitkerja order by kdunit");
        break;
}
while ($row = mysql_fetch_array($query)) {
    ?>
          <option value="<?php 
    echo $row['kdunit'];
    ?>
"><?php 
Example #16
0
    <td width="446"><input type="text" size="5" readonly="readonly" value="<?php 
echo $value[0];
?>
" /></td>
  </tr>
  <tr> 
    <td class="key">Kode </td>
    <td><input type="text" size="5" readonly="readonly" value="<?php 
echo $value[1];
?>
" /></td>
  </tr>
  <tr> 
    <td class="key">Unit Kerja </td>
    <td><textarea readonly="readonly" cols="70" rows="2"><?php 
echo nm_unit($value[1]);
?>
</textarea></td>
  </tr>
  <tr>
    <td class="key">No. Urut</td>
    <td><input type="text" size="5" readonly="readonly" value="<?php 
echo $value[2];
?>
" /></td>
  </tr>
  <tr>
    <td class="key">Misi</td>
    <td><textarea readonly="readonly" cols="70" rows="2"><?php 
echo $value[3];
?>
Example #17
0
            $real_giat_bulan_11 = real_giat_spm_sdbulan($th, $kdsatker, $Giat['KDGIAT'], 11) / 1000000;
            $real_giat_bulan_12 = real_giat_spm_sdbulan($th, $kdsatker, $Giat['KDGIAT'], 12) / 1000000;
            $kdgiat = $Giat['KDGIAT'];
            $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}' AND KDSATKER = '{$kdsatker}' AND KDGIAT = '{$kdgiat}' group by KDGIAT";
            $aTarik = mysql_query($sql);
            $Tarik = mysql_fetch_array($aTarik);
            ?>
    <tr class="<?php 
            echo $class;
            ?>
">
      <td rowspan="2" align="left" valign="top"><?php 
            if ($Giat['kdunitkerja'] != $kdunitkerja) {
                ?>
<font color="#0000FF"><?php 
                echo strtoupper(nm_unit($Giat['kdunitkerja']));
                ?>
</font><?php 
            }
            ?>
</td> 
      <td rowspan="2" align="center"><font color="#0000FF"><?php 
            echo $Giat['KDGIAT'];
            ?>
</font></td>
      <td rowspan="2" align="left" valign="top"><font color="#0000FF"><?php 
            echo nm_giat($Giat['KDGIAT']);
            ?>
</font></td>
      <td rowspan="2" align="right"><font color="#0000FF"><?php 
            echo number_format($Giat['pagu_giat'] / 1000000, "0", ",", ".");
Example #18
0
    $value = get_value($table, $field, "id='" . $_GET['q'] . "'");
}
?>

<table width="338" cellspacing="1" class="admintable">
  <tr> 
    <td width="80" class="key">id</td>
    <td width="249"><input type="text" size="5" readonly="readonly" value="<?php 
echo $value[0];
?>
" /></td>
  </tr>
  <tr>
    <td class="key">Unit Kerja</td>
    <td><textarea readonly="readonly" cols="60" rows="3"><?php 
echo nm_unit($value[7]);
?>
</textarea></td>
  </tr>
  <tr> 
    <td class="key">Kode Kegiatan</td>
    <td><input type="text" size="10" readonly="readonly" value="<?php 
echo $value[2];
?>
" /></td>
  </tr>
  <tr> 
    <td class="key">Kegiatan</td>
    <td><textarea readonly="readonly" cols="60" rows="3"><?php 
echo $value[3];
?>
Example #19
0
</option>
                    <?php 
}
?>
	
	  </select>
		<input type="submit" value="Tampilkan" name="cari"/>
	</form>
</div> 
<form action="" method="post" name="form" enctype="multipart/form-data">
<table width="884" cellpadding="1">
  <thead>
    <tr>
      <th colspan="3" align="left"><font size="4" color="#0000FF">LAPORAN SEMESTER I<br />
          <?php 
echo nm_unit($xkdunit) . '<br> Tahun ' . $th;
?>
</font></th> 
      </tr>
  </thead>
  <tbody>
   

    <tr >
      <td width="32%" align="center" valign="top" class="row7"><img src="<?php 
echo 'file_semester1/' . $xkdunit . '/' . cover_semester1($th, $xkdunit);
?>
" border="1" width="220" height="300"><br /><br />
	  <div class="button2-left"> 
<div class="next"><a onclick="Back('index.php?p=603&xkdunit=<?php 
echo $xkdunit;
Example #20
0
    //		$value = get_value($table,$field,"id='".$_GET['q']."'");
}
?>

<table width="509" cellspacing="1" class="admintable">
	<tr>
	  <td width="119" class="key">Tahun</td>
	  <td width="381"><input type="text" size="10" readonly="readonly" value="<?php 
echo $th;
?>
" /></td>
  </tr>
	<tr>
	  <td class="key">Unit Kerja </td>
	  <td><textarea readonly="readonly" cols="60" rows="2"><?php 
echo nm_unit($RKT['kdunitkerja']);
?>
</textarea></td>
  </tr>
	<tr>
	  <td class="key">Sasaran</td>
	  <td><textarea readonly="readonly" cols="60" rows="2"><?php 
echo nm_sasaran(th_renstra($th), $RKT['kdunitkerja'], $RKT['no_sasaran']);
?>
</textarea></td>
  </tr>
	
	
	<tr>
		<td class="key">Kinerja</td>
		<td><textarea readonly="readonly" cols="60" rows="2"><?php 
Example #21
0
$th = $_REQUEST['th'];
$renstra = th_renstra($th);
$font = 'Arial';
$noborder = 0;
$border = 1;
$size = 10;
$ln = 5;
$margin = 25;
$tinggi = 275;
$w = array(5, 150);
$pdf->Ln();
$pdf->SetFont($font, 'B', $size + 2);
$pdf->SetX($margin + $w[0]);
$pdf->Cell($w[1], $ln, 'INDIKATOR KINERJA UTAMA', '', 1, 'C');
$max = 0;
$arrUnit = $pdf->SplitToArray($w[1], $ln, trim(strtoupper(nm_unit('480000'))));
if ($max < count($arrUnit)) {
    $max = count($arrUnit);
}
for ($i = 0; $i < $max; $i++) {
    $pdf->SetX($margin + $w[0]);
    $pdf->Cell($w[1], $ln, $arrUnit[$i], '', 1, 'C');
}
$pdf->SetX($margin + $w[0]);
$pdf->Cell($w[1], $ln, 'Periode Renstra ' . $renstra, '', 1, 'C');
$pdf->Ln() * 2;
$w1 = array(0, 65, 95);
$pdf->SetFont($font, 'B', $size);
$pdf->SetX($margin + $w1[0]);
$pdf->Cell($w1[1], $ln * 2, 'Sasaran Strategis Utama', $border, 0, 'C');
$pdf->SetX($margin + $w1[0] + $w1[1]);
        if ($k % 2 == 1) {
            $class = "row0";
        } else {
            $class = "row1";
        }
        ?>
    <tr class="<?php 
        echo $class;
        ?>
">
      <td width="9%" align="center"><?php 
        echo $col[5][$k];
        ?>
</td> 
      <td width="46%" align="left"><?php 
        echo nm_unit($col[7][$k]);
        ?>
</td>
      <td width="8%" align="center"><?php 
        echo $col[6][$k];
        ?>
</td>
      <td width="15%" align="left"><?php 
        echo $col[1][$k];
        ?>
</td>
      <td width="6%" align="left"><?php 
        echo $col[2][$k];
        ?>
</td>
      <td align="center"><?php 
Example #23
0
?>

<form action="" method="post" name="form">
	
  <table width="721" cellspacing="1" class="admintable">
    <tr> 
      <td width="104" class="key">Tahun</td>
      <td width="608"><strong><?php 
echo $Kegiatan_bp['th'];
?>
</strong></td>
    </tr>
    <tr> 
      <td class="key">Unit Kerja </td>
      <td><strong><?php 
echo nm_unit($Kegiatan_bp['kdunitkerja']);
?>
</strong></td>
    </tr>
    <tr> 
      <td class="key">Tugas Pokok</td>
      <td><?php 
echo tugas_unit($Kegiatan_bp['kdunitkerja']);
?>
</td>
    </tr>
    <tr> 
      <td height="21" class="key">Fungsi</td>
      <td> 
        <?php 
$sql = "SELECT * FROM tb_unitkerja_fungsi WHERE kdunit = '" . $Kegiatan_bp[kdunitkerja] . "'";
Example #24
0
&t=<?php 
echo $th;
?>
" method="post" name="form">
	<table cellspacing="1" class="admintable">
		<tr>
		  <td class="key">Tahun</td>
		  <td><input type="text" size="10" value="<?php 
echo $th;
?>
" readonly/></td>
	  </tr>
		<tr>
		  <td class="key">Unit Kerja </td>
		  <td><input type="text" size="50" value="<?php 
echo nm_unit($kdunitkerja);
?>
" readonly/></td>
	  </tr>
		<tr>
		  <td class="key">Kegiatan</td>
		  <td><input type="text" size="50" value="<?php 
echo nm_giat($kdgiat);
?>
" readonly/></td>
	  </tr><?php 
$sql = "SELECT jml_anggaran FROM thbp_kak_kegiatan WHERE kdgiat = '" . $kdgiat . "'";
$qu = mysql_query($sql);
$row = mysql_fetch_array($qu);
?>
		
Example #25
0
	  </tr>
		<tr>
			<td class="key">Unit Kerja</td>
			<td>
			<?php 
if ($kdunit != '') {
    ?>
<input type="text" size="70" value="<?php 
    echo nm_unit($kdunit);
    ?>
" disabled="disabled"/>
			<?php 
} else {
    ?>
<input type="text" size="70" value="<?php 
    echo nm_unit(@$value['kdunit']);
    ?>
" disabled="disabled"/>
			<?php 
}
?>
			</td>
		</tr>
		<tr>
		  <td class="key">No. Urut </td>
		  <td><input type="text" name="kdfungsi" size="3" value="<?php 
echo @$value['kdfungsi'];
?>
" /></td>
	  </tr>
		<tr>
    <tr class="row6"> 
    <?php 
        $pagu_51 = pagudipa_lembaga_jnsbel($th, 51);
        $pagu_52 = pagudipa_lembaga_jnsbel($th, 52);
        $pagu_53 = pagudipa_lembaga_jnsbel($th, 53);
        $real_51 = realisasi_lembaga_jnsbel($th, 51);
        $real_52 = realisasi_lembaga_jnsbel($th, 52);
        $real_53 = realisasi_lembaga_jnsbel($th, 53);
        $real_tot = $real_51 + $real_52 + $real_53;
        ?>
      <td align="center"><strong><?php 
        echo '082';
        ?>
</strong></td>
      <td align="left"><strong><?php 
        echo nm_unit('820000');
        ?>
</strong></td>
      <td width="22%" align="right" class="row6"><strong><?php 
        echo number_format($col[2][$k] / 1000, "0", ",", ".");
        ?>
</strong></td>
      <td align="right" class="row6"><strong><?php 
        echo number_format($pagu_51 / 1000, "0", ",", ".");
        ?>
</strong></td>
      <td align="right" class="row6"><strong><?php 
        echo number_format($real_51 / 1000, "0", ",", ".");
        ?>
</strong></td>
      <td align="right" class="row6"><strong><?php 
Example #27
0
    $value = get_value($table, $field, "id='" . $_GET['q'] . "'");
}
?>

<table width="509" cellspacing="1" class="admintable">
	<tr>
	  <td width="119" class="key">Tahun</td>
	  <td width="381"><input type="text" size="10" readonly="readonly" value="<?php 
echo $value[1];
?>
" /></td>
  </tr>
	<tr>
	  <td class="key">Deputi/Sestama</td>
	  <td><input type="text" size="60" readonly="readonly" value="<?php 
echo nm_unit($value[2]);
?>
" /></td>
  </tr>
	<tr>
	  <td class="key">Sasaran</td>
	  <td><textarea readonly="readonly" cols="60" rows="3"><?php 
echo nm_sasaran(th_renstra($value[1]), $value[2], $value[6]);
?>
</textarea></td>
  </tr>
	<tr>
	  <td class="key">IKU</td>
	  <td><textarea readonly="readonly" cols="60" rows="3"><?php 
echo 'IKU ' . $value[5] . ' : ' . nm_iku(th_renstra($value[1]), $value[2], $value[5]);
?>
Example #28
0
echo '2020-2024';
?>
</option>
        </select></td>
    </tr>
    <tr>
      <td class="key">Unit Kerja</td>
      <td><select name="<?php 
echo $field[7];
?>
">
          <option value="<?php 
echo $value[7];
?>
"><?php 
echo $value[7] . ' ' . nm_unit($value[7]);
?>
</option>
          <option value="">- Pilih Unit Kerja -</option>
          <?php 
$query = mysql_query("select kdunit,left(nama_unit_kerja,60) as namaunit from tb_unitkerja where right(kdunit,3)<>'000' order by kdunit");
while ($row = mysql_fetch_array($query)) {
    ?>
          <option value="<?php 
    echo $row['kdunit'];
    ?>
"><?php 
    echo $row['kdunit'] . ' ' . $row['namaunit'];
    ?>
</option>
          <?php 
        if ($k % 2 == 1) {
            $class = "row0";
        } else {
            $class = "row1";
        }
        ?>
    <tr class="<?php 
        echo $class;
        ?>
"> 
      <td align="center"><strong><?php 
        echo $kddept;
        ?>
</strong></td>
      <td align="left"><strong><?php 
        echo nm_unit(substr($kddept, 1, 2) . '0000');
        ?>
</strong></td>
      <td width="9%" align="right"><strong><?php 
        echo number_format($col[2][$k], "0", ",", ".");
        ?>
</strong></td>
      <td width="4%" align="right"><strong><?php 
        echo number_format($col[3][$k], "0", ",", ".");
        ?>
</strong></td>
      <td width="11%" align="center"><strong><?php 
        echo number_format($col[3][$k] / $col[2][$k] * 100, "2", ",", ".");
        ?>
</strong></td>
      <td width="4%" align="right"><strong><?php 
Example #30
0
				
				<tr class="<?php 
            echo $class;
            ?>
">
				  <td align="center" valign="top">&nbsp;</td>
				  <td width="3%" align="center" valign="top"><font color="#0033CC"><?php 
            echo $Outcome['kdoutcome'];
            ?>
</font></td>
				  <td colspan="4" align="left" valign="top"><font color="#0033CC"><?php 
            echo $Outcome['nmoutcome'];
            ?>
</font></td>
				  <td colspan="2" align="left" valign="top"><font color="#0033CC"><?php 
            echo nm_unit($Outcome['kdunitkerja']);
            ?>
</font></td>
				  <td width="5%" align="center" valign="top"><a href="index.php?p=412&q=<?php 
            echo $Outcome['id'];
            ?>
" title="Edit IKU">
				  <img src="css/images/edit_f2.png" border="0" width="16" height="16"></a></td>
	              <td width="11%" align="center" valign="top"><a href="index.php?p=441&id=<?php 
            echo $id;
            ?>
&q=<?php 
            echo $Outcome['id'];
            ?>
&sw=1" title="Delete Outcome">
							<img src="css/images/stop_f2.png" border="0" width="16" height="16"></a></td>