var/cache/dev/twig/00/00fa852d1c80ebea29eff0c56638c1d6a37e7aaf8652eea35e4d156d0d72629f.php line 38

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. /* security/login.html.twig */
  14. class __TwigTemplate_57625c59737638f792f55053e8d6bea696b23c756a62ea7044fd6e950b653672 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.             'body' => [$this'block_body'],
  24.         ];
  25.     }
  26.     protected function doGetParent(array $context)
  27.     {
  28.         // line 1
  29.         return "base.html.twig";
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""security/login.html.twig"));
  36.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""security/login.html.twig"));
  38.         // line 2
  39.         $context["page"] = "login";
  40.         // line 1
  41.         $this->parent $this->loadTemplate("base.html.twig""security/login.html.twig"1);
  42.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  43.         
  44.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  45.         
  46.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  47.     }
  48.     // line 4
  49.     public function block_body($context, array $blocks = [])
  50.     {
  51.         $macros $this->macros;
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  53.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  56.         // line 5
  57.         echo "
  58.         <!--KODE SAB BANNER WRAP START-->
  59.     <div class=\"kode_sab_banner_wrap them_overlay\">
  60.         <!--CONTAINER START-->
  61.         <div class=\"container\">
  62.             <div class=\"sab_banner_text\">
  63.                 <h2>";
  64.         // line 11
  65.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Sign in"), "html"nulltrue);
  66.         echo "</h2>
  67.                 <ul class=\"breadcrumbs\">
  68.                     <li><a href=\"";
  69.         // line 13
  70.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_front_main_index");
  71.         echo "\"><i class=\"fa fa-home\"></i></a></li>
  72.                     <li><strong>";
  73.         // line 14
  74.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Sign in"), "html"nulltrue);
  75.         echo "</strong></li>
  76.                 </ul>
  77.             </div>
  78.         </div>
  79.         <!--CONTAINER END-->
  80.     </div>
  81.         <!--KODE 404 WRAP START-->
  82.     <div class=\"kode_contact_wrap\">
  83.         <!--CONTAINER START-->
  84.         <!--KODE CONTACT DES START-->
  85.         <div class=\"kode_contact_des\">
  86.             <div class=\"container\">
  87.                 <div class=\"row\">
  88.                     <div class=\"kode_contact_field\">
  89.                         <div class=\"section_hdg hdg_2 hdg_3\">
  90.                             <a href=\"#\"><img src=\"";
  91.         // line 30
  92.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/hdg-img.png"), "html"nulltrue);
  93.         echo "\" alt=\"hdg\"></a>
  94.                             <h1>";
  95.         // line 31
  96.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Sign in"), "html"nulltrue);
  97.         echo "</h1>
  98.                             <span><i class=\"fa icon-art\"></i></span>
  99.                         </div>
  100.                         <form method=\"post\" class=\"comment-form \">
  101.                             ";
  102.         // line 35
  103.         if ((isset($context["error"]) || array_key_exists("error"$context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.'35$this->source); })())) {
  104.             // line 36
  105.             echo "                                <div class=\"alert alert-danger\">";
  106.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source, (isset($context["error"]) || array_key_exists("error"$context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.'36$this->source); })()), "messageKey", [], "any"falsefalsefalse36), twig_get_attribute($this->env$this->source, (isset($context["error"]) || array_key_exists("error"$context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.'36$this->source); })()), "messageData", [], "any"falsefalsefalse36), "security"), "html"nulltrue);
  107.             echo "</div>
  108.                             ";
  109.         }
  110.         // line 38
  111.         echo "
  112.                             ";
  113.         // line 39
  114.         if (twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'39$this->source); })()), "user", [], "any"falsefalsefalse39)) {
  115.             // line 40
  116.             echo "                                <div class=\"mb-3\">
  117.                                    ";
  118.             // line 41
  119.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(" You are logged in as"), "html"nulltrue);
  120.             echo " ";
  121.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'41$this->source); })()), "user", [], "any"falsefalsefalse41), "username", [], "any"falsefalsefalse41), "html"nulltrue);
  122.             echo ", <a href=\"";
  123.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_logout");
  124.             echo "\">";
  125.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Logout"), "html"nulltrue);
  126.             echo "</a>
  127.                                 </div>
  128.                             ";
  129.         }
  130.         // line 44
  131.         echo "
  132.                             <h4 class=\"h3 mb-3 font-weight-normal\">";
  133.         // line 45
  134.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Please sign in"), "html"nulltrue);
  135.         echo "</h4>
  136.                             <label for=\"inputEmail\">Email</label>
  137.                             <input type=\"email\" value=\"";
  138.         // line 47
  139.         echo twig_escape_filter($this->env, (isset($context["last_username"]) || array_key_exists("last_username"$context) ? $context["last_username"] : (function () { throw new RuntimeError('Variable "last_username" does not exist.'47$this->source); })()), "html"nulltrue);
  140.         echo "\" name=\"email\" id=\"inputEmail\" class=\"form-control\" required autofocus>
  141.                             <label for=\"inputPassword\">";
  142.         // line 48
  143.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Password"), "html"nulltrue);
  144.         echo "</label>
  145.                             <input type=\"password\" name=\"password\" id=\"inputPassword\" class=\"form-control\" required>
  146.                             <input type=\"hidden\" name=\"_csrf_token\" value=\"";
  147.         // line 51
  148.         echo twig_escape_filter($this->env$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("authenticate"), "html"nulltrue);
  149.         echo "\">
  150.                             <br><br>
  151.                             <button class=\"btn btn-lg btn-nearest\" type=\"submit\">
  152.                                 ";
  153.         // line 54
  154.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Sign in"), "html"nulltrue);
  155.         echo "
  156.                             </button>
  157.                         </form>
  158.                     </div>
  159.                 </div>
  160.                 <div class=\"row\">
  161.                       <a href=\"";
  162.         // line 60
  163.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_register");
  164.         echo "\">or  SIGN UP </a>
  165.                 </div>
  166.             </div>
  167.             <!--CONTAINER END-->
  168.         </div>
  169.         <!--KODE CONTACT DES END-->
  170.     </div>
  171.     <!--KODE 404 WRAP END-->
  172. ";
  173.         
  174.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  175.         
  176.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  177.     }
  178.     public function getTemplateName()
  179.     {
  180.         return "security/login.html.twig";
  181.     }
  182.     public function isTraitable()
  183.     {
  184.         return false;
  185.     }
  186.     public function getDebugInfo()
  187.     {
  188.         return array (  179 => 60,  170 => 54,  164 => 51,  158 => 48,  154 => 47,  149 => 45,  146 => 44,  134 => 41,  131 => 40,  129 => 39,  126 => 38,  120 => 36,  118 => 35,  111 => 31,  107 => 30,  88 => 14,  84 => 13,  79 => 11,  71 => 5,  61 => 4,  50 => 1,  48 => 2,  35 => 1,);
  189.     }
  190.     public function getSourceContext()
  191.     {
  192.         return new Source("{% extends 'base.html.twig' %}
  193. {% set page =\"login\" %}
  194. {% block body %}
  195.         <!--KODE SAB BANNER WRAP START-->
  196.     <div class=\"kode_sab_banner_wrap them_overlay\">
  197.         <!--CONTAINER START-->
  198.         <div class=\"container\">
  199.             <div class=\"sab_banner_text\">
  200.                 <h2>{{ 'Sign in'|trans }}</h2>
  201.                 <ul class=\"breadcrumbs\">
  202.                     <li><a href=\"{{ path('app_front_main_index') }}\"><i class=\"fa fa-home\"></i></a></li>
  203.                     <li><strong>{{ 'Sign in'|trans }}</strong></li>
  204.                 </ul>
  205.             </div>
  206.         </div>
  207.         <!--CONTAINER END-->
  208.     </div>
  209.         <!--KODE 404 WRAP START-->
  210.     <div class=\"kode_contact_wrap\">
  211.         <!--CONTAINER START-->
  212.         <!--KODE CONTACT DES START-->
  213.         <div class=\"kode_contact_des\">
  214.             <div class=\"container\">
  215.                 <div class=\"row\">
  216.                     <div class=\"kode_contact_field\">
  217.                         <div class=\"section_hdg hdg_2 hdg_3\">
  218.                             <a href=\"#\"><img src=\"{{asset('images/hdg-img.png')}}\" alt=\"hdg\"></a>
  219.                             <h1>{{ 'Sign in'|trans }}</h1>
  220.                             <span><i class=\"fa icon-art\"></i></span>
  221.                         </div>
  222.                         <form method=\"post\" class=\"comment-form \">
  223.                             {% if error %}
  224.                                 <div class=\"alert alert-danger\">{{ error.messageKey|trans(error.messageData, 'security') }}</div>
  225.                             {% endif %}
  226.                             {% if app.user %}
  227.                                 <div class=\"mb-3\">
  228.                                    {{' You are logged in as'|trans}} {{ app.user.username }}, <a href=\"{{ path('app_logout') }}\">{{'Logout'|trans}}</a>
  229.                                 </div>
  230.                             {% endif %}
  231.                             <h4 class=\"h3 mb-3 font-weight-normal\">{{'Please sign in'|trans}}</h4>
  232.                             <label for=\"inputEmail\">Email</label>
  233.                             <input type=\"email\" value=\"{{ last_username }}\" name=\"email\" id=\"inputEmail\" class=\"form-control\" required autofocus>
  234.                             <label for=\"inputPassword\">{{'Password'|trans}}</label>
  235.                             <input type=\"password\" name=\"password\" id=\"inputPassword\" class=\"form-control\" required>
  236.                             <input type=\"hidden\" name=\"_csrf_token\" value=\"{{ csrf_token('authenticate') }}\">
  237.                             <br><br>
  238.                             <button class=\"btn btn-lg btn-nearest\" type=\"submit\">
  239.                                 {{'Sign in'|trans}}
  240.                             </button>
  241.                         </form>
  242.                     </div>
  243.                 </div>
  244.                 <div class=\"row\">
  245.                       <a href=\"{{path('app_register')}}\">or  SIGN UP </a>
  246.                 </div>
  247.             </div>
  248.             <!--CONTAINER END-->
  249.         </div>
  250.         <!--KODE CONTACT DES END-->
  251.     </div>
  252.     <!--KODE 404 WRAP END-->
  253. {% endblock %}
  254. ""security/login.html.twig""/var/www/sharjah/templates/security/login.html.twig");
  255.     }
  256. }