Warning: Use of undefined constant MYSQL_ASSOC - assumed 'MYSQL_ASSOC' (this will throw an Error in a future version of PHP) in /class/DB.class.php on line 66

Warning: mysqli_fetch_array() expects parameter 2 to be int, string given in /class/DB.class.php on line 66

Warning: Use of undefined constant MYSQL_ASSOC - assumed 'MYSQL_ASSOC' (this will throw an Error in a future version of PHP) in /class/DB.class.php on line 66

Warning: mysqli_fetch_array() expects parameter 2 to be int, string given in /class/DB.class.php on line 66

Warning: Use of undefined constant MYSQL_ASSOC - assumed 'MYSQL_ASSOC' (this will throw an Error in a future version of PHP) in /class/DB.class.php on line 66

Warning: mysqli_fetch_array() expects parameter 2 to be int, string given in /class/DB.class.php on line 66

Warning: Use of undefined constant MYSQL_ASSOC - assumed 'MYSQL_ASSOC' (this will throw an Error in a future version of PHP) in /class/DB.class.php on line 66

Warning: mysqli_fetch_array() expects parameter 2 to be int, string given in /class/DB.class.php on line 66

Warning: count(): Parameter must be an array or an object that implements Countable in /class/Robot.class.php on line 94

Warning: count(): Parameter must be an array or an object that implements Countable in /class/Robot.class.php on line 110

Warning: Use of undefined constant MYSQL_ASSOC - assumed 'MYSQL_ASSOC' (this will throw an Error in a future version of PHP) in /class/DB.class.php on line 66

Warning: mysqli_fetch_array() expects parameter 2 to be int, string given in /class/DB.class.php on line 66

Warning: Use of undefined constant MYSQL_ASSOC - assumed 'MYSQL_ASSOC' (this will throw an Error in a future version of PHP) in /class/DB.class.php on line 66

Warning: mysqli_fetch_array() expects parameter 2 to be int, string given in /class/DB.class.php on line 66

Warning: Use of undefined constant MYSQL_ASSOC - assumed 'MYSQL_ASSOC' (this will throw an Error in a future version of PHP) in /class/DB.class.php on line 66

Warning: mysqli_fetch_array() expects parameter 2 to be int, string given in /class/DB.class.php on line 66

Warning: Use of undefined constant MYSQL_ASSOC - assumed 'MYSQL_ASSOC' (this will throw an Error in a future version of PHP) in /class/DB.class.php on line 66

Warning: mysqli_fetch_array() expects parameter 2 to be int, string given in /class/DB.class.php on line 66

Warning: count(): Parameter must be an array or an object that implements Countable in /index.php on line 173

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /class/MySQL.class.php:74 Stack trace: #0 /class/MySQL.class.php(66): Db->connect() #1 /class/News.class.php(34): Db::singleton() #2 /index.php(176): News->getBrands() #3 {main} thrown in /class/MySQL.class.php on line 74