<? include "../member/chksession.php"; ?> <!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/elearning.dwt.php" codeOutsideHTMLIsLocked="false" --> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- InstanceBeginEditable name="doctitle" --> <script language="javascript"> function fncSubmit() { if(document.form1.rdo1.checked == false && document.form1.rdo2.checked == false && document.form1.rdo3.checked == false && document.form1.rdo4.checked == false) { alert('กรุณาเลือกคำตอบ'); return false; } document.form1.submit(); } </script> <title>Untitled Document</title> <!-- InstanceEndEditable --> <style type="text/css"> .food-text {color: #FFF; } .text-menu {color: #CCC; font-weight: bold; } body { background-color: #25D4EF; background-image: url(); background-repeat: repeat-x; } a:link { color: #55DFFF; } a:visited { color: #2A0055; } a:hover { color: #009FAA; } a:active { color: #3FF; } </style> <!-- InstanceBeginEditable name="head" --> <!-- InstanceEndEditable --> </head> <body> <table width="951" height="100%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td height="88"><img src="../picture/e-learnning.jpg" width="951" height="211" /></td> </tr> <tr> <td width="988" valign="top"><table width="100%" height="104" border="0" cellpadding="0" cellspacing="0" background="../blog/images/bg3.gif"> <tr> <td height="33" align="center" bgcolor="#007FAA"><span class="text-menu"> | <a href="../member/index1.php">หน้าหลัก</a> | <a href="../index/about1.php">ข้อมูลทั่วไป </a> | <a href="../index/news.php">ข่าวประชาสัมพันธ์ </a> | <a href="elearn_index.php">E-Learning</a> | <a href="../blog/blog_main.php">Blog </a> | <a href="../webboard/webboard.php"> Webboard</a> | <a href="../index/about3.php">ติดต่อ</a> |</span></td> </tr> <tr> <td bgcolor="#FFFFFF"><!-- InstanceBeginEditable name="content" --> <br /> <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <th height="35" align="left" bgcolor="#00BFAA" scope="col"><strong> Welcome <? echo "$sess_username"; ?> ( <a href="../member/logout.php">Log Out</a> ) </strong></th> </tr> <tr> <th height="55" align="left" scope="col"> <font size="+2" >แบบทดสอบก่อนเรียน</font></th> </tr> <tr> <td><form method="post" action="check_test1.php" name="form1" onSubmit="JavaScript:return fncSubmit();"> <br /> <? $no=1; $id_view=$_GET[id_view]; include "../include/func.php"; include "../include/connect.php"; $sql="select * from create_test where Content_idcontent ='$id_view' order by rand() "; $result=mysql_db_query($dbname,$sql); while ($rs=mysql_fetch_array($result)){ $idcreate=$rs[idcreate]; $question=$rs[question]; $choice1=$rs[choice1]; $choice2=$rs[choice2]; $choice3=$rs[choice3]; $choice4=$rs[choice4]; $date_les=$rs[date_les]; echo " <B>ข้อที่ $no). $question </B><BR> <input type='radio' name='select_$idcreate' value='1' id='rdo1'> $choice1 <BR> <input type='radio' name='select_$idcreate' value='2' id='rdo2'> $choice2 <BR> <input type='radio' name='select_$idcreate' value='3' id='rdo3'> $choice3 <BR> <input type='radio' name='select_$idcreate' value='4' id='rdo4'> $choice4 <BR> <input type= 'hidden' name= 'total_question[]' value='$idcreate'> <input type= 'hidden' name= 'id_view' value='$id_view'> <br>"; $no++;} mysql_close(); ?> <br /> <input type="submit" value="ส่ง"> <input type="reset" value="ยกเลิก"> </form></td> </tr> <tr> <td> </td> </tr> <tr> <td> </td> </tr> <tr> <td> </td> </tr> <tr> <td><p> </p></td> </tr> </table> <!-- InstanceEndEditable --></td> </tr> </table></td> </tr> <tr> <td height="2" bgcolor="#999999"></td> </tr> <tr> <td height="40" bgcolor="#007FAA"><div align="center"> <p class="food-text">| <img src="../picture/facebook icon.png" alt="" width="16" height="16" align="texttop" /> | <img src="../picture/twiiter.png" alt="" width="16" height="16" align="texttop" /> | <img src="../picture/yutubee.png" alt="" width="16" height="16" align="texttop" /> | <a href="../webboard/webboard.php">Webboard</a> | <a href="../blog/blog_index.php">Blog</a> | <a href="http://www.up.ac.th/">Web:UP</a> | <a href="http://www.ict.up.ac.th/">Web:ICT</a> | <a href="../admin/admin.php">Admin</a> | <a href="../admin/teacher.php">Teacher</a> |</p> <p class="food-text">สาขาเทคโนโลยีสารสนเทศ คณะเทคโนโลยีสารสนเทศและการสื่อสาร มหาวิทยาลัยพะเยา,ถนนพหลโยทิน ต.แม่กา อ.เมือง จ.พะเยา 56000</p> <p class="food-text">:: จัดทำเพื่อการศึกษา ในรายวิชา 273495 วิจัยและการจัดทำโครงงาน ::</p> </div></td> </tr> </table> </body> <!-- InstanceEnd --></html>
<!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/elearning.dwt.php" codeOutsideHTMLIsLocked="false" --> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- InstanceBeginEditable name="doctitle" --> <script language="javascript"> function fncSubmit() { /*if(document.form1.rdo1.checked == false && document.form1.rdo2.checked == false && document.form1.rdo3.checked == false && document.form1.rdo4.checked == false) { alert('กรุณาเลือกคำตอบ'); return false; }*/ var error = ''; for(var i = 1; i <= 5; i++){ var radios = document.getElementsByName("select_$idcreate_" + i); if(!radios[0].checked && !radios[1].checked && !radios[2].checked && !radios[3].checked){ error += "Please check " + i +"\n"; } } if(error != ''){ alert(error); return false; } document.form1.submit(); } </script> <title>Untitled Document</title> <!-- InstanceEndEditable --> <style type="text/css"> .food-text {color: #FFF; } .text-menu {color: #CCC; font-weight: bold; } body { background-color: #25D4EF; background-image: url(); background-repeat: repeat-x; } a:link { color: #55DFFF; } a:visited { color: #2A0055; } a:hover { color: #009FAA; } a:active { color: #3FF; } </style> <!-- InstanceBeginEditable name="head" --> <!-- InstanceEndEditable --> </head> <body> <table width="951" height="100%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td height="88"><img src="../picture/e-learnning.jpg" width="951" height="211" /></td> </tr> <tr> <td width="988" valign="top"><table width="100%" height="104" border="0" cellpadding="0" cellspacing="0" background="../blog/images/bg3.gif"> <tr> <td height="33" align="center" bgcolor="#007FAA"><span class="text-menu"> | <a href="../member/index1.php">หน้าหลัก</a> | <a href="../index/about1.php">ข้อมูลทั่วไป </a> | <a href="../index/news.php">ข่าวประชาสัมพันธ์ </a> | <a href="elearn_index.php">E-Learning</a> | <a href="../blog/blog_main.php">Blog </a> | <a href="../webboard/webboard.php"> Webboard</a> | <a href="../index/about3.php">ติดต่อ</a> |</span></td> </tr> <tr> <td bgcolor="#FFFFFF"><!-- InstanceBeginEditable name="content" --> <br /> <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <th height="35" align="left" bgcolor="#00BFAA" scope="col"><strong> Welcome <? echo "$sess_username"; ?> ( <a href="../member/logout.php">Log Out</a> ) </strong></th> </tr> <tr> <th height="55" align="left" scope="col"> <font size="+2" >แบบทดสอบก่อนเรียน</font></th> </tr> <tr> <td><form method="post" action="check_test1.php" name="form1" onSubmit="javascript:return fncSubmit();"> <br /> <?php for($i=1;$i<=5;$i++) {?> <B>ข้อที่ <?php echo $i ?>). $question </B><BR> <input type='radio' name='select_$idcreate_<?php echo $i ?>' value='1' id='rdo1'> $choice1 <BR> <input type='radio' name='select_$idcreate_<?php echo $i ?>' value='2' id='rdo2'> $choice2 <BR> <input type='radio' name='select_$idcreate_<?php echo $i ?>' value='3' id='rdo3'> $choice3 <BR> <input type='radio' name='select_$idcreate_<?php echo $i ?>' value='4' id='rdo4'> $choice4 <BR> <input type= 'hidden' name= 'total_question[]' value='$idcreate'> <input type= 'hidden' name= 'id_view' value='$id_view'> <br>"; <?php } ?> <br /> <input type="submit" value="ส่ง"> <input type="reset" value="ยกเลิก"> </form></td> </tr> <tr> <td> </td> </tr> <tr> <td> </td> </tr> <tr> <td> </td> </tr> <tr> <td><p> </p></td> </tr> </table> <!-- InstanceEndEditable --></td> </tr> </table></td> </tr> <tr> <td height="2" bgcolor="#999999"></td> </tr> <tr> <td height="40" bgcolor="#007FAA"><div align="center"> <p class="food-text">| <img src="../picture/facebook icon.png" alt="" width="16" height="16" align="texttop" /> | <img src="../picture/twiiter.png" alt="" width="16" height="16" align="texttop" /> | <img src="../picture/yutubee.png" alt="" width="16" height="16" align="texttop" /> | <a href="../webboard/webboard.php">Webboard</a> | <a href="../blog/blog_index.php">Blog</a> | <a href="http://www.up.ac.th/">Web:UP</a> | <a href="http://www.ict.up.ac.th/">Web:ICT</a> | <a href="../admin/admin.php">Admin</a> | <a href="../admin/teacher.php">Teacher</a> |</p> <p class="food-text">สาขาเทคโนโลยีสารสนเทศ คณะเทคโนโลยีสารสนเทศและการสื่อสาร มหาวิทยาลัยพะเยา,ถนนพหลโยทิน ต.แม่กา อ.เมือง จ.พะเยา 56000</p> <p class="food-text">:: จัดทำเพื่อการศึกษา ในรายวิชา 273495 วิจัยและการจัดทำโครงงาน ::</p> </div></td> </tr> </table> </body> <!-- InstanceEnd --></html>
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง