问题如题
解决方法:
打开admin/article/ks.article.asp
找到
If KS.Setting(56)="1" Then '绑定论坛
If KS.ChkClng(Request("bid"))<>0 Then
KS.Echo "<iframe src=""KS.Push.asp?action=doPush&ChannelID=" & ChannelID &"&ItemID=" & Rs("Id") & "&Bid=" & Request("Bid") & "&CategoryId=" & Request("CategoryId") &""" width=""0"" height=""0""></iframe>"
End If
End If
改成
If KS.Setting(56)="1" Then '绑定论坛
If KS.ChkClng(Request("bid"))<>0 Then
KS.Echo "<iframe src=""../club/KS.Push.asp?action=doPush&ChannelID=" & ChannelID &"&ItemID=" & Rs("Id") & "&Bid=" & Request("Bid") & "&CategoryId=" & Request("CategoryId") &""" width=""0"" height=""0""></iframe>"
End If
End If
再往下找到
If KS.ChkClng(Request("bid"))<>0 Then
If KS.ChkClng(RS("PostID"))<>0 Then
Conn.Execute("Update KS_GuestBook Set BoardID=" & KS.ChkClng(Request("bid")) & ",categoryID=" & KS.ChkClng(Request("CategoryID")) & " Where ID=" & KS.ChkClng(RS("PostID")))
Else
KS.Echo "<iframe src=""KS.Push.asp?action=doPush&ChannelID=" & ChannelID &"&ItemID=" & Rs("Id") & "&Bid=" & Request("Bid") & "&CategoryId=" & Request("CategoryId") &""" width=""0"" height=""0""></iframe>"
End If
End If
改成
If KS.ChkClng(Request("bid"))<>0 Then
If KS.ChkClng(RS("PostID"))<>0 Then
Conn.Execute("Update KS_GuestBook Set BoardID=" & KS.ChkClng(Request("bid")) & ",categoryID=" & KS.ChkClng(Request("CategoryID")) & " Where ID=" & KS.ChkClng(RS("PostID")))
Else
KS.Echo "<iframe src=""../club/KS.Push.asp?action=doPush&ChannelID=" & ChannelID &"&ItemID=" & Rs("Id") & "&Bid=" & Request("Bid") & "&CategoryId=" & Request("CategoryId") &""" width=""0"" height=""0""></iframe>"
End If
End If