<%
selectSQL = "select * from newsticker where nt_start <= '" & thisDate & "'"
selectSQL = selectSQL & " and nt_end >= '" & thisDate & "'"
if canadian = 1 then
selectSQL = selectSQL & " and nt_CA = 1"
elseif australia = 1 or newzealand = 1 then
selectSQL = selectSQL & " and nt_AU = 1"
else
selectSQL = selectSQL & " and nt_US = 1"
end if
if testmode = 0 then
selectSQL = selectSQL & " and nt_enabled = 1"
end if
selectSQL = selectSQL & " order by newID()"
ntNum = 0
rs.Open selectSQL
do while not rs.EOF
%>
<%= rs("nt_title") %>
...
" target="_blank">Read more
<%
ntNum = ntNum + 1
rs.movenext
loop
rs.Close
%>
<%
selectSQL = "select top 1 * from homebanner2010"
if scriptname = "/index.asp" then
if canadian = 1 then
selectSQL = selectSQL & " where hb_CA = 1"
elseif australia = 1 or newzealand = 1 then
selectSQL = selectSQL & " where hb_AU = 1"
else
selectSQL = selectSQL & " where hb_US = 1"
end if
if testmode = 0 then
selectSQL = selectSQL & " and hb_enabled = 1"
end if
selectSQL = selectSQL & " order by newID()"
else
selectSQL = selectSQL & " where hb_id in (select ps_homebanner2010 from partnerskin where ps_subfolder = '" & scriptnameParts(1) & "')"
end if
rs.Open selectSQL
if not rs.EOF then
%>
; background-image: url(/images/homebanner2010/<%= rs("hb_id") %>_<%= rs("hb_image") %>);">
<%
end if
rs.Close
%>
','_blank')" title="<%= rs("hb_title") %>">
<%
if rs("hb_title1") <> "" then
%>
<%
if rs("hb_title2") <> "" then
%>
<%
end if
if rs("hb_title3") <> "" then
%>
<%
else
%>
','_blank')" title="<%= rs("hb_title") %>">
<%
end if
%>
<%= rs("fo_title") %>
<%= rs("sd_title") %>
<%= rs("sd_summary") %>
Read More...
Read More...
<%
if scriptname = "/plan-your-trip/free-scotland-brochure/index.asp" then
' rightColumn = ""
else
end if
if rightColumn <> "" then
%>
<%= rightColumn %>
<%
else
%>
<%
end if
%>









