📄 page.asp
字号:
<%
If request("voteID")="" Then
response.redirect"http://www.linkfox.net/"
End If
%>
<!--#include file="conn.asp"-->
<%
dim voteID
dim mode
dim ip
dim rs,sql
voteID=request("voteID")
mode=request("mode")
ip=request("ip")
set rs=Server.CreateObject("Adodb.Recordset")
sql="select voteID,votename,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10 from vote where voteID="&request("voteID")
rs.open sql,conn,1,1
%>
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<title>专业选票 免费调查引擎</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="Description" content="互动调查,免费调查引擎">
<meta name="Keywords" content="互动调查,调查,引擎调查,投票,免费调查,vote,research">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<style type="text/css">
<!---a:link { color: #000080; font-family: Arial; text-decoration: underline }
a:visited { color: #680090; font-family: Arial; text-decoration: underline }
a:active { color: red; font-family: Arial; text-decoration: none }
a:hover { color: red; text-decoration: none }
body { color: #000000; font-size: 9pt; line-height: 12pt; font-family: Arial }
th { font-size: 9pt; line-height: 14pt }
td { font-size: 9pt; line-height: 14pt }
a.1:link { font-family: Arial; text-decoration: none; color: black }
a.1:visited { font-family: Arial; text-decoration: none; color: black }
a.1:active { font-family: Arial; text-decoration: none; color: silver }
a.1:hover { font-family: Arial; text-decoration: none; color: silver }
.line { line-height: 10pt }
.il { line-height: 12pt }
.form { font-size: 9pt }
---></style>
<script language="javascript">
<!--
if (parent.frames.length > 0) {
parent.location.href = location.href;
}
// --></script>
</head>
<body topmargin="0" leftmargin="0">
<div align="center" style="width: 766; height: 331">
<center>
<form method="POST" action="vote.asp?voteID=<%=voteID%>">
<table border="0" cellpadding="0" width="700" cellspacing="0" height="243">
<tr>
<td height="71">
<p align="center"><iframe src="../52w/ads/default.htm" NORESIZE scrolling="NO" hspace="0" vspace="0" frameborder="0" marginheight="0" width=468 height=60></iframe></td>
</tr>
<tr>
<td height="27">
<p align="center"><a href="http://www.linkfox.net/" class="1" target="_blank">免费申请一个属于自己的调查引擎!</a></td>
</tr>
<tr>
<td height="145" valign="top">
<div align="center">
<table border="1" cellpadding="0" cellspacing="0" width="70%" height="101" bordercolordark="#FFFFFF" bordercolorlight="#808080">
<tr>
<td width="100%" height="23" bgcolor="#6098C8" colspan="2">
<p align="center"><font color="#FFFFFF"><%=rs("votename")%></font></td>
</tr>
<tr>
<td width="7%" height="17" align="center" bgcolor="#F6F6F6"><input type="radio" value="n1" name="vote"></td>
<td width="93%" height="17"><%=rs("s1")%></td>
</tr>
<tr>
<td width="7%" height="22" align="center" bgcolor="#F6F6F6"><input type="radio" value="n2" name="vote"></td>
<td width="93%" height="22"><%=rs("s2")%></td>
</tr>
<%
If rs("s3")<>"" Then
response.write"<tr><td width=7% height=22 align=center bgcolor=#F6F6F6><input type=radio value=n3 name=vote></td><td width=93% height=22>"&rs("s3")&"</td></tr>"
End If
If rs("s4")<>"" Then
response.write"<tr><td width=7% height=22 align=center bgcolor=#F6F6F6><input type=radio value=n4 name=vote></td><td width=93% height=22>"&rs("s4")&"</td></tr>"
End If
If rs("s5")<>"" Then
response.write"<tr><td width=7% height=22 align=center bgcolor=#F6F6F6><input type=radio value=n5 name=vote></td><td width=93% height=22>"&rs("s5")&"</td></tr>"
End If
If rs("s6")<>"" Then
response.write"<tr><td width=7% height=22 align=center bgcolor=#F6F6F6><input type=radio value=n6 name=vote></td><td width=93% height=22>"&rs("s6")&"</td></tr>"
End If
If rs("s7")<>"" Then
response.write"<tr><td width=7% height=22 align=center bgcolor=#F6F6F6><input type=radio value=n7 name=vote></td><td width=93% height=22>"&rs("s7")&"</td></tr>"
End If
If rs("s8")<>"" Then
response.write"<tr><td width=7% height=22 align=center bgcolor=#F6F6F6><input type=radio value=n8 name=vote></td><td width=93% height=22>"&rs("s8")&"</td></tr>"
End If
If rs("s9")<>"" Then
response.write"<tr><td width=7% height=22 align=center bgcolor=#F6F6F6><input type=radio value=n9 name=vote></td><td width=93% height=22>"&rs("s9")&"</td></tr>"
End If
If rs("s10")<>"" Then
response.write"<tr><td width=7% height=22 align=center bgcolor=#F6F6F6><input type=radio value=n10 name=vote></td><td width=93% height=22>"&rs("s10")&"</td></tr>"
End If
conn.close
set conn=nothing
rs.close
set rs=nothing
%>
<tr>
<td width="100%" height="31" colspan="2" bgcolor="#DDDDDD">
<p align="center"><input type="submit" value=" 提交投票 " name="submit" class="form">
<input type="button" value=" 查看结果 " name="reset" onclick="location.href='view.asp?voteID=<%=voteID%>'" class="form"></td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</form>
</center>
</div>
<p align="center">调查的内容与<a href="http://www.linkfox.net/" class="1" target="_blank">LINKFOX.NET</a>无关</p>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -