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


PHP kdunitkerja_peg函数代码示例

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


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

示例1: elseif

} elseif (substr($row['kdunitkerja'], 1, 3) != '000' and substr($row['kdjabatan'], 0, 3) == '001') {
    echo 'Kepala ' . nm_unitkerja($row['kdunitkerja']);
} else {
    echo nm_jabatan_ij($row['kdjabatan']);
}
?>
			</td>
	    </tr>
		<tr>
		  <td class="key">Unit Kerja </td>
		  <td>
		  <?php 
if (kdunitkerja_peg($row['nib_atasan']) == '0000') {
    echo 'BATAN';
} else {
    echo trim(skt_unitkerja(substr(kdunitkerja_peg($row['nib_atasan']), 0, 2))) . ' - BATAN';
}
?>
		  </td>
		  <td 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">&nbsp;</td>
	  </tr>
		<tr>
		  <td colspan="4" align="center" class="row7"><strong>CATATAN HARIAN PELAKSANAAN TUGAS </strong></td>
	  </tr>
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:aktivitas_pegawai_nib710.php

示例2: checkauthentication

checkauthentication();
$p = $_GET['p'];
$cari = $_GET['cari'];
$table = "mst_skp";
$field = get_field($table);
$ed_link = "index.php?p=" . get_edit_link($p);
$del_link = "index.php?p=263";
#Halaman yang akan ditampilkan untuk pertengahan?
$adjacents = 3;
$th = $_SESSION['xth'];
$xlevel = $_SESSION['xlevel'];
$xusername = $_SESSION['xusername'];
$xkdunit = $_SESSION['xkdunit'];
$kdbidang = substr(kdunitkerja_peg($xusername), 0, 3);
$kdsubbidang = kdunitkerja_peg($xusername);
$kdunitkerja = $xkdunit . '00';
$kddeputi = substr($xkdunit, 0, 1);
switch ($xlevel) {
    case '1':
        $query = "SELECT COUNT(*) as num FROM {$table} WHERE tahun = '{$th}' and left(kdunitkerja,2) = '{$xkdunit}' and (nib LIKE '%{$cari}%' OR kdunitkerja LIKE '%{$cari}%' OR kdjabatan LIKE '%{$cari}%') ";
        break;
    case '2':
        $query = "SELECT COUNT(*) as num FROM {$table} WHERE tahun = '{$th}' and left(kdunitkerja,2) = '{$xkdunit}' and (nib LIKE '%{$cari}%' OR kdunitkerja LIKE '%{$cari}%' OR kdjabatan LIKE '%{$cari}%') ";
        break;
    case '3':
        $query = "SELECT COUNT(*) as num FROM {$table} WHERE tahun = '{$th}' and left(kdunitkerja,2) = '{$xkdunit}' and (nib LIKE '%{$cari}%' OR kdunitkerja LIKE '%{$cari}%' OR kdjabatan LIKE '%{$cari}%') ";
        break;
    case '4':
        $query = "SELECT COUNT(*) as num FROM {$table} WHERE tahun = '{$th}' and left(kdunitkerja,3) = '{$kdbidang}' and (nib LIKE '%{$cari}%' OR kdunitkerja LIKE '%{$cari}%' OR kdjabatan LIKE '%{$cari}%') ";
        break;
开发者ID:abbeet,项目名称:server39,代码行数:30,代码来源:aktivitas_pegawaix.php

示例3: count

    $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 (kdunitkerja_peg($row['nib_atasan']) == '0000') {
    $unit = 'BATAN';
} else {
    $unit = trim(skt_unitkerja(substr(kdunitkerja_peg($row['nib_atasan']), 0, 2)));
}
$max = 0;
$arrNomor = $pdf->SplitToArray($w[1], $ln, 'e.');
$arrLabel = $pdf->SplitToArray($w[2], $ln, 'Unit Kerja');
$arrTitik = $pdf->SplitToArray($w[3], $ln, ':');
$arrUraian = $pdf->SplitToArray($w[4], $ln, $unit);
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]);
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:kreativitas_prn.php

示例4: nm_pangkat

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']);
?>
</td>
	    </tr>
		<tr>
		  <td class="key">Unit Kerja </td>
		  <td>
		  <?php 
echo trim(nm_unitkerja(substr(kdunitkerja_peg($row['tahun'], $row['nib_atasan']), 0, 4) . '00')) . ' - RISTEK';
?>
		  </td>
	  </tr>
		<tr>
		  <td colspan="2" align="center" class="row7">&nbsp;</td>
	  </tr>
  </table>
