Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/www/wwwroot/px.h2o-china.com/www/2015_water/tpl/listout.html" on line 69 "&lt;li &lt;%if $index==7 %&gt;class=&quot;last&quot;" - Unexpected " %>"' in /www/wwwroot/px.h2o-china.com/lib/Smarty3/sysplugins/smarty_internal_templatecompilerbase.php:431 Stack trace: #0 /www/wwwroot/px.h2o-china.com/lib/Smarty3/sysplugins/smarty_internal_templateparser.php(2855): Smarty_Internal_TemplateCompilerBase->trigger_template_error() #1 /www/wwwroot/px.h2o-china.com/lib/Smarty3/sysplugins/smarty_internal_templateparser.php(2920): Smarty_Internal_Templateparser->yy_syntax_error(10, ' %>') #2 /www/wwwroot/px.h2o-china.com/lib/Smarty3/sysplugins/smarty_internal_smartytemplatecompiler.php(51): Smarty_Internal_Templateparser->doParse(10, ' %>') #3 /www/wwwroot/px.h2o-china.com/lib/Smarty3/sysplugins/smarty_internal_templatecompilerbase.php(82): Smarty_Internal_SmartyTemplateCompiler->doCompile('<!DOCTYPE html>...') #4 /www/wwwroot/px.h2o-chin in /www/wwwroot/px.h2o-china.com/lib/Smarty3/sysplugins/smarty_internal_templatecompilerbase.php on line 431