consts.php: Add TABLE_NAME variable
meta_main.php: Bugfix
mysql_functions.php: Bugfix