OwlCyberSecurity - MANAGER
Edit File: functions.php
<?php /** * @copyright Copyright (C) 2013 JoomlaTemplates.me - All Rights Reserved. **/ defined( '_JEXEC' ) or die( 'Restricted index access' ); if ($this->countModules("left") && $this->countModules("right")) {$compwidth="6";} else if ($this->countModules("left") && !$this->countModules("right")) { $compwidth="9";} else if (!$this->countModules("left") && $this->countModules("right")) { $compwidth="9";} else if (!$this->countModules("left") && !$this->countModules("right")) { $compwidth="12";} $user1_count = $this->countModules('user1'); if ($user1_count > 4) { $user1_width = $user1_count > 0 ? ' span_' . floor(12 / 4) : '';} else { $user1_width = $user1_count > 0 ? ' span_' . floor(12 / $user1_count) : '';} $user2_count = $this->countModules('user2'); if ($user2_count > 4) { $user2_width = $user2_count > 0 ? ' span_' . floor(12 / 4) : '';} else { $user2_width = $user2_count > 0 ? ' span_' . floor(12 / $user2_count) : '';} $user3_count = $this->countModules('user3'); if ($user3_count > 4) { $user3_width = $user3_count > 0 ? ' span_' . floor(12 / 4) : '';} else { $user3_width = $user3_count > 0 ? ' span_' . floor(12 / $user3_count) : '';} $user4_count = $this->countModules('user4'); if ($user4_count > 4) { $user4_width = $user4_count > 0 ? ' span_' . floor(12 / 4) : '';} else { $user4_width = $user4_count > 0 ? ' span_' . floor(12 / $user4_count) : '';} $user5_count = $this->countModules('user5'); if ($user5_count > 4) { $user5_width = $user5_count > 0 ? ' span_' . floor(12 / 4) : '';} else { $user5_width = $user5_count > 0 ? ' span_' . floor(12 / $user5_count) : '';} ?>