{process_pagedata}
{capture assign="kalbumeniu"}
    {menu template="lang" number_of_levels="1"}
{/capture}
{if $kalba != ''}
	{config_load file="../../tmp/languages/`$kalba`.conf" section = "strings" scope="global"}
{/if}

<!DOCTYPE html>
<html lang="{$kalba}">
<head>
  <meta charset="UTF-8"/>
	<title>{title} - {description assign="description"}{if $description}{$description}{else}{sitename}{/if}</title>
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<link rel="stylesheet" href="/css/style.css?9">



  <link rel="stylesheet" href="/css/cart.css">

	<meta property="og:title" content="{sitename}" />
	<meta property="og:url" content="{root_url}" />
	<meta property="og:image" content="{root_url}/images/share.jpg" />
	<meta property="og:description" content="{#aprasymas_facebook_share#}" />
	<meta property="fb:app_id" content="APP_ID" />

  {literal}
	<script>
		var currency = "{/literal}{#eur#}{literal}";
		var fancy_title = '{/literal}{#fancy_title#}{literal}';
	</script>
	{/literal}



    {literal}
    <script>
        var homepage = "{/literal}{if $titulinis}titulinis{else}vidinis{/if}{literal}";
    </script>
    {/literal}

	{metadata}
    {googleanalytics}
</head>

<body{if $vidinis} class="inner"{/if}>

    {$content_obj->mId|check_admin}
    {if $titulinis}
    {Titulinis kategorija="reklama" kalba=$kalba number=1}
    {/if}
    <div class="mobile-additional-content hide">

        <div class="mob-nav-top-line">
            <div class="adresas">
                <a href="tel:{#kontaktinis_telefonas#|replace:" ":""}"> 
                    <i class="fa fa-phone"></i>
                </a>
            </div>
            <div class="mail">
                <a href="mailto:{#kontaktinis_elpastas#}">
                    <i class="fa fa-envelope-o"></i>
                </a>
            </div>
            <div class="adresas">
                <a href="{#kontaktinis_zemelapis#}">
                    <i class="fa fa-map-marker"></i>
                </a>
            </div>
        </div>

        <div class="mob_search">
            <a href="#">
                <i class="fa fa-search"></i>
            </a>
        </div>

        <div class="langs-select">
            <select>
                {$kalbos_m}
            </select>
        </div>

    </div>

    <div id="page">

        <!--  HEADER START -->
        <div id="header">
            <div class="container fluid">
                <a href="{cms_selflink href=$kalba}" class="logo"></a>
                <div class="header-content">
                    <div class="header-elements">
                        <div>
                            {menu template="topmenu" start_element=$smarty.config.topmenu number_of_levels="2"}
                        </div>
                        <div>
                            <div class="font-changer">
                                <a href="javascript:void(0)" class="less">A-</a>
                                <a href="javascript:void(0)" class="more">A+</a>
                            </div>
                        </div>
                        <div>
                            <a href="{cms_selflink href=#sitemap_id#}" class="smpl">
                                <i class="fa fa-sitemap"></i>
                            </a>
                        </div>
                        <div class="search-place">
                            <a href="javascript:void(0);" class="search-toggler">
                                <i class="fa fa-search"></i>
                            </a>
                            {Search resultpage=#paieska_id#}
                        </div>
                        <div>
                            {$kalbos_d}
                        </div>
                    </div>
                    {menu template="mainmenu" start_element=$smarty.config.mainmenu number_of_levels="2"}

                    {if $top_par > 0}
                        {menu template="topmenu2" childrenof=$top_par number_of_levels="1"}
                    {/if}
                </div>
            </div>
        </div>
        <!--  HEADER END -->
