<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>{_cfg::$i->seo->name}</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <base href="{core::$i->url}/" />
    <meta name="keywords" content="{trim(str_replace("\"","'",page::$i->keywords))}" />
    <meta name="description" content="{trim(str_replace("\"","'",page::$i->description))}" />
    {if page::$i->css}{foreach from=page::$i->css item=HREF}
    {if $HREF}<link rel="stylesheet" type="text/css" href="{$HREF}" />
    {/if}
    {/foreach}{/if}
    {if page::$i->js}{foreach from=page::$i->js item=HREF}
    {if $HREF}<script type="text/javascript" src="{$HREF}"></script>
    {/if}
    {/foreach}{/if}

    {page::$i->head}
</head>
<body id="top">
<header{if core::$i->mode=='home'} class="HomeHeader"{/if}>
    <div class="col-xs-2 nopadding tal">
        <a href="index.html" class="Logo">{_cfg::$i->seo->name}</a>
    </div>
    <div class="col-xs-10 nopadding HeaderNavbarHandler tar">

        <div class="HeaderNavbarWrapper">
            {if user::$i->online}
                <a href="{core::$i->url}/logout"><i class="fa fa-sign-out"></i> {l('Wyloguj')}</a>
            {/if}
        </div>
    </div> 
    <div class="clear"></div>
</header>