Viewing file: Copy of FrmEditFormA.php (22.84 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 */
require_once( "../configuration.php" );
require_once( $_Config_absolute_path . "/includes/framework.php" );
require_once( "../include/Function.php" );
require_once( "../include/FunctionDB.php" );
/** Create Database Object */
$dbObj = new DBConn;
//=== SESSION
$Username = $valid_user;
/** Personal Data **/
$query = "SELECT * FROM personal_tb LEFT JOIN prefix ON personal_tb.prefixId = prefix.prefixId LEFT JOIN position_tb ON personal_tb.PositionId = position_tb.PositionId LEFT JOIN faculty_tb ON personal_tb.Faculty_code = faculty_tb.Faculty_code WHERE Teacher_code = '".$_REQUEST["Teacher_code"]."'";
$result = $dbObj->execQuery($query);
$rs1 = $dbObj->fetchArray($result);
/** Training Data **/
$query = "SELECT * FROM training_tb LEFT JOIN formaoffice ON training_tb.Training_code = formaoffice.Training_code AND training_tb.Teacher_code = formaoffice.Teacher_code LEFT JOIN project_tb ON training_tb.Training_code = project_tb.Training_code AND training_tb.Teacher_code = project_tb.Teacher_code WHERE training_tb.Training_code = '".$_REQUEST["Training_code"]."'";
$result = $dbObj->execQuery($query);
$rs2 = $dbObj->fetchArray($result);
/** Personal Data(Faculty Head) **/
$query = "SELECT * FROM personal_tb LEFT JOIN prefix ON personal_tb.prefixId = prefix.prefixId LEFT JOIN position_tb ON personal_tb.PositionId = position_tb.PositionId LEFT JOIN faculty_tb ON personal_tb.Faculty_code = faculty_tb.Faculty_code WHERE personal_tb.Faculty_code = '".$rs1["Faculty_code"]."' AND TeacherId = '1'";
$result = $dbObj->execQuery($query);
$rs3 = $dbObj->fetchArray($result);
/** College Data **/
$sql = "Select * From college Where collegeStatus ='1'";
$result = mysql_query($sql) or die("Error".mysql_error());
$rs4 = mysql_fetch_array($result);
$collegeName = $rs4["collegeName"];
} # 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" />
<link href="../css/default.css" rel="stylesheet" type="text/css" />
<script language="javascript" src="../js/utilities.js"></script>
<script type="text/javascript" src="../js/calendarDateInput2.js"></script>
<script>
function init_AJAX()
{
try{
return new ActiveXObject( "Msxml2.XMLHTTP" );
}catch(e){};
try{
return new ActiveXObject( "Microsoft.XMLHTTP" );
}
catch(e){};
try{
return new XMLHttpRequest();
}
catch(e){};
alert( "XMLHttpRequest not supported" );
return null;
};
function checkBudgetEdit(){
var budgetOld = document.getElementById("budgetOld").value;
var budget = document.getElementById("Budget_use").value;
var projectID = document.getElementById("ProjectId").value;
//if(isNaN(budget) == false || budget.indexOf(',')){
xmlHttp = init_AJAX();
var url = "checkBudgetEdit.php?budget="+budget+"&budgetOld="+budgetOld+"&projectID="+projectID;
xmlHttp.onreadystatechange = function(){
if(xmlHttp.readyState == 4){
if(xmlHttp.status == 200){
document.getElementById("budgetOver").innerHTML = xmlHttp.responseText;
}
}
}
xmlHttp.open("GET",url,true);
xmlHttp.send(null);
xmlHttp2 = init_AJAX();
var url2 = "checkBudgetEditBtn.php?budget="+budget+"&budgetOld="+budgetOld+"&projectID="+projectID;
xmlHttp2.onreadystatechange = function(){
if(xmlHttp2.readyState == 4){
if(xmlHttp2.status == 200){
document.getElementById("submitBtn").innerHTML = xmlHttp2.responseText;
}
}
}
xmlHttp2.open("GET",url2,true);
xmlHttp2.send(null);
/*}
else{
document.getElementById("budgetOver").innerHTML = " <font size='2' color='red'><b>กรุณากรอกข้อมูลเป็นตัวเลขเท่านั้น<b></font>";
document.getElementById("submitBtn").innerHTML = "<input name=\"Submit\" type=\"submit\" class=\"WIDTH60 CURSOR-HAND\" value=\"บันทึก\" disabled/>";
}*/
}
</script>
<title>ข้อมูลทั่วไปบุคลากร - แก้ไขข้อมูลการเดินทางไปราชการ</title>
</head>
<body topmargin="0" rightmargin="0" bottommargin="0" leftmargin="0">
<?php
include("../templates/incHeader.php");
?>
<table width="1003" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="203" align="left" valign="top" style="padding:10px 0px 0px 5px"><?php include("./_incMainMenu.php");?></td>
<td width="800" height="440" align="center" valign="top" style="padding:10px 0px 5px 10px"><fieldset>
<table width="780" border="0" cellspacing="0" cellpadding="0">
<form id="form1" name="form1" method="post" action="EditFromA.php">
<tr>
<td height="5"></td>
</tr>
<tr>
<td height="30" background="../images/background/bg-head-topic-w780.gif" class="PADDING-LEFT-10"><strong><a href="index.php">หน้าหลัก</a></strong> <strong>» <a href="FormAList.php?Teacher_code=<?=$_REQUEST["Teacher_code"];?>">ข้อมูลทั่วไปบุคลากร</a> » <a href="FormAList.php?Teacher_code=<?=$_REQUEST["Teacher_code"];?>">ข้อมูลการขออนุมัติเดินทางไปราชการ</a> » <span class="NOTE">แก้ไขข้อมูลขอลาเดินทางไปราชการ</span></strong></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td align="center">
<?php
?>
<table width="750" cellpadding="0" cellspacing="0" border="0">
<tr height="31">
<td height="31" colspan="6" align="center" class="PATRON11">บันทึกข้อความ</td>
</tr>
<tr height="29">
<td height="29" colspan="6">ส่วนราชการ <?=$collegeName;?></td>
</tr>
<tr>
<td height="29" colspan="2" align="left">
ที่ <input name="maNo" type="text" id="maNo" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<?=$rs2["maNo"];?>" size="15"/>
</td>
<td width="148" height="29" align="left">
<input name="Flag" type="hidden" id="Flag" value="<?=$rs2["Flag"]?>"/>
</td>
<td height="29" align="left"> </td>
<td height="29" align="right">วันที่ </td>
<td height="29" width="200" align="left">
<script>DateInput('Date', true,'DD/MM/YYYY','<?=(isset($rs2["Date"]))?ymdT2dmyE($rs2["Date"]):date("d/m/Y");?>');</script>
</td>
</tr>
<tr height="29">
<td height="29" colspan="3" align="left">
เรื่อง ขออนุมัติเดินทางไปราชการ
<input name="Detail" type="hidden" id="Detail" value="ขออนุมัติเดินทางไปราชการ"/>
</td>
<td width="35"> </td>
<td width="202"> </td>
<td width="155"> </td>
</tr>
<tr height="29">
<td height="29" colspan="5" align="left">เรียน ผู้อำนวยการ <?=$collegeName;?></td>
<td> </td>
</tr>
<tr height="29">
<td width="125" height="25"> </td>
<td colspan="5" align="left">
ข้าพเจ้า<input name="Name" type="text" id="Name" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed ; text-align:center" size="38" value="<?=$rs1["prefixName"]." ".$rs1["Teacher_name"]." ".$rs1["Teacher_lastname"];?>" readonly/>
ตำแหน่ง<input name="Name2" type="text" id="Name2" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed; text-align:center" size="38" value="<?=$rs1["Position_name"];?>" readonly/>
</td>
</tr>
<tr height="29">
<td height="29" colspan="6" align="left">
สังกัด<input name="Name3" type="text" id="Name3" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed; text-align:center" size="20" value="<?=$rs1["Faculty_name"];?>" readonly/>
<input name="Name4" type="text" id="Name4" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed; text-align:center" size="65" value="<?=$collegeName;?>" readonly/>สถาบันพระบรมราชชนก
</td>
</tr>
<tr height="29">
<td height="29" colspan="6" align="left">
ขออนุมัติเดินทางไปราชการ เรื่อง *
<input name="Training_name" type="text" id="Training_name" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed; text-align:center" size="84" value="<?=$rs2["Training_name"];?>"/>
</td>
</tr>
<tr height="29">
<td height="29" colspan="6" align="left">
เดินทางโดย
<input type="radio" name="Travel" value="1" <?=(trim($rs2["Travel"])=="1")?"checked":"";?>/>โดยรถยนต์ของทางราชการ
<input type="radio" name="Travel" value="2" <?=(trim($rs2["Travel"])=="2")?"checked":"";?>/>รถยนต์ปรับอากาศ
<input type="radio" name="Travel" value="3" <?=(trim($rs2["Travel"])=="3")?"checked":"";?>/>รถไฟ
<input type="radio" name="Travel" value="4" <?=(trim($rs2["Travel"])=="4")?"checked":"";?>/>เครื่องบิน
<input type="radio" name="Travel" value="5" <?=(trim($rs2["Travel"])=="5")?"checked":"";?>/>รถยนต์ส่วนตัว
</td>
</tr>
<tr height="29">
<td height="29" colspan="6" align="left">อ้างตามหนังสือราชการเลขที่ *
<input name="No_in" type="text" id="No_in" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<?=$rs2["No_in"];?>" size="15" />
<input name="Status" type="text" id="Status" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<?=$rs2["Status"];?>" size="69" />
<input name="code" type="hidden" id="code" value="<?=$rs2["code"];?>" />
</td>
</tr>
<tr height="29">
<td height="37" colspan="6" align="left">
อ้างตามแผนดำเนินการ ข้อที่ *
<input name="Orderlist" type="text" id="Orderlist" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed; text-align:center" value="<?=$rs2["Orderlist"];?>" size="6" readonly/>
รายละเอียด
<input name="Project_plan" type="text" id="Project_plan" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<?=$rs2["Project_plan"];?>" size="45" readonly />
ปี งบประมาณ
<input name="Year_std" type="text" id="Year_std" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed; text-align:center" value="<?=$rs2["Year_std"];?>" size="3" readonly />
<input name="Budget_Year" type="hidden" id="Budget_Year" value="<?=$rs2["Budget_Year"];?>"/>
<input name="MoneyS_C" type="hidden" id="MoneyS_C" value="<?=$rs2["MoneyS_C"];?>"/>
<input name="MoneyId" type="hidden" id="MoneyId" value="<?=$rs2["MoneyId"];?>"/>
<img src="../picture/search.gif" width="15" height="19" border="0" align="absmiddle" onclick="MM_openBrWindow('ProjectByYearShow.php?Budget_Year=<?=$rs2["Budget_Year"];?>','Detail','scrollbars=yes,width=820,height=280')" title="คลิ๊กที่นี่เพื่อเลือกข้อแผนดำเนินการ" style="cursor:pointer"/>
<input name="ProjectId" type="hidden" id="ProjectId" value="<?=$rs2["ProjectId"];?>"/>
<input name="Project_code" type="hidden" id="Project_code" value="<?=$rs2["Project_code"];?>"/>
</td>
</tr>
<tr height="29">
<td height="29" colspan="6" align="left">
<input name="budgetOld" type="hidden" id="budgetOld" value="<?php echo $rs2["Budget_use"];?>" />
<table>
<tr>
<td>
จำนวนเงิน *
<input name="Budget_use" type="text" id="Budget_use" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed; text-align:center" value="<?=number_format($rs2["Budget_use"]);?>" size="6" onfocus="this.value=''; checkBudgetEdit();" onkeypress="return NumOnly(event)" onkeyup="checkBudgetEdit()" onblur="(this.value=='')?this.value='<?=number_format($rs2["Budget_use"]);?>':this.value=addCommas(this.value)">บาท
</td>
<td align="right">วันที่</td>
<td align="left">
<script>DateInput('dateStart', true,'DD/MM/YYYY','<?=(isset($rs2["Date_start"]))?ymdT2dmyE($rs2["Date_start"]):date("d/m/Y");?>');</script>
</td>
<td align="right">ถึงวันที่</td>
<td align="left">
<script>DateInput('dateFinish', true,'DD/MM/YYYY','<?=(isset($rs2["Date_finish"]))?ymdT2dmyE($rs2["Date_finish"]):date("d/m/Y");?>');</script>
</td>
</tr>
<tr>
<td colspan="5"><span id="budgetOver"></span></td>
</tr>
</table>
</td>
</tr>
<tr height="31">
<td height="31" colspan="6">
มีกำหนด
<input name="Day" type="text" id="Day" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed; text-align:center" value="<?=$rs2['Day'];?>" size="2" maxlength="3" />
วัน โดยขอเบิกค่าใช้จ่ายในการเดินทางไปราชการและในระหว่างการเดินทางไปราชการ
</td>
</tr>
<tr height="31">
<td height="31" colspan="6">
ข้าพเจ้าขอมอบหมายในหน้าที่
<input name="assignMent" type="text" id="assignMent" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed; text-align:center" value="<?=(trim($rs2["assignMent"]) != "")?$rs2["assignMent"]:"-";?>" size="20"/>
ให้
<input name="assignmentName" type="text" id="Name7" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed; text-align:center" size="46" value="<?=(trim($rs2["assignmentName"]) != "")?$rs2["assignmentName"]:"-";?>"/>
ผู้รับปฏิบัติงานแทน
</td>
</tr>
<tr height="31">
<td height="31" colspan="6"><strong> ประวัติการพัฒนาตนเอง</strong></td>
</tr>
<tr height="29">
<td height="29" colspan="6" align="left">
วัตถุประสงค์เพื่อ
<input type="radio" name="Training_type" value="1" <?=($rs2["Training_type"]=="1")?"checked":"";?>/>การอบรม
<input type="radio" name="Training_type" value="2" <?=($rs2["Training_type"]=="2")?"checked":"";?>/>การศึกษาดูงาน
<input type="radio" name="Training_type" value="3" <?=($rs2["Training_type"]=="3")?"checked":"";?>/>ประชุม
<input type="radio" name="Training_type" value="4" <?=($rs2["Training_type"]=="4")?"checked":"";?>/>สัมมนา
<input type="radio" name="Training_type" value="5" <?=($rs2["Training_type"]=="5")?"checked":"";?>/>นิเทศงาน
<input type="radio" name="Training_type" value="7" <?=($rs2["Training_type"]=="7")?"checked":"";?>/>การเป็นวิทยากร
</td>
</tr>
<tr height="29">
<td height="29" colspan="6" align="left">
ประเภทของการพัฒนา
<input name="Training_std" type="radio" value="Y" <?=($rs2["Training_std"]=="Y")?"checked":"";?>/>พัฒนาตามสายงาน
<input name="Training_std" type="radio" value="N" <?=($rs2["Training_std"]=="N")?"checked":"";?>/>พัฒนาตนเอง
</td>
</tr>
<tr height="29">
<td height="29" colspan="6" align="left">
จำนวนชั่วโมง<input name="Total_hour" type="text" id="Total_hour" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed; text-align:center" value="<?=$rs2["Total_hour"];?>" size="4"/>
แหล่งเงินสนับสนุน<input name="Fund_resource" type="text" id="Fund_resource" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed; text-align:center" value="<?=$rs2["Fund_resource"];?>" size="50"/>
</td>
</tr>
<tr height="29">
<td height="29" colspan="6" align="left">
หน่วยงานที่จัด<input name="Organiz" type="text" id="Organiz" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed; text-align:center" value="<?=$rs2["Organiz"];?>" size="50"/>
</td>
</tr>
<tr height="29">
<td height="29" colspan="6" align="left">
สถานที่จัด<input name="CNEU" type="text" id="CNEU" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed; text-align:center" value="<?=$rs2["CNEU"];?>" size="50" />
จังหวัด
<select name="provinceId" id="provinceId" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" >
<?php
$query = " SELECT * FROM province";
$result = mysql_query($query);
while($rs4 = mysql_fetch_array($result)){
?>
<option value="<?=$rs4['provinceId'];?>" <?=($rs4['provinceId']==$rs2['provinceId'] )?"selected":"";?>><?=$rs4['provinceName'];?></option>
<?php
} # while
?>
</select>
</td>
</tr>
<tr height="31">
<td height="31" colspan="3" align="left"> </td>
<td colspan="2">ลงชื่อ .................................................</td>
<td> </td>
</tr>
<tr height="29">
<td height="29" colspan="3"> </td>
<td colspan="2" align="center">
( <?=$rs1["prefixName"]." ".$rs1["Teacher_name"]." ".$rs1["Teacher_lastname"];?> )
<input name="Faculty_code" type="hidden" id="Faculty_code" value="<? echo $rs1["Faculty_code"]?>"/>
</td>
<td> </td>
</tr>
<tr height="29">
<td height="29" colspan="3" align="left"> </td>
<td colspan="2">
ตำแหน่ง<input name="Name5" type="text" id="Name5" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: none; text-align:center" size="25" value="<?=$rs1["Position_name"];?>"/>
</td>
<td> </td>
</tr>
<tr height="29">
<td>
<input name="Flag1" type="checkbox" id="Flag1" value="1" disabled="disabled" /> อนุญาต
<input name="Flag1" type="checkbox" id="Flag1" value="2" disabled="disabled" /> ไม่อนุญาต
</td>
<td align="left"> </td>
<td colspan="3" align="left"> <!--<div align="right">*
<select name="Teacher_code" id="Teacher_code" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" >
<?php
$query = " SELECT * FROM personal_tb LEFT JOIN prefix ON personal_tb.prefixId = prefix.prefixId Where StatusId = '1' Or Teacher_name= 'พขร' Order By Teacher_name ASC";
$result = mysql_query($query);
while($rs4 = mysql_fetch_array($result)){
?>
<option value="<?=$rs4['Teacher_code'];?>" <?=($rs4['Teacher_code']==$rs1['Teacher_code'])?"selected":"";?>>
<?=$rs4['prefixName']." ".$rs4['Teacher_name']." ".$rs4['Teacher_lastname'];?>
</option>
<?php
} # while
?>
</select></div>-->
</td>
</tr>
<tr height="29">
<td height="29" colspan="3" align="left">ลงชื่อ.............................................หัวหน้าภาค/ฝ่าย.</td>
<td colspan="3" align="left"> </td>
</tr>
<tr height="29">
<td height="29" colspan="3" align="center">
( <?=$rs3['prefixName']." ".$rs3['Teacher_name']." ".$rs3['Teacher_lastname'];?> )
<input name="TeacherId" type="hidden" id="TeacherId" value="<?=$rs3["TeacherId"]?>"/>
</td>
<td align="left"><div align="center">คำสั่ง</div></td>
<td align="left"> </td>
<td align="left"> </td>
</tr>
<tr height="29">
<td height="29" colspan="3" align="center">
ตำแหน่ง<input name="Name6" type="text" id="Name6" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: none; text-align:center" size="25" value="<?=$rs3["Position_name"];?>"/>
</td>
<td align="left"> </td>
<td colspan="2" align="left">
<input name="Flag2" type="radio" id="Flag2" value="อนุมัติ" <?=($rs2["Flag2"]=="อนุมัติ")?"checked":""; ?>/>อนุมัติ
<input name="Flag2" type="radio" id="Flag2" value="รออนุมัติ" <?=($rs2["Flag2"]=="รออนุมัติ")?"checked":""; ?>/>รออนุมัติ
<input name="Flag2" type="radio" id="Flag2" value="ไม่อนุมัติ" <?=($rs2["Flag2"]=="ไม่อนุมัติ")?"checked":""; ?>/>ไม่อนุมัติ
</td>
</tr>
<tr height="29">
<td height="29" colspan="2" align="left"> </td>
<td align="left"> </td>
<td colspan="2" align="left"> </td>
</tr>
<tr height="29">
<td height="28" colspan="2" align="left"> </td>
<td align="left"> </td>
<td colspan="2" align="left"> </td>
</tr>
<tr height="29">
<td height="28" colspan="2" align="left"> </td>
<td align="left"> </td>
<td colspan="2" align="center">ลงชื่อ.............................................</td>
</tr>
<tr height="29">
<td height="29" colspan="2" align="left"> </td>
<td align="left"> </td>
<td colspan="2" align="center"> วันที่........เดือน....................พ.ศ...........</td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="center"> </td>
</tr>
<tr>
<td align="center">
<input type="hidden" name="codeId" value="<?=$_REQUEST["codeId"];?>"/>
<input type="hidden" name="Teacher_code" value="<?=$_REQUEST["Teacher_code"];?>"/>
<input type="hidden" name="Training_code" value="<?=$_REQUEST["Training_code"];?>"/>
<span id="submitBtn">
<input type="submit" name="Submit" value="บันทึก" style="cursor:pointer" class="WIDTH60 CURSOR-HAND"/>
</span>
<input type="reset" name="Reset" value="รีเซ็ต" style="cursor:pointer" class="WIDTH60 CURSOR-HAND"/>
<input type="button" name="Button" value="ยกเลิก" style="cursor:pointer" class="WIDTH60 CURSOR-HAND" onclick="location.href='PlanList.php?Teacher_code=<?=$_REQUEST["Teacher_code"];?>'"/>
</td>
</tr>
</form>
</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);
?>
|