Plus/Rating.asp
'商品点评,只有购买过的才能点评
'if ChannelID=5 Then
' if LoginTF=false Then
' KS.Die "<script>$.dialog.tips('对不起,请登录!',1,'error.gif',function(){parent.loading.style.display='none';});</'script>"
' End If
' if conn.execute("select top 1 a.id from ks_order a inner join ks_orderitem b on a.orderid=b.orderid where b.proid=" & infoid &" and a.status=2 and a.username='" & KSUser.UserName & "'").eof then
' KS.Die "<script>$.dialog.tips('对不起,只有成功购买过本商品的用户才可以点评!',1,'error.gif',function(){" & backstr & "});</'script>"
' end if
' End If