%@ Language="VBScript" %>
<%
Dim Conn, Rs, searchID, strSQL, strImgNum, filePath,folderNum
' Create ADO Connection Component to connect with the database
Set Conn = Server.CreateObject("ADODB.Connection")
Set Rs = Server.CreateObject("ADODB.Recordset")
' Filename: Bed_and_Breakfast_Real_Estate.asp
'-------------------------------
' Bed_and_Breakfast_Real_Estate Custom Includes begin
Dim page
Dim pageName
Dim Cities
Dim Counties
page = "Bed_and_Breakfast_Real_Estate"
pageName = "Bed_and_Breakfast_Real_Estate"
Session("expired") = "No"
%>
<%
' Bed_and_Breakfast_Real_Estate CustomIncludes end
'-------------------------------
'*** TOOLS ***
root=Replace(server.MapPath("AdminOwnerXML.html"),"AdminOwnerXML.html","")
'set fso = Server.CreateObject("Scripting.FileSystemObject")
'If fso.fileexists(Root & "alreadyAsked.txt") then
'set f = fso.OpenTextFile(Root & "alreadyAsked.txt", 1)
'sHTML2 = f.ReadAll()
'set f=nothing
'End If
'sHTML = ""
'url = "http://www.nailsoupmedia.com/PostLinkLetter.html"
''Set xml = Server.CreateObject("MSXML2.ServerXMLHTTP")
'Set xml = Server.CreateObject("Microsoft.XMLHTTP")
'xml.Open "GET", url, False
'xml.Send
'sHTML = xml.responseText
'set xml=nothing
'===============================
' Save Page and File Name available into variables
'-------------------------------
sFileName = "Bed_and_Breakfast_Real_Estate.html"
sTemplateFileName = "Skin/Bed_and_Breakfast_Real_Estate.html"
'===============================
'===============================
'Save the name of the form and type of action into the variables
'-------------------------------
sAction = GetParam("FormAction")
sForm = GetParam("FormName")
'===============================
' Bed_and_Breakfast_Real_Estate Show begin
'===============================
' Display page
'-------------------------------
' Load HTML template for this page
'-------------------------------
'Dim LoadedPage
'LoadedPage = LoadTemplate2 (sAppPath & "Skin/Objects/AutoBlog.html")
LoadTemplate sAppPath & sTemplateFileName, "main"
'-------------------------------
' Load HTML template of Header and Footer
'-------------------------------
'-------------------------------
SetVar "FileName", sFileName
'-------------------------------
' Step through each form
'-------------------------------
'OpenDB
'Load_Cities_Counties
Item_Show
'-------------------------------
Parse "main", True
'-------------------------------
' Output the page to the browser
'-------------------------------
Response.write fixPage(PrintVar("main"))
' Bed_and_Breakfast_Real_Estate Show end
'-------------------------------
' Destroy all object variables
'-------------------------------
' Bed_and_Breakfast_Real_Estate Close Event begin
' Bed_and_Breakfast_Real_Estate Close Event end
UnloadTemplate
'===============================
'===============================
' FUNCTIONS
'-------------------------------
'===============================
' Display
'===============================
Sub Load_Cities_Counties()
Counties = replaceLastComma(Session("counties"))
Cities = replaceLastComma(Session("cities"))
End Sub
Function ShowMyListings
Dim con
Dim rst
Set con = CreateObject("ADODB.Connection")
Set rst = Server.CreateObject("ADODB.Recordset")
filePath = Server.MapPath("AdminMyStuff.html")
con.Open "Driver={Microsoft Access Driver (*.mdb)};" & _
"DBQ=" & filePath
strSQL = "SELECT * FROM MyListings ORDER BY ID Desc"
Set rst = con.Execute(strSQL)
rst.Movefirst
Response.Write
While not rst.EOF
Response.Write "" & rst("mls") & " "
rst.MoveNext
Wend
con.Close:set rst=Nothing : set con = Nothing
End Function
'===============================
' Display Search Form
'-------------------------------
Sub Item_Show()
SetVar "BrokerName1",Session("BrokerName1")
SetVar "BrokerPhone1",Session("BrokerPhone1")
SetVar "BrokerEmail1",Session("BrokerEmail1")
if session("BrokerName1") <> "" then setVar "FullName",session("BrokerName1")
if session("BrokerName1") <> "" then setVar "OwnerName",session("BrokerName1")
if session("BrokerEmail1") <> "" then setVar "Email",session("BrokerEmail1")
if session("BrokerPhone1") <> "" then setVar "Phone",session("BrokerPhone1")
%>
<%
If LoadedPage <> "" Then
SetScript "PutYourContentHere",LoadedPage
Else
If Request("Bed_and_Breakfast_Real_EstateMessage") <> "" Then
SetScript "PutYourContentHere","
"
End If
End if
For totalDynamics = 1 to DynamicVarIndex
aDVar = DynamicVarItem(totalDynamics) & ",load"
SetScript aDVar , DynamicVar(totalDynamics)
Next
SetScript "MyListings",ShowMyListings
Parse "FormSearch", False
End Sub
'===============================
%>
Amazon Thunder is your online source for Acai Juices, Acai Berries, Organic Acai Berry Juices, Acai Fruit, and berries which are all rich in Antioxidants.
For over fifty years the Release Technique has proven to be a powerful, unique, simple, and very practical tool that will dramatically improve the quality of your life.
Please click now to view a huge range of Divan Beds, upto 60 per cent off, brought to you by Bed Supermarket, the number one supplier of Divan Beds in the UK.
Welcome to Mint Leaf Restaurant! Canada''s most happening fine dine Indian restaurant and famous for its authentic Indian vegetarian cuisines and dishes and the Dining experience that they provide is
Find high-quality chocolate fountains at affordable prices. We have chocolate fountains for home or commercial use, as well as a unique selection of fondue sets and pots.
Welcome to Popcorn Machine Shop, the one stop shop for all kinds of popcorn machines and popcorn makers. We have large selection of antique & modern popcorn machines that makes a great addition to a