当前位置: 首页>>代码示例>>PHP>>正文


PHP nm_gol函数代码示例

本文整理汇总了PHP中nm_gol函数的典型用法代码示例。如果您正苦于以下问题:PHP nm_gol函数的具体用法?PHP nm_gol怎么用?PHP nm_gol使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了nm_gol函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: mysql_query

    $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());
    }
    if ($row['kdunitkerja'] == $kdunitkerja) {
        $pdf->Line($margin + $w1[0] + $w1[1], $pdf->GetY(), $margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5], $pdf->GetY());
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:pemegang_jabatan_prn.php

示例2: 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']);
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:kreativitas_prn.php

示例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 
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:daftar_nominatif_TK.php

示例4: nm_gol

					showOthers		: true,
					ifFormat 		: "%Y-%m-%d"
				});
			</script></td>
	  </tr>
		<tr>
		  <td class="key">Golongan</td>
		  <td><select name="<?php 
echo $field[4];
?>
">
					  <option value="<?php 
echo $value[4];
?>
"><?php 
echo nm_gol($value[4]);
?>
</option>
                      <option value="">- Pilih Golongan -</option>
                    <?php 
$query = mysql_query("select * from kd_gol order by KdGol desc");
while ($row = mysql_fetch_array($query)) {
    ?>
                        <option value="<?php 
    echo $row['KdGol'];
    ?>
"><?php 
    echo $row['NmGol'];
    ?>
</option>
                    <?php 
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:data_pegawai_ed.php

示例5: left

$pdf->SetFont($font, '', $size - 2);
$no = 0;
if ($kdunit != '') {
    $sql = "SELECT * FROM mst_potongan WHERE left(kdunitkerja,2) = '{$kdunit}' and tahun = '{$th}' and bulan = '{$kdbulan}' ORDER BY kdunitkerja,grade desc, kdgol desc";
} else {
    $sql = "SELECT * FROM mst_potongan WHERE kdsatker = '{$kdsatker}' and tahun = '{$th}' and bulan = '{$kdbulan}' ORDER BY grade desc, kdgol desc, kdunitkerja";
}
$qu = mysql_query($sql);
while ($row = mysql_fetch_array($qu)) {
    $max = 0;
    $no += 1;
    $arrNo = $pdf->SplitToArray($w1[0], $ln, $no . '.');
    $arrUnit = $pdf->SplitToArray($w1[1], $ln, trim(nmjabatan_mst_tk($row['nib'], $th, $kdbulan)));
    $arrNama = $pdf->SplitToArray($w1[2], $ln, nama_peg($row['nib']) . "\n" . 'NIP. ' . reformat_nipbaru(nip_peg($row['nib'])));
    $arrGrade = $pdf->SplitToArray($w1[3], $ln, $row['grade']);
    $arrGol = $pdf->SplitToArray($w1[4], $ln, nm_gol(substr($row['kdgol'], 0, 1) . hurufkeangka(substr($row['kdgol'], 1, 1))));
    if ($row['kdpot_10'] != 0) {
        $arrPot_10 = $pdf->SplitToArray($w1[6], $ln, $row['kdpot_10']);
    }
    if ($row['kdpot_10'] == 0) {
        $arrPot_10 = $pdf->SplitToArray($w1[6], $ln, '');
    }
    if ($row['kdpot_11'] != 0) {
        $arrPot_11 = $pdf->SplitToArray($w1[6], $ln, $row['kdpot_11']);
    }
    if ($row['kdpot_11'] == 0) {
        $arrPot_11 = $pdf->SplitToArray($w1[6], $ln, '');
    }
    if ($row['kdpot_12'] != 0) {
        $arrPot_12 = $pdf->SplitToArray($w1[6], $ln, $row['kdpot_12']);
    }
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:daftar_potongan_pdg_prn.php

示例6: nm_gol

				});
			</script></td>
	  </tr>
		
		
		<tr>
		  <td class="key">Golongan</td>
		  <td><select name="<?php 
echo $field[6];
?>
">
					  <option value="<?php 
echo $value[4];
?>
"><?php 
echo nm_gol($value[6]);
?>
</option>
                      <option value="">- Pilih Golongan -</option>
                    <?php 
$query = mysql_query("select * from kd_gol order by KdGol desc");
while ($row = mysql_fetch_array($query)) {
    ?>
                        <option value="<?php 
    echo $row['KdGol'];
    ?>
"><?php 
    echo $row['NmGol'];
    ?>
</option>
                    <?php 
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:daftar_nominatif_TK_ed.php

示例7: 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 
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:verifikasi_penempatan.php

示例8: nmjabatan_mst_tk

					<?php 
        } else {
            ?>
					<?php 
            echo nmjabatan_mst_tk($col[3][$k], $th, $kdbulan);
            ?>
					<?php 
        }
        ?>
					</td>
					<td align="left" valign="top"><?php 
        echo nama_peg($col[3][$k]);
        ?>
</td>
					<td align="center" valign="top"><?php 
        echo nm_gol(substr($col[7][$k], 0, 1) . hurufkeangka(substr($col[7][$k], 1, 1)));
        ?>
</td>
					<td align="center" valign="top"><?php 
        echo reformat_nipbaru($col[4][$k]);
        ?>
</td>
					<td align="center" valign="top"><?php 
        echo $col[3][$k];
        ?>
</td>
					<td align="center" valign="top"><?php 
        echo $col[17][$k];
        ?>
</td>
					<td width="1%" align="center" valign="top"><?php 
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:daftar_potongan_pdg_xls.php

示例9: nm_unitkerja

</td>
					<td align="left" valign="top"><?php 
        if ($col[3][$k] != $col[3][$k - 1]) {
            echo nm_unitkerja($col[3][$k]);
        }
        ?>
