/** * @package Zo2Framework for Joomla! 2.5 * @author http://www.ZooTemplate.com * @copyright(C) 2010- ZooTemplate.com * @license PHP files are GNU/GPL **/ // no direct access defined( '_JEXEC' ) or die( 'Restricted access' ); if(! is_file(JPATH_BASE . DS . 'components' . DS . 'com_zo2framework' . DS . 'zo2framework.php')) { die(JTEXT::_('ZO2_TPL_SOURCE_NOT_FOUND')); } // require library require_once(JPATH_BASE . DS . 'components' . DS . 'com_zo2framework' . DS . 'zo2framework.php'); /* Declaration variable */ $prefix = $this->template . "_default_"; $menutype = 'mega'; /* Declaration object */ $function = new Zo2Functions($prefix, $this, $params); /* Check direction block*/ $vdirection = JRequest::getVar('direction'); $cdirection = $function->getCookie('direction'); $direction = $params->get('direction'); if($vdirection != NULL) { $direction = $vdirection; } else if($cdirection != NULL && $cdirection != FALSE) { $direction = $cdirection; } else { $direction = $direction; } $function->setCookie('direction', $direction); /* End direction block */ ?>
Notice: Undefined variable: function in /home/admgecon/www/templates/zo2_based/index.php on line 53

Fatal error: Call to a member function loadMediaFiles() on a non-object in /home/admgecon/www/templates/zo2_based/index.php on line 53