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


PHP nip_peg函数代码示例

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


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

示例1: nama_peg

	<table width="755" cellspacing="1" class="admintable">
		
		<tr>
		  <td colspan="4" align="center"><strong>PNS YANG DINILAI</strong></td>
	  </tr>
		<tr>
		  <td colspan="3" class="key">Nama</td>
		  <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']);
?>
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:penilai_skp_ed.php

示例2: nm_unitkerja

">
					<td align="center" valign="top"><?php 
        echo $limit * ($pagess - 1) + ($k + 1);
        ?>
</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="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]);
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:aktivitas_pegawaix.php

示例3: nm_info_jabatan

 if ($row['kdunitkerja'] != $kdunitkerja and $row['kdjabatan'] != $kdjabatan) {
     $arrJabatan = $pdf->SplitToArray($w1[2], $ln, nm_info_jabatan($row['kdunitkerja'], $row['kdjabatan']));
 }
 if ($row['kdunitkerja'] == $kdunitkerja and $row['kdjabatan'] != $kdjabatan) {
     $arrJabatan = $pdf->SplitToArray($w1[2], $ln, nm_info_jabatan($row['kdunitkerja'], $row['kdjabatan']));
 }
 if ($row['kdunitkerja'] == $kdunitkerja and $row['kdjabatan'] == $kdjabatan) {
     $arrJabatan = $pdf->SplitToArray($w1[2], $ln, '');
 }
 if ($row['kdjabatan'] != $kdjabatan) {
     $arrJumlah = $pdf->SplitToArray($w1[3], $ln, jml_info_jabatan($row['kdunitkerja'], $row['kdjabatan']));
 }
 if ($row['kdjabatan'] == $kdjabatan) {
     $arrJumlah = $pdf->SplitToArray($w1[3], $ln, '');
 }
 $arrNama = $pdf->SplitToArray($w1[5], $ln, nama_peg($row['nib']) . "\n" . 'NIP. ' . reformat_nipbaru(nip_peg($row['nib'])));
 $arrGol = $pdf->SplitToArray($w1[6], $ln, nm_gol($row['kdgol']));
 $arrGrade = $pdf->SplitToArray($w1[10], $ln, nil_grade($row['kdjabatan']));
 if ($row['kdjabatan'] != $kdjabatan) {
     $arrJ2 = $pdf->SplitToArray($w1[10], $ln, jml_j2($th, $row['kdunitkerja'], $row['kdjabatan']));
 }
 if ($row['kdjabatan'] == $kdjabatan) {
     $arrJ2 = $pdf->SplitToArray($w1[10], $ln, '');
 }
 $tanda = jml_j2($th, $row['kdunitkerja'], $row['kdjabatan']) - jml_info_jabatan($row['kdunitkerja'], $row['kdjabatan']);
 if ($tanda >= 1) {
     $xtanda = '+';
 }
 if ($tanda <= 0) {
     $xtanda = '';
 }
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:peta_jabatan_prn.php

示例4: trim

$pdf->SetX($margin);
$pdf->Cell($w3[0], $ln, 'Pejabat Penilai', '', 0, 'C');
$pdf->SetX($margin + $w3[0] + $w3[1]);
$pdf->Cell($w3[2], $ln, 'Pegawai Negeri Sipil yang dinilai,', '', 1, 'C');
$pdf->Ln();
$pdf->Ln();
$pdf->Ln();
$ln = 4;
$pdf->SetX($margin);
$pdf->Cell($w3[0], $ln, trim(nama_peg($row_penilai['nib_penilai'])), '', 0, 'C');
$pdf->SetX($margin + $w3[0] + $w3[1]);
$pdf->Cell($w3[2], $ln, trim(nama_peg($row['nib'])), '', 1, 'C');
$pdf->SetX($margin);
$pdf->Cell($w3[0], $ln, 'NIP. ' . reformat_nipbaru(nip_peg($row_penilai['nib_penilai'])), '', 0, 'C');
$pdf->SetX($margin + $w3[0] + $w3[1]);
$pdf->Cell($w3[2], $ln, 'NIP. ' . reformat_nipbaru(nip_peg($row['nib'])), '', 1, 'C');
$pdf->SetDisplayMode('real');
$pdf->Output('doc.pdf', 'I');
function nilai_jumlah($nib_penilai, $id_skp, $no_tugas)
{
    $data = mysql_query("select jumlah_nilai from dtl_penilaian_skp_akhir where nib_penilai = '{$nib_penilai}' and id_skp = '{$id_skp}' and no_tugas = '{$no_tugas}'");
    $rdata = mysql_fetch_array($data);
    $result = trim($rdata['jumlah_nilai']) + 0;
    return $result;
}
function nilai_kualitas($nib_penilai, $id_skp, $no_tugas)
{
    $data = mysql_query("select kualitas_nilai from dtl_penilaian_skp_akhir where nib_penilai = '{$nib_penilai}' and id_skp = '{$id_skp}' and no_tugas = '{$no_tugas}'");
    $rdata = mysql_fetch_array($data);
    $result = trim($rdata['kualitas_nilai']) + 0;
    return $result;
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:penilaian_skplama_prn.php

示例5: nm_jabatan_keu

        ?>
">
					<td align="center"><?php 
        echo $col[1][$k];
        ?>
</td>
					<td align="left"><?php 
        echo nm_jabatan_keu($col[1][$k]);
        ?>
</td>
					<td align="left"><?php 
        echo nama_peg($col[3][$k]);
        ?>
</td>
					<td align="left"><?php 
        echo reformat_nipbaru(nip_peg($col[3][$k]));
        ?>
</td>
					<td align="center">
						<a href="index.php?p=360&kdsatker=<?php 
        echo $kdsatker;
        ?>
&q=<?php 
        echo $col[0][$k];
        ?>
" title="Edit">
							<img src="css/images/edit_f2.png" border="0" width="16" height="16">						</a>					</td>
					<td align="center">
						<a href="index.php?p=240&u=<?php 
        echo $u;
        ?>
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:ref_pejabat_ed.php

示例6: jml_j2

            echo jml_j2($th, $col[1][$k], $col[2][$k]);
        }
        ?>
</td>
					<td align="center" valign="top"><?php 
        if ($col[2][$k] != $col[2][$k - 1]) {
            echo $plus . $selisih;
        }
        ?>
</td>
					<td align="left" valign="top"><?php 
        if ($nib != '') {
            echo nama_peg($nib);
            ?>
<br /><?php 
            echo 'Nip.' . reformat_nipbaru(nip_peg($nib));
        }
        ?>
</td>
                    <td align="center" valign="top"><?php 
        echo nm_gol(kdgol_peg($nib));
        ?>
</td>
                    <td align="left" valign="top"><?php 
        if ($nib != '') {
            if (substr(jabatan_peg($nib), 0, 6) == 'Kepala' or substr(jabatan_peg($nib), 0, 5) == 'Ketua') {
                echo jabatan_peg($nib);
            }
        }
        ?>
</td>
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:peta_jabatan.php

示例7: count

}
if ($max < count($arrNama_3)) {
    $max = count($arrNama_3);
}
for ($i = 0; $i < $max; $i++) {
    $pdf->SetX($margin + $w1[0]);
    $pdf->Cell($w1[1], $ln, $arrNama_1[$i], '', 0, 'C');
    $pdf->SetX($margin + $w1[0] + $w1[1] + $w1[2]);
    $pdf->Cell($w1[3], $ln, $arrNama_2[$i], '', 0, 'C');
    $pdf->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4]);
    $pdf->Cell($w1[5], $ln, $arrNama_3[$i], '', 1, 'C');
}
$max = 0;
$arrNip_1 = $pdf->SplitToArray($w1[1], $ln, 'NIP. ' . reformat_nipbaru(nip_peg(nib_pejabat($th, $kdsatker, '1'))));
$arrNip_2 = $pdf->SplitToArray($w1[3], $ln, 'NIP. ' . reformat_nipbaru(nip_peg(nib_pejabat($th, $kdsatker, '2'))));
$arrNip_3 = $pdf->SplitToArray($w1[5], $ln, 'NIP. ' . reformat_nipbaru(nip_peg(nib_pejabat($th, $kdsatker, '3'))));
if ($max < count($arrNip_1)) {
    $max = count($arrNip_1);
}
if ($max < count($arrNip_2)) {
    $max = count($arrNip_2);
}
if ($max < count($arrNip_3)) {
    $max = count($arrNip_3);
}
for ($i = 0; $i < $max; $i++) {
    $pdf->SetX($margin + $w1[0]);
    $pdf->Cell($w1[1], $ln, $arrNip_1[$i], '', 0, 'C');
    $pdf->SetX($margin + $w1[0] + $w1[1] + $w1[2]);
    $pdf->Cell($w1[3], $ln, $arrNip_2[$i], '', 0, 'C');
    $pdf->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4]);
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:rapel_penerima_prn.php

示例8: nm_jabatan_keu

				<tr class="<?php 
            echo $class;
            ?>
">
				  <td align="center" valign="top">&nbsp;</td>
				  <td align="center" valign="top">&nbsp;</td>
				  <td align="left" valign="top"><?php 
            echo nm_jabatan_keu($List_pejabat['kdpejabat']);
            ?>
</td>
				  <td align="left" valign="top"><?php 
            echo nama_peg($List_pejabat['nib']);
            ?>
</td>
				  <td align="left" valign="top"><?php 
            echo reformat_nipbaru(nip_peg($List_pejabat['nib']));
            ?>
</td>
				  <td align="center" valign="top">&nbsp;</td>
	  </tr>
				<?php 
        }
    }
}
?>
	</tbody>
	<tfoot>
		<tr>
			<td colspan="6">&nbsp;</td>
		</tr>
	</tfoot>
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:ref_pejabat.php

示例9: nama_peg

    <td height="20"><div align="left" class="style10"><?php 
echo $id;
?>
</div></td>
  </tr>
  <tr>
    <td height="20"><div align="left" class="style10">Nama</div></td>
    <td height="20"><div align="left" class="style10"><?php 
echo nama_peg($id);
?>
</div></td>
  </tr>
  <tr>
    <td height="20"><div align="left" class="style10">NIP</div></td>
    <td height="20"><div align="left" class="style10"><?php 
echo nip_peg($id);
?>
</div></td>
  </tr>
  <tr>
    <td height="20"><div align="left" class="style10">Golongan</div></td>
    <td height="20"><div align="left" class="style10"><?php 
echo nmgol(kdgol_peg($id));
?>
</div></td>
  </tr>
  <tr>
    <td height="20"><div align="left" class="style10">Unit Kerja </div></td>
    <td height="20"><div align="left" class="style10"><?php 
echo nmunit_peg($id);
?>
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:dtinduk_ed.php


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