Ver Mensaje Individual
  #5 (permalink)  
Antiguo 16/10/2013, 07:25
byggswedten
 
Fecha de Ingreso: octubre-2013
Ubicación: Märsta
Mensajes: 10
Antigüedad: 10 años, 6 meses
Puntos: 0
Respuesta: Problema con mi pagina web no muestra el contenido

Hola Triby!
este es el codigo de mi index.html

<html>
<head>
<title>index</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!-- ImageReady Styles (index.psd) -->
<style type="text/css">
<!--

#Table_01 {
position:absolute;
left:0px;
top:0px;
width:1020px;
height:1020px;
}

#index-menu-sup {
position:absolute;
left:0px;
top:0px;
width:1020px;
height:44px;
}

#index-header-left {
position:absolute;
left:0px;
top:44px;
width:374px;
height:232px;
}

#index-logo {
position:absolute;
left:374px;
top:44px;
width:256px;
height:232px;
}

#index-header-right {
position:absolute;
left:630px;
top:44px;
width:390px;
height:232px;
}

#index-menu {
position:absolute;
left:0px;
top:276px;
width:1020px;
height:54px;
}

#index-sitebar-left {
position:absolute;
left:0px;
top:330px;
width:280px;
height:451px;
}

#index-sitebar-right {
position:absolute;
left:280px;
top:330px;
width:740px;
height:451px;
}

#index-content-end {
position:absolute;
left:0px;
top:781px;
width:1020px;
height:61px;
}

#index-footer {
position:absolute;
left:0px;
top:842px;
width:1020px;
height:178px;
}

-->
</style>
<!-- End ImageReady Styles -->

</head>
<body style="background-color:#FFFFFF; margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px;">
<!-- ImageReady Slices (index.psd) -->
<div id="Table_01">
<div id="index-menu-sup">
<img src="images/index_menu_sup.jpg" width="1020" height="44" alt="">
</div>
<div id="index-header-left">
<img src="images/index_header_left.jpg" width="374" height="232" alt="">
</div>
<div id="index-logo">
<img src="images/index_logo.jpg" width="256" height="232" alt="">
</div>
<div id="index-header-right">
<img src="images/index_header_right.jpg" width="390" height="232" alt="">
</div>
<div id="index-menu">
<img src="images/index_menu.jpg" width="1020" height="54" alt="">
</div>
<div id="index-sitebar-left">
<img src="images/index_sitebar_left.jpg" width="280" height="451" alt="">
</div>
<div id="index-sitebar-right">
<img src="images/index_sitebar_right.jpg" width="740" height="451" alt="">
</div>
<div id="index-content-end">
<img src="images/index_content_end.jpg" width="1020" height="61" alt="">
</div>
<div id="index-footer">
<img src="images/index_footer.jpg" width="1020" height="178" alt="">
</div>
</div>
<!-- End ImageReady Slices -->
</body>
</html>







este es de mi index.php
<?
$lk = htmlentities($_GET["lk"]);
$vars = explode("/", $lk);

include_once "config.inc.php";

include_once PATH_ABSOLUTE . "clases/enlaces.class.php";

$obj = new Enlaces();
$obj->enlaces = $config["enlaces"];
$obj->subenlaces = $config["subenlaces"];
$obj->vars = $vars;

/** Carga metadatos **/
$meta_tmp = $obj->getMetadatos();

if ($meta_tmp)
$meta = $meta_tmp;

/** Carga Subenlaces desde Config.inc **/
$aLink = $obj->dameLinks();
$html_links = $aLink["html"];
$ruta = $aLink["ruta"];

include "header.view.php";
include "menu.view.php";
?>

<div id="main">

<div id="sitebar">
<? include PATH_ABSOLUTE . "sitebar.view.php"; ?>
</div>

<div class="cont_background">

<div id="content">

<div class="html">

<div style="font-weight:bold"><?= $ruta ?></div>

<?
/* Definir el Content*/
if (is_file(PATH_ABSOLUTE_HTML . $meta["fichero"])) {
include PATH_ABSOLUTE_HTML . $meta["fichero"];
} else {
include PATH_ABSOLUTE_HTML . "portada.php";
}

?>

</div>

</div>

</div>

<br clear="both">

