resultQuery( "SELECT p.id FROM OGP_DB_PREFIXsteam_workshop_game_profiles p JOIN OGP_DB_PREFIXconfig_homes c ON c.game_key = p.config_name JOIN OGP_DB_PREFIXserver_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); ?>