var/cache/dev/twig/ee/ee1ac93b5163b27e2b90d96aa5beeefa.php line 40

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* standard_tpl.html.twig */
  14. class __TwigTemplate_c28320f0fa85107a45f264c42c438d80 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'page_container' => [$this'block_page_container'],
  24.             'page_content_wrapper' => [$this'block_page_content_wrapper'],
  25.             'page_content' => [$this'block_page_content'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "site_body.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""standard_tpl.html.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""standard_tpl.html.twig"));
  40.         $this->parent $this->loadTemplate("site_body.html.twig""standard_tpl.html.twig"1);
  41.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  44.         
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  46.     }
  47.     // line 3
  48.     public function block_page_container($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_container"));
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_container"));
  55.         // line 4
  56.         echo "\t
  57. \t";
  58.         // line 5
  59.         $context["headerBanner"] = ((array_key_exists("page_background"$context)) ? (_twig_default_filter((isset($context["page_background"]) || array_key_exists("page_background"$context) ? $context["page_background"] : (function () { throw new RuntimeError('Variable "page_background" does not exist.'5$this->source); })()), "page-title.jpg') }}")) : ("page-title.jpg') }}"));
  60.         // line 6
  61.         echo "\t<section class=\"page-title centred p_relative\">
  62. \t\t<div class=\"bg-layer\" style=\"background-image: url(";
  63.         // line 7
  64.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("build/images/" . (isset($context["headerBanner"]) || array_key_exists("headerBanner"$context) ? $context["headerBanner"] : (function () { throw new RuntimeError('Variable "headerBanner" does not exist.'7$this->source); })()))), "html"nulltrue);
  65.         echo ");\"></div>
  66. \t\t<div class=\"pattern-layer\" style=\"background-image: url(assets/images/shape/shape-67.png);\"></div>
  67. \t\t<div class=\"auto-container\">
  68. \t\t\t<div class=\"content-box\">
  69. \t\t\t\t<h1>";
  70.         // line 11
  71.         echo twig_escape_filter($this->env, (isset($context["pageTitle"]) || array_key_exists("pageTitle"$context) ? $context["pageTitle"] : (function () { throw new RuntimeError('Variable "pageTitle" does not exist.'11$this->source); })()), "html"nulltrue);
  72.         echo "</h1>
  73. \t\t\t\t<ul class=\"bread-crumb clearfix\">
  74. \t\t\t\t\t<li><a href=\"";
  75.         // line 13
  76.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("home_page");
  77.         echo "\">Home</a></li>
  78. \t\t\t\t\t<li>";
  79.         // line 14
  80.         echo twig_escape_filter($this->env, (isset($context["pageTitle"]) || array_key_exists("pageTitle"$context) ? $context["pageTitle"] : (function () { throw new RuntimeError('Variable "pageTitle" does not exist.'14$this->source); })()), "html"nulltrue);
  81.         echo "</li>
  82. \t\t\t\t</ul>
  83. \t\t\t</div>
  84. \t\t</div>
  85. \t</section>\t
  86. \t";
  87.         // line 20
  88.         $this->displayBlock('page_content_wrapper'$context$blocks);
  89.         // line 78
  90.         echo "\t
  91. ";
  92.         
  93.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  94.         
  95.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  96.     }
  97.     // line 20
  98.     public function block_page_content_wrapper($context, array $blocks = [])
  99.     {
  100.         $macros $this->macros;
  101.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  102.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_content_wrapper"));
  103.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  104.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_content_wrapper"));
  105.         // line 21
  106.         echo "\t\t<section class=\"sidebar-page-container blog-standard p_relative\">
  107.             <div class=\"auto-container\">
  108.                 <div class=\"row clearfix\">
  109.                     <div class=\"col-lg-8 col-md-12 col-sm-12 content-side\">
  110.                         <div class=\"blog-details-content\">
  111.                             <div class=\"content-one mb_40\">
  112. \t\t\t\t\t\t\t
  113. \t\t\t\t\t\t\t";
  114.         // line 28
  115.         $this->displayBlock('page_content'$context$blocks);
  116.         // line 29
  117.         echo "                            
  118. \t\t\t\t\t\t\t</div>
  119.                             <div class=\"content-two mb_40 call-to-action\">
  120.                                 <div class=\"text\">
  121.                                     <h3>";
  122.         // line 35
  123.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'35$this->source); })()), "title", [], "any"falsefalsefalse35), "html"nulltrue);
  124.         echo "</h3>
  125.                                     <p> ";
  126.         // line 36
  127.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$this->extensions['Twig\Extra\String\StringExtension']->createUnicodeString(twig_get_attribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'36$this->source); })()), "summary", [], "any"falsefalsefalse36)), "truncate", [=> 200], "method"falsefalsefalse36), "html"nulltrue);
  128.         echo " </p>
  129.                                     <a href=\"";
  130.         // line 37
  131.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("visa_application");
  132.         echo "\" class=\"btn btn-primary\">Apply Now</a>
  133.                                 </div>
  134.                             </div>
  135.                         </div>
  136.                     </div>
  137.                     <div class=\"col-lg-4 col-md-12 col-sm-12 sidebar-side\">
  138.                         <div class=\"default-sidebar blog-sidebar ml_10\">
  139.                             <div class=\"sidebar-widget search-widget\">
  140.                                 <div class=\"widget-title\">
  141.                                     <h3>Search</h3>
  142.                                 </div>
  143.                                 <div class=\"search-form\">
  144.                                     <form action=\"\" method=\"post\">
  145.                                         <div class=\"form-group\">
  146.                                             <input type=\"search\" name=\"search-field\" placeholder=\"Keyword ...\" required=\"\">
  147.                                             <button type=\"submit\"><i class=\"icon-8\"></i></button>
  148.                                         </div>
  149.                                     </form>
  150.                                 </div>
  151.                             </div>
  152.                             <div class=\"sidebar-widget category-widget\">
  153.                                 <div class=\"widget-title\">
  154.                                     <h3>Other pages</h3>
  155.                                 </div>
  156.                                 <div class=\"widget-content\">
  157.                                     <ul class=\"category-list-two clearfix\">
  158.                                         <li><a href=\"blog-details.html\">Immigration</a></li>
  159.                                         <li><a href=\"blog-details.html\">Application</a></li>
  160.                                         <li><a href=\"blog-details.html\">Business Visa</a></li>
  161.                                         <li><a href=\"blog-details.html\">Spouse/Family Visas</a></li>
  162.                                         <li><a href=\"blog-details.html\">Working Visas</a></li>
  163.                                     </ul>
  164.                                 </div>
  165.                             </div>
  166.                         </div>
  167.                     </div>
  168.                 </div>
  169.             </div>
  170.         </section>
  171. \t";
  172.         
  173.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  174.         
  175.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  176.     }
  177.     // line 28
  178.     public function block_page_content($context, array $blocks = [])
  179.     {
  180.         $macros $this->macros;
  181.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  182.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_content"));
  183.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  184.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_content"));
  185.         echo " ";
  186.         
  187.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  188.         
  189.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  190.     }
  191.     public function getTemplateName()
  192.     {
  193.         return "standard_tpl.html.twig";
  194.     }
  195.     public function isTraitable()
  196.     {
  197.         return false;
  198.     }
  199.     public function getDebugInfo()
  200.     {
  201.         return array (  204 => 28,  153 => 37,  149 => 36,  145 => 35,  137 => 29,  135 => 28,  126 => 21,  116 => 20,  105 => 78,  103 => 20,  94 => 14,  90 => 13,  85 => 11,  78 => 7,  75 => 6,  73 => 5,  70 => 4,  60 => 3,  37 => 1,);
  202.     }
  203.     public function getSourceContext()
  204.     {
  205.         return new Source("{% extends 'site_body.html.twig' %}
  206. {% block page_container %}
  207. \t
  208. \t{% set headerBanner = page_background | default(\"page-title.jpg') }}\") %}
  209. \t<section class=\"page-title centred p_relative\">
  210. \t\t<div class=\"bg-layer\" style=\"background-image: url({{ asset('build/images/'~headerBanner) }});\"></div>
  211. \t\t<div class=\"pattern-layer\" style=\"background-image: url(assets/images/shape/shape-67.png);\"></div>
  212. \t\t<div class=\"auto-container\">
  213. \t\t\t<div class=\"content-box\">
  214. \t\t\t\t<h1>{{ pageTitle }}</h1>
  215. \t\t\t\t<ul class=\"bread-crumb clearfix\">
  216. \t\t\t\t\t<li><a href=\"{{ path('home_page') }}\">Home</a></li>
  217. \t\t\t\t\t<li>{{ pageTitle }}</li>
  218. \t\t\t\t</ul>
  219. \t\t\t</div>
  220. \t\t</div>
  221. \t</section>\t
  222. \t{% block page_content_wrapper %}
  223. \t\t<section class=\"sidebar-page-container blog-standard p_relative\">
  224.             <div class=\"auto-container\">
  225.                 <div class=\"row clearfix\">
  226.                     <div class=\"col-lg-8 col-md-12 col-sm-12 content-side\">
  227.                         <div class=\"blog-details-content\">
  228.                             <div class=\"content-one mb_40\">
  229. \t\t\t\t\t\t\t
  230. \t\t\t\t\t\t\t{% block page_content %} {% endblock %}
  231.                             
  232. \t\t\t\t\t\t\t</div>
  233.                             <div class=\"content-two mb_40 call-to-action\">
  234.                                 <div class=\"text\">
  235.                                     <h3>{{ content.title }}</h3>
  236.                                     <p> {{ content.summary|u.truncate(200)}} </p>
  237.                                     <a href=\"{{ path('visa_application') }}\" class=\"btn btn-primary\">Apply Now</a>
  238.                                 </div>
  239.                             </div>
  240.                         </div>
  241.                     </div>
  242.                     <div class=\"col-lg-4 col-md-12 col-sm-12 sidebar-side\">
  243.                         <div class=\"default-sidebar blog-sidebar ml_10\">
  244.                             <div class=\"sidebar-widget search-widget\">
  245.                                 <div class=\"widget-title\">
  246.                                     <h3>Search</h3>
  247.                                 </div>
  248.                                 <div class=\"search-form\">
  249.                                     <form action=\"\" method=\"post\">
  250.                                         <div class=\"form-group\">
  251.                                             <input type=\"search\" name=\"search-field\" placeholder=\"Keyword ...\" required=\"\">
  252.                                             <button type=\"submit\"><i class=\"icon-8\"></i></button>
  253.                                         </div>
  254.                                     </form>
  255.                                 </div>
  256.                             </div>
  257.                             <div class=\"sidebar-widget category-widget\">
  258.                                 <div class=\"widget-title\">
  259.                                     <h3>Other pages</h3>
  260.                                 </div>
  261.                                 <div class=\"widget-content\">
  262.                                     <ul class=\"category-list-two clearfix\">
  263.                                         <li><a href=\"blog-details.html\">Immigration</a></li>
  264.                                         <li><a href=\"blog-details.html\">Application</a></li>
  265.                                         <li><a href=\"blog-details.html\">Business Visa</a></li>
  266.                                         <li><a href=\"blog-details.html\">Spouse/Family Visas</a></li>
  267.                                         <li><a href=\"blog-details.html\">Working Visas</a></li>
  268.                                     </ul>
  269.                                 </div>
  270.                             </div>
  271.                         </div>
  272.                     </div>
  273.                 </div>
  274.             </div>
  275.         </section>
  276. \t{% endblock %}
  277. \t
  278. {% endblock %}
  279. ""standard_tpl.html.twig""/home/u835281259/domains/immihive.com/siteFiles/templates/standard_tpl.html.twig");
  280.     }
  281. }