<html>
<head>
<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" type="text/css"/>
<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>
<link href="../CSS/SurveyList.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../JS/Browser.js.php"></script>
<script>
function refreshParent() {
   //self.location.replace(self.location.href);
   self.location.href = '{quotaURL}';
}
</script>
<body oncontextmenu="return false" style="background-color:#244d8f;">

<div style="line-height:10px">&nbsp;</div>
<div id="menu">
  <span style="float:left;padding-left:26px;"><div class="navmenu">我的问卷 &raquo; {surveyTitle}</div></span>
  <span style="float:right">
  <ul><li><a href="ShowMain.php">我的问卷</a>
      <li><a href="{questionListURL}">调查问题</a></li>
	  <li><a href="{logicURL}">逻辑关系</a></li>
	  <li><a href="{relationURL}">数值关联</a></li>
	  <li class="current"><a href="{quotaURL}">问卷配额</a></li>
	  <li style="display:{isDesignMode}"><a href="{weightURL}">选项权重</a></li></ul></span>
</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>&nbsp;
<input class=inputsubmit name="createNew" type="button" id="createNew" value="新增定义" onclick="javascript:showPopWin('{newQuotaURL}', 700, 280, refreshParent, null,'新增问卷配额定义')">&nbsp;<input class=inputsubmit name="updateNow" type="button" id="updateNow" value="修订定义" onclick="javascript:showPopWin('{updateQuotaURL}', 700, 470, refreshParent, null,'修订问卷配额定义')"><br/></div>
<div id=myname>配额（&nbsp;<a onmouseover="this.T_WIDTH=500;this.T_PADDING=0;this.T_BGCOLOR='#ffffff'; return escape('&nbsp;举例：若您的问卷仅需要250位男性及300位女性回复样本<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;您可以定义一个配额，限制是250，在配额的性别题目中的答案选项是男性<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;然后您建立另一个配额，限制是300，在第二个配额的性别题目中的答案选项是女性<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;这样您的问卷只能有最多250位男性及最多300位女性有权填写问卷')" href="javascript:void(0);"><font color=red><b>?</font></a></b>&nbsp;）一般用以限制在某一种特征条件成立前提下的样本回复数量，甄别是一种配额限制为0的特殊配额</div>
<a name="top" href="javascript:void(0);"></a>
<div class="datalist">
 <table class=datatable id="datatable" style="border-bottom:0px;" cellspacing=0 cellpadding=0>
   <tr class=coltitle>
      <td width=82% noWrap>&nbsp;<B>配额名称</B></td>
	  <td width=8% nowrap align=center>&nbsp;<B>配额限制</B></td>
      <td width=10% noWrap align=center><b>操 作</b> </td>
   </tr>
   <!-- BEGIN QUOTA -->
   <tr height=25 onmouseover="this.style.backgroundColor='#deefff'" onmouseout="this.style.backgroundColor='#ffffff'"> 
      <td>&nbsp;<b>{quotaName}</b></td>
	  <td align=center bgcolor="#efefef">&nbsp;<b>{quotaNum}</b></td>
      <td noWrap align=center>
	       <A href="javascript:void(0);" onclick="javascript:showPopWin('{newQtnQuotaURL}', 900, 390, refreshParent, null,'新增单一配额定义')">新增</A>&nbsp;
		   <A href="{editURL}">修改</A>&nbsp;
		   <A href="{deleteURL}" onclick="return window.confirm('您真的想删除该条配额定义吗？本操作不可恢复！')">删除</A>
	  </td>
   </tr>
   <tr>
     <td colspan=3 align=left bgcolor="#f5fafe" height=25>{conList}</td>
   </tr>
   <!-- END QUOTA -->
</table>
<table width=100% style="border:0px;margin:0px;padding:0px;"><tr><td align=right style="border:0px;margin:0px;padding:0px;">&nbsp;<a name="footer" href="#top"><img src="../Images/top.gif" align="middle" alt="TOP"></a></td></tr></table>
</div>
</div></div></div>
<script>adjustMenuWarpSize();</script>
<script language=javascript src="../JS/Example.js.php"></script>

<link href="../CSS/Notifier.css" type=text/css rel=stylesheet>
<script type="text/javascript" src="../JS/Jquery.min.js.php"></script>
<script type="text/javascript" src="../JS/Jquery.notifier.min.js.php"></script>
<script>
	  var mOptions = {};
	  mOptions.lifeTime = 0;
	  if( {recHaveNum} == 0 )
	  {
		  $.jnotify('样本甄别', '举例：当第1题选择了“不同意”的情形下问卷直接结束，那么建立限制为0的配额并基于第1题选择“不同意”', '../Images/admin.png', mOptions);
		  $.jnotify('问卷配额', '您需要先定义一个配额，指定配额限制等所需信息，再基于创建的配额来指定其逻辑运算条件', '../Images/admin.png', mOptions);
		  $.jnotify('更多提示信息', '鼠标移向界面左上角的<font color=red>红色问号?</font>可得到更详细提示', '../Images/admin.png', mOptions);
	  }
</script>

</body></html>