本文整理汇总了PHP中nm_jabatan_ij函数的典型用法代码示例。如果您正苦于以下问题:PHP nm_jabatan_ij函数的具体用法?PHP nm_jabatan_ij怎么用?PHP nm_jabatan_ij使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了nm_jabatan_ij函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: nm_unitkerja
<tr class="<?php
echo $class;
?>
">
<td align="center" valign="top"><?php
echo $limit * ($pagess - 1) + ($k + 1);
?>
</td>
<td align="left" valign="top"><?php
if ($col[1][$k] != $col[1][$k - 1]) {
echo nm_unitkerja($col[1][$k]);
}
?>
</td>
<td align="left" valign="top"><?php
echo nm_jabatan_ij($col[2][$k], $col[1][$k]);
?>
</td>
<td align="center" valign="top"><?php
echo $col[3][$k];
?>
</td>
<td align="center" valign="top"><?php
echo $col[4][$k];
?>
</td>
<td width="4%" align="center" valign="top">
<a href="<?php
echo $ed[$k];
?>
&pagess=<?php
示例2: substr
<td><select name="<?php
echo $field[2];
?>
">
<!--option value="<?php
echo $value[2];
?>
"><?php
echo '[' . $value[2] . '] ' . substr(nm_jabatan_ij($value[2]), 0, 60);
?>
</option-->
<option value="<?php
echo $value[2];
?>
"><?php
echo substr(nm_jabatan_ij($value[2]), 0, 60);
?>
</option>
<option value="">- Pilih Jabatan -</option>
<?php
$query = mysql_query("select kode,left(nmjabatan,60) as nama_jabatan from kd_jabatan order by nmjabatan");
while ($row = mysql_fetch_array($query)) {
?>
<!--option value="<?php
echo $row['kode'];
?>
"><?php
echo '[' . $row['kode'] . '] ' . $row['nama_jabatan'];
?>
</option-->
<option value="<?php
示例3: array
$pdf->AddPage();
$kdjab = $_REQUEST['kdjab'];
$font = 'Arial';
$noborder = 0;
$border = 1;
$size = 10;
$ln = 5;
$margin = 15;
$tinggi = 275;
$w = array(0, 180);
$pdf->Ln();
$pdf->SetFont($font, 'B', $size + 1);
$pdf->SetX($margin + $w[0]);
$pdf->Cell($w[1], $ln, 'FORMULIR BANTU SASARAN KERJA PEGAWAI', '', 1, 'C');
$pdf->SetX($margin + $w[0]);
$pdf->Cell($w[1], $ln, 'JABATAN ' . strtoupper(trim(nm_jabatan_ij($kdjab))), '', 1, 'C');
$pdf->Ln() * 2;
$w2 = array(10, 50, 20, 30, 20, 20, 30);
$pdf->SetFont($font, 'B', $size - 1);
$y = $pdf->GetY();
$pdf->SetX($margin);
$pdf->Cell($w2[0], $ln * 2, 'No.', $border, 0, 'C');
$pdf->SetX($margin + $w2[0]);
$pdf->Cell($w2[1], $ln * 2, 'Butir Kegiatan Pokok', $border, 0, 'C');
$pdf->SetXY($margin + $w2[0] + $w2[1], $y);
$pdf->Cell($w2[2], $ln, 'AK', $noborder, 0, 'C');
$pdf->SetXY($margin + $w2[0] + $w2[1], $y + 4);
$pdf->Cell($w2[2], $ln, 'Satuan', $noborder, 0, 'C');
$pdf->SetXY($margin + $w2[0] + $w2[1], $y);
$pdf->Cell($w2[2], $ln * 2, '', $border, 0, 'C');
$pdf->SetX($margin + $w2[0] + $w2[1] + $w2[2]);
示例4: reformat_nipbaru
<td><?php
echo reformat_nipbaru(nip_peg($row['nib']));
?>
</td>
</tr>
<tr>
<td colspan="3" class="key">Pangkat/Gol.Ruang</td>
<td><?php
echo nm_pangkat($row['kdgol']) . ' (' . nm_gol($row['kdgol']) . ')';
?>
</td>
</tr>
<tr>
<td colspan="3" class="key">Jabatan</td>
<td><?php
echo nm_jabatan_ij($row['kdjabatan']);
?>
</td>
</tr>
<tr>
<td colspan="3" class="key">Unit Kerja</td>
<td><?php
echo skt_unitkerja(substr($row['kdunitkerja'], 0, 2)) . ' - BATAN';
?>
</td>
</tr>
<tr>
<td colspan="4" align="center" class="row7"> </td>
</tr>
<tr>
示例5: mysql_query
" title="Edit Penutupan SKP">
<img src="css/images/edit_f2.png" border="0" width="16" height="16"><font size="1">Jabatan baru</font></a> </td>
<?php
//------ SKP Sebelumnya
$nib = $col[2][$k];
$oSKP_Lalu = mysql_query("SELECT * FROM mst_skp_mutasi WHERE tahun = '{$th}' AND nib = '{$nib}' ");
$SKP_Lalu = mysql_fetch_array($oSKP_Lalu);
?>
<td align="left" valign="top"><?php
if (substr($SKP_Lalu['kdunitkerja'], 1, 3) == '000' and substr($SKP_Lalu['kdjabatan'], 0, 4) == '0011') {
echo nm_jabatan_eselon1($SKP_Lalu['kdunitkerja']);
} elseif (substr($SKP_Lalu['kdjabatan'], 1, 3) != '000' and substr($SKP_Lalu['kdjabatan'], 0, 3) == '001') {
echo 'Kepala ' . nm_unitkerja($SKP_Lalu['kdunitkerja']);
} else {
echo nm_jabatan_ij($SKP_Lalu['kdjabatan']);
}
?>
</td>
<td align="center" valign="top"><?php
echo nil_grade($SKP_Lalu['kdjabatan']);
?>
</td>
<td align="center" valign="top"><?php
echo reformat_tgl($SKP_Lalu['tanggal_mulai']);
?>
<br />s/d<br /><?php
echo reformat_tgl($SKP_Lalu['tanggal_selesai']);
?>
</td>
<td align="center" valign="top">
示例6: mysql_query
$sql = "SELECT * FROM m_idpegawai WHERE kdunitkerja LIKE '{$xkdunit}%' OR kdunitkerja = '2320000' ORDER BY kdunitkerja, kdeselon desc,kdjabatan desc,kdgol";
} else {
$sql = "SELECT * FROM m_idpegawai WHERE kdunitkerja LIKE '{$xkdunit}%' ORDER BY kdunitkerja, kdeselon desc,kdjabatan desc,kdgol";
}
$qu = mysql_query($sql);
while ($row = mysql_fetch_array($qu)) {
$max = 0;
$no += 1;
$arrNo = $pdf->SplitToArray($w1[0], $ln, $no . '.');
if ($row['kdunitkerja'] != $kdunitkerja) {
$arrUnit = $pdf->SplitToArray($w1[1], $ln, trim(nm_unitkerja($row['kdunitkerja'])));
}
if ($row['kdunitkerja'] == $kdunitkerja) {
$arrUnit = $pdf->SplitToArray($w1[1], $ln, '');
}
$arrJabatan = $pdf->SplitToArray($w1[4], $ln, nm_jabatan_ij($row['kdjabatan'], $row['kdunitkerja']) . "\n" . '[' . reformat_tgl($row['tmtjabatan']) . ']');
$arrNama = $pdf->SplitToArray($w1[2], $ln, nama_peg($row['nip']) . "\n" . 'NIP. ' . reformat_nipbaru($row['nip']));
$arrGol = $pdf->SplitToArray($w1[3], $ln, nm_gol($row['kdgol']) . "\n" . nm_status_peg($row['kdstatuspeg']));
$arrGrade = $pdf->SplitToArray($w1[3], $ln, nil_grade($row['kdjabatan'], $row['kdunitkerja']));
if ($max < count($arrUnit)) {
$max = count($arrUnit);
}
if ($max < count($arrJabatan)) {
$max = count($arrJabatan);
}
if ($max < count($arrNama)) {
$max = count($arrNama);
}
if ($row['kdunitkerja'] != $kdunitkerja) {
$pdf->Line($margin, $pdf->GetY(), $margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5], $pdf->GetY());
}
示例7: nm_jabatan_ij
?>
"><?php
echo nm_jabatan_ij($value[5], $value[4]);
?>
</option>
<option value="">- Pilih Nama Jabatan -</option>
<?php
$kdunitkerja = $value[4];
$query = mysql_query("select * from mst_info_jabatan where kdunitkerja = '{$kdunitkerja}' order by kdjabatan,grade");
while ($row = mysql_fetch_array($query)) {
?>
<option value="<?php
echo $row['kdjabatan'];
?>
"><?php
echo $row['kdjabatan'] . ' - ' . nm_jabatan_ij($row['kdjabatan'], $kdunitkerja) . ' [ Grade' . $row['grade'] . ' ] ';
?>
</option>
<?php
}
?>
</select>
</div> </td>
</tr>
<tr>
<td class="key">TMT Jabatan </td>
<td><input name="<?php
echo $field[8];
?>
" type="text" class="form" id="<?php
echo $field[8];
示例8: nm_jabatan_ij
}
?>
</select>
</td>
</tr>
<tr>
<td class="key"> Nama Jabatan </td>
<td><div id="nama_jabatan_view"><select name="<?php
echo $field[2];
?>
">
<option value="<?php
echo $value[2];
?>
"><?php
echo nm_jabatan_ij($value[2], $value[1]);
?>
</option>
<option value="">- Pilih Jabatan -</option>
<?php
$kode = substr($kdunit, 0, 5);
$query = mysql_query("select * from kd_jabatan where kdunitkerja LIKE '{$kode}%' order by nmjabatan");
while ($row = mysql_fetch_array($query)) {
?>
<option value="<?php
echo $row['kode'];
?>
"><?php
echo $row['kode'] . ' - ' . $row['nmjabatan'] . ' [ Grade' . $row['klsjabatan'] . ' ] ';
?>
</option>
示例9: substr
$no = 0;
$xkdunit = substr($kdunit, 0, 5);
$sql = "SELECT * FROM mst_info_jabatan WHERE kdunitkerja LIKE '{$xkdunit}%' ORDER BY kdunitkerja,grade desc";
$qu = mysql_query($sql);
$row = array();
while ($row = mysql_fetch_array($qu)) {
$max = 0;
$no += 1;
$arrNo = $pdf->SplitToArray($w1[0], $ln, $no . '.');
if ($row['kdunitkerja'] != $kdunitkerja) {
$arrUnit = $pdf->SplitToArray($w1[1], $ln, trim(nm_unitkerja($row['kdunitkerja'])));
}
if ($row['kdunitkerja'] == $kdunitkerja) {
$arrUnit = $pdf->SplitToArray($w1[1], $ln, '');
}
$arrJabatan = $pdf->SplitToArray($w1[2], $ln, nm_jabatan_ij($row['kdjabatan'], $row['kdunitkerja']));
$arrJumlah = $pdf->SplitToArray($w1[3], $ln, $row['jumlah']);
$arrGrade = $pdf->SplitToArray($w1[4], $ln, $row['grade']);
if ($max < count($arrUnit)) {
$max = count($arrUnit);
}
if ($max < count($arrJabatan)) {
$max = count($arrJabatan);
}
if ($row['kdunitkerja'] != $kdunitkerja) {
$pdf->Line($margin, $pdf->GetY(), $margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4], $pdf->GetY());
}
if ($row['kdunitkerja'] == $kdunitkerja) {
$pdf->Line($margin + $w1[0] + $w1[1], $pdf->GetY(), $margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4], $pdf->GetY());
}
$kdunitkerja = $row['kdunitkerja'];
示例10: reformat_nipbaru
echo $col[2][$k];
?>
<br /><?php
echo 'NIP. ' . reformat_nipbaru($col[1][$k]);
?>
</td>
<td align="center" valign="top"><?php
echo nm_gol($col[4][$k]) . '<br>' . nm_pangkat($col[4][$k]);
?>
</td>
<td align="center" valign="top"><?php
echo nm_status_peg($col[7][$k]);
?>
</td>
<td align="left" valign="top"><?php
echo nm_jabatan_ij($col[6][$k], $col[3][$k]);
?>
</td>
<td align="left" valign="top"><?php
echo $List['bank'];
?>
</td>
<td align="center" valign="top"><?php
echo $List['no_rek'];
?>
</td>
<td align="left" valign="top"><?php
echo $List['penerima'];
?>
</td>
<td align="left" valign="top"><?php
示例11: trim
$pdf->Cell($w1[2], $ln, $arrField_1[$i], 'LR', 0, 'L');
$pdf->SetX($margin + $w1[0] + $w1[1] + $w1[2]);
$pdf->Cell($w1[3], $ln, $arrNo_2[$i], 'LR', 0, 'C');
$pdf->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3]);
$pdf->Cell($w1[4], $ln, $arrLabel_2[$i], 'LR', 0, 'L');
$pdf->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4]);
$pdf->Cell($w1[5], $ln, $arrField_2[$i], 'LR', 1, 'L');
}
// informasi tentang jabatan
$max = 0;
if (substr($row['kdunitkerja'], 1, 3) == '000' and substr($row['kdjabatan'], 0, 4) == '0011') {
$nmjabatan = trim(nm_jabatan_eselon1($row['kdunitkerja']));
} elseif (substr($row['kdunitkerja'], 1, 3) != '000' and substr($row['kdjabatan'], 0, 3) == '001') {
$nmjabatan = 'Kepala ' . trim(nm_unitkerja($row['kdunitkerja']));
} else {
$nmjabatan = trim(nm_jabatan_ij($row['kdjabatan']));
}
$arrNo_1 = $pdf->SplitToArray($w1[0], $ln, '4');
$arrLabel_1 = $pdf->SplitToArray($w1[1], $ln, 'Jabatan');
$arrField_1 = $pdf->SplitToArray($w1[2], $ln, trim($row['jabatan_atasan']));
$arrNo_2 = $pdf->SplitToArray($w1[3], $ln, '4');
$arrLabel_2 = $pdf->SplitToArray($w1[4], $ln, 'Jabatan');
$arrField_2 = $pdf->SplitToArray($w1[5], $ln, $nmjabatan);
if ($max < count($arrField_1)) {
$max = count($arrField_1);
}
if ($max < count($arrField_2)) {
$max = count($arrField_2);
}
for ($i = 0; $i < $max; $i++) {
$pdf->SetX($margin);
示例12: count
$arrTitik = $pdf->SplitToArray($w1[2], $ln, ':');
if ($max < count($arrUraian)) {
$max = count($arrUraian);
}
for ($i = 0; $i < $max; $i++) {
$pdf->SetX($margin + $w1[0]);
$pdf->Cell($w1[1], $ln, $arrLabel[$i], '', 0, 'L');
$pdf->SetX($margin + $w1[0] + $w1[1]);
$pdf->Cell($w1[2], $ln, $arrTitik[$i], '', 0, 'C');
$pdf->SetX($margin + $w1[0] + $w1[1] + $w1[2]);
$pdf->Cell($w1[3], $ln, $arrUraian[$i], '', 1, 'L');
}
// informasi tentang jabatan
$max = 0;
$arrLabel = $pdf->SplitToArray($w1[1], $ln, 'JABATAN');
$arrUraian = $pdf->SplitToArray($w1[3], $ln, nm_jabatan_ij($row['kdjabatan']));
$arrTitik = $pdf->SplitToArray($w1[2], $ln, ':');
if ($max < count($arrUraian)) {
$max = count($arrUraian);
}
for ($i = 0; $i < $max; $i++) {
$pdf->SetX($margin + $w1[0]);
$pdf->Cell($w1[1], $ln, $arrLabel[$i], '', 0, 'L');
$pdf->SetX($margin + $w1[0] + $w1[1]);
$pdf->Cell($w1[2], $ln, $arrTitik[$i], '', 0, 'C');
$pdf->SetX($margin + $w1[0] + $w1[1] + $w1[2]);
$pdf->Cell($w1[3], $ln, $arrUraian[$i], '', 1, 'L');
}
$max = 0;
$arrLabel = $pdf->SplitToArray($w1[1], $ln, 'UNIT KERJA');
$arrUraian = $pdf->SplitToArray($w1[3], $ln, trim(nm_unitkerja(substr($row['kdunitkerja'], 0, 4) . '00')) . ' - RISTEK');
示例13: array
$pdf->SetFont($font, '', $size);
$w1 = array(15, 50, 55, 10, 60, 12);
$no = 0;
$sql = "SELECT * FROM mst_skp WHERE left(kdunitkerja,4) = '{$kdunit}' and tahun = '{$th}' ORDER BY kdunitkerja,kdjabatan,kdgol";
$qu = mysql_query($sql);
while ($row = mysql_fetch_array($qu)) {
$max = 0;
$no += 1;
$arrNo = $pdf->SplitToArray($w1[0], $ln, $no . '.');
if ($row['kdunitkerja'] != $kdunitkerja) {
$arrUnit = $pdf->SplitToArray($w1[1], $ln, trim(nm_unitkerja($row['kdunitkerja'])));
}
if ($row['kdunitkerja'] == $kdunitkerja) {
$arrUnit = $pdf->SplitToArray($w1[1], $ln, '');
}
$arrJabatan = $pdf->SplitToArray($w1[4], $ln, nm_jabatan_ij($row['kdjabatan']));
$arrNama = $pdf->SplitToArray($w1[2], $ln, nama_peg($row['nip']) . "\n" . 'NIP. ' . reformat_nipbaru($row['nip']));
$arrGol = $pdf->SplitToArray($w1[3], $ln, nm_gol($row['kdgol']));
if ($max < count($arrUnit)) {
$max = count($arrUnit);
}
if ($max < count($arrJabatan)) {
$max = count($arrJabatan);
}
if ($max < count($arrNama)) {
$max = count($arrNama);
}
if ($row['kdunitkerja'] != $kdunitkerja) {
$pdf->Line($margin, $pdf->GetY(), $margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4], $pdf->GetY());
}
if ($row['kdunitkerja'] == $kdunitkerja) {
示例14: jabatan_peg
function jabatan_peg($th, $kode)
{
$data = mysql_query("select kdjabatan from mst_skp where nip = '{$kode}' and tahun = '{$th}'");
$rdata = mysql_fetch_array($data);
$result = nm_jabatan_ij($rdata['kdjabatan']);
return $result;
}
示例15: nm_jabatan_eselon1
for ($i = 0; $i < $max; $i++) {
$pdf->SetX($margin + $w[0]);
$pdf->Cell($w[1], $ln, $arrNomor[$i], '', 0, 'L');
$pdf->SetX($margin + $w[0] + $w[1]);
$pdf->Cell($w[2], $ln, $arrLabel[$i], '', 0, 'L');
$pdf->SetX($margin + $w[0] + $w[1] + $w[2]);
$pdf->Cell($w[3], $ln, $arrTitik[$i], '', 0, 'L');
$pdf->SetX($margin + $w[0] + $w[1] + $w[2] + $w[3]);
$pdf->Cell($w[4], $ln, $arrUraian[$i], '', 1, 'L');
}
if (substr($row['kdunitkerja'], 1, 3) == '000' and substr($row['kdjabatan'], 0, 4) == '0011') {
$jabatan = nm_jabatan_eselon1($row['kdunitkerja']);
} elseif (substr($row['kdunitkerja'], 1, 3) != '000' and substr($row['kdjabatan'], 0, 3) == '001') {
$jabatan = 'Kepala ' . nm_unitkerja($row['kdunitkerja']);
} else {
$jabatan = nm_jabatan_ij($row['kdjabatan']);
}
$max = 0;
$arrNomor = $pdf->SplitToArray($w[1], $ln, 'd.');
$arrLabel = $pdf->SplitToArray($w[2], $ln, 'Jabatan');
$arrTitik = $pdf->SplitToArray($w[3], $ln, ':');
$arrUraian = $pdf->SplitToArray($w[4], $ln, $jabatan);
if ($max < count($arrUraian)) {
$max = count($arrUraian);
}
for ($i = 0; $i < $max; $i++) {
$pdf->SetX($margin + $w[0]);
$pdf->Cell($w[1], $ln, $arrNomor[$i], '', 0, 'L');
$pdf->SetX($margin + $w[0] + $w[1]);
$pdf->Cell($w[2], $ln, $arrLabel[$i], '', 0, 'L');
$pdf->SetX($margin + $w[0] + $w[1] + $w[2]);