diff --git a/assets/css/manager.css b/assets/css/manager.css index ab4d60d..3913ba3 100644 --- a/assets/css/manager.css +++ b/assets/css/manager.css @@ -34,18 +34,6 @@ table.seat td:first-child { border-right: solid 2px #1f2c3d; } -.has_error, -.help_block{ - color: #a94442; - display: block; - margin-top: 3px; - margin-bottom: 3px; -} - -.has_error input{ - border-color: #a94442; - box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%); -} .check_box { display:none; } @@ -63,7 +51,7 @@ table.seat td:first-child { .black.button { width: 100%; - height: 35px; + height: 30px; border: 1px solid #dadada; background-color: #00020f; color: #dadada; @@ -79,24 +67,6 @@ table.seat td:first-child { background-color: #791515; } -.modal .submit:hover -{ - background-color: #d3ebff; -} - -.modal .sumbit{ - width: 100%; - height: 35px; - border: 1px solid #000000; - padding: 5px; - margin-top: 5px; - font-size: 15px; - font-weight: bold; - box-shadow: 2px 2px #1f2c3d; - filter: brightness(105%); - cursor: pointer -} - .code.welcome { text-align: center; } @@ -174,7 +144,6 @@ table.seat td:first-child { height: 100%; width: 100%; max-height: 9em; - margin: auto; } .modal .code.showtimes{ height:100%; @@ -184,7 +153,6 @@ table.seat td:first-child { height: 100%; max-height: 9em; } - /* The Close Button */ .close { color: #aaaaaa; @@ -200,32 +168,12 @@ table.seat td:first-child { cursor: pointer; } -.alert_success { - color: #3c763d; - background-color: #dff0d8; - border-color: #d6e9c6; -} - -.alert { - padding: 15px; - margin-bottom: 20px; - border: 1px solid transparent; - border-radius: 4px; - text-align: center; - border-radius: 1.75em; -} - -.alert_danger { - color: #ab2828; - background-color: #f0d8d8; - border-color: #f70000; -} /*lil film list*/ .film_list{ + margin-top: 2em; height: 20em; overflow-y: scroll; - margin: auto; } .film_list button{ diff --git a/assets/php/template.php b/assets/php/template.php index 7c40e78..9bea21a 100644 --- a/assets/php/template.php +++ b/assets/php/template.php @@ -74,6 +74,7 @@ $extraCSS = ""; if($page === "Comprar Entrada") $extraCSS = "\n"; + if($page === "Panel de Gerente") $extraCSS = ""; echo" CompluCine | {$page} @@ -711,6 +712,12 @@ if($page === "Comprar Entrada") echo" \n"; + if($page === "Panel de Gerente") echo" + + + + + \n"; } } diff --git a/panel_manager/index.php b/panel_manager/index.php index 2a9c4a1..3e442fc 100644 --- a/panel_manager/index.php +++ b/panel_manager/index.php @@ -163,12 +163,3 @@ //General page content: require RAIZ_APP.'/HTMLtemplate.php'; ?> - - - - - - - - - diff --git a/register/includes/formRegister.php b/register/includes/formRegister.php index 6f378f1..698f988 100644 --- a/register/includes/formRegister.php +++ b/register/includes/formRegister.php @@ -6,6 +6,7 @@ class FormRegister extends Form { //Constants: const HTML5_EMAIL_REGEXP = '^[a-zA-Z0-9.!#$%&\'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$'; const HTML5_PASS_REGEXP = '^(?=\w*\d)(?=\w*[A-Z])(?=\w*[a-z])\S{4,16}$'; + private const _USER = "user"; //Atributes: private $user; // User who is going to log-in. @@ -93,7 +94,7 @@ class FormRegister extends Form { if ($this->user->data_seek(0)) { $result[] = "El email ya está registrado."; } else { - if($bd->createUser("", $nombre, $email, $password, "user")){ + if($bd->createUser("", $nombre, $email, $password, self::_USER)){ $this->user = $bd->selectUser($nombre, $password); if ($this->user) { $this->user->setPass(null);