var/cache/dev/twig/1c/1cd0ca73140f1d8ed14b14faa73be97fb927e28779d590da7be001f1b32f6a63.php line 146

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. /* default/contact1.html.twig */
  14. class __TwigTemplate_ebf7a1230bb4efd4e2cf521c3dd4d5d93f80d2477e905583b0e345eaed097594 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.             'title' => [$this'block_title'],
  24.             'body' => [$this'block_body'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 1
  30.         return "base2.html.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""default/contact1.html.twig"));
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""default/contact1.html.twig"));
  39.         $this->parent $this->loadTemplate("base2.html.twig""default/contact1.html.twig"1);
  40.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  41.         
  42.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  43.         
  44.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  45.     }
  46.     // line 3
  47.     public function block_title($context, array $blocks = [])
  48.     {
  49.         $macros $this->macros;
  50.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  51.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  52.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  54.         echo "Hello DefaultController!";
  55.         
  56.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  57.         
  58.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  59.     }
  60.     // line 5
  61.     public function block_body($context, array $blocks = [])
  62.     {
  63.         $macros $this->macros;
  64.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  65.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  66.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  67.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  68.         // line 6
  69.         echo "<script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.0/jquery.min.js\" integrity=\"sha512-3gJwYpMe3QewGELv8k/BX9vcqhryRdzRMxVfq6ngyWXwo03GFEzjsUm8Q7RZcHPHksttq7/GFoxjCVUjkjvPdw==\" crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\"></script>
  70. <link href=\"https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/css/select2.min.css\" rel=\"stylesheet\" />
  71. <script src=\"https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.8/js/select2.min.js\" defer></script>
  72. <style>
  73.     .txt-inscription,
  74.     label {
  75.        color: #adb9ca;
  76.     }
  77.  
  78.     button {
  79.        background-color: #adb9ca !important;
  80.        color: white !important;
  81.     }
  82.  
  83.     button:hover {
  84.        background-color: #0073CD !important;
  85.        color: white !important;
  86.     }
  87.  
  88.     .btn-logo {
  89.        width: 0.1px;
  90.        opacity: 0;
  91.     }
  92.  
  93.     #pro .style-choix-logo {
  94.        background-color: #adb9ca;
  95.        color: white;
  96.        padding: 0.5em;
  97.        border-radius: 5px;
  98.     }
  99.       #part .style-choix-logo {
  100.          background-color: #B0DB82 !important;
  101.          color: white !important;
  102.          padding: 0.5em;
  103.        border-radius: 5px;
  104.       }  
  105.       #part .theme-btn-pro{
  106.          background-color: #B0DB82 !important;
  107.          color: white !important;
  108.       }
  109.       #pro .theme-btn-pro{
  110.          background-color: #adb9ca;
  111.          color: white;
  112.       }
  113.  </style>
  114.  <section class=\"contact-area page-paddings\" style=\"background-color: white\">
  115.          <div class=\"container\">
  116.             <div class=\"row\">
  117.                <div class=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12\">
  118.                   <div class=\"section-title text-center\">
  119.                      <h1 data-watermark=\"Contact\" class=\"";
  120.         // line 62
  121.         if ((=== twig_compare(twig_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.'62$this->source); })()), "user", [], "any"falsefalsefalse62), "type", [], "any"falsefalsefalse62), "part"))) {
  122.             echo "green";
  123.         } else {
  124.             echo "blue";
  125.         }
  126.         echo "\">Nous contacter</h1>
  127.                   </div>
  128.                </div>
  129.             </div>
  130.             <div class=\"row\">
  131.                <div class=\"col-xl-8 col-lg-10 col-md-10 col-sm-12 col-12 offset-xl-2 offset-lg-1 offset-md-1\">
  132.                   <div class=\"contact-box-main\">
  133.                      <div class=\"row\">
  134.                         <div class=\"col-xl-6 col-lg-6 col-md-6 col-sm-12 col-12\">
  135.                            <div class=\"contact-box\">
  136.                               <div class=\"nft-input-box validate-input\" data-validate=\"Name is required\">
  137.                                  <span class=\"label-nft-input\">Prénom</span>
  138.                                  <input class=\"nft-input\" type=\"text\" name=\"name\" placeholder=\"\">
  139.                                  <span class=\"focus-nft-input\"></span>
  140.                               </div>
  141.                            </div>
  142.                         </div>
  143.                         <div class=\"col-xl-6 col-lg-6 col-md-6 col-sm-12 col-12\">
  144.                            <div class=\"contact-box\">
  145.                               <div class=\"nft-input-box validate-input\" data-validate=\"Name is required\">
  146.                                  <span class=\"label-nft-input\">Nom</span>
  147.                                  <input class=\"nft-input\" type=\"text\" name=\"name\" placeholder=\"\">
  148.                                  <span class=\"focus-nft-input\"></span>
  149.                               </div>
  150.                            </div>
  151.                         </div>
  152.                         <div class=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12\">
  153.                            <div class=\"contact-box\">
  154.                               <div class=\"nft-input-box validate-input\" data-validate=\"Name is required\">
  155.                                  <span class=\"label-nft-input\">E-mail</span>
  156.                                  <input class=\"nft-input\" type=\"email\" name=\"name\" placeholder=\"nom@example.com\" required=\"\">
  157.                                  <span class=\"focus-nft-input\"></span>
  158.                               </div>
  159.                            </div>
  160.                         </div>
  161.                         <div class=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12\">
  162.                            <div class=\"contact-box\">
  163.                               <div class=\"nft-input-box validate-input\" data-validate=\"Name is required\">
  164.                                  <span class=\"label-nft-input\">Téléphone</span>
  165.                                  <input class=\"nft-input\" type=\"phone\" name=\"name\" placeholder=\"06.06.06.06.06\" required=\"\">
  166.                                  <span class=\"focus-nft-input\"></span>
  167.                               </div>
  168.                            </div>
  169.                         </div>
  170.                         <div class=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12\">
  171.                            <div class=\"contact-box\">
  172.                               <div class=\"nft-input-box validate-input\" data-validate=\"Name is required\">
  173.                                  <span class=\"label-nft-input\">Commentaire</span>
  174.                                  <input class=\"nft-input\" type=\"text\" name=\"signaler\">
  175.                                  <span class=\"focus-nft-input\"></span>
  176.                               </div>
  177.                            </div>
  178.                         </div>
  179.                         <!-- <div class=\"col-xl-6 col-lg-6 col-md-6 col-sm-12 col-12\">
  180.                            <div class=\"contact-box\">
  181.                               <div class=\"nft-input-box validate-input\" data-validate=\"Name is required\">
  182.                                  <span class=\"label-nft-input\">What are you contacting us about?</span>
  183.                                  <select class=\"nft-input\">
  184.                                     <option>List my contract/store</option>
  185.                                     <option>Technical Support</option>
  186.                                     <option>Business Enquiry</option>
  187.                                     <option>Media</option>
  188.                                     <option>Pro Services</option>
  189.                                     <option>Collaboration</option>
  190.                                  </select>
  191.                                  <span class=\"focus-nft-input\"></span>
  192.                               </div>
  193.                            </div>
  194.                         </div> -->
  195.                         <div class=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12\">
  196.                            <div class=\"contact-box text-left\" style=\"margin-top: 25px;\">
  197.                               <button class=\"theme-btn ";
  198.         // line 135
  199.         if ((=== twig_compare(twig_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.'135$this->source); })()), "user", [], "any"falsefalsefalse135), "type", [], "any"falsefalsefalse135), "part"))) {
  200.             echo "bgreen";
  201.         } else {
  202.             echo "bblue";
  203.         }
  204.         echo "\">Envoyer</button>
  205.                            </div>
  206.                         </div>
  207.                      </div>
  208.                   </div>
  209.                </div>
  210.             </div>
  211.          </div>
  212.       </section>
  213. ";
  214.         
  215.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  216.         
  217.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  218.     }
  219.     public function getTemplateName()
  220.     {
  221.         return "default/contact1.html.twig";
  222.     }
  223.     public function isTraitable()
  224.     {
  225.         return false;
  226.     }
  227.     public function getDebugInfo()
  228.     {
  229.         return array (  226 => 135,  146 => 62,  88 => 6,  78 => 5,  59 => 3,  36 => 1,);
  230.     }
  231.     public function getSourceContext()
  232.     {
  233.         return new Source("{% extends 'base2.html.twig' %}
  234. {% block title %}Hello DefaultController!{% endblock %}
  235. {% block body %}
  236. <script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.0/jquery.min.js\" integrity=\"sha512-3gJwYpMe3QewGELv8k/BX9vcqhryRdzRMxVfq6ngyWXwo03GFEzjsUm8Q7RZcHPHksttq7/GFoxjCVUjkjvPdw==\" crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\"></script>
  237. <link href=\"https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/css/select2.min.css\" rel=\"stylesheet\" />
  238. <script src=\"https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.8/js/select2.min.js\" defer></script>
  239. <style>
  240.     .txt-inscription,
  241.     label {
  242.        color: #adb9ca;
  243.     }
  244.  
  245.     button {
  246.        background-color: #adb9ca !important;
  247.        color: white !important;
  248.     }
  249.  
  250.     button:hover {
  251.        background-color: #0073CD !important;
  252.        color: white !important;
  253.     }
  254.  
  255.     .btn-logo {
  256.        width: 0.1px;
  257.        opacity: 0;
  258.     }
  259.  
  260.     #pro .style-choix-logo {
  261.        background-color: #adb9ca;
  262.        color: white;
  263.        padding: 0.5em;
  264.        border-radius: 5px;
  265.     }
  266.       #part .style-choix-logo {
  267.          background-color: #B0DB82 !important;
  268.          color: white !important;
  269.          padding: 0.5em;
  270.        border-radius: 5px;
  271.       }  
  272.       #part .theme-btn-pro{
  273.          background-color: #B0DB82 !important;
  274.          color: white !important;
  275.       }
  276.       #pro .theme-btn-pro{
  277.          background-color: #adb9ca;
  278.          color: white;
  279.       }
  280.  </style>
  281.  <section class=\"contact-area page-paddings\" style=\"background-color: white\">
  282.          <div class=\"container\">
  283.             <div class=\"row\">
  284.                <div class=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12\">
  285.                   <div class=\"section-title text-center\">
  286.                      <h1 data-watermark=\"Contact\" class=\"{% if app.user.type == 'part' %}green{% else %}blue{% endif %}\">Nous contacter</h1>
  287.                   </div>
  288.                </div>
  289.             </div>
  290.             <div class=\"row\">
  291.                <div class=\"col-xl-8 col-lg-10 col-md-10 col-sm-12 col-12 offset-xl-2 offset-lg-1 offset-md-1\">
  292.                   <div class=\"contact-box-main\">
  293.                      <div class=\"row\">
  294.                         <div class=\"col-xl-6 col-lg-6 col-md-6 col-sm-12 col-12\">
  295.                            <div class=\"contact-box\">
  296.                               <div class=\"nft-input-box validate-input\" data-validate=\"Name is required\">
  297.                                  <span class=\"label-nft-input\">Prénom</span>
  298.                                  <input class=\"nft-input\" type=\"text\" name=\"name\" placeholder=\"\">
  299.                                  <span class=\"focus-nft-input\"></span>
  300.                               </div>
  301.                            </div>
  302.                         </div>
  303.                         <div class=\"col-xl-6 col-lg-6 col-md-6 col-sm-12 col-12\">
  304.                            <div class=\"contact-box\">
  305.                               <div class=\"nft-input-box validate-input\" data-validate=\"Name is required\">
  306.                                  <span class=\"label-nft-input\">Nom</span>
  307.                                  <input class=\"nft-input\" type=\"text\" name=\"name\" placeholder=\"\">
  308.                                  <span class=\"focus-nft-input\"></span>
  309.                               </div>
  310.                            </div>
  311.                         </div>
  312.                         <div class=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12\">
  313.                            <div class=\"contact-box\">
  314.                               <div class=\"nft-input-box validate-input\" data-validate=\"Name is required\">
  315.                                  <span class=\"label-nft-input\">E-mail</span>
  316.                                  <input class=\"nft-input\" type=\"email\" name=\"name\" placeholder=\"nom@example.com\" required=\"\">
  317.                                  <span class=\"focus-nft-input\"></span>
  318.                               </div>
  319.                            </div>
  320.                         </div>
  321.                         <div class=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12\">
  322.                            <div class=\"contact-box\">
  323.                               <div class=\"nft-input-box validate-input\" data-validate=\"Name is required\">
  324.                                  <span class=\"label-nft-input\">Téléphone</span>
  325.                                  <input class=\"nft-input\" type=\"phone\" name=\"name\" placeholder=\"06.06.06.06.06\" required=\"\">
  326.                                  <span class=\"focus-nft-input\"></span>
  327.                               </div>
  328.                            </div>
  329.                         </div>
  330.                         <div class=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12\">
  331.                            <div class=\"contact-box\">
  332.                               <div class=\"nft-input-box validate-input\" data-validate=\"Name is required\">
  333.                                  <span class=\"label-nft-input\">Commentaire</span>
  334.                                  <input class=\"nft-input\" type=\"text\" name=\"signaler\">
  335.                                  <span class=\"focus-nft-input\"></span>
  336.                               </div>
  337.                            </div>
  338.                         </div>
  339.                         <!-- <div class=\"col-xl-6 col-lg-6 col-md-6 col-sm-12 col-12\">
  340.                            <div class=\"contact-box\">
  341.                               <div class=\"nft-input-box validate-input\" data-validate=\"Name is required\">
  342.                                  <span class=\"label-nft-input\">What are you contacting us about?</span>
  343.                                  <select class=\"nft-input\">
  344.                                     <option>List my contract/store</option>
  345.                                     <option>Technical Support</option>
  346.                                     <option>Business Enquiry</option>
  347.                                     <option>Media</option>
  348.                                     <option>Pro Services</option>
  349.                                     <option>Collaboration</option>
  350.                                  </select>
  351.                                  <span class=\"focus-nft-input\"></span>
  352.                               </div>
  353.                            </div>
  354.                         </div> -->
  355.                         <div class=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12\">
  356.                            <div class=\"contact-box text-left\" style=\"margin-top: 25px;\">
  357.                               <button class=\"theme-btn {% if app.user.type == 'part' %}bgreen{% else %}bblue{% endif %}\">Envoyer</button>
  358.                            </div>
  359.                         </div>
  360.                      </div>
  361.                   </div>
  362.                </div>
  363.             </div>
  364.          </div>
  365.       </section>
  366. {% endblock %}""default/contact1.html.twig""/var/www/vhosts/modixom.fr/httpdocs/templates/default/contact1.html.twig");
  367.     }
  368. }