<%@ 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: Business_Real_Estate.asp '------------------------------- ' Business_Real_Estate Custom Includes begin Dim page Dim pageName Dim Cities Dim Counties page = "Business_Real_Estate" pageName = "Business_Real_Estate" Session("expired") = "No" %> <% ' Business_Real_Estate CustomIncludes end '------------------------------- '*** TOOLS *** '** FROM FILE ** root=Replace(server.MapPath("AdminOwnerXML.html"),"AdminOwnerXML.html","") 'Set fso = 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 '** REMOTE XML ** '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 '** REMOTE DATABASE ** 'Set Conn = Server.CreateObject("ADODB.Connection") 'Set Rs = Server.CreateObject("ADODB.Recordset") 'Conn.Open "Provider=sqloledb;" & _ ' "Data Source=216.127.88.120,2433;" & _ ' "Network Library=dbmssocn;" & _ ' "Initial Catalog=Accounting;" & _ ' "User ID=sa;" & _ ' "Password=buckler;" 'rs.Open SQL,conn,1,1 'rs.Close 'conn.Close 'set rs=Nothing 'set conn=Nothing ' Set conn = CreateObject("ADODB.Connection") ' Set rs = Server.CreateObject("ADODB.Recordset") ' filePath = Server.MapPath("AdminMyStuff.html") ' conn.Open "Driver={Microsoft Access Driver (*.mdb)};DBQ=" & filePath ' strSQL = "SELECT * FROM MyListings ORDER BY ID Desc" ' Set rs = conn.Execute(strSQL) ' rs.Movefirst 'rs.Close 'conn.Close 'set rs=Nothing 'set conn=Nothing '=============================== ' Save Page and File Name available into variables '------------------------------- sFileName = "Business_Real_Estate.html" sTemplateFileName = "Skin/Business_Real_Estate.html" '=============================== '=============================== 'Save the name of the form and type of action into the variables '------------------------------- sAction = GetParam("FormAction") sForm = GetParam("FormName") '=============================== ' Business_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")) ' Business_Real_Estate Show end '------------------------------- ' Destroy all object variables '------------------------------- ' Business_Real_Estate Close Event begin ' Business_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("Business_Real_EstateMessage") <> "" Then SetScript "PutYourContentHere","


" & Request("Business_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 '=============================== %>
 
  • Affordable Dental Implants

  • BridgeHealth has assembled the most extensive provider network in the industry, with over 25 hospitals and 600 physicians, dentists and health professionals in more than 10 countries. BridgeHealth I
  • Based Business Home Latest Opportunity

  • We are dedicated to providing the greatest value, and the finest shopping experience available.
  • Beverly Hills Divorce Lawyer

  • We handle family law, divorce, estate planning, and probate issues, California Divorce Law, California Family Law Attorney And Encino Divorce Lawyer.
  • Computer System Network Security

  • ASi Networks, Inc. (ASi) is a privately owned company specializing in the deployment of network solutions and technical services for today s business market.


  • Cosmetic Dentist Lakewood

  • The passion of montage dentistry is to allow individuals to feel an amazing comfort as they enter a peaceful and calming environment.
  • Fire Resistant

  • Looking for Flame Retardants, Halogen Free, Ammonium Polyphosphate and Melamine Cyanurate? Come to Jlschemicalusa.com.
  • Herbal Allergy Remedies

  • Natural Remedies And Herbal Remedies To Support Physical, Emotional And Mental Health; ADD, ADHD, Anxiety, Panic Attacks, Depression, Utis And More.
  • Houston Bleeding Rectum

  • At Northwest General & Colo-Rectal Surgery PA we strive to provide you with the highest quality of care in the fields of General & Colon-Rectal surgery. We are committed to provide the finest and mo


  • Iso 9001 Quality Manual

  • We have a 100% success rate for satisfying product and project goals on four continents, in multiple languages, giving us the ability to support your multi-language workforce, multiple facilities or
  • Online Homebased Business Opportunities

  • JWB Global LLC is a network of websites devoted to making your shopping experience thought the internet easier and more enjoyable
  • Relaxation baskets

  • Blissful Balance will help you find the best SPA Gifts and SPA Gift Baskets.
     
     

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



    Equal Housing Opportunity - Charlotte Real Estate 2003 All Rights Reserved - Privacy Statement