Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; DataBase has a deprecated constructor in /home/metra/public_html/includes/classes/database.php on line 4

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home/metra/public_html/includes/classes/database.php:24 Stack trace: #0 /home/metra/public_html/includes/classes/settings.php(12): DataBase->conecta() #1 /home/metra/public_html/includes/application_top.php(23): settings->__construct() #2 /home/metra/public_html/includes/header.php(3): include('/home/metra/pub...') #3 /home/metra/public_html/contenido.php(2): include('/home/metra/pub...') #4 {main} thrown in /home/metra/public_html/includes/classes/database.php on line 24