![]() |
![]() |
![]() |
![]() |
HVAC-Talk |
||
|
<%
if Request.Form("action") = "subscribe" then
if Trim(Request.Form("email")) <> "" then
intCountSubsc = Subscribe(Trim(Request.Form("email")), Trim(Request.Form("name")))
if intCountSubsc = "00" OR intCountSubsc = "11" then
Response.Write "" & Request.Form("email") & " has been successfully subscribed to the newsletter.
Click here to go back to HVAC-Talk" elseif intCountSubsc = "10" then Response.Write "" & Request.Form("email") & " is already a subscriber to the newsletter. Click here to go back to HVAC-Talk" elseif intCountSubsc = "-1" then response.write "We were unable to subscribe you as this time. Please try again later." elseif intCountSubsc = "-2" then response.write "We were unable to subscribe you. Please check your email address and try again." end if else Response.Redirect(strScriptFilename) end if end if %> <%if Request.Form("action") = "" then%> View Current Newsletters <%end if%> |