Sindbad~EG File Manager

Current Path : /home/julesbu/www/wp-content/plugins/kk-star-ratings/src/core/views/admin/
Upload File :
Current File : /home/julesbu/www/wp-content/plugins/kk-star-ratings/src/core/views/admin/index.php

<?php
if ( ! defined('KK_STAR_RATINGS')) {
    http_response_code(404);
    exit();
}

$upgrade_url = 'https://feedbackwp.com/upgrading-from-kk-star-ratings/?utm_source=wp_dashboard&utm_medium=upgrade&utm_campaign=kk-sidebar_upsell';
?>

<div class="wrap">
    <?php if ($globalErrors) {
        foreach ($globalErrors as $error) { ?>
            <div class="notice notice-error">
                <p><?php echo esc_html($error); ?></p>
            </div>
        <?php }
    } ?>

    <?php if ($processed) { ?>
        <div class="notice notice-success is-dismissible">
            <p><?php echo esc_html(__('Options saved.', 'kk-star-ratings')); ?></p>
        </div>
    <?php } ?>

    <h1>
        <?php echo esc_html($label); ?>
        <small style="
            color: gray;
            margin-left: .5rem;
            letter-spacing: -2px;
            font-family: monospace;">
            <?php echo esc_html($version); ?>
        </small>
        <small>
            by
            <a href="<?php echo esc_attr($authorUrl); ?>" target="_blank">
                <?php echo esc_html($author); ?>
            </a>
        </small>
    </h1>


    <div id="poststuff">
        <div id="post-body" class="metabox-holder columns-2">

            <div id="post-body-content">
                <h2 class="nav-tab-wrapper" style="    padding-bottom: 0;">
                    <?php foreach ($tabs as $tab => $tabMeta) { ?>
                        <a class="nav-tab <?php echo ($tabMeta['is_active'] ?? false) ? 'nav-tab-active' : ''; ?>"
                           style="position: relative; border-radius: 4px 4px 0 0; <?php echo ($tabMeta['is_disabled'] ?? false) ? 'opacity: 50%; pointer-events: none;' : ''; ?> <?php echo ($tabMeta['is_addon'] ?? false) ? (($tabMeta['is_active'] ?? false) ? 'background-color: auto; border-color: auto;' : 'background-color: #f6efc7; border-color: #ead2ae;') : ''; ?>"
                           href="<?php echo esc_url($tabMeta['link'] ?? add_query_arg(['page' => $_GET['page'] ?? '', 'tab' => $tab], admin_url('admin.php'))); ?>"
                            <?php ($tabMeta['is_disabled'] ?? false) ? 'onclick="return false;"' : ''; ?>>
                            <?php echo esc_html($tabMeta['name'] ?? 'Untitled'); ?>
                            <?php if ($tabMeta['is_addon'] ?? false) { ?>
                                <span style="position: absolute; z-index: 10; top: -9px; right: -9px; display: flex; align-items: center; justify-content: center; width: 21px; height: 21px; font-weight: 600; background-color: inherit; border-radius: 50%;">
                        &dollar;
                    </span>
                            <?php } ?>
                        </a>
                    <?php } ?>
                </h2>

                <form method="POST" style="margin: 2rem;">
                    <?php wp_nonce_field($nonce); ?>
                    <?php echo $content; ?>
                    <?php submit_button(); ?>
                </form>
            </div>

            <div id="postbox-container-1" class="postbox-container">

                <div class="meta-box-sortables">

                    <div class="postbox">
                        <h2><span>Upgrade to FeedbackWP Premium</span></h2>
                        <div class="inside">
                            <p>FeedbackWP is a better alternative and upgrade to kk Star Ratings. You can migrate easily without losing the rating of your posts. <a target="_blank" href="<?php echo $upgrade_url; ?>">Learn more</a></p>
                            <ul>
                                <li>Top Rated Posts widget</li>
                                <li>Collect feedback after rating</li>
                                <li>Social share after feedback</li>
                                <li>Insightful and actionable analytics</li>
                                <li>Custom rating icon</li>
                                <li>Advanced schema builder</li>
                                <li>Create custom rating widgets</li>
                            </ul>
                            <a href="https://feedbackwp.com/pricing/?utm_source=wp_dashboard&utm_medium=upgrade&utm_campaign=kk-sidebar_upsell" target="__blank" class="button-primary">Get FeedbackWP →</a>
                        </div>
                        <!-- .inside -->

                    </div>
                    <!-- .postbox -->

                </div>
            </div>
        </div>
        <br class="clear">
    </div>

</div>

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists