diff --git a/assets/php/config.php b/assets/php/config.php index e2f91e8..fc77f87 100644 --- a/assets/php/config.php +++ b/assets/php/config.php @@ -21,4 +21,9 @@ require_once('template.php'); $template = new Template(); $prefix = $template->get_prefix(); -?> + + //Depuración (BORRAR): + //ini_set('display_errors', 1); + //ini_set('display_startup_errors', 1); + //error_reporting(E_ALL); +?> \ No newline at end of file diff --git a/panel_user/index.php b/panel_user/index.php index 5d8af39..8f7a40b 100644 --- a/panel_user/index.php +++ b/panel_user/index.php @@ -21,20 +21,22 @@ $reply = UserPanel::delete(); break; default: - $reply = '
-

Bienvenido al Panel de Usuario.


-
'."\n"; - break; + $reply = UserPanel::panel(); + break; } } else{ - $reply = '
+ $reply = '
+
+

Debes iniciar sesión para ver tu Panel de Usuario.


Inicia Sesión si estás registrado.

Registrate si no lo habías hecho previamente.

-
'."\n"; +
+
+
'."\n"; } ?>