中国石凳联盟 登录注册

动网论坛7.1 投票限制修正

rockage··0 回复·340 浏览

发表回复

打开topicother.asp文件,

查找:
If Rs("votetype")=1 Then



在这一行下面加上以下代码:



-----START OF Rockage-----
Dim vcount
For i = 0 to UBound(votenum)
if not request("postvote_"i"") = "" Then vcount = vcount+1
Next
if vcount 3 then Response.redirect "showerr.asp?ErrCodes=li你选得太多了,只可以选择B3/B个选项哦!action=OtherErr"
-----END OF Rockage-----





点赞0 收藏
发表回复
发表回复