"; $SelTType="select * from km_ttype where KM_Type_ID='$kmtype' "; $dbTType=mysql_db_query($dbname, $SelTType); $rsTType=mysql_fetch_array($dbTType); $TType_Name=$rsTType['KM_Type_Name']; ?>
การจัดการความรู้
การจัดการความรู้ < ด้าน
 
ไม่พบข้อมูล"; }else{*/ if ($Page >= 1){} else{ $Page = 1;} $Gopage=$HTTP_GET_VARS["Page"]; if ($Gopage==""){ $Gopage=1; } $Pagesize=$HTTP_GET_VARS["Pagesize"]; $Pagesize=20; $Maxcount=ceil($numKM1/$Pagesize); $Gopage=(($Gopage-1)*$Pagesize)+$Recs; $Recs=1; $Checkpage= ($Gopage/$Pagesize)+1; If ($Checkpage==$Maxcount) { $Newsize=$numKM1 % $Pagesize; if($Newsize==0){ $Newsize=$numKM1;} $Pagesize=$Newsize; } //} //echo "ด้าน".$TType_Name; ?> " >เพิ่มหัวข้อความรู้ 
"; echo "
"; echo ""; echo ""; echo " "; echo " "; echo " "; echo " "; echo " "; echo " "; echo ""; if($numsKM2=='0'){ echo ""; }else{ echo ""; echo ""; echo ""; for($KM2=1;$KM2<=$numsKM2;$KM2++){ $rsKM2=mysql_fetch_array($dbKM2); $KM_Issue_ID=$rsKM2['KM_Issue_ID']; $KM_Issue_Subject=$rsKM2['KM_Issue_Subject']; $KM_Issue_Detail=$rsKM2['KM_Issue_Detail']; $KM_Issue_Author=$rsKM2['KM_Issue_Author']; $KM_Issue_RCount=$rsKM2['KM_Issue_RCount']; $KM_Issue_Post=$rsKM2['KM_Issue_Post']; $KM_Issue_User=$rsKM2['KM_Issue_User']; $SelAns="select * from km_answer where KM_Issue_ID='$KM_Issue_ID' order by KM_Ans_ID desc"; $dbAns=mysql_db_query($dbname, $SelAns); $numAns=mysql_num_rows($dbAns); If ($bg=="#FFFFF4"){ $bg="#F3F3F3";}Else{ $bg="#FFFFF4";} echo ""; if($KLAcc_Access=="KL1"){ /* echo ""; echo ""; */} echo ""; echo " "; echo " "; echo " "; echo " "; echo " "; echo ""; } /*echo ""; echo ""; echo "";*/ } echo "
 [ ชื่อเรื่อง ][ โดย ][ เมื่อ ][อ่าน][ตอบ]
ไม่พบข้อมูล
 
แก้ไขลบ"; echo " "; echo ""; echo "$KM_Issue_Subject"; echo ""; echo " $KM_Issue_Author"; echo ""; echo " $KM_Issue_Post"; echo ""; echo " $KM_Issue_RCount"; echo ""; echo " $numAns"; echo "
 
"; echo "
"; ?>
หน้า ".$Checkpage." / " .$Maxcount .""; If ($Checkpage>1){ echo "[ ก่อนหน้า ] "; } If ($Checkpage<$Maxcount) { echo " [ ถัดไป ] "; } echo " [ "; $Pad=""; $Scriptname=${"Script_Name"}; for ($N=1; $N<=$Maxcount; $N=$N+1){ if ($N>=10){ $Pad=""; } $Ref="".$Pad.$N.""; echo " ".$Ref." "; } echo " ] "; } ?>