{include file="$gentemplates/$header_tpl"}
<div class="profile_general_table">
	<h2>{$lang.section.horoscope}</h2>
	
        {*if $form.err}<p class="error_msg">*&nbsp;{$form.err}</p>{/if*}
	
	{if $form.page == "main"}
		{section name=s loop=$signs}
			{if $smarty.section.s.index is div by 3}
			<div style="padding-{$default_right}:10px;display:table;width:100%;">
			{/if}
				<p class="float_left" style="width:65px;">
					<a href="{$signs[s].sign_link}">
						<img src="{$site_root}{$template_root}/horoicons/{$signs[s].sign}.gif" width="47px" height="47px" border="0" alt="">
					</a>
				</p>
				<p class="float_left text" style="width:165px;">
					<a href="{$signs[s].sign_link}" {if $signs[s].my_sign}class="link_active"{/if}><u>{$signs[s].sign_name}</u></a> 
					{if $signs[s].my_sign}<sup>{$lang.horoscope.your}</sup>{/if}
				</p>
			{if $smarty.section.s.index_next is div by 3}
			</div>
			{/if}
		{/section}
	{elseif $form.page == "view"}
		<div style="height: 2px; margin: 0px;">
			<img src="{$site_root}{$template_root}{$template_images_root}/empty.gif" height="2px" alt="">
		</div>
		<div class="content_active" style="height: 35px; margin: 0px;display:table;width:100%;">			
			<p class="float_left">
				<img src="{$site_root}{$template_root}/horoicons/{$sign_info.sign}_small.gif" width="24px" height="24px" alt="">
			</p>
			<p class="float_left text" style="padding-{$default_left}:4px;padding-top:7px;"><span class="float_left"><b>{$sign_info.sign_name}</b></span><span class="float_left">({$sign_info.sign_dates})</span></p>
			<p class="float_left" style="padding-{$default_left}:20px;padding-top:7px;">
				{if $form.back_link}
					<a href="{$form.back_link}">{$lang.horoscope.back_to_profile}</a>
				{else}
					<a href="{$form.horoscope_link}">{$lang.horoscope.back_to_list}</a>
				{/if}
			</p>
		</div>
		<div class="content" style="margin-top: 10px;">
			<h3 class="p-b5">{$lang.horoscope.weekly_scope}</h3>
			<p>
				{$sign_info.weekly_text}
				{$sign_info.weekly_horo_text}
				<br><a href="{$sign_info.weekly_horo_link}" target="blank">{$sign_info.weekly_horo_title}</a>
			</p>
		</div>
		<div class="content" style="margin-top: 10px;">
			<h3 class="p-b5">{$lang.horoscope.love_scope}</h3>
			<p>
				{$sign_info.love_text}
			</p>
		</div>
	{elseif $form.page == "match"}
	
	{/if}
</div>

{include file="$gentemplates/$footer_tpl"}