Código PHP:
<?
if(empty($_GET['sec'])) {
include("secciones/inicio.php");
} else {
if(file_exists("secciones/".$_GET['sec'].".php")) {
if(file_exists("secciones/cursos/".$_GET['curso'].".php")) {
include("secciones/cursos/".$_GET['curso'].".php");
}
} else {
echo '<table border=0 cellpadding=0 cellspacing=0>
<tr>
<td width=85%><div align="center"><b>Error 404</b><br>
<br>
No se encuentra el archivo, intentelo de nuevo o Pruebe mas tarde </b><br>
<img src="img/error.gif" /></div></td>
</tr>
</table>';
}
}
?>
Algo así creo que sería =/