<%
i=1
SQL="SELECT t.* From tour t, tour_menu m where t.id=m.tid and t.status=1 and m.mid=7 order by t.orderby"
Set data1=conn.Execute(SQL)
Do until data1.eof
%>
<%if data1("imgname") <> "" then%><%if data1("pdfname") <> "" then%>" target="_blank" class="text" ><%end if%> " alt="" vspace="6" border="0"><%if data1("pdfname") <> "" then%> <%end if%><%end if%>
<%if data1("tourdate") <> "" then%><%=data1("tourdate")%> <%end if%>
<%if data1("pdfname") <> "" then%>" target="_blank" class="text" >Download Details <%end if%>
<%if data1("description") <> "" then%><%=data1("description")%> <%end if%><%=data1("description_en")%>
<%
if i = 3 then
i = 0
response.write ""
end if
i=i+1
data1.movenext
loop
data1.close
%>