Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; chC_mysql has a deprecated constructor in /www/htdocs/trailhun/archive/counter/include/mysql.class.php on line 34

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; chCounter_template has a deprecated constructor in /www/htdocs/trailhun/archive/counter/include/template.class.php on line 32

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /www/htdocs/trailhun/archive/counter/include/mysql.class.php:46 Stack trace: #0 /www/htdocs/trailhun/archive/counter/counter.php(104): chC_mysql->chC_mysql('localhost', 'trailhun', 'th4002', 'trailhun') #1 /www/htdocs/trailhun/archive/content/includes/insert_functions.php(14): include('/www/htdocs/tra...') #2 /www/htdocs/trailhun/archive/smarty/core/core.process_cached_inserts.php(49): smarty_insert_hitcounter(Array, Object(THSmarty)) #3 /www/htdocs/trailhun/archive/smarty/Smarty.class.php(1291): smarty_core_process_cached_inserts(Array, Object(THSmarty)) #4 /www/htdocs/trailhun/archive/smarty/Smarty.class.php(1115): Smarty->fetch('links.tpl.html', NULL, NULL, true) #5 /www/htdocs/trailhun/archive/content/links.php(29): Smarty->display('links.tpl.html') #6 {main} thrown in /www/htdocs/trailhun/archive/counter/include/mysql.class.php on line 46