<!--
<?php
print <<<EOT
--> 
<table width=100% cellspacing=1 cellpadding=3  class="tablewidth">
  <tr> <form name="form2" method="post" action="?job=list">
      <td>請選擇分類:$sort_fid </td>
    </form>
  </tr>
</table>
<table width='100%' cellspacing='1' cellpadding='3'  class="tablewidth">
  <form name="form1" method="post" action="?lfj=$lfj&action=$job">
    <tr bgcolor='#FFFFFF' class="head"> 
      <td align="center" width="62%">問卷名稱</td>
      <td align="center" width="11%">參與人數</td>
      <td align="center" width="8%">試卷</td>
      <td width="7%" align="center">題目</td>
      <td width="5%" align="center">批閱</td>
      <td width="7%" align="center">清除</td>
    </tr>
    <!--
EOT;
foreach($listdb AS $key=>$rs){
print <<<EOT
-->
    <tr bgcolor='#FFFFFF'> 
      <td width="62%">{$rs[id]}、<a href="../do/exam_write.php?id=$rs[id]" target="_blank">{$rs[name]}</a></td>
      <td width="11%" align="center">{$rs[num]}人</td>
      <td width="8%" align="center"><a href="../do/exam_write.php?id=$rs[id]" target="_blank"><img alt='瀏覽' src='../member/images/icon_view.gif' border=0></a></td>
      <td width="7%" align="center"><a href="index.php?lfj=exam_form&job=manage&id=$rs[id]"><img alt='管理題目' src='../member/images/art_icon.gif' border=0></a></td>
      <td width="5%" align="center"><a href="?lfj=$lfj&job=liststudent&id=$rs[id]"><img alt='批閱管理問卷' src='../member/images/post_icon.gif' border=0></a></td>
      <td width="7%" align="center"><a href="?lfj=$lfj&action=delete&id=$rs[id]" onclick="return confirm('你確實要清除會員已參與調查的數據嗎？不可恢復');"><img alt='清除會員已參與調查的數據' src='../member/images/del_icon2.gif' border=0></a></td>
    </tr>
    <!--
EOT;
}
print <<<EOT
-->
  </form>
</table>
<table width="99%" border="0" cellspacing="0" cellpadding="0">
  <tr> 
    <td align="center">$showpage</td>
  </tr>
  <tr>
    <td align="center">&nbsp;</td>
  </tr>
</table>
<table width='100%' cellspacing='1' cellpadding='3'  class="tablewidth">
  <tr> 
    <td align="left" class="head">幫助說明:</td>
  </tr>
  <tr> 
    <td>1.只有當用戶提交過的問卷，這里才會有顯示。<br>
      2.清除指把會員參與考查的數據清空，但不會刪除此問卷。</td>
  </tr>
</table>
<script language="JavaScript">
<!--
function MM_jumpMenu(selObj){
	va=selObj.options[selObj.selectedIndex].value;
	if(va!=''){
		//window.location.href='?job=list&classid='+va;
		document.form2.submit();
	}
}
function MM_jumpMenu2(selObj){
	va=selObj.options[selObj.selectedIndex].value;
	if(va!=''){
		document.form2.submit();
	}
}
//-->
</script>
<!--
EOT;
?>
-->