<div style="position:relative;left:10px;width:1000px;">

﻿<h2>Seitenstruktur {if $form_data->name}- {$form_data->name}{/if}</h2>

<div id="adminLeftFloater"  style="width:980px;">
	<div title="Stammdaten" id="stammdaten">
	<div class="edit_icon_bar" style="width:550px;">
		{if $form_data->id}
		<a class="delete" href="./index.php?admin_modul=admin_structure&id={$form_data->id}&action=delete"><img class="edit_icon" src="{$THEME_DIR}/media/images/delete2.png" title="l&ouml;schen" /></a>&nbsp;&nbsp;&nbsp;
		<a href="./index.php?admin_modul=admin_structure&id={$form_data->id}&action=copy"><img class="edit_icon" src="{$THEME_DIR}/media/images/copy2.png" title="kopieren" /></a>&nbsp;&nbsp;&nbsp;
		<a href="./index.php?admin_modul=admin_structure"><img class="edit_icon" src="{$THEME_DIR}/media/images/new.png" title="neu" /></a>
		{/if}
	</div>
		<form class="edit" enctype="multipart/form-data" method="POST" action="./index.php?admin_modul=admin_structure&action=save_site">
			<input type="hidden" name="modul" value="admin_structure" />
			<input type="hidden" id="structure_id" name="id" value="{$form_data->id}" />
				<div class="edit_title">Stammdaten:</div>
				<div class="edit_element_2_5">
					<label>Bezeichnung</label>
					<input id="customerCreationFirstname" name="form_field[name]" value="{$form_data->name}" type="text" />
				</div>

				{foreach item=language from=$content_languages}
				{if $language->iso_639_1 != $system_configuration.default_system_language}
				<div class="edit_element_2_5 multilang_element lang_element_{$language->iso_639_1}" style="display:none;">
					<label>Bezeichnung ({$language->name})</label>
					{assign var="key" value="name_`$language->iso_639_1`"}
					<input id="customerCreationFirstname" name="form_field[name_{$language->iso_639_1}]" value="{$form_data->$key}" type="text" />
				</div>
				{/if}
				{/foreach}
				
				
				
				{if !$form_data->id}
				<div class="edit_element_2_5">
					<label>Bezeichnung 2</label>
					<input id="customerCreationFirstname" name="multi_create_name2" value="" type="text" />
				</div>
				{/if}
				<div class="edit_endline"></div>
				
				{if !$form_data->id}
				  	<div class="edit_element_2_5">
						<label>Bezeichnung 3</label>
						<input id="customerCreationFirstname" name="multi_create_name3" value="" type="text" />
					</div>
				  	<div class="edit_element_2_5">
						<label>Bezeichnung 4</label>
						<input id="customerCreationFirstname" name="multi_create_name4" value="" type="text" />
					</div>
					<div class="edit_endline"></div>
				  	<div class="edit_element_2_5">
						<label>Bezeichnung 5</label>
						<input id="customerCreationFirstname" name="multi_create_name5" value="" type="text" />
					</div>
				  	<div class="edit_element_2_5">
						<label>Bezeichnung 6</label>
						<input id="customerCreationFirstname" name="multi_create_name6" value="" type="text" />
					</div>
					<div class="edit_endline"></div>
				  	<div class="edit_element_2_5">
						<label>Bezeichnung 7</label>
						<input id="customerCreationFirstname" name="multi_create_name7" value="" type="text" />
					</div>
				  	<div class="edit_element_2_5">
						<label>Bezeichnung 8</label>
						<input id="customerCreationFirstname" name="multi_create_name8" value="" type="text" />
					</div>
					<div class="edit_endline"></div>
				  	<div class="edit_element_2_5">
						<label>Bezeichnung 9</label>
						<input id="customerCreationFirstname" name="multi_create_name9" value="" type="text" />
					</div>
				  	<div class="edit_element_2_5">
						<label>Bezeichnung 10</label>
						<input id="customerCreationFirstname" name="multi_create_name10" value="" type="text" />
					</div>
					<div class="edit_endline"></div>
				{/if}

			{if $form_data->id}
			
			<!-- structure logo upload -->
			<div style="width:322px;margin-left:9px;margin-right:9px;">
				<label>Warengruppenbild</label>
				{if $image}
					<img src="{$image}" />
					
					<p><a id="delete_image" href="./index.php?admin_modul=admin_structure&id={$form_data->id}&action=delete_image" >Bild L&ouml;schen</a></p>
				{else}
					<p>Sie haben noch kein Bild hochgeladen.</p>
					<input id="logo_upload_default" name="logo_image" type="file" />
				{/if}
			</div>
			<br />
			<div class="edit_element_3_5">
				<label for="">Alternativtext</label>
				<input type="text" name="form_field[image_alt_text]" id="image_alt_text" value="{$form_data->image_alt_text}" />
			</div>				
			<div class="edit_endline"></div>
			<!-- header upload -->
			<div style="width:322px;margin-left:9px;margin-right:9px;">
				<label>Headergrafik</label>
				{if $header_image}
					<img src="{$header_image}" width="200" />
					
					<p><a id="delete_header_image" href="./index.php?admin_modul=admin_structure&id={$form_data->id}&action=delete_header_image" >Bild L&ouml;schen</a></p>
				{else}
					<p>Sie haben noch kein Bild hochgeladen.</p>
					<input id="header_upload_default" name="header_image" type="file" />
				{/if}
			</div><br />
			<div class="edit_endline"></div>
			<div class="edit_element_2_5">
				<label>Header Link</label>
				<input id="header_image_link" name="form_field[header_image_link]" value="{$form_data->header_image_link}" type="text" />
			</div>
			<div class="edit_endline"></div>
			{/if}
			
			<div class="edit_element_3_5" style="height: 100px;">
					<label>Theme zuordnen</label>
					<select name="form_field[theme_id]">
					<option value="0">-</option>
					{foreach from=$shop_themes item=theme}
						<option value="{$theme->id}" {if $theme->id == $form_data->theme_id}selected="selected"{/if}>{$theme->name}</option>
					{/foreach}
					</select>
			</div>
                        <div style="clear:both;"></div>
				<div class="edit_element_1_1" style="height:80px;">
					<label>Zuordnung</label>
					<span>Hinweis: Sie können die Position durch Verschieben der Men&uuml;punkte mit der Maus &auml;ndern. Die &Auml;nderungen werden nach dem Abspeichern wirksam.</span>
					<br>
					<select id="select_parent_structure" name="form_field[parent_id]">
						<option value="0">[neues Men&uuml;]</option>
						{foreach item=structure from=$structure_tree}
						<option value="{$structure->id}" {if $form_data->parent_id == $structure->id}selected{/if}>{if $structure->path_name}{$structure->path_name}->{/if}{$structure->name}</option>
						{/foreach}
					</select>
				</div>
				<div class="edit_element_1_1" style="position:relative;height:auto;left:20px;">
					<ul id="sortable_menu_items" class="widget_container" style="text-align:left;width:200px;">
						{foreach item=structure from=$structure_tree}
							{if $form_data->parent_id == $structure->parent_id}
							<li class="{$structure->pos}">
								<input type="hidden" name="sort_item_id[]" value="{$structure->id}">
								<input type="hidden" name="sort_item_pos[]" value="{$structure->pos}">
								<div class="header" style="position:relative;background:{if $form_data->id == $structure->id}#ff0000;font-weight:bold;{else}#cccccc;{/if}text-align:left;padding-top:4px;padding-left:4px;margin-top:2px;">{$structure->name}</div>
							</li>
							{/if}
						{/foreach}
					</ul>
					
				</div>

				<div class="edit_endline"></div>
				<div class="edit_element_1_3">
					<label>Link &ouml;ffnen</label>
					<select name="form_field[link_target]">
						<option value="0">aktuelles Fenster</option>
						<option value="1" {if $form_data->link_target == 1}selected{/if}>neues Fenster</option>
					</select>
				</div>
				<div class="edit_element_1_3">
					<label>Typ</label>
					<select name="form_field[type]">
						<option value="0">Standard</option>
						<option value="1" {if $form_data->type == 1}selected{/if}>Verweis auf internen Link</option>
						<option value="2" {if $form_data->type == 2}selected{/if}>Verweis auf externen Link</option>
						<option value="3" {if $form_data->type == 3}selected{/if}>Kontaktformular</option>
						<option value="4" {if $form_data->type == 4}selected{/if}>Warenkorb</option>
						<option value="5" {if $form_data->type == 5}selected{/if}>Kundencenter</option>
						<option value="6" {if $form_data->type == 6}selected{/if}>Versandkostentabelle</option>
						<option value="7" {if $form_data->type == 7}selected{/if}>Kasse</option>
						<option value="8" {if $form_data->type == 8}selected{/if}>Detailsuche</option>
						<option value="9" {if $form_data->type == 9}selected{/if}>Kundenregistrierung</option>
						<option value="10" {if $form_data->type == 10}selected{/if}>Kundenlogin</option>
						<option value="11" {if $form_data->type == 11}selected{/if}>Artikel-Merkliste</option>
						<option value="12" {if $form_data->type == 12}selected{/if}>Sitemap</option>
						<option value="13" {if $form_data->type == 13}selected{/if}>Passwort vergessen</option>
						<option value="14" {if $form_data->type == 14}selected{/if}>Artikel-Merkliste</option>
						<option value="15" {if $form_data->type == 15}selected{/if}>Sitemap</option>
						<option value="16" {if $form_data->type == 16}selected{/if}>Seite weiterempfehlen</option>
						<option value="17" {if $form_data->type == 17}selected{/if}>Bestellung editieren</option>
						<option value="18" {if $form_data->type == 18}selected{/if}>Herstellerliste</option>
						<option value="19" {if $form_data->type == 19}selected{/if}>Anfahrt (Google Map)</option>
						<option value="20" {if $form_data->type == 20}selected{/if}>Liste der Shopbewertungen</option>
						<option value="21" {if $form_data->type == 21}selected{/if}>Shopbewertungformular</option>
						<option value="22" {if $form_data->type == 22}selected{/if}>Newsletterregistrierung</option>
						<option value="23" {if $form_data->type == 23}selected{/if}>News</option>
						<option value="24" {if $form_data->type == 24}selected{/if}>Seite weiterempfehlen</option>
                                                <option value="25" {if $form_data->type == 25}selected{/if}>Artikelliste nach Typen</option>
					</select>
				</div>
                                {if $form_data->type == 25}
                                <div class="edit_element_1_3">
					<label>Artikeltypen</label>
					<select name="form_field[item_type]">
						<option value="0">-</option>
                                                {foreach from=$item_types item=item_type}
						<option value="{$item_type->item_type_definition_id}" {if $form_data->item_type == $item_type->item_type_definition_id}selected{/if}>{$item_type->item_type_definition_name}</option>
                                                {/foreach}
					</select>
				</div>
                                {/if}
				<div class="edit_endline"></div>
				
				
			<div class="edit_title">Berechtigung:</div>
			<div class="edit_element_2_5">
					<label>Freigabe</label>
					<select name="form_field[active]">
						<option value="1">aktiv (alle)</option>
						<option value="0" {if $form_data->active == 0}selected{/if}>gesperrt</option>
                                                <option value="2" {if $form_data->active == 2}selected{/if}>Kundengruppenspezifisch</option>
					</select>
			</div>
                        {if $form_data->active == 2}
                           <div class="edit_element_1_3">
                                    <label>Kundengruppe (Freigabe)</label>
                                    <select name="form_field[customer_group]">
                                            <option value="0">-</option>
                                            {foreach from=$customer_groups item=customer_group}
                                            <option value="{$customer_group->id}" {if $form_data->customer_group == $customer_group->id}selected{/if}>{$customer_group->name}</option>
                                            {/foreach}
                                    </select>
                            </div>
                        {/if}
                        <div class="edit_element_2_5">
					<label>Sitemap anzeigen</label>
					<select name="form_field[sitemap_activ]">
						<option value="1">ja</option>
						<option value="0" {if $form_data->sitemap_activ == 0}selected{/if}>nein</option>
					</select>
			</div>
			<!--
			<div class="edit_element_3_5" style="height: 100px;">
					<label>Kundengruppe</label>
					<select name="form_field[group_id]" multiple>
					{foreach from=$customer_groups item=group}
						<option value="{$group->id}" {if $group->id == $form_data->group_id}selected="selected"{/if}>{$group->name}</option>
					{/foreach}
					</select>
			</div>-->			
			<div class="edit_endline"></div>
			
			{if $form_data->type == 1}
			<div class="edit_title">Interner Link:</div>
				<div class="edit_element_1_1">
					<label>Auf</label>
					<select name="form_field[link_reference]">
						<optionvalue="0">-</option>
						{foreach item=structure from=$structure_tree}
						<option value="{$structure->id}" {if $form_data->link_reference == $structure->id}selected="selected"{/if}>{if $structure->path_name}{$structure->path_name}->{/if}{$structure->name}</option>
						{/foreach}
					</select>
				</div>
			<div class="edit_endline"></div>
			{/if}
			
			<div class="edit_title">Suchmaschinenoptimierung (SEO):</div>
			<div id="container_extended_customerdata" class="toggleable_container">
				<div class="edit_element_2_5">
					<label for="">Kurz URL</label>
					<input type="text" name="form_field[short_uri]" id="short_uri" value="{$form_data->short_uri}" />
				</div>				
				<div class="edit_element_3_5">
					<label for="">Title</label>
					<input type="text" name="form_field[seo_title]" id="meta_title" value="{$form_data->seo_title}" />
				</div>				
				<div class="edit_endline"></div>
				<div class="edit_element_2_5">
					<label for="">Keywords</label>
					<input type="text" name="form_field[seo_keywords]" id="short_uri" value="{$form_data->seo_keywords}" />
				</div>				
				<div class="edit_element_3_5">
					<label for="">Description</label>
					<input type="text" name="form_field[seo_description]" id="meta_title" value="{$form_data->seo_description}" />
				</div>				
				<div class="edit_endline"></div>
			</div>
			
				<input style="position:relative;left:185px;width: 200px;" type="submit" value="Men&uuml; speichern" />
		</form>
	</div>
	{if $form_data->id && $form_data->type == 0}
	<div title="Konfiguration" id="config">
		<form id="save_layout_form" method="POST" action="./index.php?admin_modul=admin_structure&action=save_layout">
			<input type="hidden" name="id" value="{$form_data->id}" />
			
			<input type="checkbox" id="get_parent_site_configuration" name="get_parent_site_configuration" {if $form_data->get_parent_site_configuration}checked{/if} value="1">Seiten Konfiguration von &uuml;bergeordneter Gruppe &uuml;bernehmen
			<br>
			<ul id="sortable" class="widget_container" style="width:980px;">
				<li class="{$textbox_num}" title="textbox_num">
					<div class="content_box" style="height:950px;">
						<div class="header">
							<input type="checkbox" name="content_box_textbox" value="true" {if $textbox_activ == 1}checked="checked"{/if}/>
							<input type="hidden" id="textbox_id" name="textbox_id" value="{$textbox_id}" />
							<label for="content_box_textbox">Text Box</label><br />
						</div>
						
						<div class="body">
							<label for="content_box_textbox_body">Titel</label><br />
							<input type="text" name="content_box_textbox_title" style="width:445px;" value="{$textbox_title}">
                                                        <select name="content_box_textbox_title_style" style="width:90px;">
                                                            <option value="h1" {if $textbox_title_style == 'h1'}selected{/if}>Style &lt;h1&gt;</option>
                                                            <option value="h2" {if $textbox_title_style == 'h2'}selected{/if}>Style &lt;h2&gt;</option>
                                                            <option value="h3" {if $textbox_title_style == 'h3'}selected{/if}>Style &lt;h3&gt;</option>
                                                            <option value="h4" {if $textbox_title_style == 'h4'}selected{/if}>Style &lt;h4&gt;</option>
                                                            <option value="h5" {if $textbox_title_style == 'h5'}selected{/if}>Style &lt;h5&gt;</option>
                                                            <option value="h6" {if $textbox_title_style == 'h6'}selected{/if}>Style &lt;h6&gt;</option>
                                                        </select>
						</div>
						{foreach item=language from=$content_languages}
						{if $language->iso_639_1 != $system_configuration.default_system_language}
						<div class="body multilang_element lang_element_{$language->iso_639_1}" style="display:none;">
							<label for="content_box_textbox_body">Titel ({$language->name})</label><br />
							<input id="customerCreationFirstname" name="content_box_textbox_title_{$language->iso_639_1}" style="width:545px;" value="{$textbox_title_en}" type="text" />
						</div>
						{/if}
						{/foreach}
				
						<div class="body" style="height:600px;">
							<input type="hidden" class="order_number" name="textbox_num" value="{$textbox_num}" />
							
							<label for="content_box_textbox_body">Inhalt</label><br />
							<textarea name="content_box_textbox_body" {if $textbox_activ == 0}disabled="disabled"{/if} class="content_box_textbox" style="width:350px;">{$textbox_content}</textarea>
						</div>
						
						{foreach item=language from=$content_languages}
						{if $language->iso_639_1 != $system_configuration.default_system_language}
						<div class="body multilang_element lang_element_{$language->iso_639_1}" style="height:300px;display:none;">
							<label for="content_box_textbox_body">Inhalt ({$language->name})</label><br />
							<textarea name="content_box_textbox_body_{$language->iso_639_1}" {if $textbox_activ == 0}disabled="disabled"{/if} class="content_box_textbox" style="width:350px;">{$textbox_content_en}</textarea>
						</div>
						{/if}
						{/foreach}
	
						<div id="textbox_image_container">
							{if $textbox_configuration && $textbox_configuration.image_name}
								<div class="textbox_image_container" style="position:relative;background:#cecece;margin-top:10px;">
								   <a class="delete_textbox_image" image="{$textbox_configuration.image_name}" href="#" style="position:absolute;right:0px;top:0px;">Bild entfernen</a>
									<img class="textbox_image" style="width:150px;border:1px solid #000000;" src="{$SHOP_DIR}images/site/{$textbox_configuration.image_name}" />
									<input name="textbox_image_name" value="{$textbox_configuration.image_name}" type="hidden" />
									<div class="body">
										<label for="content_box_slider">Position</label><br />
										<select name="textbox_image_position">
											<option value="left" {if $textbox_configuration.image_position == 'left'}selected{/if}>links</option>
											<option value="right" {if $textbox_configuration.image_position == 'right'}selected{/if}>rechts</option>
										</select>
									</div>
									<div class="body">
										<label for="content_box_slider">Link</label><br />
										<input name="textbox_image_link" value="{$textbox_configuration.image_link}" type="text" />
									</div>
                                                                        <br>
								</div>
                          				{else}
								<div id="textbox_image_upload_container">
										Bild hinzuf&uuml;gen:<br />
										<input id="textbox_image_upload" name="textbox_image" type="file" />
								</div>
							{/if}
						</div>
					</div>
				</li>
				<li class="{$slider_num}" title="slider_num">
					<div class="content_box">
						<div class="header">
							<input type="checkbox" name="content_box_slider" value="true" {if $slider_activ == 1}checked="checked"{/if}/>
							<label for="content_box_slider">Slider</label><br />
						</div>
						<div class="body">
							<label for="content_box_textbox_body">Titel</label><br />
							<input type="text" name="content_box_slider_title" style="width:445px;" value="{$slider_title}">
                                                        <select name="content_box_slider_title_style" style="width:90px;">
                                                            <option value="h1" {if $slider_title_style == 'h1'}selected{/if}>Style &lt;h1&gt;</option>
                                                            <option value="h2" {if $slider_title_style == 'h2'}selected{/if}>Style &lt;h2&gt;</option>
                                                            <option value="h3" {if $slider_title_style == 'h3'}selected{/if}>Style &lt;h3&gt;</option>
                                                            <option value="h4" {if $slider_title_style == 'h4'}selected{/if}>Style &lt;h4&gt;</option>
                                                            <option value="h5" {if $slider_title_style == 'h5'}selected{/if}>Style &lt;h5&gt;</option>
                                                            <option value="h6" {if $slider_title_style == 'h6'}selected{/if}>Style &lt;h6&gt;</option>
                                                        </select>
						</div>
						{foreach item=language from=$content_languages}
						{if $language->iso_639_1 != $system_configuration.default_system_language}
						<div class="body multilang_element lang_element_{$language->iso_639_1}" style="display:none;">
							<label for="content_box_textbox_body">Titel ({$language->name})</label><br />
							<input id="customerCreationFirstname" name="content_box_slider_title_{$language->iso_639_1}" style="width:545px;" value="{$slider_title_en}" type="text" />
						</div>
						{/if}
						{/foreach}
						<div class="body">
							<input type="hidden" class="order_number" name="slider_num" value="{$slider_num}" />
							
							<select name="cat_id" {if $slider_activ == 0}disabled="disabled"{/if} class="content_box_slider" style="width:545px;">
							{*{foreach from=$item_cats item=cat}
								<option value="{$cat->id}" {if $cat->id == $slider_content}selected="selected"{/if}>{$cat->name}</option>
							{/foreach}*}
							{foreach item=structure from=$structure_tree}
							<option value="{$structure->id}" {if $slider_content == $structure->id}selected{/if}>{if $structure->path_name}{$structure->path_name}->{/if}{$structure->name}</option>
							{/foreach}
							</select>
							
						</div>
					</div>
				</li>
				<li class="{$article_list_num}" title="article_list_num">
					<div class="content_box">
						<div class="header">
							<input type="checkbox" name="content_box_article_list" value="true" {if $article_list_activ == 1}checked="checked"{/if} />
							<label for="content_box_article_list">Artikelliste</label><br />
						</div>
						<div class="body">
							<label for="content_box_acrticle_list_body">Titelstyle</label><br />
                                                        <select name="content_box_article_list_title_style" style="width:90px;">
                                                            <option value="h1" {if $article_list_title_style == 'h1'}selected{/if}>Style &lt;h1&gt;</option>
                                                            <option value="h2" {if $article_list_title_style == 'h2'}selected{/if}>Style &lt;h2&gt;</option>
                                                            <option value="h3" {if $article_list_title_style == 'h3'}selected{/if}>Style &lt;h3&gt;</option>
                                                            <option value="h4" {if $article_list_title_style == 'h4'}selected{/if}>Style &lt;h4&gt;</option>
                                                            <option value="h5" {if $article_list_title_style == 'h5'}selected{/if}>Style &lt;h5&gt;</option>
                                                            <option value="h6" {if $article_list_title_style == 'h6'}selected{/if}>Style &lt;h6&gt;</option>
                                                        </select>
						</div>
						<div calss="body">
							<input type="hidden" class="order_number" name="article_list_num" value="{$article_list_num}" />
							<input type="hidden" name="article_list_style" value="{$article_list_content}" />
							<br>					
							<div id="button_article_list_1" {if $article_list_content == '1'}class="active"{/if}></div>
							<div id="button_article_list_2" {if $article_list_content == '2'}class="active"{/if}></div>
							<div id="button_article_list_3" {if $article_list_content == '3'}class="active"{/if}></div>
							<div style="clear:left;"></div>
						</div>
					</div>
				</li>
				<li class="{$popular_num}" title="popular_num">
					<div class="content_box">
						<div class="header">
							<input type="checkbox" name="content_box_popular" value="true" {if $popular_activ == 1}checked="checked"{/if} />
							<label for="content_box_featured">Bestseller</label>
						</div>
						<div class="body">
							<select name="popular_cat_id" {if $popular_activ == 0}disabled="disabled"{/if} class="content_box_popular" style="width:545px;">
								<option value="" {if $slider_content == $structure->id}selected{/if}>Alle Artikel</option>
								{foreach item=structure from=$structure_tree}
								<option value="{$structure->id}" {if $popular_content == $structure->id}selected{/if}>{if $structure->path_name}{$structure->path_name}->{/if}{$structure->name}</option>
							{/foreach}
							</select>
						</div>
						<div class="body">
							<input type="hidden" class="order_number" name="popular_num" value="{$popular_num}" />
						</div>
					</div>
				</li>
				<li class="{$banner_num}" title="banner_num">
					<div class="content_box">
						<div class="header">
							<input type="checkbox" name="content_box_banner" value="true" {if $banner_activ == 1}checked="checked"{/if}/>
							<label for="content_box_banner">Banner</label>
						</div>
						
						<div class="body">
							<input type="hidden" class="order_number" name="banner_num" value="{$banner_num}" />
							<input type="hidden" id="banner_id" name="banner_id" value="{$banner_id}" />
							<div id="banner_upload_container">
								Neues Bannerbild hinzuf&uuml;gen:<br />
								<input id="file_upload" name="file_upload" type="file" />
							</div>
							
							<div id="banner_container">
							{if $banner_id}
								{foreach item=banner_image from=$banner_configuration.images}
								<div class="banner_container" style="position:relative;background:#cecece;margin-top:10px;height:100px;">
								   <a class="delete_banner" image="{$banner_image.image_name}" href="#" style="position:absolute;right:0px;top:0px;">Banner entfernen</a>
									<img class="banner_image" style="width:150px;border:1px solid #000000;" src="{$SHOP_DIR}images/site/{$banner_image.image_name}" />
									<div style="position:absolute;top:20px;left:200px;">
										Link: (z.B.: http://www.meine_domain.de)<br />
										<input name="banner_link[{$banner_image.image_name}]" value="{$banner_image.image_link}" class="content_box_banner" style="width:300px;"><br />
										<input type="checkbox" name="image_link_target[{$banner_image.image_name}]" value="1" {if $banner_image.image_link_target}checked{/if} />Link in neuem Fenster &ouml;ffnen:<br />
									</div>
								</div>
								{/foreach}
							{else}
							Bannerzuweisung erst nach dem Speichern m&ouml;glich!
							{/if}
							</div>
						</div>
					</div>
				</li>
				<li class="{$manufacturers_num}" title="manufacturers_num">
					<div class="content_box">
						<div class="header">
							<input type="checkbox" name="content_box_manufacturers" value="true" {if $manufacturers_activ == 1}checked="checked"{/if}/>
							<label for="content_box_manufacturers">Hersteller Cloud</label>
						</div>
						
						<div class="body">
							<input type="hidden" class="order_number" name="manufacturers_num" value="{$manufacturers_num}" />
						</div>
					</div>
				</li>
				
				<li class="{$substructure_num}" title="substructure_num">
					<div class="content_box">
						<div class="header">
							<input type="checkbox" name="content_box_substructure" value="true" {if $substructure_activ == 1}checked="checked"{/if} />
							<label for="content_box_featured">Warengruppen anzeigen</label>
						</div>
						<div class="body">
							<label for="content_box_substructure_body">Titel</label><br />
							<input type="text" name="content_box_substructure_title" style="width:445px;" value="{$substructure_title}">
                                                        <select name="content_box_substructure_title_style" style="width:90px;">
                                                            <option value="h1" {if $substructure_title_style == 'h1'}selected{/if}>Style &lt;h1&gt;</option>
                                                            <option value="h2" {if $substructure_title_style == 'h2'}selected{/if}>Style &lt;h2&gt;</option>
                                                            <option value="h3" {if $substructure_title_style == 'h3'}selected{/if}>Style &lt;h3&gt;</option>
                                                            <option value="h4" {if $substructure_title_style == 'h4'}selected{/if}>Style &lt;h4&gt;</option>
                                                            <option value="h5" {if $substructure_title_style == 'h5'}selected{/if}>Style &lt;h5&gt;</option>
                                                            <option value="h6" {if $substructure_title_style == 'h6'}selected{/if}>Style &lt;h6&gt;</option>
                                                        </select>
						</div>
						{foreach item=language from=$content_languages}
						{if $language->iso_639_1 != $system_configuration.default_system_language}
						<div class="body multilang_element lang_element_{$language->iso_639_1}" style="display:none;">
							<label for="content_box_textbox_body">Titel ({$language->name})</label><br />
							<input id="customerCreationFirstname" name="content_box_substructure_title_{$language->iso_639_1}" style="width:545px;" value="{$substructure_title_en}" type="text" />
						</div>
						{/if}
						{/foreach}
						<div class="body">
							<select name="substructure_cat_id" {if $substructure_activ == 0}disabled="disabled"{/if} class="content_box_substructure" style="width:545px;">
							{foreach item=structure from=$structure_tree}
							<option value="{$structure->id}" {if $substructure_configuration.cat_id == $structure->id}selected{/if}>{if $structure->path_name}{$structure->path_name}->{/if}{$structure->name}</option>
							{/foreach}
							</select>
						</div>
						<div class="body">
							<label for="content_box_substructure_body">Untergruppen-Ebenen anzeigen (2 f&uuml;r Unterebenen; sonst leer lassen)</label><br />
							<input type="text" name="substructure_ebenen" style="width:545px;" value="{$substructure_configuration.ebenen}">
						</div>
						<div class="body">
							<input type="hidden" class="order_number" name="substructure_num" value="{$substructure_num}" />
						</div>
					</div>
				</li>
				
			</ul>
		
			<br class="clear" />
			<input style="position:relative;left:185px;width: 200px;" type="submit" value="Layout speichern" />
		</form>
	</div>
	{/if}
	{if $article_list_activ == 1}
	<div title="Rabatte" id="discounts">
		<form id="save_discounts" name="discount" method="POST" action="./index.php?admin_modul=admin_structure&action=save_discount">
			<input type="hidden" id="s_id" name="id" value="{$form_data->id}" />
			<br /><br />
				<div id="pricesBigBox" style="padding:10px;background:#c0c0c0;">
				{if $form_data->parent_id}
				<input type="checkbox" {if $form_data->get_parent_discounts}checked{/if} name="form_field[get_parent_discounts]" value="1">Rabatte von &uuml;bergeordneter Gruppe &uuml;ernehmen
				{/if}	
					<table cellspacing="1" cellpadding="2" style="width:100%;">
						<tr style="background:#FFB651;font-weight:bold;height:60px;">
							<td colspan="2">
								<strong style="font-size:12px;">Kundengruppe w&auml;hlen, f&uuml;r die Rabatte gesetzt werden sollen.</strong><br />
								<select id="customerGroup" name="form_field[customerGroup]" size="1" style="width:400px;">
									{foreach item=customerGroup from=$customer_groups}
											<option value="{$customerGroup->id}" {if $customerGroup->id == 100}selected{/if}>{$customerGroup->name}</option>
									{/foreach}
								</select>
								<img id="pricesAjaxPreloader" src="/themes/admin/media/images/preloader_orange.gif" style="display:none;" />
							</td>
						</tr>
						<tr style="font-weight:bold;">
							<td style="background:#F2F5E6;text-align:center;">Hersteller</td>
							<td style="background:#F5F2E4;text-align:center;">Rabatt</td>
						</tr>
						{foreach from=$manufacturer_list item=manufacturer}
						<tr>
							<td style="background:#F5E9E6;text-align:center;width:50%;">{$manufacturer->name}</td>
							<td style="background:#F5E9E6;text-align:center;width:50%;">
								<input type="text" id="form_field_discount_{$manufacturer->id}" name="form_field[discount_{$manufacturer->id}]" value="{$manufacturer->discount}" style="text-align:right;">&nbsp;%
							</td>
						</tr>
						{/foreach}
						
					</table>
					<br />
				</div>
			
			<br class="clear" />
			<input style="position:relative;left:185px;width: 200px;" type="submit" value="Rabatte speichern" />
		</form>
	</div>
	{/if}
</div>
</div>
<script type="text/javascript" src="{$info->base_url}/themes/admin/media/js/admin_structure.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}