<?php require ("connect.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"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>ระบบประเมินภาพรวมศูนย์การจัดการศึกษาพิเศษ(จอมทอง)</title> </head> <form name="frmMain" method="post" action="saveass.php" OnSubmit="return fncSubmit();"> <table width="1184" height="528" border="1"> <tr> <td><?php require("head.php");?></td> </tr> <tr> <td align="center"><table width="1048" height="57" border="1"> <tr bgcolor="#CCCCCC"> <td width="24"> </td> <td colspan="6">ตอนที่ 2 <strong>ความพึงพอใจของผู้ใช้เว็บไซต์</strong></td> </tr> <tr> <td>ข้อ.</td> <td width="599">รายการ</td> <td width="75" align="center">มากที่สุด</td> <td width="67" align="center">มาก</td> <td width="76" align="center">ปานกลาง</td> <td width="69" align="center">น้อย</td> <td width="92" align="center">น้อยที่สุด</td> </tr> </table> <table width="1048" border="1" align="center" cellpadding="1" cellspacing="1"> <?php $strSQL = "select * from tb_question where QuestiontypeID = 1 "; // ดึงมาเฉพาะคำถามสำหรับบุคคลประเภทที่ 1 mysql_query("SET NAMES UTF8"); $objQuery = mysql_query($strSQL) or die ("Error Query [".$strSQL."]"); $Num_Rows = mysql_num_rows($objQuery); $i= 1; $x = 1 ; while($result2 = mysql_fetch_array($objQuery)) { $id_chk = $result2['id_question']; //รหัสคำถาม $name = $result2['question']; // ชื่อคำถาม ?> <tr> <td width="27"><?php echo $x ;?> <input type="hidden" name="questionID<?=$i;?>" value="<?=$id_chk;?>"></td> <td width="598"><?php echo $name ;?></td> <td width="76" align="center"><input name="radionNo<?php $i;?>" id="radionNo<?php $i;?>_1" type="radio" value="5" /></td> <td width="69" align="center"><input name="radionNo<?php $i;?>" id="radionNo<?php $i;?>_2" type="radio" value="4" /></td> <td width="77" align="center"><input name="radionNo<?php $i;?>" id="radionNo<?php $i;?>_3" type="radio" value="3" /></td> <td width="71" align="center"><input name="radionNo<?php $i;?>" id="radionNo<?php $i;?>_4" type="radio" value="2" /></td> <td width="92" align="center"><input name="radionNo<?php $i;?>" id="radionNo<?php $i;?>_5" type="radio" value="1" /></td> </tr> <?php $i++; // ลำดับของ ปุ่ม เรดิโฮ $x++; // ลำดับของคำถาม 1234 } ?> </table> <p> <input type="hidden" name="numRows" value="<?=$Num_Rows;?>"> <input type="hidden" name="hdnRows" value="<?=$i-1;?>"> <input type="submit" name="button" id="button" value="ตอบแบบสอบถาม" /> <input type="hidden" name="UserID" size="5" value="<?=$_GET["UserID"];?>" /> </p></td> </tr> <tr> <td><?php require("footer.php");?></td> </tr> </table> </form> </html>
<tr> <td width="27"><?=$x?> <input type="hidden" name="questionID<?=$i;?>" value="<?=$id_chk;?>"></td> <td width="598"><?=$name?></td> <td width="76" align="center"><input name="radionNo<?=$i;?>" id="radionNo<?=$i;?>_1" type="radio" value="5" /></td> <td width="69" align="center"><input name="radionNo<?=$i;?>" id="radionNo<?=$i;?>_2" type="radio" value="4" /></td> <td width="77" align="center"><input name="radionNo<?=$i;?>" id="radionNo<?=$i;?>_3" type="radio" value="3" /></td> <td width="71" align="center"><input name="radionNo<?=$i;?>" id="radionNo<?=$i;?>_4" type="radio" value="2" /></td> <td width="92" align="center"><input name="radionNo<?=$i;?>" id="radionNo<?=$i;?>_5" type="radio" value="1" /></td> </tr>
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง