HEX
Server:
System: Linux aac286ea486c 5.14.0-687.15.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jun 11 08:51:45 EDT 2026 x86_64
User: root (0)
PHP: 8.2.30
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,disk_free_space,diskfreespace
Upload Files
File: /dom877180/wp-content/themes/splash/index.php
<?php get_header();

//Get sidebar settings
$sidebar_settings = splash_get_sidebar_settings();
$sidebar_id = $sidebar_settings['id'];

$stm_sidebar_layout_mode = splash_sidebar_layout_mode($sidebar_settings['position'], $sidebar_id);

if (empty($stm_sidebar_layout_mode['sidebar_before'])) {
    $sidebar_settings['position'] = 'none';
}

$class = '';

if (splash_is_layout("baseball")) $class = "news_style_baseball_" . $sidebar_settings["view_type"];
if (splash_is_layout("magazine_one")) $class = "news_sidebar_" . $sidebar_settings["position"];

?>

    <div class="stm-default-page stm-default-page-<?php echo esc_attr($sidebar_settings['view_type']); ?> stm-default-page-<?php echo esc_attr($sidebar_settings['position']); ?>">
        <div class="container">
            <?php if(splash_is_layout('esport')): ?>
                <div class="row">
                    <?php get_template_part('partials/global/title-box'); ?>
                </div>
            <?php endif; ?>
            <div class="row sidebar-wrapper">
                <?php echo wp_kses_post($stm_sidebar_layout_mode['content_before']); ?>
                <?php if (!splash_is_layout('magazine_one') && !splash_is_layout('esport')): ?>
                    <div class="stm-small-title-box">
                        <?php if (!splash_is_layout('soccer_two') && !splash_is_layout('hockey') ) get_template_part('partials/global/title-box'); ?>
                    </div>
                <?php endif; ?>
                <?php if (have_posts()): ?>
                    <div class="row row-3 row-sm-2 <?php echo esc_attr($class); ?> <?php if(splash_is_layout('hockey')) echo 'hockey'; ?>">

                        <?php
                        $template = 'partials/loop/content-' . $sidebar_settings["view_type"];
                        $layoutName = splash_get_layout_name();
                        switch ($layoutName) {
                            case 'baseball':
                                $template = 'partials/loop/content-' . $sidebar_settings["view_type"] . '-baseball';
                                break;
                            case 'magazine_one':
                                $template = 'partials/loop/content-' . $sidebar_settings["view_type"] . '-magazine-one';
                                break;
                        }

                        while (have_posts()): the_post();
                            get_template_part($template);
                        endwhile; ?>

                    </div>
                    <?php splash_pagination(); ?>
                <?php else: ?>
                    <h5 style="font-weight: 600;" class="page-description"><?php echo esc_html('Search results for '.'"'.get_search_query().'"'); ?></h5>
                    <div class="text-transform nothing found"><?php esc_html_e('No Results', 'splash'); ?></div>
                <?php endif; ?>

                <?php echo wp_kses_post($stm_sidebar_layout_mode['content_after']); ?>

                <!--Sidebar-->
                <?php splash_display_sidebar(
                    $sidebar_id,
                    $stm_sidebar_layout_mode['sidebar_before'],
                    $stm_sidebar_layout_mode['sidebar_after'],
                    $sidebar_settings['blog_sidebar']
                ); ?>

            </div>
        </div>
    </div>


<?php get_footer(); ?>