big picture for inventory product

Warning: Use of undefined constant SITE_DIR - assumed 'SITE_DIR' (this will throw an Error in a future version of PHP) in /home/laprom6/public_html/big_picture.php on line 52

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home/laprom6/public_html/class.db.php:46 Stack trace: #0 /home/laprom6/public_html/class.db.php(41): MDB->connect_database() #1 /home/laprom6/public_html/class.db.php(36): MDB->init() #2 /home/laprom6/public_html/_classes/class.sql.php(10): MDB->MDB() #3 /home/laprom6/public_html/big_picture.php(64): SQL->SQL() #4 {main} thrown in /home/laprom6/public_html/class.db.php on line 46