<%@ codepage ="936" %>
<!--#include file="../conn/conn.asp"-->
<!--#include file="config.asp"-->
<%
const TbMax=0
tbsql="select * from banner where bz=4 order by LinkID"
Set tbrs= Server.CreateObject("ADODB.Recordset") 
tbrs.open tbsql,conn,1,1 
%>
<%do while not tbrs.eof%> 
document.write('<a href="<%=tbrs("web")%>"><img border=0 src="<%=PicUrl+tbrs("picurl")%>" alt="<%=tbrs("deseriptor")%>" width="120" height="45"></a> &nbsp;&nbsp;')
<% b=b+1 
if b>=TbMax then exit do 
tbrs.movenext 
loop 
tbrs.close 
set tbrs=nothing
conn.close
set conn=nothing 
%>