<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"/>
<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 language="javascript"> 
function dynimgsize(o){
	var zoom = parseInt(o.style.zoom, 10)||100;zoom+=event.wheelDelta/12;if (zoom>0) o.style.zoom=zoom+'%';
	return false;
}
</script> 
<style>
  td { padding:2px 5px 2px 5px;}
  table {margin-bottom:4px;}
</style>
<script type="text/javascript" src="../JS/Browser.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" />

<META content="MSHTML 6.00.3790.0" name=GENERATOR></HEAD>
<body oncontextmenu="return false" style="background-color:#244d8f;margin-bottom:15px;" 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 class="current"><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><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><span class=red>*</span> 依据设定的调查奖励可分配的奖品，指定这些奖励归属谁所有</div>

<div class="datalist">

<table class=datatable width=100% cellspacing=0 cellpadding=0 style="border-left:0px;border-right:0px">
  <tr><td width=120 nowrap bgcolor="#eeeeee" style="border:0px;border-left:1px #b5cfd9 solid;border-right:1px #b5cfd9 solid" align=center><a href="../Analytics/EventAward.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="{productURL}" 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={awardURL} style="color:white">指定奖品分配</a><IMG SRC="../Images/list_menu_arrow.gif"></td>
	  <td width=* style="border:0px;border-right:0px #b5cfd9 solid;">&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" cellspacing=0 cellpadding=0>
   <tr class=coltitle>
	  <td width=1% noWrap>&nbsp;</td>
      <td height=30><b>选择对应奖励类别</b>&nbsp;&nbsp;
        <select name="awardType" id="awardType" onchange="this.form.submit();">
		   <option value=''>请选择对应的奖项类别...</option>
		   <!-- BEGIN AWARDS -->
		   <option value='{awardListID}' {awardType_selected}>&nbsp;{awardType}&nbsp;{awardProduct}&nbsp;({awardNum}名，已分配{awardOverNum}名)</option>
		   <!-- END AWARDS -->
        </select>
	</td></tr>
	<tr><td align=right colspan=2><b>符合条件的样本总数：</b><span class=red>{totalResponseNum}</span>&nbsp;</td></tr>
 </table>
</form>

</div>

<div>
  <form name="Award_Form" method="POST">
  <table style="LINE-HEIGHT: 150%;border-collapse:collapse;" cellSpacing=0 cellPadding=0 width="100%" borderColor=#b5cfd9 border=1 style="display:{isOver}">
   <tr><td colspan=2 bgcolor="#f5f5f5" style="font-size:14px"><b>基本信息</b></td></tr>
   <tr><td nowrap width=15% class="option">&nbsp;回复时间(开始)</td>
       <td>&nbsp;{joinTime}</td>
   </tr>
   <tr><td nowrap width=15% class="option">&nbsp;回复时间(结束)</td>
       <td>&nbsp;{submitTime}</td>
   </tr>
   <tr><td class="option">&nbsp;用时</td>
       <td>&nbsp;{overTime}</td>
   </tr>
   <tr><td class="option">&nbsp;完成标记</td>
       <td>&nbsp;{overFlag}</td>
   </tr>
  <tr><td class="option">&nbsp;样本标识</td>
       <td>&nbsp;{administratorsName}<input type="hidden" name="administratorsName" value="{administratorsName}"></td>
   </tr>
   <tr><td class="option">&nbsp;地址标识</td>
       <td>&nbsp;{ipAddress}<input type="hidden" name="ipAddress" value="{ipAddress}"></td>
   </tr>
   <tr><td class="option">&nbsp;来源</td>
       <td>&nbsp;{area}</td>
   </tr>
   <tr style="display:{isHaveGroup}"><td class="option">&nbsp;样本分组</td>
       <td>&nbsp;{administratorsGroupName}</td>
   </tr>
   {ajaxRtnValue}
   </table>

  <table style="LINE-HEIGHT: 150%;border-collapse:collapse;display:{isHaveGps}" cellSpacing=0 cellPadding=0 width="100%" borderColor=#b5cfd9 border=1>
   <tr style="display:{isHaveGps}"><td colspan=2 bgcolor="#f5f5f5" style="font-size:14px"><b>设备和GPS信息</b></td></tr>
   <tr style="display:{isHaveGps}"><td class="option" width=15%>&nbsp;设备和SIM卡信息</td>
       <td>&nbsp;{simInfo}</td>
   </tr>
   <tr style="display:{isHaveGps}"><td class="option">&nbsp;GPS信息</td>
       <td>&nbsp;{gpsInfo}</td>
   </tr>
   </table>

   <table style="LINE-HEIGHT: 150%;border-collapse:collapse;" cellSpacing=0 cellPadding=0 width="100%" borderColor=#b5cfd9 border=1 style="display:{isOver}">
   <tr><td colspan=2 bgcolor="#f5f5f5" style="font-size:14px"><b>问卷回复信息</b></td></tr>
    <tr><td colspan=2>
    <!-- BEGIN QUESTION -->
     <table width="100%">
	   {questionList}
     </table>
    <!-- END QUESTION -->
   </td></tr>
   </table>
   
   <table width="100%" style="border:0px" style="display:{isOver}">
     <tr> 
       <td style="border:0px">
	      <input name="Action" type="hidden" value="AwardRandSubmit">
		  <input name="responseID" type="hidden" value="{responseID}">
		  <input name="surveyID" type="hidden" value="{surveyID}">
		  <input name="awardListID" type="hidden" value="{awardTypeID}">
		  <input class=inputsubmit type="submit" name="submit" value="&nbsp;&nbsp;&nbsp;确定&nbsp;&nbsp;&nbsp;" {awardNoResult}>
	      <input class=inputsubmit name="recall" type="button" value="重新抽取"  onClick="javascript:window.location.href='{reCallURL}'">
       </td>
   </tr>
   </table></td></tr>
   </form>
  </table>
  
  <table width="100%" style="border:0px">
    <tr><td style="border:0px;padding-left:0px;"><IMG SRC="../Images/notes.gif">：指定奖品分配指设定调查奖励对应奖项类别下的奖品具体归属<br/>
	  <IMG SRC="../Images/clerk.gif">：指定奖品分配可使用数据源定义，在数据过滤后的范围内进行<br/>
	  <IMG SRC="../Images/clerk.gif">：系统默认原已获得奖励的IP地址或样本标识名将不再获取任一问卷的调查奖励<br/>
	  <IMG SRC="../Images/clerk.gif">：系统默认调查奖励仅在已完成的数据范围内抽取<br/>
	</td></tr>
  </table>
</div>
</div></div></div>
</body></html>
