<section id="main" class="main contentText right dark fullscreen">

	<div class="content box contentText">

		<div class="tresc">
			<h1 class="title">{'maps_site'|translate}</h1>
			<div class="menuRight">
				{foreach from=$arrayTree item=itemLeft}
					<div class="link1-head"><a href="{$itemLeft->GetUrlWithType()}" >{$itemLeft->GetElementName()}</a></div>


					{if $itemLeft->GetHaveChildren()}
						{foreach from=$itemLeft->arrayChildren item=objElementSubChild name=childMenu key=keyChild}

							{assign var=urlSubChild value=$objElementSubChild->GetUrlWithType()}
							{*						{assign var=idParentSubChild value=$objElementSubChild->GetId()}*}

							<div class="link1"><a href="{$urlSubChild}" >{$objElementSubChild->GetElementName()}</a></div>

							{if $objElementSubChild->GetHaveChildren()} {*&& $active2 == $objElementSubChild->getId()*}
									{foreach from=$objElementSubChild->arrayChildren item=objElementSubSubChild name=childMenu key=keyChild}
										{assign var=urlSubSubChild value=$objElementSubSubChild->GetUrlWithType()}

										<div class="link2"><astyle href="{$urlSubSubChild}" >{$objElementSubSubChild->GetElementName()}</a></div>
											{if $objElementSubSubChild->GetHaveChildren()}
												{assign var=arraySubSubSub value=$objElementSubSubChild->arrayChildren}
												{section keyElement $arraySubSubSub}
												<div class="link3"><a  href="{$arraySubSubSub[keyElement]->GetUrlWithType()}" >{$arraySubSubSub[keyElement]->GetElementName()}</a></div>

											{/section}
										{/if}			
									{/foreach}
								{/if}			
								{/foreach}
									{/if}	

										{/foreach}


										</div>
									</div>
								</div>
							</div>
						</section>


