"; echo "


กรุณาทำการ Login ก่อน

"; echo ""; exit(); } else { /** Configuration */ require_once( "../configuration.php" ); require_once( $_Config_absolute_path . "/includes/framework.php" ); require_once( "../includes/Function.php" ); /** Create Database Object */ $dbObj = new DBConn; //=== SESSION $Username = $valid_user; /** Config Table for This Page */ $myTable1 = "personal_tb"; $myTable2= "dev_his"; $myTable2PK = "tt.Training_code "; /** Paging */ $page = $_GET['page']; if( $page == "" ) { $page = 1; } /** จำนวนข้อมูล ต่อ 1 หน้า */ $perpage = $_REQUEST['perpage']; if( $perpage == "" ) { $perpage = 10; } $param = "Year_std=$Year_std"; } # else ?> งานพัฒนาบุคลากร
">หน้าหลัก">รายงานการพัฒนาบุคคลกร รายงานจำนวนโครงการที่รับการพัฒนาจำแนกรายบุคคลแสดงตามสรรถนะ execQuery($query); $numrows = $dbObj->_numrows; /** Paging */ $display = ( !isset ($_GET['page']) ) ? 1 : $_GET['page']; $start = ( ($display * $limit) - $limit ); /** Paging */ if( isset($_GET['OrderBy']) ) { $query = " SELECT * FROM personal_tb pt, training_tb tt Where pt.Teacher_type='$Teacher_type' and pt.StatusId='1' and pt.Teacher_code = tt.Teacher_code and tt.Year_std='$Year_std' and ( tt.Performance_1 ='การมุ่งผลสัมฤทธิ์' Or tt.Performance_2 ='การบริการที่ดี' Or tt.Performance_3 ='การสั่งสมความเชี่ยวชาญในงานอาชีพ' Or tt.Performance_4='จริยธรรม' Or tt.Performance_5='การทำงานเป็นทีม' ) and (tt.Training_std ='N' Or tt.Training_std ='Y' ) Group By pt.Teacher_code ORDER BY $OrderBy $ASCDESC "; } elseif( !isset($_GET['OrderBy']) ) { $query = " SELECT * FROM personal_tb pt, training_tb tt Where pt.Teacher_type='$Teacher_type' and pt.StatusId='1' and pt.Teacher_code = tt.Teacher_code and tt.Year_std='$Year_std' and ( tt.Performance_1 ='การมุ่งผลสัมฤทธิ์' Or tt.Performance_2 ='การบริการที่ดี' Or tt.Performance_3 ='การสั่งสมความเชี่ยวชาญในงานอาชีพ' Or tt.Performance_4='จริยธรรม' Or tt.Performance_5='การทำงานเป็นทีม' ) and (tt.Training_std ='N' Or tt.Training_std ='Y' ) Group By pt.Teacher_code ORDER BY $myTable2PK DESC "; } $query .= " LIMIT $start, $limit "; $result = $dbObj->execQuery($query); ?>
เลือกปีงบประมาณ จำนวนข้อมูลต่อหน้า
‹ ย้อนกลับ ส่งออกข้อมูล ›
เลือกสายงาน  
0 ) { ?> fetchArray($result) ) { $bgColor = ( $bgColor == "#FFFFFF" ) ? "#F9FBFB" : "#FFFFFF"; ?> freeresult($result); ?>
    วันที่ จำนวน
หลักสูตร
จำนวน
วัน
จำนวนวันทั้งหมดตามการพัฒนาสมรรถนะหลัก กพ
No. รายการ การมุ่งผล
สัมฤทธิ์
การบริการ
ที่ดี
การสั่งสมความ
เชี่ยวชาญ
ในงานอาชีพ
จริยธรรม การทำงาน
เป็นทีม
  execQuery($query); $rs1 = $dbObj->fetchArray($result1); $num1 = $dbObj->_numrows; if( $num1 > 0 ) { echo $num1; } else { echo "0"; } ?> execQuery($query6); $rs6 = $dbObj->fetchArray($result6); $dbObj->freeresult($rs6); echo number_format($rs6['Sum']) ; ?> execQuery($sql2); $rs2 = $dbObj->fetchArray($result2); echo number_format($rs2['Sum'],2,'.',','); ?> execQuery($sql2); $rs2 = $dbObj->fetchArray($result2); echo number_format($rs2['Sum'],2,'.',','); ?> execQuery($sql2); $rs2 = $dbObj->fetchArray($result2); echo number_format($rs2['Sum'],2,'.',','); ?> execQuery($sql2); $rs2 = $dbObj->fetchArray($result2); echo number_format($rs2['Sum'],2,'.',','); ?> execQuery($sql2); $rs2 = $dbObj->fetchArray($result2); echo number_format($rs2['Sum'],2,'.',','); ?>
  -   execQuery($query6); $rs6 = $dbObj->fetchArray($result6); $dbObj->freeresult($rs6); echo number_format($rs6['Sum']) ; ?>          
0 ) { ?>
หน้า: 1) { $previous = $display - 1; ?> |« หน้าแรก  « ก่อนหน้า $scroll) { $first = $_GET['page']; $last = ($scroll - 1) + $_GET['page']; } else { $first = 1; $last = $paging; } if($last > $paging ) { $first = $paging - ($scroll - 1); $last = $paging; } for($i=$first; $i<=$last; $i++) { if($display == $i) { echo " [$i] "; } else { //echo " $i "; printf(" %s ", $_SERVER['PHP_SELF'], $i, $perpage, $OrderBy, $ASCDESC, $param , $i ); } } // end..for } // end..if if($display < $paging) { $next = $display + 1; ?>  ถัดไป »  หน้าสุดท้าย »|
 
freeresult($result); /** Close the Database */ $dbObj->disconn(); /** Unset Class */ unset($dbObj); ?>