Viewing file: Menu_plan.php (6.75 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
session_start();
/** Define Validate Access */
define( '_VALID_ACCESS', 1 );
/** Check Session User Login */
if( !session_is_registered("valid_user") && !session_is_registered("Priority") ) {
echo "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-874\" />";
echo "<p style=padding-top:115px><p align=center><br /><font color=red><strong>กรุณาทำการ Login ก่อน</strong></font></p></p>";
echo "<meta http-equiv=\"refresh\" content=\"1; URL=../login.php\" />";
exit();
}
else {
/** Configuration */
include( "../configuration.php" );
require_once( $_Config_absolute_path . "/includes/framework.php" );
/** Create Database Object */
$dbObj = new DBConn;
$myTable = "projectstdplan_tb";
$myTable2 = "budget_year_tb" ;
$myTable1 = "projstrategy_tb";
$myTablePK = "StrateId";
$Username = $valid_user;
$query = " SELECT * FROM $myTable1 Where Budget_Year ='$Budget_Year' ";
$result = $dbObj->execQuery($query);
$rs = $dbObj->fetchArray($result);
$Budget_Year = $rs['Budget_Year'];
} # else
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874" />
<title><?=$_Config_sitename;?> - ข้อมูลหลักสูตร</title>
<script type="text/javascript" src="../js/utilities.js"></script>
<link href="../css/default.css" rel="stylesheet" type="text/css" />
</head>
<body topmargin="0" rightmargin="0" bottommargin="0" leftmargin="0">
<?php
include( "../templates/incHeader.php" );
?>
<table width="997" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="215" align="left" valign="top" style="padding:10px 0px 0px 5px"><?php include("./_incMainMenu.php");?></td>
<td width="782" align="center" valign="top" style="padding:10px 0px 5px 10px"><fieldset>
<table width="737" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="752" height="5"></td>
</tr>
<tr>
<td height="30" background="../images/background/bg-head-topic-w780.gif" class="PADDING-LEFT-10 PATRON11"><span style="padding-bottom:5px;">
<input type="button" name="button2" id="button2" value="เพิ่มประเด็นแผนยุทธ์ศาสตร์" style="color:darkgreen; width:150px; cursor:hand" onclick="NewWindow('AddStrategy.php?Budget_year=<?php echo $rs['Budget_Year'];?>','AddStrategy','650','300','yes');" />
</span><span style="padding:5px 0px 5px 0px">
<input type="button" name="button" id="button" value="เพิ่มข้อมูลแผนปฏิบัติการ" style="color:darkgreen; width:150px; cursor:hand" onclick="location.href='AddStdPlan.php?Budget_Year=<?php echo $rs['Budget_Year'];?>'" />
</span></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td><span class="PADDING-TOP-10"><img src="../images/icons/arrow-circle-225-left.png" width="16" height="16" border="0" align="absmiddle" /> <a href="javascript:;" onclick="window.history.back();"><strong>‹ ย้อนกลับ</strong></a></span></td>
</tr>
<tr>
<td align="center" valign="top"><table width="95%" border="0" cellspacing="1" cellpadding="1">
<tr>
<td width="4%" height="20" align="center"><img src="../images/icons/folder-open-doc-text.png" width="16" height="16" border="0" align="absmiddle" /></td>
<td width="96%" class="TEXT-DARK-BLUE10"><strong>สารสนเทศแผนปฏิบัติการ <font size="2" face="Tahoma">
<?php
$collegeCode = $rss["collegeCode"];
$sql = "Select * From college Where collegeStatus ='1'";
$result1 = mysql_query($sql) or die("Error".mysql_error());
$rs2 = mysql_fetch_array($result1);
echo "$rs2[collegeName] ";
?>
</font></strong></td>
</tr>
<tr>
<td height="20" align="center"> </td>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="4%" height="20" align="center"><img src="../images/icons/arrow2.gif" width="12" height="12" /></td>
<td width="96%" height="20"><a href="strategyPlan.php?Budget_Year=<?php echo $rs['Budget_Year'];?>">ข้อมูลแผนยุทธ์ศาสตร์</a></td>
</tr>
<tr>
<td height="20" align="center"><img src="../images/icons/arrow2.gif" width="12" height="12" /></td>
<td height="20"><a href="PlaningFaculty.php?Budget_Year=<?php echo $rs['Budget_Year'];?>">ข้อมูลแผนปฏิบัติการ </a></td>
</tr>
<tr>
<td height="20" align="center"> </td>
<td height="20"> </td>
</tr>
<tr>
<td height="20" align="center"> </td>
<td height="20"> </td>
</tr>
</table></td>
</tr>
<tr>
<td height="20" align="center"> </td>
<td class="TEXT-DARK-BLUE10"> </td>
</tr>
<tr>
<td height="20" align="center"> </td>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="4%" height="20" align="center"> </td>
<td width="96%" height="20"><a href="collegeList.php"></a></td>
</tr>
<tr>
<td height="20" align="center"> </td>
<td height="20"><a href="subjectList.php"></a></td>
</tr>
</table></td>
</tr>
<tr>
<td height="20" align="center"> </td>
<td class="TEXT-DARK-BLUE10"> </td>
</tr>
<tr>
<td height="20" align="center"> </td>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="4%" height="20" align="center"> </td>
<td width="96%" height="20"><a href="TeacherList.php"></a></td>
</tr>
</table></td>
</tr>
<tr>
<td height="20" align="center"> </td>
<td class="TEXT-DARK-BLUE10"> </td>
</tr>
</table></td>
</tr>
<tr>
<td> </td>
</tr>
</table>
</fieldset></td>
</tr>
</table>
<?php include( "../templates/incFooter.php" ); ?>
</body>
</html>
<?php
/** Free Resource */
$dbObj->freeresult($result);
/** Close the Database */
$dbObj->disconn();
/** Unset Class */
unset($dbObj);
?>
|