<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%><!--#include file="config.asp" -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>输入问卷密码</title>
<link rel="stylesheet" href="inc/s3wcn.css" type="text/css">
<style type="text/css">
<!--
.STYLE1 {
	font-family: Verdana, "宋体", Helvetica, sans-serif;
	color: #FFFFFF;
	font-size: 14px;
}
-->
</style>
</head>

<body>
<%
survey_id=request.form("survey_id")
input_pw=request.form("input_pw")
If Request.ServerVariables("REQUEST_METHOD")="POST" and input_pw="y" Then	
	Set ObjR = Server.CreateObject("dc_data100_v1_0.survey_password")
	ObjR.survey_password DataPathFile, WebPath
else
	main survey_id
end if
function main(survey_id)
%><form name="form1" method="post" action="">
<table width="100%" height="100%" border="0" align="center" cellpadding="0" cellspacing="3">
  <tr>
    <td align="center" valign="middle">
    <table width="300" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#999999" bordercolorlight="#999999" bordercolordark="#FFFFFF" class="p9">
  <tr>
    <td height="130" align="center" valign="top"><table width="100%" border="0" cellspacing="1" cellpadding="0">
      <tr>
        <td height="27" background="images/bg.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="89%" align="left">　<span class="STYLE1"><strong>请输入问卷密码</strong></span></td>
              <td width="11%" align="left"><a href='javascript:window.close();'><img src="images/wclose.gif" width="21" height="21" border="0"></a></td>
            </tr>
          </table></td>
      </tr>
      <tr>
        <td height="60" align="center" valign="middle"><label>
          <input name="input_password" type="text" id="input_password" size="30">
        </label></td>
      </tr>
      <tr>
        <td height="46" align="center" valign="top"><input name="input_pw" type="hidden" id="input_pw" value="y">
        <input name="s_id" type="hidden" id="s_id" value="<%=survey_id%>">
        <input type="image" src="images/login.gif"></td>
      </tr>
    </table></td>
  </tr>
</table>
    </td>
  </tr>
</table>
</form>
<%end function%>
</body>
</html>