Weno para que te hagas una idea.
Contenido de Index.php
Código PHP:
<?php include('Paginas.php');?>
<html>
<table width="750" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><?php include('Header.php');?></td>
</tr>
<tr>
<td><?php echo paginas();?> </td>
</tr>
<tr>
<td><?php include('Footer.php');?></td>
</tr>
</table>
</html>
Contenido de Paginas.php
Código PHP:
<?
function paginas() {
$idPagina=$_GET['idPagina'];
switch ($idPagina)
{
case 1:
include("tupagina.php");
break;
case 2:
include("tupagina2.php");
break;
default:
include("defecto.php");
break;
}
}
?>
Estructura del enlace:index.php
?idPagina=x
donde x es el valor de la página que quieras mostrar.
En Header.php y Footer.php se pondrian con el código normal y corriente.