<li [field:global.autoindex runphp='yes'] if((@me % 2) == 0){ @me ='class="last"'; } else{ @me = ''; } [/field:global.autoindex]><a href="[field:global.cfg_basehost/][field:arcurl/]" target="_blank">[field:title/]</a><span>[field:pubdate function=MyDate('Y-m-d',@me)/]</span></li>