<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/SurveyList.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../JS/Browser.js.php"></script>
<script>
function change_type()
{
	select_type = HistoryForm.type.options[HistoryForm.type.selectedIndex].value;
	switch(select_type) 
	{ 
		case '1' :
		    HistoryForm.qmonth.disabled=0;
			HistoryForm.qday.disabled=0;
			HistoryForm.action='DayReport.stats.php?{URL}';
			break;
		case '2' :
		    HistoryForm.qmonth.disabled=0;
			HistoryForm.qday.disabled=1;
			HistoryForm.action='MonthReport.stats.php?{URL}';
			break;
		case '3' :
		    HistoryForm.qmonth.disabled=1;
			HistoryForm.qday.disabled=1;
			HistoryForm.action='YearReport.stats.php?{URL}';break;
	} 
} 
function change_it()
{ 
	select_type=HistoryForm.type.options[HistoryForm.type.selectedIndex].text;
	if (select_type=='日维度')
	{
		select_item_y=HistoryForm.qyear.options[HistoryForm.qyear.selectedIndex].text;
		month29=select_item_y%4;
		select_item_m=HistoryForm.qmonth.options[HistoryForm.qmonth.selectedIndex].text;
		switch(select_item_m) 
		{ 
			case '2' :if (month29==0) {MD(29)}  else {MD(28)};break;
			case '4' : 
			case '6' : 
			case '9' : 
			case '11' : MD(30);break; 
			default : MD(31);break; 
		}
	}
} 
function MD(days)
{ 
	j=HistoryForm.qday.options.length; 
	for(k=0;k<j;k++) HistoryForm.qday.options.remove(0); 
	for(i=0;i<days;i++) { 
		var day=document.createElement("OPTION"); 
		HistoryForm.qday.options.add(day); 
		day.innerText=i+1; 
		HistoryForm.qday.selectedIndex=0
	} 
} 
</script>
<META content="MSHTML 6.00.3790.0" name=GENERATOR></HEAD>
<body oncontextmenu="return false" style="background-color:#244d8f;margin-bottom:15px;">

<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 class="current"><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><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><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=120 nowrap bgcolor="#eeeeee" style="border:0px;border-left:1px #b5cfd9 solid;border-right:1px #b5cfd9 solid" align=center><a href="../Analytics/PanelArea.php?surveyID={surveyID}&surveyTitle={survey_URLTitle}" style="color:#444444">样本地域来源统计</a><IMG SRC="../Images/list_menu_arrow.gif"></td>
	  <td width=120 nowrap bgcolor="#244d8f" style="border:0px;border-right:1px #b5cfd9 solid" align=center><a href="../Stats/index.php?surveyID={surveyID}&surveyTitle={survey_URLTitle}" style="color:white">样本回复时间分布</a><IMG SRC="../Images/list_menu_arrow.gif"></td>
	  <td width=* style="border:0px">&nbsp;</td>
  </tr>
</table>

<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=120 nowrap bgcolor="#eeeeee" style="border:0px;border-left:1px #b5cfd9 solid;border-right:1px #b5cfd9 solid" align=center><a href="../Stats/index.php?surveyID={surveyID}&surveyTitle={survey_URLTitle}" style="color:#444444">概要信息</a><IMG SRC="../Images/list_menu_arrow.gif"></td>
	  <td width=120 nowrap bgcolor="#eeeeee" style="border:0px;border-right:1px #b5cfd9 solid" align=center><a href="YearReport.stats.php?{URL}" style="color:#444444">年维度</a><IMG SRC="../Images/list_menu_arrow.gif"></td>
	  <td width=120 nowrap bgcolor="#eeeeee" style="border:0px;border-right:1px #b5cfd9 solid" align=center><a href="MonthReport.stats.php?{URL}" style="color:#444444">月维度</a><IMG SRC="../Images/list_menu_arrow.gif"></td>
	  <td width=120 nowrap bgcolor="#eeeeee" style="border:0px;border-right:1px #b5cfd9 solid" align=center><a href="DayReport.stats.php?{URL}" style="color:#444444">日维度</a><IMG SRC="../Images/list_menu_arrow.gif"></td>
	  <td width=120 nowrap bgcolor="#244d8f" style="border:0px;border-right:1px #b5cfd9 solid" align=center><a href="History.stats.php?{URL}" style="color:white">历史查询</a><IMG SRC="../Images/list_menu_arrow.gif"></td>
	  <td width=* style="border:0px">&nbsp;</td>
  </tr>
</table>

<form name="HistoryForm" action="DayReport.stats.php?{URL}" method="post">
 <table style="LINE-HEIGHT: 150%;border-collapse:collapse;" cellSpacing=0 cellPadding=0 width="100%" borderColor=#b5cfd9 border=1>
      <tr class=coltitle><td colspan="2"><span class=red>样本回复时间分布历史查询</span></td></tr>
      <tr><td width="121">选择查询维度：</td>
          <td width="*"> 
			 <select name="type" size="1" class="Select" onChange=change_type()>
			   <option value="1" selected>日维度</option>
			   <option value="2">月维度</option>
			   <option value="3">年维度</option>
             </select></td>
      </tr>
      <tr><td>选择查询日期：</td>
          <td> <select name= "qyear" size= "1" class= " SELECT" onChange=change_it()>
			   {yearsList}
               </select> 年 
               <select name= "qmonth" size= "1" class= " SELECT1" onChange=change_it()>
               {monthsList}
               </select> 月 
               <select name= "qday" class= " SELECT1" size= "1" >
               {daysList}
               </select> 日
		  </td>
	  </tr></table><table width=100% style="border:0px;">
	  <tr><td width=15% style="border:0px;"></td>
          <td style="border:0px;"><input name="Action" type="hidden" id="Action2" value="SettingSubmit">
              <input class=inputsubmit type="submit" name="Query2" value="确定" class="Button"> 
              <input class=inputsubmit type="reset" name="Clear2" value="重置" class="Button"> 
          </td>
      </tr>
 </table></form>
</div></div></div></div>
<script>adjustMenuWarpSize();</script>
</body></html>
