{include file="$gentemplates/$header_tpl"}
<div class="profile_general_table">
<div>
	<div style="display:table;width:100%;">	
		<h2 class="float_left">{$lang.section.success}</h2>
			<!-- AddThis Button BEGIN -->
		<div class="addthis_toolbox addthis_default_style float_right">
			<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>	
	{if $story}
		{if $links_top}
		<div style="display:table;width:100%;">		
			{include file="$gentemplates/pagination_top.tpl"}
		</div>
		{/if}
		
		<div class="success_story">
			{section name=s loop=$story}
			<h3 class="p-b5">{$story[s].story_title}</h3>
			<div style="width: 100%;">
				<p>
				{if $story[s].view_link_1}<a href="#" onclick="launchWindow('{$story[s].view_link_1}','',700,550); return false;">{/if}{if $story[s].thumb_path_1}<img src="{$story[s].thumb_path_1}" alt="{$story[s].couple_name}">{/if}{if $story[s].view_link_1}</a>{/if}
				{if $story[s].view_link_2}<a href="#" onclick="launchWindow('{$story[s].view_link_2}','',700,550); return false;">{/if}{if $story[s].thumb_path_2}<img src="{$story[s].thumb_path_2}" alt="{$story[s].couple_name}">{/if}{if $story[s].view_link_2}</a>{/if}
				{if $story[s].view_link_3}<a href="#" onclick="launchWindow('{$story[s].view_link_3}','',700,550); return false;">{/if}{if $story[s].thumb_path_3}<img src="{$story[s].thumb_path_3}" alt="{$story[s].couple_name}">{/if}{if $story[s].view_link_3}</a>{/if}
				</p>
				<p>{$story[s].description}</p>
				<p>{$story[s].couple_name}</p>
				<p class="text_hidden">{$story[s].story_date}</p>
				
			</div>
			<div class="clear:both"></div>
			{/section}
		</div>
				
		{include file="$gentemplates/pagination_bottom.tpl"}
	{else}
		<div style="padding-{$default_left}:15px;" class="error_msg">*&nbsp;{$lang.err.no_stories}</div>
	{/if}
 </div>									  	
{include file="$gentemplates/$footer_tpl"}