403Webshell
Server IP : 89.108.64.180  /  Your IP : 216.73.216.229
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/testsite1441.ru/wp-content/themes/hotello/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/www-root/data/www/testsite1441.ru/wp-content/themes/hotello/search.php
<?php

get_header();
$current_object = get_queried_object();

$post_type = 'post';

$settings = hotello_get_post_settings($post_type);

$sidebar_position = hotello_get_sidebar_setting($post_type);
$sidebar_mobile = hotello_get_sidebar_mobile($post_type, 'archive');

$wrapper_classes = array('stm_markup', 'stm_markup_' . esc_attr($sidebar_position));

if ($sidebar_mobile === 'hidden') {
	$wrapper_classes[] = 'stm_sidebar_hidden';
} ?>

    <div class="<?php echo esc_attr(implode(' ', $wrapper_classes)) ?>">

        <div class="stm_markup__content stm_markup__<?php echo esc_attr($post_type); ?>">
			<?php if (have_posts()): ?>
                <h4><?php esc_html_e('Search Results', 'hotello'); ?></h4>
                <div class="stm_loop stm_loop__<?php echo esc_attr($settings['view_type']); ?>">

					<?php while (have_posts()) : the_post(); ?>
						<?php get_template_part($settings['tpl']); ?>
					<?php endwhile; ?>

                </div>
				<?php echo hotello_pagination(array('type' => 'list')); ?>
			<?php else: ?>
                <div class="widget widget-default widget_search">
                    <?php get_search_form(); ?>
                </div>
                <p><?php esc_html_e('Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'hotello'); ?></p>
			<?php endif; ?>
        </div>

		<?php if ('full' !== $sidebar_position) : ?>
            <div class="stm_markup__sidebar stm_markup__sidebar_divider stm_markup__sidebar_archive">
                <div class="sidebar_inner">
					<?php hotello_sidebar(); ?>
                </div>
            </div>
		<?php endif; ?>

    </div>

<?php get_footer(); ?>

Youez - 2016 - github.com/yon3zu
LinuXploit