| Current Path : /var/www/modules/mod_top_extravote/ |
| Current File : /var/www/modules/mod_top_extravote/mod_top_extravote.php |
<?php
/*------------------------------------------------------------------------
# mod_top_extravote
# ------------------------------------------------------------------------
# author ecolora
# copyright Copyright (C) 2012 ecolora.com. All Rights Reserved.
# @license - http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
# Websites: http://www.ecolora.com
# Technical Support: Forum - http://www.ecolora.com/index.php/component/kunena/top-extravote
-------------------------------------------------------------------------*/
// no direct access
defined('_JEXEC') or die('Restricted access');
if (!defined('DS')) define('DS', DIRECTORY_SEPARATOR);
// Include the syndicate functions only once
require_once (dirname(__FILE__).DS.'helper.php');
$document = JFactory::getDocument();
/*$list = modTopExtravoteHelper::getList($params);*/
$modTopExtravoteHelper = new modTopExtravoteHelper();
$list = $modTopExtravoteHelper->getList($params);
require(JModuleHelper::getLayoutPath('mod_top_extravote'));