From 1aa3d0d77aeecab45eebfb8c62784232d03c52cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20M=C3=A9ndez?= <45081533+FerMdez@users.noreply.github.com> Date: Mon, 3 May 2021 15:18:17 +0200 Subject: [PATCH] Add files via upload --- assets/php/config.php | 7 ++++++- panel_user/index.php | 14 ++++++++------ panel_user/panelUser.php | 7 +++++++ 3 files changed, 21 insertions(+), 7 deletions(-) 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"; } ?>