({$inc_ktai_header|smarty:nodefaults})
({$c_member.nickname})さんの週間カレンダー
({$y_disp})年({$m_disp})月
[i:76]予定登録

({if $msg}) ※({$msg})
({/if}) ({*BEGIN:container*}) ({if $calendar}) ({foreach from=$calendar item=item name=calendar}) ({/foreach})

({if $item.now}) ({/if}) ({if $item.day}) ({if $item.now}) ({$item.day}) (({$item.dayofweek})) ({elseif $item.dayofweek == "土"}) ({$item.day}) (({$item.dayofweek})) ({elseif $item.dayofweek == "日"}) ({$item.day}) (({$item.dayofweek})) ({else}) ({$item.day}) (({$item.dayofweek})) ({/if})
({* イベント *}) ({foreach from=$item.event item=item_event}) [i:155] ({$item_event.name|truncate:28:"-":true})
({/foreach}) ({* 誕生日 *}) ({foreach from=$item.birth item=item_birth}) [i:72]({$item_birth.nickname|truncate:28:"-":true})さん
({/foreach}) ({* スケジュール *}) ({foreach from=$item.schedule item=item_schedule}) [i:176] ({strip}) ({if $item_schedule.begin_time}) ({$item_schedule.begin_time|date_format:"%H:%M"}) ({/if}) ({if $item_schedule.begin_time || $item_schedule.finish_time}) - ({/if}) ({if $item_schedule.finish_time}) ({$item_schedule.finish_time|date_format:"%H:%M"}) ({/if}) ({/strip}) ({$item_schedule.title|truncate:14:"-":true})
({/foreach}) ({else}) ({/if})

({/if})
[i:128]前の週 [i:129]今週 [i:130]次の週

({*END:container*}) ({$inc_ktai_footer|smarty:nodefaults})