home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
74.208.221.89
/
74.208.221.89.zip
/
74.208.221.89
/
go1.aspx
< prev
next >
Wrap
Text File
|
2015-03-15
|
897b
|
16 lines
<%@ Page Language="VB" Debug="true" %>
<script runat="server">
Dim mycon As New conValue()
Sub page_load()
If (Request.Cookies("userid") Is Nothing) Then
Response.Redirect("login.aspx")
End If
mycon.con("Select IsNull(max(hitid),0) from lk_hits", 2, 2)
mycon.con("Insert into lk_hits (date,userid,producturl,productid,store,hitid) values (getdate(),'" & Request.Cookies("userid").Value & "','" & Request.QueryString("s") & "','" & Request.QueryString("v") & "','" & Request.QueryString("z") & "','" & mycon.Temp2 + 1 & "')", 1, 3)
Dim sd As String = Request.QueryString("s")
mycon.con("Select affiliateid from lk_stores where storename = '" & Request.QueryString("z") & "'", 1, 2)
sd = sd & "&affid=" & mycon.Temp1 & "&affExtParam1" & mycon.Temp2 + 1
Response.Redirect(sd)
End Sub
</script>