{if $pos == -1} {/if} {if $pos == 1} {elseif $pos == -1} {else} {/if} {if !$pos} {elseif $pos == -1} {else} {/if}
{$lang.date_days.$current_day}, {$current_date}
 
{menubutton->image_sub id="m_prev" script="location.href='`$SELF`?`$query2`&m=`$prev_month`&y=`$prev_year`&sel_date=`$sel_date`'" icon="arrow-left"}
{menubutton->image_sub id="m_prev" script="location.href='`$SELF`?`$query2`&m=`$prev_month`&y=`$prev_year`&sel_date=`$sel_date`'" icon="arrow-left"}
{$lang.date_months.$month_index} {$year} 
{menubutton->image_sub id="m_next" script="location.href='`$SELF`?`$query2`&m=`$next_month`&y=`$next_year`&sel_date=`$sel_date`'" icon="arrow-right"}
{menubutton->image_sub id="m_next" script="location.href='`$SELF`?`$query2`&m=`$month`&y=`$year`&sel_date=`$sel_date`'" icon="arrow-right"}
{foreach item=space from=$start_spaces} {/foreach} {foreach key=idx item=cal from=$cals} {if $cal.week} {/if} {/foreach} {foreach name=lspace item=space from=$stop_spaces} {/foreach} {if $weeks < 5} {/if}
{$lang.date_days2.7} {$lang.date_days2.1} {$lang.date_days2.2} {$lang.date_days2.3} {$lang.date_days2.4} {$lang.date_days2.5} {$lang.date_days2.6} {$lang.date_days2.0}
{$num_week}  {$cal.str}
{$cal.week}