<div class="panel_subtabs">
	<div class="panel_content">
		<form method="POST" action="{$form.action}" name="story_form" id="story_form" enctype="multipart/form-data">
		{$form.hiddens}
		<table border="0" cellspacing="1" cellpadding=""5" width="100%">
			<tr>
				<td align="left" width="200px">{$lang.success.couple_name} <font class=main_error_text>*</font>:&nbsp;</td>
				<td align="left" colspan="2"><input type="text" name="couple_name" value="{$story.couple_name}" size=30 style="width: 195"></td>
			</tr>
			<tr>
				<td align="left">{$lang.success.image} # 1 <font class=main_error_text></font>:&nbsp;</td>
				<td align="left" width="110px" style="padding-top:5px;padding-bottom:5px;">{$story.image_path_1}</td>
				<td align="left">&nbsp;<input type="file" name="image_path_1">{if $story.image_1_delete_link}<br>
				&nbsp;<input type="checkbox" name="delimage1">&nbsp;{$lang.success.del_image}{/if}</td>
			</tr>
			<tr>
				<td align="left">{$lang.success.image} # 2 <font class=main_error_text></font>:&nbsp;</td>
				<td align="left" width="110px" style="padding-top:5px;padding-bottom:5px;">{$story.image_path_2}</td>
				<td align="left">&nbsp;<input type="file" name="image_path_2">{if $story.image_2_delete_link}<br>
				&nbsp;<input type="checkbox" name="delimage2">&nbsp;{$lang.success.del_image}{/if}</td>
			</tr>
			<tr>
				<td align="left">{$lang.success.image} # 3 <font class=main_error_text></font>:&nbsp;</td>
				<td align="left" width="110px" style="padding-top:5px;padding-bottom:5px;">{$story.image_path_3}</td>
				<td align="left">&nbsp;<input type="file" name="image_path_3">{if $story.image_3_delete_link}<br>
				&nbsp;<input type="checkbox" name="delimage3">&nbsp;{$lang.success.del_image}{/if}</td>
			</tr>
			<tr>
				<td align="left">{$lang.success.story_title} <font class=main_error_text>*</font>:&nbsp;</td>
				<td align="left" colspan="2"><input type="text" name="story_title" value="{$story.story_title}" size=30 style="width: 195"></td>
			</tr>
			<tr>
				<td align="left">{$lang.success.description}:&nbsp;</td>
				<td align="left" colspan="2"><textarea rows="10" cols="70" name="description">{$story.description}</textarea></td>
			</tr>
			<tr>
				<td align="left">{$lang.success.date}:&nbsp;</td>
				<td align="left" colspan="2">
		                        <select name="s_day" >
								{section name=d loop=$s_day}
									<option value="{$s_day[d].value}" {if $s_day[d].sel}selected{/if}>{$s_day[d].value}</option>
								{/section}
								</select>&nbsp;
		                        <select name="s_month" >
								{section name=m loop=$s_month}
									<option value="{$s_month[m].value}" {if $s_month[m].sel}selected{/if}>{$s_month[m].name}</option>
								{/section}
								</select>&nbsp;
		                        <select name="s_year" >
								{section name=y loop=$s_year}
									<option value="{$s_year[y].value}" {if $s_year[y].sel}selected{/if}>{$s_year[y].value}</option>
								{/section}
								</select>
				</td>
			</tr>
		</table>
		</form>
	</div>
</div>
<div style="float:left; width:100%;">
				<table>
					<tr height="40">
						{if $form.par eq 'edit'}
						<td>
							<a class="admin_button_major" onclick="SaveBlock('show_block','story_form'); return false;">{$lang.button.save}<span>&nbsp;</span></a>
							<a class="admin_button_cancel" onclick="ShowBlock('show_block','{$form.back}')">{$lang.button.vip_cancel}<span>&nbsp;</span></a>
						</td>
						{else}
						<td>
							<a class="admin_button_major" onclick="SaveBlock('show_block','story_form'); return false;">{$lang.button.add}<span>&nbsp;</span></a>
							<a class="admin_button_cancel" onclick="ShowBlock('show_block','{$form.back}')">{$lang.button.vip_cancel}<span>&nbsp;</span></a>
						</td>
						{/if}
					</tr>
				</table>
</div>
<script type="text/javascript">
	tab_link = '{$form.back}';
</script>