Software: Apache/2.2.3 (CentOS). PHP/5.1.6 uname -a: Linux mx-ll-110-164-51-230.static.3bb.co.th 2.6.18-194.el5PAE #1 SMP Fri Apr 2 15:37:44 uid=48(apache) gid=48(apache) groups=48(apache) Safe-mode: OFF (not secure) /var/www/html/manage/person/admin/ drwxr-xr-x |
Viewing file: Select action/file-type: SearchMaxDocGroup(); $InputThai=$oSys->SearchByInputThai(); $oSys->SearchByKey($free); $oSys->GetRecord(); if($DLCID && $one_position!="1"){ include_once "selectposition.php"; ?> $oDlc->SearchByKey($DLCID); $oDlc->GetRecord(); $oDP->SearchByKey($oDlc->deptId); $oDP->GetRecord(); if($RsID=="3"){ if($oDP->sendOut=="Y"){ $RsID="2"; $DtID="1"; }else{ if($oDP->receiveIn=="Y"){ $RsID="3"; $DtID="3"; }else if($oDP->sendIn=="Y"){ $RsID="4"; $DtID="3"; } } }else{ if($RsID=="" && $oDP->deptIsCenter=="Y" && $oDP->receiveOut=="Y"){ $RsID=1; if($DtID==""){ $DtID=1; } }else if($RsID=="" && $oDP->deptIsCenter=="Y" && $oDP->sendOut=="Y"){ $RsID=2; if($DtID==""){ $DtID=1; } }else if($RsID=="" && $oDP->deptIsCenter=="N" && $oDP->sendIn=="Y" ){ $RsID=4; if($DtID==""){ $DtID=3; } } } ?> |