毕业论文论文范文课程设计实践报告法律论文英语论文教学论文医学论文农学论文艺术论文行政论文管理论文计算机安全
您现在的位置: 毕业论文 >> 课程设计 >> 正文

asp+access论坛BBS系统设计源码 第2页

更新时间:2010-7-5:  来源:毕业论文
asp+access论坛BBS系统设计源码 第2页
 CODEPAGE="936"%>
<!--#include file="Connections/conn.asp" -->
<% If Trim(Request.QueryString("type"))<>"" Then %>
<%
If request.Cookies("tp")="" Then

set Command1 = Server.CreateObject("ADODB.Command")
Command1.ActiveConnection = MM_conn_STRING
Command1.CommandText = "UPDATE tp_xx  SET ps =ps+1  WHERE xxid ="+Trim(Request("tpid"))+""
Command1.CommandType = 1
Command1.CommandTimeout = 0
Command1.Prepared = true
Command1.Execute()

response.Cookies("tp")="abc"
response.Cookies("tp").Expires= dateadd("d",1,now())
%>
<script>
alert("投票成功!")
window.location.href=document.referrer
</script>
<% Else %>
<script>
alert("您已经投过票了!")
window.location.href=document.referrer
</script><% End If %>
<% End If %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
本文来自辣文论文网原文请找QQ752018766


<%
Dim wz__MMColParam
wz__MMColParam = "1"
If (Request.QueryString("wid") <> "") Then
  wz__MMColParam = Request.QueryString("wid")
End If
%>
<%
Dim wz
Dim wz_numRows

Set wz = Server.CreateObject("ADODB.Recordset")
wz.ActiveConnection = MM_conn_STRING
wz.Source = "SELECT * FROM chaxun WHERE wid = " + Replace(wz__MMColParam, "'", "''") + ""
wz.CursorType = 0
wz.CursorLocation = 2
wz.LockType = 1
wz.Open()

wz_numRows = 0
%>
<%
Dim rm__MMColParam
rm__MMColParam = (wz.Fields.Item("eid").Value)
If (Request("MM_EmptyValue") <> "") Then
  rm__MMColParam = Request("MM_EmptyValue")
End If
%>
<%
Dim rm
Dim rm_numRows

Set rm = Server.CreateObject("ADODB.Recordset")
rm.ActiveConnection = MM_conn_STRING
rm.Source = "SELECT ylm, elm, wid, bt FROM chaxun WHERE eid = " + Replace(rm__MMColParam, "'", "''") + " ORDER BY djs DESC"
rm.CursorType = 0
rm.CursorLocation = 2
rm.LockType = 1
rm.Open()

rm_numRows = 0
%>
<%
Dim pre__MMColParam
pre__MMColParam = "1"
If (Request.QueryString("wid") <> "") Then
  pre__MMColParam = Request.QueryString("wid")
毕业论文http://www.751com.cn

ADODB.Recordset")
pre.ActiveConnection = MM_conn_STRING
pre.Source = "SELECT * FROM Wz_nr WHERE wid < " + Replace(pre__MMColParam, "'", "''") + " ORDER BY wid DESC"
pre.CursorType = 0
pre.CursorLocation = 2
pre.LockType = 1
pre.Open()

pre_numRows = 0
%>
<%
Dim nextone__MMColParam
nextone__MMColParam = "1"
If (Request.QueryString("wid") <> "") Then
  nextone__MMColParam = Request.QueryString("wid")
End If
%>
<%
Dim nextone
Dim nextone_numRows

Set nextone = Server.CreateObject("ADODB.Recordset")
nextone.ActiveConnection = MM_conn_STRING
nextone.Source = "SELECT * FROM Wz_nr WHERE wid > " + Replace(nextone__MMColParam, "'", "''") + " ORDER BY wid ASC"
nextone.CursorType = 0
nextone.CursorLocation = 2
nextone.LockType = 1
nextone.Open()

本文来自辣文论文网原文请找QQ752018766
<%

set Command1 = Server.CreateObject("ADODB.Command")
Command1.ActiveConnection = MM_conn_STRING
Command1.CommandText = "UPDATE Wz_nr  SET djs =djs+1  WHERE wid =" + Replace(Command1__a, "'", "''") + ""
Command1.CommandType = 1
Command1.CommandTimeout = 0
Command1.Prepared = true

上一页  [1] [2] 

asp+access论坛BBS系统设计源码 第2页下载如图片无法显示或论文不完整,请联系qq752018766
设为首页 | 联系站长 | 友情链接 | 网站地图 |

copyright©751com.cn 辣文论文网 严禁转载
如果本毕业论文网损害了您的利益或者侵犯了您的权利,请及时联系,我们一定会及时改正。