Add files via upload

This commit is contained in:
Markines16 2021-06-08 11:27:11 +02:00 committed by GitHub
parent 9ffe2917de
commit 17b31a9f04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -139,12 +139,16 @@
} }
static function success(){ static function success(){
$msg = "operacion completada con exito";
if(isset($_GET["new"])) $msg = "La sala se ha creado con exito";
if(isset($_GET["edit"])) $msg = "La sala se ha editado con exito";
if(isset($_GET["del"])) $msg = "La sala se ha eliminado con exito";
$panel = '<div class="code info"> $panel = '<div class="code info">
<h1>Operacion completada.</h1> <h1>Operacion completada.</h1>
<hr /> <hr />
<p>'.$_SESSION['msg'].'</p> <p>'.$msg.'</p>
</div>'."\n"; </div>'."\n";
$_SESSION['msg'] = "";
return $panel; return $panel;
} }