{section name=l loop=$sm_newsc}
<LI onClick="showObj({$smarty.section.l.index},0,'{$sm_newsc[l].id}')"><A 
  href="news.php?cid={$sm_newsc[l].id}">{$sm_newsc[l].name}</A> 
..................省略了一些代码问问 这个的作用:{$smarty.section.l.index}是什么?