Viewing file: FrmEdit.php (24.12 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php include("../../../include/FunctionDB.php"); include("../../../include/Function.php"); ConnectDB(); $sql = "Select * From std_employer_tb Where Code='$Code' "; $result = mysql_query($sql) or die("Error".mysql_error()); $row = mysql_fetch_array($result); ?> <html> <head> <title>Record</title> <link rel="stylesheet" href="../../../css/style1.css" type="text/css"> <meta http-equiv="Content-Type" content="text/html; charset=windows-874"> </head> <body bgcolor="#FFFFFF"> <table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bordercolor="#006699" bgcolor="#F9F9F9"> <tr bgcolor="#E8EEFD"> <td height="23" colspan="6"> <div align="center"><strong><font color="#FF0000" size="4" face="Tahoma">แก้ไข</font><font color="#003366" size="4" face="Tahoma"> แบบบันทึกความพึงพอใจของผู้ใช้บัณฑิต</font></strong></div></td> </tr> <form name="form1" action="Edit.php" method="post" > <tr bgcolor="#EEEEEE"> <td colspan="3"> <div align="center"><font color="#000000" size="2" face="Tahoma">ปีการศึกษา</font></div></td> <td bordercolor="#006699"><font color="#FF0000" size="2" face="Tahoma"> <font size="4"><strong>*</strong></font></font></td> <td colspan="2" bordercolor="#006699"><font size="2" face="Tahoma"> <input name="Term" type="text" id="Term" onKeyPress="return handleEnter(this, event)" value="<? echo $row[Term]?>" size="6" > </font></td> </tr> <tr bgcolor="#EEEEEE"> <td colspan="3"> <div align="center"><font color="#000000" size="2" face="Tahoma">หลักสูตร</font></div></td> <td width="2%" bordercolor="#006699"><font size="2" face="Tahoma"> </font><font color="#FF0000" size="2" face="Tahoma"><font size="4"><strong>*</strong></font></font></td> <td width="58%" colspan="2" bordercolor="#006699"><font size="2" face="Tahoma"> <select name="Course_code"> <?php $Course_code = $row[Course_code]; $strSQL1 = "SELECT * FROM course_tb Where Course_code='$Course_code'"; $result_1= mysql_query($strSQL1); $strSQL2 = "SELECT * FROM course_tb Order By Course_code"; $result_2= mysql_query($strSQL2); while( $rss1 = mysql_fetch_array($result_1)) { echo"<option value=\"$rss1[Course_code]\"><b>$rss1[Course_name]</b></option>\n"; while( $rss2 = mysql_fetch_array($result_2)) { echo"<option value=\"$rss2[Course_code]\"><b>$rss2[Course_name]</b></option>\n"; } } ?> </select> รุ่น <input name="Series" type="text" id="Series" value="<? echo $row[Series]?>"> </font></td> </tr> <tr bgcolor="#EEEEEE"> <td colspan="3" bgcolor="#CCCCCC"> <div align="center"><font color="#000000" size="2" face="Tahoma"><strong>รายการประเมิน</strong></font></div></td> <td bordercolor="#006699"> </td> <td colspan="2" bordercolor="#006699"><table width="100%" border="0" cellpadding="0" cellspacing="1"> <tr bgcolor="#CCCCCC"> <td width="29%"> <div align="center"><strong><font size="2" face="Tahoma">x ค่าเฉลี่ย</font></strong></div></td> <td width="21%"> <div align="center"><strong><font size="2" face="Tahoma">SD</font></strong></div></td> <td width="50%"> <div align="center"><strong><font size="2" face="Tahoma">ระดับความพึงพอใจ</font></strong></div></td> </tr> </table></td> </tr> <tr bgcolor="#EEEEEE"> <td colspan="2"> <div align="center"><font size="2" face="Tahoma">1 </font></div></td> <td width="36%"><font size="2" face="Tahoma">ความสามารถทางวิชาการ/การปฏิบัติงาน</font></td> <td bordercolor="#006699"><font size="2" face="Tahoma"> </font></td> <td colspan="2" bordercolor="#006699"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="29%"><div align="left"><strong> <input name="x1" type="text" id="x1" onKeypress="if (event.keyCode < 45 || event.keyCode > 57) event.returnValue = false;" value="<? echo $row[x1];?>" size="10"> </strong></div></td> <td width="21%"><div align="left"><strong> <input name="sd1" type="text" id="sd1" onKeypress="if (event.keyCode < 45 || event.keyCode > 57) event.returnValue = false;" value="<? echo $row[sd1];?>" size="10"> </strong></div></td> <td width="50%"> <div align="center"><font size="2" face="Tahoma"> <input type="radio" name="rate1" <?php if (!(strcmp("$row[rate1]","1"))) {echo "checked";} ?> value="1"> น้อย <input type="radio" name="rate1" <?php if (!(strcmp("$row[rate1]","2"))) {echo "checked";} ?> value="2"> ปานกลาง <input type="radio" name="rate1" <?php if (!(strcmp("$row[rate1]","3"))) {echo "checked";} ?> value="3"> มาก </font></div></td> </tr> </table></td> </tr> <tr bgcolor="#EEEEEE"> <td width="2%"><div align="center"></div></td> <td width="2%"><div align="center"><font size="2" face="Tahoma">1.1</font></div></td> <td bgcolor="#F4F4F4"><font size="2" face="Tahoma">การใช้กระบวนการพยาบาลในการปฏิบัติงาน</font></td> <td bordercolor="#006699"><font size="2" face="Tahoma"> </font></td> <td colspan="2" bordercolor="#006699"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="29%"><div align="left"><strong> <input name="x2" type="text" id="x2" onKeypress="if (event.keyCode < 45 || event.keyCode > 57) event.returnValue = false;" value="<? echo $row[x2];?>" size="10"> </strong></div></td> <td width="21%"><div align="left"><strong> <input name="sd2" type="text" id="sd2" onKeypress="if (event.keyCode < 45 || event.keyCode > 57) event.returnValue = false;" value="<? echo $row[sd2];?>" size="10"> </strong></div></td> <td width="50%" bgcolor="#F4F4F4"> <div align="center"><font size="2" face="Tahoma"> <input type="radio" name="rate2" <?php if (!(strcmp("$row[rate2]","1"))) {echo "checked";} ?> value="1"> น้อย <input type="radio" name="rate2" <?php if (!(strcmp("$row[rate2]","2"))) {echo "checked";} ?> value="2"> ปานกลาง <input type="radio" name="rate2" <?php if (!(strcmp("$row[rate3]","3"))) {echo "checked";} ?> value="3"> มาก </font></div></td> </tr> </table></td> </tr> <tr bgcolor="#EEEEEE"> <td><div align="center"></div></td> <td><div align="center"><font size="2" face="Tahoma">1.2</font></div></td> <td bgcolor="#F4F4F4"><font size="2" face="Tahoma">การพยาบาลที่ครอบคลุมมิติทางการพยาบาล</font></td> <td bordercolor="#006699"><font size="2" face="Tahoma"> </font></td> <td colspan="2" bordercolor="#006699"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="29%"><div align="left"><strong> <input name="x3" type="text" id="x3" onKeypress="if (event.keyCode < 45 || event.keyCode > 57) event.returnValue = false;" value="<? echo $row[x3];?>" size="10"> </strong></div></td> <td width="21%"><div align="left"><strong> <input name="sd3" type="text" id="sd3" onKeypress="if (event.keyCode < 45 || event.keyCode > 57) event.returnValue = false;" value="<? echo $row[sd3];?>" size="10"> </strong></div></td> <td width="50%" bgcolor="#F4F4F4"> <div align="center"><font size="2" face="Tahoma"> <input type="radio" name="rate3" <?php if (!(strcmp("$row[rate3]","1"))) {echo "checked";} ?> value="1"> น้อย <input type="radio" name="rate3" <?php if (!(strcmp("$row[rate3]","2"))) {echo "checked";} ?> value="2"> ปานกลาง <input type="radio" name="rate3" <?php if (!(strcmp("$row[rate3]","3"))) {echo "checked";} ?> value="3"> มาก </font></div></td> </tr> </table></td> </tr> <tr bgcolor="#EEEEEE"> <td><div align="center"></div></td> <td><div align="center"><font size="2" face="Tahoma">1.3</font></div></td> <td bgcolor="#F4F4F4"><font size="2" face="Tahoma">การใช้ทักษะทางการพยาบาลในการปฏิบัติงาน</font></td> <td bordercolor="#006699"><font size="2" face="Tahoma"> </font></td> <td colspan="2" bordercolor="#006699"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="29%"><div align="left"><strong> <input name="x4" type="text" id="x4" onKeypress="if (event.keyCode < 45 || event.keyCode > 57) event.returnValue = false;" value="<? echo $row[x4];?>" size="10"> </strong></div></td> <td width="21%"><div align="left"><strong> <input name="sd4" type="text" id="sd4" onKeypress="if (event.keyCode < 45 || event.keyCode > 57) event.returnValue = false;" value="<? echo $row[sd4];?>" size="10"> </strong></div></td> <td width="50%" bgcolor="#F4F4F4"> <div align="center"><font size="2" face="Tahoma"> <input type="radio" name="rate4" value="1" <?php if (!(strcmp("$row[rate4]","1"))) {echo "checked";} ?>> น้อย <input type="radio" name="rate4" value="2" <?php if (!(strcmp("$row[rate4]","2"))) {echo "checked";} ?>> ปานกลาง <input type="radio" name="rate4" value="3" <?php if (!(strcmp("$row[rate4]","3"))) {echo "checked";} ?>> มาก </font></div></td> </tr> </table></td> </tr> <tr bgcolor="#EEEEEE"> <td><div align="center"></div></td> <td><div align="center"><font size="2" face="Tahoma">1.4</font></div></td> <td bgcolor="#F4F4F4"><font size="2" face="Tahoma">ความสามารถในการบริหารจัดการ</font></td> <td bordercolor="#006699"><font size="2" face="Tahoma"> </font></td> <td colspan="2" bordercolor="#006699"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="29%"><div align="left"><strong> <input name="x5" type="text" id="x5" onKeypress="if (event.keyCode < 45 || event.keyCode > 57) event.returnValue = false;" value="<? echo $row[x5];?>" size="10"> </strong></div></td> <td width="21%"><div align="left"><strong> <input name="sd5" type="text" id="sd5" onKeypress="if (event.keyCode < 45 || event.keyCode > 57) event.returnValue = false;" value="<? echo $row[sd5];?>" size="10"> </strong></div></td> <td width="50%" bgcolor="#F4F4F4"> <div align="center"><font size="2" face="Tahoma"> <input type="radio" name="rate5"<?php if (!(strcmp("$row[rate5]","1"))) {echo "checked";} ?> value="1"> น้อย <input type="radio" name="rate5" <?php if (!(strcmp("$row[rate5]","2"))) {echo "checked";} ?> value="2"> ปานกลาง <input type="radio" name="rate5" <?php if (!(strcmp("$row[rate5]","3"))) {echo "checked";} ?> value="3"> มาก </font></div></td> </tr> </table></td> </tr> <tr bgcolor="#EEEEEE"> <td><div align="center"></div></td> <td><div align="center"><font size="2" face="Tahoma">1.5</font></div></td> <td bgcolor="#F4F4F4"><font size="2" face="Tahoma">ความสามารถในการพัฒนางาน</font></td> <td bordercolor="#006699"><font size="2" face="Tahoma"> </font></td> <td colspan="2" bordercolor="#006699"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="29%"><div align="left"><strong> <input name="x6" type="text" id="x6" onKeypress="if (event.keyCode < 45 || event.keyCode > 57) event.returnValue = false;" value="<? echo $row[x6];?>" size="10"> </strong></div></td> <td width="21%"><div align="left"><strong> <input name="sd6" type="text" id="sd6" onKeypress="if (event.keyCode < 45 || event.keyCode > 57) event.returnValue = false;" value="<? echo $row[sd6];?>" size="10"> </strong></div></td> <td width="50%" bgcolor="#F4F4F4"> <div align="center"><font size="2" face="Tahoma"> <input type="radio" name="rate6" <?php if (!(strcmp("$row[rate6]","1"))) {echo "checked";} ?> value="1"> น้อย <input type="radio" name="rate6" <?php if (!(strcmp("$row[rate6]","2"))) {echo "checked";} ?> value="2"> ปานกลาง <input type="radio" name="rate6" <?php if (!(strcmp("$row[rate6]","3"))) {echo "checked";} ?> value="3"> มาก </font></div></td> </tr> </table></td> </tr> <tr bgcolor="#EEEEEE"> <td colspan="2"><div align="center"><font size="2" face="Tahoma">2</font></div></td> <td><font size="2" face="Tahoma">.ความสามารถพื้นฐานที่ส่งผลต่อการทำงาน</font></td> <td bordercolor="#006699"><font size="2" face="Tahoma"> </font></td> <td colspan="2" bordercolor="#006699"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="29%"><div align="left"><strong> <input name="x7" type="text" id="x7" onKeypress="if (event.keyCode < 45 || event.keyCode > 57) event.returnValue = false;" value="<? echo $row[x7];?>" size="10"> </strong></div></td> <td width="21%"><div align="left"><strong> <input name="sd7" type="text" id="sd7" onKeypress="if (event.keyCode < 45 || event.keyCode > 57) event.returnValue = false;" value="<? echo $row[sd7];?>" size="10"> </strong></div></td> <td width="50%"> <div align="center"><font size="2" face="Tahoma"> <input type="radio" name="rate7" <?php if (!(strcmp("$row[rate7]","1"))) {echo "checked";} ?> value="1"> น้อย <input type="radio" name="rate7" <?php if (!(strcmp("$row[rate7]","2"))) {echo "checked";} ?> value="2"> ปานกลาง <input type="radio" name="rate7" <?php if (!(strcmp("$row[rate7]","3"))) {echo "checked";} ?> value="3"> มาก </font></div></td> </tr> </table></td> </tr> <tr bgcolor="#EEEEEE"> <td><div align="center"></div></td> <td><div align="center"><font size="2" face="Tahoma">2.1</font></div></td> <td bgcolor="#F4F4F4"><font size="2" face="Tahoma">ความสามารถในการพัฒนาตนเอง</font></td> <td bordercolor="#006699"><font size="2" face="Tahoma"> </font></td> <td colspan="2" bordercolor="#006699"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="29%"><div align="left"><strong> <input name="x8" type="text" id="x8" onKeypress="if (event.keyCode < 45 || event.keyCode > 57) event.returnValue = false;" value="<? echo $row[x8];?>" size="10"> </strong></div></td> <td width="21%"><div align="left"><strong> <input name="sd8" type="text" id="sd8" onKeypress="if (event.keyCode < 45 || event.keyCode > 57) event.returnValue = false;" value="<? echo $row[sd8];?>" size="10"> </strong></div></td> <td width="50%" bgcolor="#F4F4F4"> <div align="center"><font size="2" face="Tahoma"> <input type="radio" name="rate8" <?php if (!(strcmp("$row[rate8]","1"))) {echo "checked";} ?> value="1"> น้อย <input type="radio" name="rate8" <?php if (!(strcmp("$row[rate8]","2"))) {echo "checked";} ?> value="2"> ปานกลาง <input type="radio" name="rate8" <?php if (!(strcmp("$row[rate8]","3"))) {echo "checked";} ?> value="3"> มาก </font></div></td> </tr> </table></td> </tr> <tr bgcolor="#EEEEEE"> <td><div align="center"></div></td> <td><div align="center"><font size="2" face="Tahoma">2.2</font></div></td> <td bgcolor="#F4F4F4"><font size="2" face="Tahoma">ความสามารถในการเป็นผู้นำ</font></td> <td bordercolor="#006699"><font size="2" face="Tahoma"> </font></td> <td colspan="2" bordercolor="#006699"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="29%"><div align="left"><strong> <input name="x9" type="text" id="x9" onKeypress="if (event.keyCode < 45 || event.keyCode > 57) event.returnValue = false;" value="<? echo $row[x9];?>" size="10"> </strong></div></td> <td width="21%"><div align="left"><strong> <input name="sd9" type="text" id="sd9" onKeypress="if (event.keyCode < 45 || event.keyCode > 57) event.returnValue = false;" value="<? echo $row[sd9];?>" size="10"> </strong></div></td> <td width="50%" bgcolor="#F4F4F4"> <div align="center"><font size="2" face="Tahoma"> <input type="radio" name="rate9" <?php if (!(strcmp("$row[rate9]","1"))) {echo "checked";} ?> value="1"> น้อย <input type="radio" name="rate9" <?php if (!(strcmp("$row[rate9]","2"))) {echo "checked";} ?> value="2"> ปานกลาง <input type="radio" name="rate9" <?php if (!(strcmp("$row[rate9]","3"))) {echo "checked";} ?> value="3"> มาก </font></div></td> </tr> </table></td> </tr> <tr bgcolor="#EEEEEE"> <td><div align="center"></div></td> <td><div align="center"><font size="2" face="Tahoma">2.3</font></div></td> <td bgcolor="#F4F4F4"><font size="2" face="Tahoma">ความสามารถในการสื่อสาร</font></td> <td bordercolor="#006699"><font size="2" face="Tahoma"> </font></td> <td colspan="2" bordercolor="#006699"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="29%"><div align="left"><strong> <input name="x10" type="text" id="x10" onKeypress="if (event.keyCode < 45 || event.keyCode > 57) event.returnValue = false;" value="<? echo $row[x10];?>" size="10"> </strong></div></td> <td width="21%"><div align="left"><strong> <input name="sd10" type="text" id="sd10" onKeypress="if (event.keyCode < 45 || event.keyCode > 57) event.returnValue = false;" value="<? echo $row[sd10];?>" size="10"> </strong></div></td> <td width="50%" bgcolor="#F4F4F4"> <div align="center"><font size="2" face="Tahoma"> <input type="radio" name="rate10" <?php if (!(strcmp("$row[rate10]","1"))) {echo "checked";} ?> value="1"> น้อย <input type="radio" name="rate10" <?php if (!(strcmp("$row[rate10]","2"))) {echo "checked";} ?> value="2"> ปานกลาง <input type="radio" name="rate10" <?php if (!(strcmp("$row[rate10]","3"))) {echo "checked";} ?> value="3"> มาก </font></div></td> </tr> </table></td> </tr> <tr bgcolor="#EEEEEE"> <td colspan="2"><div align="center"><font size="2" face="Tahoma"> 3</font></div></td> <td><font size="2" face="Tahoma">คุณธรรม จริยธรรม และ จรรยาบรรณ วิชาชีพ</font></td> <td bordercolor="#006699"><font size="2" face="Tahoma"> </font></td> <td colspan="2" bordercolor="#006699"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="29%"><div align="left"><strong> <input name="x11" type="text" id="x11" onKeypress="if (event.keyCode < 45 || event.keyCode > 57) event.returnValue = false;" value="<? echo $row[x11];?>" size="10"> </strong></div></td> <td width="21%"><div align="left"><strong> <input name="sd11" type="text" id="sd11" onKeypress="if (event.keyCode < 45 || event.keyCode > 57) event.returnValue = false;" value="<? echo $row[sd11];?>" size="10"> </strong></div></td> <td width="50%"> <div align="center"><font size="2" face="Tahoma"> <input type="radio" name="rate11" <?php if (!(strcmp("$row[rate11]","1"))) {echo "checked";} ?> value="1"> น้อย <input type="radio" name="rate11" <?php if (!(strcmp("$row[rate11]","2"))) {echo "checked";} ?> value="2"> ปานกลาง <input type="radio" name="rate11" <?php if (!(strcmp("$row[rate11]","3"))) {echo "checked";} ?> value="3"> มาก </font></div></td> </tr> </table></td> </tr> <tr bgcolor="#EEEEEE"> <td><div align="center"><font face="Tahoma"><font face="Tahoma"><font size="2"><font size="2"></font></font></font></font></div></td> <td><div align="center"><font size="2" face="Tahoma">3.1</font></div></td> <td bgcolor="#F4F4F4"><font size="2" face="Tahoma">การมีคุณธรรมและจริยธรรม</font></td> <td bordercolor="#006699"><font size="2" face="Tahoma"> </font></td> <td colspan="2" bordercolor="#006699"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="29%"><div align="left"><strong> <input name="x12" type="text" id="x12" onKeypress="if (event.keyCode < 45 || event.keyCode > 57) event.returnValue = false;" value="<? echo $row[x12];?>" size="10"> </strong></div></td> <td width="21%"><div align="left"><strong> <input name="sd12" type="text" id="sd12" onKeypress="if (event.keyCode < 45 || event.keyCode > 57) event.returnValue = false;" value="<? echo $row[sd12];?>" size="10"> </strong></div></td> <td width="50%" bgcolor="#F4F4F4"> <div align="center"><font size="2" face="Tahoma"> <input type="radio" name="rate12" <?php if (!(strcmp("$row[rate12]","1"))) {echo "checked";} ?> value="1"> น้อย <input type="radio" name="rate12" <?php if (!(strcmp("$row[rate12]","2"))) {echo "checked";} ?> value="2"> ปานกลาง <input type="radio" name="rate12" <?php if (!(strcmp("$row[rate12]","3"))) {echo "checked";} ?> value="3"> มาก </font></div></td> </tr> </table></td> </tr> <tr bgcolor="#EEEEEE"> <td><div align="center"><font face="Tahoma"><font face="Tahoma"><font size="2"><font size="2"></font></font></font></font></div></td> <td><div align="center"><font size="2" face="Tahoma">3.2</font></div></td> <td bgcolor="#F4F4F4"><font size="2" face="Tahoma">การมีจรรยาบรรณวิชาชีพ</font></td> <td bordercolor="#006699"><font size="2" face="Tahoma"> </font></td> <td colspan="2" bordercolor="#006699"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="29%"><div align="left"><strong> <input name="x13" type="text" id="x13" onKeypress="if (event.keyCode < 45 || event.keyCode > 57) event.returnValue = false;" value="<? echo $row[x13];?>" size="10"> </strong></div></td> <td width="21%"><div align="left"><strong> <input name="sd13" type="text" id="sd13" onKeypress="if (event.keyCode < 45 || event.keyCode > 57) event.returnValue = false;" value="<? echo $row[sd13];?>" size="10"> </strong></div></td> <td width="50%" bgcolor="#F4F4F4"> <div align="center"><font size="2" face="Tahoma"> <input type="radio" name="rate13" <?php if (!(strcmp("$row[rate13]","1"))) {echo "checked";} ?> value="1"> น้อย <input type="radio" name="rate13" <?php if (!(strcmp("$row[rate13]","2"))) {echo "checked";} ?> value="2"> ปานกลาง <input type="radio" name="rate13" <?php if (!(strcmp("$row[rate13]","3"))) {echo "checked";} ?> value="3"> มาก </font></div></td> </tr> </table></td> </tr> <tr bgcolor="#EEEEEE"> <td colspan="6"> </td> </tr> <tr bgcolor="#E8EEFD"> <td colspan="6"> <div align="center"> <input type="hidden" name="Code" value="<? echo $row[Code]?>"> <input type="submit" name="Submit" value=" บันทึก "> </div></td> </tr> </form> </table> </body> </html> <?php CloseDB(); ?>
|