%@LANGUAGE="VBSCRIPT"%> <% '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' ' Spd E-Letter v4 ' © 2001, 2002 PensaWorks, inc. ' For help with this program, please visit http://www.pensaworks.com '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' Dim Access : Access = "User" Dim Nav3 : Nav3 = "2" %> <% subID = 0 if (request("ID") <> "") then subID = request("ID") if (NOT IsNumeric(subID)) then subID = 0 if (subID = 0) then response.redirect "message.asp?msg=20" set getSubDetails = mlConn.Execute("SELECT ML_Lists.ListID AS ListID1, * FROM ML_Subscribers INNER JOIN ML_Lists ON ML_Subscribers.ListID = ML_Lists.ListID WHERE ML_Subscribers.SubscriberID = " & subID) if (getSubDetails.EOF) then response.redirect "message.asp?msg=20" ListID = getSubDetails("ListID1") if not allowedList(listID, allowedLists) then response.redirect "message.asp?msg=49" showReads = "off" showClicks = "off" if (request("r") = "on") then showReads = "on" if (request("c") = "on") then showClicks = "on" %>
|
Subscriber
Stats
<% if showClicks = "on" then set getClicks = mlConn.Execute("SELECT ML_Broadcast.MessageID AS mesID, * FROM ML_Clicks INNER JOIN (ML_URLs INNER JOIN ML_Broadcast ON ML_URLs.MessageID = ML_Broadcast.MessageID) ON ML_URLs.urlID = ML_Clicks.clkURLID WHERE ML_Clicks.clkSubscriberID = " & subID & " ORDER BY ML_Clicks.clkLastDate DESC") %>
<% end if %> <% if showReads = "on" then set getReads = mlConn.Execute("SELECT * FROM ML_Reads INNER JOIN ML_Broadcast ON ML_Reads.readMessageID = ML_Broadcast.MessageID WHERE ML_Reads.readSubscriberID = " & subID & " ORDER BY readLastDate DESC") %>
<% end if %> |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||