Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; db has a deprecated constructor in /var/www/mirspeciy/mirspeciy.com.ua/engine/classes/db.php on line 4

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; template has a deprecated constructor in /var/www/mirspeciy/mirspeciy.com.ua/engine/classes/template.php on line 5

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /var/www/mirspeciy/mirspeciy.com.ua/engine/classes/db.php:30 Stack trace: #0 /var/www/mirspeciy/mirspeciy.com.ua/engine/classes/db.php(59): db->connect() #1 /var/www/mirspeciy/mirspeciy.com.ua/engine/classes/db.php(194): db->query('SELECT * FROM `...') #2 /var/www/mirspeciy/mirspeciy.com.ua/engine/modules/main.php(8): db->select('SELECT * FROM `...') #3 /var/www/mirspeciy/mirspeciy.com.ua/engine/init.php(188): require_once('/var/www/mirspe...') #4 /var/www/mirspeciy/mirspeciy.com.ua/index.php(26): require_once('/var/www/mirspe...') #5 {main} thrown in /var/www/mirspeciy/mirspeciy.com.ua/engine/classes/db.php on line 30