|
| |
|
| |
|
|
|
| |
| Parceiros |
| .................. |
| |
<%
Set rsprop2 = Server.createobject("ADODB.Recordset")
sqlprop2 = " select * from tb_propaganda WHERE tipo='2' order by cd_propaganda desc "
'response.Write(sql)
'response.End()
rsprop2.open sqlprop2, objconn
while not rsprop2.eof
%>
<%if rsprop2("nome") <> "SEMFOTO.GIF" then%>
|
<%end if%>
| |
<%rsprop2.movenext%>
<%wend%>
| |
|
|
<%
Set objRSbannercapa = Server.createobject("ADODB.Recordset")
sql = " select top 1 * from tb_banner where bannercapa = true order by cd_banner desc"
'response.Write(sql)
'response.End()
objRSbannercapa.open sql, objconn
if not objRSbannercapa.eof then
nome = objRSbannercapa("nome")
url = objRSbannercapa("url")
%>
<%if (nome) <> "SEMFOTO.GIF" then%>
PUBLICIDADE
<%end if%>
<%end if%>
|
|