本文整理汇总了PHP中nm_unitkerja函数的典型用法代码示例。如果您正苦于以下问题:PHP nm_unitkerja函数的具体用法?PHP nm_unitkerja怎么用?PHP nm_unitkerja使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了nm_unitkerja函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: Header
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');
}
示例2: Header
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');
}
示例3: Header
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');
}
示例4: Header
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');
}
示例5: Header
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');
}
示例6: Header
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');
}
示例7: count
$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]);
示例8: Header
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');
//.........这里部分代码省略.........
示例9: substr
}
// 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
示例10: nm_unitkerja
{
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")) {
示例11: nama_peg
}
?>
</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];
示例12: nama_peg
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
示例13: nama_bulan
</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;
示例14: Header
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);
//.........这里部分代码省略.........
示例15: nm_jabatan
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;
}