" height="24">">ข้อมูลบุคลากร |
">
"># |
">
คำนำหน้า ชื่อ |
">ชื่อ |
">นามสกุล |
">ตำแหน่ง ในการเรียงลำดับ |
">ประเภทบุคลากร |
">ชื่อผู้ใช้
(Username) |
$oDP->RSDeptByMaxdeptDate2();
while($oDP->GetRecord()){
?>
" height="22"> echo $oDP->deptName; ?> |
$oPS->RSPersonf1dept($oDP->deptId);
$i=0;
while($oPS->GetRecord()){
$oUms->SearchByUsPsCode($oPS->personId);
$oUms->GetRecord();
if(($i%2) == 0)
echo "";
else
echo "
";
?>
echo $i+1; ?> |
echo GetPrefixshow($oPS->prefixId); ?> |
echo $oPS->fName; ?> |
echo $oPS->lName; ?> |
$oAd->SearchByKey($oPS->adminId); if($oAd->GetRecord()==1){ echo $oAd->adminName; }?> |
$oHr->SearchByKey($oPS->hireId); if($oHr->GetRecord()==1){ echo $oHr->hireName; }?> |
echo $oUms->UsLogin; ?> |
$i++; }
if($i==0){
?>
" size="2">** ไม่มีข้อมูลบุคลากร ** |
}
$j++;
}
//--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
if($oPS3->SearchCountByNodeptNamedocGroup($oDP->MaxDate())!='0'){
?>
|
" height="22"> ไม่มีหน่วยงานที่สังกัด |
$oPS2->SearchByNodeptNamedocGroup($oDP->MaxDate());
$z=0;
while($oPS2->GetRecord()){
$oUms2->SearchByUsPsCode($oPS2->personId);
$oUms2->GetRecord();
if(($i%2) == 0)
echo "";
else
echo "
";
?>
echo $z+1; ?> |
echo GetPrefixshow($oPS2->prefixId); ?> |
echo $oPS2->fName; ?> |
echo $oPS2->lName; ?> |
$oAd->SearchByKey($oPS2->adminId); if($oAd->GetRecord()==1){ echo $oAd->adminName; }?> |
$oHr->SearchByKey($oPS2->hireId); if($oHr->GetRecord()==1){ echo $oHr->hireName; }?> |
echo $oUms2->UsLogin; ?> |
$z++; }
if($z==0){
?>
" size="2">** ไม่มีข้อมูลบุคลากร ** |
} }
//------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
?>
if($j==0){
?>
" size="2">** ไม่มีข้อมูลบุคลากร ** |
} ?>