przy probie wrzucenia kodu Google analytics na stronę coś nagrzebałem i teraz mam problem.
Usunąłem wszystkie swoje zmiany ale nadal pojawia się błąd :
Parse error: syntax error, unexpected '=' in /home/iturystyka/ftp/main/templates/mice_1/index.php on line 90
nie mogę znaleźć przyczyny, proszę o pomoc.
przy okazji może wie ktoś jak sprawić by GA działało na php ?
kod wadliwego pliku :
<?php /** * @version $Id: index.php 11407 2009-01-09 17:23:42Z willebil $ * @package Joomla * @copyright Copyright (C) 2005 - 2009 Open Source Matters. 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. */ // Set flag that this is a parent file require_once ( JPATH_BASE .DS.'includes'.DS.'defines.php' ); require_once ( JPATH_BASE .DS.'includes'.DS.'framework.php' ); JDEBUG ? $_PROFILER->mark( 'afterLoad' ) : null; /** * CREATE THE APPLICATION * * NOTE : */ $mainframe =& JFactory::getApplication('site'); /** * INITIALISE THE APPLICATION * * NOTE : */ // set the language $mainframe->initialise(); JPluginHelper::importPlugin('system'); // trigger the onAfterInitialise events JDEBUG ? $_PROFILER->mark('afterInitialise') : null; $mainframe->triggerEvent('onAfterInitialise'); /** * ROUTE THE APPLICATION * * NOTE : */ $mainframe->route(); // authorization $Itemid = JRequest::getInt( 'Itemid'); $mainframe->authorize($Itemid); // trigger the onAfterRoute events JDEBUG ? $_PROFILER->mark('afterRoute') : null; $mainframe->triggerEvent('onAfterRoute'); /** * DISPATCH THE APPLICATION * * NOTE : */ $option = JRequest::getCmd('option'); $mainframe->dispatch($option); // trigger the onAfterDispatch events JDEBUG ? $_PROFILER->mark('afterDispatch') : null; $mainframe->triggerEvent('onAfterDispatch'); /** * RENDER THE APPLICATION * * NOTE : */ $mainframe->render(); // trigger the onAfterRender events JDEBUG ? $_PROFILER->mark('afterRender') : null; $mainframe->triggerEvent('onAfterRender'); /** * RETURN THE RESPONSE */ lowScriptAccess="always" loop="false" hspace="0" vspace="0"></embed> </object> </center> <table cellpadding="0" cellspacing="0" align="center"> <tr> <td width="1000" align="right"> <table cellpadding="0" cellspacing="0" align="right"> <tr> <td> <?php mosLoadModules ( 'user1' ); ?> </td> </tr> </table> </td> </tr> </table> <div style="position: absolute; width: 100%; top: 0px; left: 0px;"> <table cellpadding="0" cellspacing="0" width="980" border="0" align="center"> <tr> <td colspan="2" align="right" class="padd"> <?php mosLoadModules ( 'top' ); ?> </td> </tr> <tr> <td width="470"> <table cellpadding="0" cellspacing="0" width="100%" border="0" align="left"> <tr><td height="160"></td></tr> <tr><td valign="top" align="left"><?php mosLoadModules ( 'user2' ); ?></td></tr> </table> </td> <td valign="top" align="left" style="padding-top: 15px;"> <div style="overflow: auto; width: 510px; height: 370px; align: left;"> <?php mosMainBody(); ?> </div> </td> </tr> </table> </div> </body> </html>