<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>
<link href="../CSS/Common.css" rel="stylesheet" type="text/css"/>
<LINK href="../CSS/Window.css" type=text/css rel=stylesheet>
<link href="../CSS/SurveyList.css" rel="stylesheet" type="text/css"/>
<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/Browser.js.php"></script>
<script type="text/javascript" src="../JS/Actions.js.php"></script>
<script language=javascript src="../JS/CheckQuestion.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>
function refreshParent() {
   self.location.replace(self.location.href);
}
var http_request = false;
function AjaxDataListRequest(url)
{
	http_request = false;
	if(window.ActiveXObject){
		try{ http_request = new ActiveXObject("Msxml2.XMLHTTP");}
		catch (e){ try{ http_request = new ActiveXObject("Microsoft.XMLHTTP");} catch (e) {}
		}
	}
	else if(window.XMLHttpRequest){
		http_request = new XMLHttpRequest();
		if (http_request.overrideMimeType){ http_request.overrideMimeType('text/xml');}
	}	
	if (!http_request){ alert("Cannot create an XMLHTTP instance");return false;}
	http_request.onreadystatechange = function() {
	  if( http_request.readyState == 4 && http_request.status == 200) {
			 var theRtn = http_request.responseText.split('######');
			 if( theRtn[0] == 'false' )
			 {
				  $.notification(theRtn[1]);
				  gId('t_userGroupID_text').focus();
			 }
			 else
			 {
				$("#t_userGroupID_container").html(theRtn[1]);
			    gId('SearchUsersSubmit').value = '清空';
			 }
		}
	}
	http_request.open('GET', url, true);
	http_request.send(null);
}
function AjaxInitRequest(url)
{
	http_request = false;
	if(window.ActiveXObject){
		try{ http_request = new ActiveXObject("Msxml2.XMLHTTP");}
		catch (e){ try{ http_request = new ActiveXObject("Microsoft.XMLHTTP");} catch (e) {}
		}
	}
	else if(window.XMLHttpRequest){
		http_request = new XMLHttpRequest();
		if (http_request.overrideMimeType){ http_request.overrideMimeType('text/xml');}
	}	
	if (!http_request){ alert("Cannot create an XMLHTTP instance");return false;}
	http_request.onreadystatechange = function() {
	  if( http_request.readyState == 4 && http_request.status == 200) {
			 var theRtn = http_request.responseText;
			 $("#t_userGroupID_container").html(theRtn);
			 gId('SearchUsersSubmit').value = '清空';
		}
	}
	http_request.open('GET', url, true);
	http_request.send(null);
}
function checkUserSubmit(groupId)
{
	if( document.getElementById('t_userGroupID') == null )
	{
		if(Trim(gId('t_userGroupID_text').value) == '' )
		{
			$.notification("输入节点名中的关键字获得可选择的节点列表!");
			gId('t_userGroupID_text').focus();
		}
		else
		{
			AjaxDataListRequest("../System/AjaxUserNodes.php?projectOwner={projectOwner}&surveyID={surveyID}&t_name="+Trim(gId('t_userGroupID_text').value));		
		}
	}
	else
	{
		gId('t_userGroupID_container').innerHTML = "<input name=\"t_userGroupID_text\" id=\"t_userGroupID_text\" size=30>";
		gId('SearchUsersSubmit').value = '检索';
	}
}
function Init()
{
	if( {t_userGroupID} != '' )
	{
		AjaxInitRequest("../System/AjaxShowUserNode.php?t_userGroupID={t_userGroupID}");
	}
}
</script>
<META content="MSHTML 6.00.3790.0" name=GENERATOR></HEAD>
<body oncontextmenu="return false" style="background-color:#244d8f;" onload="javascript:AjaxShowDataSource({surveyID},2);">

<div style="line-height:10px">&nbsp;</div>
<div id="menu">
  <span style="float:left;padding-left:26px;"><div class="navmenu">数据报告中心 &raquo; 指标分析数据</div></span>
  <span style="float:right">
  <ul><li><a href="../System/ShowMain.php">我的问卷</a></li>
      <li><a href="../Analytics/DataOverview.php?surveyID={surveyID}&surveyTitle={survey_URLTitle}">标准报告</a>
      <li><a href="../Analytics/DefineReport.php?surveyID={surveyID}&surveyTitle={survey_URLTitle}">自定义报告</a></li>
      <li><a href="../Analytics/DataList.php?surveyID={surveyID}&surveyTitle={survey_URLTitle}">回复数据</a></li>
      <li><a href="../Analytics/EventAward.php?surveyID={surveyID}&surveyTitle={survey_URLTitle}">调查奖励</a></li>
      <li><a href="../Analytics/PanelArea.php?surveyID={surveyID}&surveyTitle={survey_URLTitle}">样本来源</a></li>
      <li><a href="../Analytics/TaskResult.php?surveyID={surveyID}&surveyTitle={survey_URLTitle}">计划任务</a></li>
      <li class="current"><a href="../Analytics/SurveyIndexResult.php?surveyID={surveyID}&surveyTitle={survey_URLTitle}">指标分析</a></li>
	  </ul></span>
</div>

<div class="wrap q_clear" id=wrap>
<div>
<div class=content>
<div class=q_clear id=mysurvey><h1>[<font color=red>{surveyTitle}</font>] 指标分析</h1>
<p class=surveynum>[ <span class=red>{totalResponseNum}</span> 记录 ]</p><br/></div>
<div id=myname>基于项目需要，组合问卷内一个或多个问题为一个评估指标，用以需要观察样本在不同指标维度上的分值表现</div>
<div class="datalist">

<table class=datatable width=100% cellspacing=0 cellpadding=0 style="border-left:0px;border-right:0px">
  <tr>
      <td width=1% noWrap style="border:0px">&nbsp;</td>
      <td width=107 nowrap style="border:0px"><b>选择数据处理方向</b></td>
      <td width=110 nowrap bgcolor="#eeeeee" align=center style="border-left:1px #b5cfd9 solid;border-right:1px #b5cfd9 solid;border-bottom:0px"><a href="../Analytics/SurveyIndexResult.php?surveyID={surveyID}&surveyTitle={survey_URLTitle}" style="color:#444444">分析数据生成</a><IMG SRC="../Images/list_menu_arrow.gif"></td>
	  <td width=110 nowrap bgcolor="#244d8f" align=center style="border-right:1px #b5cfd9 solid;border-bottom:0px"><a href="../Analytics/SurveyIndexResult.php?surveyID={surveyID}&surveyTitle={survey_URLTitle}&Does=List" style="color:white">指标分析数据</a><IMG SRC="../Images/list_menu_arrow.gif"></td>
	  <td width=110 nowrap bgcolor="#eeeeee" align=center style="border-right:1px #b5cfd9 solid;border-bottom:0px;display:{isProjectType1}"><a href="../Analytics/SurveyIndexResult.php?surveyID={surveyID}&surveyTitle={survey_URLTitle}&Does=Rank" style="color:#444444">指标分析排名</a><IMG SRC="../Images/list_menu_arrow.gif"></td>
	  <td width=110 nowrap bgcolor="#eeeeee" align=center style="border-right:1px #b5cfd9 solid;border-bottom:0px;display:{isProjectType1}"><a href="../Analytics/SurveyIndexResult.php?surveyID={surveyID}&surveyTitle={survey_URLTitle}&Does=Match" style="color:#444444">指标分析对比</a><IMG SRC="../Images/list_menu_arrow.gif"></td>
	  <td width=110 nowrap bgcolor="#eeeeee" align=center style="border-right:1px #b5cfd9 solid;border-bottom:0px;"><a href="../Analytics/SurveyIndexResult.php?surveyID={surveyID}&surveyTitle={survey_URLTitle}&Does=Weight" style="color:#444444">设定选项权重值</a><IMG SRC="../Images/list_menu_arrow.gif"></td>
 	  <td width=* style="border:0px;border-right:0px;">&nbsp;</td>
 </tr>
</table>

 <script src="../JS/AjaxDataSource.js.php"></script>
 <script>
 function refreshDataSource(){
	AjaxShowDataSource({surveyID},2);
 }
 </script>

