%@ Language=VBScript %>
<%
'Option Explicit
Dim strConnect, objConn, objRS, adOpenForwardOnly, adLockReadOnly, adCmdText, adoCon, strSQL1, strSQL2, strSQL3
sendto = Request.Querystring("sendto")
%>
Sell Spokane Homes
|
| |
<% If Session("blnLogin")= True then %>
<%
strSQL1 = "Select * From homes where status = '1' order by ID asc"
Set objConn = Server.CreateObject("ADODB.Connection")
Set objRS = Server.CreateObject ("ADODB.Recordset")
objConn.Open strConnect
objRS.Open strSQL1, objConn, adoCon
While not objRS.EOF
Response.write("")
Response.write(" & ") | ")
Response.write(" | ")
Response.write("| " & objRS("title") & " - " & objRS("listprice") & " | ")
Response.write("| Description: " & objRS("shortnote") & " | ")
Response.write("| MLS: " & objRS("mls") & " Location: " & objRS("location") & " Built: " & objRS("yearbuilt") & " | ")
Response.write("| Address: " & objRS("addy1") & " - " & objRS("city") & ", " & objRS("state") & " " & objRS("zip") & " | ")
Response.write("| Square Feet: " & objRS("squarefeet") & " Bed/Bath: " & objRS("beds") & "/" & objRS("bath") & " Lot Size: " & objRS("lotsize") & " | ")
Response.write("| Last Updated: By " & objRS("addfirstname") & " on " & objRS("adddate") & " at " & objRS("addtime") & " | ")
Response.write("  | | | ")
Response.write("")
objRS.MoveNext
Wend
objRS.Close
Else
strSQL1 = "Select * From homes where status = '1' order by ID asc"
Set objConn = Server.CreateObject("ADODB.Connection")
Set objRS = Server.CreateObject ("ADODB.Recordset")
objConn.Open strConnect
objRS.Open strSQL1, objConn, adoCon
While not objRS.EOF
Response.write("")
Response.write(" & ") | ")
Response.write(" | ")
Response.write("| " & objRS("title") & " - " & objRS("listprice") & " | ")
Response.write("| Description: " & objRS("shortnote") & " | ")
Response.write("| MLS: " & objRS("mls") & " Location: " & objRS("location") & " Built: " & objRS("yearbuilt") & " | ")
Response.write("| Address: " & objRS("addy1") & " - " & objRS("city") & ", " & objRS("state") & " " & objRS("zip") & " | ")
Response.write("| Square Feet: " & objRS("squarefeet") & " Bed/Bath: " & objRS("beds") & "/" & objRS("bath") & " Lot Size: " & objRS("lotsize") & " | ")
Response.write("  | | | ")
Response.write("")
objRS.MoveNext
Wend
objRS.Close
End If
%>
|
|
| |
|
<% If Session("blnLogin")= True then %>
|
|
|
|
|