uawdijnntqw1x1x1
IP : 216.73.216.84
Hostname : webm003.cluster107.gra.hosting.ovh.net
Kernel : Linux webm003.cluster107.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
OS : Linux
PATH:
/
home
/
opticamezl
/
www
/
newok
/
07d6c
/
..
/
c9989
/
..
/
cache
/
..
/
modules
/
mod_tags_popular
/
tmpl
/
cloud.php
/
/
<?php /** * @package Joomla.Site * @subpackage mod_tags_popular * * @copyright (C) 2013 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Language\Text; use Joomla\CMS\Router\Route; use Joomla\Component\Tags\Site\Helper\RouteHelper; $minsize = $params->get('minsize', 1); $maxsize = $params->get('maxsize', 2); ?> <div class="mod-tagspopular-cloud tagspopular tagscloud"> <?php if (!count($list)) : ?> <div class="alert alert-info"> <span class="icon-info-circle" aria-hidden="true"></span><span class="visually-hidden"><?php echo Text::_('INFO'); ?></span> <?php echo Text::_('MOD_TAGS_POPULAR_NO_ITEMS_FOUND'); ?> </div> <?php else : // Find maximum and minimum count $mincount = null; $maxcount = null; foreach ($list as $item) { if ($mincount === null || $mincount > $item->count) { $mincount = $item->count; } if ($maxcount === null || $maxcount < $item->count) { $maxcount = $item->count; } } $countdiff = $maxcount - $mincount; foreach ($list as $item) : if ($countdiff === 0) : $fontsize = $minsize; else : $fontsize = $minsize + (($maxsize - $minsize) / $countdiff) * ($item->count - $mincount); endif; ?> <span class="tag"> <a class="tag-name" style="font-size: <?php echo $fontsize . 'em'; ?>" href="<?php echo Route::_(RouteHelper::getComponentTagRoute($item->tag_id . ':' . $item->alias, $item->language)); ?>"> <?php echo htmlspecialchars($item->title, ENT_COMPAT, 'UTF-8'); ?></a> <?php if ($display_count) : ?> <span class="tag-count badge bg-info"><?php echo $item->count; ?></span> <?php endif; ?> </span> <?php endforeach; ?> <?php endif; ?> </div>
/home/opticamezl/www/newok/07d6c/../c9989/../cache/../modules/mod_tags_popular/tmpl/cloud.php