<script>
    var min_refresh_interval = <?php echo e(\WPCCrawler\Objects\Dashboard::getMinRefreshInterval()); ?> - 1;
</script>

<div class="wrap container-dashboard">

    <h1><?php echo e(_wpcc('WP Content Crawler Dashboard')); ?></h1>

    <div class="auto-refresh-container">
        <?php echo sprintf(
            _wpcc("Auto refresh every %s seconds"),
            '<input type="number" name="refresh" id="refresh" placeholder=">= ' . \WPCCrawler\Objects\Dashboard::getMinRefreshInterval() . '" title="' . sprintf(_wpcc("At least %s seconds"), \WPCCrawler\Objects\Dashboard::getMinRefreshInterval()) . '">'
        ); ?>


        <span class="next-refresh-in hidden">
            - <?php echo sprintf(_wpcc("Next refresh in %s"), '<span class="remaining">0</span>'); ?>

        </span>
    </div>

    
    <div class="container-fluid" id="dashboard-container">
        <div class="row">
            
            <div class="col col-sm-12">
                <?php echo $__env->make('dashboard.section-active-sites', [
                    'activeSites' => $dashboard->getActiveSites(),
                ], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
            </div>

            <?php
            /** @var \WPCCrawler\Objects\Dashboard $dashboard */
            /**
             * Fires in the main row in Dashboard page, just after Active Sites section
             *
             * @param WPCCrawler\Objects\Dashboard $dashboard
             * @since 1.6.3
             */
            do_action('wpcc/view/dashboard/main-row', $dashboard);

            ?>

        </div>

        <div class="row">
            <div class="col col-sm-6">
                <div class="row">
                    
                    <div class="col col-sm-12">
                        <?php echo $__env->make('dashboard.section-whats-happening', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                    </div>

                    
                    <div class="col col-sm-12">
                        <?php echo $__env->make('dashboard.section-last-posts', [
                            'id'                => 'section-last-recrawled-posts',
                            'title'             => _wpcc("Last recrawled posts"),
                            'posts'             => $dashboard->getLastRecrawledPosts(),
                            'type'              => 'recrawl',
                            'countOptionName'   => \WPCCrawler\Objects\Settings\Enums\SettingKey::WPCC_DASHBOARD_COUNT_LAST_RECRAWLED_POSTS,
                        ], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                    </div>

                    
                    <div class="col col-sm-12">
                        <?php echo $__env->make('dashboard.section-last-urls', [
                            'id'                => 'section-last-deleted-urls',
                            'title'             => _wpcc("URLs of the last deleted posts"),
                            'urls'              => $dashboard->getLastUrlsMarkedAsDeleted(),
                            'countOptionName'   => \WPCCrawler\Objects\Settings\Enums\SettingKey::WPCC_DASHBOARD_COUNT_LAST_DELETED_URLS,
                            'dateColumnName'    => _wpcc("Deleted"),
                            'fieldName'         => 'deleted_at',
                        ], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                    </div>

                    <?php

                    /**
                     * Fires at the end of left column in Dashboard page, just after Last Deleted URLs table
                     *
                     * @param WPCCrawler\Objects\Dashboard $dashboard
                     * @since 1.6.3
                     */
                    do_action('wpcc/view/dashboard/left-col', $dashboard);

                    ?>

                </div>
            </div>

            <div class="col col-sm-6">
                <div class="row">
                    
                    <div class="col col-sm-12">
                        <?php echo $__env->make('dashboard.section-last-posts', [
                            'id'                => 'section-last-crawled-posts',
                            'title'             => _wpcc("Last crawled posts"),
                            'posts'             => $dashboard->getLastCrawledPosts(),
                            'countOptionName'   => \WPCCrawler\Objects\Settings\Enums\SettingKey::WPCC_DASHBOARD_COUNT_LAST_CRAWLED_POSTS,
                        ], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                    </div>

                    
                    <div class="col col-sm-12">
                        <?php echo $__env->make('dashboard.section-last-urls', [
                            'id'                => 'section-last-urls-added-to-queue',
                            'title'             => _wpcc("Last URLs added to the queue"),
                            'urls'              => $dashboard->getLastUrlsInQueue(),
                            'countOptionName'   => \WPCCrawler\Objects\Settings\Enums\SettingKey::WPCC_DASHBOARD_COUNT_LAST_URLS,
                            'dateColumnName'    => _wpcc("Created"),
                            'fieldName'         => 'created_at',
                        ], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                    </div>

                    <?php

                    /**
                     * Fires at the end of right column in Dashboard page, just after Last Added URLs table
                     *
                     * @param WPCCrawler\Objects\Dashboard $dashboard
                     * @since 1.6.3
                     */
                    do_action('wpcc/view/dashboard/right-col', $dashboard);

                    ?>
                </div>
            </div>

        </div>
    </div>


</div>
<?php /**PATH /home/b902fe5/public_html/wp-content/plugins/wp-content-crawler/app/views/dashboard/main.blade.php ENDPATH**/ ?>