Add files via upload

This commit is contained in:
Fernando Méndez
2021-05-13 11:00:18 +02:00
committed by GitHub
parent 5758e4e7fc
commit b9383645fe
23 changed files with 764 additions and 623 deletions

View File

@ -91,9 +91,5 @@ class FormChangeEmail extends Form {
}
return $result;
}
protected function test_input($input){
return htmlspecialchars(trim(strip_tags($input)));
}
}
?>

View File

@ -6,6 +6,7 @@
include_once('panelUser.php');
if($_SESSION["login"] && $_SESSION["rol"] === "user"){
if(!isset($_GET["option"])) $_GET["option"] = null;
switch($_GET["option"]){
case "manage_profile":
$reply = UserPanel::manage();
@ -48,7 +49,8 @@
'.$reply.'
</div>
</div>
</section>';
</section>
';
//General page content:
require RAIZ_APP.'/HTMLtemplate.php';