| Server IP : 89.108.64.180 / Your IP : 216.73.216.46 Web Server : Apache/2.4.41 (Ubuntu) System : Linux 89-108-64-180.cloudvps.regruhosting.ru 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 User : www-root ( 1010) PHP Version : 8.0.30 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/www-root/data/www/dom-schastya.ru/wp-content/themes/hoteller/ |
Upload File : |
<?php
/**
* The main template file for display page.
*
* @package WordPress
*/
//Check if single attachment page
if($post->post_type == 'attachment')
{
get_template_part("single-attachment");
die;
}
/**
* Get Current page object
**/
if(!is_null($post))
{
$page_obj = get_page($post->ID);
}
$current_page_id = '';
/**
* Get current page id
**/
if(!is_null($post) && isset($page_obj->ID))
{
$current_page_id = $page_obj->ID;
}
get_header();
?>
<?php
//Include custom header feature
get_template_part("/templates/template-header");
?>
<div class="inner">
<!-- Begin main content -->
<div class="inner_wrapper">
<div class="sidebar_content full_width">
<?php
if ( have_posts() ) {
while ( have_posts() ) : the_post(); ?>
<?php
the_content();
break;
?>
<?php endwhile;
wp_link_pages(
array(
'before' => '<br class="clear"/><p>' . esc_html__( 'Pages:', 'hoteller' ),
'after' => '</p>',
)
);
}
if (comments_open($post->ID) OR hoteller_post_has('pings', $post->ID))
{
?>
<div class="fullwidth_comment_wrapper">
<?php comments_template( '', true ); ?>
</div>
<?php
}
?>
</div>
</div>
<!-- End main content -->
</div>
<br class="clear"/>
</div>
<?php get_footer(); ?>