<form name="Check_Form" id="Check_Form" method="POST" action="">
<div id="dataSourceTable"><div id="dataloading" style="background-color:#f0f0f0;width:160px;overflow:hidden;white-space:nowrap;color:black;font-weight:bold;-moz-border-radius-bottomright:5px;-webkit-border-bottom-right-radius:5px;-khtml-border-bottom-right-radius:5px;border-bottom-right-radius:5px;">&nbsp;<img src="../Images/wait.gif" width="16px" height="16px">&nbsp;正在加载数据源...&nbsp;</div></div>

<table class=datatable id="datatable" style="border-bottom:0px;border-top:0px" cellspacing=0 cellpadding=0>
   <tr><td colspan=17>
	  <span style="float:left">
	  <IMG SRC="../Images/search.gif"> 查找序号为：<input type="text" name="t_responseID" value="{t_responseID}" size=10>
	  样本标识中包含：<input type="text" name="t_name" value="{t_name}" size=15>	    
		<select name="area" id="area" style="width:140px;*width:150px">
		    <option value=''>请选择来源...</option>
            {area_list}
        </select>
	    <input name="Action" type="hidden" id="Action" value="querySubmit"> 
        <input type="submit" class=inputsubmit name="Submit" value="查询"><br/>
		<span style="display:{isProjectType1}">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;用户节点为：<span id="t_userGroupID_container"><input name="t_userGroupID_text" id="t_userGroupID_text" size=30></span>&nbsp;<input name="SearchUsersSubmit" class=inputsubmit type="button" id="SearchUsersSubmit" value="检索" onclick="javascript:checkUserSubmit();"></span>
	 </span>
	 <span style="float:right"><a href={exportExportURL}><IMG SRC="../Images/excel.gif">&nbsp;导出分析数据</a>&nbsp;</span>
   </td></tr>
   </form>
   <tr class=coltitle> 
	  <td width=1% noWrap>&nbsp;</td>
	  <td width=4% noWrap style="font-size:11px;padding-left:0px;padding-right:0px;" align=center>&nbsp;<strong>序号</strong></td>
      <td width=20% noWrap style="font-size:11px;padding-left:0px;padding-right:0px;">&nbsp;<strong>样本标识</strong></td>
      <td width=8% noWrap style="font-size:11px;padding-left:0px;padding-right:0px;">&nbsp;<strong>来源</strong></td>
      <td width=* noWrap style="font-size:11px;padding-left:0px;padding-right:0px;"><strong>&nbsp;总分</strong></td>
	  {indexNameList}
	  <td width=7% align=center nowrap style="font-size:11px;"><strong>&nbsp;操作</strong></td>
   </tr>
   <!-- BEGIN LIST -->
   <tr onmouseover="this.style.backgroundColor='#DEEFFF'"  onmouseout="this.style.backgroundColor='#FFFFFF'"> 
      <td noWrap>&nbsp;</td>
      <td style="font-size:11px;background-color:{noHaveAll};padding-left:0px;padding-right:0px;" align=center nowrap>{responseID}&nbsp;</td>
      <td style="font-size:11px;padding-left:0px;padding-right:0px;" nowrap>&nbsp;{administratorsName}</td>
      <td style="font-size:11px;padding-left:0px;padding-right:0px;">&nbsp;{area}</td>
      <td style="font-size:11px;padding-left:0px;padding-right:0px;">&nbsp;{surveyGrade}</td>
  	  {indexValueList}
      <td align=center><a href="{viewURL}">详细</a></td>
   </tr>
   <!-- END LIST -->
  </table>
</div>
<div class=pages>{pagesList}</div>
</div></div></div>
<script>Init();parent.document.getElementById("the_content_iframe").contentWindow.document.body.style.overflowX='auto';</script>

<link href="../CSS/Notifier.css" type=text/css rel=stylesheet>
<script type="text/javascript" src="../JS/Jquery.notifier.min.js.php"></script>
<script>
	  var mOptions = {};
	  mOptions.lifeTime = 0;
	  if( {isEvalUsers} == 1 )
	  {
		  $.jnotify('购买信息', '想获得更多功能和更高软件版本？可访问<a href="http://www.enableq.com/cn/buy/price.html" target=_blank>www.enableq.com</a>网站查询相关购买信息', '../Images/admin.png', mOptions);
	  }
</script>
</body></html>
