Sindbad~EG File Manager

Current Path : /var/www/ispania.gr/templates/rslibro/positions/
Upload File :
Current File : /var/www/ispania.gr/templates/rslibro/positions/footer-fluid.php

<?php
/**
 * @package RSLibro!
 * @copyright (C) 2016 www.rsjoomla.com
 * @license GPL, http://www.gnu.org/licenses/gpl-3.0.html
 */

defined('_JEXEC') or die;

$socialPosition = $this->params->get('socialPosition');

if ($this->countModules('footer-fluid-a or footer-fluid-b or footer-fluid-c') || $socialPosition == 'footer-fluid-a' || $socialPosition == 'footer-fluid-b' || $socialPosition == 'footer-fluid-c') {
	$span 		= 12;
	$modules	= 0;
	$logo		= 0;
	
	if ($this->countModules('footer-fluid-a')) $modules++;
	else if ($socialPosition == 'footer-fluid-a') $logo++;
	if ($this->countModules('footer-fluid-b')) $modules++;
	else if ($socialPosition == 'footer-fluid-b') $logo++;
	if ($this->countModules('footer-fluid-c')) $modules++;
	else if ($socialPosition == 'footer-fluid-c') $logo++;
	
	if ($modules > 0) $span = $span / ($modules + $logo);
?>

<!-- Start Footer Fluid -->
<section class="rstpl-footer-fluid-position">
	<div class="row-fluid">
		<div class="container">
		<?php if ($this->countModules('footer-fluid-a') || $socialPosition == 'footer-fluid-a') { ?>
			<!-- Start Footer Fluid A -->
			<div class="span<?php echo $span; ?>" data-rs="enter bottom, and ease-in-out 100px">
				<jdoc:include type="modules" name="footer-fluid-a" style="rsmodule"/>
				<?php if ($socialPosition == 'footer-fluid-a') {
					$template->widgets['social']->render();
				} ?>
			</div>
			<!-- End Footer Fluid A -->
		<?php } ?>
		<?php if ($this->countModules('footer-fluid-b') || $socialPosition == 'footer-fluid-b') { ?>
			<!-- Start Footer Fluid B -->
			<div class="span<?php echo $span; ?>" data-rs="wait 0.1s and then enter bottom, and ease-in-out 100px">
				<jdoc:include type="modules" name="footer-fluid-b" style="rsmodule"/>
				<?php if ($socialPosition == 'footer-fluid-b') {
					$template->widgets['social']->render();
				} ?>
			</div>
			<!-- Start Footer Fluid B -->
		<?php } ?>
		<?php if ($this->countModules('footer-fluid-c') || $socialPosition == 'footer-fluid-c') { ?>
			<!-- Start Footer Fluid C -->
			<div class="span<?php echo $span; ?>" data-rs="wait 0.2s and then enter bottom, and ease-in-out 100px">
				<jdoc:include type="modules" name="footer-fluid-c" style="rsmodule"/>
				<?php if ($socialPosition == 'footer-fluid-c') {
					$template->widgets['social']->render();
				} ?>
			</div>
			<!-- Start Footer Fluid C -->
		<?php } ?>
		</div>
	</div>
</section>
<!-- End Footer Fluid -->
<?php } ?>

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists