{foreach item=users key=mid from=$vusers} {foreach item=day from=$day_array.$mid} {if $day.day_of_month == 1} {/if} {/foreach} {foreach item=day from=$day_array.$mid} {/foreach} {if isset($school_regions)} {foreach item=region from=$school_regions.$mid} {foreach item=day from=$region.days} {if $day.display} {/if} {/foreach} {/foreach} {/if} {if isset($exhibitions)} {foreach item=exhibition from=$exhibitions.$mid} {foreach item=day from=$exhibition.days} {if $day.display} {/if} {/foreach} {/foreach} {/if} {foreach key=uid item=user from=$users} {foreach item=day from=$user.days} {if $day.display} {/if} {/foreach} {/foreach}
 {$day.month_name}
{$lang.global_name} {if $day.day_of_month < 10}0{/if}{$day.day_of_month}
{$region.name} {if $day.text}{$day.text}{else} {/if}
{$exhibition.name} {if $day.text}{$day.text}{else} {/if}
{$user.name} {if $day.text}{$day.text}{else} {/if}
{/foreach}