Current File : C:/Inetpub/vhosts/escuderiaarico.com/httpdocs/noticia_.asp
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="es" xml:lang="es">
<head>
	<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
	<title>Rallye Isla Tenerife 2013</title>
	<script type="text/javascript" src="jquery.js"></script>
	<script src="AC_RunActiveContent.js" type="text/javascript"></script>
	<script src="AC_ActiveX.js" type="text/javascript"></script>
	<script type="text/javascript">
	  $(document).ready(function(){
			$("#nav-one li").hover(
				function(){ $("ul", this).fadeIn("fast"); }, 
				function() { } 
			);
	  	if (document.all) {
				$("#nav-one li").hoverClass ("sfHover");
			}
	  });
	  
		$.fn.hoverClass = function(c) {
			return this.each(function(){
				$(this).hover( 
					function() { $(this).addClass(c);  },
					function() { $(this).removeClass(c); }
				);
			});
		};	  
	</script>
<script language="javascript"> AC_FL_RunContent = 0; </script>
<script language="javascript"> DetectFlashVer = 0; </script>
<script src="http://www.motorcanario.com/AC_RunActiveContent.js" language="javascript"></script>
<script language="JavaScript" type="text/javascript">
var requiredMajorVersion = 6;
var requiredMinorVersion = 0;
var requiredRevision = 45;
</script>
	<style type="text/css">

body
{ 
background-image: 
url('back.jpg');
background-repeat: 
no-repeat;
background-position: 
 center 0; 
 
background-color: #000000
}

		#flashContent { width:100%; height:100%; }

/* Navigation */
.nav, .nav ul { 
	list-style: none;
	margin: 0;
	padding: 0;
}
 
.nav {
  font-family: Arial, Helvetica, sans-serif;
  z-index: 100;
  position: relative;
  align: center;
  width: 980px;

}
.nav li {
  border-left: 1px solid #000;
  float: left;
  margin: 0;
  padding: 0;
  position: relative;


}
.nav li a, .nav li a:link, .nav li a:active, .nav li a:visited {
  font: bold 16px Arial, Helvetica, sans-serif;
  background: #565656;
  color: #FFFFFF;
  display: block;
  padding: 0 12px;
  text-decoration: none;
}
 
.nav li a:hover {
  background: #ccc;
  color: #000;	
 
}
#nav-one li:hover a, 
#nav-one li.sfHover a {
  background: #ccc;
  color: #000;
}
#nav-one li:hover ul a, 
#nav-one li.sfHover ul a {
  background: #565656;
  color: #FFFFFF;	
}
#nav-one li:hover ul a:hover, 
#nav-one li.sfHover ul a:hover {
  background: #ccc;
  color: #000;	
}
 
.nav ul {
  background: #565656;
  border-bottom: 1px solid #000;
  list-style: none;
  margin: 0;
  width: 264px;
  position: absolute;
  top: -999em;
  left: -1px;
}
.nav li:hover ul,
.nav li.sfHover ul {
  top: 18px;
}
.nav ul li {
  border: 0;
  float: none;
}
.nav ul a {
  border: 1px solid #000;
  border-bottom: 0;
  padding-right: 20px;
  width: 238px;
  white-space: nowrap;
}
.nav ul a:hover {
  background: #ccc;
  color: #000;
}
	</style>
</head>
<body style="background-color: #FFFFFF">
		<div align="center">
			<table border="0" width="980" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF">
				<tr>
					<td>
<div style="position: relative; width: 980; height: 438; z-index: 0" id="bigbanner">
<script language="JavaScript" type="text/javascript">
if (AC_FL_RunContent == 0 || DetectFlashVer == 0) {
	alert("Error en la carga de archivo.");
} else {
var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
if(hasRightVersion) { 
AC_FL_RunContent(
'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,45,0',
'width', '980',
'height', '438',
'src', 'http://www.rallyeislatenerife.com/rallye13/cabecera',
'quality', 'high',
'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
'align', 'middle',
'play', 'true',
'loop', 'true',
'scale', 'showall',
'wmode', 'transparent',
'devicefont', 'false',
'id', 'cabecera',
'name', 'cabecera',
'menu', 'true',
'allowScriptAccess','sameDomain',
'allowFullScreen','false',
'movie', 'http://www.rallyeislatenerife.com/rallye13/cabecera',
'salign', ''
); 
} else {  
	var alternateContent = '<a href="#"><img src="http://www.rallyeislatenerife.com/rallye13/backmovil.jpg" width="980" height="438" alt="" /></a>';
document.write(alternateContent);  
}
}
</script>
</div>
					</td>
				</tr>
			</table>
		</div>
