Ver Mensaje Individual
  #18 (permalink)  
Antiguo 22/08/2005, 07:10
roberJ
 
Fecha de Ingreso: agosto-2005
Mensajes: 65
Antigüedad: 13 años, 2 meses
Puntos: 0
El codigo es bastante largo, xo bueno, ahi va todo el index.php, aki incluyo varios archivos:

Código PHP:
<?php
session_start
();
error_reporting(0);
?>

<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body background="imagenes/fondo.gif" leftmargin="1" topmargin="1">
<div align="center">
  <table width="770" height="69" border="0" cellpadding="0" cellspacing="0" background="imagenes/rotulo4.gif" class="cabecera">
    <tr> 
      <td width="459" height="78" rowspan="3"><span class="contenido"> </span></td>
      <td height="19" align="center" class="D">B&uacute;squeda </td>
      <td height="19" class="D">&nbsp;</td>
      <td colspan="2" align="center" class="D"><span class="contenido"> 
        <?php

include("Conexion.php");
$link=Conectarse();
?>
        </span> 
  </td>
    </tr>
    <tr> 
      <td height="19" colspan="2" valign="top"> <form style="margin=0px" name="search" onSubmit="return BuscarPalabras(this.string.value);">
          <input name="string" type="text" class="formBus" id="Buscar">
          <input name="Submit" type="submit" class="Lista" value="Ir">
        </form></td>
      <td width="50" height="38" rowspan="2" align="center"> <table width="50" border="0" cellspacing="0" cellpadding="0">
          <tr> 
            <td width="137" height="25" align="center"><a href="foro.php"><img src="imagenes/icono_foro.gif" width="20" height="18" border="0"></a></td>
          </tr>
          <tr> 
            <td align="center" class="Vinculo"><a href="foro.php" class="Vinculo">Foro</a></td>
          </tr>
        </table></td>
      <td width="93" rowspan="2" align="center"><table width="90%" border="0" cellspacing="0" cellpadding="0">
          <tr> 
            <td width="93" height="25" align="center"><a href="usuarios.php"><img src="imagenes/acceso.gif" width="20" height="25" border="0"></a></td>
          </tr>
          <tr> 
            <td align="center" class="Vinculo"><a href="usuarios.php" class="Vinculo" title="Zona de acceso para usuarios registrados" >Acceso 
              Usuarios</a></td>
          </tr>
        </table></td>
    </tr>
    <tr> 
      <td width="124" height="18" align="center" valign="middle" class="VinculoCat"><a href="BuscarAvanzada.php" class="VinculoCat">B&uacute;squeda 
        Avanzada</a></td>
      <td width="40" valign="middle" class="VinculoCat"><a href="BuscarAvanzada.php"><img src="imagenes/lupa.gif" width="18" height="18" border="0"></a></td>
    </tr>
  </table>
  <table width="760" border="0" cellpadding="0" cellspacing="0">
    <tr> 
      <td width="126" height="459" valign="top"> 
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height="2"><img src="imagenes/transparente.gif" width="3" height="2"></td>
          </tr>
        </table>
        <table width="98%" border="0" cellpadding="2" cellspacing="2">
          <tr> 
            <td height="453" align="center" valign="top" background="imagenes/castilla-leon.gif" class="A"> 
              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr> 
                  <td align="center"> <img src="imagenes/clasificaciones.gif" width="116" height="23"></td>
                </tr>
                <tr> 
                  <td height="8" class="D"><img src="imagenes/transparente.gif" width="3" height="8"></td>
                </tr>
                <tr> 
                  <td height="16"><img src="imagenes/transparente.gif" width="3" height="8"></td>
                </tr>
              </table>
              <table width="100%" height="60" border="0" cellpadding="0" cellspacing="0">
                <tr> 
                  <td height="8" class="D"><img src="imagenes/categorias.gif" width="116" height="23"></td>
                </tr>
                <tr> 
                  <td height="37" align="center"> 
                    <table width="95%" border="0" cellspacing="0" cellpadding="0">
                      <tr> 
                        <td height="18" align="center" class="D"> 
                          <table width="95%" border="0" cellspacing="0" cellpadding="0">
                            <tr> 
                              <td> 
                                <?php
