<div class="panel_subtabs">
	<div class="panel_content">
		<form method="post" action="{$form.action}"  enctype="multipart/form-data" name="taketour_form" id="taketour_form">
		{$form.hiddens}
		<table border="0" cellspacing="1" cellpadding="5" width="100%">
			<tr>
				<td class="main_content_text" align="left" colspan="2" style="padding-left:0px;"><input type="checkbox" name="status" value="1" {if $data.status}checked{/if} >&nbsp;-&nbsp;{$lang.taketour.status}&nbsp;
				</td>
				<td class="main_content_text" align="left" width="50%" >&nbsp;</td>
			</tr>
			<tr valign="top">
				<td align="left" width="17%" class="main_header_text">{$lang.taketour.file}:&nbsp;</td>
				<td class="main_content_text" align="left"><input type="file"  name="upload_file"></td>
				<td class="main_content_text" align="left" width="50%" >&nbsp;</td>
			</tr>
			<tr valign="top">
				<td align="left" width="17%" class="main_header_text">&nbsp;</td>
				<td class="main_content_text" align="left">{if $data.file_path}<img src="{$data.file_path}" border=1>{/if}</td>
				<td class="main_content_text" align="left" width="50%" >&nbsp;</td>
			</tr>
			<tr valign="top">
				<td align="left" width="17%" class="main_header_text">&nbsp;</td>
				<td class="main_content_text" align="left">						
				</td>
				<td class="main_content_text" align="left" width="50%" >&nbsp;</td>
			</tr>
			<tr valign="top">
				<td align="left" width="17%" class="main_header_text">{$lang.taketour.comment}:&nbsp;</td>
				<td class="main_content_text" align="left">
                                    <textarea name="comment" id="description" style="width:320px;height:25px;">{$data.comment}</textarea>
                                    <div id="bad_div_description" class="bad_div_left"></div>				
				</td>
				<td class="main_content_text" align="left" width="50%"  valign=bottom style="padding:5"></td>
			</tr>
			<tr valign="top">
				<td align="left" width="17%" class="main_header_text">{$lang.taketour.url}:&nbsp;</td>
				<td class="main_content_text" align="left">
                                    <input type="text" name="url" style="width:320px;height:25px;" value="{$data.url}">
                                    <div id="bad_div_description" class="bad_div_left"></div>				
				</td>
			</tr>
			<tr>
				<td align="left" width="17%" class="main_header_text">{$lang.settings.site_theme}:&nbsp;</td>
				<td class="main_content_text" align="left">
					<select name="theme">                        
						{foreach item=item from=$themes}
							<option value="{$item.name}" {if $item.sel eq 1}selected{/if}>{$item.title}</option>
						{/foreach}        
					 </select>
				</td>
				<td class="main_content_text" align="left" width="50%" >&nbsp;</td>
			</tr>
		</table>
		</form>
	</div>
</div>
<div style="float:left;width:100%;">
		<table width="100%">
			<tr height="40">
			{if $form.par eq "edit"}
				<td>
					<a class="admin_button_major" onclick="SaveBlock('show_block','taketour_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>
				<td>
					<a class="admin_button" style="float:right;" onclick="{literal}javascript: if(confirm({/literal}'{$form.confirm|escape:javascript}'{literal})){ShowBlock('show_block','{/literal}{$form.delete}{literal}')}{/literal}">{$lang.button.delete}<span>&nbsp;</span></a>
				</td>
			{else}
				<td>
					<a class="admin_button_major" onclick="SaveBlock('show_block','taketour_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>