{php}
$i=$i+1;
{/php}
{if $i%2 == 0}
<div class="post-left">
{else}
<div class="post-right">
{/if}
php+IF实现ZBlog Php 文章列表按ID样式变化
</div>