Hacked By AnonymousFox

Current Path : C:/AppServ/www/timetable_teacher/system/mod_dataoverall/
Upload File :
Current File : C:/AppServ/www/timetable_teacher/system/mod_dataoverall/Copy of indexadmin.php

<? 
include("../../lib/session.php"); 
include("../../lib/config.php");
include("../../lib/connect.php");
include("../../lib/function.php");
include("../../lib/register_global.php");
$subject=$_GET["subject"];
$studentyear=$_GET["studentyear"];
$listid=$_GET["listid"];
?>
<!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"><!-- InstanceBegin template="/Templates/main_pm.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874" />
<title>Curriculum Map</title>
<script 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];}}
}
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<link href="../../css/menu.css" rel="stylesheet" type="text/css" />
<link href="../../css/font.css" rel="stylesheet" type="text/css" />
<link href="../../css/piya_style.css" rel="stylesheet" type="text/css" />
<link href="../../css/table.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.style2 {
	color: #30707C;
	font-weight: bold;
	font-size: 14px;
}
-->
</style>
</head>

<body onload="MM_preloadImages('../../images/menu/menu_03.png','../../images/menu/menu_01_over.png','../../images/menu/menu_05_over.png')">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="100" align="center" background="../../images/head/sky.jpg"><img src="../../images/head/Sirirajlogo.gif" width="126" height="120" /></td>
  </tr>
  <tr>
    <td height="22" background="../../images/head/bar.jpg"><table width="950" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td>
		<table width="30%" border="0" align="right" cellpadding="0" cellspacing="0" class="login">
            <tr>
              <td align="right"><img src="../../images/icon/people_1.png" width="13" height="14" />Hi ! 
                <?=$System_Session_UserName?>|<img src="../../images/icon/door.png" width="16" height="15" /><a href="../logout.php">Logout</a></td>
              </tr>
            </table>
        </td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td align="center" valign="top"><table width="100" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="747" valign="top"><table width="747" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="24" rowspan="2" valign="top" background="../../images/l/left_menu_02.jpg"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td><img src="../../images/l/left_menu_01_l.jpg" width="24" height="27" /></td>
                </tr>
                <tr>
                  <td><img src="../../images/l/left_menu_02.jpg" width="24" height="1" /></td>
                </tr>
            </table></td>
            <td width="24" colspan="2" rowspan="2" valign="top" background="../../images/l/left_menu_02_bg.jpg"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td><img src="../../images/l/left_menu_01_r.jpg" width="197" height="27" /></td>
                </tr>
                <tr>
                  <td><table width="100%" border="0" cellspacing="5" cellpadding="0">
                      <tr>
                        <td align="left"><span class="style2">ระบบข้อมูลรายวิชา</span></td>
                      </tr>
                      <tr>
                        <td align="left" class="menu_one">
                        <ul class="menu_one">
                        <li><a href="../../home/home.php">ข้อมูลรายวิชา</a></li>
                       </ul>                        </td>
                      </tr>
                      <tr>
                        <td align="left"><span class="style2">ระบบผู้ใช้งาน</span></td>
                      </tr>
                      <tr>
                        <td align="left"><ul class="menu_one">
                        <? if($System_Session_Level=="Administrator")  { ?>
                            <li><a href="../user_management.php">ข้อมูลผู้ใช้งานในระบบ</a></li>
                            <? } ?>
                             <? if($System_Session_Level=="Staff")  { ?>
                            <li><a href="../user_managementperson.php">ข้อมูลผู้ใช้งานในระบบ</a></li>
                            <? } ?>
							 <? if($System_Session_Level=="Admin")  { ?>
                            <li><a href="../user_managementperson.php">ข้อมูลผู้ใช้งานในระบบ</a></li>
                            <? } ?>
                        </ul></td>
                      </tr>
					    <? if($System_Session_Level=="Administrator")  { ?>
                      <tr>
                        <td align="left"><span class="style2">ระบบข้อมูลที่เกี่ยวข้อง</span></td>
                      </tr>
                      <tr>
                        <td align="left"><ul class="menu_one">
                            <li><a href="../mod_other/standard.php">เพิ่มข้อมูลมาตรฐานการเรียนรู้</a></li>
                            <li><a href="../mod_other/council.php">เพิ่มข้อมูลแพทยสภา</a></li>
                            <li><a href="../mod_other/report.php">ระบบรายงานผล</a></li>
                          
                        </ul></td>
                      </tr>  <? } ?>
                      <tr>
                        <td align="left">&nbsp;</td>
                      </tr>
                      <tr>
                        <td align="left">&nbsp;</td>
                      </tr>
                      <tr>
                        <td align="left"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image16','','file:///C|/AppServ/www/images/menu/menu_05_over.png',1)"></a></td>
                      </tr>
                  </table></td>
                </tr>
            </table></td>
            <td background="../../images/content_border/content_border_02.jpg"><img src="../../images/content_border/content_border_01.jpg" width="747" height="11" /></td>
            <td background="../../images/content_border/content_border_right.jpg"></td>
          </tr>
          <tr>
            <td valign="top" background="../../images/content_border/content_border_02.jpg"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td width="15" height="300">&nbsp;</td>
                  <td align="left" valign="top"><!-- InstanceBeginEditable name="content" -->
                  <style type="text/css">
