resultQuery( "SELECT p.`id` FROM " . sw_monitor_table('steam_workshop_game_profiles') . " p JOIN " . sw_monitor_table('config_homes') . " c ON c.`game_key` = p.`config_name` JOIN " . sw_monitor_table('server_homes') . " s ON s.`home_cfg_id` = c.`home_cfg_id` WHERE s.home_id = " . (int)$server_home['home_id'] . " AND p.enabled = 1 LIMIT 1" ); if (!empty($_sw_profile)) { $module_buttons[] = " Steam Workshop "; } unset($_sw_profile); ?>