var/cache/dev/twig/0b/0bd65656079676804030f0cd770dd1c37505fba17f74c098d15dc6f7133a0825.php line 49

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/contact.html.twig */
  14. class __TwigTemplate_766eb49d0e6030b9b5f56ab42e8482c41d77bc7716c8101709da05d60d031375 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/contact.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/contact.html.twig"));
  39.         $this->parent $this->loadTemplate("base2.html.twig""default/contact.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 "\">Signaler une annonce</h1>
  127.                     
  128.                      <p class=\"subtitle\">Je souhaite signaler cette annonce</p>
  129.                   </div>
  130.                </div>
  131.             </div>
  132.             <div class=\"row\">
  133.                <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\">
  134.                   <div class=\"contact-box-main\">
  135.                      <div class=\"row\">
  136.                         <div class=\"col-xl-6 col-lg-6 col-md-6 col-sm-12 col-12\">
  137.                            <div class=\"contact-box\">
  138.                               <div class=\"nft-input-box validate-input\" data-validate=\"Name is required\">
  139.                                  <span class=\"label-nft-input\">Prénom</span>
  140.                                  <input class=\"nft-input\" type=\"text\" name=\"name\" placeholder=\"\">
  141.                                  <span class=\"focus-nft-input\"></span>
  142.                               </div>
  143.                            </div>
  144.                         </div>
  145.                         <div class=\"col-xl-6 col-lg-6 col-md-6 col-sm-12 col-12\">
  146.                            <div class=\"contact-box\">
  147.                               <div class=\"nft-input-box validate-input\" data-validate=\"Name is required\">
  148.                                  <span class=\"label-nft-input\">Nom</span>
  149.                                  <input class=\"nft-input\" type=\"text\" name=\"name\" placeholder=\"\">
  150.                                  <span class=\"focus-nft-input\"></span>
  151.                               </div>
  152.                            </div>
  153.                         </div>
  154.                         <div class=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12\">
  155.                            <div class=\"contact-box\">
  156.                               <div class=\"nft-input-box validate-input\" data-validate=\"Name is required\">
  157.                                  <span class=\"label-nft-input\">E-mail</span>
  158.                                  <input class=\"nft-input\" type=\"email\" name=\"name\" placeholder=\"nom@example.com\" required=\"\">
  159.                                  <span class=\"focus-nft-input\"></span>
  160.                               </div>
  161.                            </div>
  162.                         </div>
  163.                         <div class=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12\">
  164.                            <div class=\"contact-box\">
  165.                               <div class=\"nft-input-box validate-input\" data-validate=\"Name is required\">
  166.                                  <span class=\"label-nft-input\">Je souhaite signaler cette annonce</span>
  167.                                  <input class=\"nft-input\" type=\"text\" name=\"signaler\" value=\"";
  168.         // line 105
  169.         echo twig_escape_filter($this->env, (isset($context["lienAnnonce"]) || array_key_exists("lienAnnonce"$context) ? $context["lienAnnonce"] : (function () { throw new RuntimeError('Variable "lienAnnonce" does not exist.'105$this->source); })()), "html"nulltrue);
  170.         echo "\">
  171.                                  <span class=\"focus-nft-input\"></span>
  172.                               </div>
  173.                            </div>
  174.                         </div>
  175.                         <!-- <div class=\"col-xl-6 col-lg-6 col-md-6 col-sm-12 col-12\">
  176.                            <div class=\"contact-box\">
  177.                               <div class=\"nft-input-box validate-input\" data-validate=\"Name is required\">
  178.                                  <span class=\"label-nft-input\">What are you contacting us about?</span>
  179.                                  <select class=\"nft-input\">
  180.                                     <option>List my contract/store</option>
  181.                                     <option>Technical Support</option>
  182.                                     <option>Business Enquiry</option>
  183.                                     <option>Media</option>
  184.                                     <option>Pro Services</option>
  185.                                     <option>Collaboration</option>
  186.                                  </select>
  187.                                  <span class=\"focus-nft-input\"></span>
  188.                               </div>
  189.                            </div>
  190.                         </div> -->
  191.                         <div class=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12\">
  192.                            <div class=\"contact-box\">
  193.                               <div class=\"nft-input-box validate-input\" data-validate=\"Name is required\">
  194.                                  <span class=\"label-nft-input\">Raison de votre signalement</span>
  195.                                  <textarea class=\"nft-input\" type=\"email\" name=\"name\" placeholder=\"\" rows=\"4\" required=\"\"></textarea>
  196.                                  <span class=\"focus-nft-input\"></span>
  197.                               </div>
  198.                            </div>
  199.                         </div>
  200.                         <div class=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12\">
  201.                            <div class=\"contact-box text-left\" style=\"margin-top: 25px;\">
  202.                               <button class=\"theme-btn ";
  203.         // line 139
  204.         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.'139$this->source); })()), "user", [], "any"falsefalsefalse139), "type", [], "any"falsefalsefalse139), "part"))) {
  205.             echo "bgreen";
  206.         } else {
  207.             echo "bblue";
  208.         }
  209.         echo "\">Envoyer</button>
  210.                            </div>
  211.                         </div>
  212.                      </div>
  213.                   </div>
  214.                </div>
  215.             </div>
  216.          </div>
  217.       </section>
  218. ";
  219.         
  220.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  221.         
  222.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  223.     }
  224.     public function getTemplateName()
  225.     {
  226.         return "default/contact.html.twig";
  227.     }
  228.     public function isTraitable()
  229.     {
  230.         return false;
  231.     }
  232.     public function getDebugInfo()
  233.     {
  234.         return array (  233 => 139,  196 => 105,  146 => 62,  88 => 6,  78 => 5,  59 => 3,  36 => 1,);
  235.     }
  236.     public function getSourceContext()
  237.     {
  238.         return new Source("{% extends 'base2.html.twig' %}
  239. {% block title %}Hello DefaultController!{% endblock %}
  240. {% block body %}
  241. <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>
  242. <link href=\"https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/css/select2.min.css\" rel=\"stylesheet\" />
  243. <script src=\"https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.8/js/select2.min.js\" defer></script>
  244. <style>
  245.     .txt-inscription,
  246.     label {
  247.        color: #adb9ca;
  248.     }
  249.  
  250.     button {
  251.        background-color: #adb9ca !important;
  252.        color: white !important;
  253.     }
  254.  
  255.     button:hover {
  256.        background-color: #0073CD !important;
  257.        color: white !important;
  258.     }
  259.  
  260.     .btn-logo {
  261.        width: 0.1px;
  262.        opacity: 0;
  263.     }
  264.  
  265.     #pro .style-choix-logo {
  266.        background-color: #adb9ca;
  267.        color: white;
  268.        padding: 0.5em;
  269.        border-radius: 5px;
  270.     }
  271.       #part .style-choix-logo {
  272.          background-color: #B0DB82 !important;
  273.          color: white !important;
  274.          padding: 0.5em;
  275.        border-radius: 5px;
  276.       }  
  277.       #part .theme-btn-pro{
  278.          background-color: #B0DB82 !important;
  279.          color: white !important;
  280.       }
  281.       #pro .theme-btn-pro{
  282.          background-color: #adb9ca;
  283.          color: white;
  284.       }
  285.  </style>
  286.  <section class=\"contact-area page-paddings\" style=\"background-color: white\">
  287.          <div class=\"container\">
  288.             <div class=\"row\">
  289.                <div class=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12\">
  290.                   <div class=\"section-title text-center\">
  291.                      <h1 data-watermark=\"Contact\" class=\"{% if app.user.type == 'part' %}green{% else %}blue{% endif %}\">Signaler une annonce</h1>
  292.                     
  293.                      <p class=\"subtitle\">Je souhaite signaler cette annonce</p>
  294.                   </div>
  295.                </div>
  296.             </div>
  297.             <div class=\"row\">
  298.                <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\">
  299.                   <div class=\"contact-box-main\">
  300.                      <div class=\"row\">
  301.                         <div class=\"col-xl-6 col-lg-6 col-md-6 col-sm-12 col-12\">
  302.                            <div class=\"contact-box\">
  303.                               <div class=\"nft-input-box validate-input\" data-validate=\"Name is required\">
  304.                                  <span class=\"label-nft-input\">Prénom</span>
  305.                                  <input class=\"nft-input\" type=\"text\" name=\"name\" placeholder=\"\">
  306.                                  <span class=\"focus-nft-input\"></span>
  307.                               </div>
  308.                            </div>
  309.                         </div>
  310.                         <div class=\"col-xl-6 col-lg-6 col-md-6 col-sm-12 col-12\">
  311.                            <div class=\"contact-box\">
  312.                               <div class=\"nft-input-box validate-input\" data-validate=\"Name is required\">
  313.                                  <span class=\"label-nft-input\">Nom</span>
  314.                                  <input class=\"nft-input\" type=\"text\" name=\"name\" placeholder=\"\">
  315.                                  <span class=\"focus-nft-input\"></span>
  316.                               </div>
  317.                            </div>
  318.                         </div>
  319.                         <div class=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12\">
  320.                            <div class=\"contact-box\">
  321.                               <div class=\"nft-input-box validate-input\" data-validate=\"Name is required\">
  322.                                  <span class=\"label-nft-input\">E-mail</span>
  323.                                  <input class=\"nft-input\" type=\"email\" name=\"name\" placeholder=\"nom@example.com\" required=\"\">
  324.                                  <span class=\"focus-nft-input\"></span>
  325.                               </div>
  326.                            </div>
  327.                         </div>
  328.                         <div class=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12\">
  329.                            <div class=\"contact-box\">
  330.                               <div class=\"nft-input-box validate-input\" data-validate=\"Name is required\">
  331.                                  <span class=\"label-nft-input\">Je souhaite signaler cette annonce</span>
  332.                                  <input class=\"nft-input\" type=\"text\" name=\"signaler\" value=\"{{lienAnnonce}}\">
  333.                                  <span class=\"focus-nft-input\"></span>
  334.                               </div>
  335.                            </div>
  336.                         </div>
  337.                         <!-- <div class=\"col-xl-6 col-lg-6 col-md-6 col-sm-12 col-12\">
  338.                            <div class=\"contact-box\">
  339.                               <div class=\"nft-input-box validate-input\" data-validate=\"Name is required\">
  340.                                  <span class=\"label-nft-input\">What are you contacting us about?</span>
  341.                                  <select class=\"nft-input\">
  342.                                     <option>List my contract/store</option>
  343.                                     <option>Technical Support</option>
  344.                                     <option>Business Enquiry</option>
  345.                                     <option>Media</option>
  346.                                     <option>Pro Services</option>
  347.                                     <option>Collaboration</option>
  348.                                  </select>
  349.                                  <span class=\"focus-nft-input\"></span>
  350.                               </div>
  351.                            </div>
  352.                         </div> -->
  353.                         <div class=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12\">
  354.                            <div class=\"contact-box\">
  355.                               <div class=\"nft-input-box validate-input\" data-validate=\"Name is required\">
  356.                                  <span class=\"label-nft-input\">Raison de votre signalement</span>
  357.                                  <textarea class=\"nft-input\" type=\"email\" name=\"name\" placeholder=\"\" rows=\"4\" required=\"\"></textarea>
  358.                                  <span class=\"focus-nft-input\"></span>
  359.                               </div>
  360.                            </div>
  361.                         </div>
  362.                         <div class=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12\">
  363.                            <div class=\"contact-box text-left\" style=\"margin-top: 25px;\">
  364.                               <button class=\"theme-btn {% if app.user.type == 'part' %}bgreen{% else %}bblue{% endif %}\">Envoyer</button>
  365.                            </div>
  366.                         </div>
  367.                      </div>
  368.                   </div>
  369.                </div>
  370.             </div>
  371.          </div>
  372.       </section>
  373. {% endblock %}""default/contact.html.twig""/var/www/vhosts/modixom.fr/httpdocs/templates/default/contact.html.twig");
  374.     }
  375. }