HEX
Server: Apache
System: Linux hvh16.mirohost.net 6.14.0-29-generic #29~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Aug 14 16:52:50 UTC 2 x86_64
User: likoholding (1037)
PHP: 7.3.33-25+0~20250707.133+debian12~1.gbp70fb14
Disabled: apache_child_terminate, dl, exec, imap_body, imap_createmailbox, imap_deletemailbox, imap_list, imap_open, imap_renamemailbox, inject_code, mb_send_mail, passthru, pcntl_alarm, pcntl_async_signals, pcntl_errno, pcntl_exec, pcntl_fork, pcntl_get_last_error, pcntl_getpriority, pcntl_setpriority, pcntl_signal, pcntl_signal_dispatch, pcntl_signal_get_handler, pcntl_sigprocmask, pcntl_sigtimedwait, pcntl_sigwaitinfo, pcntl_strerror, pcntl_wait, pcntl_waitpid, pcntl_wexitstatus, pcntl_wifcontinued, pcntl_wifexited, pcntl_wifsignaled, pcntl_wifstopped, pcntl_wstopsig, pcntl_wtermsig, popen, posix_getpwuid, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, proc_close, proc_get_status, proc_nice, proc_open, proc_terminate, set_time_limit, shell_exec, symlink, system
Upload Files
File: /var/www/likoholding/liko-holding.com.ua/wp-content/themes/likoholding/single-post.php
<?php /* Template Name: InnerPage Text */ get_header(); ?>

	<main role="main">
		<!-- section -->
		<style type="text/css">
			@media (max-width: 1000.98px){
				.innerpage_menu {
    height: 65px;
}
.left_side .contact_info .address {
    position: relative;
    /* top: 0; */
        right: 0px;
    font-size: 14px;
    line-height: 15px;
    color: #3a3938;
}
.firstblock{
	height: 100px;
}
.innerpage_content {
    height: 550px;
}
.innerpage_content .left_side {
    float: left;
    height: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    background: rgba(222, 208, 209, 0.77);
    padding: 25px 25px 25px 25px;
    position: relative;
}
.back_link {
	position: relative;
	    top: 0px;
    left: 0px;
}
 .stream {
 	height: 100px;
    font-size: 12px;
    font-weight: bold;
    color: #565655;
    text-transform: uppercase;
    line-height: 28px;
    float: right;
    display: inline-block;
    position: relative;
    top:0px;
    left: 0px;
}
.left_side.singleobject .back_link{
	display: inline-block;
}
.innerpage_content {
    height: 100%;
}
			}
  .nextspan{
	    right: 30px;
}
.backspan{
	left: 30px;
}
.owl-nav{
	    top: 30%;
}
		</style>
		<section class="main_section">
			<div class="col-xl-12 valigned_main">
				<div class="main_content">
					<?php if (have_posts()): while (have_posts()) : the_post(); ?>
						<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>					
							<h2 class="innerpage_title"><?php the_title(); ?></h2> 
							<div class=" row innerpage_content clearfix">
								<div class="col-xl-8 left_side singleobject">
									<div class="firstblock"> 
											<a href="/" class="back_link"><span>←</span> <?php pll_e( 'Back' );?></a>
									<!-- Multiblock Code URL-->
										<?php $linkyoutube_block = get_the_block( 'linkyoutube', array('label' => __( 'Youtube Stream', 'text_linkyoutube' ), 'type'  => 'one-liner', 'apply_filters' => false) ); ?>
										<?php if ($linkyoutube_block == "") : ?>
										<?php else : ?>
											<a class="fancybox-iframe stream" href="<?php echo $linkyoutube_block; ?>?autoplay=1" target="_blank"><i class="fab fa-youtube"></i></i> <span><?php pll_e( 'Online' );?><br><?php pll_e( 'broadcast' );?></span></a>
										<?php endif ?>

									</div>
								 
									<!-- Multiblock Code URL-->	
									<ul class="innerpage_menu">
										<li><a class="current" href="#"><?php the_title(); ?></a></li>
										<li><a href="#"><?php pll_e( 'News' );?></a></li>
										<li><a href="#"><?php pll_e( 'History of construction' );?></a></li>
									</ul>
									<div class="scrollpan_wrap">
										<div class="scrollpan_abs current">
											<div class="scrollpan_block">
												<div class="scrollpan_content">										
													<?php the_content(); // Dynamic Content ?>
												</div>
											</div>
										</div>
										<div class="scrollpan_abs">
											<div class="scrollpan_block">
												<div class="row scrollpan_content clearfix">									
													<?php	
													    $newscategoryID = get_the_block( 'newscategoryID', array('label' => __( 'ID категорії новин. !тільки число! з вкладки News -> Categories, значення стовпчику "ID" ', 'newscategoryID' ), 'type'  => 'one-liner', 'apply_filters' => false) );
														$newscategoryPosts = get_posts(array(
															'showposts' => -1,
															'post_type' => 'news',
															'tax_query' => array(
																array(
																'taxonomy' => 'news-category',
																'field' => 'term_id',
																'terms' => $newscategoryID)
															),															
															'orderby' => 'title',
															'order' => 'ASC'
															)
														);
														 
														foreach ($newscategoryPosts as $newscategoryPost) {?>
															<div class="post_newsblock">
																<div class="newsblock_date"><?php echo get_the_date(); ?></div>
																<div class="newsblock_title ddd"><a href="<?php echo get_permalink( $newscategoryPost->ID ); ?>"><?php echo $newscategoryPost->post_title ;?></a></div>
																<div class="newsblock_content ddd"><?php echo $newscategoryPost->post_content ;?></div>
																<a class="newsblock_permalink" href="<?php echo get_permalink( $newscategoryPost->ID ); ?>"><?php pll_e( 'Detail' );?></a>
															</div>	
														<?}	?>
														
												</div>
											</div>
										</div>
										<div class="scrollpan_abs">
											<div class="scrollpan_block">
												<div class="scrollpan_content clearfix">		
													<?php the_block( 'postimgpop', array('label' => __( 'Історія проекту. Тільки галерея зображень. "Посилання до" -> "Медіафайл", "Розмір" -> мінімум "середній". Поле для вводу дати - назва зображення в гелереї.', 'postimgpop' )) ); ?>
												</div>
											</div>
										</div>
									</div>
									<div class="contact_info">
									<!-- Multiblock Code URL-->
										<?php $link_block = get_the_block( 'link', array('label' => __( 'Посилання на сайт', 'text_link' ), 'type'  => 'one-liner', 'apply_filters' => false) ); ?>
										<?php if ($link_block == "") : ?>
										<?php else : ?>
											<div class="site_url">
												<a href="http://<?php echo $link_block; ?>/" target="_blank">
													<?php echo $link_block; ?>
												</a>
											</div> 
										<?php endif ?>
									<!-- Multiblock Code URL-->	
									
									<!-- Multiblock Code Address-->
										<?php $address_block = get_the_block( 'address', array('label' => __( 'Адреса', 'address_block' ), 'type'  => 'one-liner', 'apply_filters' => false) ); ?>
										<?php if ($address_block == "") : ?>
										<?php else : ?>
											 
										<?php endif ?>
										<div class="address">
												<i class="fa fa-map-marker"></i><?php echo get_field('adress'); ?>
											</div> 
									<!-- Multiblock Code Address-->
									</div>
								</div>	
								<div class="col-xl-4 right_side">
									<div class="slider_block">										
										<?php the_block( 'postsliderright', array('label' => __( 'Слайдер праворуч. Тільки галерея зображень. "Посилання до" -> "Жодного", "Розмір" -> мінімум "середній".', 'postsliderright' )) ); ?>
									</div>	
									<div class="slider_textblock">
										<div class="inner_centered">
											<div class="useless_block">
												<?php the_block( 'postsliderlefttext', array('label' => __( 'Текстовий блок під слайдером ліворуч (числа, менший текст - в span)', 'postsliderlefttext' ) ) ); ?>
											</div>
											<div class="useless_block_right">
												<?php the_block( 'postsliderrighttext', array('label' => __( 'Текстовий блок під слайдером праворуч (короткий опис або ключова фраза)', 'postsliderrighttext' ) ) ); ?>
											</div>
											<?php $postspercentage = get_the_block( 'postspercentage', array('label' => __( 'Хід будівництва', 'postspercentagetext' ), 'type'  => 'one-liner', 'apply_filters' => false) ); ?>
											<?php if ($postspercentage == "") : ?>
											<?php else : ?>
												<div class="postspercentage">
													<i class="fa fa-cubes"></i> <?php pll_e( 'Construction progress:' );?> <span><?php echo $postspercentage; ?></span>
												</div>
											<?php endif ?>
											<?php $postconditions = get_the_block( 'postconditions', array('label' => __( 'Умови придбання', 'conditionstext' ), 'type'  => 'one-liner', 'apply_filters' => false) ); ?>
											<?php if ($postconditions == "") : ?>
											<?php else : ?>
												<div class="postconditions">
													<i class="fa fa-book"></i> <a href="<?php echo $postconditions; ?>" target="_blank"><?php pll_e( 'Terms of purchase:' );?></a>
												</div>
											<?php endif ?>
										</div>
									</div>
								</div>	
							</div>	
						</div>
						<?php $shortmaintext_block = get_the_block( 'shortmain', array('label' => __( 'Короткий текст на головну', 'shortmain' ), 'type'  => 'one-liner', 'apply_filters' => false) ); ?>	
					<?php endwhile; ?>
					<?php endif; ?>
				</div>	
			</div>	
		</section>
	 	
		<!-- /section -->
	</main>

<?php get_footer(); ?>
 	 <script type="text/javascript">
		 	$( document ).ready(function() {
    $('.owl-carousel').owlCarousel({
    loop:true,
    margin:10,
    nav:true,
   
    responsive:{
        0:{
            items:1
        }
    }
})
       
});
		 	 
		 </script>