⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 property.asp

📁 正版创力4.1SQL商业版!!!ASP版。
💻 ASP
字号:
<!--#include file="Setting.asp"-->
<%
Dim IsAjax
IsAjax		= Cl.GetClng(Request.Form("Ajax"))
CommentID	= Cl.GetClng(Request.Form("CommentID"))

If CommentID<1 Or IsAjax<>1 Then Response.end

Select Case Action
Case "agree"
	Call SetAgrees()
Case "disagree"
	Call SetDisagrees()
Case "middle"
	Call SetMiddles()
Case Else
	Cl.WriteAjax("Error")
End Select

Sub SetAgrees()
	Cl.Execute("update Cl_Comment Set Agrees=Agrees+1 Where CommentID="&CommentID&"")
	Cl.WriteAjax("OK")
End Sub

Sub SetDisagrees()
	Cl.Execute("update Cl_Comment Set Disagrees=Disagrees+1 Where CommentID="&CommentID&"")
	Cl.WriteAjax("OK")
End Sub

Sub SetMiddles()
	Cl.Execute("update Cl_Comment Set Middles=Middles+1 Where CommentID="&CommentID&"")
	Cl.WriteAjax("OK")
End Sub
%>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -