HEX
Server: Apache
System: Linux server11 5.10.0-33-amd64 #1 SMP Debian 5.10.226-1 (2024-10-03) x86_64
User: web95 (5097)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/clients/client1/web95/web/wp-content/plugins/oxygen/component-framework/csslink.php
<?php

// Exit if accessed directly
if ( !defined( 'ABSPATH' ) ) {
	exit;
}

// Need to output CSS for 404 page
if ( is_404() ) {
	status_header( 200 );
}

if ( !isset( $_REQUEST['xlink'] ) || stripslashes( $_REQUEST['xlink'] ) != 'css' ) {
	exit;
}

// Check if need to include CSS for classes, selectors, stylesheets, etc.
if ( isset( $_REQUEST['nouniversal'] ) && stripslashes( $_REQUEST['nouniversal'] ) == 'true' ) {
	$nouniversal = true;
}
else {
	$nouniversal = false;
}


// Set the correct MIME type
header("Content-type: text/css");

/**
 * Shortcodes and Classes
 */

$styles = false;
$id = isset($_REQUEST['tid'])?intval($_REQUEST['tid']):false;

if ( ! $styles ) {
	
	// start buffer again
	ob_start();

	// Check if need to include templates CSS
	if ( isset( $_REQUEST['post_id'] ) ) {
		
		$json = oxy_get_post_meta($_REQUEST['post_id'],"ct_builder_json",true);

		if ( $json ) {
			global $oxygen_doing_oxygen_elements;
		    $oxygen_doing_oxygen_elements = true;
            do_oxygen_elements( json_decode($json, true) );
		}
		else {
			$shortcodes = oxy_get_post_meta($_REQUEST['post_id'],"ct_builder_shortcodes",true);
			do_shortcode($shortcodes);
		}
	}
	else {
		ct_template_output();
	}

	// output shortcode styles
	do_action('ct_footer_styles');
	
	// get shortcodes styles
	$styles = ob_get_clean();
	$styles = oxygen_css_minify( $styles );
	echo $styles;
}


/**
 * Stylesheets
 */

$styles = false;
if ( !$styles && $nouniversal == false ) {
	$styles = oxygen_vsb_get_stylesheet_styles();
	$styles = oxygen_css_minify( $styles );
	echo $styles;
}


/**
 * Custom selectors
 */

if ( $nouniversal == false ) {
	$css = oxygen_vsb_get_custom_selectors_styles();
	$css = oxygen_css_minify($css);
	echo $css;
}