{loop $calendar $k $c}
{php echo date('d', strtotime($k))}
{if empty($c)} 选择 {else} [{$c['taskid']}]{$c['title']} {/if}
{/loop}