<?php

/* ::base.html.twig */
class __TwigTemplate_b4be33eb80640acab0f83fd3c53fe75e4c17fdbeea81a4d28cae8d47ba2d67d5 extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        $this->parent = false;

        $this->blocks = array(
            'css' => array($this, 'block_css'),
            'js' => array($this, 'block_js'),
            'javascripts' => array($this, 'block_javascripts'),
        );
    }

    protected function doDisplay(array $context, array $blocks = array())
    {
        $__internal_8733e45442a4afc8888da17bcf6de7c08b053029e9ebccaee945dddc2815d134 = $this->env->getExtension("native_profiler");
        $__internal_8733e45442a4afc8888da17bcf6de7c08b053029e9ebccaee945dddc2815d134->enter($__internal_8733e45442a4afc8888da17bcf6de7c08b053029e9ebccaee945dddc2815d134_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "::base.html.twig"));

        // line 1
        echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\"
\"http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd\">
<html xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"ru\" xml:lang=\"ru\" dir=\"ltr\">
    <head>
        <meta charset=\"UTF-8\" />
        ";
        // line 6
        $context["title"] = $this->renderBlock("title", $context, $blocks);
        // line 7
        echo "        ";
        $context["breadcrumbs2"] = $this->renderBlock("breadcrumbs", $context, $blocks);
        // line 8
        echo "        ";
        $context["body"] = $this->renderBlock("body", $context, $blocks);
        // line 9
        echo "        ";
        $context["is_main"] = ($this->getContext($context, "title") == "");
        // line 10
        echo "        ";
        $context["is_user_logged_in"] = $this->env->getExtension('neag_main_extension')->isUserLoggedIn();
        // line 11
        echo "        ";
        $context["width"] = $this->env->getExtension('neag_main_extension')->getWidth();
        // line 12
        echo "        ";
        $context["mobile_device_dialog"] = $this->env->getExtension('neag_main_extension')->mobileDeviceDialog();
        // line 13
        echo "        
        <title>";
        // line 14
        if ($this->getContext($context, "title")) {
            echo $this->getContext($context, "title");
            echo " | ";
        }
        echo "НЕ агентство</title>
        
        <link href=\"";
        // line 16
        echo twig_escape_filter($this->env, $this->env->getExtension('asset')->getAssetUrl("css/page.css"), "html", null, true);
        echo "\" rel=\"stylesheet\" type=\"text/css\" />
        <link href=\"";
        // line 17
        echo twig_escape_filter($this->env, $this->env->getExtension('asset')->getAssetUrl("css/global.css"), "html", null, true);
        echo "\" rel=\"stylesheet\" type=\"text/css\" />
        <link href=\"";
        // line 18
        echo twig_escape_filter($this->env, $this->env->getExtension('asset')->getAssetUrl("css/bbcode.css"), "html", null, true);
        echo "\" rel=\"stylesheet\" type=\"text/css\" />
        <link href=\"";
        // line 19
        echo twig_escape_filter($this->env, $this->env->getExtension('asset')->getAssetUrl("jquery-ui/css/ui-lightness/jquery-ui-1.10.3.custom.min.css"), "html", null, true);
        echo "\" rel=\"stylesheet\" type=\"text/css\" />        
        ";
        // line 20
        $this->displayBlock('css', $context, $blocks);
        // line 21
        echo "        
        <link rel=\"shortcut icon\" href=\"";
        // line 22
        echo twig_escape_filter($this->env, $this->env->getExtension('asset')->getAssetUrl("favicon.ico"), "html", null, true);
        echo "\" type=\"image/x-icon\" />
        <link rel=\"icon\" href=\"";
        // line 23
        echo twig_escape_filter($this->env, $this->env->getExtension('asset')->getAssetUrl("favicon.ico"), "html", null, true);
        echo "\" type=\"image/x-icon\" />
        
        <script src=\"";
        // line 25
        echo twig_escape_filter($this->env, $this->env->getExtension('asset')->getAssetUrl("jquery-ui/js/jquery-1.9.1.js"), "html", null, true);
        echo "\" type=\"text/javascript\"></script>
        <script src=\"";
        // line 26
        echo twig_escape_filter($this->env, $this->env->getExtension('asset')->getAssetUrl("jquery-ui/js/jquery-ui-1.10.3.custom.min.js"), "html", null, true);
        echo "\" type=\"text/javascript\"></script>        
        <script src=\"";
        // line 27
        echo twig_escape_filter($this->env, $this->env->getExtension('asset')->getAssetUrl("js/md5.js"), "html", null, true);
        echo "\" type=\"text/javascript\"></script>
        <script src=\"";
        // line 28
        echo twig_escape_filter($this->env, $this->env->getExtension('asset')->getAssetUrl("js/cookie.js"), "html", null, true);
        echo "\" type=\"text/javascript\"></script>
        <script src=\"";
        // line 29
        echo twig_escape_filter($this->env, $this->env->getExtension('asset')->getAssetUrl("js/functions.js"), "html", null, true);
        echo "\" type=\"text/javascript\"></script>
        <script src=\"";
        // line 30
        echo twig_escape_filter($this->env, $this->env->getExtension('asset')->getAssetUrl("js/swf_object.js"), "html", null, true);
        echo "\" type=\"text/javascript\"></script>        
        ";
        // line 31
        $this->displayBlock('js', $context, $blocks);
        // line 32
        echo "       
    </head>
    <body>
            
