Spade
Mini Shell
PK�[�#o,,
index.htmlnu�[���<html><body
bgcolor="#FFFFFF"></body></html>PK�[���``mod_phocacart_compare.phpnu�[���<?php
/* @package Joomla
* @copyright Copyright (C) Open Source Matters. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
* @extension Phoca Extension
* @copyright Copyright (C) Jan Pavelka www.phoca.cz
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
*/
defined('_JEXEC') or die;// no direct access
if (!JComponentHelper::isEnabled('com_phocacart', true)) {
$app = JFactory::getApplication();
$app->enqueueMessage(JText::_('Phoca Cart Error'),
JText::_('Phoca Cart is not installed on your system'),
'error');
return;
}
JLoader::registerPrefix('Phocacart', JPATH_ADMINISTRATOR .
'/components/com_phocacart/libraries/phocacart');
/*
if (! class_exists('PhocacartLoader')) {
require_once(
JPATH_ADMINISTRATOR.'/components/com_phocacart/libraries/loader.php');
}
phocacartimport('phocacart.path.route');
phocacartimport('phocacart.render.renderjs');
phocacartimport('phocacart.compare.compare');
phocacartimport('phocacart.category.categorymultiple');*/
$lang = JFactory::getLanguage();
//$lang->load('com_phocacart.sys');
$lang->load('com_phocacart');
$media = PhocacartRenderMedia::getInstance('main');
$media->loadBase();
$media->loadBootstrap();
$media->loadSpec();
$s = PhocacartRenderStyle::getStyles();
$p['module_description'] = $params->get(
'module_description', '' );
$moduleclass_sfx =
htmlspecialchars($params->get('moduleclass_sfx'), ENT_COMPAT,
'UTF-8');
PhocacartRenderJs::renderAjaxRemoveFromCompare();
$compare = new PhocacartCompare();
require(JModuleHelper::getLayoutPath('mod_phocacart_compare',
$params->get('layout', 'default')));
?>
PK�[�1N9H H mod_phocacart_compare.xmlnu�[���<?xml
version="1.0" encoding="utf-8"?>
<extension type="module" client="site"
method="upgrade" version="3.9">
<name>mod_phocacart_compare</name>
<author>Jan Pavelka (www.phoca.cz)</author>
<creationDate>04/12/2021</creationDate>
<authorEmail></authorEmail>
<authorUrl>https://www.phoca.cz</authorUrl>
<copyright>Jan Pavelka</copyright>
<license>GNU/GPL</license>
<version>3.5.8</version>
<description>MOD_PHOCACART_COMPARE_DESCRIPTION</description>
<projectName>PhocaCartCompareModule</projectName>
<files>
<folder>tmpl</folder>
<filename
module="mod_phocacart_compare">index.html</filename>
<filename
module="mod_phocacart_compare">mod_phocacart_compare.php</filename>
</files>
<languages>
<language
tag="en-GB">language/en-GB/en-GB.mod_phocacart_compare.ini</language>
<language
tag="en-GB">language/en-GB/en-GB.mod_phocacart_compare.sys.ini</language>
</languages>
<config>
<fields name="params">
<fieldset name="basic">
<field name="module_description" type="editor"
buttons="true" hide="pagebreak,readmore"
class="inputbox"
label="MOD_PHOCACART_COMPARE_FIELD_MODULE_DESCRIPTION_LABEL"
filter="safehtml"
description="MOD_PHOCACART_COMPARE_FIELD_MODULE_DESCRIPTION_DESC"/>
</fieldset>
<fieldset name="advanced">
<field name="layout" type="modulelayout"
label="JFIELD_ALT_LAYOUT_LABEL"
description="JFIELD_ALT_MODULE_LAYOUT_DESC"/>
<field name="moduleclass_sfx" type="textarea"
label="COM_MODULES_FIELD_MODULECLASS_SFX_LABEL"
description="COM_MODULES_FIELD_MODULECLASS_SFX_DESC"
rows="3"/>
<field name="cache" type="list"
label="COM_MODULES_FIELD_CACHING_LABEL"
description="COM_MODULES_FIELD_CACHING_DESC"
default="1" filter="integer">
<option value="1">JGLOBAL_USE_GLOBAL</option>
<option
value="0">COM_MODULES_FIELD_VALUE_NOCACHING</option>
</field>
<field name="cache_time" type="number"
label="COM_MODULES_FIELD_CACHE_TIME_LABEL"
description="COM_MODULES_FIELD_CACHE_TIME_DESC"
default="900" filter="integer"/>
<field name="cachemode" type="hidden"
default="static">
<option value="static"/>
</field>
</fieldset>
</fields>
</config>
<updateservers>
<server type="extension"
name="MOD_PHOCACART_COMPARE"
priority="1"><![CDATA[https://raw.githubusercontent.com/PhocaCz/PhocaCartCompareModule/master/manifest.xml]]></server>
</updateservers>
</extension>
PK�[ Jc��tmpl/default.phpnu�[���<?php
/* @package Joomla
* @copyright Copyright (C) Open Source Matters. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
* @extension Phoca Extension
* @copyright Copyright (C) Jan Pavelka www.phoca.cz
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
*/
defined('_JEXEC') or die;
if ($p['module_description'] != '') {
echo '<div
class="ph-mod-desc">'.$p['module_description'].'</div>';
}
echo '<div id="phItemCompareBox"
class="ph-compare-module-box'.$moduleclass_sfx .'
phItemCompareBox">';
echo $compare->renderList();
echo '</div>';
echo '<div
id="phContainerModuleCompare"></div>';
// Get count of items, count can be displayed e.g. in case the list is
hidden
// Add it to DIV ID because it will be changed per AJAX
// $count = $compare->getComapareCountItems();
// echo '<div class="phItemCompareBoxCount"
id="phItemCompareBoxCount">'.
$compare->getComapareCountItems().'</div>';
?>
PK�[�#o,,tmpl/index.htmlnu�[���<html><body
bgcolor="#FFFFFF"></body></html>PK�[�#o,,
index.htmlnu�[���PK�[���``fmod_phocacart_compare.phpnu�[���PK�[�1N9H H mod_phocacart_compare.xmlnu�[���PK�[
Jc���tmpl/default.phpnu�[���PK�[�#o,,�tmpl/index.htmlnu�[���PK