本文整理汇总了PHP中nama_peg函数的典型用法代码示例。如果您正苦于以下问题:PHP nama_peg函数的具体用法?PHP nama_peg怎么用?PHP nama_peg使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了nama_peg函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: nama_peg
?>
"><?php
echo nama_peg($value[3]);
?>
</option>
<option value="">- Pilih Pegawai -</option>
<?php
$kdsatker = kdsatker_unit($xkdunit);
$query = mysql_query("select nib from mst_tk where kdsatker = '{$kdsatker}' group by nib order by nib");
while ($row = mysql_fetch_array($query)) {
?>
<option value="<?php
echo $row['nib'];
?>
"><?php
echo $row['nib'] . ' ' . nama_peg($row['nib']);
?>
</option>
<?php
}
?>
</select></td>
</tr>
<tr>
<td class="key">Grade</td>
<td><input type="text" name="<?php
echo $field[17];
?>
" size="10" value="<?php
echo $value[17];
?>
示例2: nm_unitkerja
if ($col[6][$k] != $col[6][$k - 1]) {
echo nm_unitkerja($col[6][$k]);
}
?>
<?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]) . '<br>' . $col[3][$k];
?>
</td>
<td align="center" valign="top"><?php
echo reformat_nipbaru($col[4][$k]);
?>
</td>
<td align="center" valign="top"><?php
echo $col[17][$k];
?>
</td>
<td align="center" valign="top"><?php
if ($col[18][$k] != 0) {
echo $col[18][$k] . '<br>' . $nilpot_01 . ' %';
}
?>
示例3: nm_unitkerja
<td class="key">Unit Kerja</td>
<td><?php
echo nm_unitkerja(substr($row['kdunitkerja'], 0, 4) . '00') . ' - RISTEK';
?>
</td>
</tr>
<tr>
<td colspan="2" align="center"> </td>
</tr>
<tr>
<td colspan="2" align="left"><strong>PEJABAT PENILAI</strong></td>
</tr>
<tr>
<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>
示例4: nama_peg
<td width="488"><input type="text" size="5" readonly="readonly" value="<?php
echo $value[0];
?>
" /></td>
</tr>
<tr>
<td class="key">Nip</td>
<td><input type="text" size="10" readonly="readonly" value="<?php
echo $value[2];
?>
" /></td>
</tr>
<tr>
<td class="key">Nama Nama </td>
<td><input type="text" size="80" readonly="readonly" value="<?php
echo nama_peg($value[2]);
?>
" /></td>
</tr>
<tr>
<td class="key">Nama Jabatan</td>
<td><textarea rows="3" cols="60" readonly="readonly"><?php
echo nm_info_jabatan($value[3], $value[4]);
?>
</textarea></td>
</tr>
<tr>
<td> </td>
<td>
示例5: nama_peg
if ($k % 2 == 1) {
$class = "row0";
} else {
$class = "row1";
}
?>
<tr class="<?php
echo $class;
?>
">
<td align="center" valign="top"><?php
echo $k + 1;
?>
</td>
<td align="left" valign="top"><?php
echo nama_peg($col[2][$k]);
?>
</td>
<td align="left" valign="top"><?php
echo $col[3][$k];
?>
</td>
<td width="3%" align="center" valign="top">
<a href="index.php?p=270&q=<?php
echo $col[0][$k];
?>
&id_skp=<?php
echo $id_skp;
?>
&pagess=<?php
echo $pagess;
示例6: nama_peg
?>
" disabled="disabled"/></td>
</tr>
<tr>
<td class="key">Nama Pegawai</td>
<td>
<select name="<?php
echo $field[3];
?>
" disabled="disabled">
<option value="<?php
echo $value[3];
?>
"><?php
echo '[' . $value[3] . '] ' . nama_peg($value[3]);
?>
</option>
<option value="">- Pilih Nama Pegawai -</option>
<?php
$kdunitkerja = substr($kdunit, 0, 5);
$query = mysql_query("select nip,nama from m_idpegawai where kdunitkerja LIKE '{$kdunitkerja}%' order by nama");
while ($row = mysql_fetch_array($query)) {
?>
<option value="<?php
echo $row['nip'];
?>
"><?php
echo '[' . $row['nip'] . '] ' . $row['nama'];
?>
</option>
示例7: array
$border = 1;
$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]);
示例8: nama_peg
}
?>
</select></td>
</tr>
<tr>
<td class="key">Atasan pada SKP</td>
<td><div id="atasan-view">
<select name="<?php
echo $field[10];
?>
">
<option value="<?php
echo $value[10];
?>
"><?php
echo '[' . $value[10] . '] ' . nama_peg($value[10]);
?>
</option>
<option value="">- Pilih Nama Pegawai -</option>
<?php
$unit_atasan = substr($value[3], 0, 4);
$query = mysql_query("select nip,left(nama,70) as namapeg from m_idpegawai where left(kdunitkerja,4) = '{$unit_atasan}' and kdeselon <> '00' order by nama");
while ($row = mysql_fetch_array($query)) {
?>
<option value="<?php
echo $row['nip'];
?>
"><?php
echo '[' . $row['nip'] . '] ' . $row['namapeg'];
?>
</option>
示例9: get_title
<?php
$title = get_title();
?>
<h2><?php
echo $title;
?>
</h2><br />
<h3>
<p>Selamat datang <font color="#FF0000">
<?php
if (substr($_SESSION['xusername'], 0, 1) == '1') {
echo nama_peg($_SESSION['xusername']);
} else {
echo $_SESSION['xusername'];
}
?>
</font>.</p>
<p>
</h3>
示例10: nama_peg
$class = "row0";
} else {
$class = "row1";
}
?>
<tr class="<?php
echo $class;
?>
">
<td align="center"><?php
echo $k + 1;
?>
</td>
<td><?php
if (substr($col[1][$k], 0, 1) == '1' or substr($col[1][$k], 0, 1) == '2') {
echo $col[1][$k] . ' (' . nama_peg($col[1][$k]) . ')';
} else {
echo $col[1][$k];
}
?>
</td>
<td align="center"><?php
echo nm_unitkerja($col[2][$k]);
?>
</td>
<td align="center"><?php
$oLevel = mysql_query("SELECT name FROM xlevel WHERE id = '" . $col[4][$k] . "'");
$Level = mysql_fetch_array($oLevel);
echo $Level['name'];
?>
</td>
示例11: mysql_query
$oList = mysql_query("SELECT nib_penilai,jabatan_penilai,nilai_skp_awal FROM mst_penilai WHERE id_skp = '{$id_skp}' and nib_penilai <> '{$nib_atasan}' ORDER BY nib_penilai");
break;
default:
$oList = mysql_query("SELECT nib_penilai,jabatan_penilai,nilai_skp_awal FROM mst_penilai WHERE id_skp = '{$id_skp}' and nib_penilai = '{$xusername}' and nib_penilai <> '{$nib_atasan}' ORDER BY nib_penilai");
break;
}
while ($List = mysql_fetch_array($oList)) {
?>
<tr class="<?php
echo $class;
?>
">
<td colspan="4" align="center" valign="top"><strong>Penilai SKP</strong></td>
<td align="left" valign="top"><?php
echo nama_peg($List['nib_penilai']);
?>
</td>
<td align="left" valign="top"><?php
echo $List['jabatan_penilai'];
?>
</td>
<td align="center" valign="top"><?php
echo number_format(total_nilai_capaian_awal($List['nib_penilai'], $id_skp, $th), "2", ",", ".");
?>
</td>
<td align="center" valign="top"><?php
echo number_format(total_nilai_capaian_akhir($List['nib_penilai'], $id_skp, $th), "2", ",", ".");
?>
</td>
<td align="center" valign="top">
示例12: nama_peg
?>
</select>
</div></td>
</tr>
<tr>
<td class="key">Atasan/Penilai pada SKP</td>
<td><div id="atasan-view"><select name="<?php
echo $field[6];
?>
">
<option value="<?php
echo $value[6];
?>
"><?php
echo '[' . $value[6] . '] ' . nama_peg($value[6]);
?>
</option>
<option value="">- Pilih Nama Penilai -</option>
<?php
$query = mysql_query("select nip,nama from m_idpegawai where (left(kdunitkerja,4) = '{$kdunit}' and kdeselon <> '00') or right(kdunitkerja,3) = '000' or left(kdunitkerja,3) = '427' order by nama");
while ($row = mysql_fetch_array($query)) {
?>
<option value="<?php
echo $row['nip'];
?>
"><?php
echo '[' . $row['nip'] . '] ' . $row['nama'];
?>
</option>
<?php
示例13: nama_peg
" size="10" value="<?php
echo $th;
?>
" readonly=""/></td>
</tr>
<tr>
<td class="key">Nama Pegawai </td>
<td><select name="<?php
echo $field[2];
?>
" onChange="get_jabatan(nib.value)">
<option value="<?php
echo $value[2];
?>
"><?php
echo '[' . $value[2] . '] ' . nama_peg($value[2]);
?>
</option>
<option value="">- Pilih Nama Pegawai -</option>
<?php
$query = mysql_query("select Nib,left(NamaLengkap,60) as namapeg from m_idpegawai where left(KdUnitKerja,2) = '{$kdunit}' and (KdStatusPeg = '1' or KdStatusPeg = '2' ) order by NamaLengkap");
while ($row = mysql_fetch_array($query)) {
?>
<option value="<?php
echo $row['Nib'];
?>
"><?php
echo $row['Nib'] . ' ' . $row['namapeg'];
?>
</option>
<?php
示例14: while
while ($List_pejabat = mysql_fetch_array($oList_pejabat)) {
?>
</tr>
<tr class="<?php
echo $class;
?>
">
<td align="center" valign="top"> </td>
<td align="center" valign="top"> </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"> </td>
</tr>
<?php
}
}
}
?>
</tbody>
<tfoot>
示例15: mysql_query
}
$nip = $col[3][$k];
$sql = "SELECT * FROM m_idpegawai WHERE nip = '{$nip}'";
$query = mysql_query($sql);
$row = mysql_fetch_array($query);
?>
<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]);
?>
</td>
<td align="center" valign="top">
<?php
if ($col[6][$k] != $row['kdgol']) {
?>
<font color="#CC3300"><?php
echo nm_gol($col[6][$k]);
?>
</font>
<?php
} else {