Viewing file: FrmFormMoney.php (24.65 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("../link/function.php");
/** Create Database Object */
$dbObj = new DBConn;
/** Config Table for This Page */
$myTable = "personal_tb";
$myTable1 = "budget_year_tb";
$myTable2 ="durable_type_tb";
/*----- personal_tb--------*/
$query = "SELECT *, prefixName as First_name 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 LEFT JOIN training_tb ON personal_tb.Teacher_code = training_tb.Teacher_code LEFT JOIN formaoffice ON training_tb.Teacher_code = formaoffice.Teacher_code WHERE training_tb.Teacher_code = '".$_REQUEST["Teacher_code"]." ' and training_tb.Training_code = '".$_REQUEST["Training_code"]." ' and formaoffice.codeId = '".$_REQUEST["codeId"]." ' ";
$result = $dbObj->execQuery($query);
$rss = $dbObj->fetchArray($result);
$query = "SELECT *, prefixName as First_name 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 LEFT JOIN training_tb ON personal_tb.Teacher_code = training_tb.Teacher_code LEFT JOIN formaoffice ON training_tb.Teacher_code = formaoffice.Teacher_code LEFT JOIN formofficemoney ON formaoffice.codeId = formofficemoney.codeId WHERE training_tb.Teacher_code = '".$_REQUEST["Teacher_code"]." ' and training_tb.Training_code = '".$_REQUEST["Training_code"]." ' and formaoffice.codeId = '".$_REQUEST["codeId"]." ' and formofficemoney.monId = '".$_REQUEST["monId"]." ' ";
$result5 = $dbObj->execQuery($query);
$rss5 = $dbObj->fetchArray($result5);
} # 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>MIS -- Teacher</title>
<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 language="javascript">
function checkData() {
var formObj = document.pc;
if( (formObj.Acc_name.value == "" ) && (formObj.Room_name.value == "" ) ) { alert("กรุณากรอกข้อมูลให้ครบด้วยค่ะ" ); formObj.Acc_name.style.backgroundColor='#F1F9FC'; formObj.Room_name.focus(); return false; }
if(formObj.Acc_name.value == "" ) { alert("กรุณากรอก ครุภัณฑ์"); formObj.Acc_name.style.backgroundColor='#F1F9FC'; formObj.Acc_name.focus(); return false;}
if(formObj.Room_name.value == "" ) { alert("กรุณากรอก สถานที่ ตั้งครุภัณฑ์"); formObj.Room_name.style.backgroundColor='#F1F9FC'; formObj.Room_name.focus(); return false;}
if(formObj.Fix_History.value == "" ) { alert("กรุณากรอก สาเหตุอาการ"); formObj.Fix_History.style.backgroundColor='#F1F9FC'; formObj.Fix_History.focus(); return false;}
else return true ;
}
</script>
</head>
<body topmargin="0" rightmargin="0" bottommargin="0" leftmargin="0">
<?php
include("../templates/incHeader.php");
?>
<table width="1001" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="198" align="left" valign="top" style="padding:10px 0px 0px 5px"><?php include("./_incMainMenu.php");?></td>
<td width="803" height="440" align="center" valign="top" style="padding:10px 0px 5px 10px"><fieldset>
<table width="791" border="0" cellspacing="0" cellpadding="0">
<form id="pc" name="pc" method="post" action="EditMoney.php?codeId=<?=$codeId;?>&Flag=<?=$rss['Flag'];?>&maNo=<?=$rss['maNo'];?>" onSubmit="return checkData();">
<tr>
<td width="791"> </td>
</tr>
<tr>
<td height="30" background="../images/background/bg-head-topic-w780.gif" class="PADDING-LEFT-10"><strong><a href="index.php">หน้าหลัก</a> » <a href="Menu_Form.php?Teacher_code=<?=$Teacher_code;?>">แบบฟอร์มราชการ</a> » <span class="NOTE">ใบเบิกค่าใช้จ่ายในการเดินทางไปราชการ</span></span></strong></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td align="center"><table width="788" border="0" cellpadding="0" cellspacing="3">
<tr height="31">
<td height="20" colspan="4" align="right" >ส่วนที่ 1 แบบ 8708</td>
</tr>
<tr height="31">
<td height="17" colspan="4" align="left" > </td>
</tr>
<tr height="31">
<td height="17" colspan="4" align="left" ><table width="786" height="20" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="265">สัญญาเงินยืมเลขที่
<input name="Acc_code2" type="text" id="Acc_code2" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="4" />
/
<input name="Acc_code3" type="text" id="Acc_code3" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="4" /></td>
<td width="521">วันที่
<input name="Name5" type="text" id="Name6" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="25" readonly="readonly"/>
</tr>
</table></td>
</tr>
<tr height="31">
<td height="17" colspan="4" align="left" >ชื่อผู้ยืมเงิน
<input name="Name3" type="text" id="Name3" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="25" value="<? echo $rss[First_name];?> <? echo $rss[Teacher_name];?> <? echo $rss[Teacher_lastname];?>" readonly="readonly"/>
จำนวนเงิน
<input name="Name" type="text" id="Name" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="10" readonly="readonly"/>
บาท</td>
</tr>
<tr height="29">
<td height="16" colspan="4" align="center" l> </td>
</tr>
<tr height="29">
<td height="29" colspan="4" align="center" l><strong>ใบเบิกค่าใช้จ่ายในการเดินทางไปราชการ</strong></td>
</tr>
<tr height="29">
<td height="16" colspan="4" l> </td>
</tr>
<tr>
<td height="33" align="left"> </td>
<td height="33" align="left"> </td>
<td height="33" colspan="2" align="left">ที่ทำการ
<?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] ";
?></td>
</tr>
<td width="243" height="29" align="left"> </td>
<td width="218" height="29" align="left"> </td>
<td height="29" colspan="2" align="left"><script>DateInput('mDate', true, 'DD/MM/YYYY','<?=(isset($rss5["Date"]))?ymdT2dmyE($rss5["Date"]):date("d/m/Y");?>');</script> </td>
</tr>
<tr height="29">
<td height="29" colspan="2" align="left">เรื่อง
<input name="Acc_code4" type="text" id="Acc_code4" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="ขออนุมัติเบิกค่าใช้จ่ายในการเดินทางไปราชการ" size="35" /> </td>
<td width="315"></td>
<td width="1"></td>
</tr>
<tr height="29">
<td height="29" colspan="4" align="left">เรียน ผู้อำนวยการ
<?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] ";
?>
</td>
</tr>
<tr height="29">
<td height="25" colspan="4"> ตามคำสั่ง/บันทึกที่
<input name="maNo" type="text" id="maNo" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value=" <? echo $rss['maNo'] ;?>" size="30" />
ลงวันที่
<input name="#" type="text" id="#" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<? $sday = $rss['Date'];
$yearthai = explode("-",$sday);
$day = intval($yearthai[2]);
$month = intval($yearthai[1]);
$year = intval($yearthai[0]);
$m = getThaiSubMonth($month);
echo "$day"." "."$m"." "."$year"; ?>" size="15" /></td>
</tr>
<tr height="29">
<td height="29" colspan="4" align="left">ได้อนุมัติให้ข้าพเจ้า
<input name="Flag" type="hidden" id="Flag" value="<?=$rss['Flag'];?>" />
<input name="Teacher_code" type="hidden" id="Teacher_code" value="<?=$rss['Teacher_code'];?>" />
<input name="Name4" type="text" id="Name4" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="20" value="<? echo $rss[First_name];?> <? echo $rss[Teacher_name]?> <? echo $rss[Teacher_lastname]?>" readonly="readonly"/>
ตำแหน่ง
<input name="Name4" type="text" id="Name5" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="30" value="<?=$rss["Position_name"];?>" readonly="readonly"/>
สังกัด
<?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] ";
?></td>
</tr>
<tr height="29">
<td height="29" colspan="4" align="left">พร้อมด้วย
<input name="WithMon" type="text" id="WithMon" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<?=$rss5['WithMon'];?>" size="100" />
<input name="Training_code" type="hidden" id="Training_code" value="<?=$rss['Training_code'];?>" /></td>
</tr>
<tr height="29">
<td height="29" colspan="4" 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" value="<?=$rss['Training_name'];?>" size="85" /></td>
</tr>
<tr height="29">
<td height="16" colspan="4" align="left">เรื่อง
<input name="Matter" type="text" id="Matter" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<?=$rss5['Matter'];?>" size="80" />
จังหวัด
<select name="provinceId" id="provinceId" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" >
<?php
$strSQL3 = " SELECT * FROM province Order By provinceName ASC ";
$result3 = mysql_query($strSQL3);
while( $rs3 = mysql_fetch_array($result3) ) {
?>
<option value="<?=$rs3['provinceId'];?>" <?php if( $rs3['provinceId']==$rss5['provinceId'] ) echo 'selected'; ?>>
<?=$rs3['provinceName'];?>
</option>
<?php
} # while
?>
</select></td>
</tr>
<tr height="29">
<td height="29" colspan="4" align="left"><table width="786" height="20" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="431">โดยออกเดินทางจาก
<input name="MOut" type="radio" id="radio" value="1" <?=(trim($rss5["MOut"])=="1")?"checked":"";?> />
บ้านพัก
<input name="MOut" type="radio" id="radio" value="2" <?=(trim($rss5["MOut"])=="2")?"checked":"";?> />
สำนักงาน
<input name="MOut" type="radio" id="radio" value="3" <?=(trim($rss5["MOut"])=="3")?"checked":"";?> />
ประเทศไทย ตั้งแต่วันที่ </td>
<td width="207"><script>DateInput('mDate1', true, 'DD/MM/YYYY','<?=(isset($rss5["Date_start"]))?ymdT2dmyE($rss5["Date_start"]):date("d/m/Y");?>');</script></td>
<td width="148">เวลา
<input name="Time_start" type="text" id="Time_start" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed; text-align:center" value="<?=$rss5['Time_start'];?>" onkeypress="return checkNumeric(); " size="5" />
น.</td>
</tr>
</table></td>
</tr>
<tr height="29">
<td height="29" colspan="4" align="left"><table width="786" height="20" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="432">และกลับถึง
<input name="MInput" type="radio" id="radio" value="1"<?=(trim($rss5["MInput"])=="1")?"checked":"";?> />
บ้านพัก
<input name="MInput" type="radio" id="radio" value="2" <?=(trim($rss5["MInput"])=="2")?"checked":"";?> />
สำนักงาน
<input name="MInput" type="radio" id="radio" value="3" />
ประเทศไทย ตั้งแต่วันที่ </td>
<td width="207"><script>DateInput('mDate2', true, 'DD/MM/YYYY','<?=(isset($rss5["Date_finish"]))?ymdT2dmyE($rss5["Date_finish"]):date("d/m/Y");?>');</script></td>
<td width="147">เวลา
<input name="Time_finish" type="text" id="Time_finish" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed; text-align:center" value="<?=$rss5['Time_finish'];?>" onkeypress="return checkNumeric(); " size="5" />
น.</td>
</tr>
</table></td>
</tr>
<tr height="29">
<td height="29" colspan="4" align="left">รวมเวลาไปราชการครั้งนี้
<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="<?=$rss5['Day'];?>" onkeypress="return checkNumeric(); " size="10" />
วัน
<input name="Hour" type="text" id="Hour" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed; text-align:center" value="<?=$rss5['Hour'];?>" onkeypress="return checkNumeric(); " size="10" />
ชั่วโมง
<input name="Minute" type="text" id="Minute" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed; text-align:center" value="<?=$rss5['Minute'];?>" onkeypress="return checkNumeric(); " size="10" />
นาที</td>
</tr>
<tr height="29">
<td height="29" colspan="4" align="left"> ข้าพเจ้าขอเบิกค่าใช้จ่ายในการเดินทางไปราชการสำหรับ ข้าพเจ้า และ คณะเดินทาง ดังนี้</td>
</tr>
<tr height="29">
<td height="26" colspan="4" align="left"><table width="770" height="17" border="0" cellpadding="2" cellspacing="2">
<tr>
<td width="463">๑.ค่าเบี้ยเลี้ยงเดินทาง </td>
<td width="121" align="center">จำนวน
<input name="SMDay" type="text" id="SMDay" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed; text-align:center" value="<?=$rss5['SMDay'];?>" onkeypress="return checkNumeric(); " size="5" />
วัน</td>
<td width="166" align="center">รวม
<input name="Smtotal" type="text" id="Smtotal" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed; text-align:center" value="<?=$rss5['Smtotal'];?>" onkeypress="return checkNumeric(); " size="10" />
บาท</td>
</tr>
<tr>
<td>๒.ค่าเช่าที่พักประเภท
<input name="ST" type="radio" id="checkbox" value="Y" <?=(trim($rss5["ST"])=="Y")?"checked":"";?> />
จ่ายจริง
<input name="ST" type="radio" id="checkbox" value="M" <?=(trim($rss5["ST"])=="M")?"checked":"";?> />
เหมาจ่าย</td>
<td align="center">จำนวน
<input name="STDay" type="text" id="STDay" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed; text-align:center" value="<?=$rss5['STDay'];?>" onkeypress="return checkNumeric(); " size="5" />
วัน</td>
<td align="center">รวม
<input name="STtotal" type="text" id="STtotal" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed; text-align:center" value="<?=$rss5['STtotal'];?>" onkeypress="return checkNumeric(); " size="10" />
บาท</td>
</tr>
<tr>
<td colspan="2">๓.ค่าพาหนะ
<input name="Vehicle1" type="checkbox" id="checkbox" value="1" <?=(trim($rss5["Vehicle1"])=="1")?"checked":"";?> />
รถรับจ้าง
<input name="Vehicle2" type="checkbox" id="checkbox" value="2" <?=(trim($rss5["Vehicle2"])=="2")?"checked":"";?> />
รถปรับอากาศ
<input name="Vehicle3" type="checkbox" id="checkbox" value="3" <?=(trim($rss5["Vehicle3"])=="3")?"checked":"";?> />
รถไฟ
<input name="Vehicle4" type="checkbox" id="checkbox" value="4" <?=(trim($rss5["Vehicle4"])=="4")?"checked":"";?> />
เครื่องบิน
<input name="Vehicle5" type="checkbox" id="checkbox" value="5" <?=(trim($rss5["Vehicle5"])=="5")?"checked":"";?> />
น้ำมันเชื้อเพลิง</td>
<td align="center">รวม
<input name="Vehicletotal" type="text" id="Vehicletotal" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed; text-align:center" value="<?=$rss5['Vehicletotal'];?>" size="10" />
บาท</td>
</tr>
<tr>
<td colspan="2">๔.ค่าใช้จ่ายอื่น
<input name="Crges1" type="checkbox" id="checkbox" value="1" <?=(trim($rss5["Crges1"])=="1")?"checked":"";?> />
ค่าธรรมเนียมผ่านทาง
<input name="Crges2" type="checkbox" id="checkbox" value="2" <?=(trim($rss5["Crges2"])=="2")?"checked":"";?> />
ค่าลงทะเบียน
<input name="Crges3" type="checkbox" id="checkbox" value="3"<?=(trim($rss5["Crges3"])=="3")?"checked":"";?> />
อื่นๆ</td>
<td align="center">รวม
<input name="Crgestotal" type="text" id="Crgestotal" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed; text-align:center" value="<?=$rss5['Crgestotal'];?>" onkeypress="return checkNumeric(); " size="10" />
บาท</td>
</tr>
<tr>
<td> </td>
<td align="right">รวมทั้งสิ้น </td>
<td align="center"><input name="Budget_use" type="text" id="Budget_use" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value=" <?=$rss5['Budget_use'];?>" onkeypress="return checkNumeric(); " size="15" />
บาท</td>
</tr>
</table></td>
</tr>
<tr height="29">
<td height="26" colspan="4" align="left">จำนวนเงิน (ตัวอักษร)
<input name="#" type="text" id="#" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<? echo convertNumberToString($rss5['Budget_use']).'ถ้วน';?>" size="40" /></td>
</tr>
<tr height="29">
<td height="16" colspan="4" align="center">ข้าพเจ้าขอรับรองว่ารายการที่กล่าวมาข้างต้นเป็นความจริง และหลักฐานการจ่ายที่ส่งมาด้วย</td>
</tr>
<tr height="29">
<td height="26" colspan="4" align="left"> จำนวน
<input name="Document" type="text" id="Document" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed; text-align:center" value="<?=$rss5['Document'];?>" onkeypress="return checkNumeric(); " size="5" />
ฉบับ รวมทั้งจำนวนเงินที่ขอเบิกถูกต้องตามกฎหมายทุกประการ</td>
</tr>
<tr height="29">
<td height="29" colspan="4" align="left"><table width="756" border="0" align="center" cellpadding="0" cellspacing="3">
<tr>
<th width="296" align="center" scope="col"> </th>
<th width="337" align="center" class="ALERT" scope="col"> </th>
</tr>
<tr>
<td height="27" align="center"> </td>
<td align="center">ลงชื่อ.................................ผู้ขอรับเงิน</td>
</tr>
<tr>
<td height="25" align="center"> </td>
<td align="center">( <? echo $rss[First_name]?> <? echo $rss[Teacher_name]?> <? echo $rss[Teacher_lastname]?> )</td>
</tr>
<tr>
<td align="center"> </td>
<td align="center">ตำแหน่ง
<input name="Name2" type="text" id="Name2" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="25" value=" <? $PositionId = $rss["PositionId"];
$sql = "Select * From position_tb Where PositionId ='$PositionId' ";
$result1 = mysql_query($sql) or die("Error".mysql_error());
$rs2 = mysql_fetch_array($result1);
echo "$rs2[Position_name] ";?>
" />
</td>
</tr>
</table></td>
</tr>
<tr height="29">
<td height="16" colspan="4" align="left"></td>
</tr>
<tr height="29">
<td height="29" colspan="4" align="left"> </td>
</tr>
</table>
<input type="submit" name="Submit" value="บันทึก" class="WIDTH60 CURSOR-HAND" />
<input name="Reset" type="reset" class="WIDTH60 CURSOR-HAND" id="Reset" value="รีเซ็ต" />
<input name="Button" type="button" id="Reset" value="ยกเลิก" class="CURSOR-HAND WIDTH60" onclick="location.href='FormDurableList.php?Teacher_code<?=$Teacher_code;?>'" />
<input name="monId" type="hidden" id="monId" value="<?=$rss5['monId'];?>" /></td>
</tr>
<tr>
<td> </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);
?>
|