% @LCID = 1034%> <% Dim DB, SQL, rs Set DB = Server.CreateObject("ADODB.Connection") DB.Open ("PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA SOURCE=" + Server.MapPath("../../db/_spmdb.old.mdb")) modulo=cstr(request.QueryString("modulo")) cont=cstr(Request.QueryString("cont")) if cont = "" or cont ="0" and modulo = "noticia" then modulo = "principal" end if %>
<%=FormatDateTime(Now, vbLongDate)%> |
LO MAS IMPORTANTE DE LAS NOTICIAS |
||
<%
SQL = "SELECT * FROM vela where principal = true order by id desc"
set rsT1=Server.CreateObject("ADODB.Recordset")
rsT1.open SQL, DB, 3, 3
i = cint(rsT1.fields("id"))
rsT1.close
SQL = "SELECT * FROM vela where status = 'A' and id <> " & i & " order by fecha desc"
rsT1.open SQL, DB, 3, 3
j = cint(rsT1.recordcount)
j = j - 1
for c = 1 to j
if c = 7 then
exit for
end if
rsT1.Movenext
%>
&modulo=noticia"><%=rsT1.fields("titulo")%><% next rsT1.close %> |
<%
notita
%>
||
|
<%
SQL = "SELECT * FROM vela where principal = true order by id desc"
set rsT1=Server.CreateObject("ADODB.Recordset")
rsT1.open SQL, DB, 3, 3
i = cint(rsT1.fields("id"))
rsT1.close
SQL = "SELECT * FROM vela where status = 'A' and id <> " & i & " order by fecha desc"
rsT1.open SQL, DB, 3, 3
rsT1.Movenext
rsT1.Movenext
rsT1.Movenext
rsT1.Movenext
rsT1.Movenext
rsT1.Movenext
j = cint(rsT1.recordcount)
j = j - 7
for c = 1 to j
if c = 7 then
exit for
end if
rsT1.Movenext
%>
- <%=rsT1.fields("titulo")%> <%=rsT1.fields("introduccion")%> <% next rsT1.close %> |
||
Copyright © 2004 Sports Time. Todos los derechos reservados. Este material no puede ser publicado, transmitido, re-escrito, o re-distribuido en ninguna forma. |
||
<%
else
%>