</td>
					<td align="left" valign="top"><?php 
        echo nama_peg($col[2][$k]);
        ?>
<br /><?php 
        echo 'NIP. ' . reformat_nipbaru(nip_peg($col[2][$k]));
        ?>
</td>
					<td align="center" valign="top"><?php 
        echo nm_gol($col[5][$k]);
        ?>
</td>
					<td align="left" valign="top"><?php 
        echo nm_info_jabatan($col[3][$k], $col[4][$k]);
        ?>
</td>
					<td align="center" valign="top"><?php 
        echo nil_grade($col[4][$k]);
        ?>
</td>
			    </tr>
				
				<?php 
    }
}
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:pemangku_jabatan_xls.php

示例10: 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 
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:mst_rekening.php

示例11: strtoupper

        } else {
            $kdbl = $List_bulan['bulan'];
        }
        ?>
				
					<tr class="<?php 
        echo $class;
        ?>
">
					  <td align="center" valign="top">&nbsp;</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)';
        }
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:slip_penerima_xls.php

示例12: 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']));
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:laporan_aktivitas_prn.php

示例13: array

$border = 1;
$size = 10;
$ln = 4;
$margin = 15;
$tinggi = 275;
$w1 = array(10, 50, 12, 40, 10, 30);
$pdf->SetFont($font, '', $size - 1);
$no = 0;
$sql = "SELECT * FROM mst_tk WHERE kdsatker = '{$kdsatker}' and tahun = '{$th}' and bulan = '{$kdbulan}' ORDER BY grade desc, kdgol desc, kdjabatan";
$qu = mysql_query($sql);
while ($row = mysql_fetch_array($qu)) {
    $max = 0;
    $no += 1;
    $arrNo = $pdf->SplitToArray($w1[0], $ln, $no . '.');
    $arrNama = $pdf->SplitToArray($w1[1], $ln, nama_peg($row['nib']) . "\n" . 'NIP. ' . reformat_nipbaru(nip_peg($row['nib'])));
    $arrGol = $pdf->SplitToArray($w1[2], $ln, nm_gol(substr($row['kdgol'], 0, 1) . hurufkeangka(substr($row['kdgol'], 1, 1))) . "\n" . status_peg($row['kdpeg']));
    if ($row['jml_hari'] == 0) {
        $arrJabatan = $pdf->SplitToArray($w1[3], $ln, nm_info_jabatan($row['kdunitkerja'], $row['kdjabatan']) . "\n" . reformat_tgl($row['tmtjabatan']));
    }
    if ($row['jml_hari'] != 0) {
        $arrJabatan = $pdf->SplitToArray($w1[3], $ln, nm_info_jabatan($row['kdunitkerja'], $row['kdjabatan']) . "\n" . reformat_tgl($row['tmtjabatan']) . "\n" . ' (' . $row['jml_hari'] . ' hari dari ' . hari_bulan($th, $kdbl) . ' hari kerja)');
    }
    $arrGrade = $pdf->SplitToArray($w1[4], $ln, $row['grade']);
    $arrTGrade = $pdf->SplitToArray($w1[5], $ln, number_format(rp_grade($row['kdunitkerja'], $row['grade'], $row['kdpeg']), "0", ",", "."));
    $arrFPot = $pdf->SplitToArray($w1[5], $ln, number_format(rp_grade($row['kdunitkerja'], $row['grade'], $row['kdpeg']) - $row['tunker'], "0", ",", "."));
    $arrTunker = $pdf->SplitToArray($w1[5], $ln, number_format($row['tunker'], "0", ",", "."));
    $arrPajak = $pdf->SplitToArray($w1[5], $ln, number_format($row['pajak_tunker'], "0", ",", "."));
    $arrMinta = $pdf->SplitToArray($w1[5], $ln, number_format($row['tunker'] + $row['pajak_tunker'], "0", ",", "."));
    $total_tunker += $row['tunker'];
    $total_pajak += $row['pajak_tunker'];
    $total_tgrade += rp_grade($row['kdunitkerja'], $row['grade'], $row['kdpeg']);
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:daftar_nominatif_sttn.php

示例14: nm_gol

echo $value[5];
?>
"><?php 
echo nm_gol($value[5]);
?>
</option>
                      <option value="">- Pilih Golongan -</option>
                    <?php 
$query = mysql_query("select KdGol, NmGol from kd_gol\r\n\t\t\t\t\t\t\torder by KdGol");
while ($row = mysql_fetch_array($query)) {
    ?>
                      <option value="<?php 
    echo $row['KdGol'];
    ?>
"><?php 
    echo nm_gol($row['KdGol']);
    ?>
</option>
                    <?php 
}
?>
                  </select></td>
	  </tr>
		<tr>
		  <td class="key">Grade</td>
		  <td><input type="text" name="<?php 
echo $field[13];
?>
" size="10" value="<?php 
echo $value[13];
?>
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:edit_skp_baru_ed.php

示例15: nm_gol

        ?>
					</td>
					
			        <td align="center" valign="top">
					<?php 
        if ($col[6][$k] != $row['kdgol']) {
            ?>
					<font color="#CC3300"><?php 
            echo nm_gol($row['kdgol']);
            ?>
</font>
					<?php 
        } else {
            ?>
					<?php 
            echo nm_gol($col[6][$k]);
            ?>
					<?php 
        }
        ?>
					<br />
					<?php 
        if ($col[7][$k] != $row['kdstatuspeg']) {
            ?>
					<font color="#CC3300"><?php 
            echo nm_status_peg($row['kdstatuspeg']);
            ?>
</font>
					<?php 
        } else {
            ?>
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:tukin_pegawai.php


注:本文中的nm_gol函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。