ja, realmente releí y no entendí.
no entiendo el porque copiar, y porque no seguir usando los include de esa forma asi obtienes tu variable y cargas el asp que corresponde a tu variable.
+ creas tu pagina default.asp esta contiene tres secciopnoes (cabecera, menu izquierda, y contenido)
+ en la de contenido pones el include llamado contenido.asp
++ dentro de contenido.asp haces tus "select case" y cargas el aso que deseas que sea el contenido del sitio
+ es básicamente el proceso que yo uso, pero igual si alguien tiene ua solucion mas viable que la comente
mi ejemplo
pagina
defautl.asp Código PHP:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="es-sv" http-equiv="Content-Language" />
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<style type="text/css">
.style1 {
text-align: left;
}
</style>
</head>
<body>
<table align="center" style="width: 675px">
<tr>
<td colspan="2">Tu banner o animacion top</td>
</tr>
<tr>
<td class="style1" style="width: 30%" valign="top">Menú<br />
<br />
+ <a href="?cargar=">presentación</a><br />
+ <a href="?cargar=ListarNoticias">noticias</a><br />
</td>
<td class="style1" valign="top">
<!-- #include file ="include_contenido.asp" -->
</td>
</tr>
<tr>
<td colspan="2">Tu pie de pagina</td>
</tr>
</table>
</body>
</html>
pagina
include_contenido.asp Código PHP:
<%
select case request("cargar")
case ""
%>
<!-- #include file ="contenido_intro.asp" -->
<%
case "ListarNoticias"
%>
<!-- #include file ="contenido_listar_noticias.asp" -->
<%
end select
%>
página
contenido_intro.asp Código PHP:
<head>
<meta content="es-sv" http-equiv="Content-Language">
</head>
<h1>Bienvenidos</h1>
<p>usted esta en la pagina de inicio</p>
<p> </p>
página
contenido_listar_noticias.asp Código PHP:
<h1>Listado de noticias</h1>
<p> </p>
<ul>
<li>noticia 1</li>
<li>noticia 2</li>
<li>noticia 3</li>
<li>noticia 4</li>
</ul>
<p> </p>
es mi idea
suerte