<div id="content_end"></div>

</div>

<?

include "footer.view.php";


?>

<?
error_reporting(E_ALL);
ini_set("display_errors", 1);
?>







este es de mi config.inc.php
<?
/***********************
Fichero de Configuración
************************/

define(PATH, "http://www.byggswedten.com/");
define(PATH_ABSOLUTE, $_SERVER['DOCUMENT_ROOT'] . "/");
define(PATH_IMAGES, PATH . "images/");
define(PATH_JS, PATH . "js/");
define(PATH_ESTILO, PATH . "css/");
define(PATH_ABSOLUTE_HTML, PATH_ABSOLUTE . "html/");
define(PATH_ABSOLUTE, $_server[DOCUMENT_ROOT]);

$meta['title'] = "Bygg Swed Totalentreprenad - Allt inom bygg: Nybyggnation, Ombyggnad,tillbyggnad,renovering,vvs,badrum";
$meta['descrip'] = "Allt inom bygg: Ombyggnad,tillbyggnad,renovering,vvs,El,Badrum";
$meta['keywords'] = "Allt inom bygg:Ny byggnation,Ombyggnad,tillbyggnad,renovering,vvs,El ,Badrum";

$config["enlaces"] = array( /*** Principales - Menu Superior ***/
"entreprenad-personal" => array("title" => "Entreprenad,Personal uthyrning",
"label" => "Entreprenad,Personal uthyrning", "description" => "", "keys" => "",
"fichero" => "entreprenad.php", ), "bygg" => array("title" =>
"Allt inom bygg:Ombyggnad,tillbyggnad,renovering,vvs, El,Badrum", "label" =>
"Allt inom bygg: Ombyggnad, tillbyggnad, renovering, vvs, El,Badrum",
"description" => "", "keys" => "", "fichero" => "allt-inom-bygg.php", ),
"galeria" => array("title" => "Galeria de Fotos", "label" => "galeria de fotos",
"description" => "", "keys" => "", "fichero" => "galeria.php", ), "kontakt" =>
array("title" => "Kontakt", "label" => "Kontakt", "description" => "", "keys" =>
"", "fichero" => "form_contacto.php", ), "kalkylera" => array("title" =>
"Kalkylera", "label" => "Kalkylera", "description" => "", "keys" => "",
"fichero" => "kalkylera.php", ), "om-oss" => array("title" => "Om Oss", "label" =>
"Om Oss", "description" => "", "keys" => "", "fichero" => "om-oss.php", ),
"referenser" => array("title" => "Referenser", "label" => "Referenser",
"description" => "", "keys" => "", "fichero" => "referenser.php", ),
"rot-avdrag" => array("title" => "ROT-avdrag", "label" => "ROT-avdrag",
"description" => "", "keys" => "", "fichero" => "rot-avdrag.php", ),
"samarbetspartners" => array("title" => "Samarbetspartners", "label" =>
"Samarbetspartners", "description" => "", "keys" => "", "fichero" =>
"samarbetspartners.php", ), /*** Subenlaces ***/ "bygg-personal" => array("title" =>
"Bygg Personal", "label" => "Bygg Personal", "description" => "", "keys" => "",
"fichero" => "bygg-personal.php", ), "bygg-slutforda-projekt" => array("title" =>
"Bygg Slutforda Projekt", "label" => "Slutförda Projekt", "description" => "",
"keys" => "", "fichero" => "bygg-slutforda-projekt.php", ), "pagaende-objekt" =>
array("title" => "Pagaende Objekt", "label" => "Lediga Jobb", "description" =>
"", "keys" => "", "fichero" => "pagaende-objekt.php", ), "tjanster" => array("title" =>
"Tjänster", "label" => "Tjänster", "description" => "", "keys" => "", "fichero" =>
"tjanster.php", ), "miljo" => array("title" => "Bygg Miljö", "label" =>
"Bygg Miljö", "description" => "", "keys" => "", "fichero" => "miljo.php", ));

$config["subenlaces"] = array("bygg" => array("tjanster", "miljo",
"bygg-personal", "pagaende-objekt", ));

?>

sale las imagenes...pero no el resto de menues.. como pudes apreciar en mi pagina, estuviese muy agradecido por la ayuda.

Atte.
Luis