Hacked By AnonymousFox
<?
include("../../lib/session.php");
include("../../lib/config.php");
include("../../lib/connect.php");
include("../../lib/function.php");
?>
<html>
<head>
<title><?=$System_Variable_Title?>
</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
//-->
</script>
<script language="JavaScript" src="../lib/popup.js" type="text/javascript"></script>
<!-- import the calendar script -->
<link rel="stylesheet" type="text/css" href="../../css/myCalendarStyle.css">
<script type="text/javascript" src="../mod_calendar/lib/calendar.js"></script>
<script type="text/javascript" src="../mod_calendar/lib/lang/calendar-th.js"></script>
<script type="text/javascript" src="../mod_calendar/lib/loadcalendar.js"></script>
<link href="../css/mystyle.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style1 {color: #000000}
.style4 {color: #FFFFFF}
-->
</style>
</head>
<body bgcolor="#E9E6DF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="MM_preloadImages('../../images/thai.gif','../../images/eng.gif','../../images/chaina.gif','../../images/object/topbar-thai-over.gif','../../images/object/topbar-english-over.gif','../images/bullet/lang_over_02_1.gif','../images/bullet/lang_over_01_1.gif')">
<script src="FormManager.js">
</script>
<script type="text/javascript">
window.onload = function() {
setupDependencies('myForm'); //name of form(s). Seperate each with a comma (ie: 'weboptions', 'myotherform' )
};
</script>
<form action="record_t1.php" method="post" name="myForm" id="myForm">
<p align="center"><br>
ประเภทค่าตอบแทน
<select name="selecttype" id="selecttype">
<option value="11">เบิกค่าตอบแทนการออกข้อสอบ-osce</option>
<option value="12">เบิกค่าตอบแทนการออกข้อสอบ-mcq</option>
<option value="13">เบิกค่าตอบแทนการออกข้อสอบ-meq</option>
</select>
<br>
<br>
ภาควิชา
<select name="inputfa" id="inputfa">
<option value="ภาควิชาอายุรศาสตร์" <? if($Faculty=="ภาควิชาอายุรศาสตร์"){?> selected="selected"<? } ?>>ภาควิชาอายุรศาสตร์</option>
<option value="ภาควิชากุมารเวชศาสตร์" <? if($Faculty=="ภาควิชากุมารเวชศาสตร์"){?> selected="selected"<? } ?>>ภาควิชากุมารเวชศาสตร์</option>
<option value="ภาควิชาศัลยศาสตร์" <? if($Faculty=="ภาควิชาศัลยศาสตร์"){?> selected="selected"<? } ?>>ภาควิชาศัลยศาสตร์</option>
<option value="ภาควิชาสูตินรีเวชศาสตร์" <? if($Faculty=="ภาควิชาสูตินรีเวชศาสตร์"){?> selected="selected"<? } ?>>ภาควิชาสูตินรีเวชศาสตร์</option>
<option value="ภาควิชาจิตเวชศาสตร์" <? if($Faculty=="ภาควิชาจิตเวชศาสตร์"){?> selected="selected"<? } ?>>ภาควิชาจิตเวชศาสตร์</option>
<option value="ภาควิชาจักษุวิทยา" <? if($Faculty=="ภาควิชาจักษุวิทยา"){?> selected="selected"<? } ?>>ภาควิชาจักษุวิทยา</option>
<option value="ภาควิชาศัลยกรรมกระดูก" <? if($Faculty=="ภาควิชาศัลยกรรมกระดูก"){?> selected="selected"<? } ?>>ภาควิชาศัลยกรรมกระดูก</option>
<option value="ภาควิชาเวชศาสตร์ฉุกเฉินและนิติเวชศาสตร์" <? if($Faculty=="ภาควิชาเวชศาสตร์ฉุกเฉินและนิติเวชศาสตร์"){?> selected="selected"<? } ?>>ภาควิชาเวชศาสตร์ฉุกเฉินและนิติเวชศาสตร์</option>
<option value="ภาควิชาโสตศอนาสิก" <? if($Faculty=="ภาควิชาโสตศอนาสิก"){?> selected="selected"<? } ?>>ภาควิชาโสตศอนาสิก</option>
</select>
<br>
<br>
ชั้นปีที่
<select name="inputst_year" id="select2">
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
</select>
<br>
<br>
รายวิชา
<select name="inputsubject" id="inputsubject">
<?
$sqlfa="select * from cm_listsubject order by cm_listsubject_Studentyear asc,cm_listsubject_Code asc";
$queryfa=mysql_query($sqlfa);
while($rowfa=mysql_fetch_array($queryfa)){
?>
<option value="<?=$rowfa[cm_listsubject_Name]?>"><?=$rowfa[cm_listsubject_Name]?></option>
<? } ?>
</select>
<br>
<br>
ปีการศึกษา
<input type="text" name="inputyear" id="textfield3">
<br>
<br>
</p>
<table width="100%" border="1">
<tr>
<td width="161"><div align="center">ลำดับ</div></td>
<td width="272"><div align="center">อาจารผู้ออก</div></td>
<td width="170"><div align="center">จำนวนข้อ</div></td>
</tr>
<? for($i=1;$i<=30;$i++){ ?>
<tr>
<td><div align="center"><?=$i?></div></td>
<td>
<div align="center">
<select name="inputteacher<?=$i?>" id="inputteacher<?=$i?>">
<option value="" selected></option>
<option value="other<?=$i?>">อื่น ๆ</option>
<?
$sql="select * from mfu_mod_teacher order by name asc";
$query=mysql_query($sql);
while($row=mysql_fetch_array($query)){
?>
<option value="<?=$row[Id]?>">
<?=$row[name]?>
<?=$row[lname]?>
</option>
<? } ?>
</select>
</select>
<input type="text" name="otherdetail<?=$i?>" id="otherdetail<?=$i?>" style="border:1px; padding:1px;border-style: solid ; border-color: #dbdee1;" class="DEPENDS ON inputteacher<?=$i?> BEING other<?=$i?>" />
</div></td>
<td><div align="center">
<input name="inputam<?=$i?>" type="text" id="textfield6" size="5">
</div></td>
</tr>
<? } ?>
<tr>
<td colspan="3"> </td>
</tr>
</table>
<p align="center"><br>
<br>
<input type="submit" name="button" id="button" value="Submit">
</p>
</form>
</body>
</html>
<?
include("../../lib/disconnect.php");
?>
Hacked By AnonymousFox1.0, Coded By AnonymousFox