function Header() { $kdunit = $_REQUEST['kdunit']; $font = 'Arial'; $noborder = 0; $border = 1; $size = 10; $ln = 5; $margin = 10; $tinggi = 275; $w = array(0, 180); // $this->Ln()+3; $this->SetFont($font, 'B', $size + 2); $this->SetX($margin + $w[0]); $this->Cell($w[1], $ln, 'DAFTAR NAMA JABATAN ' . $sw, '', 1, 'C'); $this->SetX($margin + $w[0]); $this->Cell($w[1], $ln, trim(strtoupper(nm_unitkerja($kdunit))), '', 1, 'C'); $this->Ln() * 2; $this->SetY(18); $this->SetFont($font, '', $size - 3); $this->Cell(0, 10, 'Hal. ' . $this->PageNo(), 0, 1, 'R'); $w1 = array(20, 60, 65, 15, 25); $this->SetFont($font, 'B', $size); $this->SetX($margin); $this->Cell($w1[0], $ln * 2, 'NO.', $border, 0, 'C'); $this->SetX($margin + $w1[0]); $this->Cell($w1[1], $ln * 2, 'Unit Kerja', $border, 0, 'C'); $this->SetX($margin + $w1[0] + $w1[1]); $this->Cell($w1[2], $ln * 2, 'Nama Jabatan', $border, 0, 'C'); $this->SetX($margin + $w1[0] + $w1[1] + $w1[2]); $this->Cell($w1[3], $ln * 2, 'Grade', $border, 0, 'C'); $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3]); $this->Cell($w1[4], $ln * 2, 'Kode', $border, 1, 'C'); }
function Header() { $kdunit = $_REQUEST['kdunit']; $th = $_REQUEST['th']; $font = 'Arial'; $noborder = 0; $border = 1; $size = 10; $ln = 5; $margin = 5; $tinggi = 275; $w = array(0, 280); $this->Ln(); $this->SetFont($font, 'B', $size + 2); $this->SetX($margin + $w[0]); $this->Cell($w[1], $ln, 'PETA JABATAN', '', 1, 'C'); $this->SetX($margin + $w[0]); $this->Cell($w[1], $ln, trim(strtoupper(nm_unitkerja($kdunit . '00'))), '', 1, 'C'); $this->SetX($margin + $w[0]); $this->Cell($w[1], $ln, 'Tahun ' . $th, '', 1, 'C'); $this->Ln() * 2; $this->SetY(20); $this->SetFont($font, '', $size - 3); $this->Cell(0, 10, 'Hal. ' . $this->PageNo(), 0, 1, 'R'); $w1 = array(10, 40, 45, 8, 8, 40, 10, 35, 35, 35, 12); $this->SetFont($font, 'B', $size); $this->SetX($margin); $this->Cell($w1[0], $ln * 2, 'NO.', $border, 0, 'C'); $this->SetX($margin + $w1[0]); $this->Cell($w1[1], $ln * 2, 'Unit Kerja', $border, 0, 'C'); $this->SetX($margin + $w1[0] + $w1[1]); $this->Cell($w1[2], $ln * 2, 'Nama Jabatan', $border, 0, 'C'); $this->SetX($margin + $w1[0] + $w1[1] + $w1[2]); $y = $this->GetY(); $this->Cell($w1[3] + $w1[4], $ln, 'Jumlah', $border, 1, 'C'); $this->SetX($margin + $w1[0] + $w1[1] + $w1[2]); $this->Cell($w1[3], $ln, '(J1)', $border, 0, 'C'); $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3]); $this->Cell($w1[4], $ln, '(J2)', $border, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4], $y); $this->Cell($w1[0], $ln * 2, 'SEL', $border, 0, 'C'); $this->SetX($margin + $w1[0] * 2 + $w1[1] + $w1[2] + $w1[3] + $w1[4]); $this->Cell($w1[5], $ln * 2, 'Nama Pegawai', $border, 0, 'C'); $this->SetX($margin + $w1[0] * 2 + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5]); $this->Cell($w1[6], $ln * 2, 'Gol.', $border, 0, 'C'); $this->SetX($margin + $w1[0] * 2 + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] + $w1[6]); $this->Cell($w1[7] + $w1[8] + $w1[9], $ln, 'Jabatan Pegawai', $border, 0, 'C'); $y = $this->GetY(); $this->SetXY($margin + $w1[0] * 2 + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] + $w1[6], $y + 5); $this->Cell($w1[7], $ln, 'Struktural', $border, 0, 'C'); $this->SetXY($margin + $w1[0] * 2 + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] + $w1[6] + $w1[7], $y + 5); $this->Cell($w1[8], $ln, 'Fungsional', $border, 0, 'C'); $this->SetXY($margin + $w1[0] * 2 + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] + $w1[6] + $w1[7] + $w1[8], $y + 5); $this->Cell($w1[9], $ln, 'Umum', $border, 0, 'C'); $this->SetXY($margin + $w1[0] * 2 + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] + $w1[6] + $w1[7] + $w1[8] + $w1[9], $y); $this->Cell($w1[10], $ln * 2, 'Grade', $border, 1, 'C'); }
function Header() { $kdunit = $_REQUEST['kdunit']; $font = 'Arial'; $noborder = 0; $border = 1; $size = 9; $ln = 5; $margin = 5; $tinggi = 275; $w = array(0, 270); if (substr(date('m'), 0, 1) == '0') { $bulan = substr(date('m'), 1, 1); } else { $bulan = date('m'); } $this->Ln(); $this->SetFont($font, 'B', $size + 2); $this->SetX($margin + $w[0]); $this->Cell($w[1], $ln, 'DAFTAR REKENING PEGAWAI', '', 1, 'C'); $this->SetX($margin + $w[0]); $this->Cell($w[1], $ln, trim(strtoupper(nm_unitkerja($kdunit))), '', 1, 'C'); $this->SetX($margin + $w[0]); $this->Cell($w[1], $ln * 5, '', '', 1, 'C'); $this->SetY(20); $this->SetFont($font, '', $size - 3); $this->Cell(0, 10, 'Hal. ' . $this->PageNo(), 0, 1, 'R'); $w1 = array(15, 50, 53, 12, 55, 40, 25, 40); $this->SetFont($font, 'B', $size); $this->SetX($margin); $this->Cell($w1[0], $ln * 2, 'NO.', $border, 0, 'C'); $this->SetX($margin + $w1[0]); $this->Cell($w1[1], $ln, 'Bidang/Bagian', $noborder, 0, 'C'); $y = $this->GetY(); $this->SetXY($margin + $w1[0], $y + 4); $this->Cell($w1[1], $ln, 'SubBidang/SubBagian', $noborder, 0, 'C'); $this->SetXY($margin + $w1[0], $y); $this->Cell($w1[1], $ln * 2, '', $border, 0, 'C'); $this->SetX($margin + $w1[0] + $w1[1]); $this->Cell($w1[2], $ln * 2, 'Nama Pegawai', $border, 0, 'C'); $this->SetX($margin + $w1[0] + $w1[1] + $w1[2]); $this->Cell($w1[3], $ln * 2, 'Gol.', $border, 0, 'C'); $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3]); $this->Cell($w1[4], $ln * 2, 'Nama Jabatan', $border, 0, 'C'); $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4]); $this->Cell($w1[5], $ln * 2, 'Nama Bank', $border, 0, 'C'); $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5]); $this->Cell($w1[6], $ln * 2, 'Nomor Rek.', $border, 0, 'C'); $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] + $w1[6]); $this->Cell($w1[7], $ln * 2, 'Nama Penerima', $border, 1, 'C'); }
function Header() { $kdunit = $_REQUEST['kdunit']; $th = $_REQUEST['th']; $font = 'Arial'; $noborder = 0; $border = 1; $size = 10; $ln = 5; $margin = 5; $tinggi = 275; $w = array(0, 180); if (substr(date('m'), 0, 1) == '0') { $bulan = substr(date('m'), 1, 1); } else { $bulan = date('m'); } $this->Ln(); $this->SetFont($font, 'B', $size + 2); $this->SetX($margin + $w[0]); $this->Cell($w[1], $ln, 'DAFTAR PEMEGANG JABATAN', '', 1, 'C'); $this->SetX($margin + $w[0]); $this->Cell($w[1], $ln, trim(strtoupper(nm_unitkerja($kdunit))), '', 1, 'C'); $this->SetX($margin + $w[0]); $this->Cell($w[1], $ln, 'TAHUN ' . $th, '', 1, 'C'); $this->SetX($margin + $w[0]); $this->Cell($w[1], $ln * 5, '', '', 1, 'C'); $this->SetY(20); $this->SetFont($font, '', $size - 3); $this->Cell(0, 10, 'Hal. ' . $this->PageNo(), 0, 1, 'R'); $w1 = array(15, 50, 53, 12, 60, 12); $this->SetFont($font, 'B', $size); $this->SetX($margin); $this->Cell($w1[0], $ln * 2, 'NO.', $border, 0, 'C'); $this->SetX($margin + $w1[0]); $this->Cell($w1[1], $ln, 'Bidang/Bagian', $noborder, 0, 'C'); $y = $this->GetY(); $this->SetXY($margin + $w1[0], $y + 4); $this->Cell($w1[1], $ln, 'SubBidang/SubBagian', $noborder, 0, 'C'); $this->SetXY($margin + $w1[0], $y); $this->Cell($w1[1], $ln * 2, '', $border, 0, 'C'); $this->SetX($margin + $w1[0] + $w1[1]); $this->Cell($w1[2], $ln * 2, 'Nama Pegawai', $border, 0, 'C'); $this->SetX($margin + $w1[0] + $w1[1] + $w1[2]); $this->Cell($w1[3], $ln * 2, 'Gol.', $border, 0, 'C'); $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3]); $this->Cell($w1[4], $ln * 2, 'Nama Jabatan', $border, 0, 'C'); $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4]); $this->Cell($w1[5], $ln * 2, 'Grade', $border, 1, 'C'); }
function Header() { $kdunit = $_REQUEST['kdunit']; $font = 'Arial'; $noborder = 0; $border = 1; $size = 10; $ln = 5; $margin = 8; $tinggi = 275; $w = array(0, 180); $this->Ln(); $this->SetFont($font, 'B', $size + 2); $this->SetX($margin + $w[0]); $this->Cell($w[1], $ln, 'DAFTAR PEMEGANG JABATAN', '', 1, 'C'); $this->SetX($margin + $w[0]); $this->Cell($w[1], $ln, trim(strtoupper(nm_unitkerja($kdunit . '00'))), '', 1, 'C'); $this->Ln() * 2; $this->SetY(18); $this->SetFont($font, '', $size - 3); $this->Cell(0, 10, 'Hal. ' . $this->PageNo(), 0, 1, 'R'); $w1 = array(10, 50, 55, 10, 60, 12); $this->SetFont($font, 'B', $size); $this->SetX($margin); $this->Cell($w1[0], $ln * 2, 'NO.', $border, 0, 'C'); $this->SetX($margin + $w1[0]); $this->Cell($w1[1], $ln, 'Bidang/Bagian', $noborder, 0, 'C'); $y = $this->GetY(); $this->SetXY($margin + $w1[0], $y + 4); $this->Cell($w1[1], $ln, 'SubBidang/SubBagian', $noborder, 0, 'C'); $this->SetXY($margin + $w1[0], $y); $this->Cell($w1[1], $ln * 2, '', $border, 0, 'C'); $this->SetX($margin + $w1[0] + $w1[1]); $this->Cell($w1[2], $ln * 2, 'Nama Pegawai', $border, 0, 'C'); $this->SetX($margin + $w1[0] + $w1[1] + $w1[2]); $this->Cell($w1[3], $ln * 2, 'Gol.', $border, 0, 'C'); $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3]); $this->Cell($w1[4], $ln * 2, 'Nama Jabatan', $border, 0, 'C'); $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4]); $this->Cell($w1[5], $ln * 2, 'Grade', $border, 1, 'C'); }
function Header() { $kdunit = $_REQUEST['kdunit']; $kdbulan = $_REQUEST['kdbulan']; if (substr($kdbulan, 0, 1) == '0') { $kdbl = substr($kdbulan, 1, 1); } if (substr($kdbulan, 0, 1) != '0') { $kdbl = $kdbulan; } $th = $_REQUEST['th']; $font = 'Arial'; $noborder = 0; $border = 1; $size = 10; $ln = 4; $margin = 15; $tinggi = 275; $w = array(0, 280); $this->SetFont($font, 'B', $size + 3); $this->SetX($margin + $w[0]); $this->Cell($w[1], $ln + 1, 'KEMENTERIAN PENDIDIKAN DAN KEBUDAYAAN', '', 1, 'L'); $this->SetFont($font, 'B', $size + 1); $this->SetX($margin + $w[0]); $this->Cell($w[1], $ln + 1, strtoupper(trim(nm_unitkerja($kdunit))), '', 1, 'L'); $this->SetFont($font, 'B', $size + 2); $this->Ln() + 5; $this->SetX($margin + $w[0]); $this->Cell($w[1], $ln + 1, 'DAFTAR NOMINATIF PEMBAYARAN TUNJANGAN KINERJA PEGAWAI', '', 1, 'C'); $this->SetX($margin + $w[0]); if ($kdbl != 13) { $this->Cell($w[1], $ln, 'BULAN : ' . strtoupper(nama_bulan($kdbl)) . ' ' . $th, '', 1, 'C'); } if ($kdbl == 13) { $this->Cell($w[1], $ln, 'BULAN : ' . nama_bulan($kdbl) . ' TAHUN ' . $th, '', 1, 'C'); } $this->SetY(28); $this->SetFont($font, '', $size - 3); $this->Cell(0, 8, 'Hal. ' . $this->PageNo(), 0, 1, 'R'); $w1 = array(10, 55, 15, 65, 20, 35); $this->SetFont($font, 'B', $size); $this->SetX($margin); $this->Cell($w1[0], $ln * 3, 'NO.', $border, 0, 'C'); $this->SetX($margin + $w1[0]); $y = $this->GetY(); $this->Cell($w1[1], $ln, 'Nama Pegawai', $noborder, 0, 'C'); $this->SetXY($margin + $w1[0], $y + 4); $this->Cell($w1[1], $ln, 'NIP', $noborder, 0, 'C'); $this->SetXY($margin + $w1[0], $y); $this->Cell($w1[1], $ln * 3, '', $border, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1], $y + 2); $this->Cell($w1[2], $ln, 'Gol /', $noborder, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1], $y + 6); $this->Cell($w1[2], $ln, 'Status', $noborder, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1], $y); $this->Cell($w1[2], $ln * 3, '', $border, 0, 'C'); $this->SetX($margin + $w1[0] + $w1[1] + $w1[2]); $this->Cell($w1[3], $ln * 3, 'Nama Jabatan / TMT', $border, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3], $y + 2); $this->Cell($w1[4], $ln, 'Kelas', $noborder, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3], $y + 6); $this->Cell($w1[4], $ln, 'Jabatan', $noborder, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3], $y); $this->Cell($w1[4], $ln * 3, '', $border, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4], $y + 2); $this->Cell($w1[5], $ln, 'Tunjangan Kinerja', $noborder, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4], $y + 6); $this->Cell($w1[5], $ln, 'Sebelum Pajak', $noborder, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4], $y); $this->Cell($w1[5], $ln * 3, '', $border, 0, 'C'); $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5]); $this->Cell($w1[5], $ln * 3, 'Tunjangan Pajak', $border, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 2, $y); $this->Cell($w1[5], $ln, 'Tunjangan Kinerja', $noborder, 1, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 2, $y + 4); $this->Cell($w1[5], $ln, 'Setelah Ditambah', $noborder, 1, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 2, $y + 8); $this->Cell($w1[5], $ln, 'Tunjangan Pajak', $noborder, 1, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 2, $y); $this->Cell($w1[5], $ln * 3, '', $border, 1, 'C'); $this->SetFont($font, 'B', $size - 2); $this->SetX($margin); $this->Cell($w1[0], $ln, '(1)', $border, 0, 'C'); $this->Cell($w1[1], $ln, '(2)', $border, 0, 'C'); $this->SetX($margin + $w1[0] + $w1[1]); $this->Cell($w1[2], $ln, '(3)', $border, 0, 'C'); $this->SetX($margin + $w1[0] + $w1[1] + $w1[2]); $this->Cell($w1[3], $ln, '(4)', $border, 0, 'C'); $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3]); $this->Cell($w1[4], $ln, '(5)', $border, 0, 'C'); $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4]); $this->Cell($w1[5], $ln, '(6)', $border, 0, 'C'); $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5]); $this->Cell($w1[5], $ln, '(7)', $border, 0, 'C'); $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 2); $this->Cell($w1[5], $ln, '(8=6+7)', $border, 1, 'C'); }
$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]); $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]);
function Header() { $kdunit = $_REQUEST['kdunit']; $kdbulan = $_REQUEST['kdbulan']; if (substr($kdbulan, 0, 1) == '0') { $kdbl = substr($kdbulan, 1, 1); } if (substr($kdbulan, 0, 1) != '0') { $kdbl = $kdbulan; } $th = $_REQUEST['th']; $font = 'Arial'; $noborder = 0; $border = 1; $size = 10; $ln = 4; $margin = 5; $tinggi = 275; $w = array(0, 280); $this->Ln(); $this->SetFont($font, 'B', $size + 2); $this->SetX($margin + $w[0]); $this->Cell($w[1], $ln, 'REKAPITULASI KEHADIRAN PEGAWAI', '', 1, 'C'); $this->SetX($margin + $w[0]); $this->Cell($w[1], $ln, trim(strtoupper(nm_unitkerja($kdunit . '00'))), '', 1, 'C'); $this->SetX($margin + $w[0]); $this->Cell($w[1], $ln, 'Bulan : ' . nama_bulan($kdbl) . ' ' . $th, '', 1, 'C'); // $this->Ln(); $this->SetY(17); $this->SetFont($font, '', $size - 3); $this->Cell(0, 10, 'Hal. ' . $this->PageNo(), 0, 1, 'R'); // if ($this->PageNo() != 1) $this->Line($margin, $this->GetY(), $margin+180,$this->GetY()); // $this->Ln(); $w1 = array(10, 45, 40, 0, 0, 0, 15, 15); $this->SetFont($font, 'B', $size); $this->SetX($margin); $this->Cell($w1[0], $ln * 4, 'NO.', $border, 0, 'C'); $this->SetX($margin + $w1[0]); $ya = $this->GetY(); $y = $this->GetY(); $this->Cell($w1[1], $ln * 4, 'Unit Kerja', $border, 0, 'C'); $this->SetX($margin + $w1[0] + $w1[1]); $this->Cell($w1[2], $ln * 4, 'Nama / NIP', $border, 0, 'C'); $this->SetX($margin + $w1[0] + $w1[1] + $w1[2]); $this->Cell($w1[6] * 7, $ln, 'Catatan Kehadiran', $border, 0, 'C'); $y = $this->GetY(); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2], $y + 4); $this->Cell($w1[6], $ln, '', $noborder, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6], $y + 4); $this->Cell($w1[6] * 2, $ln, 'Terlambat', $border, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 3, $y + 4); $this->Cell($w1[6] * 2, $ln, 'Keluar Smtara', $border, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 5, $y + 4); $this->Cell($w1[6] * 2, $ln, 'Pulang Blm Wkt', $border, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 7, $y + 2); $this->Cell($w1[6] * 3, $ln, 'Cuti', $noborder, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 7, $y); $this->Cell($w1[6] * 3, $ln * 2, '', $border, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 10, $y); $this->Cell($w1[6], $ln, 'Tugas', $noborder, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 10, $y + 4); $this->Cell($w1[6], $ln, 'Belajar', $noborder, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 10, $y); $this->Cell($w1[6], $ln * 2, '', $border, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 11, $y); $this->Cell($w1[6], $ln, 'Tidak', $noborder, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 11, $y + 4); $this->Cell($w1[6], $ln, 'Ikut', $noborder, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2], $y + 6); $this->Cell($w1[6], $ln, 'Tanpa', $noborder, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6], $y + 8); $this->Cell($w1[6], $ln, 'TL1', $border, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 2, $y + 8); $this->Cell($w1[6], $ln, 'TL2', $border, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 3, $y + 8); $this->Cell($w1[6], $ln, 'KS1', $border, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 4, $y + 8); $this->Cell($w1[6], $ln, 'KS2', $border, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 5, $y + 8); $this->Cell($w1[6], $ln, 'PSW1', $border, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 6, $y + 8); $this->Cell($w1[6], $ln, 'PSW2', $border, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 7, $y + 8); $this->Cell($w1[6], $ln, 'CT', $border, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 8, $y + 8); $this->Cell($w1[6], $ln, 'CSRI', $border, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 9, $y + 8); $this->Cell($w1[6], $ln, 'CP', $border, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 10, $y + 8); $this->Cell($w1[6], $ln, 'TB<3', $border, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 11, $y + 8); $this->Cell($w1[6], $ln, 'Upacara', $noborder, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2], $y + 10); $this->Cell($w1[6], $ln, 'Ket.', $noborder, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6], $y + 12); $this->Cell($w1[6], $ln, 'TL3', $border, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 2, $y + 12); $this->Cell($w1[6], $ln, 'TL4', $border, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 3, $y + 12); $this->Cell($w1[6], $ln, 'KS3', $border, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 4, $y + 12); $this->Cell($w1[6], $ln, 'KS4', $border, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 5, $y + 12); $this->Cell($w1[6], $ln, 'PSW3', $border, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 6, $y + 12); $this->Cell($w1[6], $ln, 'PSW4', $border, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 7, $y + 12); $this->Cell($w1[6], $ln, 'CB', $border, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 8, $y + 12); $this->Cell($w1[6], $ln, 'CSRJ', $border, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 9, $y + 12); $this->Cell($w1[6], $ln, 'CM', $border, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 10, $y + 12); $this->Cell($w1[6], $ln, 'TB>=3', $border, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 11, $y + 12); $this->Cell($w1[6], $ln, 'Bendera', $noborder, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2], $y + 4); $this->Cell($w1[6], $ln * 3, '', $border, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 11, $y); $this->Cell($w1[6], $ln * 4, '', $border, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 12, $ya + 2); $this->Cell($w1[7], $ln, 'Jumlah', $noborder, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 12, $ya + 6); $this->Cell($w1[7], $ln, 'Pot.', $noborder, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 12, $ya); $this->Cell($w1[7], $ln * 4, '', $border, 1, 'C'); }
} // start export if (substr(date('m'), 0, 1) == '0') { $bulan = substr(date('m'), 1, 1); } else { $bulan = date('m'); } header("Content-type: application/octet-stream"); $filename = "verifikasi_penempatan_" . $kdunit . ".xls"; header("Content-Disposition: attachment; filename=\"{$filename}\""); header("Pragma: no-cache"); header("Expires: 0"); print "<b>"; print "<b>"; print "VERIFIKASI PENEMPATAN PEGAWAI PER " . strtoupper(nama_bulan($bulan)) . ' ' . $th . "<br>"; print "UNIT KERJA : " . strtoupper(nm_unitkerja($xkdunit . '00')) . "<br><br>"; ?> <table width="58%" cellpadding="1" border="1"> <thead> <tr> <th width="9%">No.</th> <th width="25%">Nama Pegawai<br /> NIP</th> <th width="15%">Golongan<br /> Ruang/TMT</th> <th width="27%">Jabatan</th> <th width="12%">Kelas Jabatan</th> <th width="12%">Unit Kerja</th> </tr> </thead> <tbody><?php
{ document.forms[FormName].submit(); } </script> <form action="index.php?p=<?php echo $_GET['p']; ?> " method="post" name="xImport"> <table width="721" cellspacing="1" class="admintable"> <tr> <td colspan="2"><strong>Import Data Potongan dari Aplikasi SIAPP</strong></td> </tr> <tr> <td colspan="2"><strong><?php echo 'Unit Kerja : ' . nm_unitkerja($xkdunit . '00'); ?> </strong></td> </tr> <tr> <td class="key">Bulan</td> <td> <select name="m"><?php for ($i = 1; $i <= 12; $i++) { ?> <option value="<?php echo $i; ?> " <?php if ($i == date("m")) {
} ?> </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];
echo $limit * ($pagess - 1) + ($k + 1); ?> </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="left" valign="top"><?php echo nm_jabatan_ij($col[4][$k]); ?> </td> <td align="left" valign="top"><?php echo nm_unitkerja($col[3][$k]); ?> </td> <td align="left" valign="top"><?php echo nama_peg($col[10][$k]); ?> </td> <td align="left" valign="top"><?php echo jabatan_peg($col[1][$k], $col[10][$k]); ?> </td> <td align="center" valign="top"><?php echo reformat_tgl($col[9][$k]); ?> </td> <td align="center" valign="top"><?php
</form> </div><font color="#0066CC" size="2"> <?php if (substr($kdbulan1, 0, 1) == '0') { $nama_bulan1 = nama_bulan(substr($kdbulan1, 1, 1)); } if (substr($kdbulan1, 0, 1) != '0') { $nama_bulan1 = nama_bulan($kdbulan1); } if (substr($kdbulan2, 0, 1) == '0') { $nama_bulan2 = nama_bulan(substr($kdbulan2, 1, 1)); } if (substr($kdbulan2, 0, 1) != '0') { $nama_bulan2 = nama_bulan($kdbulan2); } echo '<strong>' . nm_unitkerja($kdunit) . '</strong><br>'; echo '<strong>' . 'Bulan ' . $nama_bulan1 . ' s/d ' . $nama_bulan2 . ' ' . $th . '</strong>'; ?> <br /> </font> <a href="source/tunjangan/rapel_nominatif_prn.php?kdunit=<?php echo $kdunit; ?> &kdbulan1=<?php echo $kdbulan1; ?> &kdbulan2=<?php echo $kdbulan2; ?> &th=<?php echo $th;
function Header() { $kdunit = $_REQUEST['kdunit']; $kdbulan = $_REQUEST['kdbulan']; //$kdsatker = $_REQUEST['kdsatker']; if (substr($kdbulan, 0, 1) == '0') { $kdbl = substr($kdbulan, 1, 1); } if (substr($kdbulan, 0, 1) != '0') { $kdbl = $kdbulan; } $th = $_REQUEST['th']; $font = 'Arial'; $noborder = 0; $border = 1; $size = 9; $ln = 4; $margin = 5; $tinggi = 275; $w = array(0, 330); $this->Ln(); $this->SetFont($font, 'B', $size + 2); $this->SetX($margin + $w[0]); $this->Cell($w[1], $ln, 'RINCIAN PEMBAYARAN TUNJANGAN KINERJA PEGAWAI', '', 1, 'C'); $this->SetX($margin + $w[0]); if ($kdunit != '') { $this->Cell($w[1], $ln, trim(strtoupper(nm_unitkerja($kdunit))), '', 1, 'C'); } //if ( $kdsatker <> '' ) $this->Cell($w[1],$ln,'SATKER : '.trim(strtoupper(nm_satker($kdsatker))),'',1,'C'); $this->SetX($margin + $w[0]); if ($kdbl != 13) { $this->Cell($w[1], $ln, 'Bulan : ' . nama_bulan($kdbl) . ' ' . $th, '', 1, 'C'); } else { $this->Cell($w[1], $ln, 'Bulan : ' . nama_bulan($kdbl) . ' Tahun ' . $th, '', 1, 'C'); } // $this->Ln(); $this->SetY(20); $this->SetFont($font, '', $size - 3); $this->Cell(0, 10, 'Hal. ' . $this->PageNo(), 0, 1, 'R'); // if ($this->PageNo() != 1) $this->Line($margin, $this->GetY(), $margin+180,$this->GetY()); // $this->Ln(); $w1 = array(11, 45, 15, 50, 15, 25, 20, 12, 33); $this->SetFont($font, 'B', $size); $this->SetX($margin); $this->Cell($w1[0], $ln * 3, 'NO.', $border, 0, 'C'); $y = $this->GetY(); $this->SetXY($margin + $w1[0], $y + 2); $this->Cell($w1[1], $ln, 'NAMA PEGAWAI', $noborder, 0, 'C'); $this->SetXY($margin + $w1[0], $y + 6); $this->Cell($w1[1], $ln, 'NIP', $noborder, 0, 'C'); $this->SetXY($margin + $w1[0], $y); $this->Cell($w1[1], $ln * 3, '', $border, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1], $y + 2); $this->Cell($w1[2], $ln, 'GOL', $noborder, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1], $y + 6); $this->Cell($w1[2], $ln, 'STATUS', $noborder, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1], $y); $this->Cell($w1[2], $ln * 3, '', $border, 0, 'C'); $this->SetX($margin + $w1[0] + $w1[1] + $w1[2]); $this->Cell($w1[3], $ln * 3, 'NAMA JABATAN / TMT', $border, 0, 'C'); $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3]); $this->Cell($w1[4], $ln * 3, 'GRADE', $border, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4], $y + 2); $this->Cell($w1[5], $ln, 'TUNJANGAN', $noborder, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4], $y + 6); $this->Cell($w1[5], $ln, 'KINERJA', $noborder, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4], $y); $this->Cell($w1[5], $ln * 3, '', $border, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5], $y + 2); $this->Cell($w1[5], $ln, 'TUNJANGAN', $noborder, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5], $y + 6); $this->Cell($w1[5], $ln, 'PAJAK', $noborder, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5], $y); $this->Cell($w1[5], $ln * 3, '', $border, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 2, $y + 2); $this->Cell($w1[5], $ln, 'JUMLAH', $noborder, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 2, $y + 6); $this->Cell($w1[5], $ln, 'BRUTO', $noborder, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 2, $y); $this->Cell($w1[5], $ln * 3, '', $border, 0, 'C'); $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 3); $this->Cell($w1[6] * 3 + $w1[7], $ln, 'POTONGAN', $border, 1, 'C'); $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 3); $this->Cell($w1[6], $ln * 2, 'PAJAK', $border, 0, 'C'); $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 3 + $w1[6]); $y2 = $this->GetY(); $this->Cell($w1[6] + $w1[7], $ln, 'KEHADIRAN', $border, 0, 'C'); $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 3 + $w1[6] * 2 + $w1[7]); $this->Cell($w1[6], $ln, 'JUMLAH', $noborder, 1, 'C'); $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 3 + $w1[6]); $this->Cell($w1[7], $ln, '(%)', $border, 0, 'C'); $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 3 + $w1[6] + $w1[7]); $this->Cell($w1[6], $ln, '(RP.)', $border, 0, 'C'); $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 3 + $w1[6] * 2 + $w1[7]); $this->Cell($w1[6], $ln, 'POTONGAN', $noborder, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 3 + $w1[6] * 2 + $w1[7], $y2); $this->Cell($w1[6], $ln * 2, '', $border, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 3 + $w1[6] * 3 + $w1[7], $y + 2); $this->Cell($w1[5], $ln, 'JUMLAH', $noborder, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 3 + $w1[6] * 3 + $w1[7], $y + 6); $this->Cell($w1[5], $ln, 'DIBAYARKAN', $noborder, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 3 + $w1[6] * 3 + $w1[7], $y); $this->Cell($w1[5], $ln * 3, '', $border, 1, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 4 + $w1[6] * 3 + $w1[7], $y + 2); $this->Cell($w1[8], $ln, 'NOMOR', $noborder, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 4 + $w1[6] * 3 + $w1[7], $y + 6); $this->Cell($w1[8], $ln, 'REKENING', $noborder, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 4 + $w1[6] * 3 + $w1[7], $y); $this->Cell($w1[8], $ln * 3, '', $border, 1, 'C'); // $this->Cell($w1[5],$ln*2,'Yang Diterima',$border,1,'C'); $this->SetFont($font, 'B', $size - 2); $this->SetX($margin); $this->Cell($w1[0], $ln, '(1)', $border, 0, 'C'); $this->Cell($w1[1], $ln, '(2)', $border, 0, 'C'); $this->SetX($margin + $w1[0] + $w1[1]); $this->Cell($w1[2], $ln, '(3)', $border, 0, 'C'); $this->SetX($margin + $w1[0] + $w1[1] + $w1[2]); $this->Cell($w1[3], $ln, '(4)', $border, 0, 'C'); $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3]); $this->Cell($w1[4], $ln, '(5)', $border, 0, 'C'); $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4]); $this->Cell($w1[5], $ln, '(6)', $border, 0, 'C'); $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5]); $this->Cell($w1[5], $ln, '(7)', $border, 0, 'C'); $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 2); $this->Cell($w1[5], $ln, '(8=6+7)', $border, 0, 'C'); $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 3); $this->Cell($w1[6], $ln, '(9)', $border, 0, 'C'); $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 3 + $w1[6]); $this->Cell($w1[7], $ln, '(10)', $border, 0, 'C'); $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 3 + $w1[6] + $w1[7]); $this->Cell($w1[6], $ln, '(11)', $border, 0, 'C'); $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 3 + $w1[6] * 2 + $w1[7]); $this->Cell($w1[6], $ln, '(12=9+11)', $border, 0, 'C'); $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 3 + $w1[6] * 3 + $w1[7]); $this->Cell($w1[5], $ln, '(13=8-12)', $border, 0, 'C'); $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 4 + $w1[6] * 3 + $w1[7]); $this->Cell($w1[8], $ln, '(14)', $border, 1, 'C'); }
function nm_jabatan($kdunitkerja, $kdeselon, $kdkeljabatan, $kdfungsional) { if ($kdeselon != '') { if ($kdunitkerja == '9100') { $result = 'Ketua ' . nm_unitkerja($kdunitkerja); } if ($kdunitkerja != '9100') { $result = 'Kepala ' . nm_unitkerja($kdunitkerja); } } else { if ($kdkeljabatan != '' and $kdfungsional != '') { $result = nm_jabfung($kdkeljabatan, $kdfungsional); } else { $result = ''; } } return $result; }
<td><input type="text" size="80" readonly="readonly" value="<?php echo $value[2]; ?> " /></td> </tr> <tr> <td class="key">NIP</td> <td><input type="text" size="80" readonly="readonly" value="<?php echo $value[1]; ?> " /></td> </tr> <tr> <td class="key">Unit Kerja </td> <td><input type="text" size="80" readonly="readonly" value="<?php echo nm_unitkerja($value[3]); ?> " /></td> </tr> <tr> <td> </td> <script type="text/javascript"> function del_submit() { document.forms['form'].submit(); } </script>
$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, '5'); $arrLabel_1 = $pdf->SplitToArray($w1[1], $ln, 'Unit Kerja'); $arrField_1 = $pdf->SplitToArray($w1[2], $ln, trim(nm_unitkerja(substr(kdunitkerja_peg($row['tahun'], $row['nib_atasan']), 0, 4) . '00')) . ' - RISTEK'); $arrNo_2 = $pdf->SplitToArray($w1[3], $ln, '5'); $arrLabel_2 = $pdf->SplitToArray($w1[4], $ln, 'Unit Kerja'); $arrField_2 = $pdf->SplitToArray($w1[5], $ln, trim(nm_unitkerja(substr($row['kdunitkerja'], 0, 4) . '00')) . ' - RISTEK'); 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');
$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)) { $max = count($arrField_2); }
<tr> <td class="key">NIP</td> <td><input type="text" size="35" value="<?php echo $List['nip']; ?> " disabled="disabled"/></td> </tr> <tr> <td width="125" class="key">Unit Kerja </td> <td width="250"> <select disabled="disabled"> <option value="<?php echo $List['kdunitkerja']; ?> "><?php echo nm_unitkerja($List['kdunitkerja']); ?> </option> <option value="">- Pilih Unit Kerja -</option> <?php if ($xlevel == 1 or $xlevel == 2) { $query = mysql_query("select * from kd_unitkerja where left(nmunit,5) <> 'DINAS' order by kdunit"); } else { $kode = substr($kdunit, 0, 5); $query = mysql_query("select * from kd_unitkerja where kdunit LIKE '{$kode}%' order by kdunit"); } while ($row = mysql_fetch_array($query)) { ?> <option value="<?php echo $row['kdunit']; ?>
$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'); $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'); } $pdf->SetX($margin); $pdf->Cell($w1[0], $ln, '', '', 1, 'C'); // ------------------- data pejabat penilai --------------------------
<?php } ?> </select> </td> </tr> <tr> <td class="key">Unit Kerja </td> <td><select name="<?php echo $field[4]; ?> " onchange="get_info_jabatan(this.value)"> <option value="<?php echo $value[4]; ?> "><?php echo '[' . $value[4] . '] ' . nm_unitkerja($value[4]); ?> </option> <option value="">- Pilih Unit Kerja -</option> <?php $kdunitkerja = substr($kdunit, 0, 5); $query = mysql_query("select kdunit,nmunit from kd_unitkerja where kdunit LIKE '{$kdunitkerja}%' order by kdunit"); while ($row = mysql_fetch_array($query)) { ?> <option value="<?php echo $row['kdunit']; ?> "><?php echo '[' . $row['kdunit'] . '] ' . $row['nmunit']; ?> </option>
<form action="index.php?p=<?php echo $_GET['p']; ?> &pagess=<?php echo $pagess; ?> &cari=<?php echo $cari; ?> " method="post" name="form"> <table width="565" cellspacing="1" class="admintable"> <tr> <td width="172" class="key">Unit Kerja </td> <td width="384"><?php echo nm_unitkerja($row['kdunitkerja']) . ' [' . skt_unitkerja(substr($row['kdunitkerja'], 0, 2)) . ']'; ?> </td> </tr> <tr> <td class="key"> Nama Jabatan </td> <td><input type="hidden" name="<?php echo $field[1]; ?> " size="1" value="<?php echo $row['id']; ?> "/><?php echo $row['nama_jabatan']; ?> </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> <tr> <td> </td>
function Header() { $kdunit = $_REQUEST['kdunit']; $kdbulan1 = $_REQUEST['kdbulan1']; $kdbulan2 = $_REQUEST['kdbulan2']; if (substr($kdbulan1, 0, 1) == '0') { $kdbl1 = substr($kdbulan1, 1, 1); } if (substr($kdbulan1, 0, 1) != '0') { $kdbl1 = $kdbulan1; } if (substr($kdbulan2, 0, 1) == '0') { $kdbl2 = substr($kdbulan2, 1, 1); } if (substr($kdbulan2, 0, 1) != '0') { $kdbl2 = $kdbulan2; } $th = $_REQUEST['th']; $font = 'Arial'; $noborder = 0; $border = 1; $size = 10; $ln = 5; $margin = 30; $tinggi = 275; $w = array(0, 220); $this->SetFont($font, 'B', $size + 2); $this->SetX($margin + $w[0]); $this->Cell($w[1], $ln, 'KEMENTERIAN PENDIDIKAN DAN KEBUDAYAAN', '', 1, 'L'); $this->SetFont($font, 'B', $size + 1); $this->SetX($margin + $w[0]); $this->Cell($w[1], $ln, strtoupper(trim(nm_unitkerja($kdunit))), '', 1, 'L'); // bagian lampiran $pos_x = $this->GetX(); $pos_y = $this->GetY(); $this->SetXY(247, 4); $this->SetFont($font, 'B', $size - 2); $this->Cell(75, $ln - 2, 'LAMPIRAN II', '', 1, 'L'); $this->SetX(158); $this->Cell(150, $ln - 2, 'PERATURAN DIREKTUR JENDERAL PERBENDAHARAAN NO. PER-53/PB/2013', '', 1, 'L'); $this->SetX(158); $this->Cell(150, $ln - 2, 'TENTANG PETUNJUK PELAKSANAAN PEMBAYARAN TUNJANGAN KINERJA', '', 1, 'L'); $this->SetX(158); $this->Cell(150, $ln - 2, 'PADA 27 (DUA PULUH TUJUH) KEMENTERIAN NEGARA/LEMBAGA', '', 1, 'L'); $this->SetXY($pos_x, $pos_y); // $this->Ln(); $this->SetFont($font, 'B', $size + 1); $this->SetX($margin + $w[0]); $this->Cell($w[1], $ln, 'REKAPITULASI DAFTAR PEMBAYARAN TUNJANGAN KINERJA PEGAWAI', '', 1, 'C'); $this->SetX($margin + $w[0]); $this->Cell($w[1], $ln, 'BULAN : ' . strtoupper(nama_bulan($kdbl1)) . ' s/d ' . strtoupper(nama_bulan($kdbl2)) . ' ' . $th, '', 1, 'C'); $ln = 4; $w1 = array(10, 50, 35, 40, 50, 5); $this->SetFont($font, 'B', $size - 1); $this->SetX($margin); $this->Cell($w1[0], $ln * 3, 'NO.', $border, 0, 'C'); $this->SetX($margin + $w1[0]); $this->Cell($w1[1], $ln * 3, 'Uraian Kelas Jabatan', $border, 0, 'C'); $this->SetX($margin + $w1[0] + $w1[1]); $this->Cell($w1[2], $ln * 3, 'Jumlah Penerima', $border, 0, 'C'); $y = $this->GetY(); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2], $y + 2); $this->Cell($w1[3], $ln, 'Tunjangan Kinerja', $noborder, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2], $y + 6); $this->Cell($w1[3], $ln, 'Per Kelas Jabatan', $noborder, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2], $y); $this->Cell($w1[3], $ln * 3, '', $border, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[5], $y); $this->Cell($w1[4], $ln, '1. Jumlah Tunjangan', $noborder, 0, 'L'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[5], $y + 4); $this->Cell($w1[4], $ln, '2. Pajak', $noborder, 0, 'L'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[5], $y + 8); $this->Cell($w1[4], $ln, '3. Jumlah', $noborder, 0, 'L'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3], $y); $this->Cell($w1[4], $ln * 3, '', $border, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5], $y + 2); $this->Cell($w1[4], $ln, '1. Potongan Pajak', $noborder, 1, 'L'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5], $y + 6); $this->Cell($w1[4], $ln, '2. Jumlah Netto', $noborder, 1, 'L'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4], $y); $this->Cell($w1[4], $ln * 3, '', $border, 1, 'C'); $this->SetFont($font, 'B', $size - 2); }
<td><strong><?php echo nm_pangkat($row['kdgol']) . ' (' . nm_gol($row['kdgol']) . ')'; ?> </strong></td> </tr> <tr> <td class="key">Jabatan</td> <td><?php echo nm_jabatan_ij($row['kdjabatan']); ?> </td> </tr> <tr> <td class="key">Unit Kerja</td> <td><strong><?php echo nm_unitkerja(substr($row['kdunitkerja'], 0, 4) . '00') . ' - RISTEK'; ?> </strong></td> </tr> </table> <br> <div class="button2-right"> <div class="prev"> <a href="index.php?p=1">Kembali</a></div> </div><br /><br /> Tanggal <input name="tgl_1" type="text" class="form" id="tgl_1" size="10" value="<?php echo $tgl1; ?> "/>
<td width="250"><select name="<?php echo $field[1]; ?> "> <!--option value="<?php echo $value[1]; ?> "><?php echo '[' . $value[1] . '] ' . nm_unitkerja($value[1]); ?> </option--> <option value="<?php echo $value[1]; ?> "><?php echo nm_unitkerja($value[1]); ?> </option> <option value="">- Pilih Unit Kerja -</option> <?php $query = mysql_query("select kdunit,left(nmunit,60) as namaunit from kd_unitkerja where left(kdunit,2) = '{$kdunit}'"); while ($row = mysql_fetch_array($query)) { ?> <!--option value="<?php echo $row['kdunit']; ?> "><?php echo $row['kdunit'] . ' ' . $row['namaunit']; ?> </option--> <option value="<?php
" size="10" value="<?php echo $value[7]; ?> " /></td> </tr> <tr> <td class="key">Satker</td> <td colspan="2"><select name="<?php echo $field[6]; ?> "> <option value="<?php echo $value[6]; ?> "><?php echo nm_unitkerja($value[6]); ?> </option> <option value="">- Pilih Satker -</option> <?php $query = mysql_query("select * from kd_unitkerja where kdsatker <> '' "); while ($row = mysql_fetch_array($query)) { ?> <option value="<?php echo $row['kdunit']; ?> "><?php echo $row['nmunit']; ?> </option> <?php
echo nm_pangkat(kdgol_peg($row['tahun'], $row['nib_atasan'])) . ' (' . nm_gol(kdgol_peg($row['tahun'], $row['nib_atasan'])) . ')'; ?> </td> </tr> <tr> <td class="key"> Jabatan </td> <td><?php echo jabatan_peg($row['tahun'], $row['nib_atasan']); ?> </td> </tr> <tr> <td class="key">Unit Kerja </td> <td> <?php echo trim(nm_unitkerja(substr(kdunitkerja_peg($row['tahun'], $row['nib_atasan']), 0, 4) . '00')) . ' - RISTEK'; ?> </td> </tr> <tr> <td colspan="2" align="center" class="row7"> </td> </tr> </table> </form> <table width="58%" cellpadding="1" border="1"> <thead> <tr> <th width="3%">No.</th> <th width="12%">Tanggal</th> <th width="37%">Uraian Kegiatan/Kejadian</th>
$total += jmlpeg_bulan_grade($th, $kdbulan2, $kdunit, $List['grade']); } // start export header("Content-type: application/octet-stream"); $filename = "rekap_nominatif_" . $kdunit . "_" . $kdbulan . ".xls"; header("Content-Disposition: attachment; filename=\"{$filename}\""); header("Pragma: no-cache"); header("Expires: 0"); print "<b>"; print "<b>"; print "REKAPITULASI TUNJANGAN KINERJA<br>"; print "BADAN TENAGA NUKLIR NASIONAL<br>"; $b1 = (int) $kdbulan1; $b2 = (int) $kdbulan2; print "BULAN " . strtoupper(nama_bulan($b1)) . " s/ d " . strtoupper(nama_bulan($b2)) . " TAHUN " . " {$th}<br><br>"; print "SATUAN KERJA : " . strtoupper(nm_unitkerja($kdunit)) . "<br><br>"; ?> <table width="81%" cellpadding="1" border="1"> <thead> <tr> <th width="9%">No.</th> <th width="22%">Kelas Jabatan </th> <th width="14%">Jumlah<br />Penerima</th> <th width="17%">Tunjangan Kinerja<br />Per Kelas Jabatan</th> <th width="20%">1. Tunjangan Kinerja<br />2. Pajak<br />3. Jumlah</th> <th width="18%">1. Potongan Pajak<br />2. Jumlah Netto</th> </tr> </thead> <tbody><?php if ($count == 0) { ?>
function Header() { $kdunit = $_REQUEST['kdunit']; $kdsatker = $_REQUEST['kdsatker']; $kdbulan = $_REQUEST['kdbulan']; if (substr($kdbulan, 0, 1) == '0') { $kdbl = substr($kdbulan, 1, 1); } if (substr($kdbulan, 0, 1) != '0') { $kdbl = $kdbulan; } $th = $_REQUEST['th']; $font = 'Arial'; $noborder = 0; $border = 1; $size = 10; $ln = 4; $margin = 5; $tinggi = 275; $w = array(0, 280); $this->Ln(); $this->SetFont($font, 'B', $size + 2); $this->SetX($margin + $w[0]); $this->Cell($w[1], $ln, 'REKAPITULASI KEHADIRAN PEGAWAI', '', 1, 'C'); $this->SetX($margin + $w[0]); if ($kdunit != '') { $this->Cell($w[1], $ln, trim(strtoupper(nm_unitkerja($kdunit . '00'))), '', 1, 'C'); } if ($kdsatker != '') { $this->Cell($w[1], $ln, 'SATKER : ' . trim(strtoupper(nm_satker($kdsatker))), '', 1, 'C'); } $this->SetX($margin + $w[0]); $this->Cell($w[1], $ln, 'Bulan : ' . nama_bulan($kdbl) . ' ' . $th, '', 1, 'C'); // $this->Ln(); $this->SetY(20); $this->SetFont($font, '', $size - 3); $this->Cell(0, 10, 'Hal. ' . $this->PageNo(), 0, 1, 'R'); // if ($this->PageNo() != 1) $this->Line($margin, $this->GetY(), $margin+180,$this->GetY()); // $this->Ln(); $w1 = array(10, 45, 45, 15, 15, 20, 10, 15); $this->SetFont($font, 'B', $size); $this->SetX($margin); $this->Cell($w1[0], $ln * 3, 'NO.', $border, 0, 'C'); $this->SetX($margin + $w1[0]); $ya = $this->GetY(); $y = $this->GetY(); $this->Cell($w1[1], $ln * 3, 'Jabatan', $border, 0, 'C'); $this->SetX($margin + $w1[0] + $w1[1]); $this->Cell($w1[2], $ln * 3, 'Nama / NIP', $border, 0, 'C'); $this->SetX($margin + $w1[0] + $w1[1] + $w1[2]); $this->Cell($w1[3], $ln * 3, 'Grade', $border, 0, 'C'); $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3]); $this->Cell($w1[4], $ln * 3, 'Gol', $border, 0, 'C'); $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4]); $y = $this->GetY(); $this->Cell($w1[5], $ln, 'Tanpa', $noborder, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4], $y + 4); $this->Cell($w1[5], $ln, 'Ket.(TK)', $noborder, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4], $y); $this->Cell($w1[5], $ln * 2, '', $border, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4], $y + 8); $this->Cell($w1[6], $ln, 'Hari', $border, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[6], $y + 8); $this->Cell($w1[6], $ln, '(%)', $border, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5], $y); // $y = $this->GetY(); $this->Cell($w1[6] * 12, $ln, 'CUTI', $border, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5], $y + 4); $this->Cell($w1[6] * 2, $ln, 'CT', $border, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] + $w1[6] * 2, $y + 4); $this->Cell($w1[6] * 2, $ln, 'CB', $border, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] + $w1[6] * 4, $y + 4); $this->Cell($w1[6] * 2, $ln, 'CSRI', $border, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] + $w1[6] * 6, $y + 4); $this->Cell($w1[6] * 2, $ln, 'CSRJ', $border, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] + $w1[6] * 8, $y + 4); $this->Cell($w1[6] * 2, $ln, 'CM', $border, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] + $w1[6] * 10, $y + 4); $this->Cell($w1[6] * 2, $ln, 'CP', $border, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5], $y + 8); $this->Cell($w1[6], $ln, 'Hari', $border, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] + $w1[6], $y + 8); $this->Cell($w1[6], $ln, '(%)', $border, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] + $w1[6] * 2, $y + 8); $this->Cell($w1[6], $ln, 'Hari', $border, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] + $w1[6] * 3, $y + 8); $this->Cell($w1[6], $ln, '(%)', $border, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] + $w1[6] * 4, $y + 8); $this->Cell($w1[6], $ln, 'Hari', $border, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] + $w1[6] * 5, $y + 8); $this->Cell($w1[6], $ln, '(%)', $border, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] + $w1[6] * 6, $y + 8); $this->Cell($w1[6], $ln, 'Hari', $border, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] + $w1[6] * 7, $y + 8); $this->Cell($w1[6], $ln, '(%)', $border, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] + $w1[6] * 8, $y + 8); $this->Cell($w1[6], $ln, 'Hari', $border, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] + $w1[6] * 9, $y + 8); $this->Cell($w1[6], $ln, '(%)', $border, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] + $w1[6] * 10, $y + 8); $this->Cell($w1[6], $ln, 'Hari', $border, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] + $w1[6] * 11, $y + 8); $this->Cell($w1[6], $ln, '(%)', $border, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] + $w1[6] * 12, $ya + 2); $this->Cell($w1[7], $ln, 'Jumlah', $noborder, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] + $w1[6] * 12, $ya + 6); $this->Cell($w1[7], $ln, 'Pot.', $noborder, 0, 'C'); $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] + $w1[6] * 12, $ya); $this->Cell($w1[7], $ln * 3, '', $border, 1, 'C'); }