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 custom template to display the content
*
* Used for index/archive/search.
*
* @package SPIN
* @since SPIN 1.0.50
*/
$spin_template_args = get_query_var( 'spin_template_args' );
if ( is_array( $spin_template_args ) ) {
$spin_columns = empty( $spin_template_args['columns'] ) ? 2 : max( 1, $spin_template_args['columns'] );
$spin_blog_style = array( $spin_template_args['type'], $spin_columns );
} else {
$spin_template_args = array();
$spin_blog_style = explode( '_', spin_get_theme_option( 'blog_style' ) );
$spin_columns = empty( $spin_blog_style[1] ) ? 2 : max( 1, $spin_blog_style[1] );
}
$spin_blog_id = spin_get_custom_blog_id( join( '_', $spin_blog_style ) );
$spin_blog_style[0] = str_replace( 'blog-custom-', '', $spin_blog_style[0] );
$spin_expanded = ! spin_sidebar_present() && spin_get_theme_option( 'expand_content' ) == 'expand';
$spin_components = ! empty( $spin_template_args['meta_parts'] )
? ( is_array( $spin_template_args['meta_parts'] )
? join( ',', $spin_template_args['meta_parts'] )
: $spin_template_args['meta_parts']
)
: spin_array_get_keys_by_value( spin_get_theme_option( 'meta_parts' ) );
$spin_post_format = get_post_format();
$spin_post_format = empty( $spin_post_format ) ? 'standard' : str_replace( 'post-format-', '', $spin_post_format );
$spin_blog_meta = spin_get_custom_layout_meta( $spin_blog_id );
$spin_custom_style = ! empty( $spin_blog_meta['scripts_required'] ) ? $spin_blog_meta['scripts_required'] : 'none';
if ( ! empty( $spin_template_args['slider'] ) || $spin_columns > 1 || ! spin_is_off( $spin_custom_style ) ) {
?><div class="
<?php
if ( ! empty( $spin_template_args['slider'] ) ) {
echo 'slider-slide swiper-slide';
} else {
echo esc_attr( ( spin_is_off( $spin_custom_style ) ? 'column' : sprintf( '%1$s_item %1$s_item', $spin_custom_style ) ) . "-1_{$spin_columns}" );
}
?>
">
<?php
}
?>
<article id="post-<?php the_ID(); ?>" data-post-id="<?php the_ID(); ?>"
<?php
post_class(
'post_item post_item_container post_format_' . esc_attr( $spin_post_format )
. ' post_layout_custom post_layout_custom_' . esc_attr( $spin_columns )
. ' post_layout_' . esc_attr( $spin_blog_style[0] )
. ' post_layout_' . esc_attr( $spin_blog_style[0] ) . '_' . esc_attr( $spin_columns )
. ( ! spin_is_off( $spin_custom_style )
? ' post_layout_' . esc_attr( $spin_custom_style )
. ' post_layout_' . esc_attr( $spin_custom_style ) . '_' . esc_attr( $spin_columns )
: ''
)
);
spin_add_blog_animation( $spin_template_args );
?>
>
<?php
// Sticky label
if ( is_sticky() && ! is_paged() ) {
?>
<span class="post_label label_sticky"></span>
<?php
}
// Custom layout
do_action( 'spin_action_show_layout', $spin_blog_id, get_the_ID() );
?>
</article><?php
if ( ! empty( $spin_template_args['slider'] ) || $spin_columns > 1 || ! spin_is_off( $spin_custom_style ) ) {
?></div><?php
// Need opening PHP-tag above just after </div>, because <div> is a inline-block element (used as column)!
}