<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 = '{relationURL}';
}
</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 class="current"><a href="{relationURL}">数值关联</a></li>
	  <li><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('{newRelationURL}', 800, 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;举例：第6题的回复数值和第8题的回复数值之和不少于第10题的回复数值<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;或者第11题的回复数值减去第12题的回复数值要等于100<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;或者第15题的回复数值要小于等于第16题的回复数值<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;等等...')" href="javascript:void(0);"><font color=red><b>?</font></a></b>&nbsp;）</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=90% noWrap>&nbsp;<B>数值及运算关系</B></td>
      <td width=10% noWrap align=center><b>操 作</b> </td>
   </tr>
   <!-- BEGIN REL0 -->
   <tr height=25 onmouseover="this.style.backgroundColor='#deefff'" onmouseout="this.style.backgroundColor='#ffffff'"> 
      <td>&nbsp;<b>{relationList}</b></td>
      <td noWrap align=center>
		   <A href="javascript:void(0);" onclick="javascript:showPopWin('{editURL}', 800, 470, refreshParent, null,'修改数值关联定义')">修改</A>&nbsp;
		   <A href="{deleteURL}" onclick="return window.confirm('您真的想删除该条数值关联定义吗？本操作不可恢复！')">删除</A>
	  </td>
   </tr>
   <tr>
     <td colspan=2 align=left bgcolor="#f5fafe" height=25>{conList}</td>
   </tr>
   <!-- END REL0 -->
</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('数值关联举例', '举例：第6题的回复数值和第8题的回复数值之和不少于第10题的回复数值', '../Images/admin.png', mOptions);
		  $.jnotify('建立数值关联关系', '您可以建立这样的数值关联关系：运算符为大于等于，运算结果为第10题的回复值，运算条件为第6题加第8题', '../Images/admin.png', mOptions);
		  $.jnotify('更多提示信息', '数值关联关系仅能在数值开放问题之间建立，鼠标移向界面上方中间的<font color=red>红色问号?</font>得到更详细提示', '../Images/admin.png', mOptions);
	  }
</script>

</body></html>