<div class="tabbed">
	<ul class="tab-headers">
		<li><a href="#migrate-import">{{$lang.Import}}</a></li>
		<li><a href="#migrate-export">{{$lang.Export}}</a></li>
	</ul>
	<h1>{{$lang.Migrate}}</h1>
	<div class="tab" id="migrate-import">
		<form method="post" enctype="multipart/form-data" action="?p=migrate-import">
			<p class="help">{{$lang.help_import_XLS}}</p>
			<fieldset>
				<select name="iStore">
					{{foreach from=$aStores item=sStore}}
						<option value="{{$sStore@key}}">{{$sStore}}</option>
					{{/foreach}}
				</select>
				<label>
					{{$lang.XLS_File}} <em>{{$lang.XLS_File_Description}}</em>
					<input type="file" name="xls_file" class="finput" />
				</label>
				<input type="submit" name="submit" value="{{$lang.Import_data}}" class="submit" />
			</fieldset>
		</form>
	</div>
	
	<div class="tab" id="migrate-export">
		<form action="" method="get">
			<input type="hidden" name="p" value="migrate-export" />
			<select name="iStore">
				{{foreach from=$aStores item=sStore}}
					<option value="{{$sStore@key}}">{{$sStore}}</option>
				{{/foreach}}
			</select>
			<input type="submit" name="submit" value="{{$lang.XLS_Export}}" class="submit" style="width: 200px;" />
		</form>
	</div>
	<div class="clear"></div>
</div>