{#if $T.priveous > $T.year}
{#param name=pdate value=$T.priveous+'12'}
{#elseif $T.priveous == $T.year}
{#param name=pdate value=$T.priveous+($T.month.length <= 1 ? "0"+$T.month : $T.month)}
{#/if}
{#if $T.priveous < $T.year}{$T.priveous}
{#else}= $T.year}onclick="InitCalendar('{$P.pdate}')"{#/if}>{$T.priveous}
{#/if}
|
{#foreach $T.months as record}
= $T.year+($T.month.length = 1 ? "0"+$T.month : $T.month)} class="span1" onclick="InitCalendar('{$T.record}')" {#else} class="span2" {#/if}>{#cycle values=['1月','2月','3月','4月','5月','6月','7月','8月','9月','10月','11月','12月']}
|
{#/foreach}
{#if $T.next != ''}
{$T.next}
{#/if}
|