<SCRIPT> function Check() { var checked ; if(document.regisForm.dept_name.value == "") { alert("Please select Department !"); document.regisForm.dept_name.focus(); return false; } else if(document.regisForm.di_name.value == "") { alert("Please select Division !"); document.regisForm.di_name.focus(); return false; } else if(document.regisForm.p_name.value == "") { alert("Please select Position !"); document.regisForm.p_name.focus(); return false; } var radios = document.getElementsByName(\\\'regisForm\\\'); if(radios) { for(var iIdx = 0; iIdx < radios.length; iIdx++) { if(radios[iIdx].checked) return; } alert(\\\'Please select all !!\\\'); } } </SCRIPT> </head> <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" > <form name="regisForm" method="post" action="save.php" onsubmit="return(Check());"> <tr> <td><font face="Arial" size="2"> 1. People support one another in this unit font></td> <td><div align="center"><label><input name="S101" type="radio" value="1"></label></div></td> <td><div align="center"><input name="S101" type="radio" value="2"></div></td> <td><div align="center"><input name="S101" type="radio" value="3"></div></td> <td><div align="center"><input name="S101" type="radio" value="4"></div></td> <td><div align="center"><input name="S101" type="radio" value="5"></div></td> </tr> <tr> <td><font face="Arial" size="2">2. We have enough staff to handle the workload</font></td> <td><div align="center"><label><input name="S102" type="radio" value="1"></label></div></td> <td><div align="center"><input name="S102" type="radio" value="2"></div></td> <td><div align="center"><input name="S102" type="radio" value="3"></div></td> <td><div align="center"><input name="S102" type="radio" value="4"></div></td> <td><div align="center"><input name="S102" type="radio" value="5"></div></td> </tr> <tr> <td><font face="Arial" size="2">3. When a lot of work needs to be done quickly, we work together as a team to get the work done</font></td> <td><div align="center"><label><input name="S103" type="radio" value="1"></label></div></td> <td><div align="center"><input name="S103" type="radio" value="2"></div></td> <td><div align="center"><input name="S103" type="radio" value="3"></div></td> <td><div align="center"><input name="S103" type="radio" value="4"></div></td> <td><div align="center"><input name="S103" type="radio" value="5"></div></td> </tr> <tr> <td colspan="2"><font face="Arial" size="2">1. Department : <SELECT NAME="dept_name" size="1" onChange="callSurgeon"> <?php include("conn.php"); echo "<option value=\\\'\\\'>======== Select Department ========</option>\\\\n"; $sql="select dept_name from department where dept_status=\\\'A\\\' order by dept_name"; $result=mysql_query($sql); while($query_data=mysql_fetch_array($result)) { echo"<option value="".$query_data["dept_name"]."">".$query_data["dept_name"]."</option>\\\\n"; } ?> </select> Division : <SELECT NAME="di_name" size="1" onChange="callSurgeon"> <?php include("conn.php"); echo "<option value=\\\'\\\'>======== Select Division ========</option>\\\\n"; $sql="select di_name from division where di_status=\\\'A\\\' order by di_name"; $result=mysql_query($sql); while($query_data=mysql_fetch_array($result)) { echo"<option value="".$query_data["di_name"]."">".$query_data["di_name"]."</option>\\\\n"; } ?> </select> <br> Position : <SELECT NAME="p_name" size="1" onChange="callSurgeon"> <?php include("conn.php"); echo "<option value=\\\'\\\'>======== Select Position ========</option>\\\\n"; $sql="select p_name from position where p_status=\\\'A\\\' order by p_name"; $result=mysql_query($sql); while($query_data=mysql_fetch_array($result)) { echo"<option value="".$query_data["p_name"]."">".$query_data["p_name"]."</option>\\\\n"; } ?> </select> </font> </td> </tr>
<?php $ip = "192.168.104.104"; $exe= exec("ping -n 5 $ip"); if(!$exe){ echo " Offline"; } ?>
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง