diff --git a/assets/css/highContrast.css b/assets/css/highContrast.css
index dca13ed..ba259bd 100644
--- a/assets/css/highContrast.css
+++ b/assets/css/highContrast.css
@@ -6,7 +6,7 @@
/* Headers */
h1, h2, h3, h4 {
- color: #363636;
+ color: #d3ebff;
text-transform: uppercase;
margin: 0;
padding: 0;
@@ -328,13 +328,6 @@
text-align: center;
height: 250px;
}
- .code.info #register{
- border: 1px solid#d3ebff;
- }
- .code.info #register:hover {
- color: #1f2c3d;
- background-color: #d3ebff;
- }
.code.showtimes{
height: 600px;
}
diff --git a/assets/css/main.css b/assets/css/main.css
index 4b8f778..ff69fce 100644
--- a/assets/css/main.css
+++ b/assets/css/main.css
@@ -327,9 +327,6 @@ main img {
text-align: center;
height: 250px;
}
-.code.info #register{
- border: 1px solid#d3ebff;
-}
.code.showtimes{
height: 600px;
}
diff --git a/assets/php/common/user_dao.php b/assets/php/common/user_dao.php
index 1fe199d..f3bb922 100644
--- a/assets/php/common/user_dao.php
+++ b/assets/php/common/user_dao.php
@@ -93,7 +93,7 @@
public function selectUserName($username){
$username = $this->mysqli->real_escape_string($username);
- $sql = sprintf( "SELECT * FROM users WHERE name = '%s'", $username );
+ $sql = sprintf( "SELECT * FROM users WHERE username = '%s'", $username );
$resul = mysqli_query($this->mysqli, $sql);
return $resul;
diff --git a/assets/php/template.php b/assets/php/template.php
index 2cbbd67..1bf4567 100644
--- a/assets/php/template.php
+++ b/assets/php/template.php
@@ -209,14 +209,14 @@
if($_SESSION["rol"] === $panel){
echo"
\n";
+
+ \n";
}
}
}
diff --git a/index.php b/index.php
index f6b06ef..f866026 100644
--- a/index.php
+++ b/index.php
@@ -1,8 +1,6 @@
-
-
- print_panelMenu($_SESSION["rol"]);
- ?>
-
+
+
print_msg();
- echo $reply;
+ $template->print_panelMenu($_SESSION["rol"]);
?>
+
+
+ print_msg();
+ echo $reply;
+ ?>
+
-
+
print_footer();
diff --git a/register/includes/formRegister.php b/register/includes/formRegister.php
index 32a35f3..c85dbe2 100644
--- a/register/includes/formRegister.php
+++ b/register/includes/formRegister.php
@@ -18,17 +18,17 @@ class FormRegister extends Form {
//Methods:
protected function generaCamposFormulario($datos, $errores = array()){
- $nombre = $datos['name'] ?? '';
+ //$nombre = $datos['name'] ?? '';
// Se generan los mensajes de error si existen.
- $htmlErroresGlobales = self::generaListaErroresGlobales($errores);
+ $htmlErroresGlobales2 = self::generaListaErroresGlobales($errores);
$errorNombre = self::createMensajeError($errores, 'name', 'span', array('class' => 'error'));
$errorEmail = self::createMensajeError($errores, 'email', 'span', array('class' => 'error'));
$errorPassword = self::createMensajeError($errores, 'pass', 'span', array('class' => 'error'));
$errorPassword2 = self::createMensajeError($errores, 'repass', 'span', array('class' => 'error'));
$html = "
-