HEX
Server: Apache
System: Linux uws7-179.cafe24.com 3.10.0-1160.119.1p.el7.x86_64 #1 SMP Thu Sep 11 14:15:01 KST 2025 x86_64
User: medikors (1589)
PHP: 7.3.1p1
Disabled: mysql_pconnect
Upload Files
File: /medikors/www/eng/wp-content/plugins/jet-elements/templates/jet-dropbar/global/index.php
<?php
/**
 * Main Dropbar template
 */

$settings = $this->get_settings_for_display();

$this->add_render_attribute( 'wrapper', 'class', 'jet-dropbar' );
$this->add_render_attribute( 'wrapper', 'data-settings', esc_attr( $this->get_dropbar_export_settings() ) );

if ( isset( $settings['show_effect'] ) && $settings['show_effect'] ) {
	$this->add_render_attribute( 'wrapper', 'class', sprintf( 'jet-dropbar--%s-effect', esc_attr( $settings['show_effect'] ) ) );
}

if ( isset( $settings['fixed'] ) && filter_var( $settings['fixed'], FILTER_VALIDATE_BOOLEAN  ) ) {
	$this->add_render_attribute( 'wrapper', 'class', 'jet-dropbar-fixed' );

	if ( isset( $settings['fixed_position'] ) && $settings['fixed_position'] ) {
		$this->add_render_attribute( 'wrapper', 'class', sprintf( 'jet-dropbar-fixed--%s-position', esc_attr( $settings['fixed_position'] ) ) );
	}

	if ( isset( $settings['fixed_position_tablet'] ) && $settings['fixed_position_tablet'] ) {
		$this->add_render_attribute( 'wrapper', 'class', sprintf( 'jet-dropbar-fixed--%s-tablet-position', esc_attr( $settings['fixed_position_tablet'] ) ) );
	}

	if ( isset( $settings['fixed_position_mobile'] ) && $settings['fixed_position_mobile'] ) {
		$this->add_render_attribute( 'wrapper', 'class', sprintf( 'jet-dropbar-fixed--%s-mobile-position', esc_attr( $settings['fixed_position_mobile'] ) ) );
	}
}
?>

<div <?php $this->print_render_attribute_string( 'wrapper' ); ?>>
	<div class="jet-dropbar__inner"><?php
		include $this->__get_global_template( 'button' );
		include $this->__get_global_template( 'content' );
	?></div>
</div>