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(); }
<?php checkauthentication(); $p = $_GET['p']; $kdunit = $_GET['kdunit']; $nourut = $_GET['nourut']; $nama = $_GET['nama_file']; $table = "dt_fileupload"; $th = $_SESSION['xth']; $renstra = th_renstra($th); $th_mulai = substr($renstra, 0, 4); $th_selesai = substr($renstra, 5, 4); $xkdunit = $_SESSION['xkdunit']; $xlevel = $_SESSION['xlevel']; $xusername = $_SESSION['xusername']; $xmenu_p = xmenu_id($p); $p_next = $xmenu_p->parent; $oList = mysql_query("select * from {$table} where nourut ='{$nourut}' and th = '{$th}' and kdunitkerja = '480000' and keterangan = 'Lakip' order by nourut"); $List = mysql_fetch_array($oList); ?> <div class="button2-right"> <div class="prev"><a onclick="Back('index.php?p=<?php echo $p_next; ?> ')">Kembali</a><br /></div> </div> <iframe id="fred" style="border:1px solid #666CCC" title="PDF in an i-Frame" src="<?php echo 'file_lakip/480000/' . $List['nama_file']; ?> " frameborder="1" scrolling="auto" height="800" width="100%" ></iframe>
<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]); ?> </textarea></td> </tr> <tr> <td class="key">No. Urut </td> <td><input type="text" size="5" readonly="readonly" value="<?php echo $value[3]; ?> " /></td> </tr> <tr> <td class="key">Kinerja</td> <td><textarea readonly="readonly" cols="60" rows="3"><?php echo $value[4]; ?>
<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 echo $RKT['nm_rkt']; ?> </textarea></td> </tr> <tr> <td class="key">Sub Kinerja </td> <td><textarea readonly="readonly" cols="60" rows="2"><?php
?> </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="#009900">RENSTRA<br /><?php echo nm_unit($xkdunit) . '<br>' . th_renstra($th); ?> </font></th> </tr> </thead> <tbody> <tr > <td width="32%" align="center" valign="top" class="row7"><img src="<?php echo 'file_renstra/' . $xkdunit . '/' . cover_renstra($th, $xkdunit); ?> " border="1" width="220" height="300"><br /><br /> <div class="button2-left"> <div class="next"><a onclick="Back('index.php?p=585&xkdunit=<?php echo $xkdunit;
$ed_link = "index.php?p=" . get_edit_link($p); $del_link = "index.php?p=" . get_delete_link($p); $th = $_SESSION['xth']; $renstra = th_renstra($th); $th_mulai = substr($renstra, 0, 4); $th_selesai = substr($renstra, 5, 4); $kdunit = $_SESSION['xkdunit']; $xlevel = $_SESSION['xlevel']; $xusername = $_SESSION['xusername']; ?> <form action="" method="post" name="form" enctype="multipart/form-data"> <table width="927" cellpadding="1"> <thead> <tr> <th colspan="3" align="left"><font size="4" color="#009900">RENSTRA<br /><?php echo nm_unit('480000') . '<br>' . th_renstra($th); ?> </font></th> </tr> </thead> <tbody> <tr > <td width="24%" align="center" valign="top" class="row7"><img src="<?php echo 'file_renstra/480000/' . cover_renstra($th, '480000'); ?> " border="1" width="220" height="300"><br /> <br /> <div class="button2-left"> <div class="next"><a onclick="Back('index.php?p=445')">Update</a></div>
$_SESSION['errmsg'] = "Ubah data gagal!"; } ?> <meta http-equiv="refresh" content="0;URL=index.php?p=523"><?php exit; } } else { ?> <meta http-equiv="refresh" content="0;URL=index.php?p=523"><?php } } else { if (isset($_GET["q"])) { $sql = "SELECT * FROM {$table} WHERE id = '" . $_GET['q'] . "'"; $aGiat = mysql_query($sql); $value = mysql_fetch_array($aGiat); $renstra = th_renstra($value['th']); } else { $value = array(); } } ?> <script> function numberFormat(nStr){ // change format first nStr = nStr.replace(/\./g,''); nStr = nStr.replace(/,/g,'.'); // process nStr += ''; x = nStr.split('.'); x1 = x[0];