b0y-101 Mini Shell


Current Path : E:/www/chiangmai/modules/mod_fbfanpage/
File Upload :
Current File : E:/www/chiangmai/modules/mod_fbfanpage/mod_fbfanpage.php

<?php	
/*------------------------------------------------------------------------	
# mod_fbfanpage - Facebook Fan Page for Joomla 3.x v6.0.3	
# ------------------------------------------------------------------------	
# author    GraphicAholic	
# copyright Copyright (C) 2017 GraphicAholic.com. All Rights Reserved.	
# @license - http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL	
# Websites: http://www.graphicaholic.com	
-------------------------------------------------------------------------*/	
// No direct access	
defined('_JEXEC') or die('Restricted access');	
defined('DS') or define('DS', DIRECTORY_SEPARATOR);	
JHtml::_('bootstrap.framework');	
// Import the file / foldersystem	
jimport('joomla.filesystem.file');	
jimport('joomla.filesystem.folder');	
$LiveSite 	= JURI::base();	
$modbase = JURI::base(true).'/modules/mod_fbfanpage/';	
$moduleID = $module->id;
$loadjQuery = $params->get('loadjQuery');	
$loadScripts = $params->get('loadScripts');			
$onClickAction = $params->get('onClickAction', '');	
$defaultView	= $params->get('defaultView');	
$displayMode	= $params->get('displayMode');	
$dateFormat	= $params->get('dateFormat');	
$titleWeight	= $params->get('titleWeight');	
$showcoverImage	= $params->get('showcoverImage');
$hideHeader	= $params->get('hideHeader');
$hideTabs	= $params->get('hideTabs');
$hideSorting	= $params->get('hideSorting');
$hideLikesComments	= $params->get('hideLikesComments');
$hideHeaderInfo	= $params->get('hideHeaderInfo');
$photosTab	= $params->get('photosTab');
$videoTab	= $params->get('videoTab');
$albumsTab	= $params->get('albumsTab');
$videoAPI	= $params->get('videoAPI');
$pageRefresh	= $params->get('pageRefresh');
//append javascript along with css files	
$document = JFactory::getDocument();	
$document->addStyleSheet( JURI::base() . 'modules/mod_fbfanpage/css/famax-pro.min.css', 'text/css');	
$document->addStyleSheet( JURI::base() . 'modules/mod_fbfanpage/css/magnific-popup.css', 'text/css');	
if($loadScripts == 1) {
$document->addScript(JURI::root().'modules/mod_fbfanpage/js/famax-pro.min.js');
$document->addScript(JURI::root().'modules/mod_fbfanpage/js/magnific-popup-full.js');	
}	
require JModuleHelper::getLayoutPath('mod_fbfanpage','default',$params);	
?>	

Copyright © 2019 by b0y-101