403Webshell
Server IP : 80.93.52.51  /  Your IP : 216.73.217.60
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux 80-93-52-51.swtest.ru 6.8.0-124-generic #124-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 13:00:45 UTC 2026 x86_64
User : www-root ( 1010)
PHP Version : 7.4.33
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/undergroundexpert.info/wp-content/themes/shablon/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/www-root/data/www/undergroundexpert.info/wp-content/themes/shablon/category-188.php
<?php 
get_header();?>
<?php get_template_part('includes/breadcrumbs')?>
<?php $current_cat = get_category($cat);
$cl = pll_current_language();
if( $cl == ru ){
$start_date = 'start_date';
$event_cat_id = 20;
}else{
$start_date = 'start_date_eng';
$event_cat_id = 188;
}?>
<div id="content_section">
    <div class="center_wrap">
        <div class="dt">
            <div class="dtc vat content_column">
                <div class="main_page_blog">
                    <h1 class="block_title big"><?php if(get_field('seo_h1', 'category_'.$cat)): the_field('seo_h1', 'category_'.$cat); else: single_cat_title(); endif;?></h1>
                    <div class="cat_search_wrap clearfix">
                        <?php get_template_part('includes/search_in_cat')?>
                    </div><!--/.cat_search_wrap-->
                    <?php if(get_field('show_choose_region', 'category_'.$cat)):?>   
						<?php get_template_part('includes/choose_region')?>
					<?php endif;?>
					<?php get_template_part('includes/cat_main_article')?>
					<?php 
		  				$args = array (
                                'post_type' => 'post',
                                'posts_per_page' => 10,
                                'offset' => 0,
                                'category__in' => array($event_cat_id),
                                'post_status' => 'publish',
								'meta_key' => $start_date,
								'meta_value' => date( "Ymd" ), 
								'meta_compare' => '>', 
								'orderby' => 'meta_value',
								'order' => 'ASC',
                           		 );
																								
                            global $posts_query;
                            $posts_query = new WP_Query($args);
                            while ($posts_query->have_posts()) : $posts_query->the_post(); 
						
					?>
						<div class="dt main_page_event_block">
							<div class="dtc vat main_page_event_block_img">
								<a href="<?php the_permalink();?>"><?php the_post_thumbnail('mini-thumb')?></a>
							</div>
							<div class="dtc vat main_page_event_block_info">
								<p class="main_page_event_date"><?php if($cl == ru): the_field('dates'); else: the_field('dates_eng');endif;?></p>
								<p><a href="<?php the_permalink();?>"><?php the_title()?></a></p>
								<a href="<?php the_permalink();?>"><?php if( $cl == ru ):?>Подробнее<?php ;else:?>More<?php ;endif;?></a>
							</div><!--/.main_page_event_block_info-->
						</div><!--/.main_page_event_block-->
					<?php 
						endwhile;
						wp_reset_postdata();
					?>
			
                </div><!--/.main_page_blog-->
                <?php get_template_part('includes/publication_block')?>
                <?php get_template_part('includes/cat_content')?>
            </div><!--/.dtc.content_column-->
            <?php get_sidebar();?>
        </div><!--/.dt-->
    </div><!--/.center_wrap-->
</div><!--/#content_section-->
<?php get_footer();?>

Youez - 2016 - github.com/yon3zu
LinuXploit