"; 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 = "salary_repot_tb"; $myTablePK = "Start_year"; $myTable2 = "salary_repot_tb"; $myTable2PK = "salary_repot_tb"; //=== salary_repot_tb $query = " SELECT * FROM $myTable GROUP BY $myTablePK "; $result = $dbObj->execQuery($query); $num = $dbObj->_numrows; } # else ?> ข้อมูลสำหรับผู้บริหาร <?=$_Config_sitename;?>
หน้าหลัก » รายงานงบค่าใช้จ่ายประเภทต่างๆ » ข้อมูลการเงินรายปี จำแนกตามรายปีงบประมาณ
 
fetchArray($result) ) { $bgColor = ( $bgColor == "#FFFFFF" ) ? "#F9FBFB" : "#FFFFFF"; ?>
แสดงข้อมูลการเงินรายปี
ปีงบประมาณ จำนวนรายการทั้งหมด/เดือน
" title=" Click to more detail "> execQuery($query2); $countnum = $dbObj->_numrows; $dbObj->freeresult($result2); echo $countnum; ?>
ทั้งหมด ปี

"; // Fetch all factory records $strQuery = " SELECT * FROM salary_repot_tb GROUP BY Start_year "; $result111 = mysql_query($strQuery); //Iterate through each factory if ($result111) { while( $rs111 = mysql_fetch_array($result111) ) { $strQuery = " SELECT * FROM salary_repot_tb WHERE Start_year='$rs111[Start_year]' "; $result222 = mysql_query($strQuery); $numAmt = mysql_num_rows($result222); $strXML .= ""; } # while } # if //Finally, close element $strXML .= ""; //Create the chart - Pie 3D Chart with data from strXML echo renderChart("../charts/Column3D.swf", "", $strXML, "", 750, 375, false, false); ?>

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