{* smarty *}
{************************************
@author : patrick francillon
@creation date : 2011-11-24
**************************************}
<!DOCTYPE html>
<html lang="{$Site->Language.code}">
    <head>
        <!-- page_1.tpl common -->
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <link href="/favicon.ico" rel="SHORTCUT ICON">
        <title>{$Page->title|strip_tags} ..::.. {$Site->site_title|strip_tags}</title>
        <meta name="description" content="{$Page->description|strip_tags}">
        <meta name="keywords" content="{$Page->keywords|strip_tags}">

        {foreach from=$Page->getCss() item=eltCss}
            <link rel="stylesheet" type="text/css" href="{$eltCss}" />
        {/foreach}
        <script type="text/javascript" src="/resources/js/pfold/modernizr.custom.79639.js"></script>
        <script>
            {$Site->getJSVar()}
        </script>
        {$Page->addElement('head')}
        <style>
            {$Page->style}
        </style>
    </head>
    <body>
        <div id="main" >
            <div >
                <div id="flash" class="{$Page->flash.class}">{$Page->flash.text}</div>
                {include file="file:$main"}
            </div>
        </div>

        <div id="cookie">{$widget->get('part','code=cookie:title=0')}<div id="close">X</div></div>
        {foreach from=$Page->getJs() item=eltJs}
            <script type="text/javascript" src="{$eltJs}"></script>
        {/foreach}
        {$Page->getInternalJs()}
    </body>
</html>