File: /home/flexnetw/public_html/old/riseandshine/modules/mod_sr_currency/mod_sr_currency.php
<?php
/*------------------------------------------------------------------------
Solidres - Hotel booking extension for Joomla
------------------------------------------------------------------------
@Author Solidres Team
@Website http://www.solidres.com
@Copyright Copyright (C) 2013 - 2017 Solidres. All Rights Reserved.
@License GNU General Public License version 3, or later
------------------------------------------------------------------------*/
defined('_JEXEC') or die;
require_once __DIR__.'/helper.php';
$lang = JFactory::getLanguage();
JHtml::stylesheet('com_solidres/assets/main.min.css', false, true);
JLoader::import('joomla.application.component.model');
JModelLegacy::addIncludePath(JPATH_ADMINISTRATOR . '/components/com_solidres/models', 'SolidresModel');
$currencyModel = JModelLegacy::getInstance('Currencies', 'SolidresModel', array('ignore_request' => true));
$currencyModel->setState('list.start', 0);
$currencyModel->setState('list.limit', 0);
$currencyModel->setState('filter.state', 1);
$currencyModel->setState('list.ordering', 'u.currency_name');
$currencyList = $currencyModel->getItems();
$moduleclass_sfx = htmlspecialchars($params->get('moduleclass_sfx'));
$showCodeSymbol = $params->get('show_code_symbol', 0);
require JModuleHelper::getLayoutPath('mod_sr_currency', $params->get('layout', 'default'));