📄 vote.asp
字号:
<!--#include file="header.asp" -->
<!--#include file="conn/nosql.asp" -->
<table width="778" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="185" height="350" valign="top" class="table-right"><!--#include file="left.asp" --></td>
<td valign="top"><p> </p><table width="90%" align="center" cellpadding="0" cellspacing="0">
<tr>
<td>
<%
if session("sia_user")="" then
Response.write "<meta http-equiv='refresh' content='30; url=index.asp'>"
Response.write "<img src=images/i-2.gif width=17 height=17>只有本网站会员才能投票,您还不是会员或尚未登陆!<br><br> <a href='index.asp'>>>返回网站首页</a><br><br> <a href='#' onclick=javascript:window.history.go(-1)>>>返回上一页</a>"
Response.End
end if
v = nosql(Request("v"))
proid = clng(Request("proid"))
if v="" then
Response.write "<img src=images/i-2.gif width=17 height=17>请选择投票选项!<br><br> <a href='#' onclick=javascript:window.history.go(-1)>>>返回上一页</a>"
Response.End
end if
Select case v
case "v1"
conn.execute("Update sia_product set v1 = v1+1 where proid = " & proid)
Response.redirect " product.asp?proid="&proid&"&page=1#bd"
Response.End
case "v2"
conn.execute("Update sia_product set v2 = v2+1 where proid = " & proid)
Response.redirect " product.asp?proid="&proid&"&page=1#bd"
Response.End
case "v3"
conn.execute("Update sia_product set v3 = v3+1 where proid = " & proid)
Response.redirect " product.asp?proid="&proid&"&page=1#bd"
Response.End
case "v4"
conn.execute("Update sia_product set v4 = v4+1 where proid = " & proid)
Response.redirect " product.asp?proid="&proid&"&page=1#bd"
Response.End
case "v5"
conn.execute("Update sia_product set v5 = v5+1 where proid = " & proid)
Response.redirect " product.asp?proid="&proid&"&page=1#bd"
Response.End
End Select
%>
</td>
</tr>
</table>
</td>
</tr>
</table>
<!--#include file="footer.asp" -->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -