<% If Not noticia.EOF Or Not noticia.BOF Then %>
<%
lleno=(noticia.Fields.Item("fecha").Value)
if lleno <> "" then
%>
|
<%=FormatDateTime(lleno, vbLongDate)%> |
<%end if%>
<%
lleno=(noticia.Fields.Item("antetitulo").Value)
if lleno <> "" then
%>
| <%=(lleno)%> |
<%end if%>
<%
lleno=(noticia.Fields.Item("titular").Value)
if lleno <> "" then
%>
|
|
<%end if%>
<%
lleno=(noticia.Fields.Item("pienoticia").Value)
if lleno <> "" then
%>
|
<%=lleno%> |
<%end if%>
| |
|
<%
strRequest = (noticia.Fields.Item("cronica").Value)
' lo siguiente cuenta el numero de caracteres
' lo siguiente devuelve un numero de caracteres determinado , en este caso 15
Response.Write(left(strRequest,600))
%>
... |
| |
<%
vinc=(noticia.Fields.Item("vinculo").Value)
if vinc <> "" then
%>
| Enlace a la página oficial :: |
| <%=(vinc)%> |
<%end if%>
|
<% End If ' end Not noticia.EOF Or NOT noticia.BOF %>
| |
<% If Not al_minuto.EOF Or Not al_minuto.BOF Then %>
Otras Noticias
<% End If ' end Not al_minuto.EOF Or NOT al_minuto.BOF %>
|
| |
| <%
While ((Repeat2__numRows <> 0) AND (NOT al_minuto.EOF))
%>
<% If Not al_minuto.EOF Or Not al_minuto.BOF Then %>
<%
id_noticia=Cstr(noticia.Fields.Item("id").Value)
id_al_minuto=Cstr(al_minuto.Fields.Item("id").Value)
if id_noticia <> id_al_minuto then
%>
 |
<%
datThisDay = DatePart("d", Date()) ' datThisDay = 30
datThisMonth = DatePart("m", Date()) ' datThisMonth = 6
datThisYear = DatePart("yyyy", Date()) ' datThisYear = 2006
titular=(al_minuto.Fields.Item("titular").Value)
pienoticia=(al_minuto.Fields.Item("pienoticia").Value)
%>
<%
'contar el numero de caracteres
strRequest = LCase(titular)
%>
" >
<%
Response.Write(left(strRequest,60))
%>
...
<%
Dim fecha
Dim hora
dia=day(date)
if (dia <=9) then
dia="0" & dia
end if
mes=month(date)
if (mes <=9) then
mes="0" & mes
end if
fin=dia&"/"&mes&"/"&year(date)
fecha_2=(al_minuto.Fields.Item("fecha").Value)
%>
<%'if Cstr(fin) <> Cstr(fecha_2) then %>
[<%= fecha_2 %>]
<%'end if%>
|
<% end if%>
<% End If ' end Not al_minuto.EOF Or NOT al_minuto.BOF %>
<%
Repeat2__index=Repeat2__index+1
Repeat2__numRows=Repeat2__numRows-1
al_minuto.MoveNext()
Wend
%>
<% If Not al_minuto.EOF Or Not al_minuto.BOF Then %>
<% End If ' end Not al_minuto.EOF Or NOT al_minuto.BOF %> |
|
|
|
<% If Not noticia.EOF Or Not noticia.BOF Then %>
<%
Dim imagen
imagen=(noticia.Fields.Item("img").Value)
if imagen <> "" then
%>
 %>)
<%end if%>
|
<%=(noticia.Fields.Item("piefoto").Value)%> |
<% End If ' end Not al_minuto.EOF Or NOT al_minuto.BOF %> |
|