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/loftindane/public_html/system/class/database.php on line 3

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home/loftindane/public_html/system/class/database.php:24 Stack trace: #0 /home/loftindane/public_html/system/class/database.php(12): database->connect('localhost', 'smselect_fullap...', 'FZnTzG63ttGz') #1 /home/loftindane/public_html/system/class/database.php(187): database->database('localhost', 'smselect_fullap...', 'FZnTzG63ttGz', 'smselect_fullap...') #2 /home/loftindane/public_html/system/system.php(21): require('/home/loftindan...') #3 /home/loftindane/public_html/core.php(3): require('/home/loftindan...') #4 /home/loftindane/public_html/index.php(1): require_once('/home/loftindan...') #5 {main} thrown in /home/loftindane/public_html/system/class/database.php on line 24