<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.MigrateXML}}</h1>
		<div class="tab" id="migrate-import">
		<form method="post" enctype="multipart/form-data" action="?p=migrate-xmlimport">
			<p class="help">{{$lang.help_import_XML}}</p>
			<fieldset>
				<select name="iStore">
					{{foreach from=$aStores item=sStore}}
						<option value="{{$sStore@key}}">{{$sStore}}</option>
					{{/foreach}}
				</select>
				<label>
					{{$lang.XML_File}} <em>{{$lang.XML_File_Description}}</em>
					<input type="file" name="xml" 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-xmlexport" />
			<select name="iStore">
				{{foreach from=$aStores item=sStore}}
					<option value="{{$sStore@key}}">{{$sStore}}</option>
				{{/foreach}}
			</select>
			<label><input type="checkbox" name="iZip" value="1" checked="checked" /> ZIP</label>
			<input type="submit" name="submit" value="{{$lang.XML_Export}}" class="submit" style="width: 200px;" />
		</form>
		</div>
	<div class="clear"></div>
</div>