sl >= 4 && (SSFW_ONLY || $settings['show-r15'] == 'off')) return 'r15'; else if ($artwork->xRestrict == 1 && (SFW_ONLY || $settings['show-r18'] == 'off')) return 'r18'; else if ($artwork->xRestrict == 2 && (SFW_ONLY || $settings['show-r18g'] == 'off')) return 'r18g'; else if ($artwork->aiType == 2 && $settings['show-aigc'] == 'off') return 'aigc'; return false; } function die_with_message($status_code, $message) { http_response_code($status_code); $title = get_string('error'); render_page_header($title); ?>
= $message ?>