<div class=q_clear id=myheadertext><h1>列出<span class=red>[{surveyTitle}]</span>问卷中问题</h1><p class=recnumclass>[ <span class=red>{totalRecNum}</span> 问题 ]</p>&nbsp;<br/></div>
<div id=myname></div>
<div style="font-size:12px;margin-bottom:8px;">
<a href="../d.php?qid={surveyID}" target=_blank><div class=inputsubmit style="width:60px;*width:95px;height:16px;float:left;display:{isHaveSite};position:relative;" onmousedown="this.style.left='1px';this.style.top='1px';" onmouseup="this.style.left='0px';this.style.top='0px';" id="preSurvey" name="preSurvey">预览问卷</div></a>
<input class=inputsubmit style="display:{isHaveSite}" name="deploySurvey" type="button" id="deploySurvey" value="执行问卷" onclick="if(window.confirm('您确定把设计好的问卷开始发布执行？该问卷将不能再执行问卷设计操作！？')){window.location.href='ShowSurveyList.php?Action=ChangeStatus&surveyID={surveyID}&status=1&surveyTitle={surveyTitle}';}">
<input class=inputsubmit style="display:{isHaveSite}" name="exportNew" type="button" id="exportNew" value="导出问题" onclick="window.location.href='../Export/Export.text.inc.php?surveyID={surveyID}'">
<input class=inputsubmit name="importNew" type="button" id="importNew" value="导入问题" onclick="javascript:showPopWin('{importURL}', 720, 230, refreshParent, null,'自TXT文件导入问卷问题')">
<input class=inputsubmit name="copyNew" type="button" id="copyNew" value="复制问题" onclick="javascript:showPopWin('{copySurveyURL}', 720, 410, refreshParent, null,'自现有问卷中复制问题新增')">
<input class=inputsubmit name="createNew" type="button" id="createNew" value="新增问题" onclick="javascript:qtnAddAction();"></div>

<div id="nonesite" class="nonewebsite" style="display:{noneSite}">
  <div class="title"><h2>问卷中尚不存在任一调查问题？</h2></div>
  <div class="info"><p>为调查问卷新增调查问题，才有完整的调查问卷设计，才能利用EnableTQA强大功能对其进行数据收集与分析</p></div>
  <div class="createbtn"><a href="javascript:void(0);" onclick="javascript:qtnAddAction();"><img src="../Images/create_qtn.gif" border=0></a>&nbsp;</div>
</div>

<div class="datalist" style="position: relative" style="display:{isHaveSite}">
<table class=datatable id="datatable" cellspacing=0 cellpadding=0 style="display:{isHaveSite}">
<tr class=coltitle>
  <td width=2% noWrap>&nbsp;</td>
  <td width=*>&nbsp;<B>题目文字</B></td>
  <td width=11% noWrap align=center><B>题型</B></td>
  <td width=13% noWrap align=center><strong>排序</strong></td>
  <td width=7% noWrap align=center><b>操 作</b> </td>
</tr>
<!-- BEGIN QUESTION -->
<tr onmouseover="this.style.backgroundColor='#DEEFFF'" onmouseout="this.style.backgroundColor='#FFFFFF'"> 
  <td><input name="questionID[]" type="checkbox" id="questionID[]" value="{questionID}"><input name="isRequired[{ID}]" type="hidden" id="isRequired[{ID}]" value="{isRequired}"></td>
  <td bgcolor="{logic_color}">{questionName}</td>
  <td align=center bgcolor="{qtn_color}">{questionType}<input name="questionType[{ID}]" type="hidden" id="questionType[{ID}]" value="{qtnType}"></td>
  <td align=right>
	  {orderAction}
	  <input name="orderByID[{ID}]" type="text" id="orderByID[{ID}]" value="{orderByID}" size="5" maxlength="15" readonly></td>
  <td align=center><a href="javascript:void(0);" onclick="_ShowQtnActionBox(700,50,'{actionStr}');">操作</a></td>
</tr>
<!-- END QUESTION -->
<tr><td height="15" colspan="7">
	<span style="float:left"> 
		<input name="all" type="checkbox" id="all" value="all" onclick="checkall(this.form)" style="background-color:#ffffff">
		<input name="surveyID" type="hidden" id="surveyID" value="{surveyID}"> 
		<select name="newQuestionType" id="newQuestionType">
		  <option value=''>在当前选中问题前插入合适题型...</option>
		  <option value='2'>单选题</option>
		  <option value='3'>多选题</option>
		  <option value='24'>复合单选题</option>
		  <option value='25'>复合多选题</option>
		  <option value='6'>矩阵单选题</option>
		  <option value='4'>填空题</option>
		  <option value='5'>多行填空题</option>
		  <option value='23'>组合填空题</option>
		  <option value='10'>排序题</option>
		  <option value='15'>评分题</option>
		  <option value='16'>比重题</option>
		  <option value='9'>段落小节</option>
		</select>
		<input name="InsertNewQtnSubmit" class=inputsubmit type="submit" id="InsertNewQtnSubmit" value="插入问题" onclick="return  window.confirm('您确定在当前选中的问题前都插入对应问题？')">
		<input name="InsertPageBreakSubmit" class=inputsubmit type="submit" id="InsertPageBreakSubmit" value="插入分页" onclick="return  window.confirm('您确定在当前选中的问题前都插入一个分页标记？')">
		<input name="DeleteQuestionSubmit" class=inputsubmit type="submit" id="DeleteQuestionSubmit" value="删除问题" onclick="return window.confirm('您真的想删除当前选中的问题吗？本操作不可恢复！')">
		<input name="UpdateIsRequireSubmit" class=inputsubmit type="submit" id="UpdateIsRequireSubmit" value="开闭必答">
		<input class=inputsubmit name="createNew" type="button" id="createNew" value="新增问题" onclick="javascript:qtnAddAction();">
	</span>
	<span style="float:right">&nbsp;<a name="footer" href="#top"><img src="../Images/top.gif" align="middle" alt="TOP"></a></span>
</td></tr>
</table>
<table width="100%" style="border:0px;" style="display:{isHaveSite}">
   <tr style="display:{isHaveSite}"> 
    <td style="border:0px;padding-left:0px;display:{isHaveSite}"><B><IMG src="../Images/notes.gif" alt=已封存 border=0></B><strong>：</strong>点击<IMG src="../Images/arrow_up.gif">或<IMG src="../Images/arrow_down.gif">可调整问题在问卷中的显示顺序<br>
	<B><IMG src="../Images/notes.gif" alt=已封存 border=0></B><strong>：</strong><span class=red>*</span>表示该问题为必答题；背景为黄色的问题表明该题存在逻辑关系。
	</td>
   </tr>
</table></div>