<!--
.style2 {font-family: arial; font-size: 14px; }
-->
</style>
<style type="text/css">
<!--
.style3 {font-size: 14px}
-->
</style>
<style type="text/css">
<!--
.style13 {color: #030260}
-->
</style>
			                <div id="box">
                <h3>แก้ไขข้อมูลการสอน</h3>
				<br>
                    <table style="border-collapse: collapse" border="1" width="98%" align="center" cellpadding="0" cellspacing="1" class="table_border" bordercolor="#E8E7E1">
                    <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="?listid=<?=$listid?>&subject=<?=$subject?>&studentyear=<?=$studentyear?>" method="post" name="myReturnForm" id="myReturnForm">
                        <input name="SystemModuleKey" type="hidden" id="SystemModuleKey" value="<?=$SystemModuleKey?>">
                        <input name="SystemMenuID" type="hidden" id="SystemMenuID" value="<?=$SystemMenuID?>">
                        <input name="admin" type="hidden" id="admin" value="<?=$admin?>">
                        <input name="action" type="hidden" id="action" value="">
                        <input name="PageSize" type="hidden" id="PageSize" value="<?=$PageSize?>">
                        <input name="PageShow" type="hidden" id="PageShow" value="<?=$PageShow?>">
                        <input name="ASCDESC" type="hidden" id="ASCDESC" value="<?=$ASCDESC?>">
                        <input name="OrderBy" type="hidden" id="OrderBy" value="<?=$OrderBy?>">
                        <input name="PageSearch" type="hidden" id="PageSearch" value="<?=$PageSearch?>">
                      </form>
                      <form action="?listid=<?=$listid?>&subject=<?=$subject?>&studentyear=<?=$studentyear?>" method="post" name="myForm" id="myForm" enctype="multipart/form-data"  onSubmit=" if(!verifySubmit()) { return false; } ">
                        <input name="SystemModuleKey" type="hidden" id="SystemModuleKey" value="<?=$SystemModuleKey?>">
                        <input name="SystemMenuID" type="hidden" id="SystemMenuID" value="<?=$SystemMenuID?>">
                        <input name="admin" type="hidden" id="admin" value="<?=$admin?>">
                        <input name="action" type="hidden" id="action" value="update">
                        <input name="PageSize" type="hidden" id="PageSize" value="<?=$PageSize?>">
                        <input name="PageShow" type="hidden" id="PageShow" value="<?=$PageShow?>">
                        <input name="ASCDESC" type="hidden" id="ASCDESC" value="<?=$ASCDESC?>">
                        <input name="OrderBy" type="hidden" id="OrderBy" value="<?=$OrderBy?>">
                        <input name="PageSearch" type="hidden" id="PageSearch" value="<?=$PageSearch?>">
                        <input name="CheckBoxID1" type="hidden" id="CheckBoxID1" value="<?=$myCheckBoxID?>">
                        <input name="TotalCheckBoxID" type="hidden" id="TotalCheckBoxID" value="1">						
                        <tr> 
                          <td bgcolor="#FFFFFF"><table width="100%" border="0" cellpadding="2" cellspacing="1" class="mytable_inner">
                              <tr align="center">
                                <td height="24" colspan="2" align="center" class="table_title1" style="font-weight: bold"><div align="center">แก้ไขข้อมูล</div></td>
                              </tr>
                              
                              
                              <tr>
                                <td width="117" align="right" bgcolor="#F7F6F0" class="style3">รายวิชา</td>
                                <td width="537" class="style3"><span class="style13"><b>
                                  <?=$subject?>
                                </b></span>
                                  <input type="hidden" name="Subject" value="<?=$subject?>" /></td>
                              </tr>
                              <tr>
                                <td align="right" bgcolor="#F7F6F0" class="style3">นักศึกษาชั้นปีที่เรียน</td>
                                <td class="style3"><span class="style13"><b><?=$studentyear?></b></span><input type="hidden" name="Studentyear" value="<?=$studentyear?>" /> </td>
                              </tr>
                              <tr>
                                <td align="right" bgcolor="#F7F6F0" class="style3">เรื่องที่เรียน</td>
                                <td class="style3"><input type="text" name="Course" id="textfield" value="<?=$Row[cm_mod_detailoverall_Course]?>" /></td>
                              </tr>
                              <tr>
                                <td align="right" bgcolor="#F7F6F0" class="style3" valign="top">ผู้สอน</td>
                                <td class="style3">
                                  <table width="398" border="0">
                                <tr>
                                  <td width="18">1. </td>
                                  <td colspan="2"><div class="style4" id="divDocumentSubject">&nbsp;</div></td>
                                  </tr>
                                <tr>
                                  <td>&nbsp;</td>
                                  <td width="160"><input name="btDocument" type="button" class="button_120" id="btDocument" onclick="
Popup('popupDocumentWindow','popup_document_selecter.php',550,430,1)
								" value="เลือกผู้สอน" />
                                    <input name="inputDocumentID" type="hidden" id="inputDocumentID" value="$inputDocumentID" /></td>
                                  <td width="206">&nbsp;</td>
                                </tr>
                              </table>
							  <br />
							  <table width="398" border="0">
                                <tr>
                                  <td width="18">2. </td>
                                  <td colspan="2"><div class="style4" id="divDocumentSubject2">&nbsp;</div></td>
                                </tr>
                                <tr>
                                  <td>&nbsp;</td>
                                  <td width="160"><input name="btDocument" type="button" class="button_120" id="btDocument" onclick="
Popup('popupDocumentWindow','popup_document_selecter2.php',550,430,1)
								" value="เลือกผู้สอน" />
                                      <input name="inputDocumentID2" type="hidden" id="inputDocumentID2" value="$inputDocumentID2" /></td>
                                  <td width="206">&nbsp;</td>
                                </tr>
                              </table>
							  <br /><br />
							  <table width="398" border="0">
                                <tr>
                                  <td width="18">3. </td>
                                  <td colspan="2"><div class="style4" id="divDocumentSubject3">&nbsp;</div></td>
                                </tr>
                                <tr>
                                  <td>&nbsp;</td>
                                  <td width="160"><input name="btDocument2" type="button" class="button_120" id="btDocument2" onclick="
Popup('popupDocumentWindow','popup_document_selecter3.php',550,430,1)
								" value="เลือกผู้สอน" />
                                      <input name="inputDocumentID3" type="hidden" id="inputDocumentID3" value="$inputDocumentID3" /></td>
                                  <td width="206">&nbsp;</td>
                                </tr>
                              </table>
							  <br /><br />
                              <table width="398" border="0">
                                <tr>
                                  <td width="18">4. </td>
                                  <td colspan="2"><div class="style4" id="divDocumentSubject4">&nbsp;</div></td>
                                </tr>
                                <tr>
                                  <td>&nbsp;</td>
                                  <td width="160"><input name="btDocument3" type="button" class="button_120" id="btDocument3" onclick="
Popup('popupDocumentWindow','popup_document_selecter4.php',550,430,1)
								" value="เลือกผู้สอน" />
                                      <input name="inputDocumentID4" type="hidden" id="inputDocumentID4" value="$inputDocumentID4" /></td>
                                  <td width="206">&nbsp;</td>
                                </tr>
                              </table>
                              <br />
                            <br />
                            <table width="398" border="0">
                              <tr>
                                <td width="18">5. </td>
                                <td colspan="2"><div class="style4" id="divDocumentSubject5">&nbsp;</div></td>
                              </tr>
                              <tr>
                                <td>&nbsp;</td>
                                <td width="160"><input name="btDocument4" type="button" class="button_120" id="btDocument4" onclick="
Popup('popupDocumentWindow','popup_document_selecter5.php',550,430,1)
								" value="เลือกผู้สอน" />
                                    <input name="inputDocumentID5" type="hidden" id="inputDocumentID5" value="$inputDocumentID5" /></td>
                                <td width="206">&nbsp;</td>
                              </tr>
                            </table></td>
                              </tr>
                              <tr>
                                <td align="right" bgcolor="#F7F6F0" class="style3"><div align="right">วันที่&nbsp;</div></td>
                                <td height="22" class="style3"><input name="inputMod_Calendar_DateFrom" type="text" class="input_center" id="inputMod_Calendar_DateFrom" value="<?=$Row[cm_mod_detailoverall_DateFrom]?>"/>
กรุณาใช้รูปแบบวันที่ดังนี้ (Y:M:D ตัวอย่าง 2011-07-27)</td>
                              </tr>
                              
                              <tr> 
                                <td height="22" align="right" bgcolor="#F7F6F0"> <?
$myTime = explode(":",$Row[cm_mod_detailoverall_TimeFrom]);
$myTimeHH = $myTime[0]*1;
$myTimeMM = $myTime[1]*1;
?>
                                  เวลา&nbsp;</td>
                                <td height="22" class="style3"><table border="0" align="left" cellpadding="1" cellspacing="0">
                                    <tr> 
                                      <td width="30">จาก</td>
                                      <td><select name="inputTimeFromHH" class="select" id="inputTimeFromHH">
                                          <? for($i=0;$i<=23;$i++) { if($i<10) { $myi= "0".$i; } else { $myi=$i; } ?>
                                          <option value="<?=$myi?>"<? if($myTimeHH==$i) { echo " selected"; } ?>> 
                                          <?=$myi?>
                                          </option>
                                          <? } ?>
                                        </select></td>
                                      <td><b>:</b></td>
                                      <td><select name="inputTimeFromMM" class="select" id="inputTimeFromMM">
                                          <? for($i=0;$i<=59;$i++) { if($i<10) { $myi= "0".$i; } else { $myi=$i; } ?>
                                          <option value="<?=$myi?>"<? if($myTimeMM==$i) { echo " selected"; } ?>> 
                                          <?=$myi?>
                                          </option>
                                          <? } ?>
                                        </select></td>
                                      <td width="37" align="right"> 
                                        <?
$myTime = explode(":",$Row[cm_mod_detailoverall_TimeTo]);
$myTimeHH = $myTime[0]*1;
$myTimeMM = $myTime[1]*1;
?>
                                      <input name="inputIsTimeTo" type="checkbox" id="inputIsTimeTo" value="Yes" onClick="if(document.getElementById('idTimeTo1').style.display=='') { document.getElementById('idTimeTo1').style.display='none'; document.getElementById('idTimeTo2').style.display='none';  document.getElementById('idTimeTo3').style.display='none'; } else { document.getElementById('idTimeTo1').style.display=''; document.getElementById('idTimeTo2').style.display=''; document.getElementById('idTimeTo3').style.display=''; } " <? if($Row[cm_mod_detailoverall_TimeTo]!="00:00:00") { echo " checked"; } ?>></td>
                                      <td nowrap>ถึง&nbsp;</td>
                                      <td  id="idTimeTo1" <? if($Row[cm_mod_detailoverall_TimeTo]=="00:00:00") { ?>style="display:none"<? } ?>><select name="inputTimeToHH" class="select" id="inputTimeToHH">
                                          <? for($i=0;$i<=23;$i++) { if($i<10) { $myi= "0".$i; } else { $myi=$i; } ?>
                                          <option value="<?=$myi?>"<? if($myTimeHH==$i) { echo " selected"; } ?>> 
                                          <?=$myi?>
                                          </option>
                                          <? } ?>
                                        </select></td>
                                      <td  id="idTimeTo2" <? if($Row[cm_mod_detailoverall_TimeTo]=="00:00:00") { ?>style="display:none"<? } ?>><b>:</b></td>
                                      <td  id="idTimeTo3" <? if($Row[cm_mod_detailoverall_TimeTo]=="00:00:00") { ?>style="display:none"<? } ?>><select name="inputTimeToMM" class="select" id="inputTimeToMM">
                                          <? for($i=0;$i<=59;$i++) { if($i<10) { $myi= "0".$i; } else { $myi=$i; } ?>
                                          <option value="<?=$myi?>"<? if($myTimeMM==$i) { echo " selected"; } ?>> 
                                          <?=$myi?>
                                          </option>
                                          <? } ?>
                                        </select></td>
                                    </tr>
                                  </table></td>
                              </tr>
                              
                              <tr>
                                <td width="117" align="right" bgcolor="#F7F6F0"><span class="style3">รูปแบบ</span></td>
                                <td class="style3"><select name="Type" id="Type">
                                  <option value="การบรรยาย (lecture)" <? if($Row[cm_mod_detailoverall_Type]=="การบรรยาย (lecture)"){echo"selected";}?>>การบรรยาย (lecture)</option>
                                  <option value="การอภิปรายกลุ่ม (group discussion)" <? if($Row[cm_mod_detailoverall_Type]=="การอภิปรายกลุ่ม (group discussion)"){echo"selected";}?>>การอภิปรายกลุ่ม (group discussion)</option>
                                  <option value="การเรียนรู้โดยการกำกับตนเอง (self-directed learning)" <? if($Row[cm_mod_detailoverall_Type]=="การเรียนรู้โดยการกำกับตนเอง (self-directed learning)"){echo"selected";}?>>การเรียนรู้โดยการกำกับตนเอง (self-directed learning)</option>
                                  <option value="การฝึกปฏิบัติทางห้องปฏิบัติการ (laboratory study)" <? if($Row[cm_mod_detailoverall_Type]=="การฝึกปฏิบัติทางห้องปฏิบัติการ (laboratory study)"){echo"selected";}?>>การฝึกปฏิบัติทางห้องปฏิบัติการ (laboratory study)</option>
                                  <option value="การฝึกทำโครงการ/วิจัย (project)" <? if($Row[cm_mod_detailoverall_Type]=="การฝึกทำโครงการ/วิจัย (project)"){echo"selected";}?>>การฝึกทำโครงการ/วิจัย (project)</option>
                                  <option value="การฝึกปฏิบัติในสถานการณ์จำลอง (simulated situation)"  <? if($Row[cm_mod_detailoverall_Type]=="การฝึกปฏิบัติในสถานการณ์จำลอง (simulated situation)"){echo"selected";}?>>การฝึกปฏิบัติในสถานการณ์จำลอง (simulated situation)</option>
                                  <option value="การฝึกปฏิบัติกับผู้ป่วย (clinical practice)" <? if($Row[cm_mod_detailoverall_Type]=="การฝึกปฏิบัติกับผู้ป่วย (clinical practice)"){echo"selected";}?>>การฝึกปฏิบัติกับผู้ป่วย (clinical practice)</option>
                                  <option value="การสอนข้างเตียง (bedside teaching)" <? if($Row[cm_mod_detailoverall_Type]=="การสอนข้างเตียง (bedside teaching)"){echo"selected";}?>>การสอนข้างเตียง (bedside teaching)</option>
                                  <option value="การฝึกประสบการณ์ในชุมชน (community experience)" <? if($Row[cm_mod_detailoverall_Type]=="การฝึกประสบการณ์ในชุมชน (community experience)"){echo"selected";}?>>การฝึกประสบการณ์ในชุมชน (community experience)</option>
                                  <option value="การปฏิบัติตนเป็นแบบอย่าง (role model)" <? if($Row[cm_mod_detailoverall_Type]=="การปฏิบัติตนเป็นแบบอย่าง (role model)"){echo"selected";}?>>การปฏิบัติตนเป็นแบบอย่าง (role model)</option>
                                   <option value="other" <? if($Row[cm_mod_detailoverall_Type]=="other"){echo"selected";}?>>อื่น ๆ</option>
                                  </select>
                                  <input type="text" name="otherdetail" id="otherdetail" style="border:1px; padding:1px;border-style: solid ; border-color: #dbdee1;" class="DEPENDS ON Type BEING other" value="<?=$Row[cm_mod_detailoverall_Otherdetail]?>" /></td>
                              </tr>
                              <tr>
                                <td align="right" bgcolor="#F7F6F0" valign="top"><span class="style3">มาตรฐานการเรียนรู้</span></td>
                                <td class="style3"><? 
                                 $sql="select * from cm_standard order by cm_standard_No asc";
                                 $Query=mysql_query($sql);
                                 while ($Row1 = mysql_fetch_array($Query)) { ?><br />
                                <b><?=$Row1[cm_standard_No]?>.<?=$Row1[cm_standard_Name]?></b> <br />
                                <? 
					  			$sql2="select * from cm_standardlevel2 where cm_standardlevel2_councilNo='$Row1[cm_standard_No]' order by cm_standardlevel2_ID asc";
					  			$Query2=mysql_query($sql2);
					  			while ($Row2 = mysql_fetch_array($Query2)) { ?>                                
                                  <input name="Fill1[]" type="checkbox" id="Fill1"  value="<?=$Row2[cm_standardlevel2_No]?>"
									  <? 
											 $sqlAcOnGp = "SELECT * FROM cm_relate1 WHERE cm_relate1_No ='$Row2[cm_standardlevel2_No]' and  cm_mod_detailoverall_ID ='$myCheckBoxID' ";
											$QueryAcOnGp=MYSQL_DB_QUERY($System_DataBase_Name,$sqlAcOnGp) OR DIE("Error: เกิดความผิดพลาด <br>$sql<br>\n");
												while($RowAcOnGp=MYSQL_FETCH_ARRAY($QueryAcOnGp)){
									  				if($RowAcOnGp['cm_relate1_No']==$Row2[cm_standardlevel2_No]){ echo "checked";}
												}	
										?>>
									  <?=$Row2[cm_standardlevel2_No]?> <?=$Row2[cm_standardlevel2_Name]?>
                                <br />
                               <? } } ?>                                                               </td>
                              </tr>
                              <tr>
                                <td align="right" bgcolor="#F7F6F0" valign="top"><span class="style3">แพทยสภา</span></td>
                                <td class="style3">
                                <? include"p_edit.php"; ?>
                                </td>
                              </tr>
                              <tr>
                                <td align="right" valign="top" bgcolor="#F7F6F0"><span class="style3">วัตถุประสงค์การสอน</span></td>
                                <td class="style3">
                                    1.
                                    <input type="text" name="Objective1" id="textfield2" value="<?=$Row[cm_mod_detailoverall_Objective1]?>" />
                                    <br />
                                    2.
                                    <input type="text" name="Objective2" id="textfield4" value="<?=$Row[cm_mod_detailoverall_Objective2]?>" />
                                    <br />
                                    3.
                                    <input type="text" name="Objective3" id="textfield5" value="<?=$Row[cm_mod_detailoverall_Objective3]?>" />
                                    <br />
                                    4.
                                    <input type="text" name="Objective4" id="textfield6" value="<?=$Row[cm_mod_detailoverall_Objective4]?>" />
                                    <br />
                                    5.
                                    <input type="text" name="Objective5" id="textfield3" value="<?=$Row[cm_mod_detailoverall_Objective5]?>" />                                   </td>
                              </tr>
                            </table>
                            <table width="100%" height="24" border="0" cellpadding="3" cellspacing="0">
                              <tr align="right"> 
                                <td height="30" colspan="4" align="center" class="table_row2"> 
                                  <table width="300" border="0" cellspacing="0" cellpadding="2">
                                    <tr align="center"> 
                                      <td width="148">
<script language="JavaScript" type="text/JavaScript">
function isBlank(myObj) { if(myObj.value=='') { return true; } return false; }
function verifySubmit() {
 	with(document.myForm) {
				if(Course.value=='') {
				alert('กรุณากรอกเรื่องที่เรียน');
					Course.focus();
					return false;
				}
				if(inputMod_Calendar_DateFrom.value=='') {
				alert('กรุณาเลือกวันที่สอน');
					inputMod_Calendar_DateFrom.focus();
					return false;
				}
				if(inputTime.value=='') {
				alert('กรุณาเลือกจำนวนชั่วโมงที่สอน');
					inputTime.focus();
					return false;
				}
				if(Fill2.value=='') {
				alert('กรุณาเลือกแพทยสภา');
					Fill2.focus();
					return false;
				}
				if(Type.value=='other' && otherdetail.value=='') {
				alert('กรุณากรอกรายละเอียดรูปแบบอื่นๆ');
					otherdetail.focus();
					return false;
				}
	}
	return true;
}
						</script> <input name="btSave" type="submit" class="button_60" id="btSave" value="บันทึก">                                      
									  <script type="text/javascript">
<!--
function confirmation() {
	var answer = confirm("คุณต้องการยืนยันจริงหรือไม่?")
	if (answer){
		document.myForm.action.value='setstatus';
		document.myForm.submit();
	}
	else{
	}
}
//-->
                                      </script></td>
                                      <td width="144"> <input name="btCalcel" type="button" class="button_60" id="btCalcel" onClick="
if(confirm('Are you sure to return to list?')) {
	document.myReturnForm.submit();
}
						" value="ย้อนกลับ"> </td>
                                    </tr>
                                  </table></td>
                              </tr>
                            </table></td>
                        </tr>
                      </form>
                    </table>
			  <!-- InstanceEndEditable --> </td>
                  <td width="15">&nbsp;</td>
                </tr>
            </table></td>
            <td background="../../images/content_border/content_border_right.jpg">&nbsp;</td>
          </tr>
          <tr>
            <td><img src="../../images/l/left_menu_03_l.jpg" width="24" height="29" /></td>
            <td colspan="2"><img src="../../images/l/left_menu_03_r.jpg" width="197" height="29" /></td>
            <td><img src="../../images/content_border/content_border_03.jpg" width="747" height="29" /></td>
            <td><img src="../../images/content_border/content_border_right2.jpg" width="17" height="29" /></td>
          </tr>
        </table></td>
        </tr>
    </table></td>
  </tr>
</table>
</body>
<!-- InstanceEnd --></html>

Hacked By AnonymousFox1.0, Coded By AnonymousFox