</form>
<table width="58%" cellpadding="1" border="1">
	<thead>
		
		<tr>
		  <th width="3%">No.</th>
		  <th width="12%">Tanggal</th>
		  <th width="37%">Uraian Kegiatan/Kejadian</th>
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:laporan_aktivitas_xls.php

示例5: trim

    $pdf->Cell($w1[0], $ln, $arrNo_1[$i], 'LR', 0, 'C');
    $pdf->SetX($margin + $w1[0]);
    $pdf->Cell($w1[1], $ln, $arrLabel_1[$i], 'LR', 0, 'L');
    $pdf->SetX($margin + $w1[0] + $w1[1]);
    $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');
}
$max = 0;
$arrNo_1 = $pdf->SplitToArray($w1[0], $ln, '5');
$arrLabel_1 = $pdf->SplitToArray($w1[1], $ln, 'Unit Kerja');
$arrField_1 = $pdf->SplitToArray($w1[2], $ln, trim(nm_unitkerja(substr(kdunitkerja_peg($row['tahun'], $row['nib_atasan']), 0, 4) . '00')) . ' - RISTEK');
$arrNo_2 = $pdf->SplitToArray($w1[3], $ln, '5');
$arrLabel_2 = $pdf->SplitToArray($w1[4], $ln, 'Unit Kerja');
$arrField_2 = $pdf->SplitToArray($w1[5], $ln, trim(nm_unitkerja(substr($row['kdunitkerja'], 0, 4) . '00')) . ' - RISTEK');
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);
    $pdf->Cell($w1[0], $ln, $arrNo_1[$i], 'LR', 0, 'C');
    $pdf->SetX($margin + $w1[0]);
    $pdf->Cell($w1[1], $ln, $arrLabel_1[$i], 'LR', 0, 'L');
    $pdf->SetX($margin + $w1[0] + $w1[1]);
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:realisasi_skp_awal_prn.php

示例6: trim

    $pdf->SetX($margin + $w1[0]);
    $pdf->Cell($w1[1], $ln, $arrLabel_1[$i], 'LR', 0, 'L');
    $pdf->SetX($margin + $w1[0] + $w1[1]);
    $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');
}
$max = 0;
$arrNo_1 = $pdf->SplitToArray($w1[0], $ln, '5');
$arrLabel_1 = $pdf->SplitToArray($w1[1], $ln, 'Unit Kerja');
if (kdunitkerja_peg($row['nib_atasan']) != '0000') {
    $arrField_1 = $pdf->SplitToArray($w1[2], $ln, trim(skt_unitkerja(substr(kdunitkerja_peg($row['nib_atasan']), 0, 2))) . ' - BATAN');
} else {
    $arrField_1 = $pdf->SplitToArray($w1[2], $ln, 'BATAN');
}
$arrNo_2 = $pdf->SplitToArray($w1[3], $ln, '5');
$arrLabel_2 = $pdf->SplitToArray($w1[4], $ln, 'Unit Kerja');
$arrField_2 = $pdf->SplitToArray($w1[5], $ln, trim(skt_unitkerja(substr($row['kdunitkerja'], 0, 2))) . ' - BATAN');
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);
    $pdf->Cell($w1[0], $ln, $arrNo_1[$i], 'LR', 0, 'C');
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:zbuat_skp_prn.php

示例7: kdunitkerja_peg

				<meta http-equiv="refresh" content="0;URL=index.php?p=<?php 
            echo $p_next;
            ?>
&pagess=<?php 
            echo $pagess;
            ?>
&cari=<?php 
            echo $cari;
            ?>
"><?php 
            exit;
        } else {
            // UPDATE
            $value[1] = $th;
            $nib = $value[2];
            $kdunitkerja = kdunitkerja_peg($nib);
            $kdjabatan = $value[4];
            if ($value[13] != nil_grade($value[4])) {
                $grade = nil_grade($value[4]);
            } else {
                $grade = $value[13];
            }
            $kdgol = $value[5];
            $tanggal_mulai = $value[14];
            /*				$value[3] = kdunitkerja_peg($nib) ;
            				$value[5] = kdgol_peg($nib) ;
            				$value[12] = kdgol_peg($value[10]) ;
            				$value[11] = jabstruk_peg($value[10]) ;
            				$value[6] = '0' ;
            				$value[8] = '0' ;
            				if ( $value[13] == 0 )   $value[13] = nil_grade($value[4]) ; */
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:edit_skp_baru_ed.php


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