if ( !$user_auth ) echo "
"; else {
global $ureg, $uinv;
echo "Usuarios on-line: ";
echo ":: Registrados: $ureg ";
echo ":: Invitados: $uinv ";
}
?>
if ( ! $user_auth )
echo '';
else
if ( ! $user_level <= -1 )
echo '';
?>
if ( $user_auth ){
echo ' ';
makeCBox( 167, "Panel de usuario", "Mi-Correo "
,"Salir >> >" );
}
?>
|
global $go;
if ( isset($go) )
{
if ( file_exists( "pages/$go" ) )
{
$ruta = dirname( $go );
$repl = "src=\"pages/$ruta/";
$repl2= "href=\"./?go=$ruta/";
$desc = fopen( "pages/$go", "r" );
while ( !feof( $desc ) )
{
echo eregi_replace( "\href=\"", $repl2,
eregi_replace( "\src=\"", $repl, fgets( $desc, 256 ) ) );
}
fclose( $desc );
// require("pages/$go");
} else
echo "la pagina no esta disponible";
} else {
if ( isset( $dgo ) )
require($dgo);
else
require('./default.php');
}
?>
|