<tr class="<?php echo $class; ?> "> <td align="center" valign="top"><?php echo $limit * ($pagess - 1) + ($k + 1); ?> </td> <td align="left" valign="top"><?php if ($col[1][$k] != $col[1][$k - 1]) { echo nm_unitkerja($col[1][$k]); } ?> </td> <td align="left" valign="top"><?php echo nm_jabatan_ij($col[2][$k], $col[1][$k]); ?> </td> <td align="center" valign="top"><?php echo $col[3][$k]; ?> </td> <td align="center" valign="top"><?php echo $col[4][$k]; ?> </td> <td width="4%" align="center" valign="top"> <a href="<?php echo $ed[$k]; ?> &pagess=<?php
<td><select name="<?php echo $field[2]; ?> "> <!--option value="<?php echo $value[2]; ?> "><?php echo '[' . $value[2] . '] ' . substr(nm_jabatan_ij($value[2]), 0, 60); ?> </option--> <option value="<?php echo $value[2]; ?> "><?php echo substr(nm_jabatan_ij($value[2]), 0, 60); ?> </option> <option value="">- Pilih Jabatan -</option> <?php $query = mysql_query("select kode,left(nmjabatan,60) as nama_jabatan from kd_jabatan order by nmjabatan"); while ($row = mysql_fetch_array($query)) { ?> <!--option value="<?php echo $row['kode']; ?> "><?php echo '[' . $row['kode'] . '] ' . $row['nama_jabatan']; ?> </option--> <option value="<?php
$pdf->AddPage(); $kdjab = $_REQUEST['kdjab']; $font = 'Arial'; $noborder = 0; $border = 1; $size = 10; $ln = 5; $margin = 15; $tinggi = 275; $w = array(0, 180); $pdf->Ln(); $pdf->SetFont($font, 'B', $size + 1); $pdf->SetX($margin + $w[0]); $pdf->Cell($w[1], $ln, 'FORMULIR BANTU SASARAN KERJA PEGAWAI', '', 1, 'C'); $pdf->SetX($margin + $w[0]); $pdf->Cell($w[1], $ln, 'JABATAN ' . strtoupper(trim(nm_jabatan_ij($kdjab))), '', 1, 'C'); $pdf->Ln() * 2; $w2 = array(10, 50, 20, 30, 20, 20, 30); $pdf->SetFont($font, 'B', $size - 1); $y = $pdf->GetY(); $pdf->SetX($margin); $pdf->Cell($w2[0], $ln * 2, 'No.', $border, 0, 'C'); $pdf->SetX($margin + $w2[0]); $pdf->Cell($w2[1], $ln * 2, 'Butir Kegiatan Pokok', $border, 0, 'C'); $pdf->SetXY($margin + $w2[0] + $w2[1], $y); $pdf->Cell($w2[2], $ln, 'AK', $noborder, 0, 'C'); $pdf->SetXY($margin + $w2[0] + $w2[1], $y + 4); $pdf->Cell($w2[2], $ln, 'Satuan', $noborder, 0, 'C'); $pdf->SetXY($margin + $w2[0] + $w2[1], $y); $pdf->Cell($w2[2], $ln * 2, '', $border, 0, 'C'); $pdf->SetX($margin + $w2[0] + $w2[1] + $w2[2]);
<td><?php echo reformat_nipbaru(nip_peg($row['nib'])); ?> </td> </tr> <tr> <td colspan="3" class="key">Pangkat/Gol.Ruang</td> <td><?php echo nm_pangkat($row['kdgol']) . ' (' . nm_gol($row['kdgol']) . ')'; ?> </td> </tr> <tr> <td colspan="3" class="key">Jabatan</td> <td><?php echo nm_jabatan_ij($row['kdjabatan']); ?> </td> </tr> <tr> <td colspan="3" class="key">Unit Kerja</td> <td><?php echo skt_unitkerja(substr($row['kdunitkerja'], 0, 2)) . ' - BATAN'; ?> </td> </tr> <tr> <td colspan="4" align="center" class="row7"> </td> </tr> <tr>
" title="Edit Penutupan SKP"> <img src="css/images/edit_f2.png" border="0" width="16" height="16"><font size="1">Jabatan baru</font></a> </td> <?php //------ SKP Sebelumnya $nib = $col[2][$k]; $oSKP_Lalu = mysql_query("SELECT * FROM mst_skp_mutasi WHERE tahun = '{$th}' AND nib = '{$nib}' "); $SKP_Lalu = mysql_fetch_array($oSKP_Lalu); ?> <td align="left" valign="top"><?php if (substr($SKP_Lalu['kdunitkerja'], 1, 3) == '000' and substr($SKP_Lalu['kdjabatan'], 0, 4) == '0011') { echo nm_jabatan_eselon1($SKP_Lalu['kdunitkerja']); } elseif (substr($SKP_Lalu['kdjabatan'], 1, 3) != '000' and substr($SKP_Lalu['kdjabatan'], 0, 3) == '001') { echo 'Kepala ' . nm_unitkerja($SKP_Lalu['kdunitkerja']); } else { echo nm_jabatan_ij($SKP_Lalu['kdjabatan']); } ?> </td> <td align="center" valign="top"><?php echo nil_grade($SKP_Lalu['kdjabatan']); ?> </td> <td align="center" valign="top"><?php echo reformat_tgl($SKP_Lalu['tanggal_mulai']); ?> <br />s/d<br /><?php echo reformat_tgl($SKP_Lalu['tanggal_selesai']); ?> </td> <td align="center" valign="top">
$sql = "SELECT * FROM m_idpegawai WHERE kdunitkerja LIKE '{$xkdunit}%' OR kdunitkerja = '2320000' ORDER BY kdunitkerja, kdeselon desc,kdjabatan desc,kdgol"; } else { $sql = "SELECT * FROM m_idpegawai WHERE kdunitkerja LIKE '{$xkdunit}%' ORDER BY kdunitkerja, kdeselon desc,kdjabatan desc,kdgol"; } $qu = mysql_query($sql); while ($row = mysql_fetch_array($qu)) { $max = 0; $no += 1; $arrNo = $pdf->SplitToArray($w1[0], $ln, $no . '.'); if ($row['kdunitkerja'] != $kdunitkerja) { $arrUnit = $pdf->SplitToArray($w1[1], $ln, trim(nm_unitkerja($row['kdunitkerja']))); } if ($row['kdunitkerja'] == $kdunitkerja) { $arrUnit = $pdf->SplitToArray($w1[1], $ln, ''); } $arrJabatan = $pdf->SplitToArray($w1[4], $ln, nm_jabatan_ij($row['kdjabatan'], $row['kdunitkerja']) . "\n" . '[' . reformat_tgl($row['tmtjabatan']) . ']'); $arrNama = $pdf->SplitToArray($w1[2], $ln, nama_peg($row['nip']) . "\n" . 'NIP. ' . reformat_nipbaru($row['nip'])); $arrGol = $pdf->SplitToArray($w1[3], $ln, nm_gol($row['kdgol']) . "\n" . nm_status_peg($row['kdstatuspeg'])); $arrGrade = $pdf->SplitToArray($w1[3], $ln, nil_grade($row['kdjabatan'], $row['kdunitkerja'])); if ($max < count($arrUnit)) { $max = count($arrUnit); } if ($max < count($arrJabatan)) { $max = count($arrJabatan); } if ($max < count($arrNama)) { $max = count($arrNama); } if ($row['kdunitkerja'] != $kdunitkerja) { $pdf->Line($margin, $pdf->GetY(), $margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5], $pdf->GetY()); }
?> "><?php echo nm_jabatan_ij($value[5], $value[4]); ?> </option> <option value="">- Pilih Nama Jabatan -</option> <?php $kdunitkerja = $value[4]; $query = mysql_query("select * from mst_info_jabatan where kdunitkerja = '{$kdunitkerja}' order by kdjabatan,grade"); while ($row = mysql_fetch_array($query)) { ?> <option value="<?php echo $row['kdjabatan']; ?> "><?php echo $row['kdjabatan'] . ' - ' . nm_jabatan_ij($row['kdjabatan'], $kdunitkerja) . ' [ Grade' . $row['grade'] . ' ] '; ?> </option> <?php } ?> </select> </div> </td> </tr> <tr> <td class="key">TMT Jabatan </td> <td><input name="<?php echo $field[8]; ?> " type="text" class="form" id="<?php echo $field[8];
} ?> </select> </td> </tr> <tr> <td class="key"> Nama Jabatan </td> <td><div id="nama_jabatan_view"><select name="<?php echo $field[2]; ?> "> <option value="<?php echo $value[2]; ?> "><?php echo nm_jabatan_ij($value[2], $value[1]); ?> </option> <option value="">- Pilih Jabatan -</option> <?php $kode = substr($kdunit, 0, 5); $query = mysql_query("select * from kd_jabatan where kdunitkerja LIKE '{$kode}%' order by nmjabatan"); while ($row = mysql_fetch_array($query)) { ?> <option value="<?php echo $row['kode']; ?> "><?php echo $row['kode'] . ' - ' . $row['nmjabatan'] . ' [ Grade' . $row['klsjabatan'] . ' ] '; ?> </option>
$no = 0; $xkdunit = substr($kdunit, 0, 5); $sql = "SELECT * FROM mst_info_jabatan WHERE kdunitkerja LIKE '{$xkdunit}%' ORDER BY kdunitkerja,grade desc"; $qu = mysql_query($sql); $row = array(); while ($row = mysql_fetch_array($qu)) { $max = 0; $no += 1; $arrNo = $pdf->SplitToArray($w1[0], $ln, $no . '.'); if ($row['kdunitkerja'] != $kdunitkerja) { $arrUnit = $pdf->SplitToArray($w1[1], $ln, trim(nm_unitkerja($row['kdunitkerja']))); } if ($row['kdunitkerja'] == $kdunitkerja) { $arrUnit = $pdf->SplitToArray($w1[1], $ln, ''); } $arrJabatan = $pdf->SplitToArray($w1[2], $ln, nm_jabatan_ij($row['kdjabatan'], $row['kdunitkerja'])); $arrJumlah = $pdf->SplitToArray($w1[3], $ln, $row['jumlah']); $arrGrade = $pdf->SplitToArray($w1[4], $ln, $row['grade']); if ($max < count($arrUnit)) { $max = count($arrUnit); } if ($max < count($arrJabatan)) { $max = count($arrJabatan); } if ($row['kdunitkerja'] != $kdunitkerja) { $pdf->Line($margin, $pdf->GetY(), $margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4], $pdf->GetY()); } if ($row['kdunitkerja'] == $kdunitkerja) { $pdf->Line($margin + $w1[0] + $w1[1], $pdf->GetY(), $margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4], $pdf->GetY()); } $kdunitkerja = $row['kdunitkerja'];
echo $col[2][$k]; ?> <br /><?php echo 'NIP. ' . reformat_nipbaru($col[1][$k]); ?> </td> <td align="center" valign="top"><?php echo nm_gol($col[4][$k]) . '<br>' . nm_pangkat($col[4][$k]); ?> </td> <td align="center" valign="top"><?php echo nm_status_peg($col[7][$k]); ?> </td> <td align="left" valign="top"><?php echo nm_jabatan_ij($col[6][$k], $col[3][$k]); ?> </td> <td align="left" valign="top"><?php echo $List['bank']; ?> </td> <td align="center" valign="top"><?php echo $List['no_rek']; ?> </td> <td align="left" valign="top"><?php echo $List['penerima']; ?> </td> <td align="left" valign="top"><?php
$pdf->Cell($w1[2], $ln, $arrField_1[$i], 'LR', 0, 'L'); $pdf->SetX($margin + $w1[0] + $w1[1] + $w1[2]); $pdf->Cell($w1[3], $ln, $arrNo_2[$i], 'LR', 0, 'C'); $pdf->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3]); $pdf->Cell($w1[4], $ln, $arrLabel_2[$i], 'LR', 0, 'L'); $pdf->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4]); $pdf->Cell($w1[5], $ln, $arrField_2[$i], 'LR', 1, 'L'); } // informasi tentang jabatan $max = 0; if (substr($row['kdunitkerja'], 1, 3) == '000' and substr($row['kdjabatan'], 0, 4) == '0011') { $nmjabatan = trim(nm_jabatan_eselon1($row['kdunitkerja'])); } elseif (substr($row['kdunitkerja'], 1, 3) != '000' and substr($row['kdjabatan'], 0, 3) == '001') { $nmjabatan = 'Kepala ' . trim(nm_unitkerja($row['kdunitkerja'])); } else { $nmjabatan = trim(nm_jabatan_ij($row['kdjabatan'])); } $arrNo_1 = $pdf->SplitToArray($w1[0], $ln, '4'); $arrLabel_1 = $pdf->SplitToArray($w1[1], $ln, 'Jabatan'); $arrField_1 = $pdf->SplitToArray($w1[2], $ln, trim($row['jabatan_atasan'])); $arrNo_2 = $pdf->SplitToArray($w1[3], $ln, '4'); $arrLabel_2 = $pdf->SplitToArray($w1[4], $ln, 'Jabatan'); $arrField_2 = $pdf->SplitToArray($w1[5], $ln, $nmjabatan); if ($max < count($arrField_1)) { $max = count($arrField_1); } if ($max < count($arrField_2)) { $max = count($arrField_2); } for ($i = 0; $i < $max; $i++) { $pdf->SetX($margin);
$arrTitik = $pdf->SplitToArray($w1[2], $ln, ':'); if ($max < count($arrUraian)) { $max = count($arrUraian); } for ($i = 0; $i < $max; $i++) { $pdf->SetX($margin + $w1[0]); $pdf->Cell($w1[1], $ln, $arrLabel[$i], '', 0, 'L'); $pdf->SetX($margin + $w1[0] + $w1[1]); $pdf->Cell($w1[2], $ln, $arrTitik[$i], '', 0, 'C'); $pdf->SetX($margin + $w1[0] + $w1[1] + $w1[2]); $pdf->Cell($w1[3], $ln, $arrUraian[$i], '', 1, 'L'); } // informasi tentang jabatan $max = 0; $arrLabel = $pdf->SplitToArray($w1[1], $ln, 'JABATAN'); $arrUraian = $pdf->SplitToArray($w1[3], $ln, nm_jabatan_ij($row['kdjabatan'])); $arrTitik = $pdf->SplitToArray($w1[2], $ln, ':'); if ($max < count($arrUraian)) { $max = count($arrUraian); } for ($i = 0; $i < $max; $i++) { $pdf->SetX($margin + $w1[0]); $pdf->Cell($w1[1], $ln, $arrLabel[$i], '', 0, 'L'); $pdf->SetX($margin + $w1[0] + $w1[1]); $pdf->Cell($w1[2], $ln, $arrTitik[$i], '', 0, 'C'); $pdf->SetX($margin + $w1[0] + $w1[1] + $w1[2]); $pdf->Cell($w1[3], $ln, $arrUraian[$i], '', 1, 'L'); } $max = 0; $arrLabel = $pdf->SplitToArray($w1[1], $ln, 'UNIT KERJA'); $arrUraian = $pdf->SplitToArray($w1[3], $ln, trim(nm_unitkerja(substr($row['kdunitkerja'], 0, 4) . '00')) . ' - RISTEK');
$pdf->SetFont($font, '', $size); $w1 = array(15, 50, 55, 10, 60, 12); $no = 0; $sql = "SELECT * FROM mst_skp WHERE left(kdunitkerja,4) = '{$kdunit}' and tahun = '{$th}' ORDER BY kdunitkerja,kdjabatan,kdgol"; $qu = mysql_query($sql); while ($row = mysql_fetch_array($qu)) { $max = 0; $no += 1; $arrNo = $pdf->SplitToArray($w1[0], $ln, $no . '.'); if ($row['kdunitkerja'] != $kdunitkerja) { $arrUnit = $pdf->SplitToArray($w1[1], $ln, trim(nm_unitkerja($row['kdunitkerja']))); } if ($row['kdunitkerja'] == $kdunitkerja) { $arrUnit = $pdf->SplitToArray($w1[1], $ln, ''); } $arrJabatan = $pdf->SplitToArray($w1[4], $ln, nm_jabatan_ij($row['kdjabatan'])); $arrNama = $pdf->SplitToArray($w1[2], $ln, nama_peg($row['nip']) . "\n" . 'NIP. ' . reformat_nipbaru($row['nip'])); $arrGol = $pdf->SplitToArray($w1[3], $ln, nm_gol($row['kdgol'])); if ($max < count($arrUnit)) { $max = count($arrUnit); } if ($max < count($arrJabatan)) { $max = count($arrJabatan); } if ($max < count($arrNama)) { $max = count($arrNama); } if ($row['kdunitkerja'] != $kdunitkerja) { $pdf->Line($margin, $pdf->GetY(), $margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4], $pdf->GetY()); } if ($row['kdunitkerja'] == $kdunitkerja) {
function jabatan_peg($th, $kode) { $data = mysql_query("select kdjabatan from mst_skp where nip = '{$kode}' and tahun = '{$th}'"); $rdata = mysql_fetch_array($data); $result = nm_jabatan_ij($rdata['kdjabatan']); return $result; }
for ($i = 0; $i < $max; $i++) { $pdf->SetX($margin + $w[0]); $pdf->Cell($w[1], $ln, $arrNomor[$i], '', 0, 'L'); $pdf->SetX($margin + $w[0] + $w[1]); $pdf->Cell($w[2], $ln, $arrLabel[$i], '', 0, 'L'); $pdf->SetX($margin + $w[0] + $w[1] + $w[2]); $pdf->Cell($w[3], $ln, $arrTitik[$i], '', 0, 'L'); $pdf->SetX($margin + $w[0] + $w[1] + $w[2] + $w[3]); $pdf->Cell($w[4], $ln, $arrUraian[$i], '', 1, 'L'); } if (substr($row['kdunitkerja'], 1, 3) == '000' and substr($row['kdjabatan'], 0, 4) == '0011') { $jabatan = nm_jabatan_eselon1($row['kdunitkerja']); } elseif (substr($row['kdunitkerja'], 1, 3) != '000' and substr($row['kdjabatan'], 0, 3) == '001') { $jabatan = 'Kepala ' . nm_unitkerja($row['kdunitkerja']); } else { $jabatan = nm_jabatan_ij($row['kdjabatan']); } $max = 0; $arrNomor = $pdf->SplitToArray($w[1], $ln, 'd.'); $arrLabel = $pdf->SplitToArray($w[2], $ln, 'Jabatan'); $arrTitik = $pdf->SplitToArray($w[3], $ln, ':'); $arrUraian = $pdf->SplitToArray($w[4], $ln, $jabatan); if ($max < count($arrUraian)) { $max = count($arrUraian); } for ($i = 0; $i < $max; $i++) { $pdf->SetX($margin + $w[0]); $pdf->Cell($w[1], $ln, $arrNomor[$i], '', 0, 'L'); $pdf->SetX($margin + $w[0] + $w[1]); $pdf->Cell($w[2], $ln, $arrLabel[$i], '', 0, 'L'); $pdf->SetX($margin + $w[0] + $w[1] + $w[2]);
<td width="488"><input type="text" size="5" readonly="readonly" value="<?php echo $value[0]; ?> " /></td> </tr> <tr> <td class="key">Unit Kerja </td> <td><input type="text" size="80" readonly="readonly" value="<?php echo nm_unitkerja($value[1]); ?> " /></td> </tr> <tr> <td class="key">Nama Jabatan </td> <td><input type="text" size="80" readonly="readonly" value="<?php echo nm_jabatan_ij($value[2]); ?> " /></td> </tr> <tr> <td class="key">Jumlah</td> <td><input type="text" size="5" readonly="readonly" value="<?php echo $value[3]; ?> " /></td> </tr> <tr> <td> </td>
?> &kdjab=<?php echo $kdjab; ?> &pagess=<?php echo $pagess; ?> &cari=<?php echo $cari; ?> " method="post" name="form"> <table cellspacing="1" class="admintable"> <tr> <td width="105" class="key"><strong>Nama Jabatan</strong></td> <td width="424"><strong><?php echo nm_jabatan_ij($kdjab); ?> </strong></td> </tr> <tr> <td class="key">Kode Kelompok </td> <td><input type="text" name="kdkelompok" size="8" value="<?php echo @$value['kdkelompok']; ?> " /></td> </tr> <tr> <td class="key">Nama Kelompok</td> <td><textarea name="nmkelompok" cols="70" rows="3"><?php echo @$value['nmkelompok'];
$col[8][] = $TabelBantu['mak_target']; } ?> <div class="button2-right"> <div class="prev"> <a onclick="Back('index.php?p=236&pagess=<?php echo $pagess; ?> &cari=<?php echo $cari; ?> ')">Kembali</a> </div> </div><br /><br /> <font color="#990000" size="3"><strong><?php echo 'Jabatan : ' . nm_jabatan_ij($kdjab); ?> </strong></font><br /> <table width="73%" cellpadding="1" class="adminlist"> <thead> <tr> <th width="7%" rowspan="2">No. Urut</th> <th width="21%" rowspan="2">Kelompok Kegiatan</th> <th width="6%" rowspan="2">Kode</th> <th width="28%" rowspan="2">Item Kegiatan </th> <th width="7%" rowspan="2">Angka<br />Kredit</th> <th width="10%" rowspan="2">Satuan</th> <th colspan="2">Target</th> </tr> <tr> <th width="10%">Minimum</th>
} ?> </td> <td align="left" valign="top"> <?php if ($col[5][$k] != $row['kdjabatan']) { ?> <font color="#CC3300"><?php echo nm_jabatan_ij($row['kdjabatan'], $row['kdunitkerja']); ?> </font> <?php } else { ?> <?php echo nm_jabatan_ij($row['kdjabatan'], $row['kdunitkerja']); ?> <?php } ?> <br /> <?php if ($col[8][$k] != $row['tmtjabatan']) { ?> <font color="#CC3300"><?php echo '[' . reformat_tgl($row['tmtjabatan']) . ']'; ?> </font> <?php } else { ?>
<td class="key">Jabatan pada SKP </td> <td><select name="<?php echo $field[4]; ?> " onchange="get_atasan(this.value,<?php echo $kdunit; ?> )" disabled="disabled"> <?php if ($q != '') { ?> <option value="<?php echo $value[4]; ?> "><?php echo '[' . $value[4] . '] ' . nm_jabatan_ij($value[4]); ?> </option> <?php } ?> <option value="">- Pilih Jabatan -</option> <?php $query = mysql_query("select kode_jabatan,nmjabatan from mst_info_jabatan,kd_jabatan where left(kdunitkerja,2) = '{$kdunit}' and kode_jabatan=kode group by kode_jabatan order by kode_jabatan"); while ($row = mysql_fetch_array($query)) { ?> <option value="<?php echo $row['kode_jabatan']; ?> "><?php echo '[' . $row['kode_jabatan'] . '] ' . $row['nmjabatan'];
$pdf->SetX($margin + $w1[0] + $w1[1]); $pdf->Cell($w1[2], $ln, $arrField_1[$i], 'LR', 0, 'L'); $pdf->SetX($margin + $w1[0] + $w1[1] + $w1[2]); $pdf->Cell($w1[3], $ln, $arrNo_2[$i], 'LR', 0, 'C'); $pdf->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3]); $pdf->Cell($w1[4], $ln, $arrLabel_2[$i], 'LR', 0, 'L'); $pdf->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4]); $pdf->Cell($w1[5], $ln, $arrField_2[$i], 'LR', 1, 'L'); } $max = 0; $arrNo_1 = $pdf->SplitToArray($w1[0], $ln, '4'); $arrLabel_1 = $pdf->SplitToArray($w1[1], $ln, 'Jabatan'); $arrField_1 = $pdf->SplitToArray($w1[2], $ln, trim(nmjabatan_mst_tk($nib_penilai, date("Y"), '01'))); $arrNo_2 = $pdf->SplitToArray($w1[3], $ln, '4'); $arrLabel_2 = $pdf->SplitToArray($w1[4], $ln, 'Jabatan'); $arrField_2 = $pdf->SplitToArray($w1[5], $ln, trim(nm_jabatan_ij($row['kdjabatan']))); if ($max < count($arrField_1)) { $max = count($arrField_1); } if ($max < count($arrField_2)) { $max = count($arrField_2); } for ($i = 0; $i < $max; $i++) { $pdf->SetX($margin); $pdf->Cell($w1[0], $ln, $arrNo_1[$i], 'LR', 0, 'C'); $pdf->SetX($margin + $w1[0]); $pdf->Cell($w1[1], $ln, $arrLabel_1[$i], 'LR', 0, 'L'); $pdf->SetX($margin + $w1[0] + $w1[1]); $pdf->Cell($w1[2], $ln, $arrField_1[$i], 'LR', 0, 'L'); $pdf->SetX($margin + $w1[0] + $w1[1] + $w1[2]); $pdf->Cell($w1[3], $ln, $arrNo_2[$i], 'LR', 0, 'C');
<td><input type="text" size="30" readonly="readonly" value="<?php echo nama_bulan($bulan) . ' ' . $value[1]; ?> " /></td> </tr> <tr> <td class="key">Nama Pegawai </td> <td><input type="text" size="70" readonly="readonly" value="<?php echo nama_peg($value[3]); ?> " /></td> </tr> <tr> <td class="key">Jabatan</td> <td><input type="text" size="70" readonly="readonly" value="<?php echo nm_jabatan_ij($value[5], $value[4]); ?> " /></td> </tr> <tr> <td> </td> <td> <form name="form" method="post" action="index.php?p=<?php echo $_GET['p']; ?> &pagess=<?php echo $pagess; ?> &kdbulan=<?php
</td> <td align="left" valign="top"><?php echo nama_peg($col[2][$k]); ?> <br /><?php echo 'NIP. ' . reformat_nipbaru(nip_peg($col[2][$k])); ?> </td> <td align="left" valign="top"> <?php if (substr($col[3][$k], 1, 3) == '000' and substr($col[4][$k], 0, 4) == '0011') { echo nm_jabatan_eselon1($col[3][$k]); } elseif (substr($col[3][$k], 1, 3) != '000' and substr($col[4][$k], 0, 3) == '001') { echo 'Kepala ' . nm_unitkerja($col[3][$k]); } else { echo nm_jabatan_ij($col[4][$k]); } ?> </td> <td align="center" valign="top"><?php echo nil_grade($col[4][$k]); ?> </td> <td align="left" valign="top"><?php echo nama_peg($col[10][$k]); ?> </td> <td align="left" valign="top"><?php echo $col[11][$k]; ?> </td>
} ?> </td> <td align="left" valign="top"><?php echo nama_peg($col[2][$k]); ?> <br /><?php echo 'NIP. ' . reformat_nipbaru($col[2][$k]); ?> </td> <td align="center" valign="top"><?php echo nm_gol($col[5][$k]) . '<br>' . nm_status_peg($col[7][$k]); ?> </td> <td align="left" valign="top"><?php echo nm_jabatan_ij($col[4][$k], $col[3][$k]) . '<br>' . '[' . reformat_tgl($col[6][$k]) . ']'; ?> </td> <td align="center" valign="top"><?php echo nil_grade($col[4][$k], $col[3][$k]); ?> </td> </tr> <?php } } ?> </tbody> <tfoot> <tr>