| Current Path : /home/juvelize/www/modules/mod_featured_youtube_slider/ |
| Current File : /home/juvelize/www/modules/mod_featured_youtube_slider/mod_featured_youtube_slider.php |
<?php
/**
* Featured Youtube Slider - Joomla Module
* Version : 2.3
* Created by : RBO - http://www.rumahbelanja.com
* Created on : Oct 2009 (Joomla 1.5.x), Dec 2010 (Joomla 1.6.x), Sept 30th, 2011 (For Joomla 1.7.x), August 27th, 2012 (For Joomla 2.5.x)
* Updated : March 9th, 2013 (For Joomla 3.0.x)
* Package : Joomla 3.0.x
* License : http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
*/
// no direct access
defined('_JEXEC') or die('Restricted access');
// get helper
require_once (dirname(__FILE__).'/helper.php');
$document =& JFactory::getDocument();
$baseurl = JURI::base();
$modulefield = ''.JURI::base(true).'/modules/mod_featured_youtube_slider/';
$youtubecode = $params->get( 'youtubecode' );
$width = $params->get( 'width', 250 );
$height = $params->get( 'height', 220 );
$fullsc_btn = $params->get( 'fullsc_btn' );
$player_border = $params->get( 'player_border' );
$player_clr1 = $params->get( 'player_clr1' );
$player_clr2 = $params->get( 'player_clr2' );
$height_thumbs = $params->get( 'height_thumbs', 60 );
$outer_color = $params->get( 'outer_color', '#000' );
$inner_color = $params->get( 'inner_color', '#fff' );
$pagination_color = $params->get( 'pagination_color', '#0f0f0f' );
$inner_padding = $params->get( 'inner_padding', 5 );
$num_vid = $params->get( 'num_vid');
$thumb_align = $params->get( 'thumb_align');
$document->addScript($modulefield.'library/contentslider.js');
$document->addStylesheet($modulefield.'css/style.css');
$list = modFeaturedYouTubeSliderHelper::getList($params);
require JModuleHelper::getLayoutPath('mod_featured_youtube_slider', $params->get('layout', 'default'));
?>