<% response.buffer = True response.addheader "Pragma", "No-Cache" response.expires = 0 dim strErr 'declare session variables 'validation section Session("Client") = Request.Form("Client") Session("Referred") = Request.Form("Referred") Session("ClientAddress") = Request.Form("ClientAddress") Session("city") = Request.Form("city") Session("state") = Request.Form("state") Session("zip") = Request.Form("zip") Session("HomePhone") = Request.Form("HomePhone") Session("WorkPhone") = Request.Form("WorkPhone") Session("OtherPhone") = Request.Form("OtherPhone") Session("Email") = Request.Form("Email") Session("EventType") = Request.Form("EventType") Session("EventDate") = Request.Form("EventDate") Session("EventStart") = Request.Form("EventStart") Session("EventStop") = Request.Form("EventStop") Session("EventLocation") = Request.Form("EventLocation") Session("EventAddress") = Request.Form("EventAddress") Session("OnSiteContact") = Request.Form("OnSiteContact") Session("OnSiteContactPhone") = Request.Form("OnSiteContactPhone") Session("ReceptionAddress") = Request.Form("ReceptionAddress") 'non-validation section Session("GuestNum") = Request.Form("GuestNum") Session("AgeRange") = Request.Form("AgeRange") If Request.Form("AdditionalTime") = "yes" Then Session("AdditionalTimeYes") = "Checked" End If If Request.Form("AdditionalTime") = "no" Then Session("AdditionalTimeNo") = "Checked" End If If Request.Form("AdditionalTime") = "not sure" Then Session("AdditionalTimeNotSure") = "Checked" End If If Request.Form("DiningMusic") = "yes" Then Session("DiningMusicYes") = "Checked" End If If Request.Form("DiningMusic") = "no" Then Session("DiningMusicNo") = "Checked" End If If Request.Form("RandB") = "yes" Then Session("RandB") = "Checked" End If If Request.Form("Rock") = "yes" Then Session("Rock") = "Checked" End If If Request.Form("Classical") = "yes" Then Session("Classical") = "Checked" End If If Request.Form("ShowTunes") = "yes" Then Session("ShowTunes") = "Checked" End If If Request.Form("JazzContemp") = "yes" Then Session("JazzContemp") = "Checked" End If If Request.Form("JazzClassic") = "yes" Then Session("JazzClassic") = "Checked" End If If Request.Form("OtherDiningMusic") = "yes" Then Session("OtherDiningMusic") = "Checked" End If Session("OtherDiningMusicText") = Request.Form("OtherDiningMusicText") If Request.Form("DanceMusic") = "yes" Then Session("DanceMusicYes") = "Checked" End If If Request.Form("DanceMusic") = "no" Then Session("DanceMusicNo") = "Checked" End If If Request.Form("50RandB") = "yes" Then Session("50RandB") = "Checked" End If If Request.Form("50RandR") = "yes" Then Session("50RandR") = "Checked" End If If Request.Form("60PartyRock") = "yes" Then Session("60PartyRock") = "Checked" End If If Request.Form("60Motown") = "yes" Then Session("60Motown") = "Checked" End If If Request.Form("70ClassicRock") = "yes" Then Session("70ClassicRock") = "Checked" End If If Request.Form("70RandB") = "yes" Then Session("70RandB") = "Checked" End If If Request.Form("80RandB") = "yes" Then Session("80RandB") = "Checked" End If If Request.Form("80Rock") = "yes" Then Session("80Rock") = "Checked" End If If Request.Form("90RandB") = "yes" Then Session("90RandB") = "Checked" End If If Request.Form("90Rock") = "yes" Then Session("90Rock") = "Checked" End If If Request.Form("DiscoFunk") = "yes" Then Session("DiscoFunk") = "Checked" End If If Request.Form("Pop") = "yes" Then Session("Pop") = "Checked" End If If Request.Form("BigBand") = "yes" Then Session("BigBand") = "Checked" End If If Request.Form("Country") = "yes" Then Session("Country") = "Checked" End If If Request.Form("Latin") = "yes" Then Session("Latin") = "Checked" End If If Request.Form("Reggae") = "yes" Then Session("Reggae") = "Checked" End If If Request.Form("OtherDanceMusic") = "yes" Then Session("OtherDanceMusic") = "Checked" End If Session("OtherDanceMusicText") = Request.Form("OtherDanceMusicText") Session("MusicPreferrence") = Request.Form("MusicPreferrence") Session("DontPlay") = Request.Form("DontPlay") If Request.Form("DJAttire") = "formal" Then Session("DJAttireFormal") = "Checked" End If If Request.Form("DJAttire") = "semi-formal" Then Session("DJAttireSemiFormal") = "Checked" End If If Request.Form("DJAttire") = "business casual" Then Session("DJAttireBC") = "Checked" End If If Request.Form("DJAttire") = "comfortable" Then Session("DJAttireComfortable") = "Checked" End If If Request.Form("DJAttire") = "other" Then Session("DJAttireOther") = "Checked" End If Session("DJAttireOtherText") = Request.Form("DJAttireOther") If Request.Form("DJPersonality") = "quite" Then Session("DJPersonalityQuite") = "Checked" End If If Request.Form("DJPersonality") = "quiet-medium" Then Session("DJPersonalityQM") = "Checked" End If If Request.Form("DJPersonality") = "medium" Then Session("DJPersonalityMedium") = "Checked" End If If Request.Form("DJPersonality") = "medium-lively" Then Session("DJPersonalityML") = "Checked" End If If Request.Form("DJPersonality") = "lively" Then Session("DJPersonalityLively") = "Checked" End If Session("EventTime1") = Request.Form("EventTime1") Session("Event1") = Request.Form("Event1") Session("EventTime2") = Request.Form("EventTime2") Session("Event2") = Request.Form("Event2") Session("EventTime3") = Request.Form("EventTime3") Session("Event3") = Request.Form("Event3") Session("EventTime4") = Request.Form("EventTime4") Session("Event4") = Request.Form("Event4") Session("EventTime5") = Request.Form("EventTime5") Session("Event5") = Request.Form("Event5") Session("EventTime6") = Request.Form("EventTime6") Session("Event6") = Request.Form("Event6") Session("EventTime7") = Request.Form("EventTime7") Session("Event7") = Request.Form("Event7") Session("EventTime8") = Request.Form("EventTime8") Session("Event8") = Request.Form("Event8") Session("Instructions") = Request.Form("Instructions") strErr = "" 'validate form If Request.Form("Client") = "" Then Session("ErrClient") = "You must enter the Client(s) name:" strErr = 1 End If if request.form("Referred") = "" then Session("ErrReferred") = "You must enter the person's name who referred you:" 'strErr = 1 end if If Request.Form("ClientAddress") = "" Then Session("ErrClientAddress") = "You must enter the Client's Address:" 'strErr = 1 End If If Request.Form("city") = "" Then Session("errcity") = "You must enter the Client's City:" 'strErr = 1 End If If Request.Form("state") = "" Then Session("errstate") = "You must enter the Client's State:" 'strErr = 1 End If If Request.Form("zip") = "" Then Session("errzip") = "You must enter the Client's Postal (Zip) Code:" 'strErr = 1 End If If Request.Form("HomePhone") = "" AND Request.Form("WorkPhone") = "" AND Request.Form("OtherPhone") = "" Then Session("ErrPhone") = "You must enter at least one Phone Number:" 'strErr = 1 End If If Request.Form("Email") = "" Then Session("ErrEmail") = "You must enter your E-mail Address:" strErr = 1 End If If Request.Form("EventType") = "" Then Session("ErrEventType") = "You must enter the Type of Event/Occasion:" 'strErr = 1 End If If Request.Form("EventDate") = "" Then Session("ErrEventDate") = "You must enter the Date of your event:" 'strErr = 1 End If If Request.Form("EventStart") = "" Then Session("ErrEventStart") = "You must enter the Start Time of your event:" 'strErr = 1 End If If Request.Form("EventStop") = "" Then Session("ErrEventStop") = "You must enter the Ending Time of your event:" 'strErr = 1 End If If Request.Form("EventLocation") = "" Then Session("ErrEventLocation") = "You must enter the Location of your event:" 'strErr = 1 End If If Request.Form("EventAddress") = "" Then Session("ErrEventAddress") = "You must enter the Address of your event:" 'strErr = 1 End If If Request.Form("OnSiteContact") = "" Then Session("ErrOnSiteContact") = "You must enter an On-site Contact for your event:" 'strErr = 1 End If If Request.Form("OnSiteContactPhone") = "" Then Session("ErrOnSiteContactPhone") = "You must enter the On-Site Contact's Phone Number:" 'strErr = 1 End If If Not strErr = "" Then Response.Redirect("../partyform.asp") Else 'clear validation Session("ErrClient") = "" Session("ErrReferred") = "" Session("ErrClientAddress") = "" Session("errcity") = "" Session("errstate") = "" Session("errzip") = "" Session("ErrPhone") = "" Session("ErrEmail") = "" Session("ErrEventType") = "" Session("ErrEventDate") = "" Session("ErrEventStart") = "" Session("ErrEventStop") = "" Session("ErrEventLocation") = "" Session("ErrEventAddress") = "" Session("ErrOnSiteContact") = "" Session("ErrOnSiteContactPhone") = "" 'clear session variables Session("Client") = "" Session("Referred") = "" Session("ClientAddress") = "" Session("city") = "" Session("state") = "" Session("zip") = "" Session("HomePhone") = "" Session("WorkPhone") = "" Session("OtherPhone") = "" Session("Email") = "" Session("EventType") = "" Session("EventDate") = "" Session("EventStart") = "" Session("EventStop") = "" Session("EventLocation") = "" Session("EventAddress") = "" Session("OnSiteContact") = "" Session("OnSiteContactPhone") = "" Session("ReceptionAddress") = "" Session("GuestNum") = "" Session("AgeRange") = "" Session("AdditionalTimeYes") = "" Session("AdditionalTimeNo") = "" Session("AdditionalTimeNotSure") = "" Session("DiningMusicYes") = "" Session("DiningMusicNo") = "" Session("RandB") = "" Session("Rock") = "" Session("Classical") = "" Session("ShowTunes") = "" Session("JazzContemp") = "" Session("JazzClassic") = "" Session("OtherDiningMusic") = "" Session("OtherDiningMusicText") = "" Session("DanceMusicYes") = "" Session("DanceMusicNo") = "" Session("50RandB") = "" Session("50RandR") = "" Session("60PartyRock") = "" Session("60Motown") = "" Session("70ClassicRock") = "" Session("70RandB") = "" Session("80RandB") = "" Session("80Rock") = "" Session("90RandB") = "" Session("90Rock") = "" Session("DiscoFunk") = "" Session("Pop") = "" Session("BigBand") = "" Session("Country") = "" Session("Latin") = "" Session("Reggae") = "" Session("OtherDanceMusic") = "" Session("OtherDanceMusicText") = "" Session("MusicPreferrence") = "" Session("DontPlay") = "" Session("DJAttireFormal") = "" Session("DJAttireSemiFormal") = "" Session("DJAttireBC") = "" Session("DJAttireComfortable") = "" Session("DJAttireOther") = "" Session("DJAttireOtherText") = "" Session("DJPersonalityQuite") = "" Session("DJPersonalityQM") = "" Session("DJPersonalityMedium") = "" Session("DJPersonalityML") = "" Session("DJPersonalityLively") = "" Session("EventTime1") = "" Session("Event1") = "" Session("EventTime2") = "" Session("Event2") = "" Session("EventTime3") = "" Session("Event3") = "" Session("EventTime4") = "" Session("Event4") = "" Session("EventTime5") = "" Session("Event5") = "" Session("EventTime6") = "" Session("Event6") = "" Session("EventTime7") = "" Session("Event7") = "" Session("EventTime8") = "" Session("Event8") = "" Session("Instructions") = "" End If 'end validation dim SenderEmail, SenderName dim oMail, Bdy SenderEmail = request.form("Email") SenderName = request.form("Client") Bdy = "" & _ "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "
New request from your web site, hosted by KansasNet Internet Services." & _ "
Submission originated at http://www.megawattinc.com/party.asp
Submitted by " & SenderName & " on " & Now() & "
________________________________________________________________
" & _ "" & chr(13) & chr(10) & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "
******************** Party Form Info **********************
" & _ "" & _ "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "
Client(s) : " & request.form("Client") & "
Referred by : " & request.form("Referred") & "
Address : " & request.form("ClientAddress") & "
  " & request.form("city") & ", " & request.form("state") & " " & request.form("zip") & "
