please heeelp

hello there



i have a big problem

i cant reach my website the error message is



Fatal error: Smarty error: [in index.tpl line 401]: syntax error: unrecognized tag ‘var’ (Smarty_Compiler.class.php, line 589) in /home/ekitchen/public_html/lib/templater/Smarty.class.php on line 1095



i ve restored the original index.tpl and still nothing

i thing everything started when i uploaded an html file from google webmasters

i also erased it .

please help me i dont know what to do



thanks in advance

hello again



i found it



i removed from my code this line:



{hook name=“index:footer”}{/hook}









the original index.tpl was this





{* $Id: index.tpl 11903 2011-02-24 09:18:16Z aelita $ *}




{strip}

{if $page_title}
{$page_title}
{else}
{foreach from=$breadcrumbs item=i name="bkt"}
{if !$smarty.foreach.bkt.first}{$i.title}{if !$smarty.foreach.bkt.last} :: {/if}{/if}
{/foreach}
{if !$skip_page_title}{if $breadcrumbs|count > 1} - {/if}{$location_data.page_title}{/if}
{/if}

{/strip}
{include file="meta.tpl"}

{include file="common_templates/styles.tpl" include_dropdown=true}
{include file="common_templates/scripts.tpl"}



{if "SKINS_PANEL"|defined}
{include file="demo_skin_selector.tpl"}
{/if}


{include file="common_templates/loading_box.tpl"}

{include file="main.tpl"}

{if "TRANSLATION_MODE"|defined}
{include file="common_templates/translate_box.tpl"}
{/if}
{if "CUSTOMIZATION_MODE"|defined}
{include file="common_templates/template_editor.tpl"}
{/if}
{if "CUSTOMIZATION_MODE"|defined || "TRANSLATION_MODE"|defined}
{include file="common_templates/design_mode_panel.tpl"}
{/if}


{hook name="index:footer"}{/hook}








and now it is like that

{* $Id: index.tpl 11903 2011-02-24 09:18:16Z aelita $ *}



{strip}

{if $page_title}
{$page_title}
{else}
{foreach from=$breadcrumbs item=i name="bkt"}
{if !$smarty.foreach.bkt.first}{$i.title}{if !$smarty.foreach.bkt.last} :: {/if}{/if}
{/foreach}
{if !$skip_page_title}{if $breadcrumbs|count > 1} - {/if}{$location_data.page_title}{/if}
{/if}

{/strip}
{include file="meta.tpl"}

{include file="common_templates/styles.tpl" include_dropdown=true}
{include file="common_templates/scripts.tpl"}



{if "SKINS_PANEL"|defined}
{include file="demo_skin_selector.tpl"}
{/if}


{include file="common_templates/loading_box.tpl"}

{include file="main.tpl"}

{if "TRANSLATION_MODE"|defined}
{include file="common_templates/translate_box.tpl"}
{/if}
{if "CUSTOMIZATION_MODE"|defined}
{include file="common_templates/template_editor.tpl"}
{/if}
{if "CUSTOMIZATION_MODE"|defined || "TRANSLATION_MODE"|defined}
{include file="common_templates/design_mode_panel.tpl"}
{/if}








i hope i didnt mess anything alse

i am just posting it in case somebody else needs it
for a permanent solution

Just clear your cache and you will be all set.



Just do your-admin-name.php?cc



Brandon