<{strip}> <{include file="calendar_mobile_init_header.html"}>
<{$action.date_string}>

<{assign var="wday_array" value="|"|explode:$smarty.const.CALENDAR_WEEK}>
<{foreach name="week_header_loop" item="wday" from=$wday_array|smarty:nodefaults}> <{if $smarty.foreach.week_header_loop.iteration==1}> <{assign var="weekday_color" value="color:#c42626;"}> <{elseif $smarty.foreach.week_header_loop.iteration==7}> <{assign var="weekday_color" value="color:#005dbf;"}> <{else}> <{assign var="weekday_color" value=""}> <{/if}>
<{$wday}>
<{/foreach}>
<{section name=timestamp loop=$action.end_timestamp start=$action.start_timestamp step=86400}> <{assign var="timestamp" value=$smarty.section.timestamp.index}> <{assign var="date" value="Ymd"|date:$timestamp}> <{assign var="index" value="w"|date:$timestamp}> <{if $index==0 || $smarty.section.timestamp.index==$action.start_timestamp}>
<{/if}> <{if $smarty.section.timestamp.index==$action.start_timestamp}> <{section name=pre_blank_cell start=0 loop=$index}> <{if $index == 0}> <{assign var="ui_block_type" value="a"}> <{else}> <{assign var="ui_block_type" value="d"}> <{/if}>
<{/section}> <{/if}> <{if $index == 0}> <{assign var="ui_block_type" value="a"}> <{assign var="weekday_color" value="color:#c42626;"}> <{elseif $index == 6}> <{assign var="ui_block_type" value="e"}> <{assign var="weekday_color" value="color:#005dbf;"}> <{else}> <{assign var="ui_block_type" value="d"}> <{assign var="weekday_color" value=""}> <{/if}>
<{$lang.calendar_mobile_monthly_day|smarty:nodefaults|date:$timestamp}> <{if ($action.plan_data.$date) }> <{assign var="plan_data" value=$action.plan_data.$date}>
<{if ($plan_data.public > 0) }>
<{/if}> <{if ($plan_data.members > 0) }>
<{/if}> <{if ($plan_data.group > 0) }>
<{/if}> <{if ($plan_data.private > 0) }>
<{/if}>
<{/if}>
<{if $index==6}>
<{/if}> <{/section}> <{if $index<6}> <{/if}>

<{include file="calendar_mobile_init_footer.html"}> <{/strip}>