{include ../common/head.html} {include menu.html} {include year.html} {include empty_content.html}
{foreach $yeardetial $m $d}
  • {$m}{lang month}
  • {foreachelse} {lang no}{lang diary} {/foreach}
    {if $month && isset($yeardetial[$month])}
    {foreach $yeardetial[$month] $m $md} {eval $d=substr($md,0,-4);}
  • {$d}{lang day}
  • {foreachelse} {lang no}{lang diary} {/foreach}
    {/if} {if $diary_view}
    {lang datetime}:{$year}-{$month}-{$day}
    {lang edittime}:{eval echo date('Y-m-d H:i',$diary_view['edittime'])}
    {if G('userid')}
    {lang edit} {lang delete}
    {/if}
    {$diary_view['content']}
    {/if} {include ../common/foot.html}