Viewing file: AddFormA1.php (23.21 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;
if(isset($_REQUEST["maNo"])) $maNo = iconv("UTF-8", "WINDOWS-874",trim($_REQUEST["maNo"]));
/** Personal Data **/
$query = "SELECT * FROM personal_tb LEFT JOIN prefix ON personal_tb.First_name = 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);
if(isset($_REQUEST["maNo"])){
/** 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.maNo = '".$maNo."' LIMIT 1";
$query = "SELECT * FROM training_tb LEFT JOIN formaoffice ON training_tb.Training_code = formaoffice.Training_code WHERE training_tb.maNo = '".$maNo."' LIMIT 1";
$result = $dbObj->execQuery($query);
$rs2 = $dbObj->fetchArray($result);
}
/** Personal Data(Faculty Head) **/
$query = "SELECT * FROM personal_tb LEFT JOIN prefix ON personal_tb.First_name = 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=tis-620" />
<link href="../css/default.css" rel="stylesheet" type="text/css" />
<script language="javascript" src="../js/utilities.js"></script>
<script type="text/javascript" src="../js/ajaxScript.js"></script>
<script type="text/javascript" src="../js/calendarDateInput2.js"></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>
<form id="form1" name="form1" method="post" action="InsertFormA.php">
<table width="780" border="0" cellspacing="0" cellpadding="0">
<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> »
<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" nowrap>
ที่
<!--<INPUT TYPE="checkbox" ID="addJoinFormA" NAME="addJoinFormA" onclick="(this.checked)?document.getElementById('maNo').readOnly=false:document.getElementById('maNo').readOnly=true; (this.checked)?document.getElementById('searchJoinFormA').style.display='':document.getElementById('searchJoinFormA').style.display='none';">
<input name="maNo" type="text" id="maNo" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<?=(isset($_REQUEST["maNo"]))?$maNo:genDocNo();?>" onblur="this.readOnly=true;" size="15" readonly/>
<img SRC="../picture/search_ico.gif" ID="searchJoinFormA" width="15" height="15" style="display:none;cursor:pointer;" onclick="document.getElementById('addJoinFormA').checked=false; location.href='AddFormA.php?Teacher_code=<?=$_REQUEST["Teacher_code"];?>&Budget_year=<?=$_REQUEST["Budget_year"];?>&maNo='+encodeURIComponent(document.getElementById('maNo').value);" title="คลิ๊กที่นี่เพื่อค้นหาข้อมูลการเดินทางไปราชการ">-->
<input name="maNo" type="text" id="maNo" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<?=(isset($_REQUEST["maNo"]))?$maNo:$docNo."...";?>" size="15" readonly/>
<img SRC="../picture/search_ico.gif" ID="searchJoinFormA" width="15" height="15" style="cursor:pointer" onclick="MM_openBrWindow('searchFormA.php?Teacher_code=<?=$_REQUEST["Teacher_code"];?>&Budget_year=<?=$_REQUEST["Budget_year"];?>','Detail','scrollbars=yes,width=820,height=480');" title="คลิ๊กที่นี่เพื่อค้นหาข้อมูลการเดินทางไปราชการ">
</td>
<td width="80" 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="center">
<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" nowrap>
ข้าพเจ้า<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" nowrap>
สังกัด<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" nowrap>
ขออนุมัติเดินทางไปราชการ เรื่อง *
<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="<?=(isset($rs2["Training_name"]))?$rs2["Training_name"]:"";?>" <?=(isset($rs2["Training_name"]))?"readonly":"";?>/>
</td>
</tr>
<tr height="29">
<td height="29" colspan="6" align="left" nowrap>
เดินทางโดย
<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" nowrap>
อ้างตามหนังสือราชการเลขที่ *
<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" <?=(isset($rs2["No_in"]))?"readonly":"";?>/>
เรื่อง
<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="65" <?=(isset($rs2["Status"]))?"readonly":"";?>/>
<input name="code" type="hidden" id="code" value="<?=$rs2["code"];?>" />
</td>
</tr>
<tr height="29">
<td height="37" colspan="6" align="left" nowrap>
อ้างตามแผนดำเนินการ ข้อที่ *
<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" 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" 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" 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?','Detail','scrollbars=yes,width=820,height=280')" title="คลิ๊กที่นี่เพื่อเลือกข้อแผนดำเนินการ" style="cursor:pointer"/>
<input name="ProjectId" type="hidden" id="ProjectId" value="<?=$rs2["ProjectId"];?>"/></td>
</tr>
<tr height="29">
<td height="29" colspan="6" align="left">
<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" size="6" value="0" onclick="(document.getElementById('Orderlist').value)?this.readOnly=false:this.readOnly=true" onfocus="this.value='';" onkeypress="return NumOnly(event)" onkeyup="(this.value)?checkBudget():'';" onblur="(this.value=='')?this.value='0':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>
<td>
มีกำหนด
<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" <?=(isset($rs2['Day']))?"readonly":"";?>/>
วัน
</td>
</tr>
<tr>
<td colspan="6"><span id="budgetOver"></span></td>
</tr>
</table>
</td>
</tr>
<tr height="31">
<td height="31" colspan="6">โดยขอเบิกค่าใช้จ่ายในการเดินทางไปราชการและในระหว่างการเดินทางไปราชการ
</td>
</tr>
<tr height="31">
<td height="31" colspan="6" nowrap>
ข้าพเจ้าขอมอบหมายในหน้าที่
<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" 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"/>
ผู้รับปฏิบัติงานแทน
</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":"";?>/>วิทยากร
<input type="radio" name="Training_type" value="6" <?=($rs2["Training_type"]=="6")?"checked":"";?>/>อื่นๆ
</td>
</tr>
<tr height="29">
<td height="29" colspan="6" align="left"><input name="Training_type" type="radio"<?php if (!(strcmp("$rs2[Training_type]","8"))){echo "checked";} ?> value="8" />
กรรมการวิชาการ/วิชาชีพ
<input name="Training_type" type="radio" <?php if (!(strcmp("$rs2[Training_type]","9"))){echo "checked";} ?> value="9" />
ที่ปรึกษางานวิจัยหรือวิทยานิพนธ์
<input name="Training_type" type="radio" <?php if (!(strcmp("$rs2[Training_type]","10"))){echo "checked";} ?> value="10" />
ผู้ทรงคุณวุฒิ/เชี่ยวชาญตรวจเครื่องมือ
<input name="Training_type" type="radio" <?php if (!(strcmp("$rs2[Training_type]","11"))){echo "checked";} ?> value="11" />
อื่นๆ</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":"";?>/>พัฒนาตนเอง
<input name="Training_std" type="radio" value="1" <?=($rs2["Training_std"]=="1")?"checked":"";?> checked="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" <?=(isset($rs2["Organiz"]))?"readonly":"";?>/>
</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" <?=(isset($rs2["CNEU"]))?"readonly":"";?>/>
จังหวัด
<select name="provinceId" id="provinceId" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" <?=(isset($rs2["provinceId"]))?"disabled":"";?>>
<?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="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"> </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"> </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"> <BR><BR></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" disabled/>
</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>
</table>
</form>
</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);
?>
|