<%@ 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: Commercial_Real_Estate.asp '------------------------------- ' Commercial_Real_Estate Custom Includes begin Dim page Dim pageName Dim Cities Dim Counties page = "Commercial_Real_Estate" pageName = "Commercial_Real_Estate" Session("expired") = "No" %> <% ' Commercial_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 = "Commercial_Real_Estate.html" sTemplateFileName = "Skin/Commercial_Real_Estate.html" '=============================== '=============================== 'Save the name of the form and type of action into the variables '------------------------------- sAction = GetParam("FormAction") sForm = GetParam("FormName") '=============================== ' Commercial_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")) ' Commercial_Real_Estate Show end '------------------------------- ' Destroy all object variables '------------------------------- ' Commercial_Real_Estate Close Event begin ' Commercial_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() %> <% If LoadedPage <> "" Then SetScript "PutYourContentHere",LoadedPage Else If Request("Commercial_Real_EstateMessage") <> "" Then SetScript "PutYourContentHere","


" & Request("Commercial_Real_EstateMessage") & "
" 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 '=============================== %>
 
  • Abledating Sites

  • ABK-Soft have to offer to all you profit-wanting, business-making Internet merchants in 3D Dating
  • Bulldog Mobile Billboards

  • Bulldog Mobile Billboards provides an outdoor advertising medium in Dallas Texas 75205 area and Fort Worth Texas with scrolling mobile truck side billboards in and around the Metroplex.
  • Children Oil Portraits

  • Rockwellportraits.com provides unique Realistic Oil Portrait, Custom Charcoal Drawings. Don t be without your own Commissioned Portraits, Commissioned Drawings, Custom Oil Portraits.
  • Defensive Driving

  • Defensive Driving and Traffic School Online. State Approved Online Traffic School and Defensive Driving courses in California, Arizona, Florida, Texas, Virginia, Nevada


  • Seattle Injury Lawyers

  • personalinjurywashington.com provides you with excellent and experienced legal representation in the personal injury field.
  • Unplanned Pregnancy Options

  • We provides a complete array of legal and social work to birth mothers and people looking to expand their families through adoption and assisted reproduction.
  • Weddings In Puerto Vallarta

  • L & A Weddings offers Puerto Vallarta wedding packages, wedding photography, bridal services, custom wedding packages, and wedding reception coordination.
     
     

    Home | About | Buyers | Sellers | Area Info | Financial Info | Featured Listings | Search All Listings | Contact Me



    Equal Housing Opportunity - South Haven Real Estate 2008 All Rights Reserved - Privacy Statement