Home Phone : " & request.form("HomePhone") & "
Work Phone : " & request.form("WorkPhone") & "
Other Phone : " & request.form("OtherPhone") & "
Email Address : " & request.form("Email") & "
Event Type/Occasion : " & request.form("EventType") & "
Date : " & request.form("EventDate") & "
Time : " & request.form("EventStart") & " to " & request.form("EventStop") & "
Location : " & request.form("EventLocation") & "
Address : " & request.form("EventAddress") & "
On-site Contact : " & request.form("OnSiteContact") & "
Phone Number : " & request.form("OnSiteContactPhone") & "
# of Guests : " & request.form("GuestNum") & "
Guest Age Range : " & request.form("AgeRange") & "
Rent extra time : " & request.form("AdditionalTime") & "
Dining/Cocktail Music : " & request.form("DiningMusic") & "
Adult Contemporary R&B : " & request.form("RandB") & "
Adult Contemporary Rock : " & request.form("Rock") & "
Classical : " & request.form("Classical") & "
Show Tunes : " & request.form("ShowTunes") & "
Contemporary Jazz : " & request.form("JazzContemp") & "
Classic Jazz : " & request.form("JazzClassic") & "
Other : " & request.form("OtherDiningMusic") & "
If Other : " & request.form("OtherDiningMusicText") & "
Dancing Music : " & request.form("DancingMusic") & "
50’s R&B : " & request.form("50RandB") & "
50’s Rock & Roll : " & request.form("50RandR") & "
60’s Party Rock : " & request.form("60PartyRock") & "
60’s R&B (Motown) : " & request.form("60Motown") & "
70’s Classic Rock : " & request.form("70ClassicRock") & "
70’s R&B : " & request.form("70RandB") & "
80’s R&B(Dance) : " & request.form("80RandB") & "
80’s Rock : " & request.form("80Rock") & "
90’s R&B(Dance) : " & request.form("90RandB") & "
90’s Rock : " & request.form("90Rock") & "
Disco/Funk : " & request.form("DiscoFunk") & "
Top 40/Pop : " & request.form("Pop") & "
Big Band/Hit Parade : " & request.form("BigBand") & "
Country : " & request.form("Country") & "
Latin : " & request.form("Latin") & "
Reggae : " & request.form("Reggae") & "
Other : " & request.form("OtherDanceMusic") & "
If Other : " & request.form("OtherDanceMusicText") & "
Music Preference : " & request.form("MusicPreferrence") & "
Don't Play : " & request.form("DontPlay") & "
DJ Attire : " & request.form("DJAttire") & "
Attire(if other) : " & request.form("DJAttireOther") & "
DJ Personality : " & request.form("DJPersonality") & "
Scheduled Events & Time :  
Event1 : " & request.form("EventTime1") & " and " & request.form("Event1") & "
Event2 : " & request.form("EventTime2") & " and " & request.form("Event2") & "
Event3 : " & request.form("EventTime3") & " and " & request.form("Event3") & "
Event4 : " & request.form("EventTime4") & " and " & request.form("Event4") & "
Event5 : " & request.form("EventTime5") & " and " & request.form("Event5") & "
Event6 : " & request.form("EventTime6") & " and " & request.form("Event6") & "
Event7 : " & request.form("EventTime7") & " and " & request.form("Event7") & "
Event8 : " & request.form("EventTime8") & " and " & request.form("Event8") & "
Instructions : " & request.form("Instructions") & "
" & _ "" & chr(13) & chr(10) & chr(13) & chr(10) &"" & _ "" & chr(13) & chr(10) & "" & chr(13) & chr(10) & "" & _ "" & chr(13) & chr(10) & "
________________________________________________________________
Need Assistance? Please Email Us!! - support@kansas.net
" & _ "" & chr(13) & chr(10) & "" Set oMail = Server.CreateObject("Persits.MailSender") oMail.Host = "" oMail.IsHTML = True if not request.form("Email") = "" then oMail.From = request.form("Email") else oMail.From = "" end if if not Request.Form("Client") = "" then oMail.FromName = Request.Form("Client") else oMail.FromName = "KansasNet" end if oMail.AddAddress "jon@megawattusa.com" oMail.Subject = "Party Information Request" oMail.Username = "" oMail.Password = "" oMail.Body = Bdy oMail.Send Response.Redirect("../../confirm.asp") oMail.Reset oMail="Nothing" %>