%@language=jscript%>
<%
// Declare Thankyou so a value is always avaiable
var Thankyou = "";
// Connect to database
eg_objConn1 = Server.CreateObject("ADODB.Connection");
eg_objConn1.Open("Provider=Microsoft.Jet.OLEDB.4.0;Data Source="+Server.MapPath("ds/emaildb.mdb")+";Persist Security Info=False");
var eg_text_1 = "Dear {USE}\n\nThanks very much\n\nNice of you to turn up\n\nTrev";
while(eg_text_1.indexOf("{USE}") > -1)
eg_text_1 = eg_text_1.replace("{USE}", !isEmpty(Request.Form("Name")) ? String(Request.Form("Name")) : "");
// Conditional statement
if(Request.Form.Count > 0)
{
// Run Query to save data
eg_objConn1.Execute("INSERT INTO [download]([Name], [email]) VALUES('" + String(Request.Form("Name")).replace(/'/g, "''") + "', '" + String(Request.Form("email")).replace(/'/g, "''") + "')", 1, adCmdText);
Thankyou = "Thanks very much. You are Star";
// Check required values have been passed to email
if(Request.Form.Count > 0 && Request.Form("email") != "")
{
// Send an email
var eg_objNewMail = Server.CreateObject("CDO.Message");
eg_objNewMail.To = Request.Form("email");
eg_objNewMail.Subject = "What joke";
eg_objNewMail.From = "trevor@holman-family.co.uk";
eg_objNewMail.TextBody = eg_text_1;
eg_objNewMail.Send();
}
}
%>
Keswick Tourist Information, Accommodation, Guesthouses, Hotels
 |
|
 |
 |
 |
 |
 |
 |
 |
 |
|
 |
|
 |
|
|
|
|
|
|
|
Welcome to the Keswick Tourist Information site that lists only the best in Keswick Accommodation. Here you will find a selection of the highest quality Guest Houses and Hotels in the area, together with tourist information on Keswick Town and the immediate area. If you would like to comment on the information or content, please contact us
|
|
 |
|
Set in the beautiful scenery of the Lake District, Keswick is one of the area's busiest and most vibrant towns. Whether you want to explore the Lakes and Fells, discover the history of the region, or just sit back and enjoy the wealth of art and culture that the Lake Distict has to offer, Keswick has something for everyone.
|
|
|
 |
|
 |
|
Advertise your business on Keswick Tourist Information. Use our logo and be part of the premier Tourist Information site in the Northern Lake District. Membership starts from just £17.50 per year. Click here for further details.
|
|
 |
|
|
 |
|
 |
|
We offer a one-stop booking enquiry solution for your stay in Keswick. Simply complete our Booking Enquiry form to contact all the relevant accommodation providers at once and wait for the replies!
|
|
| Boldavon Interweb is a member of the Lakes Hospitality Association |
|
|
|
|
|
|
 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<%
// Tidy up used objects
// Close database connection
eg_objConn1.Close();
delete eg_objConn1;
%>