<html><head><title>定义常用选项</title>
<meta http-equiv=content-language content=zh-cn>
<meta http-equiv=content-type content="text/html; charset=gb2312">
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">
<LINK href="../CSS/Base.css" rel=stylesheet>
<link href="../CSS/Common.css" rel="stylesheet" type="text/css"/>
<LINK href="../CSS/Window.css" type=text/css rel=stylesheet>
<script type="text/javascript" src="../JS/Common.js.php"></script>
<script type="text/javascript" src="../JS/Window.js.php"></script>
<script type="text/javascript" src="../JS/Jquery.min.js.php"></script>
<script type="text/javascript" src="../JS/Jquery.notification.js.php"></script>
<link type="text/css" rel="stylesheet" href="../CSS/Notification.css" />
<script language=javascript src="../JS/CheckQuestion.js.php"></script>
<script language=javascript src="../JS/HighLight.js.php"></script>
<script language=javascript>
function Check_Form_Validator()
{
	if (!CheckNotNull(Check_Form.optionCate, "分类")) {return false;}
	if (!CheckNotNull(Check_Form.optionName, "常用选项")) {return false;}
}
function refreshParent() {
   //self.location.replace(self.location.href);
   self.location.reload();
}
</script>
<META content="MSHTML 6.00.3790.0" name=GENERATOR></HEAD>
<body oncontextmenu="return false" style="background-color:#244d8f;">

<div style="line-height:10px">&nbsp;</div>
<div id=nav><a href="../System/ShowMain.php">我的问卷</a> &raquo; 定义常用选项</div>
<div class="wrap q_clear" id=wrap>
<div>
<div class=content>
<div class=q_clear id=mysurvey><h1>定义常用的问题选项</h1><p class=surveynum>[ <span class=red>{recNum}</span> 分类 ]</p><br/></div>
<div id=myname></div>
<div class="datalist">
  <table style="LINE-HEIGHT: 150%;border-collapse:collapse;" cellSpacing=0 cellPadding=0 width="100%" borderColor=#b5cfd9 border=1>
        <tr><td bgcolor="#e9e9e9" colspan=3><b>列出已定义的常用选项</b></td></tr>
        <tr class=coltitle>
          <td width=25%>&nbsp;<b>分类</b></td>
          <td width=65% align=center><strong>常用选项</strong></td>
          <td width=10% nowrap align=center><strong>操作</strong></td>
        </tr>
        <!-- BEGIN OPTION -->
        <tr onmouseover="this.style.backgroundColor='#DEEFFF'"  onmouseout="this.style.backgroundColor='#FFFFFF'">
          <td>&nbsp;{optionCate}</td>
          <td align=center>{optionName}</td>
          <td nowrap align=center>
		   <a href="javascript:void(0);" onclick="javascript:showPopWin('{editURL}', 700, 270, refreshParent, null,'修订“{optionCate}”常用选项')">编辑</a>&nbsp;<a href="{deleteURL}" onclick="return window.confirm('您真的想删除本常用选项吗？')">删除</a> 
		  </td>
        </tr>
        <!-- END OPTION -->
      </table>
	   <form name="Check_Form" method="post" action="" onsubmit="return Check_Form_Validator()">
	  <table style="LINE-HEIGHT: 150%;border-collapse:collapse;" cellSpacing=0 cellPadding=0 width="100%" borderColor=#b5cfd9 border=1>
      <tr><td bgcolor="#e9e9e9" colspan=2><b>创建新的常用选项</b></td></tr>
		<tr>
			<td bgcolor="#f5f5f5" align=right colspan=2><SPAN style="PADDING-RIGHT: 16px">注：以下带“<SPAN  class=red>*</SPAN>”的为必填项</SPAN></td></tr>
		<tr> 
			<td width="12%" height="25"><span class=red>*</span> 分类：</td>
			<td width="88%"><input class="textInput" name="optionCate" type="text" id="optionCate" size="30">
	　　　</td>
	   </tr>
	   <tr> 
		   <td height="25"><SPAN class=red>*</SPAN> 常用选项：</td>
		   <td><textarea rows=6 cols=70 name="optionName"></textarea> (在此输入常用选项，每个选项一行)</td>
	   </tr></table><table width=100% style="border:0px;">
	   <tr><td width=12% style="border:0px;"></td> 
		 <td style="border:0px;">
			 <input name="Action" type="hidden" value="OptionAddSubmit">
			 <input name="submit" type="submit" class=inputsubmit id="submit" value="确定"> 
			 <input name="reset" type="reset" class=inputsubmit value="重置">
		  </td>
		</tr>
	  </form>
	  </td></tr>
 </table>
 <script type="text/javascript">initInputHighlightScript();</script> 
</div>
</div></div></div>
<script type="text/javascript" src="../JS/CssPatch.js.php"></script>
</body></html>