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


PHP departemen_r函数代码示例

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


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

示例1: gpost

<?php

require_once MODDIR . 'control.php';
require_once MODDIR . 'apps/aka.php';
$dept = gpost('departemen');
$departemen = departemen_r($dept);
// Page Selection Bar
$PSBar = new PSBar_2();
$PSBar->begin();
$PSBar->selection_departemen('penempatan', $dept);
$PSBar->end();
if (count($departemen) > 0) {
    notifbox();
    ?>
<table cellspacing="0" cellpadding="0" width="100%"><tr valign="top">
<td width="45%" style="padding-right:10px">
	<div id="loader3" class="loader" style="display:none"></div>
	<div id="data_calon" style="width:100%">
	<?php 
    require_once APPDIR . 'penempatan_calon_get.php';
    ?>
	</div>
</td>
<td width="55%" style="border-left:1px solid #fff;padding-left:10px">
	<div id="loader2" class="loader" style="display:none"></div>
	<div id="data_kelas" style="width:100%">
	<?php 
    require_once APPDIR . 'penempatan_kelas_get.php';
    ?>
	</div>
</td>
开发者ID:epiii,项目名称:siadu-epiii,代码行数:31,代码来源:penempatan.php

示例2: selection_departemen

	function selection_departemen($fmod,$dept){
		$a=0; $departemen=departemen_r($a);
		echo '<tr height="26px"><td width="100px" align="left"><b>Departemen:</b></td>';
			if(admin_is_alldept()){
				echo '<td width="'.$this->lblw.'">'.iSelect('departemen',$departemen,$dept,"width:".$this->selw,$fmod."_get()").'</td>';
			} else {
				echo '<td width="150px" align="left"><b>'.departemen_name($dept).'</b><input type="hidden" id="departemen" value="'.$dept.'"/></td>';
			}
		echo '<td width="*">&nbsp;</td></tr>';
	}
开发者ID:nickohappy7,项目名称:sister,代码行数:10,代码来源:psbar.php

示例3: appmod_use

<?php appmod_use('aka/tahunajaran','aka/tingkat','aka/kelas','aka/siswa');

$fmod='member_siswa';
$xtable=new xtable($fmod,'member','',0,'member');
$xtable->search_keyon('kunci=>aka_siswa.nis:EQ|aka_siswa.nama:LIKE-0,1');
$xtable->pageorder="aka_siswa.nis";
$xtable->noopt=true;

$dept=gpost('departemen');
$departemen=departemen_r($dept,1);

$tajar=gpost('tahunajaran');
$tahunajaran=tahunajaran_r($tajar,$dept);

$tingk=gpost('tingkat');
$tingkat=tingkat_r($tingk,$tajar,1);

$kls=gpost('kelas');
$kelas=kelas_r($kls,$tingk);

$PSBar = new PSBar_2(100);
$PSBar->begin();
	if(count($departemen)>0){
		$PSBar->selection('Departemen',iSelect('departemen',$departemen,$depat,$PSBar->selws,$fmod."_get()"));
	} else {
		$PSBar->end();
		hiddenval('departemen',$dept);
		hiddenval('tahunajaran',$tajar);
		hiddenval('tingkat',$tingk);
		hiddenval('kelas',$kls);
		departemen_warn(0);
开发者ID:nickohappy7,项目名称:sister,代码行数:31,代码来源:member_siswa.php

示例4: dbSFA

            }
        }
    }
    $fform->notif($q);
} else {
    if ($opt == 'uf' || $opt == 'df') {
        // Prepocessing form
        $r = dbSFA("*", $dbtable, "W/replid='{$cid}'");
        $dept = $r['departemen'];
    } else {
        // af
        $r = farray('uname', 'level', 'departemen');
        $r['level'] = 2;
        $dept = 0;
    }
    $departemen = departemen_r($a, 1);
    $modul = array('psb' => 'Penerimaan Siswa Baru', 'aka' => 'Akademik', 'pus' => 'Perpustakaan', 'hrd' => 'Kepegawaian', 'sar' => 'Sarpras', 'keu' => 'Keuangan');
    $ulevel = array(1 => 'Administrator', 2 => 'Operator', 3 => 'Guest');
    $fform->head();
    if ($opt == 'af' || $opt == 'uf') {
        require_once MODDIR . 'control.php';
        // Add or Edit form
        $fform->fi('Username', iText('uname', $r['uname'], $fform->rwidths));
        $fform->fi('Level', iSelect('level', $ulevel, $r['level']));
        $fform->fi('Modul', iSelect('app', $modul, $r['app']));
        $fform->fi('Departemen', iSelect('departemen', $departemen, $dept));
    } else {
        if ($opt == 'df') {
            // Delete form
            $fform->dlg_del($r['uname']);
        }
开发者ID:epiii,项目名称:siadu-epiii,代码行数:31,代码来源:user.php

示例5: departemen_r

     // $r=dbLJoin($dbtable,'replid','departemen','replid');  // shared/db.php
     // var_dump($r);
     $a = 0;
     // $kategorirek=kategorirek_r($a);
     $departemen = departemen_r($a);
     // print_r($departemen);
 } else {
     // opt == 'af' //  add form
     // $r                = farray('kategorirek','kode','nama','keterangan'); //shared/libraries/common.php
     $r = farray('tahunbuku', 'nama', 'nominal', 'keterangan', 'id_department');
     //shared/libraries/common.php
     // $r['kategorirek'] = gpost('skategorirek'); // shared/libraries/common.php
     $r['id_department'] = gpost('sid_department');
     // shared/libraries/common.php
     // $kategorirek      = kategorirek_r($r['kategorirek']); //shared/libraries/modules/app/keu/rekening.php
     $departemen = departemen_r($r['id_department']);
     //shared/libraries/modules/app/keu/rekening.php
     // // if($r['kategorirek']!=0){
     // // 	//$r['kode']=$r['kategorirek'];
     // // }
     // $departemen=departemen_r($a,1); //shared/libraries/obj/departmen.php (tambahan)
 }
 // $departemen=departemen_r($a,1); //shared/libraries/obj/departmen.php (tambahan)
 // }$departemen=departemen_r($a); //shared/libraries/obj/departmen.php
 $fform->dimension(400, 120);
 $fform->head();
 //shared/
 if ($opt == 'af' || $opt == 'uf') {
     // print_r($departemen);
     // exit();
     require_once MODDIR . 'control.php';
开发者ID:epiii,项目名称:siadu-epiii,代码行数:31,代码来源:budgetXX.php


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