<div id=\"head\">
    <div id=\"logo2\"> 
        <a href=\"";
        // line 38
        echo $this->env->getExtension('routing')->getPath("main");
        echo "\" title=\"НЕ агентство\"><img src=\"";
        echo twig_escape_filter($this->env, $this->env->getExtension('asset')->getAssetUrl("images/logo.png"), "html", null, true);
        echo "\" width=\"220\" height=\"35\" alt=\"НЕ агентство\" /></a>
    </div>
    ";
        // line 40
        echo $this->env->getExtension('neag_main_extension')->menuTop();
        echo "
    ";
        // line 41
        echo $this->env->getExtension('neag_main_extension')->userBlock();
        echo "
</div> 

";
        // line 44
        if ($this->getContext($context, "is_main")) {
            // line 46
            echo "<div id=\"main\">
    ";
            // line 47
            echo $this->env->getExtension('neag_main_extension')->traceOutput();
            echo "
    ";
            // line 48
            echo $this->env->getExtension('neag_main_extension')->messagesOutput();
            echo "
    ";
            // line 49
            echo $this->getContext($context, "body");
            echo "
</div>
";
        } else {
            // line 53
            echo "<div id=\"main\">
    ";
            // line 54
            echo $this->env->getExtension('neag_main_extension')->traceOutput();
            echo "
    ";
            // line 55
            echo $this->env->getExtension('neag_main_extension')->messagesOutput();
            echo "
    ";
            // line 56
            echo $this->getContext($context, "body");
            echo "
</div>
";
        }
        // line 59
        echo "
<div id=\"middle\">

    ";
        // line 62
        if ($this->getContext($context, "title")) {
            echo " 
    <div id=\"content-title\">";
            // line 63
            echo $this->getContext($context, "title");
            echo "</div>
    ";
        }
        // line 65
        echo "            
    
    <div id=\"content\">
    
        ";
        // line 69
        echo $this->getContext($context, "mobile_device_dialog");
        echo "

        
        ";
        // line 72
        echo $this->env->getExtension('neag_main_extension')->traceOutput();
        echo "
        ";
        // line 73
        echo $this->env->getExtension('neag_main_extension')->messagesOutput();
        echo "
        ";
        // line 74
        if ($this->getContext($context, "breadcrumbs2")) {
            // line 75
            echo "        <div class=\"breadcrumbs\">
            ";
            // line 76
            echo $this->getContext($context, "breadcrumbs2");
            echo "
        </div>
        ";
        }
        // line 79
        echo "        ";
        echo $this->getContext($context, "body");
        echo "        
        
    </div> 
    
</div>           
            

<div id=\"footer\">
    <div id=\"counters\">
    <noindex>
    ";
        // line 89
        echo $this->env->getExtension('neag_main_extension')->getConfigVar("counters");
        echo "
    </noindex>
    </div>
    ";
        // line 92
        echo $this->env->getExtension('neag_main_extension')->getConfigVar("footer");
        echo "
