<html>
<head>
<title>www.rallyellanes.com</title>
<script type="text/javascript" language="JavaScript"> 
var futuro = new Date (2012,8,19,20,00); 
var actualiza = 1000; 
function faltan(){ 
var ahora = new Date(); 
var faltan = futuro - ahora; 
if (faltan > 0){ 
var segundos = Math.round(faltan/1000); 
var minutos = Math.floor(segundos/60); 
var segundos_s = segundos%60; 
var horas = Math.floor(minutos/60); 
var minutos_s = minutos%60; 
var dias = Math.floor(horas/24); 
var horas_s = horas%24; 
document.formulario.reloj.value= dias + " dias : " + horas_s + " horas : " + 
+minutos_s + " minutos : " + segundos_s + " segundos" ; 
setTimeout("faltan()",actualiza); 
} 
else { 
document.formulario.reloj.value= "Plazo de Inscripcion cerrado" ; 
return true; 
} 
} 
</script> 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
TD { COLOR: #000000; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; FONT-SIZE: 7pt ; text-decoration: none}
.menu {  font-family: "Courier New", Courier, mono; font-size: 12pt; font-weight: bold; color: #FFFFFF; text-decoration: none}
a.menu:hover {  font-family: "Courier New", Courier, mono; font-size: 12pt; font-weight: bold; color: #FF0033; text-decoration: underline}
.texto { COLOR: #000000; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; FONT-SIZE: 8pt ; text-decoration: none}
A.texto:hover { COLOR: #FF0000; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; FONT-SIZE: 8pt ; text-decoration: underline}
.Estilo1 {text-decoration: none; font: 8pt Verdana, Arial, Helvetica, sans-serif;}
-->
</style>
</head>

<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="faltan()">
<div align="center">
  <form name="formulario">
    <table width="750" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td colspan="5">&nbsp;</td>
      </tr>
      <tr>
        <td width="50" bgcolor="#000000"><img src="../banizq.gif" width="50" height="40"></td>
        <td width="30" bgcolor="#000000"><div align="center"><font face="Courier New, Courier, mono" color="#339933"><b><font size="5" color="#CCCCCC"><a href="javascript:history.back()"><img src="../home.gif" alt="Volver al Menu Principal" width="20" height="20" border="0"></a></font></b></font></div></td>
        <td bgcolor="#000000" width="650"><div align="center"><font face="Courier New, Courier, mono" color="#339933"><b><font size="5" color="#CCCCCC">Inscripciones
                          <input type="text" name="reloj" value="" size="40" style="border : 0px ; text-align : center">
        </font></b></font></div></td>
        <td width="30" bgcolor="#000000"><div align="center"><font face="Courier New, Courier, mono" color="#339933"><b><font size="5" color="#CCCCCC"><a href="javascript:window.print()"><img src="../print.gif" alt="Pulsa aqui para imprimir esta hoja" width="16" height="14" border="0"></a></font></b></font></div></td>
        <td width="50" bgcolor="#000000"><img src="../bander.gif" width="50" height="40"></td>
      </tr>
    </table>
  </form>

<%

Dim conexion
Dim MySQL
dim ct

'** Get initial recordset
Set conexion = Server.CreateObject("ADODB.Recordset")
MySQL = "SELECT * FROM tabla1 ORDER BY campo1"
conexion.Open MySQL,("DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("/verificaciones/basedatos/basedatos.mdb")),3 %>

 <table width="775" cellspacing="0" cellpadding="0" border="1" bordercolor="#000000" align="center">
  <tr bgcolor="#0000a0"> 
    <td bgcolor="#000000"> 
      <div align="center">
<p align="center"><span class="texto">

<font color="#FFFFFF"><%=conexion.recordcount%> </font></span><span class="Estilo1"><font color="#FFFFFF">Inscripciones</font></span><span class="texto"><br>

</span></p>

</div>
    </td>
  </tr>
  <tr bgcolor="#C8D8FF"> 
    <td> 
      <div align="center">
        <table width="773" border="0" cellspacing="0" cellpadding="2" align="center" bgcolor="#C8D8FF">
          <tr> 
            <td class="texton"> <div align="center"><b>N&ordm;</b></div></td>
            <td class="texton"> <div align="center"><b>CONCURSANTE</b></div></td>
            <td class="texton"><b>PILOTO</b></td>
            <td class="texton"><b>COPILOTO</b></td>
            <td class="texton"><b>VEHICULO</b></td>
            <td class="texton"><b>C.C.</b></td>
            <td class="texton"><b>GR.</b></td>
            <td class="texton"><b>CL.</b></td>
          </tr>

<% dim tr
tr = 1 %>
<% while NOT conexion.EOF %>
<% if tr = 1 then %>
<tr bgcolor="#FFFFFF">
<% tr = 2 %>
<% else %>
<tr>
<% tr = 1
end if %>

            <td class="texton"><div align="center"><%= conexion("campo1") %></div></td>
            <td class="texton"><%= conexion("campo2") %></td>
            <td class="texton"><%= conexion("campo8") %></td>
            <td class="texton"><%= conexion("campo14") %>&nbsp;</td>
            <td class="texton"><%= conexion("campo20") %>&nbsp;</td>
            <td class="texton"><%= conexion("campo21") %></td>
            <td class="texton"><%= conexion("campo25") %></td>
            <td class="texton"><%= conexion("campo26") %></td>
          </tr>
          <% conexion.MoveNext %>
          <% wend%>
		  <%
conexion.close
set conexion=nothing
%>
        </table>
      </div>
    </td>
  </tr>
</table>
 
  <br>
  <p><a href="http://www.llanesnet.com" class="texto" target="_blank">www.llanesnet.com</a> 
    - <a href="http://www.exowebs.com" class="texto" target="_blank">Dise&ntilde;o 
    EXO Llanes</a></p>
  <p>&nbsp;</p>
  <p><br>
  </p>
</div>
</body>
</html>
