Uname:
Linux webm012.cluster130.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
Software:
Apache
PHP version:
8.0.30 [ PHP INFO ] PHP os:
Linux
Server Ip:
145.239.37.162
Your Ip:
216.73.216.190
User:
dreampi (1009562) | Group:
users (100)
Safe Mode:
OFF
Disable Function:
_dyuweyrj4,_dyuweyrj4r,dl
<?php
/**
* The template to display custom header from the ThemeREX Addons Layouts
*
* @package SPIN
* @since SPIN 1.0.06
*/
$spin_header_css = '';
$spin_header_image = get_header_image();
$spin_header_video = spin_get_header_video();
if ( ! empty( $spin_header_image ) && spin_trx_addons_featured_image_override( is_singular() || spin_storage_isset( 'blog_archive' ) || is_category() ) ) {
$spin_header_image = spin_get_current_mode_image( $spin_header_image );
}
$spin_header_id = spin_get_custom_header_id();
$spin_header_meta = get_post_meta( $spin_header_id, 'trx_addons_options', true );
if ( ! empty( $spin_header_meta['margin'] ) ) {
spin_add_inline_css( sprintf( '.page_content_wrap{padding-top:%s}', esc_attr( spin_prepare_css_value( $spin_header_meta['margin'] ) ) ) );
}
?><header class="top_panel top_panel_custom top_panel_custom_<?php echo esc_attr( $spin_header_id ); ?> top_panel_custom_<?php echo esc_attr( sanitize_title( get_the_title( $spin_header_id ) ) ); ?>
<?php
echo ! empty( $spin_header_image ) || ! empty( $spin_header_video )
? ' with_bg_image'
: ' without_bg_image';
if ( '' != $spin_header_video ) {
echo ' with_bg_video';
}
if ( '' != $spin_header_image ) {
echo ' ' . esc_attr( spin_add_inline_css_class( 'background-image: url(' . esc_url( $spin_header_image ) . ');' ) );
}
if ( is_single() && has_post_thumbnail() ) {
echo ' with_featured_image';
}
if ( spin_is_on( spin_get_theme_option( 'header_fullheight' ) ) ) {
echo ' header_fullheight spin-full-height';
}
$spin_header_scheme = spin_get_theme_option( 'header_scheme' );
if ( ! empty( $spin_header_scheme ) && ! spin_is_inherit( $spin_header_scheme ) ) {
echo ' scheme_' . esc_attr( $spin_header_scheme );
}
?>
">
<?php
// Background video
if ( ! empty( $spin_header_video ) ) {
get_template_part( apply_filters( 'spin_filter_get_template_part', 'templates/header-video' ) );
}
// Custom header's layout
do_action( 'spin_action_show_layout', $spin_header_id );
// Header widgets area
get_template_part( apply_filters( 'spin_filter_get_template_part', 'templates/header-widgets' ) );
?>
</header>