Add files via upload
This commit is contained in:
parent
119733a174
commit
cd7c2ccf38
@ -34,18 +34,6 @@ table.seat td:first-child {
|
|||||||
border-right: solid 2px #1f2c3d;
|
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 {
|
.check_box {
|
||||||
display:none;
|
display:none;
|
||||||
}
|
}
|
||||||
@ -63,7 +51,7 @@ table.seat td:first-child {
|
|||||||
|
|
||||||
.black.button {
|
.black.button {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 35px;
|
height: 30px;
|
||||||
border: 1px solid #dadada;
|
border: 1px solid #dadada;
|
||||||
background-color: #00020f;
|
background-color: #00020f;
|
||||||
color: #dadada;
|
color: #dadada;
|
||||||
@ -79,24 +67,6 @@ table.seat td:first-child {
|
|||||||
background-color: #791515;
|
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 {
|
.code.welcome {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
@ -174,7 +144,6 @@ table.seat td:first-child {
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
max-height: 9em;
|
max-height: 9em;
|
||||||
margin: auto;
|
|
||||||
}
|
}
|
||||||
.modal .code.showtimes{
|
.modal .code.showtimes{
|
||||||
height:100%;
|
height:100%;
|
||||||
@ -184,7 +153,6 @@ table.seat td:first-child {
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
max-height: 9em;
|
max-height: 9em;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* The Close Button */
|
/* The Close Button */
|
||||||
.close {
|
.close {
|
||||||
color: #aaaaaa;
|
color: #aaaaaa;
|
||||||
@ -200,32 +168,12 @@ table.seat td:first-child {
|
|||||||
cursor: pointer;
|
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*/
|
/*lil film list*/
|
||||||
.film_list{
|
.film_list{
|
||||||
|
margin-top: 2em;
|
||||||
height: 20em;
|
height: 20em;
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
margin: auto;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.film_list button{
|
.film_list button{
|
||||||
|
@ -74,6 +74,7 @@
|
|||||||
|
|
||||||
$extraCSS = "";
|
$extraCSS = "";
|
||||||
if($page === "Comprar Entrada") $extraCSS = "\n<link id='estilo' rel='stylesheet' type='text/css' href='{$prefix}assets/css/seat.css'>";
|
if($page === "Comprar Entrada") $extraCSS = "\n<link id='estilo' rel='stylesheet' type='text/css' href='{$prefix}assets/css/seat.css'>";
|
||||||
|
if($page === "Panel de Gerente") $extraCSS = "<link rel='stylesheet' href='//cdnjs.cloudflare.com/ajax/libs/fullcalendar/3.4.0/fullcalendar.css' />";
|
||||||
|
|
||||||
echo"<head>
|
echo"<head>
|
||||||
<title>CompluCine | {$page}</title>
|
<title>CompluCine | {$page}</title>
|
||||||
@ -711,6 +712,12 @@
|
|||||||
if($page === "Comprar Entrada") echo"<script type='text/javascript' src='{$prefix}assets/js/selectTicket.js'></script>
|
if($page === "Comprar Entrada") echo"<script type='text/javascript' src='{$prefix}assets/js/selectTicket.js'></script>
|
||||||
<script type='text/javascript' src='{$prefix}assets/js/checkPay.js'></script>
|
<script type='text/javascript' src='{$prefix}assets/js/checkPay.js'></script>
|
||||||
<script type='text/javascript' src='{$prefix}assets/js/goBack.js'></script>\n";
|
<script type='text/javascript' src='{$prefix}assets/js/goBack.js'></script>\n";
|
||||||
|
if($page === "Panel de Gerente") echo"<script type='text/javascript' src='//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js'></script>
|
||||||
|
<script type='text/javascript' src='//cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js'></script>
|
||||||
|
<script type='text/javascript' src='//cdnjs.cloudflare.com/ajax/libs/moment.js/2.18.1/moment.min.js'></script>
|
||||||
|
<script type='text/javascript' src='//cdnjs.cloudflare.com/ajax/libs/fullcalendar/3.4.0/fullcalendar.min.js'></script>
|
||||||
|
<script type='text/javascript' src='{$prefix}assets/js/sessionCalendar.js'></script>
|
||||||
|
<script type='text/javascript' src='{$prefix}assets/js/sessionFormProcess.js'></script>\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -163,12 +163,3 @@
|
|||||||
//General page content:
|
//General page content:
|
||||||
require RAIZ_APP.'/HTMLtemplate.php';
|
require RAIZ_APP.'/HTMLtemplate.php';
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/fullcalendar/3.4.0/fullcalendar.css" />
|
|
||||||
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
|
|
||||||
<script src="//cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script>
|
|
||||||
<script src="//cdnjs.cloudflare.com/ajax/libs/moment.js/2.18.1/moment.min.js"></script>
|
|
||||||
<script src="//cdnjs.cloudflare.com/ajax/libs/fullcalendar/3.4.0/fullcalendar.min.js"></script>
|
|
||||||
<script src="../assets/js/sessionCalendar.js"></script>
|
|
||||||
<script src="../assets/js/sessionFormProcess.js"></script>
|
|
||||||
|
@ -6,6 +6,7 @@ class FormRegister extends Form {
|
|||||||
//Constants:
|
//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_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}$';
|
const HTML5_PASS_REGEXP = '^(?=\w*\d)(?=\w*[A-Z])(?=\w*[a-z])\S{4,16}$';
|
||||||
|
private const _USER = "user";
|
||||||
|
|
||||||
//Atributes:
|
//Atributes:
|
||||||
private $user; // User who is going to log-in.
|
private $user; // User who is going to log-in.
|
||||||
@ -93,7 +94,7 @@ class FormRegister extends Form {
|
|||||||
if ($this->user->data_seek(0)) {
|
if ($this->user->data_seek(0)) {
|
||||||
$result[] = "El email ya está registrado.";
|
$result[] = "El email ya está registrado.";
|
||||||
} else {
|
} else {
|
||||||
if($bd->createUser("", $nombre, $email, $password, "user")){
|
if($bd->createUser("", $nombre, $email, $password, self::_USER)){
|
||||||
$this->user = $bd->selectUser($nombre, $password);
|
$this->user = $bd->selectUser($nombre, $password);
|
||||||
if ($this->user) {
|
if ($this->user) {
|
||||||
$this->user->setPass(null);
|
$this->user->setPass(null);
|
||||||
|
Loading…
Reference in New Issue
Block a user