uawdijnntqw1x1x1
IP : 216.73.216.6
Hostname : ps-hcp-gr-004.pouyasazan.org
Kernel : Linux ps-hcp-gr-004.pouyasazan.org 5.14.0-611.55.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 15:19:29 EDT 2026 x86_64
Disable Function : exec,system,passthru,shell_exec,proc_open,proc_close,popen,pcntl_exec,dl,show_source
OS : Linux
PATH:
/
home
/
hsabaeej
/
public_html
/
3c2fc
/
..
/
modules
/
mod_maximenuck
/
elements
/
ckhikashopcategory.php
/
/
<?php /** * @copyright Copyright (C) 2011 Cedric KEIFLIN alias ced1870 * http://www.joomlack.fr * Module Maximenu CK * @license GNU/GPL * */ defined('JPATH_BASE') or die; jimport('joomla.filesystem.file'); jimport('joomla.form.formfield'); JFormHelper::loadFieldClass('cklist'); class JFormFieldCkhikashopcategory extends JFormFieldCklist { protected $type = 'ckhikashopcategory'; protected function getOptions() { // if the component is not installed if (!JFolder::exists(JPATH_ROOT . '/administrator/components/com_hikashop') OR !JFile::exists(JPATH_ROOT . '/modules/mod_maximenuck/helper_hikashop.php')) { // add the root item $option = new stdClass(); $option->text = JText::_('MOD_MAXIMENUCK_HIKASHOP_NOTFOUND'); $option->value = '0'; $options[] = $option; // Merge any additional options in the XML definition. $options = array_merge(parent::getOptions(), $options); return $options; } // get the categories form the helper $params = new JRegistry(); require_once JPATH_ROOT . '/modules/mod_maximenuck/helper_hikashop.php'; $cats = modMaximenuckhikashopHelper::getItems($params); // add the root item $option = new stdClass(); $option->text = JText::_('MOD_MAXIMENUCK_HIKASHOP_ROOTNODE'); $option->value = '0'; $options[] = $option; foreach ($cats as $cat) { $option = new stdClass(); $option->text = str_repeat(" - ", $cat->level - 1) . $cat->name; $option->value = $cat->id; $options[] = $option; } // Merge any additional options in the XML definition. $options = array_merge(parent::getOptions(), $options); return $options; } }
/home/hsabaeej/public_html/3c2fc/../modules/mod_maximenuck/elements/ckhikashopcategory.php