var/cache/dev/twig/0b/0bfb0cb4137820a227c35f352c4cd11c.php line 43

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. /* Block/top_search.twig */
  14. class __TwigTemplate_6880b279091367016d5b86828ceea75e extends \Eccube\Twig\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->parent false;
  23.         $this->blocks = [
  24.         ];
  25.     }
  26.     protected function doDisplay(array $context, array $blocks = [])
  27.     {
  28.         $macros $this->macros;
  29.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  30.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Block/top_search.twig"));
  31.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  32.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Block/top_search.twig"));
  33.         // line 1
  34.         $context["ModelYears"] = twig_get_attribute($this->env$this->source$this->env->getFunction('repository')->getCallable()("Eccube\\Entity\\Category"), "find", [=> 29], "method"falsefalsefalse1);
  35.         // line 2
  36.         echo "
  37. <div class=\"container-fluid top-search-container d-flex justify-content-center align-items-center\">
  38. \t<div class=\"d-flex\">
  39. \t\t<div class=\"dropdown drop-search-box\">
  40. \t\t\t<button class=\"btn btn-secondary dropdown-toggle\" type=\"button\" id=\"dropdownMenuButton1\" data-bs-toggle=\"dropdown\" aria-expanded=\"false\">
  41. \t\t\t全てのメーカー
  42. \t\t\t</button>
  43. \t\t\t<ul class=\"dropdown-menu\" id=\"maker-ul\" aria-labelledby=\"dropdownMenuButton1\">
  44. \t\t\t\t";
  45.         // line 10
  46.         $context['_parent'] = $context;
  47.         $context['_seq'] = twig_ensure_traversable((isset($context["Makers"]) || array_key_exists("Makers"$context) ? $context["Makers"] : (function () { throw new RuntimeError('Variable "Makers" does not exist.'10$this->source); })()));
  48.         foreach ($context['_seq'] as $context["_key"] => $context["maker"]) {
  49.             // line 11
  50.             echo "                    <li><a class=\"dropdown-item\" href=\"javascript:void(0)\" onclick=\"clickMakerSearch(";
  51.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["maker"], "id", [], "any"falsefalsefalse11), "html"nulltrue);
  52.             echo ", '";
  53.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["maker"], "name", [], "any"falsefalsefalse11), "html"nulltrue);
  54.             echo "')\">";
  55.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["maker"], "name", [], "any"falsefalsefalse11), "html"nulltrue);
  56.             echo "</a></li>
  57.                 ";
  58.         }
  59.         $_parent $context['_parent'];
  60.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['maker'], $context['_parent'], $context['loop']);
  61.         $context array_intersect_key($context$_parent) + $_parent;
  62.         // line 13
  63.         echo "\t\t\t</ul>
  64. \t\t</div>
  65. \t\t<div class=\"dropdown drop-search-box\">
  66. \t\t\t<button class=\"btn btn-secondary dropdown-toggle\" type=\"button\" id=\"dropdownMenuButton2\" data-bs-toggle=\"dropdown\" aria-expanded=\"false\">
  67. \t\t\t全ての車両
  68. \t\t\t</button>
  69. \t\t\t<ul class=\"dropdown-menu\" id=\"vehicle-ul\" aria-labelledby=\"dropdownMenuButton2\">
  70. \t\t\t</ul>
  71. \t\t</div>
  72. \t\t<div class=\"dropdown drop-search-box\">
  73. \t\t\t<button class=\"btn btn-secondary dropdown-toggle\" type=\"button\" id=\"dropdownMenuButton3\" data-bs-toggle=\"dropdown\" aria-expanded=\"false\">
  74. \t\t\t全ての年式
  75. \t\t\t</button>
  76. \t\t\t<ul class=\"dropdown-menu\" id=\"modelYear-ul\" aria-labelledby=\"dropdownMenuButton3\">
  77. \t\t\t</ul>
  78. \t\t</div>
  79. \t\t<div>
  80. \t\t<button type=\"button\" class=\"btn btn-light\" onclick=\"clickSideSearch()\">検索</button>
  81. \t\t</div>
  82. \t</div>
  83. </div>
  84. <style type=\"text/css\">
  85. \t.top-search-wrapper{
  86. \t\twidth: 100%;
  87. \t}
  88. \t.top-search-container{
  89. \t\tmin-height: 400px;
  90. \t\tbackground-image: url(";
  91.         // line 41
  92.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/html/user_data/assets/img/top/altair-top-image.jpg"), "html"nulltrue);
  93.         echo ");
  94. \t\tmargin-bottom: 50px;
  95. \t}
  96. \t.top-search-container input[type=\"submit\"]{
  97. \t\theight: 100%;
  98. \t\tpadding: 0 20px;
  99. \t}
  100. \t.drop-search-box button{
  101. \t\twidth: 200px;
  102. \t}
  103. </style>";
  104.         
  105.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  106.         
  107.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  108.     }
  109.     public function getTemplateName()
  110.     {
  111.         return "Block/top_search.twig";
  112.     }
  113.     public function isTraitable()
  114.     {
  115.         return false;
  116.     }
  117.     public function getDebugInfo()
  118.     {
  119.         return array (  102 => 41,  72 => 13,  59 => 11,  55 => 10,  45 => 2,  43 => 1,);
  120.     }
  121.     public function getSourceContext()
  122.     {
  123.         return new Source("{% set ModelYears = repository('Eccube\\\\Entity\\\\Category').find(29) %}
  124. <div class=\"container-fluid top-search-container d-flex justify-content-center align-items-center\">
  125. \t<div class=\"d-flex\">
  126. \t\t<div class=\"dropdown drop-search-box\">
  127. \t\t\t<button class=\"btn btn-secondary dropdown-toggle\" type=\"button\" id=\"dropdownMenuButton1\" data-bs-toggle=\"dropdown\" aria-expanded=\"false\">
  128. \t\t\t全てのメーカー
  129. \t\t\t</button>
  130. \t\t\t<ul class=\"dropdown-menu\" id=\"maker-ul\" aria-labelledby=\"dropdownMenuButton1\">
  131. \t\t\t\t{% for maker in Makers %}
  132.                     <li><a class=\"dropdown-item\" href=\"javascript:void(0)\" onclick=\"clickMakerSearch({{ maker.id }}, '{{ maker.name }}')\">{{ maker.name }}</a></li>
  133.                 {% endfor %}
  134. \t\t\t</ul>
  135. \t\t</div>
  136. \t\t<div class=\"dropdown drop-search-box\">
  137. \t\t\t<button class=\"btn btn-secondary dropdown-toggle\" type=\"button\" id=\"dropdownMenuButton2\" data-bs-toggle=\"dropdown\" aria-expanded=\"false\">
  138. \t\t\t全ての車両
  139. \t\t\t</button>
  140. \t\t\t<ul class=\"dropdown-menu\" id=\"vehicle-ul\" aria-labelledby=\"dropdownMenuButton2\">
  141. \t\t\t</ul>
  142. \t\t</div>
  143. \t\t<div class=\"dropdown drop-search-box\">
  144. \t\t\t<button class=\"btn btn-secondary dropdown-toggle\" type=\"button\" id=\"dropdownMenuButton3\" data-bs-toggle=\"dropdown\" aria-expanded=\"false\">
  145. \t\t\t全ての年式
  146. \t\t\t</button>
  147. \t\t\t<ul class=\"dropdown-menu\" id=\"modelYear-ul\" aria-labelledby=\"dropdownMenuButton3\">
  148. \t\t\t</ul>
  149. \t\t</div>
  150. \t\t<div>
  151. \t\t<button type=\"button\" class=\"btn btn-light\" onclick=\"clickSideSearch()\">検索</button>
  152. \t\t</div>
  153. \t</div>
  154. </div>
  155. <style type=\"text/css\">
  156. \t.top-search-wrapper{
  157. \t\twidth: 100%;
  158. \t}
  159. \t.top-search-container{
  160. \t\tmin-height: 400px;
  161. \t\tbackground-image: url({{ asset('/html/user_data/assets/img/top/altair-top-image.jpg')}});
  162. \t\tmargin-bottom: 50px;
  163. \t}
  164. \t.top-search-container input[type=\"submit\"]{
  165. \t\theight: 100%;
  166. \t\tpadding: 0 20px;
  167. \t}
  168. \t.drop-search-box button{
  169. \t\twidth: 200px;
  170. \t}
  171. </style>""Block/top_search.twig""/home/breathfield/breathdev.com/public_html/altair.breathdev.com/app/template/default/Block/top_search.twig");
  172.     }
  173. }