<% strcon= "Driver={Microsoft Access Driver (*.mdb)};DBQ=" & server.mappath("./ewpf/dbcls.mdb")&"" %> The Flying House <%session("searchpage")="N"%> <% strcon= "Driver={Microsoft Access Driver (*.mdb)};DBQ=" & server.mappath("./ewpf/dbcls.mdb")&"" %> <% smode=request.QueryString("smode") mart=request.QueryString("mart") if ucase(smode)="A" then session("mcat")="" session("myear")="" if len(trim(mart))>0 then session("mart")=mart end if end if if len(trim(smode))>0 then session("smode")=smode end if smode=session("smode") if len(trim(session("mart")))>0 then mart=session("mart") end if Set conn = Server.CreateObject("ADODB.connection") conn.open strcon if len(trim(mart))> 0 then set rs11=server.createobject("Adodb.recordset") rs11.cursortype=adopenstatic sqltype="select * from artist_master where ucase(trim(accountid))='"&ucase(trim(mart))&"'order by accountorder,accountname,accountphoto1 " rs11.open sqltype,conn,2,2 if rs11.bof and rs11.eof then martname="" martlink="" martbio="" martphoto="" else martname=rs11("accountname") martlink=rs11("accountlink") martbio="./driver/artist1/"&rs11("accountphoto1") martphoto="./driver/artist2/"&rs11("accountphoto2") end if set rs11=nothing end if set conn=nothing %>
<% Set con = Server.CreateObject("ADODB.connection") con.open strcon SET rs=Server.CreateObject("ADODB.Recordset") sqlst="SELECT accountid,accountname,accountlink FROM artist_master order by accountname,accountorder,accountorder,tid " rs.open sqlst,con if rs.bof and rs.eof then ELSE x=0 while not rs.eof x=x+1 artid=rs(0) artname=rs(1) martlink1=rs(2) %> <% if x>4 then x=1 end if if x=1 then %> <% end if %> <% if x= 4 then %> <% end if%> <% rs.movenext wend end if set rs=nothing %>
» <%=artname%>
<% SET rs=Server.CreateObject("ADODB.Recordset") sqlst="SELECT accountid,accountname FROM category_master order by accountorder,accountname,tid " rs.open sqlst,con if rs.bof and rs.eof then ELSE x=0 while not rs.eof x=x+1 catid=rs(0) catname=rs(1) %> <% if x>4 then x=1 end if %> <% rs.movenext wend end if set rs=nothing %>
» <%=catname%>
<% SET rs=Server.CreateObject("ADODB.Recordset") sqlst="SELECT accountid,accountname FROM projcat_master order by accountorder,accountname,tid " rs.open sqlst,con if rs.bof and rs.eof then ELSE x=0 while not rs.eof x=x+1 pid=rs(0) pname=rs(1) %> <% if x>4 then x=1 end if %> <% rs.movenext wend end if set rs=nothing %>
» <%=pname%>
<% SET rs=Server.CreateObject("ADODB.Recordset") sqlst="SELECT accountid,accountname FROM mediacat_master order by accountorder,accountname,tid " rs.open sqlst,con if rs.bof and rs.eof then ELSE x=0 while not rs.eof x=x+1 mdid=rs(0) mdname=rs(1) %> <% if x>4 then x=1 end if %> <% rs.movenext wend %> <% end if set rs=nothing %>
» <%=mdname%>
» Collectors Details
» Information
» Feedback
» Location Map #1
» Location Map #2
» Associates
<% if ucase(session("smode"))="A" and session("searchpage")="Y" then %>
<% if len(martphoto)>17 then %>
<%end if%>
<% if len(martname)>0 then %> <%=martname%> <%end if%>
<% if len(martlink)>0 then %> <%=martlink%> <%end if%>
<% if len(martbio)>17 then %> BIOGRAPHY <%end if%>
<% else %>
<% end if%>
<% Set Conn = Server.CreateObject("ADODB.Connection") Conn.Open strcon mmedia=request.QueryString("mmedia") if len(trim(mmedia))> 0 then set rs11=server.createobject("Adodb.recordset") rs11.cursortype=adopenstatic sqltype="select * from mediacat_master where ucase(trim(accountid))='"&ucase(trim(mmedia))&"'order by accountorder,accountname " rs11.open sqltype,conn,2,2 if rs11.bof and rs11.eof then jmedia="" else jmedia=rs11("accountname") end if set rs11=nothing end if if len(trim(mmedia))> 0 then mtitle="Media center : " if len(jmedia)>0 then mtitle="Media center : "&jmedia end if mlink="View" mtb="Media" else mtitle="Associates" mlink="Link" mtb="Link" end if %>

<%=mtitle%>

<% if mmedia="M06" or mmedia="M08" then %> <%else%>
<%end if%> <% if (not mmedia="M06") and (not mmedia="M08") then %> <% end if%> <% set rs11=server.createobject("Adodb.recordset") 'if mmedia="M06" or mmedia="M08" then msf=1 msf2=1 if request.querystring("msf")="" then msf=1 msf2=1 else if isnumeric(request.querystring("msf")) then msf=request.querystring("msf") msf2=request.querystring("msf") else msf=1 msf2=1 end if end if rs11.cursortype=adopenstatic RS11.CursorLocation = 3 rs11.pagesize=10 'else 'rs11.cursortype=adopenstatic 'end if if ucase(mtb)="LINK" then sqltype="select * from "&mtb&"_master order by accountid, accountorder,accountname " else sqltype="select * from "&mtb&"_master where ucase(accountcategory)='"&ucase(mmedia)&"' order by accountid, accountorder,accountname " end if rs11.open sqltype,conn,2,2 if rs11.bof and rs11.eof then else jp=10000 'if mmedia="M06" or mmedia="M08" then jp=rs11.pagesize rs11.absolutepage=cint(msf) msf2=msf pagecount=rs11.pagecount 'end if m=0 v=0 while not rs11.eof and v <% if mmedia="M06" or mmedia="M08" then if m=1 then %> <% end if%> <% if m=5 then %> <% m=0 end if%> <% else%> <% if ucase(mtb)="LINK" then%> <% else %> <% end if%> <% end if%> <% rs11.movenext wend end if set rs11=nothing set conn=nothing %> <% 'if mmedia="M06" or mmedia="M08" then %> <% if cdbl(pagecount)>1 then %> <%end if%> <%'end if%>
Sr No. Title
<%=mlink%>
<%=aname%>
<%=m%>
 <%=aname%> <%=aname%>
<% if ucase(mtb)="MEDIA" then %> <% if mmedia="M07" or mmedia="M04" then %> <% if len(trim(abclinkname))> 0 then %> Go to Link <%else %> View <%end if%> <% else %> View <%end if %> <% else %> <%=alink%> <%end if%>
<% if cint(msf2)>1 then %>  < Previous Page <% else %>  < Previous Page <% end if %>
  <% for a=1 to pagecount if cint(a)=cint(msf2) then %>   <%=a%>  | <% else %>   <%=a%>  | <% end if next totv=pagecount%>
<% if cint(msf2) Next Page >  <% else %> Next Page >  <% end if %>
<% k1="Sponsers " k2=" " SET rs=Server.CreateObject("ADODB.Recordset") sqlst="SELECT count(*) FROM sponser_master where ucase(accountcategory)='OTHER' " rs.open sqlst,con if rs.bof and rs.eof then ELSE if not rs(0)=0 then k1="Main Sponsors" k2="Other Sponsors" end if end if set rs=nothing %>
<%=k1%> <% SET rs=Server.CreateObject("ADODB.Recordset") sqlst="SELECT accountid,accountname,accountphoto1,accountlink FROM sponser_master where ucase(accountcategory)='MAIN' order by accountorder " rs.open sqlst,con if rs.bof and rs.eof then ELSE x=0 while not rs.eof and x <3 x=x+1 lid=rs(0) lname=rs(1) lpt="./driver/sponser1/"&rs("accountphoto1") llink=rs(3) %> <% rs.movenext wend end if set rs=nothing %>
<%=k2%> <% SET rs=Server.CreateObject("ADODB.Recordset") sqlst="SELECT accountid,accountname,accountphoto1,accountlink FROM sponser_master where ucase(accountcategory)='OTHER' order by accountorder " rs.open sqlst,con if rs.bof and rs.eof then ELSE x=0 while not rs.eof and x <6 x=x+1 lid=rs(0) lname=rs(1) lpt="./driver/sponser1/"&rs("accountphoto1") llink=rs(3) %> <% rs.movenext wend end if set rs=nothing set con=nothing %>