Sindbad~EG File Manager

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

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

<?php
    $class = ['kk-star-ratings', $class ?? null];

    if ($reference = (($reference ?? null) ?: null)) {
        $class[] = "kksr-{$reference}";
    }

    if ($align = (($align ?? null) ?: null)) {
        $class[] = "kksr-align-{$align}";
    }

    if ($valign = (($valign ?? null) ?: null)) {
        $class[] = "kksr-valign-{$valign}";
    }

    if ($readonly = (($readonly ?? null) ?: null)) {
        $class[] = 'kksr-disabled';
    }
?>

<div class="<?php echo implode(' ', array_filter(array_map('esc_attr', $class))); ?>"
    data-payload='<?php echo esc_attr(json_encode(array_map('esc_attr', $__payload), JSON_HEX_TAG | JSON_HEX_APOS | JSON_HEX_QUOT | JSON_HEX_AMP | JSON_UNESCAPED_UNICODE)); ?>'>
    <?php if (! $legendonly) { ?>
        <?php echo $__view('markup/stars.php'); ?>
    <?php } ?>
    <?php if (! $starsonly) { ?>
        <?php echo $__view('markup/legend.php'); ?>
    <?php } ?>
</div>

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