<%@ Language=VBScript%> <% Response.Buffer=true Response.Expires=0 %> <% pageno=Request.QueryString("pageno") keyno=Request.QueryString("keyno") classcode=Request.QueryString("classcode") set cn = Server.CreateObject("ADODB.Connection") cn.Open(mycnstr) set rs = Server.CreateObject("ADODB.Recordset") set rs2 = Server.CreateObject("ADODB.Recordset") mymenu="ad" myurl="ad.asp?temp=1" %> 广告服务_澳大利亚ABC环球集团
  广告服务-ABC网络
<% sql="select keyno,title from miscell where state='1' and classcode='400' order by sortnum asc" rs.Open sql,cn,1,1 do while not rs.EOF if keyno="" then keyno=rs(0) if cstr(keyno)=cstr(rs(0)) then %>
  <%=trim(rs(1))%>
<%else%>
  <%=trim(rs(1))%>
<% end if rs.MoveNext loop rs.Close %>
免费咨询热线:
<% sql="select * from sys_dept order by flag desc,sortnum " rs.Open sql,cn,1,1 i=1 do while not rs.EOF and i<=2 %> (<%=trim(rs("shortname"))%>) <%=trim(rs("phone"))%>
<% i=i+1 rs.MoveNext loop rs.Close %>
<% if keyno<>"" then sql="select * from miscell where state='1' and keyno="&keyno else sql="select * from miscell where state='1' and classcode='400' order by sortnum" end if rs.Open sql,cn,1,3 if not rs.EOF then title=trim(rs("title")) sortnum=rs("sortnum") content=trim(rs("content")) querycount=trim(rs("querycount")) newsform=trim(rs("newsform")) author=trim(rs("author")) classcode=rs("classcode") picflag=rs("picflag") picflag2=rs("picflag2") flag=rs("flag") website=trim(rs("website")) basclass=rs("basclass") creadate=rs("creadate") rs("querycount")=rs("querycount")+1 picalign=trim(rs("picalign")) infocount=rs("infocount") rs.Update else Response.End end if rs.Close %>
广告服务-<%=title%>
来源:<%=newsform%> 编辑:<%=author%> 浏览<%=querycount+1%>次
<% if infocount>0 then sqltext="select * from miscell_info where miscellno="&keyno&" order by sortnum" rs2.Open sqltext,cn,1,1 do while not rs2.EOF if rs2("picflag")="1" then picalign2=trim(rs2("picalign")) if picalign2="center" then %>
<%if rs2("picflag2")="1" then%> " target=_blank>" border="0"> <%else%> " border="0"> <%end if%>
<%if rs2("flag")="1" then%>
<%=trim(rs2("title"))%>
<%end if else if rs2("picflag2")="1" then %> " target=_blank>" border="0" align=<%=picalign2%>> <% else %> " border="0" align=<%=picalign2%>> <%end if end if end if Response.Write(checkstr(trim(rs2("content")),"1")&"
") rs2.MoveNext loop rs2.Close else if picflag="1" then piccode="miscell" if picflag2="1" then piccode="miscell2" if picalign="center" then %>

<% else%>
<% end if end if Response.Write checkstr(content,"1") end if%>