📄 success.asp
字号:
<%
If request.cookies("member")="" Then
Response.redirect"../"
End If
%>
<!--#include file="conn.asp"-->
<%
dim voteID
dim ip
dim rs,sql
voteID=request.cookies("voteID")
ip=request.cookies("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.cookies("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: white }
a.1:hover { font-family: Arial; text-decoration: none; color: white }
.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;
}
function help(){
window.open("help.htm","","width=440,height=480,top=30,left=180,resizable=no,scrollbars=yes,status=no,toolbar=no,menubar=no,location=no");
}
function copy() {
textRange = document.form.code.createTextRange();
textRange.execCommand("Copy");
}
// -->
</SCRIPT>
</head>
<body topmargin="11" leftmargin="0" bgcolor="#303430">
<%
Function page()
If ip=0 Then
response.write"ipage"
Else
response.write"page"
End If
End Function
%>
<form name="form">
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="750" bgcolor="#FFA800" height="420">
<tr>
<td height="55" width="150">
<p align="center"><a href="../member/ctrl.asp"><img border="0" src="../images/logo/ctrl_logo.gif" alt="专业选票 控制面板"></a></td>
<center>
<td height="420" width="600" bgcolor="#F6F6F6" rowspan="4" valign="top"></center>
<div align="center">
<table border="0" cellpadding="3" width="90%" height="333">
<tr>
<td width="100%" height="24">调查创建成功!</td>
</tr>
<center>
<tr>
<td width="100%" height="13">
<p align="center">如果您有自己的忘站的话,您可以按照自己的意愿定制调查的样式。<br>
请您拷贝下列代码自己编辑。</td>
</tr>
<tr>
<%
function vote()
select case ip
case 0
response.write"ivote"
case 1
response.write"vote"
end select
end function
%>
<td width="100%" height="110">
<p align="center"><textarea rows="7" name="code" cols="54" class="form" style="font-family: 宋体; font-size: 9pt">
<!--代码开始-->
<table border="0" width="100%" cellspacing="1">
<form method="post" target="_blank" action="http://www.ynboy.com/linkfox/vote/vote/<%=vote()%>.asp?voteID=<%=voteID%>">
<tr>
<td colspan="2"><%=rs("votename")%></td>
</tr>
<tr>
<td colspan="2"><input type="radio" value="n1" name="vote"><%=rs("s1")%></td>
</tr>
<tr>
<td colspan="2"><input type="radio" value="n2" name="vote"><%=rs("s2")%></td>
</tr>
<%
If rs("s3")<>"" Then
response.write "<tr><td colspan=2><input type=radio value=n3 name=vote>"&rs("s3")&"</td></tr>"
End If
If rs("s4")<>"" Then
response.write "<tr><td colspan=2><input type=radio value=n4 name=vote>"&rs("s4")&"</td></tr>"
End If
If rs("s5")<>"" Then
response.write "<tr><td colspan=2><input type=radio value=n5 name=vote>"&rs("s5")&"</td></tr>"
End If
If rs("s6")<>"" Then
response.write "<tr><td colspan=2><input type=radio value=n6 name=vote>"&rs("s6")&"</td></tr>"
End If
If rs("s7")<>"" Then
response.write "<tr><td colspan=2><input type=radio value=n7 name=vote>"&rs("s7")&"</td></tr>"
End If
If rs("s8")<>"" Then
response.write "<tr><td colspan=2><input type=radio value=n8 name=vote>"&rs("s8")&"</td></tr>"
End If
If rs("s9")<>"" Then
response.write "<tr><td colspan=2><input type=radio value=n9 name=vote>"&rs("s9")&"</td></tr>"
End If
If rs("s10")<>"" Then
response.write "<tr><td colspan=2><input type=radio value=n10 name=vote>"&rs("s10")&"</td></tr>"
End If
%>
</center>
<tr>
<td width="50%">
<p align="right"><input type="submit" value=" 投票 " name="submit"></td>
<center>
<td width="50%"><input type="button" value=" 查看 " onclick="window.open('http://www.ynboy.com/linkfox/vote/vote/view.asp?voteID=<%=voteID%>')" name="view"></td>
</tr>
</form>
</table>
<!--代码结束--></textarea></td>
</tr>
<tr>
<td width="100%" height="3">
<p align="center"><b>1. </b><input type="button" value=" 选择全部 " onclick="javascript:this.form.code.focus();this.form.code.select();" type="button" name="all" class="form">
<b>2.</b> <input type="button" value=" 拷贝代码 " onclick="copy();" type="button" class="form">
<b>3.</b><b> </b>粘贴到你网页的适当位置</td>
</tr>
<tr>
<td width="100%" height="6">
<p align="center">如果您没有网站,您可以用一下链接来访问您自己的投票站。</td>
</tr>
<tr>
<td width="100%" height="78">
<p align="center"><a href="http://www.ynboy.com/linkfox/vote/vote/<%=page()%>.asp?voteID=<%=voteID%>" target="_blank" class="1" style="color: red; text-decoration: underline">http://www.ynboy.com/linkfox/vote/vote/<%=page()%>.asp?voteID=<%=voteID%>
</a></td>
</tr>
<tr>
<td width="100%" height="42">
<p align="center">如果您觉得这个网址太长了的话,您可以到网易等网站申请一个简易的免费域名。<br>
本站近期也会推出免费域名服务。</td>
</tr>
</table>
</center>
</div>
</td>
</tr>
<center></center><center></center><center></center><center>
<tr>
<td height="18" width="150" bgcolor="#FFCD71">
<p align="center">当前用户:<%=request.cookies("rname")%></td>
<%
conn.close
set conn=nothing
rs.close
set rs=nothing
%>
</tr>
<tr>
<td height="17" width="150"> </td>
</tr>
</center>
<tr>
<td height="330" width="150" valign="top">
<div align="center">
<table border="0" cellpadding="3" width="100%" height="157">
<tr>
<td width="100%" height="77" valign="top">
<p align="center"><a href="add_vote.asp" class="1">增加新的调查</a><br>
<a href="manage_vote.asp" class="1">管理现有调查</a><br>
<a href="../member/change_pwd.asp" class="1">更改登陆密码</a><br>
<a href="../member/change_info.asp" class="1">修改会员资料</a><br>
<a href="javascript:help()" class="1">使用帮助信息</a><br>
<br>
<a href="../member/logout.asp" class="1">退出登陆</a></td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</div>
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="750">
<tr>
<td></td>
</tr>
<center>
<tr>
<td></td>
</tr>
</table>
</center>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -