本文整理汇总了PHP中nm_pangkat函数的典型用法代码示例。如果您正苦于以下问题:PHP nm_pangkat函数的具体用法?PHP nm_pangkat怎么用?PHP nm_pangkat使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了nm_pangkat函数的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: nama_peg
echo nama_peg($col[2][$k]);
?>
<br /><?php
echo 'NIP. ' . reformat_nipbaru(nip_peg($col[2][$k]));
}
?>
</td>
<td align="center" valign="top"><?php
if ($col[3][$k] != $kdunitkerja) {
?>
<font color="#0033FF"><strong><?php
echo nm_pangkat($col[5][$k]) . '(' . nm_gol($col[5][$k]) . ')<br>' . reformat_tanggal(tmtgol_peg($col[2][$k]));
?>
</strong></font><?php
} else {
echo nm_pangkat($col[5][$k]) . '(' . nm_gol($col[5][$k]) . ')<br>' . reformat_tanggal(tmtgol_peg($col[2][$k]));
}
?>
</td>
<td align="left" valign="top"><?php
if ($col[3][$k] != $kdunitkerja) {
?>
<font color="#0033FF"><strong><?php
echo nm_info_jabatan($col[3][$k], $col[4][$k]);
?>
</strong></font><?php
} else {
echo nm_info_jabatan($col[3][$k], $col[4][$k]);
}
?>
<?php
示例2: nama_peg
<td width="553"><?php
echo nama_peg($row['nib']);
?>
</td>
</tr>
<tr>
<td colspan="3" class="key">NIP</td>
<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';
?>
示例3: nama_peg
echo $class;
?>
">
<td align="center" valign="top"><?php
echo $limit * ($pagess - 1) + ($k + 1);
?>
</td>
<td align="left" valign="top"><?php
echo nama_peg($col[3][$k]);
?>
<br /><?php
echo 'NIP. ' . reformat_nipbaru($col[4][$k]);
?>
</td>
<td align="center" valign="top"><?php
echo nm_pangkat(substr($col[7][$k], 0, 1) . hurufkeangka(substr($col[7][$k], 1, 1))) . '(' . nm_gol(substr($col[7][$k], 0, 1) . hurufkeangka(substr($col[7][$k], 1, 1))) . ')';
?>
</td>
<td align="center" valign="top"><?php
echo status_peg($col[22][$k]);
?>
</td>
<td align="left" valign="top"><?php
echo nm_info_jabatan($col[6][$k], $col[8][$k]);
?>
<?php
if ($col[21][$k] != 0) {
echo '<br>' . '( ' . $col[21][$k] . ' hari dari ' . hari_bulan($th, $kdbulan) . ' hari kerja )';
}
?>
<br /><?php
示例4: nm_pangkat
$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, '3');
$arrLabel_1 = $pdf->SplitToArray($w1[1], $ln, 'Pangkat/Gol.');
$arrField_1 = $pdf->SplitToArray($w1[2], $ln, nm_pangkat(kdgol_peg($nib_penilai)) . ' (' . nm_gol(kdgol_peg($nib_penilai)) . ')');
$arrNo_2 = $pdf->SplitToArray($w1[3], $ln, '3');
$arrLabel_2 = $pdf->SplitToArray($w1[4], $ln, 'Pangkat/Gol.');
$arrField_2 = $pdf->SplitToArray($w1[5], $ln, nm_pangkat($row['kdgol']) . ' (' . nm_gol($row['kdgol']) . ')');
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');
示例5: nm_pangkat
}
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');
}
$max = 0;
$arrNomor = $pdf->SplitToArray($w[1], $ln, 'c.');
$arrLabel = $pdf->SplitToArray($w[2], $ln, 'Pangkat/Golongan');
$arrTitik = $pdf->SplitToArray($w[3], $ln, ':');
$arrUraian = $pdf->SplitToArray($w[4], $ln, nm_pangkat($row['kdgol']) . ' (' . nm_gol($row['kdgol']) . ')');
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]);
$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']);
示例6: reformat_nipbaru
" size="20" value="<?php
echo $row['id'];
?>
" /></td>
</tr>
<tr>
<td class="key">NIP</td>
<td><?php
echo reformat_nipbaru($row['nib_atasan']);
?>
</td>
</tr>
<tr>
<td width="140" class="key">Pangkat/Gol.Ruang</td>
<td><?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';
示例7: strtoupper
} else {
$kdbl = $List_bulan['bulan'];
}
?>
<tr class="<?php
echo $class;
?>
">
<td align="center" valign="top"> </td>
<td align="right" valign="top"><?php
echo strtoupper(nama_bulan($kdbl));
?>
</td>
<td align="center" valign="top"><?php
echo nm_pangkat(substr($List_bulan['kdgol'], 0, 1) . hurufkeangka(substr($List_bulan['kdgol'], 1, 1))) . ' (' . nm_gol(substr($List_bulan['kdgol'], 0, 1) . hurufkeangka(substr($List_bulan['kdgol'], 1, 1))) . ')';
?>
<br /><?php
echo '(' . status_peg($List_bulan['kdpeg']) . ')';
?>
</td>
<td align="left" valign="top"><?php
echo nm_info_jabatan($List_bulan['kdunitkerja'], $List_bulan['kdjabatan']) . ' (' . reformat_tgl($List_bulan['tmtjabatan']) . ')';
?>
<br /><?php
echo 'Kelas Jabatan ' . $List_bulan['grade'];
if ($List_bulan['jml_hari'] != 0) {
?>
<br /><?php
echo '(' . $List_bulan['jml_hari'] . ' hari dari .' . hari_bulan($th, $kdbl) . ' hari kerja)';
}
示例8: reformat_nipbaru
echo $class;
?>
">
<td align="center" valign="top"><?php
echo $limit * ($pagess - 1) + ($k + 1);
?>
</td>
<td align="left" valign="top"><?php
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
示例9: reformat_nipbaru
$arrUraian = $pdf->SplitToArray($w1[3], $ln, reformat_nipbaru($row['nib_atasan']));
$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, 'PANGKAT/GOL.RUANG');
$arrUraian = $pdf->SplitToArray($w1[3], $ln, nm_pangkat(kdgol_peg($row['tahun'], $row['nib_atasan'])) . ' (' . nm_gol(kdgol_peg($row['tahun'], $row['nib_atasan'])) . ')');
$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
$arrLabel = $pdf->SplitToArray($w1[1], $ln, 'JABATAN');
$arrUraian = $pdf->SplitToArray($w1[3], $ln, jabatan_peg($row['tahun'], $row['nib_atasan']));