403Webshell
Server IP : 141.193.213.10  /  Your IP : 216.73.216.190
Web Server : nginx
System : Linux pod-400555 6.8.0-1055-gke #61-Ubuntu SMP Tue May 26 22:57:42 UTC 2026 x86_64
User : fpm200079 ( 200079)
PHP Version : 8.2.35
Disable Function : apache_child_terminate,apache_get_modules,apache_get_version,apache_getenv,apache_note,apache_setenv,disk_free_space,disk_total_space,diskfreespace,dl,exec,fastcgi_finish_request,link,opcache_compile_file,opcache_get_configuration,opcache_invalidate,opcache_is_script_cached,opcache_reset,passthru,pclose,pcntl_exec,popen,posix_getpid,posix_getppid,posix_getpwuid,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_uname,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,realpath_cache_get,shell_exec,show_source,symlink,system
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /nas/content/live/bartislaw/wp-content/themes/spk/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /nas/content/live/bartislaw/wp-content/themes/spk/tpl-blog.php
<?php
/* Template Name: Blog Page Template */
get_header();
?>
<div class="inner-page-outer-wrap py-4">
    <div class="entry-content">
        <div class="container">
            <h1 class="ThemeHeadingColor text-center m-0 pb-3"><?php the_title(); ?></h1>
            <div class="clearfix"></div>
            <?php if (get_theme_mod('theme_blog_category_dropdown')): ?>
                <div class="show-cat-dropdown d-flex justify-content-center mb-3">
                    <form action="<?php echo esc_url(home_url('/')); ?>" method="get">
                        <label for="cat"><?php echo _e(get_theme_mod('theme_blog_category_dropdown_hd'), "spk") ?></label>
                        <?php
                        $args = array(
                            'show_option_none' => __('Select Category'),
                            'show_count' => 1,
                            'orderby' => 'name',
                            'echo' => 0,
                            'exclude' => implode(",", array(get_theme_mod('theme_blog_exclude_category_dropwoen'))),
                            'class' => 'blog-cat-dropdown p-1',
                        );
                        ?>
                        <?php $select = wp_dropdown_categories($args); ?>
                        <?php $replace = "<select$1>"; ?>
                        <?php $select = preg_replace('#<select([^>]*)>#', $replace, $select); ?>
                        <?php echo $select; ?>
                        <noscript><input type="submit" value="View" /></noscript>
                    </form>
                </div>
            <?php endif; ?>
            <div class="clearfix"></div>
            <?php
            $WordLimit = empty(get_theme_mod('theme_blog_posts_words_limit')) ? "60" : get_theme_mod('theme_blog_posts_words_limit');
            $args = array(
                'post_type' => 'post',
                'post_status' => 'publish',
                'orderby' => 'date',
                'order' => 'DESC',
                'posts_per_page' => !empty(get_theme_mod('theme_blog_show_number_posts')) ? get_theme_mod('theme_blog_show_number_posts') : "10",
                'paged' => $paged,
                'cat' => '-17'
            );

            $wp_query = new WP_Query($args);
            if ($wp_query->have_posts()) : while ($wp_query->have_posts()) : $wp_query->the_post();
                    $imgID = get_post_thumbnail_id($wp_query->ID);
                    $img = wp_get_attachment_image_src($imgID, 'full', false, '');
                    $imgAlt = get_post_meta($imgID, '_wp_attachment_image_alt', true);
                    if ($imgID):
                        ?>

                        <div class="blog-summary-wrap mb-3">
                            <div class="blog-summary-hd"><a href="<?php echo get_the_permalink(); ?>" class="d-block py-2 px-3 mb-2"><?php echo get_the_title(); ?></a></div>
                            <div class="media">
                                <div class="row">
                                    <div class="col-sm-3">
                                        <img class="blog-summary-img" src="<?php echo $img[0]; ?>"alt="<?php echo the_title(); ?>" />
                                    </div>
                                    <div class="col-sm-9">
                                        <div class="media-body">
                                            <?php if (get_theme_mod('theme_blog_user_meta_admin_name') || get_theme_mod('theme_blog_user_meta_publish_date')): ?>
                                                <div class="blog-summary-meta d-flex justify-content-left mb-2 px-3">
                                                    <ul class="p-0 m-0">
                                                        <?php if (get_theme_mod('theme_blog_user_meta_admin_name')): ?>
                                                            <li class="p-0 my-0 mr-1 d-inline-block"><i class="fa fa-user"></i> By: <span><?php echo get_the_author(); ?></span></li>
                                                            <?php
                                                        endif;
                                                        if (get_theme_mod('theme_blog_user_meta_publish_date')):
                                                            ?>
                                                            <li class="p-0 my-0 d-inline-block"><i class="fa fa-calendar"></i> Published: <span><?php echo get_the_date(); ?></span></li>
                                                        <?php endif; ?>
                                                    </ul>
                                                </div>
                                            <?php endif; ?>
                                            <div class = "blog-summary-body px-3">
                                                <p><?php echo SPK_Excerpt($WordLimit); ?><a href="<?php echo get_the_permalink(); ?>" class="blog-summary-rmore"> Read More <i class="fa fa-long-arrow-right" aria-hidden="true"></i></a></p>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    <?php else: ?>
                        <div class="blog-summary-wrap mb-3">
                            <div class="blog-summary-hd"><a href="<?php echo get_the_permalink(); ?>" class="d-block py-2 px-3 mb-2"><?php echo get_the_title(); ?></a></div>
                            <?php if (get_theme_mod('theme_blog_user_meta_admin_name') || get_theme_mod('theme_blog_user_meta_publish_date')): ?>
                                <div class="blog-summary-meta d-flex justify-content-left mb-2 px-3">
                                    <ul class="p-0 m-0">
                                        <?php if (get_theme_mod('theme_blog_user_meta_admin_name')): ?>
                                            <li class="p-0 my-0 mr-1 d-inline-block"><i class="fa fa-user"></i> By: <span><?php echo get_the_author(); ?></span></li>
                                            <?php
                                        endif;
                                        if (get_theme_mod('theme_blog_user_meta_publish_date')):
                                            ?>
                                            <li class="p-0 my-0 d-inline-block"><i class="fa fa-calendar"></i> Published: <span><?php echo get_the_date(); ?></span></li>
                                        <?php endif; ?>
                                    </ul>
                                </div>
                            <?php endif; ?>
                            <div class = "blog-summary-body px-3">
                                <p><?php echo SPK_Excerpt($WordLimit); ?><a href="<?php echo get_the_permalink(); ?>" class="blog-summary-rmore">Read More <i class="fa fa-long-arrow-right" aria-hidden="true"></i></a></p>
                            </div>
                        </div>
                    <?php
                    endif;
                endwhile;
            endif;
            ?>
            <div class="clearfix"></div>

            <?php Spk_Navigation(); ?>
        </div>
        <!------------------------------------------------->
        <div class="clearfix"></div>
        <?php wp_reset_query(); ?>
        <div class="container">
            <?php require_once TEMPLATEPATH . '/includes/files/responsive-btns-code.php'; ?>
            <div class="breadcrumb-wrap-outer mt-lg-3 mt-md-4">
                <?php echo SPKBreadcrumbs(); ?>
            </div>
        </div>
    </div>
</div>
<?php get_footer() ?>

Youez - 2016 - github.com/yon3zu
LinuXploit