Spade

Mini Shell

Directory:~$ /home/lmsyaran/public_html/joomla4/
Upload File

[Home] [System Details] [Kill Me]
Current File:~$ /home/lmsyaran/public_html/joomla4/mod_hikamarket.tar

index.html000064400000000054151156540020006537 0ustar00<html><body
bgcolor="#FFFFFF"></body></html>mod_hikamarket.php000064400000003202151156540020010230
0ustar00<?php
/**
 * @package    HikaMarket for Joomla!
 * @version    3.1.1
 * @author     Obsidev S.A.R.L.
 * @copyright  (C) 2011-2020 OBSIDEV. All rights reserved.
 * @license    GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
 */
defined('_JEXEC') or die('Restricted access');
?><?php
if(!defined('DS'))
	define('DS', DIRECTORY_SEPARATOR);

if(!include_once(rtrim(JPATH_ADMINISTRATOR,DS).DS.'components'.DS.'com_hikamarket'.DS.'helpers'.DS.'helper.php')){
	echo 'This module can not work without the HikaMarket
Component';
	return;
}

$js = '';

$params->set('show_limit',0);
$params->set('from_module', $module->id);

hikamarket::initModule();
$config = hikamarket::config();
$shopConfig = hikamarket::config(false);

$moduleClass = hikamarket::get('shop.class.modules');
$moduleClass->loadParams($module);

$module_options = @$module->params['market'];
if(empty($module_options)) {
	$key_name = 'params_' . $module->id;
	$module_options = $config->get($key_name);
}
if(empty($module_options))
	$module_options = $config->get('default_params');
if(empty($module_options))
	return;

if(!in_array($module_options['content_type'],
array('vendor')))
	$module_options['content_type'] = 'vendor';

$type = $module_options['content_type'] . 'market';

foreach($module_options as $key => $option) {
	if($key != 'moduleclass_sfx')
		$params->set($key,$option);
}

foreach(get_object_vars($module) as $k => $v) {
	if(!is_object($v) && $params->get($k,null) == null)
		$params->set($k,$v);
}
$html = trim(hikamarket::getLayout($type, 'listing', $params,
$js));

require(JModuleHelper::getLayoutPath('mod_hikamarket'));
mod_hikamarket.xml000064400000002743151156540020010252 0ustar00<?xml
version="1.0" encoding="utf-8"?>
<extension type="module" version="2.5"
method="upgrade">
	<name>HikaMarket Module</name>
	<creationDate>20 juillet 2020</creationDate>
	<version>3.1.1</version>
	<author>Obsidev</author>
	<authorEmail>contact@obsidev.com</authorEmail>
	<authorUrl>http://www.hikashop.com</authorUrl>
	<copyright>(C) 2011-2020 OBSIDEV. All rights
reserved.</copyright>
	<license>http://www.gnu.org/licenses/gpl-2.0.html
GNU/GPL</license>
	<description>Content display for HikaMarket</description>
	<files>
		<filename
module="mod_hikamarket">mod_hikamarket.php</filename>
		<folder>tmpl</folder>
		<filename>index.html</filename>
	</files>
	<params addpath="/components/com_hikamarket/params">
		<param name="hikamarketmodule"
type="hikamarketmodule" default="module"
label="hikamarket" description="HikaMarket options"
/>
		<param name="moduleclass_sfx" type="text"
default="" label="Module Class Suffix"
description="PARAMMODULECLASSSUFFIX" />
	</params>
	<config>
		<fields name="params"
addfieldpath="/components/com_hikamarket/fields">
			<fieldset name="basic">
				<field name="moduleclass_sfx" type="text"
label="COM_MODULES_FIELD_MODULECLASS_SFX_LABEL"
description="COM_MODULES_FIELD_MODULECLASS_SFX_DESC" />
			</fieldset>
			<fieldset name="HikaMarket" label="Vendor
listing">
				<field id="hikamarketmodule" name="market"
multiple="true" type="hikamarketmodule"
label="HikaMarket options"/>
			</fieldset>
		</fields>
	</config>
</extension>
tmpl/default.php000064400000000752151156540020007660 0ustar00<?php
/**
 * @package    HikaMarket for Joomla!
 * @version    3.1.1
 * @author     Obsidev S.A.R.L.
 * @copyright  (C) 2011-2020 OBSIDEV. All rights reserved.
 * @license    GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
 */
defined('_JEXEC') or die('Restricted access');
?><?php
if(!empty($html)) {
?>
<div id="hikashop_module_<?php echo $module->id;?>"
class="hikamarket_module <?php echo
@$module->params['moduleclass_sfx']; ?>"><?php
	echo $html;
?></div>
<?php
}
tmpl/index.html000064400000000054151156540020007513
0ustar00<html><body
bgcolor="#FFFFFF"></body></html>