<div id="sitebody">

	<div id="header-wrapper">
		<div id="header">
			<div class="header-in">



				<div class="left">
					<div class="logo">
						<h1>
							<a href="index.php" title="{#desktop#}"><img src="./templates/standard/images/logo-b.png" alt="" /></a>
							<span class="title">{$settings.name}<span class="subtitle">/ {$settings.subtitle}</span></span>
						</h1>
					</div>

				</div> {*left End*}

				<div class="right">
					{if $loggedin == 1}
						<ul id="mainmenue">
							<li class="desktop"><a href="index.php"><span>{#desktop#}</span></a></li>

							{if $usergender == "f"}
							<li class="profil-female"><a href="manageuser.php?action=profile&amp;id={$userid}"><span>{#myaccount#}</span></a></li>
							{else}
							<li class="profil-male"><a href="manageuser.php?action=profile&amp;id={$userid}"><span>{#myaccount#}</span></a></li>
							{/if}

							 {if $userpermissions.admin.add}
							<li class="admin"><a href="admin.php?action=projects"><span>{#administration#}</span><span class="submenarrow"></span></a>
								<div class="submen">
									<ul>
										<li class="project-settings"><a class="{$classes.overview}" href="admin.php?action=projects"><span>{#projectadministration#}</span></a></li>
										<li class="user-settings"><a class="{$classes.users}" href="admin.php?action=users"><span>{#useradministration#}</span></a></li>
										<li class="system-settings"><a class="{$classes.system}" href="admin.php?action=system"><span>{#systemadministration#}</span></a></li>
							{section name = "sbutton" loop=$adminsubmenue}
							<li class="{$adminsubmenue[sbutton].class}"><a href="{$adminsubmenue[sbutton].href}"><span>{$adminsubmenue[sbutton].text}</span></a></li>aa
							{/section}
									</ul>
								</div>
							</li>
							{/if}
							<li class="logout"><a href="manageuser.php?action=logout"><span>{#logout#}</span></a></li>
							{section name = "button" loop=$mainmenue}
							<li class="{$mainmenue[button].class}"><a href="{$mainmenue[button].href}"><span>{$mainmenue[button].text}</span></a></li>aa
							{/section}
						</ul><!-- mainmenue end -->
					{/if}
				</div> <!-- Right End -->



			</div> <!-- Header-In End -->
		</div> <!-- Header End -->
	</div> <!-- Header-Wrapper End -->


	<div id="contentwrapper">

