<html>
<head>
<META http-equiv=Content-Language content=zh-cn>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<link href="../CSS/Base.css" rel="stylesheet" type="text/css"/>
<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>
<LINK href="../CSS/Actions.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 type="text/javascript" src="../JS/Actions.js.php"></script>
<script>
function referIframeSrc(theURL) {
   window.location.href = theURL;
}
function reloadAjaxContent(returnVal) {
	var postStr = '&surveyID=' + returnVal + "&randid="+Math.random(); 
	ajax_Post_Action('AjaxSurveyAction.php',postStr);
}
function isIE6() {
  var userAgent = navigator.userAgent.toLowerCase();
  var is_opera = userAgent.indexOf('opera') != -1 && opera.version();
  var is_moz = (navigator.product == 'Gecko') && userAgent.substr(userAgent.indexOf('firefox') + 8, 3);
  var is_ie = (userAgent.indexOf('msie') != -1 && !is_opera) && userAgent.substr(userAgent.indexOf('msie') + 5, 3);
  var is_mac = userAgent.indexOf('mac') != -1;
  var is_opera = userAgent.indexOf('opera') != -1 && opera.version();
  if( is_ie && (window.navigator.userAgent.indexOf('MSIE 5')>-1 || window.navigator.userAgent.indexOf('MSIE 6')>-1) )
  {
	 $('menu-div').style.display = "none";
  }
}
</script>
<style>
  .actionsTitle {color:#0099cc;font-size:14px;font-weight:bold;margin-bottom:5px;}
  .actionsInner {font-size:12px;padding-left:10px;margin-bottom:8px;border-bottom:#e5e5e5 1px solid;}
 </style>
 </head>
<body oncontextmenu="return false">

<div style="line-height:10px">&nbsp;</div>
<div class="wrap q_clear" id=wrap>
<div>
<div>
<div class=q_clear id=myheadertext><h1>我的问卷</h1><p class=recnumclass>[ <span class=red>{recNum}</span> 问卷 ]</p>&nbsp;<input class=inputsubmit name="createNew" type="button" id="createNew" value="新建问卷" onclick="javascript:showPopWin('ShowSurveyList.php?Action=Add', 720, 400, null, null,'新建调查问卷')"><br/></div>
<div id=myname><h3>欢迎您，{nick_Name}，来到EnableTQA一般性调查问卷管理桌面</h3></div>

<div id="nonesite" class="nonewebsite" style="display:{noneSite}">
  <div class="title"><h2>系统还没有可管理的一般性调查问卷？</h2></div>
  <div class="info"><p>在EnableTQA系统中创建一个新的一般性调查问卷，才能利用其的强大功能对问卷进行管理</p></div>
  <div class="createbtn"><a href="javascript:void(0);" onclick="javascript:showPopWin('ShowSurveyList.php?Action=Add', 720, 400, null, null,'新建调查问卷')"><img src="../Images/create_site.gif" border=0/></a>&nbsp;</div>
</div>
<div class="datalist" style="display:{isHaveSite}">
<form name="Check_Form" style="margin:0;padding:0" method="POST" action="">
<table class=datatable id="datatable" cellspacing=0 cellpadding=0 style="display:{isHaveSite};">
  <tr class=coltitle>
    <td width=68%><b>&nbsp;问卷标题</b></td>
    <td width=5% align=center><b>类型</b></td>
    <td width=5% align=center><b>状态</b></td>
	<td width=9% align=center><b>结束时间</b></td>
	<td width=7% align=center><b>回复</b></td>
	<td width=6% align=center><b>操作</b></td>
  </tr>
  <!-- BEGIN SURVEY -->
  <tr onmouseover="this.style.backgroundColor='#DEEFFF'" onmouseout="this.style.backgroundColor='#FFFFFF'">
    <td>&nbsp;{surveyTitle}</td>
    <td align=center>{isPublic}</td>
    <td bgcolor="{status_color}" align=center>{status}</td>
	<td align=center>{endTime}</td>
	<td align=center bgcolor="#efefef"><b>{resultNum}</b></td>
	<td align=center><a href="javascript:void(0);" onclick="_ShowActionBox(700,50,{surveyID},{topMargin});">操作</a></td>
  </tr>
  <!-- END SURVEY -->
</table></form></div>

<div class="pages">{pagesList}</div>
</div></div></div>
<div id="menu-div">
	<div id="actionInner">
	  <div id="actionTitleBar">
	      <div id="actionTitle">请选择对应问卷操作</div>
		  <div id="actionControls"><img src="../Images/closewindow.gif" onclick="closeLog('menu-div');" id="actionCloseBox"/></div>
	  </div>
      <div id="actionContent"></div>
	</div>
</div>

</body>
</html>
