<!DOCTYPE html>

<html lang="de">

<head>
	<title>e a s y w a y -  p l a t f o r m 6.0</title>
	<meta charset="utf-8" />
	<meta http-equiv="cache-control" content="no-cache"/> 
	<link rel="stylesheet" type="text/css" media="screen,print" href="{$THEME_DIR}/media/css/main_layout.css?version=1" />
	<link rel="stylesheet" type="text/css" media="screen,print" href="{$THEME_DIR}/media/css/widget.css?version=1" />
	<link rel="stylesheet" type="text/css" href="{$THEME_DIR}/media/css/tables.css?version=1" />
	<link rel="stylesheet" type="text/css" href="{$THEME_DIR}/media/css/object_list.css?version=1" />
	<link rel="stylesheet" type="text/css" href="{$THEME_DIR}/media/css/forms.css?version=1" />
	<link rel="stylesheet" type="text/css" href="{$THEME_DIR}/media/css/new_forms.css?version=1" >
	<link rel="stylesheet" type="text/css" href="{$THEME_DIR}/media/css/rsTabs.css?version=1" />
	<link rel="stylesheet" type="text/css" href="{$THEME_DIR}/media/css/statistics.css?version=1" />
	<link rel="stylesheet" type="text/css" href="./media/css/redmond/jquery-ui-1.8.8.custom.css" />
	<link rel="stylesheet" type="text/css" href="./media/css/common_styles.css?version=1" />
	<link rel="stylesheet" type="text/css" href="{$THEME_DIR}/media/css/order_table.css?version=1" />
	<link rel="stylesheet" type="text/css" href="{$THEME_DIR}/media/css/easyway_shop_forms.css?version=1" />
	
	<!-- base javascript -->
	<script type="text/javascript" src="{$THEME_DIR}/media/js/jquery-1.6.3.min.js?version=1"></script>
	<script type="text/javascript" src="{$THEME_DIR}/media/js/jquery-ui-1.8.16.custom.min.js?version=1"></script>
	<script type="text/javascript" src="{$THEME_DIR}/media/js/easywayShopFunctions.js?version=1"></script>
	<script type="text/javascript" src="{$THEME_DIR}/media/js/flot/jquery.flot.js?version=1"></script>
	
	<!-- own widgets -->
	<script type="text/javascript" src="{$THEME_DIR}/media/js/bend.js?version=1"></script>
	<script type="text/javascript" src="{$THEME_DIR}/media/js/bend.windows.js?version=1"></script>
	<script type="text/javascript" src="{$THEME_DIR}/media/js/bend.dialogs.js?version=1"></script>
	
	<!-- third party plugins -->
	<link href="./libs/uploadify/uploadify.css" type="text/css" rel="stylesheet" />
	
	<script type="text/javascript" src="./libs/tinymce/jquery.tinymce.min.js?version=1"></script>
	<script type="text/javascript" src="./libs/uploadify/swfobject.js"></script>
	<script type="text/javascript" src="./libs/uploadify/jquery.uploadify.v2.1.4.min.js"></script>
	<script type="text/javascript" src="./libs/jsTree/_lib/jquery.cookie.js"></script>
	<script type="text/javascript" src="./libs/jsTree/jquery.jstree.js"></script>
	<script type="text/javascript" src="./libs/mustache.js"></script>
	
	<!-- easyshop widgets -->
	<script type="text/javascript" src="{$THEME_DIR}/media/js/rsTabs.js?version=1"></script>
	<script type="text/javascript" src="{$THEME_DIR}/media/js/jows.js?version=1"></script>
	<script type="text/javascript" src="{$THEME_DIR}/media/js/easyway_shop_make_modal.js?version=1"></script>
	<script type="text/javascript" src="{$THEME_DIR}/media/js/easyway_shop_hide_modal.js?version=1"></script>
	<script type="text/javascript" src="{$THEME_DIR}/media/js/easyway_shop_message_dialog.js?version=1"></script>
	<script type="text/javascript" src="{$THEME_DIR}/media/js/easyway_shop_options_dialog.js?version=1"></script>
	<script type="text/javascript" src="{$THEME_DIR}/media/js/easyway_shop_prompt_dialog.js?version=1"></script>
	
	<!-- easyshop itself -->
	<script type="text/javascript" src="{$THEME_DIR}/media/js/menu.js?version=1"></script>
	<script type="text/javascript" src="{$THEME_DIR}/media/js/search.js?version=2"></script>
	
