Viewing file: PlanDetail_bkp.php (24.73 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
include("../include/FunctionDB.php");
include("admin_menu.php");
ConnectDB();
$sql = "Select * From tech_plan_tb as p,personal_tb as t Where p.Plan_code =$Plan_code and t.Teacher_code='$Teacher_code'";
$result = mysql_query($sql) or die(" Error").mysql_error();
$rs = mysql_fetch_array($result);
$sql2 = "Select * From techplan_method_tb Where Plan_code='$Plan_code'";
$result2= mysql_query($sql2) or die(" Error".mysql_error());
$row = mysql_fetch_array($result2);
$sql3 = "Select * From tech_spec_tb Where Plan_code='$Plan_code'";
$result3= mysql_query($sql3) or die(" Error".mysql_error());
$rss = mysql_fetch_array($result3);
?>
<meta http-equiv="Content-Type" content="text/html; charset=TIS-620">
<link rel="stylesheet" href="../css/cart4.css" type="text/css">
<style type="text/css">
<!--
.style2 {font-size: 14px}
.style3 {
font-size: 14px;
font-family: Tahoma;
color: #000000;
}
-->
</style>
<table width="790" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="790"><br>
<fieldset>
<legend><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><a href="menu_teacher.php" >หน้าหลัก</a> <img src="../picture/ico3.gif" width="10" height="10" border="0" align="absmiddle">รายละเอียดแผนการสอน</font></legend>
<label><div align="center">
<form id="form1" name="form1" method="post" action="">
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#E9E9E9" style="border:0px solid gray">
<!--DWLayoutTable-->
<tr bgcolor="#D3E4F8">
<td colspan="5" bgcolor="#FFFFFF"><font size="2" face="Tahoma"><img src="../picture/previous.gif" onclick="window.history.back()" width="85" height="22" border="0" /></font></td>
</tr>
<tr bgcolor="#D3E4F8">
<td colspan="5" bgcolor="#FFFFFF"><!--DWLayoutEmptyCell--> </td>
</tr>
<tr bgcolor="#D3E4F8">
<td height="26" colspan="5" bgcolor="#FFFFFF"><div align="center" class="style3">รายละเอียดแผนการสอน</div></td>
</tr>
<tr bgcolor="#EEEEEE">
<td width="129" height="20" bordercolor="#006633" bgcolor="#FFFFFF"><div align="center" class="style2"><font color="#003366" face="Tahoma">ชื่อหลักสูตร</font></div></td>
<td colspan="4" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><font color="#993333" size="2" face="Tahoma">
<?php
$programId = $rs[programId];
$strSQL1 = "SELECT * FROM program WHERE programId='$programId' ";
$result1= mysql_query($strSQL1) or die("Error".mysql_error());
$rs1 = mysql_fetch_array($result1);
echo "$rs1[programName] ";
?>
</font></td>
</tr>
<tr bgcolor="#EEEEEE">
<td bordercolor="#006633" bgcolor="#FFFFFF"><div align="center" class="style2"><font color="#003366" face="Tahoma">รหัสวิชา</font></div></td>
<td width="217" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><div align="center"><font color="#0033CC" size="2" face="Tahoma">
<?php
$courseId = $rs["courseId"];
$strsql = "Select * From Course Where courseId='$courseId'";
$result_1 = mysql_query($strsql) or die("Error".mysql_error());
$rss2 = mysql_fetch_array($result_1);
echo"$rss2[courseCode]";
?>
</font><font color="#993333" size="2" face="Tahoma"> </font></div></td>
<td width="128" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><div align="center"><font color="#003366" size="2" face="Tahoma">ชื่อวิชา</font></div></td>
<td width="227" colspan="2" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><div align="left"><font color="#000000" size="2" face="Tahoma">
<?php
$courseId = $rs["courseId"];
$strSQL1 = "SELECT * FROM Course WHERE courseId='$courseId' ";
$result1= mysql_query($strSQL1);
$rs1 = mysql_fetch_array($result1);
echo"<a href=\"SubjectDetail.php?Subject_no=$rs1[Subject_no]\" class=\"d\">";
echo"$rs1[courseName]";
echo"</a>";
?>
</font>หน่วยกิต <font color="#000000" size="2" face="Tahoma">
<?php
$courseId = $rs["courseId"];
$strSQL1 = "SELECT * FROM Course WHERE courseId='$courseId' ";
$result1= mysql_query($strSQL1);
$rs1 = mysql_fetch_array($result1);
echo"<a href=\"SubjectDetail.php?Subject_no=$rs1[Subject_no]\" class=\"d\">";
echo"$rs1[courseUnit]";
echo"</a>";
?>
</font></div></td>
</tr>
<tr bgcolor="#EEEEEE">
<td bordercolor="#006633" bgcolor="#FFFFFF"><div align="center" class="style2"><font color="#003366" face="Tahoma">วัน/เดือน/ปีที่สอน</font></div></td>
<td bordercolor="#FFFFFF" bgcolor="#FFFFFF"><div align="center"><font color="#993333" size="2" face="Tahoma">
<?php
echo"$rs[Start_date]";
?>
</font></div></td>
<td nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><div align="center"><font color="#003366" size="2" face="Tahoma">จำนวนชั้วโมงรวม</font></div></td>
<td colspan="2" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><div align="left"><font color="#993333" size="2" face="Tahoma"><? echo $rs[Total_hour] ?> <font color="#003366"> ชั่วโมง</font></font></div></td>
</tr>
<tr bgcolor="#EEEEEE">
<td bordercolor="#006633" bgcolor="#FFFFFF"><div align="center" class="style2"><font color="#003366" face="Tahoma">จำนวนนักศึกษา</font></div></td>
<td colspan="4" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><div align="left"><font color="#993333" size="2" face="Tahoma"><? echo $rs[Total_std] ?> </font><font color="#003300" size="2" face="Tahoma"> <font color="#003366"> คน</font></font></div></td>
</tr>
<tr bgcolor="#EEEEEE">
<td bordercolor="#006633" bgcolor="#FFFFFF"><div align="center" class="style2"><font color="#003366" face="Tahoma">วัตถุประสงค์</font></div></td>
<td colspan="4" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><font color="#993333" size="2" face="Tahoma"> <? echo nl2br($rs[Objective]) ?> </font></td>
</tr>
<tr bgcolor="#EEEEEE">
<td bordercolor="#006633" bgcolor="#FFFFFF"><div align="center" class="style2"><font color="#003366" face="Tahoma">แนวคิดหลัก</font></div></td>
<td colspan="4" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><font color="#993333" size="2" face="Tahoma"> <? echo nl2br($rs[Mainidea]) ?> </font></td>
</tr>
<tr bgcolor="#EEEEEE">
<td bordercolor="#006633" bgcolor="#FFFFFF"><div align="center" class="style2"><font color="#003366" face="Tahoma">เรื่องที่สอน</font></div></td>
<td colspan="4" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><font color="#993333" size="2" face="Tahoma"><? echo nl2br($rs[Title_name] )?></font></td>
</tr>
<tr bgcolor="#EEEEEE">
<td height="18" bordercolor="#006633" bgcolor="#FFFFFF"><!--DWLayoutEmptyCell--> </td>
<td colspan="4" bordercolor="#FFFFFF"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#FFFFFF">
<tr bgcolor="#FFFFFF">
<td height="18" colspan="3"><font color="#000066" size="2" face="Tahoma"><strong>วิธีการสอน</strong></font></td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="30%" height="18"><font size="2" face="Tahoma">
<input name="M1" type="checkbox" id="M1" <?php if (!(strcmp("$row[M1]","บรรยาย"))) {echo "checked";} ?> value="บรรยาย" disabled="disabled" />
บรรยาย </font></td>
<td width="30%"><font size="2" face="Tahoma">
<input name="M2" type="checkbox" id="M2" <?php if (!(strcmp("$row[M2]","อภิปราย"))) {echo "checked";} ?> value="อภิปราย" disabled="disabled" />
อภิปราย</font></td>
<td width="30%"><font size="2" face="Tahoma">
<input name="M3" type="checkbox" id="M3" <?php if (!(strcmp("$row[M3]","Station/แบ่งกลุ่มย่อย"))) {echo "checked";} ?> value="Station/แบ่งกลุ่มย่อย" disabled="disabled" />
Station/แบ่งกลุ่มย่อย</font></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="18"><font size="2" face="Tahoma">
<input name="M4" type="checkbox" id="M4" <?php if (!(strcmp("$row[M4]","ทดลอง"))) {echo "checked";} ?> value="ทดลอง" disabled="disabled" />
ทดลอง</font></td>
<td><font size="2" face="Tahoma">
<input name="M5" type="checkbox" id="M5" <?php if (!(strcmp("$row[M5]","สาธิตย้อนกลับ"))) {echo "checked";} ?> value="สาธิตย้อนกลับ" disabled="disabled" />
สาธิตย้อนกลับ</font></td>
<td><font size="2" face="Tahoma">
<input name="M6" type="checkbox" id="M6" <?php if (!(strcmp("$row[M6]","ศึกษาด้วยตนเอง"))) {echo "checked";} ?> value="ศึกษาด้วยตนเอง" disabled="disabled" />
ศึกษาด้วยตนเอง</font></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="18"><font size="2" face="Tahoma">
<input name="M7" type="checkbox" id="M7" <?php if (!(strcmp("$row[M7]","PL"))) {echo "checked";} ?> value="PL" disabled="disabled" />
PL </font></td>
<td><font size="2" face="Tahoma">
<input name="M8" type="checkbox" id="M8" <?php if (!(strcmp("$row[M8]","PBL"))) {echo "checked";} ?> value="PBL" disabled="disabled" />
PBL</font></td>
<td><font size="2" face="Tahoma">
<input name="M9" type="checkbox" id="M9" <?php if (!(strcmp("$row[M9]","CIPPA"))) {echo "checked";} ?> value="CIPPA" disabled="disabled" />
CIPPA</font></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="18"><font size="2" face="Tahoma">
<input name="M10" type="checkbox" id="M10" <?php if (!(strcmp("$row[M10]","กรณีศึกษา"))) {echo "checked";} ?> value="กรณีศึกษา" disabled="disabled" />
กรณีศึกษา </font></td>
<td><font size="2" face="Tahoma">
<input name="M11" type="checkbox" id="M11" <?php if (!(strcmp("$row[M11]","Concept Mapping"))) {echo "checked";} ?> value="Concept Mapping" disabled="disabled" />
Concept Mapping</font></td>
<td><font size="2" face="Tahoma">
<input name="M12" type="checkbox" id="M12" <?php if (!(strcmp("$row[M12]","Clinical practice"))) {echo "checked";} ?> value="Clinical practice" disabled="disabled" />
Clinical practice</font></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="18"><font size="2" face="Tahoma">
<input name="M13" type="checkbox" id="M13" <?php if (!(strcmp("$row[M13]","Project /โครงงาน"))) {echo "checked";} ?> value="Project /โครงงาน" disabled="disabled" />
Project /โครงงาน</font></td>
<td><font size="2" face="Tahoma">
<input name="M14" type="checkbox" id="M14" <?php if (!(strcmp("$row[M14]","Exhibition"))) {echo "checked";} ?> value="Exhibition" disabled="disabled" />
Exhibition</font></td>
<td><font size="2" face="Tahoma">
<input name="M15" type="checkbox" id="M15" <?php if (!(strcmp("$row[M15]","Semina"))) {echo "checked";} ?> value="Semina" disabled="disabled" />
Semina</font></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="18"><font size="2" face="Tahoma">
<input name="M16" type="checkbox" id="M16" <?php if (!(strcmp("$row[M16]","ดูงาน"))) {echo "checked";} ?> value="ดูงาน" disabled="disabled" />
ดูงาน </font></td>
<td><font size="2" face="Tahoma">
<input name="M17" type="checkbox" id="M17" <?php if (!(strcmp("$row[M17]","Nursing conference"))) {echo "checked";} ?> value="Nursing conference" disabled="disabled" />
Nursing conference</font></td>
<td><font size="2" face="Tahoma">
<input name="M18" type="checkbox" id="M18" <?php if (!(strcmp("$row[M18]","Nursing round"))) {echo "checked";} ?> value="Nursing round" disabled="disabled" />
Nursing round</font></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="18"><font size="2" face="Tahoma">
<input name="M19" type="checkbox" id="M19" <?php if (!(strcmp("$row[M19]","Pre-Post Conference"))) {echo "checked";} ?> value="Pre-Post Conference" disabled="disabled" />
Pre-Post Conference</font></td>
<td><font size="2" face="Tahoma">
<input name="M20" type="checkbox" id="M20" <?php if (!(strcmp("$row[M20]","Bed side tea ching"))) {echo "checked";} ?> value="Bed side tea ching" disabled="disabled" />
Bed side tea ching</font></td>
<td><font size="2" face="Tahoma"> </font></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="22"><font size="2" face="Tahoma">
<input name="M_else" type="checkbox" id="M_else" <?php if (!(strcmp("$row[M_else]","อื่นฯ"))) {echo "checked";} ?> value="อื่นฯ" disabled="disabled" />
อื่นฯ </font></td>
<td> </td>
<td> </td>
</tr>
</table></td>
</tr>
<tr bgcolor="#EEEEEE">
<td height="18" bordercolor="#006633" bgcolor="#FFFFFF"><!--DWLayoutEmptyCell--> </td>
<td colspan="4" bordercolor="#FFFFFF"><div align="left">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#EEEEEE">
<tr bgcolor="#FFFFFF">
<td height="18" colspan="2"><font color="#000066" size="2" face="Tahoma"><strong>คุณลักษณะแผนการสอน</strong></font></td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="50%" height="18"><font size="2" face="Tahoma">
<input name="Sp1" type="checkbox" id="Sp1" <?php if (!(strcmp("$rss[Sp1]","เน้นผู้เรียนเป็นสำคัญ"))) {echo "checked";} ?> value="เน้นผู้เรียนเป็นสำคัญ" disabled="disabled" />
เน้นผู้เรียนเป็นสำคัญ</font></td>
<td width="50%"><font size="2" face="Tahoma">
<input name="Sp2" type="checkbox" id="Sp2" <?php if (!(strcmp("$rss[Sp2]","สร้างเสริมประสบการณ์จริง"))) {echo "checked";} ?> value="สร้างเสริมประสบการณ์จริง" disabled="disabled" />
สร้างเสริมประสบการณ์จริง</font></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="18"><font size="2" face="Tahoma">
<input name="Sp3" type="checkbox" id="Sp3" <?php if (!(strcmp("$rss[Sp3]","ประสบการณ์จริงอิงCBL"))) {echo "checked";} ?> value="ประสบการณ์จริงอิงCBL" disabled="disabled" />
ประสบการณ์จริงอิงCBL</font></td>
<td><font size="2" face="Tahoma">
<input name="Sp4" type="checkbox" id="Sp4" <?php if (!(strcmp("$rss[Sp4]","เพิ่มชั่วโมงการสอนภาคสนาม"))) {echo "checked";} ?> value="เพิ่มชั่วโมงการสอนภาคสนาม" disabled="disabled" />
เพิ่มชั่วโมงการสอนภาคสนาม </font></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="18"><font size="2" face="Tahoma">
<input name="Sp5" type="checkbox" id="Sp5" <?php if (!(strcmp("$rss[Sp5]","มอบงาน/โครงงาน/case study"))) {echo "checked";} ?> value="มอบงาน/โครงงาน/case study" disabled="disabled" />
มอบงาน/โครงงาน/case study</font></td>
<td><font size="2" face="Tahoma">
<input name="Sp6" type="checkbox" id="Sp6" <?php if (!(strcmp("$rss[Sp6]","การเรียนการสอนผ่านเครือข่าย computer"))) {echo "checked";} ?> value="การเรียนการสอนผ่านเครือข่าย computer" disabled="disabled" />
การเรียนการสอนผ่านเครือข่าย computer</font></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="18"><font size="2" face="Tahoma">
<input name="Sp7" type="checkbox" id="Sp7" <?php if (!(strcmp("$rss[Sp7]","การสืบค้นข้อมูลอิเล็คทรอนิค"))) {echo "checked";} ?> value="การสืบค้นข้อมูลอิเล็คทรอนิค" disabled="disabled" />
การสืบค้นข้อมูลอิเล็คทรอนิค </font></td>
<td><font size="2" face="Tahoma">
<input name="Sp8" type="checkbox" id="Sp8" <?php if (!(strcmp("$rss[Sp8]","เพิ่มชั่วโมงฝึกปฏิบัติ"))) {echo "checked";} ?> value="เพิ่มชั่วโมงฝึกปฏิบัติ" disabled="disabled" />
เพิ่มชั่วโมงฝึกปฏิบัติ</font></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="18"><font size="2" face="Tahoma">
<input name="Sp9" type="checkbox" id="Sp9" <?php if (!(strcmp("$rss[Sp9]","เพิ่มชั่วโมงห้องปฏิบัติการ"))) {echo "checked";} ?> value="เพิ่มชั่วโมงห้องปฏิบัติการ" disabled="disabled" />
เพิ่มชั่วโมงห้องปฏิบัติการ</font></td>
<td><font size="2" face="Tahoma">
<input name="Sp10" type="checkbox" id="Sp10" <?php if (!(strcmp("$rss[Sp10]","เพิ่มชั่วโมงจัดสัมนา"))) {echo "checked";} ?> value="เพิ่มชั่วโมงจัดสัมนา" disabled="disabled" />
เพิ่มชั่วโมงจัดสัมนา</font></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="18"><font size="2" face="Tahoma">
<input name="Sp11" type="checkbox" id="Sp11" <?php if (!(strcmp("$rss[Sp11]","อื่นฯ"))) {echo "checked";} ?> value="อื่นฯ" disabled="disabled" />
อื่นฯ</font></td>
<td><font size="2" face="Tahoma"> </font></td>
</tr>
</table>
</div></td>
</tr>
<tr bgcolor="#EEEEEE">
<td bordercolor="#006633" bgcolor="#FFFFFF"><!--DWLayoutEmptyCell--> </td>
<td colspan="4" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><font color="#000066" size="2" face="Tahoma"><strong>งานวิจัยในชั้นเรียน</strong></font></td>
</tr>
<tr bgcolor="#EEEEEE">
<td bordercolor="#006633" bgcolor="#FFFFFF"><div align="center"></div></td>
<td colspan="4" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><div align="left"><font face="Tahoma"><font color="#000066" size="2" face="Tahoma">
<input type="radio" name="Res_unit" <?php if (!(strcmp("$rs[Res_unit]","1"))) {echo "checked";} ?> value="1" disabled="disabled" />
<font color="#000000"> ใช้
<input type="radio" name="Res_unit" <?php if (!(strcmp("$rs[Res_unit]","2"))) {echo "checked";} ?> value="2" disabled="disabled" />
ไม่ใช้</font></font> </font></div></td>
</tr>
<tr bgcolor="#EEEEEE">
<td bordercolor="#006633" bgcolor="#FFFFFF"><!--DWLayoutEmptyCell--> </td>
<td colspan="4" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><font color="#000066" size="2" face="Tahoma"><strong>นำผลงานวิจัยมาใช้ประโยชน์ในงานวิจัยอื่น</strong></font></td>
</tr>
<tr bgcolor="#EEEEEE">
<td bordercolor="#006633" bgcolor="#FFFFFF"><!--DWLayoutEmptyCell--> </td>
<td colspan="4" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><font color="#000066" size="2" face="Tahoma">
<input type="radio" name="Apply" <?php if (!(strcmp("$rs[Apply]","1"))) {echo "checked";} ?> value="1" disabled="disabled" />
<font color="#000000"> ใช้
<input type="radio" name="Apply" <?php if (!(strcmp("$rs[Apply]","2"))) {echo "checked";} ?> value="2" disabled="disabled" />
ไม่ใช้</font></font></td>
</tr>
<tr bgcolor="#EEEEEE">
<td bordercolor="#006633" bgcolor="#FFFFFF"><!--DWLayoutEmptyCell--> </td>
<td colspan="4" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><div align="left">
<table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#EEEEEE">
<tr bgcolor="#FFFFFF">
<td height="18" colspan="2"><strong>วิธีการวัดและประเมินผล</strong></td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="44%" height="18"><font size="2" face="Tahoma">แบบทดสอบ</font></td>
<td width="56%"><font size="2" face="Tahoma">คะแนน
<input name="Asses1" type="text" disabled="disabled" id="Asses1" value="<? echo $rs[Asses1] ?>" size="5" />
</font></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="18"><font size="2" face="Tahoma">ชิ้นงาน/รายงาน </font></td>
<td><font size="2" face="Tahoma">คะแนน</font>
<input name="Asses2" type="text" disabled="disabled" id="Asses2" value="<? echo $rs[Asses2] ?>" size="5" /></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="18"><font size="2" face="Tahoma">แบบประเมินจิตวิสัย</font></td>
<td><font size="2" face="Tahoma">คะแนน</font>
<input name="Asses3" type="text" disabled="disabled" id="Asses3" value="<? echo $rs[Asses3] ?>" size="5" /></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="18"><font size="2" face="Tahoma">รวมคะแนน</font></td>
<td><font size="2" face="Tahoma">คะแนน</font>
<input name="Asses4" type="text" disabled="disabled" id="Asses4" value="<? echo $rs[Asses4] ?>" size="5" /></td>
</tr>
</table>
</div></td>
</tr>
<tr bgcolor="#D3E4F8">
<td height="26" colspan="5" bgcolor="#FFFFFF"><div align="center"> <font color="#006699">
<input type="submit" name="Submit" onclick="window.print()"value=" พิมพ์ " class="button" />
</font></div></td>
</tr>
</table>
</form>
</div>
</label>
</fieldset><br>
<font color="<?php echo $GLOBALS["COLOR_FONT_3"];?>" size="2"><b>หมายเหตุ :</b> ใช้เมาส์คลิกที่ชื่อ</font></td>
</tr>
</table>
|