<% response.buffer=true %> <% mySQL="SELECT * FROM ListingTB WHERE (ListingID='" & Request.QueryString("ListingID") & "')" Set query=Server.CreateObject("ADODB.Recordset") query.Open mySQL, Connect, adOpenStatic, adLockOptimistic ' PAGE VARIABLES title=query("Name") & " : Just Say Go! : Lake Magazine" prefix="/" bg="" ad="none" %> <%= title %> onLoad="window.open('/promo_subscribe.asp','test','height=285,width=500,titlebar=no,status=no,toolbar=no,menubar=no,location=no');"<% end if %>>
Back to List
<% varStateReplace=query("State") %>
<%= query("Name") %>
<% if query("Address1")<>"" then %><%= query("Address1") %>
<% end if %> <%= query("City") %><% if varStateReplace<>"" AND query("City")<>"" then %>, <%= varStateReplace %><% end if %> <% varDescription= replace(query("Description"), chr(13), "
") %> <% if query("MenuBreakfast")<>"" OR query("MenuLunch")<>"" OR query("MenuDinner")<>"" then %>

Menus
<% if query("MenuBreakfast")<>"" then %>
  • #zoom=100 target=new>Breakfast Menu (pdf) <% if query("MenuBreakfastIMG")<>"" then %>" target=new>(or as image)<% end if %><% end if %> <% if query("MenuLunch")<>"" then %>
  • #zoom=100 target=new>Lunch Menu (pdf) <% if query("MenuLunchIMG")<>"" then %>" target=new>(or as image)<% end if %><% end if %> <% if query("MenuDinner")<>"" then %>
  • #zoom=100 target=new>Dinner Menu (pdf) <% if query("MenuDinnerIMG")<>"" then %>" target=new>(or as image)<% end if %><% end if %> <% end if %> <% if query("Description")<>"" then %>

    Description
    <% varDescription= replace(query("Description"), chr(13), "
    ") %><%= varDescription %><% end if %>

    Address and Contact Details
    <%= query("Address1") %>
    <%= query("City") %><% if varStateReplace<>"" AND query("City")<>"" then %>, <%= varStateReplace %><% end if %>
    target=new>(view map and get directions)

    <% if query("Telephone")<>"" then %><%= query("Telephone") %> (phone)
    <% end if %> <% if query("Fax")<>"" then %><%= query("Fax") %> (fax)
    <% end if %> <% if query("Email")<>"" then %>><%= query("Email") %>
    <% end if %> <% if query("Website")<>"" then %> target=new><%= query("Website") %><% end if %>
  • <% mySQL="SELECT TOP 1 * FROM ads WHERE adZone = 2 AND adEndDate > GETDATE() ORDER BY NEWID()" Set query=Server.CreateObject("ADODB.Recordset") query.Open mySQL, Connect, adOpenStatic, adLockOptimistic if NOT query.EOF then %> " target="_blank">" border="0"> <% updateSQL="UPDATE ads SET adViews=adViews+1 WHERE adID = "&query("adID") Connect.Execute(updateSQL) end if%>