diff --git a/assets/css/main.css b/assets/css/main.css index 1227275..efa36fe 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -315,7 +315,12 @@ table a{ text-align: center; height: 250px; } +.code.showtimes{ + height: 550px; +} + +/* BlockQuotes */ .blockquote { border-left: solid 4px #dadada; margin: 0 0 2em 0; @@ -326,7 +331,6 @@ table a{ height: 250px; } - /* Sketches */ .sketches { text-align: center; diff --git a/assets/index.php b/assets/index.php new file mode 100644 index 0000000..1d63e66 --- /dev/null +++ b/assets/index.php @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/assets/php/dao.php b/assets/php/dao.php index 840c91a..bbee497 100644 --- a/assets/php/dao.php +++ b/assets/php/dao.php @@ -5,13 +5,14 @@ private const _SERVERNAME = "localhost"; private const _USERNAME = "sw"; private const _PASSWORD = "_admin_"; - //private const _BD = "complucine"; + private const _BD = "complucine"; //Atributes: public $mysqli; //Constructor: public function __construct($bd_name){ + if($bd_name == null) $bd_name = self::_BD; try{ if (!$this->mysqli) { $this->mysqli = new mysqli(self::_SERVERNAME, self::_USERNAME, diff --git a/assets/php/template.php b/assets/php/template.php index 5801e38..f257bf1 100644 --- a/assets/php/template.php +++ b/assets/php/template.php @@ -33,6 +33,7 @@ case strpos($this->page, 'panel_admin'): $this->page = 'Panel de Administrador'; break; case strpos($this->page, 'login'): $this->page = 'Acceso'; break; case strpos($this->page, 'logout'): $this->page = 'Cerrar SesiĆ³n'; break; + case strpos($this->page, 'register'): $this->page = 'Registro de Usuario'; break; case strpos($this->page, 'showtimes'): $this->page = 'Cartelera'; break; case strpos($this->page, 'cinemas'): $this->page = 'Nuestros Cines'; break; case strpos($this->page, 'about_us'): $this->page = 'Sobre FDI-Cines'; $this->prefix = '../../'; break;