"; 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; /** Config Table for This Page */ $myTable1 = "personal_tb"; $myTable5 = "projectstra_type_tb "; $myTable3 = "project_plan"; $myTable4 = "project_mission"; $myTable2 = "project_type_tb"; $myTable2PK = "Orderlist"; /** Paging */ $page = $_GET['page']; if( $page == "" ) { $page = 1; } /** จำนวนข้อมูล ต่อ 1 หน้า */ $perpage = $_REQUEST['perpage']; if( $perpage == "" ) { $perpage = 20; } /* Parameters **/ //$params = "Faculty_code=$Faculty_code&Budget_Year=$Budget_Year&subId=$subId"; $params = "StratempId=$StratempId&StaplanId=$StaplanId&Budget_Year=$Budget_Year"; } # else ?> ข้อมูลแผนดำเนินงานและรายงาน : ข้อมูลแผนดำเนินการ - รายละเอียดแผนดำเนินการ
execQuery($query); $numrows = $dbObj->_numrows; //echo $numrows; /** Paging */ $display = ( !isset ($_GET['page']) ) ? 1 : $_GET['page']; $start = ( ($display * $limit) - $limit ); /** Paging */ if( isset($_GET['OrderBy']) ) { $query = " SELECT * FROM projectstra_type_tb pjt , project_plan pp WHERE pp.Budget_Year='$Budget_Year' AND pjt.StratempId='$StratempId' and pp.proId=pjt.proId ORDER BY $OrderBy $ASCDESC "; //$query = "select * from projstrategy_tb ps, prostrategymap_tb psm, proplanstrateg_tb pps, project_type_tb pt where psm.Budget_Year = '$Budget_Year' and psm.StratempId = '$StratempId' and psm.StrateId = ps.StrateId and psm.StratempId = pps.StratempId and pps.StaplanId = pt.StaplanId ORDER BY pt.Orderlist $ASCDESC"; } elseif( !isset($_GET['OrderBy']) ) { $query = " SELECT * FROM projectstra_type_tb pjt , project_plan pp WHERE pp.Budget_Year='$Budget_Year' AND pjt.StratempId='$StratempId' and pp.proId=pjt.proId ORDER BY $myTable2PK ASC "; //$query = "select * from projstrategy_tb ps, prostrategymap_tb psm, proplanstrateg_tb pps, project_type_tb pt where psm.Budget_Year = '$Budget_Year' and psm.StratempId = '$StratempId' and psm.StrateId = ps.StrateId and psm.StratempId = pps.StratempId and pps.StaplanId = pt.StaplanId ORDER BY pt.Orderlist $ASC"; } $query .= " LIMIT $start, $limit "; $result = $dbObj->execQuery($query); $query = "select * from projstrategy_tb ps, prostrategymap_tb psm where psm.Budget_Year = '$Budget_Year' and psm.StratempId = '$StratempId' and psm.StrateId = ps.StrateId"; $result2 = mysql_query($query); $RSstrat = mysql_fetch_array($result2); ?>
หน้าหลัก » รายการโครงการ/กิจกรรม ตามแผนยุทธ์ศาสตร์ ปี งปม
‹ ย้อนกลับ จำนวนข้อมูลต่อหน้า
0 ) { ?>
  ส่งออกข้อมูล
จำนวน: โครงการ/กิจกรรม  
ยุทธ์ศาสตร์
กลยุทธ์ execQuery($sql); // $rs3= $dbObj->fetchArray($result4); // echo $rs3['Nostrate'] ; ?>
กลวิธี -
รหัส รายการโครงการ/กิจกรรมตามแผนปฏิบัติการ ปี งปม หมวดเงิน จำนวนเงิน  
execQuery($sql3); $rs3 = $dbObj->fetchArray($result3); echo $rs3['MoneyS_M']; ?> &Project_code=&Faculty_code=&&Budget_Year=','RepPlaning','800','600','yes')"> คลิกดูรายละเอียด
จำนวนเงินที่ใช้ execQuery($sql3); $rs3 = $dbObj->fetchArray($result3); echo number_format($rs3['Sum'],2,'.',','); ?>
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, $params, $i); } } // end..for } // end..if if($display < $paging) { $next = $display + 1; ?> ถัดไป »  หน้าสุดท้าย »|
 
freeresult($result01); /** Close the Database */ $dbObj->disconn(); /** Unset Class */ unset($dbObj); ?>