Ver Mensaje Individual
  #11 (permalink)  
Antiguo 19/03/2009, 09:45
majony
(Desactivado)
 
Fecha de Ingreso: diciembre-2008
Mensajes: 421
Antigüedad: 15 años, 4 meses
Puntos: 0
Respuesta: Paginas Modulares

Hice esto ahora gator
Código php:
Ver original
  1. <?php
  2. include('config.php');
  3.  
  4.     session_name($cfg_session);
  5.     session_start();
  6.     if (empty($_SESSION['usuario_id'])) {
  7.         $_SESSION['usuario_id'] = 0;
  8.         $_SESSION['usuario_nick'] = 'invitado';
  9.         $_SESSION['usuario_nivel'] = 0;
  10.            
  11.     }
  12.     include('includes/lib_mysql.php');
  13.     $MOD['mysql'] = new MySQL($cfg_bdname, $cfg_host, $cfg_user, $cfg_passwd);
  14.    
  15. ?>
  16. <?php include('cabecera.php');?>
  17. <?php
  18.             $modulo = $_GET['mod'];
  19.             if (!empty($modulo)) {
  20.                 $ruta = 'modulos/' . $modulo . '/'.$modulo.'.ctrl.php';
  21.                 if (file_exists($ruta)) {
  22.                     include($ruta);
  23.                 } else {
  24.                     echo "ERROR 404: No existe el archivo";
  25.                 }
  26.             } else {
  27.                 include('cuerpo.php');
  28.             }
  29. ?>
  30. <?php include('pie.php');?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<meta name="description" content="Your description goes here" />
<meta name="keywords" content="your,keywords,goes,here"/>
<link rel="stylesheet" type="text/css" href="css/1024px.css" title="1024px style" media="screen,projection"/>
<link rel="stylesheet" type="text/css" href="css/Style.css" title="1024px style" media="screen,projection"/>
<link rel="stylesheet" type="text/css" href="css/calendario/style.css" />
<title>ASOCIACION DEPORTIVA ** ACHF ** </title>
<script type="text/javascript" src="css/tinymce/jscripts/tiny_mce/tiny_mce.js"></script>
<script type="text/javascript">
tinyMCE.init({
// General options
mode : "textareas",
theme : "advanced",
plugins : "safari,pagebreak,style,layer,table,save,advhr,adv image,advlink,emotions,iespell,inlinepopups,insert datetime,preview,media,searchreplace,print,context menu,paste,directionality,fullscreen,noneditable,v isualchars,nonbreaking,xhtmlxtras,template",
// Fila Uno desde guardar
theme_advanced_buttons1 : "save,newdocument,|,bold,italic,underline,striketh rough,|,justifyleft,justifycenter,justifyright,jus tifyfull,|,styleselect,formatselect,fontselect,fon tsizeselect",
// Fila dos desde Cortar
theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,search,repla ce,|,bullist,numlist,|,outdent,indent,blockquote,| ,undo,redo,|,link,unlink,anchor,image,cleanup,|,pr eview,|,forecolor,backcolor",
theme_advanced_toolbar_location : "top",
//theme_advanced_toolbar_align : "left",
theme_advanced_statusbar_location : "bottom",
theme_advanced_resizing : true,
// Drop lists for link/image/media/template dialogs
//template_external_list_url : "js/template_list.js",
//external_link_list_url : "js/link_list.js",
//external_image_list_url : "js/image_list.js",
//media_external_list_url : "js/media_list.js",
// Muy importante para mostrar el editor
template_replace_values : {
username : "Some User",
staffid : "991234"
}
});
</script>
</head>
<body>

</body>
</html>

Hice este cambio entro a mi index y esta todo bien de un principio pero cuando voy a seguir entrando a mis link se empieza a desconfigurar totalmente