{include file="$gentemplates/$header_tpl"}
<h2 class="float_left">{$lang.section.blog}</h2>
<div class="float_right">
	<!-- AddThis Button BEGIN -->
	<div class="addthis_toolbox addthis_default_style">
	<a href="http://www.addthis.com/bookmark.php?v=250&amp;username=xa-4b69d5eb1f2c8cb0" class="addthis_button_compact">Share</a>
	<span class="addthis_separator">|</span>
	<a class="addthis_button_facebook"></a>
	<a class="addthis_button_myspace"></a>
	<a class="addthis_button_google"></a>
	<a class="addthis_button_twitter"></a>
	</div>
	<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#username=xa-4b69d5eb1f2c8cb0"></script>
	<!-- AddThis Button END -->
</div>
	
{include file="$gentemplates/blog_menu.tpl"}
<!-- Calendar menu -->
<div class="title_big_calendar">
	<a class="small-left-arr" href="{$page_path}?show_period=month&month={$selected_month.mon}&year={$selected_month.year}&move=back_month" title="{$lang.button.prev_mounth}">&nbsp;</A>
	{$selected_month.month},&nbsp;{$selected_month.year}
	<a class="small-right-arr" href="{$page_path}?show_period=month&month={$selected_month.mon}&year={$selected_month.year}&move=next_month" title="{$lang.button.next_mounth}">&nbsp;</A>
</div>
<!-- /Calendar menu -->
<table class="big_calendar">
	<tr class="white">
		<td>{$st.monday}</td>
		<td>{$st.tuesday}</td>
		<td>{$st.wednesday}</td>
		<td>{$st.thursday}</td>
		<td>{$st.friday}</td>
		<td>{$st.saturday}</td>
		<td>{$st.sunday}</td>
	</tr>
	{foreach from=$current_month item=week}
		<tr>
			<td {if $week.1.current_day == 'true'}class="current_day"{/if}>
				{if $week.1 == "false"}
					&nbsp;
				{else}
					<span>{$week.1.mday}</span><div style="padding-top:8px;">&nbsp;</div>
					{section loop=$week.1.blog name=b}
						<a href="{$week.1.blog[b].post_link}">
								{$week.1.blog[b].title}
						</a><br />
					{/section}
				{/if}
			</td>

			<td {if $week.2.current_day == 'true'}class="current_day"{/if}>
				{if $week.2 == "false"}
					&nbsp;
				{else}
					<span>{$week.2.mday}</span><div style="padding-top:8px;">&nbsp;</div>
					{section loop=$week.2.blog name=b}
						<a href="{$week.2.blog[b].post_link}">
								{$week.2.blog[b].title}
						</a><br />
					{/section}
				{/if}
			</td>
			<td {if $week.3.current_day == 'true'}class="current_day"{/if}>
				{if $week.3 == "false"}
					&nbsp;
				{else}
					<span>{$week.3.mday}</span><div style="padding-top:8px;">&nbsp;</div>
					{section loop=$week.3.blog name=b}
						<a href="{$week.3.blog[b].post_link}">
								{$week.3.blog[b].title}
						</a><br />
					{/section}
				{/if}
			</td>
			<td {if $week.4.current_day == 'true'}class="current_day"{/if}>
				{if $week.4 == "false"}
					&nbsp;
				{else}
					<span>{$week.4.mday}</span><div style="padding-top:8px;">&nbsp;</div>
					{section loop=$week.4.blog name=b}
						<a href="{$week.4.blog[b].post_link}">
								{$week.4.blog[b].title}
						</a><br />
					{/section}
				{/if}
			</td>
			<td {if $week.5.current_day == 'true'}class="current_day"{/if}>
				{if $week.5 == "false"}
					&nbsp;
				{else}
					<span>{$week.5.mday}</span><div style="padding-top:8px;">&nbsp;</div>
					{section loop=$week.5.blog name=b}
						<a href="{$week.5.blog[b].post_link}">
								{$week.5.blog[b].title}
						</a><br />
					{/section}
				{/if}
			</td>
			<td {if $week.6.current_day == 'true'}class="current_day"{/if}>
				{if $week.6 == "false"}
					&nbsp;
				{else}
					<span>{$week.6.mday}</span><div style="padding-top:8px;">&nbsp;</div>
					{section loop=$week.6.blog name=b}
						<a href="{$week.6.blog[b].post_link}">
								{$week.6.blog[b].title}
						</a><br />
					{/section}
				{/if}
			</td>
			<td {if $week.0.current_day == 'true'}class="current_day"{/if}>
				{if $week.0 == "false"}
					&nbsp;
				{else}
					<span>{$week.0.mday}</span><div style="padding-top:8px;">&nbsp;</div>
					{section loop=$week.0.blog name=b}
						<a href="{$week.0.blog[b].post_link}">
								{$week.0.blog[b].title}
						</a><br />
					{/section}
				{/if}
			</td>
		</tr>
	{/foreach}
</table>
{include file="$gentemplates/$footer_tpl"}