execute(" SELECT arrowchat_themes.folder FROM arrowchat_themes WHERE arrowchat_themes.default = 1 "); $row = $db->fetch_array($result); $theme = $row['folder']; $write = check_config_file(); $install = check_install_folder(); //*********Smarty Variables************ // Check if features are disabled to display message $feature_disabled = ""; if ($chatrooms_on != 1 AND $do == "chatroomsettings") { $feature_disabled = "Chatrooms"; } if ($notifications_on != 1 AND $do == "notificationsettings") { $feature_disabled = "Notifications"; } ?>