Your IP : 216.73.216.231


Current Path : /home/digilove/public_html/modules/mod_marketplacemenus/
Upload File :
Current File : /home/digilove/public_html/modules/mod_marketplacemenus/mod_marketplacemenus.php

<?php
/**
 * Marketplace Menus module
 *
 * PHP version 7.0
 *
 * @category   Module
 * @package    Joomla
 * @author     WebKul software private limited <support@webkul.com>
 * @copyright  2010 WebKul software private limited
 * @license    http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
 * @version    GIT:5.2
 * @filesource http://store.webkul.com
 * @link       Technical Support:  webkul.uvdesk.com
 */

// no direct access
defined('_JEXEC') or die();
if (!class_exists('MarketplaceHelper')) {
    include JPATH_ADMINISTRATOR.DIRECTORY_SEPARATOR.
    'components'.DIRECTORY_SEPARATOR.'com_marketplace'.
    DIRECTORY_SEPARATOR.'helpers'.DIRECTORY_SEPARATOR.'marketplace.php';
}
JLoader::register('ModMpMenuHelper', __DIR__ . '/helper.php');
$lang=JFactory::getLanguage();
$lang->load('com_marketplace', JPATH_SITE);
$fb_setting  = JComponentHelper::getParams('com_marketplace');
$appid = $fb_setting->get('appid');
$secretkey = $fb_setting->get('secretkey');
$show_myprofile = $params->get('show_myprofile');
$show_addproduct = $params->get('show_addproduct');
$show_products = $params->get('show_products');
$show_payments = $params->get('show_payments');
$show_dashboard = $params->get('show_dashboard');
$show_orderhistory = $params->get('show_orderhistory');
$show_orderlist = $params->get('show_orderlist');
$show_sellerlist = $params->get('show_sellerlist');
$show_profilepreview = $params->get('show_profilepreview');
$show_asktoadmin = $params->get('show_asktoadmin');
$showBecomeASeller = $params->get('showBecomeASeller');
$show_customer = $params->get('show_customer');
$show_gridview = $params->get('show_gridview');
$class_sfx = trim(htmlspecialchars($params->get('moduleclass_sfx')));
$user = JFactory::getUser();

require JModuleHelper::getLayoutPath('mod_marketplacemenus');