uawdijnntqw1x1x1
IP : 216.73.216.231
Hostname : 213-108-241-110.cprapid.com
Kernel : Linux 213-108-241-110.cprapid.com 5.14.0-570.25.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 9 04:57:09 EDT 2025 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
digilove
/
public_html
/
f7525
/
..
/
modules
/
mod_sj_vm_categories
/
tmpl
/
.
/
default_theme3.php
/
/
<?php /** * @package SJ Categories for VirtueMart * @version 2.2.0 * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL * @copyright (c) 2014 YouTech Company. All Rights Reserved. * @author YouTech Company http://www.smartaddons.com * */ defined('_JEXEC') or die; JHtml::stylesheet('modules/' . $module->module . '/assets/css/sj-categories.css'); ImageHelper::setDefault($params); $uniqued = 'sj_categories_' . rand() . time(); $options = $params->toObject(); $big_image_config = array( 'type' => $params->get('imgcfgcat_type'), 'width' => $params->get('imgcfgcat_width'), 'height' => $params->get('imgcfgcat_height'), 'quality' => 90, 'function' => ($params->get('imgcfgcat_function') == 'none') ? null : 'resize', 'function_mode' => ($params->get('imgcfgcat_function') == 'none') ? null : substr($params->get('imgcfgcat_function'), 7), 'transparency' => $params->get('imgcfgcat_transparency', 1) ? true : false, 'background' => $params->get('imgcfgcat_background')); ?> <div class="cat-wrap theme3"> <?php $j = 0; foreach ($list as $key => $items) { $j++; ?> <div class="content-box"> <?php $cat_img = VmCategoriesHelper::getVmCImage($items, $params, 'imgcfgcat'); if (($cat_img) && (strlen($cat_img['src']) != '')) { ?> <div class="image-cat"> <?php $caturl = JRoute::_('index.php?option=com_virtuemart&view=category&virtuemart_category_id=' . $items->virtuemart_category_id); ?> <a href="<?php echo $caturl; ?>" title="<?php echo $items->category_name; ?>" <?php echo VmCategoriesHelper::parseTarget($options->target); ?> > <img src="<?php echo VmCategoriesHelper::imageSrc($cat_img, $big_image_config); ?>" title="<?php echo $items->category_name; ?>" alt="<?php echo $items->category_name; ?>"/> </a> </div> <?php } ?> <?php if ((int)$params->get('cat_title_display', 1)) { ?> <div class="cat-title"> <?php $caturl = JRoute::_('index.php?option=com_virtuemart&view=category&virtuemart_category_id=' . $items->virtuemart_category_id); ?> <a href="<?php echo $items->category_name; ?>" title="<?php echo $items->category_name; ?> " <?php echo VmCategoriesHelper::parseTarget($options->target); ?> > <?php echo VmCategoriesHelper::truncate($items->category_name, (int)$params->get('cat_title_maxcharacs', 25)); ?> </a> </div> <?php } ?> <?php if ((int)$params->get('cat_sub_title_display', 1)) { ?> <div class="child-cat"> <?php if (!empty($items->child_cat)) { foreach ($items->child_cat as $key1 => $item) { ?> <div class="arrow"></div> <div class="child-cat-title"> <?php $caturl = JRoute::_('index.php?option=com_virtuemart&view=category&virtuemart_category_id=' . $item->virtuemart_category_id); ?> <a href="<?php echo $caturl; ?>" <?php echo VmCategoriesHelper::parseTarget($options->target); ?>> <?php echo VmCategoriesHelper::truncate($item->category_name, (int)$params->get('cat_sub_title_maxcharacs', 25)); ?><?php if ($params->get('cat_all_product') == 1) { echo ' (' . $item->number_product . ')'; } ?> </a> </div> <?php } } else { ?> <p> <?php echo JText::_('No sub-categories to show!'); ?> </p> <?php } ?> </div> <?php } ?> </div> <?php $clear = 'clr1'; if ($j % 2 == 0) $clear .= ' clr2'; if ($j % 3 == 0) $clear .= ' clr3'; if ($j % 4 == 0) $clear .= ' clr4'; if ($j % 5 == 0) $clear .= ' clr5'; if ($j % 6 == 0) $clear .= ' clr6'; ?> <div class="<?php echo $clear; ?>"></div> <?php } ?> </div>
/home/digilove/public_html/f7525/../modules/mod_sj_vm_categories/tmpl/./default_theme3.php