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


PHP reformat_nipbaru函数代码示例

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


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

$size = 10;
$ln = 4;
$margin = 5;
$tinggi = 275;
$w1 = array(10, 27, 50, 15, 18, 18, 18, 18, 28);
$pdf->SetFont($font, '', $size - 2);
//----- while pegawai
$no = 0;
$oList = mysql_query("SELECT nib,nip,norec FROM mst_tk WHERE tahun = '{$th}' and kdsatker = '{$kdsatker}' and bulan >= '{$kdbulan1}' and bulan <= '{$kdbulan2}' GROUP BY nib");
while ($row = mysql_fetch_array($oList)) {
    $max = 0;
    $no += 1;
    $nib = $row['nib'];
    $arrNo = $pdf->SplitToArray($w1[0], $ln, $no);
    $arrNama = $pdf->SplitToArray($w1[1], $ln, nama_peg($row['nib']));
    $arrNIP = $pdf->SplitToArray($w1[2], $ln, 'NIP. ' . reformat_nipbaru($row['nip']));
    $arrNorek = $pdf->SplitToArray($w1[7], $ln, $row['norec']);
    if ($max < count($arrNama)) {
        $max = count($arrNama);
    }
    if ($max < count($arrJabatan)) {
        $max = count($arrJabatan);
    }
    $pdf->SetFont($font, 'B', $size - 2);
    for ($i = 0; $i < $max; $i++) {
        $pdf->SetX($margin);
        $pdf->Cell($w1[0], $ln, $arrNo[$i], 'LR', 0, 'C');
        $pdf->SetX($margin + $w1[0]);
        $pdf->Cell($w1[1], $ln, $arrNama[$i], 'LR', 0, 'L');
        $pdf->SetX($margin + $w1[0] + $w1[1]);
        $pdf->Cell($w1[2], $ln, $arrNIP[$i], 'LR', 0, 'L');
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:slip_penerima_prn.php

示例4: nama_peg

		
		<tr>
		  <td width="125" class="key">&nbsp;</td>
		  <td width="250">&nbsp;</td>
	  </tr>
		<tr>
		  <td class="key">Nama Pegawai </td>
		  <td><strong><?php 
echo nama_peg($row['nip']);
?>
</strong></td>
	  </tr>
		<tr>
		  <td class="key">NIP</td>
		  <td><strong><?php 
echo reformat_nipbaru($row['nip']);
?>
</strong></td>
	  </tr>
		<tr>
		  <td class="key">Pangkat/Gol.Ruang</td>
		  <td><strong><?php 
echo nm_pangkat($row['kdgol']) . ' (' . nm_gol($row['kdgol']) . ')';
?>
</strong></td>
	  </tr>
		<tr>
		  <td class="key">Jabatan</td>
		  <td><?php 
echo nm_jabatan_ij($row['kdjabatan']);
?>
开发者ID:abbeet,项目名称:server39,代码行数:30,代码来源:laporan_aktivitas_nib.php

示例5: 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

示例6: nama_peg

            $class = "row1";
        }
        ?>
				<tr class="<?php 
        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[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 
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:realisasi_skp_awal.php

示例7: nama_peg

		  <td class="key">Nama</td>
		  <td width="606"><?php 
echo nama_peg($row['nib_atasan']);
?>
<input type="hidden" name="<?php 
echo $field[10];
?>
" 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']);
?>
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:laporan_aktivitas_xls.php

示例8: 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

示例9: 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

示例10: 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

示例11: 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

示例12: nama_peg

            $potongan_r = $potongan_p / 100 * $col[10][$k];
        }
        ?>
				<tr class="<?php 
        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[3][$k]) . '<br>' . nm_gol($col[6][$k]) . ' / ' . nm_status_peg($col[7][$k]);
        ?>
</td>
					<td align="left" valign="top"><?php 
        echo nm_jabatan_ij($col[5][$k], $col[4][$k]);
        ?>
					<br /><?php 
        echo '[' . reformat_tgl($col[8][$k]) . ']';
        ?>
<br /><?php 
        echo 'Grade ' . $col[9][$k];
        ?>
</td>
					<td align="right" valign="top"><?php 
        echo number_format($col[10][$k], "0", ",", ".");
        ?>
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:daftar_penerima_TK.php

示例13: nmjabatan_mst_tk

            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 
        if ($col[8][$k] != 0) {
            echo $col[8][$k];
        }
        ?>
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:daftar_potongan_pdg_xls.php

示例14: array

    }
    for ($i = 0; $i < $max; $i++) {
        $pdf->SetX($margin);
        $pdf->Cell($w2[0], $ln, $arrNo[$i], 'LR', 0, 'C');
        $pdf->SetX($margin + $w2[0]);
        $pdf->Cell($w2[1], $ln, $arrUraian[$i], 'LR', 0, 'L');
        $pdf->SetX($margin + $w2[0] + $w2[1]);
        $pdf->Cell(+$w2[2] * 2 + $w2[3] * 2 + $w2[4] * 2 + $w2[5] * 2 + $w2[6] * 2, $ln, '', 'LR', 1, 'L');
    }
    $pdf->Line($margin, $pdf->GetY(), $margin + $w2[0] + $w2[1] + $w2[2] * 2 + $w2[3] * 2 + $w2[4] * 2 + $w2[5] * 2 + $w2[6] * 2, $pdf->GetY());
}
# AKHIR WHILE
# AKHIR WHILE
if ($pdf->GetY() >= 240) {
    $pdf->AddPage();
}
//------------------ Tanda Tangan
$w3 = array(50, 80, 50);
$pdf->Ln();
$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 + $w3[0] + $w3[1]);
$pdf->Cell($w3[2], $ln, trim(nama_peg($row['nip'])), '', 1, 'C');
$pdf->SetX($margin + $w3[0] + $w3[1]);
$pdf->Cell($w3[2], $ln, 'NIP. ' . reformat_nipbaru($row['nip']), '', 1, 'C');
$pdf->SetDisplayMode('real');
$pdf->Output('doc.pdf', 'I');
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:realisasi_skp_awal_prn.php

示例15: 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


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