	<div style="position:relative;left:10px;width:1000px;">
<h2><a style="text-decoration:none;" href="./index.php?admin_modul=admin_object_list&object=Vendor">Lieferanten</a> {if $is_edit}-&gt; {$form_data->name}{else} -&gt; neu{/if}</h2>
<div id="adminLeftFloater" class="rsTabsContainer">
	<div id="base" class="rsTabsItem">
	
		<form id="admin_vendor_edit" class="{if $is_edit}edit{else}new{/if}" method="post" action="./index.php?admin_modul=admin_vendor_editor&action=save">
			
			<input type="hidden" name="form_field[id]" value="{$form_data->id}" />
			
			<div class="edit_title">Stammdaten:</div>
			
			{if $form_data->id}
			<div style="width:322px;margin-left:9px;margin-right:9px;">
				{if $logo}
					<img src="{$logo}" />
					
					<p><a id="delete_logo" href="./index.php?admin_modul=admin_vendor_editor&id={$form_data->id}&action=delete_logo" >Logo L&ouml;schen</a></p>
				{else}
					<p>Sie haben noch kein Logo hochgeladen. Folgende Dateiformate werden unterstützt: .jpeg .gif .png</p>
				{/if}
				
				<input id="header_upload" name="logo_image" type="file" />
			</div><br />
			{/if}
			
			<table style="width:100%; border-spacing:0; border-collapse:collapse;">
				<tr>
					<td style="width:60%; padding:2px;">
						<div class="edit_element_full">
							<div style="margin-bottom:2px;">Hersteller Name</div>
							<input id="vendorName" style="width:95%;" name="form_field[hersteller_name]" value="{$form_data->name}" type="text" />
						</div>
					</td>
					<td style="width:40%; padding:2px;">
						<div class="edit_element_full">
							<div style="margin-bottom:2px;">Marke Name</div>
							<input id="vendorBrandName" style="width:95%;" name="form_field[marke_name]" value="{$form_data->marke_name}" type="text" />
						</div>
					</td>
				</tr>
				<tr>
					<td style="padding:2px;">
						<div class="edit_element_full">
							<div style="margin-bottom:2px;">Straße</div>
							<input id="vendorStreet" style="width:95%;" name="form_field[strasse]" value="{$form_data->strasse}" type="text" />
						</div>
					</td>
					<td style="padding:2px;">
						<div class="edit_element_full">
							<div style="margin-bottom:2px;">Ort</div>
							<input id="vendorCity" style="width:95%;" name="form_field[ort]" value="{$form_data->ort}" type="text" />
						</div>
					</td>
				</tr>
				<tr>
					<td style="padding:2px;">
						<div class="edit_element_full">
							<div style="margin-bottom:2px;">PLZ</div>
							<input id="vendorPLZ" style="width:30%;" name="form_field[PLZ]" value="{$form_data->PLZ}" type="text" />
						</div>
					</td>
					<td style="padding:2px;">
						<div class="edit_element_full">
							<div style="margin-bottom:2px;">Land</div>
							<input id="vendorCountry" style="width:95%;" name="form_field[land]" value="{$form_data->land}" type="text" maxlength="2" />
						</div>
					</td>
				</tr>
				<tr>
					<td style="padding:2px;">
						<div class="edit_element_full">
							<div style="margin-bottom:2px;">E-Mail</div>
							<input id="vendorEmail" style="width:95%;" name="form_field[email]" value="{$form_data->email}" type="text" />
						</div>
					</td>
					<td style="padding:2px;">
						<div class="edit_element_full">
							<div style="margin-bottom:2px;">Homepage</div>
							<input id="vendorHomepage" style="width:95%;" name="form_field[homepage]" value="{$form_data->homepage}" type="text" />
						</div>
					</td>
				</tr>
			</table>

			<br style="clear:both;" /><br />
			
			<input style="width:200px;" type="submit" name="submit" id="submit" value="Speichern" />
			
		</form>
		
	</div>
	
</div>
</div>
<script src="{$info->base_url}/themes/admin/media/js/admin_vendor_editor.js"></script>

{if $info_message}<div class="info_message message">{$info_message}</div>{/if}
{if $warning_message}<div class="warning_message message">{$warning_message}</div>{/if}
{if $error_message}<div class="error_message message">{$error_message}</div>{/if} 