<!--#include file="menu.asp"-->
		<div align="center">
			<table border="0" width="980" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF">
				<tr>
					<td align="left" valign="top">&nbsp;
<%

on error resume next

notpet=request.querystring("id")

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

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

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

x=0

' LEO DATOS ENTRADA

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

sSQL="Select * From " & tabla & " where blogger='" & blogerid & "' and ano='13' order by id desc"

set RS = Conn.Execute(sSQL)

do while not rs.eof

contador(x)=rs("id")
titular(x)=rs("titular")
fotoppal(x)=rs("foto1")
cabecera(x)=rs("cabecera")
cuerpo(x)=replace(rs("cuerpo"),(chr(10)),"<br>")




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




%>

					<table border="0" width="100%" cellpadding="0">
						<tr>
							<td align="left" valign="top"><b>
							<font face="Trebuchet MS" size="4" color="#E3001B"><%=titular(z)%></font></b></td>
						</tr>
						<tr>
							<td align="left" valign="top">
							
							<table border="0" width="100%" cellpadding="0" cellspacing="3">
								<tr>
									<td><img border="0" src="http://www.rallyeislatenerife.com/rallye12/fotografias/<%=fotoppal(z)%>" align="middle" hspace="3" vspace="3"></td>
								</tr>
								<tr>
									<td align="justify"><font face="Trebuchet MS" size="2" color="#000000"><%=cabecera(z)%><p><%=cuerpo(z)%></p></td>
								</tr>
							</table>
							</td>
						</tr>
					</table>
						<p align="center"><font face="Trebuchet MS" color="#CCCCCC">
					...........................................................................................</font></p>
<%

rs.movenext


loop

Conn.Close

%>
					</td>
				<td width="200" align="right" valign="top">
					<p>
<table border="0" width="150" cellspacing="0" cellpadding="0" height="100" bgcolor="#CC3300">
	<tr onmouseover="this.style.backgroundColor = '#FF3300'" onmouseout="this.style.backgroundColor = '#CC3300'" onclick="location='http://www.tiemposonline.com'">
		<td>
<table border="0" width="150" height="100" cellspacing="5" cellpadding="0">
	<tr>
		<td align="center">
		<img border="0" src="online.png" width="42" height="50"></td>
	</tr>
	<tr>
		<td align="left" valign="bottom">
		<font face="Arial" size="2" color="#FFFFFF">Tiempos ON-LINE</font></td>
	</tr>
</table>
		</td>
	</tr>
</table>
					<p>
<table border="0" width="150" cellspacing="0" cellpadding="0" height="100" bgcolor="#999999">
	<tr onmouseover="this.style.backgroundColor = '#C0C0C0'" onmouseout="this.style.backgroundColor = '#999999'" onclick="location='http://www.tiemposonline.com'">
		<td>
<table border="0" width="150" height="100" cellspacing="5" cellpadding="0">
	<tr>
		<td align="center">
		<img border="0" src="online-regularidad.png" width="42" height="50"></td>
	</tr>
	<tr>
		<td align="left" valign="bottom">
		<font face="Arial" size="2" color="#FFFFFF">Tiempos ON-LINE R.S.</font></td>
	</tr>
</table>
		</td>
	</tr>
</table>
					<p><a target="_top" href="videopresentacion.asp">
					<img border="0" src="video.jpg" width="150" height="170"></a></p>
					<p>
					<img border="0" src="patrocinadores_lat.png" width="150" height="386"></td>
				</tr>
			</table>
		</div>
		<div align="center">
<table border="0" width="980" cellspacing="0" cellpadding="0">
	<tr>
		<td>&nbsp;</td>
	</tr>
	<tr>
		<td bgcolor="#E3001B"><b>
		<font face="Trebuchet MS" size="2" color="#FFFFFF">COLABORAN</font></b></td>
	</tr>
	<tr>
		<td>
		<p align="center">
		<img border="0" src="patrocinadores.png" width="971" height="72"></td>
	</tr>
</table>
		</div>
			<p align="center">
			<strong><font face="Arial, Helvetica, sans-serif" size="1">
			�200<span lang="es">1</span>-2013 MotorCanario.com y Rallyten Sport - Todos los derechos 
			reservados.</font></strong></div>
		
	</p>
		
	</body>
</html>