include("MostrarCategorias.php");
MostrarCategorias($link);
?>
                              </td>
                            </tr>
                          </table></td>
                      </tr>
                      <tr> 
                        <td height="19" align="center" class="D">&nbsp;</td>
                      </tr>
                    </table>
                  </td>
                </tr>
              </table>
              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr> 
                  <td height="8" class="D"><img src="imagenes/provincias.gif" width="116" height="23"></td>
                </tr>
                <tr> 
                  <td height="19" align="center"> 
                    <table width="70%" border="0" cellspacing="0" cellpadding="0">
                      <tr> 
                        <td class="D"> 
                          <?php

include("MostrarProvincias.php");
MostrarProvincias($link);

?>
                        </td>
                      </tr>
                    </table>
                  </td>
                </tr>
              </table>
              <br> <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr> 
                  <td align="center"><img src="imagenes/clubes.gif" width="116" height="23"></td>
                </tr>
                <tr> 
                  <td height="8" class="D"><img src="imagenes/transparente.gif" width="3" height="8"></td>
                </tr>
                <tr> 
                  <td height="20"><table width="95%" border="0" cellspacing="0" cellpadding="0">
                      <tr> 
                        <td>
                          <?php

include("MostrarEquipos.php");
MostrarEquipos($link);

?>
                        </td>
                      </tr>
                    </table> </td>
                </tr>
                <tr> 
                  <td height="8"><img src="imagenes/transparente.gif" width="3" height="8"></td>
                </tr>
                <tr> 
                  <td class="D">&nbsp;&nbsp;<img src="imagenes/flechaenvivo.gif" width="6" height="8">&nbsp;&nbsp;<a href="SubirEquipo.php" class="VinculoCat"><strong>A&ntilde;adir 
                    Equipo</strong></a></td>
                </tr>
              </table> 
              <br>
              <table width="95%" border="0" cellspacing="0" cellpadding="0">
                <tr> 
                  <td align="center" class="D">
           
                  </td>
                </tr>
              </table> </td>
          </tr>
        </table></td>
      <td width="10" align="center" valign="top"><img src="imagenes/transparente.gif" width="3" height="5"></td>
      <td width="521" align="center" valign="top"> 
        <table width="99%" border="0" cellpadding="2" cellspacing="2" class="cabecera2">
          <tr> 
            <td height="407" align="center" valign="top" class="A">
<table width="95%" border="0" cellspacing="0" cellpadding="0">
                <tr> 
                  <td width="66%" height="14" class="D"><strong><a href="index.php" class="VinculoCat">Sumario</a></strong></td>
                  <td width="34%" align="right" class="D"><?php printf("Bienvenido <b>".$_SESSION["Nombre"]."</b>");
                  if (
$_SESSION["Usuario"]=="SI"//Compruebo si existe una sesion abierta x un usuario
                

    
//si existe, muestro la opcion de Cerrar Sesion 
    
echo "<br><a class=VinculoCat href=Salir.php>Cerrar Sesion</a>"; } ?></td>
                </tr>
              </table>
              <table width="95%" border="0" cellspacing="0" cellpadding="0">
                <tr> 
                  <td> 
                    <?php

include("MostrarSumario.php");
MostrarSumario($link);

?>
                  </td>
                </tr>
              </table>
              <table width="500" border="0" cellspacing="0" cellpadding="0">
                <tr> 
                  <td width="500"><img src="imagenes/linea.gif" width="500" height="2"> </td>
                </tr>
                <tr>
                  <td>
                    <?php

include("MostrarTitulares.php");
MostrarTitulares($link);

?>
                  </td>
                </tr>
              </table>
              <p>&nbsp; </p></td>
          </tr>
        </table>
        <br>
      </td>
      <td width="103" align="center" valign="top"><table width="91%" border="0" cellspacing="2" cellpadding="2">
          <tr> 
            <td height="66" align="center" valign="top"><img src="imagenes/destacadas.gif" width="116" height="23">
              <table width="90%" border="0" cellspacing="0" cellpadding="0">
                <tr> 
                  <td align="center"> 
                    <?php

include("MostrarDestacadas.php");
MostrarDestacadas($link);

?>
                  </td>
                </tr>
              </table></td>
          </tr>
        </table>
        <table width="91%" border="0" cellspacing="2" cellpadding="2">
          <tr> 
            <td height="49" align="center" valign="top"><img src="imagenes/federaciones.gif" width="116" height="23"> 
              <table width="70%" border="0" cellspacing="0" cellpadding="0">
                <tr> 
                  <td align="center"> 
                  </td>
                </tr>
              </table></td>
          </tr>
        </table> </td>
    </tr>
  </table>
</div>
</body>
</html>