Current File : C:/Inetpub/vhosts/escuderiaarico.com/httpdocs/indexRS_2023.asp

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="https://www.w3.org/1999/xhtml" lang="es" xml:lang="es">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<html lang="es" class="no-js">
<%
 Response.CacheControl = "no-cache"
 Response.AddHeader "Pragma", "no-cache"
 Response.Expires = -1
%>
<head>
	<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
	<meta name="viewport" content="width=device-width, initial-scale=1">

	<link href='https://fonts.googleapis.com/css?family=Titillium+Web:400,600,700' rel='stylesheet' type='text/css'>
	<link href='https://fonts.googleapis.com/css?family=Indie+Flower' rel='stylesheet' type='text/css'>
    <link href='https://fonts.googleapis.com/css?family=Dosis' rel='stylesheet' type='text/css'>
     
	<link rel="stylesheet" href="css/reset.css"> 
	<link rel="stylesheet" href="css/style.css"> 
	<script src="js/modernizr.js"></script>
  	
	<title>I RALLYSPRINT ARICO 2023</title>


</head>
<!--WEBBOT BOT="HTMLMarkup" STARTSPAN -->
<body>
	<header>
		<nav id="cd-top-nav">
			<ul>
				<li>I RALLYSPRINT ARICO 2023<br><span class="top-small">8-9 de septiembre de 2023</span></li>
			</ul>
		</nav>
		<a id="cd-menu-trigger" href="#0"><span class="cd-menu-text">Menu</span><span class="cd-menu-icon"></span></a>
	</header>

	<main class="cd-main-content">

		<div class="patrocinadores" style="z-index:10; margin-bottom: -4%; position: relative;">
			<img class="patrocinadores_full" src="patrocinadores.png">
			<img class="patrocinadores_mobile" src="patrocinadoresm.png">
		</div>


		<div id="slider">
			<figure>
			<img src="img/slider01.jpg" alt="">
			<img src="img/slider02.jpg" alt="">
			<img src="img/slider03.jpg" alt="">
			<img src="img/slider04.jpg" alt="">
			<img src="img/slider05.jpg" alt="">
			<img src="img/slider02.jpg" alt="">
			<img src="img/slider03.jpg" alt="">
			<img src="img/slider04.jpg" alt="">
			<img src="img/slider05.jpg" alt="">
			<img src="img/slider01.jpg" alt="">
			</figure>
		</div>

		<div class="section main">

			<ol>
				<li class="figurej">
					<a href="#">
						<div class="fotonoticia apaisada" style="background-image: url('img/alojamiento.jpg');"><img src="transparentest2.png" alt="" /></div>
					</a>
				</li><!-- /end .figure -->
				<li class="figurej">
					<a href="#">
						<div class="fotonoticia apaisada" style="background-image: url('img/seguridad.jpg');"><img src="transparentest2.png" alt="" /></div>
					</a>
				</li><!-- /end .figure -->
				<li class="figurej">
					<a href="#">
						<div class="fotonoticia apaisada" style="background-image: url('img/tablon.jpg');"><img src="transparentest2.png" alt="" /></div>
					</a>
				</li><!-- /end .figure -->
				<li class="figurej">
					<a href="https://www.tiemposonline.com">
						<div class="fotonoticia apaisada" style="background-image: url('img/tiemposonline.png');"><img src="transparentest2.png" alt="" /></div>
					</a>
				</li><!-- /end .figure -->
			</ol>

		</div>


<%
on error resume next

dim id(1000), contador(1000), titular(1000), fotoppal(1000), cabecera(1000), fecha(1000)

usuario="islatenerife"
propietario="Julio Martínez"
blogerid="22"
estadopet="b"

conexion="PROVIDER=SQLOLEDB;DATA SOURCE=147.135.183.197;UID=escuderiaarico;PWD=Cocococo1;DATABASE=escuderiaarico"
tabla="entradas"

x=0

' LEO DATOS ENTRADA

Set Conn = Server.CreateObject("ADODB.Connection")
Conn.Open(conexion)

sSQL="Select * From " & tabla & " where ano>18 order by ano desc, mes desc, dia desc, id desc"

set RS = Conn.Execute(sSQL)

do while not rs.eof

x=x+1

id(x)=rs("id")
contador(x)=rs("id")
titular(x)=rs("titular")
fotoppal(x)=rs("foto1")
cabecera(x)=rs("cabecera")

dia=rs("dia")
mes=rs("mes")
ano=rs("ano")

' RECOMPONGO LA FECHA

mes=mes+1-1

select case mes

case 1
mes="enero"
case 2
mes="febrero"
case 3
mes="marzo"
case 4
mes="abril"
case 5
mes="mayo"
case 6
mes="junio"
case 7
mes="julio"
case 8
mes="agosto"
case 9
mes="septiembre"
case 10
mes="octubre"
case 11
mes="noviembre"
case 12
mes="diciembre"
end select

fecha(x)=dia & " de " & mes & " de 20" & ano

rs.movenext

loop

Conn.Close

%>

		<div class="section main">
<%
if haynoticias="si" then

%>		
		<div class="separadori"><span class="tituloseparador">ÚLTIMAS NOTICIAS</span></div>

			<ol>
				<li class="figure">
					<a href="noticia.asp?id=<%=id(1)%>">
						<div class="fotonoticia" style="background-image: url('http://www.rallyegranadilla.com/fotografias/<%=fotoppal(1)%>');"><img src="transparente.png" alt="" /></div>
					<b><%=titular(1)%></b>
					</a>
				</li><!-- /end .figure -->
				<li class="figureb">
					<a href="noticia.asp?id=<%=id(2)%>">
						<div class="fotonoticia" style="background-image: url('http://www.rallyegranadilla.com/fotografias/<%=fotoppal(2)%>');"><img src="transparente.png" alt="" /></div>
					<b><%=titular(2)%></b>
					</a>
				</li><!-- /end .figure -->
				<li class="figure">
					<a href="noticia.asp?id=<%=id(3)%>">
						<div class="fotonoticia" style="background-image: url('http://www.rallyegranadilla.com/fotografias/<%=fotoppal(3)%>');"><img src="transparente.png" alt="" /></div>
					<b><%=titular(3)%></b>
					</a>
				</li><!-- /end .figure -->
				<li class="figureb">
					<a href="noticia.asp?id=<%=id(4)%>">
						<div class="fotonoticia" style="background-image: url('http://www.rallyegranadilla.com/fotografias/<%=fotoppal(4)%>');"><img src="transparente.png" alt="" /></div>
					<b><%=titular(4)%></b>
					</a>
				</li><!-- /end .figure -->
			</ol>


		</div><!-- /end .section.main -->

<%
else
end if
%>
<!--#include file="pie.asp"-->




	</main> <!-- cd-main-content -->

<!--#include file="menu.asp"-->

	
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script src="js/main.js"></script> <!-- Resource jQuery -->
<!--WEBBOT BOT="HTMLMarkup" ENDSPAN i-checksum="2807" -->
</body>
</html>