</div>

<script type=\"text/javascript\">

\$(document).ready(function(){
    window_width = \$(document).width();
    
    // Ширина окна
    document_width = \$(document).width();
    window_width = \$(window).width();
    \$.cookie('width', window_width, { path: '/', expires: 31 });
    
});
\$(window).resize(function(){
});
</script>
      
        ";
        // line 110
        $this->displayBlock('javascripts', $context, $blocks);
        // line 111
        echo "    </body>
</html>

";
        
        $__internal_8733e45442a4afc8888da17bcf6de7c08b053029e9ebccaee945dddc2815d134->leave($__internal_8733e45442a4afc8888da17bcf6de7c08b053029e9ebccaee945dddc2815d134_prof);

    }

    // line 20
    public function block_css($context, array $blocks = array())
    {
        $__internal_c29c0260a5cb20faf62e72c63a712e713fe239ca7a2ed247928bff5b791a2713 = $this->env->getExtension("native_profiler");
        $__internal_c29c0260a5cb20faf62e72c63a712e713fe239ca7a2ed247928bff5b791a2713->enter($__internal_c29c0260a5cb20faf62e72c63a712e713fe239ca7a2ed247928bff5b791a2713_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "css"));

        
        $__internal_c29c0260a5cb20faf62e72c63a712e713fe239ca7a2ed247928bff5b791a2713->leave($__internal_c29c0260a5cb20faf62e72c63a712e713fe239ca7a2ed247928bff5b791a2713_prof);

    }

    // line 31
    public function block_js($context, array $blocks = array())
    {
        $__internal_b14fc4bc6e8af9f3f4ba4e49d07b3b76d62d92b0ac6990a8dc12b31fa6268e22 = $this->env->getExtension("native_profiler");
        $__internal_b14fc4bc6e8af9f3f4ba4e49d07b3b76d62d92b0ac6990a8dc12b31fa6268e22->enter($__internal_b14fc4bc6e8af9f3f4ba4e49d07b3b76d62d92b0ac6990a8dc12b31fa6268e22_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "js"));

        
        $__internal_b14fc4bc6e8af9f3f4ba4e49d07b3b76d62d92b0ac6990a8dc12b31fa6268e22->leave($__internal_b14fc4bc6e8af9f3f4ba4e49d07b3b76d62d92b0ac6990a8dc12b31fa6268e22_prof);

    }

    // line 110
    public function block_javascripts($context, array $blocks = array())
    {
        $__internal_b95e20cf86913d594ff9d6de007094b7f7cfae43d85c2521b26901f45f92bc8c = $this->env->getExtension("native_profiler");
        $__internal_b95e20cf86913d594ff9d6de007094b7f7cfae43d85c2521b26901f45f92bc8c->enter($__internal_b95e20cf86913d594ff9d6de007094b7f7cfae43d85c2521b26901f45f92bc8c_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "javascripts"));

        
        $__internal_b95e20cf86913d594ff9d6de007094b7f7cfae43d85c2521b26901f45f92bc8c->leave($__internal_b95e20cf86913d594ff9d6de007094b7f7cfae43d85c2521b26901f45f92bc8c_prof);

    }

    public function getTemplateName()
    {
        return "::base.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  300 => 110,  289 => 31,  278 => 20,  268 => 111,  266 => 110,  245 => 92,  239 => 89,  225 => 79,  219 => 76,  216 => 75,  214 => 74,  210 => 73,  206 => 72,  200 => 69,  194 => 65,  189 => 63,  185 => 62,  180 => 59,  174 => 56,  170 => 55,  166 => 54,  163 => 53,  157 => 49,  153 => 48,  149 => 47,  146 => 46,  144 => 44,  138 => 41,  134 => 40,  127 => 38,  119 => 32,  117 => 31,  113 => 30,  109 => 29,  105 => 28,  101 => 27,  97 => 26,  93 => 25,  88 => 23,  84 => 22,  81 => 21,  79 => 20,  75 => 19,  71 => 18,  67 => 17,  63 => 16,  55 => 14,  52 => 13,  49 => 12,  46 => 11,  43 => 10,  40 => 9,  37 => 8,  34 => 7,  32 => 6,  25 => 1,);
    }
}
