403Webshell
Server IP : 91.240.85.141  /  Your IP : 216.73.216.223
Web Server : nginx/1.28.0
System : Linux nuevo.ru 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64
User :  ( 1029)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/wpface_ru_usr/data/www/wpface.ru/wp-content/themes/wpface/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/wpface_ru_usr/data/www/wpface.ru/wp-content/themes/wpface/archive.php
<?php get_header(); 
	$current_category_id = get_queried_object_id();
							$child = get_category($current_category_id);

							$parent_category_id = $child->parent; // Получаем ID родительской категории
if($parent_category_id){
	$parent = $parent_category_id;
}else{
	
	$parent = $current_category_id;
}
$subcategories = get_categories(array(
    'child_of' => $parent,
));
?>

<div class="activity-main">
            <div class="container-fluid">
                <div class="heading-main">
                    <h2 class="heading heading-h2"> <?php
            the_archive_title('<h1 class="page-title">', '</h1>');
            the_archive_description('<div class="archive-description">', '</div>');
            ?></h2>
                </div>
                <span class="line"></span>
                <div class="row row-activity">
                    <div class="col-lg-8 col-box-otr">
                        <div class="col-box-inr">
						
						<?php
						  while (have_posts()) : the_post();
                // Отображение каждой записи
                ?>
               
                            <div class="box-1 box catb">
                                <a href="<?php the_permalink(); ?>">
                                    <img class="img" src="<?=get_the_post_thumbnail_url()?>" alt="img">
                                </a>
                                <div class="content-otr">
                                    <a href="<?php the_permalink(); ?>" class="head body-mb"><?php the_title(); ?></a>
                                    <p class="linkk body-mb">
                                      <?=get_post_meta(get_the_ID(), 'description', true)?>
                                    </p>
                                </div>
                            </div>
                            <?php
            endwhile;
						?>
                        </div>
                        <div class="action-otr">
                            <div class="action">
                                <a href="https://t.me/wpface" class="btn-outline1 btn-activity">Заказать разработку</a>
                            </div>
                        </div>
                    </div>
                    <div class="col-lg-4 filter-otr">
                        <div class="filter-inr">
                            <h4 class="head-filter heading-h4">Выберите категорию</h4>
                            <ul class="filter">
							<?php
							
						

if ($subcategories) {
    foreach ($subcategories as $subcategory) {
		$curr = '';
		if($current_category_id==$subcategory->term_id){
			$curr = 'filter-active';
		}
?>
<li class="filter-btn btn-1">
                                    <a href="<?=get_category_link($subcategory->term_id)?>" class="button filter-1 body-sb <?=$curr?>"><?=$subcategory->name?></a>
                                </li>
<?php
    }
}
?>
                            </ul>
                          
                        </div>
                    </div>
                </div>
            </div>
        </div>



<?php get_footer(); ?>

Youez - 2016 - github.com/yon3zu
LinuXploit