"; echo "


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

"; echo ""; exit(); } else { /** Configuration */ require_once( "../configuration.php" ); require_once( $_Config_absolute_path . "/includes/framework.php" ); require_once( "../include/Function.php" ); /** Chart */ include ("../includes/charts.php"); /** Create Database Object */ $dbObj = new DBConn; /** Config Table for This Page */ $myTable = "committee_tb"; $myTableGroup = "Year_com"; /** Table --> personal_tb */ $query = " SELECT * FROM $myTable GROUP BY $myTableGroup ORDER BY $myTableGroup DESC "; $result = $dbObj->execQuery($query); $numrows = $dbObj->_numrows; } # else ?> ข้อมูลทั่วไปบุคลากร - ฐานข้อมูลพัฒนาบุคลากร จำแนกรายปีงบประมาณ
หน้าหลัก » ข้อมูลบุคลากร » ข้อมูลการเป็นกรรมการบริการวิชาการ
 
fetchArray($result) ) { $bgColor = ( $bgColor == "#FFFFFF" ) ? "#F9FBFB" : "#FFFFFF"; $Year_com = $rs['Year_com']; ?>
ข้อมูลการเป็นกรรมการบริการวิชาการ
ปีการศึกษา จำนวนเรื่อง/ปีการศึกษา
execQuery($query1); $countnum = $dbObj->_numrows; $dbObj->freeresult($result1); echo number_format( $countnum ); ?>
ทั้งหมด ปี

"; // Fetch all factory records $strQuery111 = " SELECT * FROM $myTable GROUP BY $myTableGroup ORDER BY $myTableGroup DESC "; $result111 = $dbObj->execQuery($strQuery111); //Iterate through each factory if( $result111 ) { while( $rs111 = $dbObj->fetchArray($result111) ) { $Year = $rs111['Year_com']; $strQuery222 = " SELECT * FROM committee_tb WHERE Year_com='$rs111[Year_com]' "; $result222 = $dbObj->execQuery($strQuery222); $numAmt222 = $dbObj->_numrows; $dbObj->freeresult($result222); $strXML .= ""; } # while } # if $dbObj->freeresult($result111); //Finally, close element $strXML .= ""; //Create the chart - Pie 3D or Column3D Chart with data from strXML echo renderChart("../charts/Column3D.swf", "", $strXML, "", 760, 375, false, false); ?>

 
freeresult($result); /** Close the Database */ $dbObj->disconn(); /** Unset Class */ unset($dbObj); ?>