HEX
Server: Apache
System: Linux darrell.nocdirect.com 4.18.0-513.18.2.el8_9.x86_64 #1 SMP Sat Mar 30 06:10:41 EDT 2024 x86_64
User: joderbya (1358)
PHP: 8.0.30
Disabled: NONE
Upload Files
File: /home/joderbya/matolamultimedia.com/modules/mod_s5_box/mod_s5_box.php
<?php /**
 * @title		Shape 5 Box Module
 * @version		1.0
 * @package		Joomla
 * @website		http://www.shape5.com
 * @copyright	Copyright (C) 2009 Shape 5 LLC. All rights reserved.
 * @license		GNU/GPL, see LICENSE.php
 * Joomla! is free software. This version may have been modified pursuant
 * to the GNU General Public License, and as distributed it includes or
 * is derivative of works licensed under the GNU General Public License or
 * other free or open source software licenses.
 * See COPYRIGHT.php for copyright notices and details.
 */
// no direct access
defined('_JEXEC') or die('Restricted access');
$url = JURI::root().'modules/mod_s5_box/';
print '<script type="text/javascript" src="'.$url.'js/s5_box_hide_div.js"></script>';
$s5_boxspeed = "";
$s5_boxeffect = $params->get('s5_boxeffect', '');
$s5_jsversion = $params->get('s5_jsversion', '');
$s5_boxspeed = $params->get('s5_boxspeed', '');
$s5_boxminwidth = $params->get('s5_boxminwidth', '');

if($s5_jsversion != "css") {
	$version = new JVersion();
	if($version->RELEASE >= '3.0') {
	  $s5_jsversion = "jquery";
	} else {
	  $s5_jsversion = "mootools";}
}	    

for($i=1;$i<13;$i++) {
  $k = 's5boxwidth'.$i;
  $v = (int)$params->get($k, '');

  $$k = $v.($v <= 100 ? '%' : 'px');
	if ($s5boxwidth11 == "0%") {
		$s5boxwidth11 = "25%";
	}
	if ($s5boxwidth12 == "0%") {
		$s5boxwidth12 = "40%";
	}
}



require (JModuleHelper::getLayoutPath('mod_s5_box'));