Ver Mensaje Individual
  #11 (permalink)  
Antiguo 16/03/2004, 13:22
Avatar de bhonox
bhonox
 
Fecha de Ingreso: julio-2002
Ubicación: Rengo-Viña del Mar-Stgo
Mensajes: 1.213
Antigüedad: 21 años, 9 meses
Puntos: 0
bueno cluster ahora pongo mi codigo:
index.php
Código PHP:
<?php
if (empty($file)) {
include 
"arriba.php";
include (
"principal.php");
include 
"abajo.php";
}
else {
  
$arch_concat "src/$file.php";       
  if (
is_file($arch_concat)) {
      if (
is_file("lenguaje/$file.php")){
      include 
"lenguaje/$file.php";
       }              
      include (
$arch_concat);
  }
  else {
      include 
"arriba.php";
      include 
"principal.php";
      include 
"abajo.php";
  }
 }
?>

arriba.php
Código PHP:
<?php
session_start
();
#aqui lo puse para ver en el title la session
echo "<html>"
    
."<head><title>".$HTTP_SESSION_VARS['usuario_run']."</title>"
    
."</head>";
echo 
"<link rel=\"stylesheet\" href=\"style.css\" type=\"text/css\">";
echo 
"<body>";
echo 
""
    
."<table width=750 align=center cellspacing=\"0\" cellpadding=\"0\">"
    
."<tr>"
    
."<td>";
echo 
"<table width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" >"
    
."<tr><td>";
//echo $HTTP_SESSION_VARS['usuario_run']."--";
echo "<img src=images/top.jpg border=0>";
echo 
"</td></tr>"
    
."</table>";
    
echo 
"</td>"
    
."</tr>"
    
."<tr>" #central
    
."<td>"
    
."<table width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=0 class=\"fondo_abajo\">"
    
."<tr>"
     
."<td width=169 class=\"td_menu\" valign=\"top\">";
     include 
"menu.php";
echo 
""
    
."</td>"
    
."<td valign=\"top\"><img src=\"images\inttop.gif\" width=\"5\"></td>"
    
."<td width=585 valign=top>";
?>
__________________
Atte
Real BHONOX

Programador Cervecero! :borracho:
Lenguajes vengan a MI!!