403Webshell
Server IP : 213.186.33.4  /  Your IP : 216.73.216.222
Web Server : Apache
System : Linux webm005.cluster103.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64
User : karinebmkh ( 644538)
PHP Version : 8.4.22
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/karinebmkh/www2/wp-content/themes/novablog/loop/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/karinebmkh/www2/wp-content/themes/novablog/loop/loop-metro-blog.php
<?php /* Loop Name: Loop metro blog */ ?>
<?php 

	if ( get_query_var('paged') ) {
		$paged = get_query_var('paged');
	} elseif ( get_query_var('page') ) {
		$paged = get_query_var('page');
	} else {
		$paged = 1;
	}

$args = array( 'post__not_in' => get_option( 'sticky_posts' ), 'ignore_sticky_posts' => 1,'post_type' => 'post', 'paged' => $paged );
$i = 1;
$loop = new WP_Query( $args );
	 if ($loop->have_posts()) : 
	 while ($loop->have_posts()) : $loop->the_post();
	 ?>

<?php $count = 1; if( $i%3 == 1 ){ $count = 1; $gridol = '6'; } elseif( $i%3 == 2 ){ $count = 2; $gridol = '3'; } elseif( $i%3 == 0 ){ $count = 3; $gridol = '3'; } 
$nextrow = 'nonextrow'; if( $i%4 == 0 ){ $nextrow = 'nextrow'; }
?>
<div id="post-<?php the_ID(); ?>" class="ajax-post-wrapper block col-xs-12 col-sm-6 col-md-<?php echo esc_attr($gridol); ?> <?php echo esc_attr($nextrow); ?>" > 

<?php 
/**
* Grid post template
*/ 
				$thumb = get_post_thumbnail_id();
				$img_url = wp_get_attachment_url( $thumb,'full');
				$img_width = 1272;
				$img_height = 1272;
				$img = aq_resize( $img_url, $img_width, $img_height, true, true, true );
?>
		<div class="post_content grid-block cover">
		
<?php  if(has_post_thumbnail()) { ?>
<div class="thumb-container">
	
							<div class="thumbnail">
								<img src="<?php echo esc_url($img); ?>" width="<?php echo esc_attr($img_width); ?>" height="<?php echo esc_attr($img_height); ?>" alt="<?php esc_attr(the_title());?>" >
							</div>
	
		
	<div class="cover-content">
<?php novablog_post_category('',' '); ?>

			<h2 class="grid-post-title"><?php esc_attr(the_title()); ?></h2>
	
	
<?php novablog_post_meta(array('author', 'date', 'editlink'), true, 'meta-space-top');  ?>

	

			
</div>
<a href="<?php the_permalink();?>" class="cover-link"></a>
</div>
<?php } ?>
</div>
	
</div>
<?php $i++ ; 
 endwhile; ?>
<?php wp_reset_postdata(); ?>
<?php else: ?>	
<?php get_template_part( 'content', 'none' ); ?>
<?php endif; ?>

Youez - 2016 - github.com/yon3zu
LinuXploit