📄 show_vote.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../style/style.css" rel="stylesheet" type="text/css">
</head>
<body>
<form action="../vote/vote.asp" method="post" name="frm_vote_option<%= i %>">
<table width="200" border="0" align="center" cellpadding="1" cellspacing="1">
<%
dim title,str,id
title = ""
id = Request.QueryString("id")
str = "select * from v_vote where title = '" & title & "'"
str = "select * from v_vote where id = " & id
session("rs").open str,session("conn")
if not session("rs").eof then
%>
<tr bgcolor="#dddddd">
<td colspan="3" align="center"><%= session("rs")("title") %></td>
</tr>
<%
end if
while not session("rs").eof
%>
<tr>
<td align="center"> <input name="vote_option" type="radio" value="<%= session("rs")("option_id") %>"></td>
<td><input name="option" type="text" id="option" value="<%= session("rs")("option") %>" class="showonly" style="width:100">
</td>
<td><input name="vote_num" type="text" value="<%= session("rs")("vote_num") %>" style="width:40;" class="showonly">
票</td>
</tr>
<%
session("rs").MoveNext
wend
session("rs").close
%>
<tr>
<td colspan="3" align="center"><input type="submit" name="Submit" value="投 票">
<input name="view" type="button" id="view" value="查 看" onClick="window.open('show_result_bar.asp','','width=250;height=200;toolbar=no;scrollbar=no;')">
<input name="view" type="button" id="view" value="查 看" onClick="window.open('show_result_cake.asp','','width=250;height=200;toolbar=no;scrollbar=no;')"></td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -