if ($col[3][$k] != $col[3][$k - 1]) { echo nm_unitkerja($col[3][$k]); } ?> </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>
$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'); $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)) {
?> </strong></td> </tr> <tr> <td class="key">Pangkat/Gol.Ruang</td> <td><strong><?php echo nm_pangkat($row['kdgol']) . ' (' . nm_gol($row['kdgol']) . ')'; ?> </strong></td> </tr> <tr> <td class="key">Jabatan</td> <td><strong> <?php if (substr($row['kdunitkerja'], 1, 3) == '000' and substr($row['kdjabatan'], 0, 4) == '0011') { echo nm_jabatan_eselon1($row['kdunitkerja']); } elseif (substr($row['kdunitkerja'], 1, 3) != '000' and substr($row['kdjabatan'], 0, 3) == '001') { echo 'Kepala ' . nm_unitkerja($row['kdunitkerja']); } else { echo nm_jabatan_ij($row['kdjabatan']); } ?> </strong></td> </tr> <tr> <td class="key">Unit Kerja</td> <td><strong><?php echo skt_unitkerja(substr($row['kdunitkerja'], 0, 2)) . ' - BATAN'; ?> </strong></td> </tr>
?> &cari=<?php echo $cari; ?> " 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