</head>

<body>
	<div id="edit-form" title="Bearbeiten"></div>
	<div id="OverlayPixl"></div>
	<input id="global_live_search" type="text" value="{$translation_text.admin_interface.search}" />
	<div id="bodycontainer">

		<!-- Header -->
		<div id="header">
			<div id="logo"><a id="dashboard_link" href="./index.php?admin_modul=admin_dashboard"><img alt="Dashboard" src="{$THEME_DIR}/media/images/logo.png" /></a></div>
			<select name="new_action" id="new_action">
				<option value="">Neu..</option>
				<option value="admin_customer_editor">Neuer Kunde</option>
				<option value="admin_order_editor">Neue Bestellung</option>
				<option value="admin_item_editor">Neuer Artikel</option>
				<option value="admin_cs_ticket_editor">Neue E-Mail</option>
			</select>
			
			<select name="second_language" id="second_language" style="position:absolute;left:750px;top:20px;">
				<option value="">Zweitsprache..</option>
				{foreach item=language from=$content_languages}
				{if $language->iso_639_1 != $system_configuration.default_system_language}
				<option value="{$language->iso_639_1}">{$language->name}</option>
				{/if}
				{/foreach}
			</select>
			
			<div title="{$header_stats.new_customer} Neue Kunden" class="header_stat header_stat_customer {if $header_stats.new_customer > 0}header_stat_active{/if}"><span>{$header_stats.new_customer}</span></div>
			{*<div title="{$header_stats.new_email} Neue E-Mails"  class="header_stat header_stat_email {if $header_stats.new_email > 0}header_stat_active{/if}"><span>{$header_stats.new_email}</span></div>*}
			<div title="{$header_stats.new_order} Neue Bestellungen" class="header_stat header_stat_order {if $header_stats.new_order > 0}header_stat_active{/if}"><span>{$header_stats.new_order}</span></div>
			
			<div id="header_today">{$translation_text.admin_interface.weekday[$actual_date.weekday]} {$actual_date.date}</div>
			<div id="loggedin_user">
				<a id="loggedin_user_link" href="./index.php?admin_modul=admin_setting_editor" title="Benutzer Einstellungen">{$admin_user->firstname} {$admin_user->surname}</a>&nbsp;&nbsp;|&nbsp;&nbsp;
				<a id="logout_button" href="./index.php?logout=1" title="{$translation_text.admin_interface.logout}">{$translation_text.admin_interface.logout}</a>&nbsp;&nbsp;|&nbsp;&nbsp;
				<a id="logout_button" href="./index.php?admin_modul=admin_info" title="{$translation_text.admin_interface.info}">{$translation_text.admin_interface.info}</a>&nbsp;&nbsp;|&nbsp;&nbsp;
				<a id="logout_button" href="./index.php?admin_modul=admin_system_log" title="Systemlog">Systemlog</a>&nbsp;&nbsp;|&nbsp;&nbsp;
				<a id="logout_button" href="./index.php?admin_modul=admin_help_faq" title="{$translation_text.admin_interface.help}">{$translation_text.admin_interface.help}</a>
			</div>
		</div>

		<!-- Content -->
		<div id="contentContainer">
			<table border="0" width="100%" cellpadding="0" cellspacing="0">
				{if $smarty.get.admin_modul != 'admin2000'}
				<tr><td width="180" valign="top" style=background:#003D92;">

			<div id="accordion" style="width:176px;border:2px solid #003D92;border-left:4px solid #003d92;">
				<h3 style="padding-left:22px;height:25px;line-height:25px;">Stammdaten</h3>
				<div>
				{foreach name=MenuList item=menuItem from=$menudata.master_data}
				<a class="areaLinkItem" {if {$menuItem.image}}style="background-image:url({$THEME_DIR}/media/images/{$menuItem.image});"{/if} href="./index.php?admin_modul={$menuItem.modul}{$menuItem.param}&m_active=0">
					<span>{$menuItem.name}</span>
				</a>
				{/foreach}
				</div>

				<h3 style="padding-left:22px;height:25px;line-height:25px;">CMS</h3>
				<div>
				{foreach name=MenuList item=menuItem from=$menudata.cms}
				<a class="areaLinkItem" {if {$menuItem.image}}style="background-image:url({$THEME_DIR}/media/images/{$menuItem.image});"{/if} href="./index.php?admin_modul={$menuItem.modul}{$menuItem.param}&m_active=1">
					<span>{$menuItem.name}</span>
				</a>
				{/foreach}
				</div>
				
				<h3 style="padding-left:22px;height:25px;line-height:25px;">Inventar</h3>
				<div>
				{foreach name=MenuList item=menuItem from=$menudata.inventar}
				<a class="areaLinkItem" {if {$menuItem.image}}style="background-image:url({$THEME_DIR}/media/images/{$menuItem.image});"{/if} href="./index.php?admin_modul={$menuItem.modul}{$menuItem.param}&m_active=2">
					<span>{$menuItem.name}</span>
				</a>
				{/foreach}
				</div>
				
				<h3 style="padding-left:22px;height:25px;line-height:25px;">Shop</h3>
				<div>
				{foreach name=MenuList item=menuItem from=$menudata.shop}
				<a class="areaLinkItem" {if {$menuItem.image}}style="background-image:url({$THEME_DIR}/media/images/{$menuItem.image});"{/if} href="./index.php?admin_modul={$menuItem.modul}{$menuItem.param}&m_active=3">
					<span>{$menuItem.name}</span>
				</a>
				{/foreach}
				</div>

				<h3 style="padding-left:22px;height:25px;line-height:25px;">Office</h3>
				<div>
				{foreach name=MenuList item=menuItem from=$menudata.office}
				<a class="areaLinkItem" {if {$menuItem.image}}style="background-image:url({$THEME_DIR}/media/images/{$menuItem.image});"{/if} href="./index.php?admin_modul={$menuItem.modul}{$menuItem.param}&m_active=4">
					<span>{$menuItem.name}</span>
				</a>
				{/foreach}
				</div>

				<h3 style="padding-left:22px;height:25px;line-height:25px;">Marketing</h3>
				<div>
				{foreach name=MenuList item=menuItem from=$menudata.marketing}
				<a class="areaLinkItem" {if {$menuItem.image}}style="background-image:url({$THEME_DIR}/media/images/{$menuItem.image});"{/if} href="./index.php?admin_modul={$menuItem.modul}{$menuItem.param}&m_active=5">
					<span>{$menuItem.name}</span>
				</a>
				{/foreach}
				</div>

</div>



			</td>
			{/if}
			<td valign="top" style="background-color:#ffffff;{if $smarty.get.admin_modul != 'admin2000'}border:2px solid #003D92;border-right:4px solid #003D92;border-top:4px solid #003D92;{/if}">

			{$maincontent}
			</td></tr>
			<tr>
			<td colspan="2" width="180" valign="top" class="main_footer">
				&nbsp;
				<span class="footer_copy">Easyway Platform 6.1.2 - Copyright &copy; 2013 by TA-EDV</span>
			</td>
			</tr>
			</table>
		</div><!-- End Content -->
	</div>
	
	<script type="text/javascript">
	$(document).ready(function() {

			$( "#accordion" ).accordion({
				collapsible: true,
				active:{if $menu_active}{$menu_active}{else}0{/if}
			});

	});
	</script>
</body>

</html>