protected function doDisplay(array $context, array $blocks = array())
 {
     // line 1
     echo "<!DOCTYPE html>\n<!--[if IE 8]>    <html class=\"no-js ie8 ie\" lang=\"en\"> <![endif]-->\n<!--[if IE 9]>    <html class=\"no-js ie9 ie\" lang=\"en\"> <![endif]-->\n<!--[if gt IE 9]><!--> <html class=\"no-js\" lang=\"en\"> <!--<![endif]-->\n<head>\n    <meta charset=\"utf-8\">\n    <title>";
     // line 7
     $this->displayBlock('meta_title', $context, $blocks);
     echo " ";
     if (isset($context["settings"])) {
         $_settings_ = $context["settings"];
     } else {
         $_settings_ = null;
     }
     echo twig_escape_filter($this->env, $this->getAttribute($_settings_, "meta_title"), "html", null, true);
     echo "</title>\n\n    <meta property=\"bb:url\" content=\"";
     // line 9
     echo twig_escape_filter($this->env, twig_constant("BB_URL"), "html", null, true);
     echo "\">\n    <meta property=\"bb:client_area\" content=\"";
     // line 10
     echo $this->env->getExtension('bb')->twig_bb_client_link_filter("/");
     echo "\">\n\n    <meta name=\"description\" content=\"";
     // line 12
     if (isset($context["settings"])) {
         $_settings_ = $context["settings"];
     } else {
         $_settings_ = null;
     }
     echo twig_escape_filter($this->env, $this->getAttribute($_settings_, "meta_description"), "html", null, true);
     echo "\">\n    <meta name=\"robots\" content=\"";
     // line 13
     if (isset($context["settings"])) {
         $_settings_ = $context["settings"];
     } else {
         $_settings_ = null;
     }
     echo twig_escape_filter($this->env, $this->getAttribute($_settings_, "meta_robots"), "html", null, true);
     echo "\">\n    <meta name=\"author\" content=\"";
     // line 14
     if (isset($context["settings"])) {
         $_settings_ = $context["settings"];
     } else {
         $_settings_ = null;
     }
     echo twig_escape_filter($this->env, $this->getAttribute($_settings_, "meta_author"), "html", null, true);
     echo "\">\n    <meta name=\"generator\" content=\"BoxBilling ";
     // line 15
     if (isset($context["guest"])) {
         $_guest_ = $context["guest"];
     } else {
         $_guest_ = null;
     }
     echo twig_escape_filter($this->env, $this->getAttribute($_guest_, "system_version"), "html", null, true);
     echo "\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n\n    <link rel='stylesheet' type='text/css' href=\"";
     // line 18
     if (isset($context["settings"])) {
         $_settings_ = $context["settings"];
     } else {
         $_settings_ = null;
     }
     echo twig_asset_url($this->env, "css/huraga-" . $this->getAttribute($_settings_, "color_scheme") . ".css");
     echo "\">\n    <link rel='stylesheet' type='text/css' href=\"";
     // line 19
     echo twig_asset_url($this->env, "css/plugins/jquery.jgrowl.css");
     echo "\">\n\n    <link rel=\"shortcut icon\" href=\"";
     // line 21
     echo twig_asset_url($this->env, "favicon.ico");
     echo "\">\n    <link rel=\"apple-touch-icon-precomposed\" sizes=\"114x114\" href=\"";
     // line 22
     echo twig_asset_url($this->env, "img/icons/apple-touch-icon-114-precomposed.png");
     echo "\">\n    <link rel=\"apple-touch-icon-precomposed\" sizes=\"72x72\" href=\"";
     // line 23
     echo twig_asset_url($this->env, "img/icons/apple-touch-icon-72-precomposed.png");
     echo "\">\n    <link rel=\"apple-touch-icon-precomposed\" href=\"";
     // line 24
     echo twig_asset_url($this->env, "img/icons/apple-touch-icon-57-precomposed.png");
     echo "\">\n\n    <script src=\"";
     // line 26
     echo twig_asset_url($this->env, "js/libs/jquery.js");
     echo "\"></script>\n    <script src=\"";
     // line 27
     echo twig_asset_url($this->env, "js/bb-jquery.js");
     echo "\"></script>\n    <script src=\"";
     // line 28
     echo twig_asset_url($this->env, "js/libs/modernizr.js");
     echo "\"></script>\n    <script src=\"";
     // line 29
     echo twig_asset_url($this->env, "js/bootstrap/bootstrap.min.js");
     echo "\"></script>\n    <script src=\"";
     // line 30
     echo twig_asset_url($this->env, "js/libs/selectivizr.js");
     echo "\"></script>\n    <script src=\"";
     // line 31
     echo twig_asset_url($this->env, "js/plugins/jGrowl/jquery.jgrowl.js");
     echo "\"></script>\n\n    ";
     // line 33
     $this->displayBlock('head', $context, $blocks);
     // line 34
     echo "    ";
     $this->displayBlock('js', $context, $blocks);
     // line 35
     echo "</head>\n<body>\n    ";
     // line 37
     $this->displayBlock('body', $context, $blocks);
     // line 38
     echo "    ";
     try {
         $this->env->loadTemplate("partial_pending_messages.phtml")->display($context);
     } catch (Twig_Error_Loader $e) {
         // ignore missing template
     }
     // line 39
     echo "</body>\n</html>";
 }
 public function block_js($context, array $blocks = array())
 {
     // line 68
     echo "<script type=\"text/javascript\">\n\$(function() {\n    \$('#client-login').bind('submit',function(event){\n        bb.post('guest/client/login',\n            \$(this).serialize(),\n            function(result) {\n                bb.redirect();\n            }\n        );\n        return false;\n    });\n    ";
     // line 79
     if ($this->getAttribute(isset($context["request"]) ? $context["request"] : null, "al")) {
         // line 80
         echo "        \$('#client-login').submit();\n    ";
     }
     // line 82
     echo "});\n</script>\n<script src=\"";
     // line 84
     echo twig_asset_url($this->env, "js/plugins/bootstrapValidation/jqBootstrapValidation.min.js");
     echo "\"></script>\n<script>\n    \$(document).ready(function() {\n\n        \$(\"input\").jqBootstrapValidation({\n            submitSuccess: function(\$form, event) {\n                event.preventDefault();\n            }\n        });\n\n    });\n</script>\n";
 }
 public function block_body($context, array $blocks = array())
 {
     // line 47
     if (!(isset($context["client"]) ? $context["client"] : null)) {
         // line 48
         echo "<script type=\"text/javascript\">\$(function(){bb.redirect('";
         echo $this->env->getExtension('bb')->twig_bb_client_link_filter("login");
         echo "');});</script>\n";
     } else {
         // line 50
         $context["profile"] = $this->getAttribute(isset($context["client"]) ? $context["client"] : null, "client_get");
         // line 51
         $context["company"] = $this->getAttribute(isset($context["guest"]) ? $context["guest"] : null, "system_company");
         // line 52
         echo "\n<div id=\"wrapper\">\n    <header class=\"container\" id=\"header\">\n            ";
         // line 55
         if ($this->getAttribute(isset($context["settings"]) ? $context["settings"] : null, "show_page_header")) {
             // line 56
             echo "                <nav>\n                <ul class=\"f16\">\n                    ";
             // line 58
             $context["languages"] = $this->getAttribute(isset($context["guest"]) ? $context["guest"] : null, "extension_languages");
             // line 59
             echo "                    ";
             if (twig_length_filter($this->env, isset($context["languages"]) ? $context["languages"] : null) > 1) {
                 // line 60
                 echo "                    ";
                 $context["currentLang"] = $this->getAttribute(isset($context["guest"]) ? $context["guest"] : null, "system_locale");
                 // line 61
                 echo "                    ";
                 $context["countryCode"] = twig_slice($this->env, isset($context["currentLang"]) ? $context["currentLang"] : null, 3, 2);
                 // line 62
                 echo "                        <li>\n                            <div class=\"btn-group\">\n                                <a class=\"btn dropdown-toggle\" data-toggle=\"dropdown\" href=\"#\">\n                                    <span class=\"flag  ";
                 // line 65
                 echo twig_escape_filter($this->env, twig_lower_filter($this->env, isset($context["countryCode"]) ? $context["countryCode"] : null), "html", null, true);
                 echo "\"></span>\n                                    ";
                 // line 66
                 echo twig_escape_filter($this->env, isset($context["countryCode"]) ? $context["countryCode"] : null, "html", null, true);
                 echo "\n                                    <span class=\"caret\"></span>\n                                </a>\n                                <ul class=\"dropdown-menu\">\n                                    ";
                 // line 70
                 $context['_parent'] = (array) $context;
                 $context['_seq'] = twig_ensure_traversable(isset($context["languages"]) ? $context["languages"] : null);
                 foreach ($context['_seq'] as $context["_key"] => $context["lang"]) {
                     // line 71
                     echo "                                    ";
                     $context["countryCode"] = twig_slice($this->env, isset($context["lang"]) ? $context["lang"] : null, 3, 2);
                     // line 72
                     echo "                                    ";
                     if ((isset($context["lang"]) ? $context["lang"] : null) != (isset($context["currentLang"]) ? $context["currentLang"] : null)) {
                         // line 73
                         echo "                                            <li class=\"language_selector\" data-language-code=\"";
                         echo twig_escape_filter($this->env, isset($context["lang"]) ? $context["lang"] : null, "html", null, true);
                         echo "\"><a href=\"javascript:;\"> <span class=\"flag ";
                         echo twig_escape_filter($this->env, twig_lower_filter($this->env, isset($context["countryCode"]) ? $context["countryCode"] : null), "html", null, true);
                         echo "\"></span> ";
                         echo twig_escape_filter($this->env, gettext(isset($context["lang"]) ? $context["lang"] : null), "html", null, true);
                         echo "</a></li>\n                                        ";
                     }
                     // line 75
                     echo "                                    ";
                 }
                 $_parent = $context['_parent'];
                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['lang'], $context['_parent'], $context['loop']);
                 $context = array_intersect_key($context, $_parent) + $_parent;
                 // line 76
                 echo "                                </ul>\n                            </div>\n                        </li>\n\n                    ";
             }
             // line 81
             echo "\n                    ";
             // line 82
             if ($this->getAttribute(isset($context["settings"]) ? $context["settings"] : null, "top_menu_dashboard")) {
                 // line 83
                 echo "                    <li>\n                        <a href=\"";
                 // line 84
                 echo $this->env->getExtension('bb')->twig_bb_client_link_filter("");
                 echo "\" class=\"show-tip\" title=\"";
                 echo gettext("Dashboard");
                 echo "\">";
                 echo gettext("Dashboard");
                 echo "</a>\n                    </li>\n                    ";
             }
             // line 87
             echo "                    ";
             if ($this->getAttribute(isset($context["settings"]) ? $context["settings"] : null, "top_menu_order")) {
                 // line 88
                 echo "                    <li class=\"order-button\">\n                        <a href=\"#\" class=\"show-tip\" title=\"";
                 // line 89
                 echo gettext("Order");
                 echo "\">";
                 echo gettext("Order services");
                 echo "</a>\n                    </li>\n                    ";
             }
             // line 92
             echo "                    ";
             if ($this->getAttribute(isset($context["settings"]) ? $context["settings"] : null, "top_menu_profile")) {
                 // line 93
                 echo "                    <li>\n                        <a href=\"";
                 // line 94
                 echo $this->env->getExtension('bb')->twig_bb_client_link_filter("client/me");
                 echo "\" class=\"show-tip\" title=\"";
                 echo gettext("Profile");
                 echo "\">";
                 echo gettext("Profile");
                 echo "</a>\n                    </li>\n                    ";
             }
             // line 97
             echo "\n                    ";
             // line 98
             if ($this->getAttribute(isset($context["settings"]) ? $context["settings"] : null, "top_menu_signout")) {
                 // line 99
                 echo "                    <li>\n                        <a href=\"";
                 // line 100
                 echo $this->env->getExtension('bb')->twig_bb_client_link_filter("client/logout");
                 echo "\" class=\"show-tip\" title=\"";
                 echo gettext("Sign out");
                 echo "\">";
                 echo gettext("Sign out");
                 echo "</a>\n                    </li>\n                    ";
             }
             // line 103
             echo "                </ul>\n            </nav>\n\n            ";
             // line 106
             if ($this->getAttribute(isset($context["settings"]) ? $context["settings"] : null, "show_company_logo")) {
                 // line 107
                 echo "                ";
                 if ($this->getAttribute(isset($context["company"]) ? $context["company"] : null, "logo_url")) {
                     // line 108
                     echo "                    <h1>\n                        <a href=\"";
                     // line 109
                     echo $this->env->getExtension('bb')->twig_bb_client_link_filter("/");
                     echo "\">\n                            <img src=\"";
                     // line 110
                     echo twig_escape_filter($this->env, $this->getAttribute(isset($context["company"]) ? $context["company"] : null, "logo_url"), "html", null, true);
                     echo "\" alt=\"";
                     echo twig_escape_filter($this->env, $this->getAttribute(isset($context["company"]) ? $context["company"] : null, "name"), "html", null, true);
                     echo "\" title=\"";
                     echo twig_escape_filter($this->env, $this->getAttribute(isset($context["company"]) ? $context["company"] : null, "name"), "html", null, true);
                     echo "\" style=\"max-height: 75px\"/>\n                        </a>\n                        <p></p>\n                    </h1>\n                ";
                 }
                 // line 115
                 echo "            ";
             }
             // line 116
             echo "\n            ";
             // line 117
             if ($this->getAttribute(isset($context["settings"]) ? $context["settings"] : null, "show_company_name")) {
                 // line 118
                 echo "            <p>";
                 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["company"]) ? $context["company"] : null, "name"), "html", null, true);
                 echo "</p>\n            ";
             }
             // line 120
             echo "        ";
         }
         // line 121
         echo "    </header>\n    <section class=\"container\" role=\"main\">\n        <div class=\"navigation-block\">\n\n            <div class=\"navbar\">\n                <a class=\"btn btn-navbar btn-block btn-large\" data-toggle=\"collapse\" data-target=\".nav-collapse\"><span class=\"awe-user\"></span> ";
         // line 126
         echo gettext("User profile");
         echo "</a>\n            </div>\n\n            <nav class=\"main-navigation nav-collapse collapse\" role=\"navigation\">\n                ";
         // line 130
         $this->env->loadTemplate("partial_menu.phtml")->display($context);
         // line 131
         echo "            </nav>\n\n            ";
         // line 133
         if ($this->getAttribute(isset($context["settings"]) ? $context["settings"] : null, "show_client_details")) {
             // line 134
             echo "            <section class=\"user-profile\">\n                <figure>\n                    <img alt=\"";
             // line 136
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["profile"]) ? $context["profile"] : null, "first_name"), "html", null, true);
             echo " ";
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["profile"]) ? $context["profile"] : null, "last_name"), "html", null, true);
             echo " gravatar\" src=\"";
             echo twig_escape_filter($this->env, twig_gravatar_filter($this->getAttribute(isset($context["profile"]) ? $context["profile"] : null, "email"), 60), "html", null, true);
             echo "\">\n                    <figcaption>\n                        <strong><a href=\"";
             // line 138
             echo $this->env->getExtension('bb')->twig_bb_client_link_filter("client/profile");
             echo "\" class=\"\">";
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["profile"]) ? $context["profile"] : null, "first_name"), "html", null, true);
             echo " ";
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["profile"]) ? $context["profile"] : null, "last_name"), "html", null, true);
             echo "</a></strong>\n                        <em>";
             // line 139
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["profile"]) ? $context["profile"] : null, "company"), "html", null, true);
             echo "</em>\n                        <ul>\n                            <li><a class=\"btn btn-primary btn-flat\" href=\"";
             // line 141
             echo $this->env->getExtension('bb')->twig_bb_client_link_filter("client/profile");
             echo "\">";
             echo gettext("profile");
             echo "</a></li>\n                            <li><a class=\"btn btn-primary btn-flat\" href=\"";
             // line 142
             echo $this->env->getExtension('bb')->twig_bb_client_link_filter("client/logout");
             echo "\">";
             echo gettext("sign out");
             echo "</a></li>\n                        </ul>\n                    </figcaption>\n                </figure>\n            </section>\n            ";
         }
         // line 148
         echo "\n            ";
         // line 149
         if ($this->getAttribute(isset($context["settings"]) ? $context["settings"] : null, "sidebar_balance_enabled")) {
             // line 150
             echo "            <section class=\"balance\">\n                <h2>";
             // line 151
             echo gettext("Account balance");
             echo "</h2>\n                <strong>";
             // line 152
             echo twig_money($this->env, $this->getAttribute(isset($context["profile"]) ? $context["profile"] : null, "balance"), $this->getAttribute(isset($context["profile"]) ? $context["profile"] : null, "currency"));
             echo "</strong>\n            </section>\n            ";
         }
         // line 155
         echo "\n            ";
         // line 156
         if ($this->getAttribute(isset($context["settings"]) ? $context["settings"] : null, "sidebar_note_enabled")) {
             // line 157
             echo "            <section class=\"side-note\">\n                <div class=\"side-note-container\">\n                    <h2>";
             // line 159
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["settings"]) ? $context["settings"] : null, "sidebar_note_title"), "html", null, true);
             echo "</h2>\n                    <p>";
             // line 160
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["settings"]) ? $context["settings"] : null, "sidebar_note_content"), "html", null, true);
             echo "</p>\n                </div>\n                <div class=\"side-note-bottom\"></div>\n            </section>\n            ";
         }
         // line 165
         echo "        </div>\n\n        <div class=\"content-block\" role=\"main\">\n\n            ";
         // line 169
         if ($this->getAttribute(isset($context["settings"]) ? $context["settings"] : null, "show_breadcrumb")) {
             // line 170
             echo "            ";
             $this->displayBlock('breadcrumbs', $context, $blocks);
             // line 178
             echo "            ";
         }
         // line 179
         echo "\n            ";
         // line 180
         if ($this->getAttribute(isset($context["settings"]) ? $context["settings"] : null, "show_page_header")) {
             // line 181
             echo "            ";
             // line 187
             echo "            ";
         }
         // line 188
         echo "\n            ";
         // line 189
         $this->env->loadTemplate("partial_message.phtml")->display($context);
         // line 190
         echo "\n            ";
         // line 191
         $this->displayBlock('content_before', $context, $blocks);
         // line 192
         echo "            ";
         $this->displayBlock('content', $context, $blocks);
         // line 193
         echo "            ";
         $this->displayBlock('content_after', $context, $blocks);
         // line 194
         echo "        </div>\n    </section>\n    <div id=\"push\"></div>\n</div>\n\n";
         // line 199
         if ($this->getAttribute(isset($context["settings"]) ? $context["settings"] : null, "footer_enabled")) {
             // line 200
             echo "<footer id=\"footer\" class=\"container\">\n    <p>&copy; ";
             // line 201
             echo twig_escape_filter($this->env, twig_date_format_filter($this->env, isset($context["now"]) ? $context["now"] : null, "Y"), "html", null, true);
             echo " ";
             echo $this->getAttribute(isset($context["settings"]) ? $context["settings"] : null, "footer_signature", array(), "any", true, true) ? _twig_default_filter($this->getAttribute(isset($context["settings"]) ? $context["settings"] : null, "footer_signature"), $this->getAttribute(isset($context["company"]) ? $context["company"] : null, "signature")) : $this->getAttribute(isset($context["company"]) ? $context["company"] : null, "signature");
             echo "</p>\n    <ul>\n        ";
             // line 203
             if ($this->getAttribute(isset($context["settings"]) ? $context["settings"] : null, "footer_link_1_enabled")) {
                 // line 204
                 echo "        <li>\n            ";
                 // line 205
                 if (twig_in_filter("http://", $this->getAttribute(isset($context["settings"]) ? $context["settings"] : null, "footer_link_1_page")) || twig_in_filter("https://", $this->getAttribute(isset($context["settings"]) ? $context["settings"] : null, "footer_link_1_page"))) {
                     // line 206
                     echo "            <a href=\"";
                     echo twig_escape_filter($this->env, $this->getAttribute(isset($context["settings"]) ? $context["settings"] : null, "footer_link_1_page"), "html", null, true);
                     echo "\">";
                     echo twig_escape_filter($this->env, $this->getAttribute(isset($context["settings"]) ? $context["settings"] : null, "footer_link_1_title"), "html", null, true);
                     echo "</a>\n            ";
                 } else {
                     // line 208
                     echo "            <a href=\"";
                     echo $this->env->getExtension('bb')->twig_bb_client_link_filter($this->getAttribute(isset($context["settings"]) ? $context["settings"] : null, "footer_link_1_page"));
                     echo "\">";
                     echo twig_escape_filter($this->env, $this->getAttribute(isset($context["settings"]) ? $context["settings"] : null, "footer_link_1_title"), "html", null, true);
                     echo "</a>\n            ";
                 }
                 // line 210
                 echo "        </li>\n        ";
             }
             // line 212
             echo "        ";
             if ($this->getAttribute(isset($context["settings"]) ? $context["settings"] : null, "footer_link_2_enabled")) {
                 // line 213
                 echo "        <li>\n            ";
                 // line 214
                 if (twig_in_filter("http://", $this->getAttribute(isset($context["settings"]) ? $context["settings"] : null, "footer_link_2_page")) || twig_in_filter("https://", $this->getAttribute(isset($context["settings"]) ? $context["settings"] : null, "footer_link_2_page"))) {
                     // line 215
                     echo "            <a href=\"";
                     echo twig_escape_filter($this->env, $this->getAttribute(isset($context["settings"]) ? $context["settings"] : null, "footer_link_2_page"), "html", null, true);
                     echo "\">";
                     echo twig_escape_filter($this->env, $this->getAttribute(isset($context["settings"]) ? $context["settings"] : null, "footer_link_2_title"), "html", null, true);
                     echo "</a>\n            ";
                 } else {
                     // line 217
                     echo "            <a href=\"";
                     echo $this->env->getExtension('bb')->twig_bb_client_link_filter($this->getAttribute(isset($context["settings"]) ? $context["settings"] : null, "footer_link_2_page"));
                     echo "\">";
                     echo twig_escape_filter($this->env, $this->getAttribute(isset($context["settings"]) ? $context["settings"] : null, "footer_link_2_title"), "html", null, true);
                     echo "</a>\n            ";
                 }
                 // line 219
                 echo "        </li>\n        ";
             }
             // line 221
             echo "        ";
             if ($this->getAttribute(isset($context["settings"]) ? $context["settings"] : null, "footer_link_3_enabled")) {
                 // line 222
                 echo "        <li>\n            ";
                 // line 223
                 if (twig_in_filter("http://", $this->getAttribute(isset($context["settings"]) ? $context["settings"] : null, "footer_link_3_page")) || twig_in_filter("https://", $this->getAttribute(isset($context["settings"]) ? $context["settings"] : null, "footer_link_3_page"))) {
                     // line 224
                     echo "            <a href=\"";
                     echo twig_escape_filter($this->env, $this->getAttribute(isset($context["settings"]) ? $context["settings"] : null, "footer_link_3_page"), "html", null, true);
                     echo "\">";
                     echo twig_escape_filter($this->env, $this->getAttribute(isset($context["settings"]) ? $context["settings"] : null, "footer_link_3_title"), "html", null, true);
                     echo "</a>\n            ";
                 } else {
                     // line 226
                     echo "            <a href=\"";
                     echo $this->env->getExtension('bb')->twig_bb_client_link_filter($this->getAttribute(isset($context["settings"]) ? $context["settings"] : null, "footer_link_3_page"));
                     echo "\">";
                     echo twig_escape_filter($this->env, $this->getAttribute(isset($context["settings"]) ? $context["settings"] : null, "footer_link_3_title"), "html", null, true);
                     echo "</a>\n\n            ";
                 }
                 // line 229
                 echo "        </li>\n        ";
             }
             // line 231
             echo "        ";
             if ($this->getAttribute(isset($context["settings"]) ? $context["settings"] : null, "footer_link_4_enabled")) {
                 // line 232
                 echo "        <li>\n            ";
                 // line 233
                 if (twig_in_filter("http://", $this->getAttribute(isset($context["settings"]) ? $context["settings"] : null, "footer_link_4_page")) || twig_in_filter("https://", $this->getAttribute(isset($context["settings"]) ? $context["settings"] : null, "footer_link_4_page"))) {
                     // line 234
                     echo "            <a href=\"";
                     echo twig_escape_filter($this->env, $this->getAttribute(isset($context["settings"]) ? $context["settings"] : null, "footer_link_4_page"), "html", null, true);
                     echo "\">";
                     echo twig_escape_filter($this->env, $this->getAttribute(isset($context["settings"]) ? $context["settings"] : null, "footer_link_4_title"), "html", null, true);
                     echo "</a>\n            ";
                 } else {
                     // line 236
                     echo "            <a href=\"";
                     echo $this->env->getExtension('bb')->twig_bb_client_link_filter($this->getAttribute(isset($context["settings"]) ? $context["settings"] : null, "footer_link_4_page"));
                     echo "\">";
                     echo twig_escape_filter($this->env, $this->getAttribute(isset($context["settings"]) ? $context["settings"] : null, "footer_link_4_title"), "html", null, true);
                     echo "</a>\n            ";
                 }
                 // line 238
                 echo "        </li>\n        ";
             }
             // line 240
             echo "        ";
             if ($this->getAttribute(isset($context["settings"]) ? $context["settings"] : null, "footer_link_5_enabled")) {
                 // line 241
                 echo "        <li>\n            ";
                 // line 242
                 if (twig_in_filter("http://", $this->getAttribute(isset($context["settings"]) ? $context["settings"] : null, "footer_link_5_page")) || twig_in_filter("https://", $this->getAttribute(isset($context["settings"]) ? $context["settings"] : null, "footer_link_5_page"))) {
                     // line 243
                     echo "            <a href=\"";
                     echo twig_escape_filter($this->env, $this->getAttribute(isset($context["settings"]) ? $context["settings"] : null, "footer_link_5_page"), "html", null, true);
                     echo "\">";
                     echo twig_escape_filter($this->env, $this->getAttribute(isset($context["settings"]) ? $context["settings"] : null, "footer_link_5_title"), "html", null, true);
                     echo "</a>\n            ";
                 } else {
                     // line 245
                     echo "            <a href=\"";
                     echo $this->env->getExtension('bb')->twig_bb_client_link_filter($this->getAttribute(isset($context["settings"]) ? $context["settings"] : null, "footer_link_5_page"));
                     echo "\">";
                     echo twig_escape_filter($this->env, $this->getAttribute(isset($context["settings"]) ? $context["settings"] : null, "footer_link_5_title"), "html", null, true);
                     echo "</a>\n            ";
                 }
                 // line 247
                 echo "        </li>\n        ";
             }
             // line 249
             echo "\n        ";
             // line 251
             echo "        ";
             if ($this->getAttribute(isset($context["guest"]) ? $context["guest"] : null, "extension_is_on", array(0 => array("mod" => "branding")), "method")) {
                 // line 252
                 echo "        <li>\n            <a href=\"http://www.boxbilling.com\" title=\"Billing Software\" target=\"_blank\">";
                 // line 253
                 echo gettext("Powered by BoxBilling");
                 echo "</a>\n        </li>\n        ";
             }
             // line 256
             echo "    </ul>\n    ";
             // line 257
             if ($this->getAttribute(isset($context["settings"]) ? $context["settings"] : null, "footer_to_top_enabled")) {
                 // line 258
                 echo "    <a href=\"#top\" class=\"btn btn-primary btn-flat pull-right\"><span class=\"awe-arrow-up\"></span> ";
                 echo gettext("Top");
                 echo "</a>\n    ";
             }
             // line 260
             echo "</footer>\n";
         }
         // line 262
         echo "\n<div class=\"wait\" style=\"display:none\" onclick=\"\$(this).hide();\">\n    <div class=\"popup_block\" style=\"position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: black; opacity: 0.5; -webkit-opacity: 0.5; -moz-opacity: 0.5; filter :  alpha(opacity=50); z-index: 2000\">\n        <img src=\"";
         // line 265
         echo twig_asset_url($this->env, "img/loader.gif");
         echo "\" style=\"position: absolute; display: block; margin-left: auto; margin-right: auto; position: relative; top: 50%; opacity: 1; filter: alpha(opacity=100); z-index: 1003\">\n    </div>\n</div>\n<noscript>NOTE: Many features on BoxBilling require Javascript and cookies. You can enable both via your browser's preference settings.</noscript>\n\n";
     }
 }