Código PHP:
   <? include("../seguridad.php");?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <title>Zona de Administración</title>
</head>
<body>
    <? include ('cabecera.php');?>
    <table width="100%">
        <tr>
            <td width="15%"><? include ('estadisticas.php');?></td>
            <td width="85%"><? include ('estadisticas_acceso.php');?></td>
        </tr>    
    </table>
</body>
</html>   Código PHP:
   <? include("../seguridad.php");
  include('../conex.php');
?>
<html>
<head>
    <title>Zona de Administración</title>
    <link rel="stylesheet" href="css/estils.css" type="text/css">
 
<link href="../css/ns.css" rel="stylesheet" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head>
<body class="admin-body" leftmargin="0" topmargin="23" marginwidth="0" marginheight="0">
<div align="center">
<table border="1" bordercolor="#CCCCCC">
    <tr>
      <td bordercolor="#FFFFFF" class="Tfilas1"> 
        <div align="center" class="titulares2">
          <p class="titulares2">ESTADÍSTICAS DE ACCESO A LA EXTRANET POR USUARIO</p>
        </div></td>
    </tr>
  </table>
  <p class="titulares2"> </p>
</div>
<div align="center">
  <table border="1" bordercolor="#CCCCCC">
    <tr> 
      <td height="36" bordercolor="#FFFFFF" class="Tfilas2"> 
        <div class="plaindesc">
          <div align="center"><img src="../img/fecha.gif" width="16" height="15"><span class="bolddesk"> 
             Fecha listado:</span><? include("../fechaactual.php");?>
 
        </div>
        </div></td>
    </tr>
  </table>
</div>
<form method="GET" name="fusuario" class="plaindesc" enctype="text/plain">
  <input type="hidden" name="id">
  <input type="hidden" name="usuario">
  <?
                //Sentencia SQL
                $ssql = "SELECT * FROM clientes order by Apellido1";
 
                //Ejecuto la sentencia
                $result = mysql_query($ssql,$conn);
 
                //Mostramos los registros
                while ($row=mysql_fetch_array($result))
                {
                  if ($row==0){
    ?>
  <table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr> 
    <td align="center" class="admin-error"><br>
        </td>
</tr>
</table>
  <table border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#CCCCCC">
    <tr>
      <td height="38" align="center" bordercolor="#FFFFFF" class="bolddesk"> 
        <div align="center">
          <p class="Tfilas1"> <br>
            <span class="bolddesk">No existe ningún usuario</span><br>
             </p>
        </div></td>
</tr>
</table>
  <p class="Tfilas3"><span class="admin-texto">
    <?
            }else{
        ?>
  </span> </p>
  <table border="1" align="center" bordercolor="#CCCCCC">
    <tr>
      <td width="539" bordercolor="#FFFFFF">
<table width="100%" border="0" cellspacing="0" cellpadding="2" align="center">
          <tr> 
            <td class="TABLAS" width="75%">Nombre</td>
            <td class="TABLAS2Copia" width="25%">Número de accesos</td>
          </tr>
          <tr  class="plaindesc">
            <td width="75%" height="23" class="<%=estilo%>"><a href="estadisticas_in_acceso_detalle.php?Nombre=<? echo $row ['Nombre'];?>&Usuario=<? echo $row ['Id'];?>&Apellido1=<? echo $row ['Apellido1'];?>&Apellido2=<? echo $row ['Apellido2'];?>">
            <?
 
                //Mostramos los registros
                  echo $row ['Apellido2'];
                  echo $row ['Apellido1'].',';
                  echo $row ['Nombre'];
 
 
 
            ?></a></td>
            <td class="<%=estilo%>" width="25%"><?echo $row ['Descargas'];?></td>
          </tr>
 
        </table>
      </td>
    </tr>
  </table>
        <?
            };
        };
        ?>
<tr> 
  </tr>
</form>
<table width="100%" border="0" class="Tfilas2">
  <tr> 
    <td>Zona Administración</td>
  </tr>
</table>
</body>
</html>    ¿alguien podria ayudarme?Gracias.
 ¿alguien podria ayudarme?Gracias.  
 


