{foreach item=logclassname name=logclassname from=$logclassname}
<li {if $smarty.foreach.logclassname.iteration % 2==0} style="color:#FF0000" {/if}>
<A href=log.php?classid={$logclassname.logclassid}>
{if $smarty.request.classid==$logclassname.logclassid}
<font color=red>{$logclassname.logclassname}</font>
{else}
{$logclassname.logclassname}
{/if}
</A>
</li>
{/foreach}
$smarty.request.classid