<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* Theme/Projet/Projet/Projet/mplaceslocal.html.twig */
class __TwigTemplate_9690ceeb28c36185771c59e318b13398a092db666a4481559eb283a46af96681 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'meta' => [$this, 'block_meta'],
'title' => [$this, 'block_title'],
'stylesheets' => [$this, 'block_stylesheets'],
'userblog_body' => [$this, 'block_userblog_body'],
'srcjavascripttemplate' => [$this, 'block_srcjavascripttemplate'],
'javascripttemplate' => [$this, 'block_javascripttemplate'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "Theme/Users/User/layoutuser.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Theme/Projet/Projet/Projet/mplaceslocal.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Theme/Projet/Projet/Projet/mplaceslocal.html.twig"));
$this->parent = $this->loadTemplate("Theme/Users/User/layoutuser.html.twig", "Theme/Projet/Projet/Projet/mplaceslocal.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 2
public function block_meta($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta"));
// line 3
echo "
\t";
// line 4
$this->displayParentBlock("meta", $context, $blocks);
echo "
\t<meta name=\"keywords\" content=\"";
// line 5
echo twig_escape_filter($this->env, (isset($context["site"]) || array_key_exists("site", $context) ? $context["site"] : (function () { throw new RuntimeError('Variable "site" does not exist.', 5, $this->source); })()), "html", null, true);
echo ", Catalogue, Produit,";
echo twig_escape_filter($this->env, (isset($context["keywords"]) || array_key_exists("keywords", $context) ? $context["keywords"] : (function () { throw new RuntimeError('Variable "keywords" does not exist.', 5, $this->source); })()), "html", null, true);
echo "\"/>
\t<meta name=\"author\" content=\"Noel Kenfack\"/>
\t<meta name=\"description\" content=\"";
// line 7
echo twig_escape_filter($this->env, (isset($context["site"]) || array_key_exists("site", $context) ? $context["site"] : (function () { throw new RuntimeError('Variable "site" does not exist.', 7, $this->source); })()), "html", null, true);
echo " | Liste des boutiques ";
echo twig_escape_filter($this->env, (isset($context["site"]) || array_key_exists("site", $context) ? $context["site"] : (function () { throw new RuntimeError('Variable "site" does not exist.', 7, $this->source); })()), "html", null, true);
echo "\"/>
\t<link rel=\"stylesheet\" href=\"";
// line 8
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("autocomplete/css/jquery.auto-complete.css"), "html", null, true);
echo "\">
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 12
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
// line 13
echo "\t";
$this->displayParentBlock("title", $context, $blocks);
echo " | Boutiques
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 16
public function block_stylesheets($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
// line 17
echo "\t";
$this->displayParentBlock("stylesheets", $context, $blocks);
echo "
\t<style>
\t\t.selectpicker_hidden .nice-select{
\t\t\tdisplay: none!important;
\t\t}
\t\t.select2-container--default .select2-selection--single {
\t\t\tpadding-top: 4px!important;
\t\t\theight: 40px!important;
\t\t}
\t\t.select2-container--default .select2-selection--single .select2-selection__rendered {
\t\t\tline-height: 28px!important;
\t\t\tfont-size: 15px;
\t\t}
\t\t.select2-container--default .select2-selection--single .select2-selection__arrow b {
\t\t\tmargin-top: 7px!important;
\t\t}
\t</style>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 38
public function block_userblog_body($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "userblog_body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "userblog_body"));
// line 39
echo "
<section style=\"padding: 15px 0px 5px 0px; background: #f7f7f7;\">
\t<div class=\"container\">
\t\t<div class=\"row\">
\t\t\t<div class=\"col-md-8\">
\t\t\t\t<ul class=\"breadcrumbs\">
\t\t\t\t\t<li><a href=\"";
// line 45
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("users_user_acces_plateforme");
echo "\"><i class=\"fa fa-home\" style=\"font-size: 11px;\"></i> ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Accueil"), "html", null, true);
echo "</a></li>
\t\t\t\t\t<li><a href=\"";
// line 46
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("projet_projet_mplaces_local");
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Boutiques"), "html", null, true);
echo "</a></li>
\t\t\t\t\t<li>";
// line 47
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Toutes les boutiques"), "html", null, true);
echo "</li>
\t\t\t\t</ul>
\t\t\t</div>
\t\t\t<div class=\"col-md-4 text-right\">
\t\t\t\t";
// line 51
$this->loadTemplate("Theme/General/Template/Menu/contacts.html.twig", "Theme/Projet/Projet/Projet/mplaceslocal.html.twig", 51)->display($context);
// line 52
echo "\t\t\t</div>
\t\t</div>
\t</div>
</section>
<div class=\"section-content\">
<div class=\"container\">
<div class=\"row\">
\t<div class=\"col-md-12\">
\t\t<div class=\"animecourant-panel\" style=\"display: block;\">
\t\t\t\t
\t\t</div>
\t</div>
</div>
<div class=\"row\">
\t<div class=\"col-md-3\" style=\"padding: 3px;\">
\t\t<div class=\"toutleblock\">
\t\t<div style=\"margin:0px; box-shadow:0px 0px 2px rgba(0,0,0,0.01); background: #fff;\">
\t\t<ul class=\"list-group\">
\t\t\t
\t\t\t";
// line 73
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\Produit\\Produit\\CategorieController:menusouscategorie", ["taille" => 10]));
echo "
\t\t\t
\t </ul>
\t\t</div>
\t\t
\t\t<div style=\"margin: 7px 0px 0px 0px; box-shadow:0px 0px 2px rgba(0,0,0,0.01); background: #fff;\">
\t\t <ul class=\"list-group\">
\t\t\t
\t\t\t";
// line 81
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\Produit\\Produit\\MarqueproduitController:menumarque", ["taille" => 10, "position" => "produit"]));
echo "
\t\t\t
\t\t </ul>
\t\t</div>
\t\t
\t\t <div class=\"col-xs-12 col-sm-12 col-md-12 col-lg-12 stop-courant-panel\">
\t\t </div>
\t\t </div>
\t</div>
\t
\t<div class=\"col-md-9\" style=\"padding: 3px;\">
\t\t<div class=\"row\" style=\"margin: 0px 0px 15px 0px;\">
\t\t\t<div class=\"col-md-12\">
\t\t\t\t<h3 class=\"breadcrumbs-title\">
\t\t\t\t ";
// line 96
if ((0 !== twig_compare((isset($context["pays"]) || array_key_exists("pays", $context) ? $context["pays"] : (function () { throw new RuntimeError('Variable "pays" does not exist.', 96, $this->source); })()), null))) {
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["pays"]) || array_key_exists("pays", $context) ? $context["pays"] : (function () { throw new RuntimeError('Variable "pays" does not exist.', 96, $this->source); })()), "nom", [], "any", false, false, false, 96), "html", null, true);
echo " <span class=\"fa fa-angle-right\" style=\"font-size: 12px;\"></span>";
}
echo " ";
if ((0 !== twig_compare((isset($context["ville"]) || array_key_exists("ville", $context) ? $context["ville"] : (function () { throw new RuntimeError('Variable "ville" does not exist.', 96, $this->source); })()), null))) {
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["ville"]) || array_key_exists("ville", $context) ? $context["ville"] : (function () { throw new RuntimeError('Variable "ville" does not exist.', 96, $this->source); })()), "nom", [], "any", false, false, false, 96), "html", null, true);
echo " <span class=\"fa fa-angle-right\" style=\"font-size: 12px;\"></span>";
}
if ((0 !== twig_compare((isset($context["typeprojet"]) || array_key_exists("typeprojet", $context) ? $context["typeprojet"] : (function () { throw new RuntimeError('Variable "typeprojet" does not exist.', 96, $this->source); })()), null))) {
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["typeprojet"]) || array_key_exists("typeprojet", $context) ? $context["typeprojet"] : (function () { throw new RuntimeError('Variable "typeprojet" does not exist.', 96, $this->source); })()), "nom", [], "any", false, false, false, 96), "html", null, true);
echo " <span class=\"fa fa-angle-right\" style=\"font-size: 12px;\"></span>";
}
echo " ";
if ((((0 === twig_compare((isset($context["ville"]) || array_key_exists("ville", $context) ? $context["ville"] : (function () { throw new RuntimeError('Variable "ville" does not exist.', 96, $this->source); })()), null)) && (0 === twig_compare((isset($context["pays"]) || array_key_exists("pays", $context) ? $context["pays"] : (function () { throw new RuntimeError('Variable "pays" does not exist.', 96, $this->source); })()), null))) && (0 === twig_compare((isset($context["typeprojet"]) || array_key_exists("typeprojet", $context) ? $context["typeprojet"] : (function () { throw new RuntimeError('Variable "typeprojet" does not exist.', 96, $this->source); })()), null)))) {
echo "Boutiques <span class=\"fa fa-angle-right\" style=\"font-size: 12px;\"></span> Liste complète";
} else {
echo "Boutiques ";
}
// line 97
echo "\t\t\t\t</h3>
\t\t\t\t<div class=\"divider\"></div>
\t\t\t</div>
\t\t</div>
\t\t<form class=\"row search-form-top-side\" action=\"";
// line 101
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("projet_projet_select_filtre_projet");
echo "\" method=\"post\" id=\"submit-form-filter\">
\t\t <div class=\"form-group col-md-3 selectpicker_hidden\">
\t\t\t<select name=\"paysid\" id=\"struct_pays_filtre\" class=\"form-control\" style=\"width: 100%!important;\">
\t\t\t <option value=\"0\">";
// line 104
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Tous les pays"), "html", null, true);
echo "</option>
\t\t\t ";
// line 105
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["liste_pays"]) || array_key_exists("liste_pays", $context) ? $context["liste_pays"] : (function () { throw new RuntimeError('Variable "liste_pays" does not exist.', 105, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["p"]) {
// line 106
echo "\t\t\t <option value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["p"], "id", [], "any", false, false, false, 106), "html", null, true);
echo "\" ";
if ((0 === twig_compare($context["p"], (isset($context["pays"]) || array_key_exists("pays", $context) ? $context["pays"] : (function () { throw new RuntimeError('Variable "pays" does not exist.', 106, $this->source); })())))) {
echo "selected";
} else {
if ((0 === twig_compare(twig_get_attribute($this->env, $this->source, $context["p"], "nom", [], "any", false, false, false, 106), "cameroun"))) {
echo "selected";
} else {
}
}
echo ">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["p"], "nom", [], "any", false, false, false, 106), "html", null, true);
echo "</option>
\t\t\t ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['p'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 108
echo "\t\t\t</select>
\t\t </div>
\t\t <div class=\"form-group col-md-3\">
\t\t\t<select name=\"secteurid\" id=\"struct_typefiltre\" class=\"form-control\" style=\"min-width: 100%!important;\">
\t\t\t <option value=\"0\">";
// line 112
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Tous les secteurs"), "html", null, true);
echo "</option>
\t\t\t ";
// line 113
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["liste_type"]) || array_key_exists("liste_type", $context) ? $context["liste_type"] : (function () { throw new RuntimeError('Variable "liste_type" does not exist.', 113, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["t"]) {
// line 114
echo "\t\t\t <option value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["t"], "id", [], "any", false, false, false, 114), "html", null, true);
echo "\" ";
if ((0 === twig_compare($context["t"], (isset($context["typeprojet"]) || array_key_exists("typeprojet", $context) ? $context["typeprojet"] : (function () { throw new RuntimeError('Variable "typeprojet" does not exist.', 114, $this->source); })())))) {
echo "selected";
} else {
}
echo ">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["t"], "nom", [], "any", false, false, false, 114), "html", null, true);
echo "</option>
\t\t\t ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['t'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 116
echo "\t\t\t</select>
\t\t </div>
\t\t <div class=\"form-group col-md-3 zone-recherche-quartier\" value=\"0\" name=\"\">
\t\t\t<input type=\"text\" name=\"villename\" id=\"departement_etab\" class=\"form-control\" placeholder=\"Ville\" value=\"";
// line 119
if ((0 !== twig_compare((isset($context["ville"]) || array_key_exists("ville", $context) ? $context["ville"] : (function () { throw new RuntimeError('Variable "ville" does not exist.', 119, $this->source); })()), null))) {
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["ville"]) || array_key_exists("ville", $context) ? $context["ville"] : (function () { throw new RuntimeError('Variable "ville" does not exist.', 119, $this->source); })()), "nom", [], "any", false, false, false, 119), "html", null, true);
}
echo "\" style=\"height: 40px;\"/>
\t\t </div>
\t\t <div class=\"form-group col-md-3\">
\t\t\t<button class=\"btn waves-effect waves-light bg-struct\" title=\"";
// line 122
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Filtrer"), "html", null, true);
echo "\" style=\"margin-top: -5px; float: right; width: 100%; border-radius: 7px;\" type=\"submit\">Envoyer <i class=\"fa fa-search\"></i></button>
\t\t </div>
\t\t</form>
\t\t
\t\t
\t\t<div class=\"card-body\" style=\"margin: 0px; padding: 0px;\">
\t\t<div class=\"basis-member staff\" style=\"margin: 0px; padding: 0px;\">
\t\t<div class=\"row\">
\t\t";
// line 130
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["liste_projet"]) || array_key_exists("liste_projet", $context) ? $context["liste_projet"] : (function () { throw new RuntimeError('Variable "liste_projet" does not exist.', 130, $this->source); })()));
$context['_iterated'] = false;
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["projet"]) {
// line 131
echo "\t\t\t<div class=\"col-md-4\">
\t\t\t\t";
// line 132
$this->loadTemplate("Theme/Projet/Projet/Projet/projetdescription.html.twig", "Theme/Projet/Projet/Projet/mplaceslocal.html.twig", 132)->display($context);
// line 133
echo "\t\t\t</div>
\t\t";
$context['_iterated'] = true;
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
if (!$context['_iterated']) {
// line 135
echo "\t\t\t<div class=\"col-md-12\">
\t\t\t\t<ul class=\"collapsible collapsible-accordion\" data-collapsible=\"accordion\" style=\"box-shadow: none;\">
\t\t\t\t\t<div style=\"height: 400px; border-left: 4px solid #3565ae; padding: 5px;\">
\t\t\t\t\t\t<div style=\"border-left: 5px solid #3565ae; padding: 3px; background: #f5f5f5; color: red;\">";
// line 138
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Aucune information disponible pour cette section"), "html", null, true);
echo "</div>
\t\t\t\t\t</div>
\t\t\t\t</ul>\t\t\t
\t\t\t</div>
\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['projet'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 143
echo "\t\t</div>
\t\t</div>
\t\t</div>
\t\t
\t\t<div class=\"clearfix\"></div>
\t\t ";
// line 148
if ((1 === twig_compare((isset($context["nombrepage"]) || array_key_exists("nombrepage", $context) ? $context["nombrepage"] : (function () { throw new RuntimeError('Variable "nombrepage" does not exist.', 148, $this->source); })()), 0))) {
// line 149
echo "\t\t\t\t\t\t
\t\t\t";
// line 150
if (((1 === twig_compare((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 150, $this->source); })()), 1)) && (0 >= twig_compare((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 150, $this->source); })()), (isset($context["nombrepage"]) || array_key_exists("nombrepage", $context) ? $context["nombrepage"] : (function () { throw new RuntimeError('Variable "nombrepage" does not exist.', 150, $this->source); })()))))) {
// line 151
echo "\t\t\t";
$context["pagepre"] = ((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 151, $this->source); })()) - 1);
// line 152
echo "\t\t\t";
} else {
// line 153
echo "\t\t\t\t";
$context["pagepre"] = (isset($context["nombrepage"]) || array_key_exists("nombrepage", $context) ? $context["nombrepage"] : (function () { throw new RuntimeError('Variable "nombrepage" does not exist.', 153, $this->source); })());
// line 154
echo "\t\t\t";
}
// line 155
echo "
\t\t\t";
// line 156
if ((-1 === twig_compare((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 156, $this->source); })()), (isset($context["nombrepage"]) || array_key_exists("nombrepage", $context) ? $context["nombrepage"] : (function () { throw new RuntimeError('Variable "nombrepage" does not exist.', 156, $this->source); })())))) {
// line 157
echo "\t\t\t\t";
$context["pagesuiv"] = ((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 157, $this->source); })()) + 1);
// line 158
echo "\t\t\t";
} else {
// line 159
echo "\t\t\t\t";
$context["pagesuiv"] = 1;
// line 160
echo "\t\t\t";
}
// line 161
echo "
\t\t\t";
// line 162
if ((-1 === twig_compare((isset($context["nombrepage"]) || array_key_exists("nombrepage", $context) ? $context["nombrepage"] : (function () { throw new RuntimeError('Variable "nombrepage" does not exist.', 162, $this->source); })()), 5))) {
// line 163
echo "\t\t\t\t";
$context["debut"] = 1;
// line 164
echo "\t\t\t\t";
$context["fin"] = (isset($context["nombrepage"]) || array_key_exists("nombrepage", $context) ? $context["nombrepage"] : (function () { throw new RuntimeError('Variable "nombrepage" does not exist.', 164, $this->source); })());
// line 165
echo "\t\t\t";
} else {
// line 166
echo "\t\t\t\t";
if (((1 === twig_compare((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 166, $this->source); })()), 2)) && (-1 === twig_compare((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 166, $this->source); })()), ((isset($context["nombrepage"]) || array_key_exists("nombrepage", $context) ? $context["nombrepage"] : (function () { throw new RuntimeError('Variable "nombrepage" does not exist.', 166, $this->source); })()) - 2))))) {
// line 167
echo "\t\t\t\t\t";
$context["debut"] = ((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 167, $this->source); })()) - 2);
// line 168
echo "\t\t\t\t\t";
if ((0 <= twig_compare(((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 168, $this->source); })()) + 2), (isset($context["nombrepage"]) || array_key_exists("nombrepage", $context) ? $context["nombrepage"] : (function () { throw new RuntimeError('Variable "nombrepage" does not exist.', 168, $this->source); })())))) {
// line 169
echo "\t\t\t\t\t\t";
$context["fin"] = (isset($context["nombrepage"]) || array_key_exists("nombrepage", $context) ? $context["nombrepage"] : (function () { throw new RuntimeError('Variable "nombrepage" does not exist.', 169, $this->source); })());
// line 170
echo "\t\t\t\t\t";
} else {
// line 171
echo "\t\t\t\t\t\t";
$context["fin"] = ((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 171, $this->source); })()) + 2);
// line 172
echo "\t\t\t\t\t";
}
// line 173
echo "\t\t\t\t";
} else {
// line 174
echo "\t\t\t\t\t";
if ((0 >= twig_compare((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 174, $this->source); })()), 2))) {
// line 175
echo "\t\t\t\t\t\t";
if ((0 === twig_compare((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 175, $this->source); })()), 1))) {
// line 176
echo "\t\t\t\t\t\t\t";
$context["debut"] = 1;
// line 177
echo "\t\t\t\t\t\t\t";
$context["fin"] = ((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 177, $this->source); })()) + 3);
// line 178
echo "\t\t\t\t\t\t";
} else {
// line 179
echo "\t\t\t\t\t\t\t";
$context["debut"] = 1;
// line 180
echo "\t\t\t\t\t\t\t";
$context["fin"] = ((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 180, $this->source); })()) + 2);
// line 181
echo "\t\t\t\t\t\t";
}
// line 182
echo "\t\t\t\t\t";
} else {
// line 183
echo "\t\t\t\t\t\t";
$context["debut"] = ((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 183, $this->source); })()) - 2);
// line 184
echo "\t\t\t\t\t\t";
if ((0 <= twig_compare(((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 184, $this->source); })()) + 2), (isset($context["nombrepage"]) || array_key_exists("nombrepage", $context) ? $context["nombrepage"] : (function () { throw new RuntimeError('Variable "nombrepage" does not exist.', 184, $this->source); })())))) {
// line 185
echo "\t\t\t\t\t\t\t";
$context["fin"] = (isset($context["nombrepage"]) || array_key_exists("nombrepage", $context) ? $context["nombrepage"] : (function () { throw new RuntimeError('Variable "nombrepage" does not exist.', 185, $this->source); })());
// line 186
echo "\t\t\t\t\t\t";
} else {
// line 187
echo "\t\t\t\t\t\t\t";
$context["fin"] = ((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 187, $this->source); })()) + 2);
// line 188
echo "\t\t\t\t\t\t";
}
// line 189
echo "\t\t\t\t\t";
}
// line 190
echo "\t\t\t\t";
}
// line 191
echo "\t\t\t\t
\t\t\t";
}
// line 193
echo "\t\t\t
\t\t\t<div class=\"row\" style=\"margin: 15px 0px;\">
\t\t\t <div class=\"col-md-12\">
\t\t\t <div class=\"flex-container\" style=\"background: #fafafa; \">
\t\t\t\t <div class=\"paginate-ctn\">
\t\t\t\t\t<a href=\"";
// line 199
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("produit_produit_marques_prod", ["page" => 1]);
echo "\" style=\"display: inline-block;\" class=\"round-effect\"> <span class=\"fa fa-fast-backward\"></span> </a>
\t\t\t\t\t<a href=\"";
// line 200
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("produit_produit_marques_prod", ["page" => (isset($context["pagepre"]) || array_key_exists("pagepre", $context) ? $context["pagepre"] : (function () { throw new RuntimeError('Variable "pagepre" does not exist.', 200, $this->source); })())]), "html", null, true);
echo "\" style=\"display: inline-block;\" class=\"round-effect\"> <span class=\"fa fa-step-backward\"></span> </a>
\t\t\t\t\t";
// line 201
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(range((isset($context["debut"]) || array_key_exists("debut", $context) ? $context["debut"] : (function () { throw new RuntimeError('Variable "debut" does not exist.', 201, $this->source); })()), (isset($context["fin"]) || array_key_exists("fin", $context) ? $context["fin"] : (function () { throw new RuntimeError('Variable "fin" does not exist.', 201, $this->source); })())));
foreach ($context['_seq'] as $context["_key"] => $context["p"]) {
// line 202
echo "\t\t\t\t\t\t<a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("produit_produit_marques_prod", ["page" => $context["p"]]), "html", null, true);
echo "\" style=\"display: inline-block;\" class=\"round-effect ";
if ((0 === twig_compare($context["p"], (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 202, $this->source); })())))) {
echo "activepage";
}
echo "\">";
echo twig_escape_filter($this->env, $context["p"], "html", null, true);
echo "</a>
\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['p'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 204
echo "\t\t\t\t\t<a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("produit_produit_marques_prod", ["page" => (isset($context["pagesuiv"]) || array_key_exists("pagesuiv", $context) ? $context["pagesuiv"] : (function () { throw new RuntimeError('Variable "pagesuiv" does not exist.', 204, $this->source); })())]), "html", null, true);
echo "\" style=\"display: inline-block;\" class=\"round-effect\"> <span class=\"fa fa-step-forward\"></span> </a>
\t\t\t\t\t<a href=\"";
// line 205
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("produit_produit_marques_prod", ["page" => (isset($context["nombrepage"]) || array_key_exists("nombrepage", $context) ? $context["nombrepage"] : (function () { throw new RuntimeError('Variable "nombrepage" does not exist.', 205, $this->source); })())]), "html", null, true);
echo "\" style=\"display: inline-block;\" class=\"round-effect\"> <span class=\"fa fa-fast-forward\"></span> </a>
\t\t\t\t </div>
\t\t\t </div>
\t\t\t </div>
\t\t\t</div>
\t\t\t<div class=\"clearfix\"></div>
\t\t\t";
} else {
// line 212
echo "
\t\t\t<div class=\"row\" style=\"margin: 15px 0px;\">
\t\t\t <div class=\"col-md-12\">
\t\t\t <div class=\"flex-container\" style=\"background: #fafafa; \">
\t\t\t\t <div class=\"paginate-ctn\">
\t\t\t\t\t<a href=\"";
// line 217
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("produit_produit_marques_prod", ["page" => (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 217, $this->source); })())]), "html", null, true);
echo "\" style=\"display: inline-block;\" class=\"round-effect\"> <span class=\"fa fa-fast-backward\"></span> </a>
\t\t\t\t\t<a href=\"";
// line 218
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("produit_produit_marques_prod", ["page" => (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 218, $this->source); })())]), "html", null, true);
echo "\" style=\"display: inline-block;\" class=\"round-effect\"> <span class=\"fa fa-step-backward\"></span> </a>
\t\t\t\t\t\t<a href=\"";
// line 219
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("produit_produit_marques_prod", ["page" => 1]);
echo "\" style=\"display: inline-block;\" class=\"round-effect activepage\">1</a>
\t\t\t\t\t<a href=\"";
// line 220
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("produit_produit_marques_prod", ["page" => (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 220, $this->source); })())]), "html", null, true);
echo "\" style=\"display: inline-block;\" class=\"round-effect\"> <span class=\"fa fa-step-forward\"></span> </a>
\t\t\t\t\t<a href=\"";
// line 221
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("produit_produit_marques_prod", ["page" => (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 221, $this->source); })())]), "html", null, true);
echo "\" style=\"display: inline-block;\" class=\"round-effect\"> <span class=\"fa fa-fast-forward\"></span> </a>
\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t</div>
\t\t\t<div class=\"clearfix\"></div>
\t\t\t";
}
// line 229
echo "\t</div>
</div>
</div>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 237
public function block_srcjavascripttemplate($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "srcjavascripttemplate"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "srcjavascripttemplate"));
// line 238
echo "<script src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("template/js/onvisible.js"), "html", null, true);
echo "\" type=\"text/javascript\"></script>
<script src=\"";
// line 239
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("autocomplete/js/jquery.auto-complete.js"), "html", null, true);
echo "\"></script>
<link href=\"";
// line 240
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("template/css/select2.min.css"), "html", null, true);
echo "\" rel=\"stylesheet\"/>
<script src=\"";
// line 241
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("template/js/select2.min.js"), "html", null, true);
echo "\"></script>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 244
public function block_javascripttemplate($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripttemplate"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripttemplate"));
// line 245
echo "
var \$disabledResults = \$(\"#struct_pays_filtre\");
\$disabledResults.select2();
var bouge = 1;
var dimension = 200;
function activateelement()
{
var visibility = visibleElement('.animecourant-panel');
if(visibility && bouge == 0){
\tbouge = 1;
\t\$('.toutleblock').css('position','relative');
\t\$('.toutleblock').css('bottom','0px');
\t\$('.toutleblock').css('margin-bottom','0px');
}
}
function stopelement()
{
var visibility = visibleElement('.stop-courant-panel');
if(visibility && bouge == 1){
\tif(visibleElement('.animecourant-panel') && visibleElement('.stop-courant-panel'))
\t{
\t}else{
\tbouge = 0;
\t\$('.toutleblock').css('position','fixed');
\t\$('.toutleblock').css('width',dimension+'px');
\t\$('.toutleblock').css('bottom','7px');
\t\$('.toutleblock').css('margin-bottom','0px');
\t}
}
}
function controlScroll()
{
\tvar largeur = (\$(window).width());
\tdimension = \$('.toutleblock').width();
\tif (largeur >= 768)
\t{
\t\tif(visibleElement('.animecourant-panel') && visibleElement('.stop-courant-panel'))
\t\t{
\t\t\$('.toutleblock').css('position','fixed');
\t\t\$('.toutleblock').css('width',dimension+'px');
\t\t}else{
\t\twindow.setInterval(function() { stopelement(); }, 100);
\t\twindow.setInterval(function() { activateelement(); }, 100);
\t\t}
\t\t
\t}
}
controlScroll();
\$('.modal-trigger-add-pme').click(function(){
\topenformNewProjet();
});
";
// line 303
if ((0 === twig_compare((isset($context["add"]) || array_key_exists("add", $context) ? $context["add"] : (function () { throw new RuntimeError('Variable "add" does not exist.', 303, $this->source); })()), 1))) {
// line 304
echo "\topenformNewProjet();
";
}
// line 306
echo "
function openformNewProjet()
{
\t\$('#modal-souscription-offert').modal('show');
\t
\t\$('.wait-chargement-content-module').show();
\t\$('.content-module-loading').hide();
\t\$.post('";
// line 313
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("projet_projet_form_add_new_projet");
echo "', function(data){
\t\t\$('.wait-chargement-content-module').hide();
\t\t\$('.content-module-loading').html(data);
\t\t\$('.content-module-loading').show();
\t});
}
var jsonresult = ";
// line 319
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\Produit\\Service\\VilleController:autorechercheville", ["taille" => 500]));
echo ";
var j = 0;
var departchoices = [];
for(var n in jsonresult){
\tnom = jsonresult[n].nom;
\tdrapeau = jsonresult[n].drapeau;
\tid = jsonresult[n].id;
\tnum = nom+\":\"+drapeau;
\tcourantelem = [nom,drapeau,id];
\tdepartchoices[j] = courantelem;
\tj++;
}
\$('#departement_etab').autoComplete({
minChars: 0,
source: function(term, suggest){
term = term.toLowerCase();
var suggestions = [];
for (i=0;i< departchoices.length;i++)
if (~(departchoices[i][0]+' '+departchoices[i][1]).toLowerCase().indexOf(term)) suggestions.push(departchoices[i]);
suggest(suggestions);
},
renderItem: function (item, search){
search = search.replace(/[-\\/\\\\^\$*+?.()|[\\]{}]/g, '\\\\\$&');
var re = new RegExp(\"(\" + search.split(' ').join('|') + \")\", \"gi\");
return '<div class=\"autocomplete-suggestion\" data-langname=\"'+item[0]+'\" data-lang=\"'+item[1]+'\" data-id=\"'+item[2]+'\" data-val=\"'+search+'\" data-img=\"'+item[1]+'\"><img src=\"";
// line 344
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(""), "html", null, true);
echo "'+item[1]+'\" style=\"width: 30px; height: 20px; padding: 2px; margin-bottom: -5px!important;\"> '+item[0].replace(re, \"<b>\$1</b>\")+'</div>';
},
onSelect: function(e, term, item){
\t\t\$('#departement_etab').val(item.data(\"langname\"));
},
\tcache: false
});
\$(\"#departement_etab\").focus(function(){
\trechercheutilisateur();
});
function rechercheutilisateur()
{
\tif(\$('#departement_etab').val().length >= 2)// on vérifier si l'utilisateur a entré plus de 5 caractères
\t{
\t var libre = \$('.zone-recherche-quartier').attr('value'); // on initialise la variable libre
\t var donnee = \$('#departement_etab').val(); //on récupère la donnée
\t if (libre == 0 && donnee != \$('.zone-recherche-quartier').attr('name')){ // on vérifier si la requête précedente est rétournée et que la recherche ne corespnd pas à la dernière effectuée
\t \$('.zone-recherche-quartier').attr('value',1); // on bloque d'autres recherches
\t \$('.zone-recherche-quartier').attr('name',donnee); // on enregistre la recherche effectuer.
\t
\t \$.ajax({
\t\t\turl : '";
// line 367
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("produit_service_auto_recherche_ville");
echo "',
\t\t\tdata : 'donnee='+donnee+'',
\t\t\ttype : 'POST',
\t\t\tdataType : 'json',
\t\t\tsuccess : function(data, statut){
\t\t\t\t
\t\t\t\t\$('.zone-recherche-quartier').attr('value',0); // on libère d'autre recherches
\t\t\t\tcompt = departchoices.length;
\t\t\t\tjsonresulta = data;
\t\t\t\t
\t\t\t\t
\t\t\t\tfor(var n in jsonresulta){
\t\t\t\t\tnom = jsonresulta[n].nom;
\t\t\t\t\tdrapeau = jsonresulta[n].drapeau;
\t\t\t\t\tid = jsonresulta[n].id;
\t\t\t\t\tnum = nom+\":\"+drapeau;
\t\t\t\t\tcourantelem = [nom,drapeau,id];
\t\t\t\t\tdepartchoices[compt] = courantelem;
\t\t\t\t\tcompt++;
\t\t\t\t}
\t\t\t setTimeout(function(){ rechercheutilisateur(); }, 100); // on relance la fonction après 200 ms.
\t\t\t
\t\t\t}
\t\t});
\t }else{
\t\tsetTimeout(function() { rechercheutilisateur(); }, 100);
\t }
\t}else{
\t\tsetTimeout(function() { rechercheutilisateur(); }, 100);
\t}
}
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "Theme/Projet/Projet/Projet/mplaceslocal.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 847 => 367, 821 => 344, 793 => 319, 784 => 313, 775 => 306, 771 => 304, 769 => 303, 709 => 245, 699 => 244, 687 => 241, 683 => 240, 679 => 239, 674 => 238, 664 => 237, 648 => 229, 637 => 221, 633 => 220, 629 => 219, 625 => 218, 621 => 217, 614 => 212, 604 => 205, 599 => 204, 584 => 202, 580 => 201, 576 => 200, 572 => 199, 564 => 193, 560 => 191, 557 => 190, 554 => 189, 551 => 188, 548 => 187, 545 => 186, 542 => 185, 539 => 184, 536 => 183, 533 => 182, 530 => 181, 527 => 180, 524 => 179, 521 => 178, 518 => 177, 515 => 176, 512 => 175, 509 => 174, 506 => 173, 503 => 172, 500 => 171, 497 => 170, 494 => 169, 491 => 168, 488 => 167, 485 => 166, 482 => 165, 479 => 164, 476 => 163, 474 => 162, 471 => 161, 468 => 160, 465 => 159, 462 => 158, 459 => 157, 457 => 156, 454 => 155, 451 => 154, 448 => 153, 445 => 152, 442 => 151, 440 => 150, 437 => 149, 435 => 148, 428 => 143, 417 => 138, 412 => 135, 398 => 133, 396 => 132, 393 => 131, 375 => 130, 364 => 122, 356 => 119, 351 => 116, 335 => 114, 331 => 113, 327 => 112, 321 => 108, 301 => 106, 297 => 105, 293 => 104, 287 => 101, 281 => 97, 261 => 96, 243 => 81, 232 => 73, 209 => 52, 207 => 51, 200 => 47, 194 => 46, 188 => 45, 180 => 39, 170 => 38, 139 => 17, 129 => 16, 116 => 13, 106 => 12, 93 => 8, 87 => 7, 80 => 5, 76 => 4, 73 => 3, 63 => 2, 40 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends \"Theme/Users/User/layoutuser.html.twig\" %}
{% block meta %}
\t{{ parent() }}
\t<meta name=\"keywords\" content=\"{{ site }}, Catalogue, Produit,{{ keywords }}\"/>
\t<meta name=\"author\" content=\"Noel Kenfack\"/>
\t<meta name=\"description\" content=\"{{ site }} | Liste des boutiques {{ site }}\"/>
\t<link rel=\"stylesheet\" href=\"{{ asset('autocomplete/css/jquery.auto-complete.css') }}\">
{% endblock %}
{% block title %}
\t{{ parent() }} | Boutiques
{% endblock %}
{% block stylesheets %}
\t{{ parent() }}
\t<style>
\t\t.selectpicker_hidden .nice-select{
\t\t\tdisplay: none!important;
\t\t}
\t\t.select2-container--default .select2-selection--single {
\t\t\tpadding-top: 4px!important;
\t\t\theight: 40px!important;
\t\t}
\t\t.select2-container--default .select2-selection--single .select2-selection__rendered {
\t\t\tline-height: 28px!important;
\t\t\tfont-size: 15px;
\t\t}
\t\t.select2-container--default .select2-selection--single .select2-selection__arrow b {
\t\t\tmargin-top: 7px!important;
\t\t}
\t</style>
{% endblock %}
{% block userblog_body %}
<section style=\"padding: 15px 0px 5px 0px; background: #f7f7f7;\">
\t<div class=\"container\">
\t\t<div class=\"row\">
\t\t\t<div class=\"col-md-8\">
\t\t\t\t<ul class=\"breadcrumbs\">
\t\t\t\t\t<li><a href=\"{{ path('users_user_acces_plateforme') }}\"><i class=\"fa fa-home\" style=\"font-size: 11px;\"></i> {{ 'Accueil'|trans }}</a></li>
\t\t\t\t\t<li><a href=\"{{ path('projet_projet_mplaces_local') }}\">{{ 'Boutiques'|trans }}</a></li>
\t\t\t\t\t<li>{{ 'Toutes les boutiques'|trans }}</li>
\t\t\t\t</ul>
\t\t\t</div>
\t\t\t<div class=\"col-md-4 text-right\">
\t\t\t\t{% include \"Theme/General/Template/Menu/contacts.html.twig\" %}
\t\t\t</div>
\t\t</div>
\t</div>
</section>
<div class=\"section-content\">
<div class=\"container\">
<div class=\"row\">
\t<div class=\"col-md-12\">
\t\t<div class=\"animecourant-panel\" style=\"display: block;\">
\t\t\t\t
\t\t</div>
\t</div>
</div>
<div class=\"row\">
\t<div class=\"col-md-3\" style=\"padding: 3px;\">
\t\t<div class=\"toutleblock\">
\t\t<div style=\"margin:0px; box-shadow:0px 0px 2px rgba(0,0,0,0.01); background: #fff;\">
\t\t<ul class=\"list-group\">
\t\t\t
\t\t\t{{ render(controller(\"App\\\\Controller\\\\Produit\\\\Produit\\\\CategorieController:menusouscategorie\", {'taille': 10})) }}
\t\t\t
\t </ul>
\t\t</div>
\t\t
\t\t<div style=\"margin: 7px 0px 0px 0px; box-shadow:0px 0px 2px rgba(0,0,0,0.01); background: #fff;\">
\t\t <ul class=\"list-group\">
\t\t\t
\t\t\t{{ render(controller(\"App\\\\Controller\\\\Produit\\\\Produit\\\\MarqueproduitController:menumarque\", {'taille': 10, 'position': 'produit'})) }}
\t\t\t
\t\t </ul>
\t\t</div>
\t\t
\t\t <div class=\"col-xs-12 col-sm-12 col-md-12 col-lg-12 stop-courant-panel\">
\t\t </div>
\t\t </div>
\t</div>
\t
\t<div class=\"col-md-9\" style=\"padding: 3px;\">
\t\t<div class=\"row\" style=\"margin: 0px 0px 15px 0px;\">
\t\t\t<div class=\"col-md-12\">
\t\t\t\t<h3 class=\"breadcrumbs-title\">
\t\t\t\t {% if pays != null %}{{ pays.nom }} <span class=\"fa fa-angle-right\" style=\"font-size: 12px;\"></span>{% endif %} {% if ville != null %}{{ ville.nom }} <span class=\"fa fa-angle-right\" style=\"font-size: 12px;\"></span>{% endif %}{% if typeprojet != null %}{{ typeprojet.nom }} <span class=\"fa fa-angle-right\" style=\"font-size: 12px;\"></span>{% endif %} {% if ville == null and pays == null and typeprojet == null %}Boutiques <span class=\"fa fa-angle-right\" style=\"font-size: 12px;\"></span> Liste complète{% else %}Boutiques {% endif %}
\t\t\t\t</h3>
\t\t\t\t<div class=\"divider\"></div>
\t\t\t</div>
\t\t</div>
\t\t<form class=\"row search-form-top-side\" action=\"{{ path('projet_projet_select_filtre_projet') }}\" method=\"post\" id=\"submit-form-filter\">
\t\t <div class=\"form-group col-md-3 selectpicker_hidden\">
\t\t\t<select name=\"paysid\" id=\"struct_pays_filtre\" class=\"form-control\" style=\"width: 100%!important;\">
\t\t\t <option value=\"0\">{{ 'Tous les pays'|trans }}</option>
\t\t\t {% for p in liste_pays %}
\t\t\t <option value=\"{{ p.id }}\" {% if p == pays %}selected{% else %}{% if p.nom == 'cameroun' %}selected{% else %}{% endif %}{% endif %}>{{ p.nom }}</option>
\t\t\t {% endfor %}
\t\t\t</select>
\t\t </div>
\t\t <div class=\"form-group col-md-3\">
\t\t\t<select name=\"secteurid\" id=\"struct_typefiltre\" class=\"form-control\" style=\"min-width: 100%!important;\">
\t\t\t <option value=\"0\">{{ 'Tous les secteurs'|trans }}</option>
\t\t\t {% for t in liste_type %}
\t\t\t <option value=\"{{ t.id }}\" {% if t == typeprojet %}selected{% else %}{% endif %}>{{ t.nom }}</option>
\t\t\t {% endfor %}
\t\t\t</select>
\t\t </div>
\t\t <div class=\"form-group col-md-3 zone-recherche-quartier\" value=\"0\" name=\"\">
\t\t\t<input type=\"text\" name=\"villename\" id=\"departement_etab\" class=\"form-control\" placeholder=\"Ville\" value=\"{% if ville != null %}{{ ville.nom }}{% endif %}\" style=\"height: 40px;\"/>
\t\t </div>
\t\t <div class=\"form-group col-md-3\">
\t\t\t<button class=\"btn waves-effect waves-light bg-struct\" title=\"{{ 'Filtrer'|trans }}\" style=\"margin-top: -5px; float: right; width: 100%; border-radius: 7px;\" type=\"submit\">Envoyer <i class=\"fa fa-search\"></i></button>
\t\t </div>
\t\t</form>
\t\t
\t\t
\t\t<div class=\"card-body\" style=\"margin: 0px; padding: 0px;\">
\t\t<div class=\"basis-member staff\" style=\"margin: 0px; padding: 0px;\">
\t\t<div class=\"row\">
\t\t{% for projet in liste_projet %}
\t\t\t<div class=\"col-md-4\">
\t\t\t\t{% include 'Theme/Projet/Projet/Projet/projetdescription.html.twig' %}
\t\t\t</div>
\t\t{% else %}
\t\t\t<div class=\"col-md-12\">
\t\t\t\t<ul class=\"collapsible collapsible-accordion\" data-collapsible=\"accordion\" style=\"box-shadow: none;\">
\t\t\t\t\t<div style=\"height: 400px; border-left: 4px solid #3565ae; padding: 5px;\">
\t\t\t\t\t\t<div style=\"border-left: 5px solid #3565ae; padding: 3px; background: #f5f5f5; color: red;\">{{ 'Aucune information disponible pour cette section'|trans }}</div>
\t\t\t\t\t</div>
\t\t\t\t</ul>\t\t\t
\t\t\t</div>
\t\t{% endfor %}
\t\t</div>
\t\t</div>
\t\t</div>
\t\t
\t\t<div class=\"clearfix\"></div>
\t\t {% if nombrepage > 0 %}
\t\t\t\t\t\t
\t\t\t{% if page > 1 and page <= nombrepage %}
\t\t\t{% set pagepre = page - 1 %}
\t\t\t{% else %}
\t\t\t\t{% set pagepre = nombrepage %}
\t\t\t{% endif %}
\t\t\t{% if page < nombrepage %}
\t\t\t\t{% set pagesuiv = page + 1 %}
\t\t\t{% else %}
\t\t\t\t{% set pagesuiv = 1 %}
\t\t\t{% endif %}
\t\t\t{% if nombrepage < 5 %}
\t\t\t\t{% set debut = 1 %}
\t\t\t\t{% set fin = nombrepage %}
\t\t\t{% else %}
\t\t\t\t{% if page > 2 and page < (nombrepage - 2) %}
\t\t\t\t\t{% set debut = page - 2 %}
\t\t\t\t\t{% if page + 2 >= nombrepage %}
\t\t\t\t\t\t{% set fin = nombrepage %}
\t\t\t\t\t{% else %}
\t\t\t\t\t\t{% set fin = page + 2 %}
\t\t\t\t\t{% endif %}
\t\t\t\t{% else %}
\t\t\t\t\t{% if page <= 2 %}
\t\t\t\t\t\t{% if page == 1 %}
\t\t\t\t\t\t\t{% set debut = 1 %}
\t\t\t\t\t\t\t{% set fin = page + 3 %}
\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t{% set debut = 1 %}
\t\t\t\t\t\t\t{% set fin = page + 2 %}
\t\t\t\t\t\t{% endif %}
\t\t\t\t\t{% else %}
\t\t\t\t\t\t{% set debut = page - 2 %}
\t\t\t\t\t\t{% if page + 2 >= nombrepage %}
\t\t\t\t\t\t\t{% set fin = nombrepage %}
\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t{% set fin = page + 2 %}
\t\t\t\t\t\t{% endif %}
\t\t\t\t\t{% endif %}
\t\t\t\t{% endif %}
\t\t\t\t
\t\t\t{% endif %}
\t\t\t
\t\t\t<div class=\"row\" style=\"margin: 15px 0px;\">
\t\t\t <div class=\"col-md-12\">
\t\t\t <div class=\"flex-container\" style=\"background: #fafafa; \">
\t\t\t\t <div class=\"paginate-ctn\">
\t\t\t\t\t<a href=\"{{ path('produit_produit_marques_prod', {'page': 1 }) }}\" style=\"display: inline-block;\" class=\"round-effect\"> <span class=\"fa fa-fast-backward\"></span> </a>
\t\t\t\t\t<a href=\"{{ path('produit_produit_marques_prod', {'page': pagepre }) }}\" style=\"display: inline-block;\" class=\"round-effect\"> <span class=\"fa fa-step-backward\"></span> </a>
\t\t\t\t\t{% for p in debut..fin %}
\t\t\t\t\t\t<a href=\"{{ path('produit_produit_marques_prod', {'page': p }) }}\" style=\"display: inline-block;\" class=\"round-effect {% if p == page %}activepage{% endif %}\">{{ p }}</a>
\t\t\t\t\t{% endfor %}
\t\t\t\t\t<a href=\"{{ path('produit_produit_marques_prod', {'page': pagesuiv }) }}\" style=\"display: inline-block;\" class=\"round-effect\"> <span class=\"fa fa-step-forward\"></span> </a>
\t\t\t\t\t<a href=\"{{ path('produit_produit_marques_prod', {'page': nombrepage }) }}\" style=\"display: inline-block;\" class=\"round-effect\"> <span class=\"fa fa-fast-forward\"></span> </a>
\t\t\t\t </div>
\t\t\t </div>
\t\t\t </div>
\t\t\t</div>
\t\t\t<div class=\"clearfix\"></div>
\t\t\t{% else %}
\t\t\t<div class=\"row\" style=\"margin: 15px 0px;\">
\t\t\t <div class=\"col-md-12\">
\t\t\t <div class=\"flex-container\" style=\"background: #fafafa; \">
\t\t\t\t <div class=\"paginate-ctn\">
\t\t\t\t\t<a href=\"{{ path('produit_produit_marques_prod', {'page': page }) }}\" style=\"display: inline-block;\" class=\"round-effect\"> <span class=\"fa fa-fast-backward\"></span> </a>
\t\t\t\t\t<a href=\"{{ path('produit_produit_marques_prod', {'page': page }) }}\" style=\"display: inline-block;\" class=\"round-effect\"> <span class=\"fa fa-step-backward\"></span> </a>
\t\t\t\t\t\t<a href=\"{{ path('produit_produit_marques_prod', {'page': 1 }) }}\" style=\"display: inline-block;\" class=\"round-effect activepage\">1</a>
\t\t\t\t\t<a href=\"{{ path('produit_produit_marques_prod', {'page': page }) }}\" style=\"display: inline-block;\" class=\"round-effect\"> <span class=\"fa fa-step-forward\"></span> </a>
\t\t\t\t\t<a href=\"{{ path('produit_produit_marques_prod', {'page': page }) }}\" style=\"display: inline-block;\" class=\"round-effect\"> <span class=\"fa fa-fast-forward\"></span> </a>
\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t</div>
\t\t\t<div class=\"clearfix\"></div>
\t\t\t{% endif %}
\t</div>
</div>
</div>
</div>
{% endblock %}
{% block srcjavascripttemplate %}
<script src=\"{{ asset('template/js/onvisible.js') }}\" type=\"text/javascript\"></script>
<script src=\"{{ asset('autocomplete/js/jquery.auto-complete.js') }}\"></script>
<link href=\"{{ asset('template/css/select2.min.css') }}\" rel=\"stylesheet\"/>
<script src=\"{{ asset('template/js/select2.min.js') }}\"></script>
{% endblock %}
{% block javascripttemplate %}
var \$disabledResults = \$(\"#struct_pays_filtre\");
\$disabledResults.select2();
var bouge = 1;
var dimension = 200;
function activateelement()
{
var visibility = visibleElement('.animecourant-panel');
if(visibility && bouge == 0){
\tbouge = 1;
\t\$('.toutleblock').css('position','relative');
\t\$('.toutleblock').css('bottom','0px');
\t\$('.toutleblock').css('margin-bottom','0px');
}
}
function stopelement()
{
var visibility = visibleElement('.stop-courant-panel');
if(visibility && bouge == 1){
\tif(visibleElement('.animecourant-panel') && visibleElement('.stop-courant-panel'))
\t{
\t}else{
\tbouge = 0;
\t\$('.toutleblock').css('position','fixed');
\t\$('.toutleblock').css('width',dimension+'px');
\t\$('.toutleblock').css('bottom','7px');
\t\$('.toutleblock').css('margin-bottom','0px');
\t}
}
}
function controlScroll()
{
\tvar largeur = (\$(window).width());
\tdimension = \$('.toutleblock').width();
\tif (largeur >= 768)
\t{
\t\tif(visibleElement('.animecourant-panel') && visibleElement('.stop-courant-panel'))
\t\t{
\t\t\$('.toutleblock').css('position','fixed');
\t\t\$('.toutleblock').css('width',dimension+'px');
\t\t}else{
\t\twindow.setInterval(function() { stopelement(); }, 100);
\t\twindow.setInterval(function() { activateelement(); }, 100);
\t\t}
\t\t
\t}
}
controlScroll();
\$('.modal-trigger-add-pme').click(function(){
\topenformNewProjet();
});
{% if add == 1 %}
\topenformNewProjet();
{% endif %}
function openformNewProjet()
{
\t\$('#modal-souscription-offert').modal('show');
\t
\t\$('.wait-chargement-content-module').show();
\t\$('.content-module-loading').hide();
\t\$.post('{{ path('projet_projet_form_add_new_projet') }}', function(data){
\t\t\$('.wait-chargement-content-module').hide();
\t\t\$('.content-module-loading').html(data);
\t\t\$('.content-module-loading').show();
\t});
}
var jsonresult = {{ render(controller(\"App\\\\Controller\\\\Produit\\\\Service\\\\VilleController:autorechercheville\", {'taille': 500})) }};
var j = 0;
var departchoices = [];
for(var n in jsonresult){
\tnom = jsonresult[n].nom;
\tdrapeau = jsonresult[n].drapeau;
\tid = jsonresult[n].id;
\tnum = nom+\":\"+drapeau;
\tcourantelem = [nom,drapeau,id];
\tdepartchoices[j] = courantelem;
\tj++;
}
\$('#departement_etab').autoComplete({
minChars: 0,
source: function(term, suggest){
term = term.toLowerCase();
var suggestions = [];
for (i=0;i< departchoices.length;i++)
if (~(departchoices[i][0]+' '+departchoices[i][1]).toLowerCase().indexOf(term)) suggestions.push(departchoices[i]);
suggest(suggestions);
},
renderItem: function (item, search){
search = search.replace(/[-\\/\\\\^\$*+?.()|[\\]{}]/g, '\\\\\$&');
var re = new RegExp(\"(\" + search.split(' ').join('|') + \")\", \"gi\");
return '<div class=\"autocomplete-suggestion\" data-langname=\"'+item[0]+'\" data-lang=\"'+item[1]+'\" data-id=\"'+item[2]+'\" data-val=\"'+search+'\" data-img=\"'+item[1]+'\"><img src=\"{{ asset('') }}'+item[1]+'\" style=\"width: 30px; height: 20px; padding: 2px; margin-bottom: -5px!important;\"> '+item[0].replace(re, \"<b>\$1</b>\")+'</div>';
},
onSelect: function(e, term, item){
\t\t\$('#departement_etab').val(item.data(\"langname\"));
},
\tcache: false
});
\$(\"#departement_etab\").focus(function(){
\trechercheutilisateur();
});
function rechercheutilisateur()
{
\tif(\$('#departement_etab').val().length >= 2)// on vérifier si l'utilisateur a entré plus de 5 caractères
\t{
\t var libre = \$('.zone-recherche-quartier').attr('value'); // on initialise la variable libre
\t var donnee = \$('#departement_etab').val(); //on récupère la donnée
\t if (libre == 0 && donnee != \$('.zone-recherche-quartier').attr('name')){ // on vérifier si la requête précedente est rétournée et que la recherche ne corespnd pas à la dernière effectuée
\t \$('.zone-recherche-quartier').attr('value',1); // on bloque d'autres recherches
\t \$('.zone-recherche-quartier').attr('name',donnee); // on enregistre la recherche effectuer.
\t
\t \$.ajax({
\t\t\turl : '{{ path('produit_service_auto_recherche_ville') }}',
\t\t\tdata : 'donnee='+donnee+'',
\t\t\ttype : 'POST',
\t\t\tdataType : 'json',
\t\t\tsuccess : function(data, statut){
\t\t\t\t
\t\t\t\t\$('.zone-recherche-quartier').attr('value',0); // on libère d'autre recherches
\t\t\t\tcompt = departchoices.length;
\t\t\t\tjsonresulta = data;
\t\t\t\t
\t\t\t\t
\t\t\t\tfor(var n in jsonresulta){
\t\t\t\t\tnom = jsonresulta[n].nom;
\t\t\t\t\tdrapeau = jsonresulta[n].drapeau;
\t\t\t\t\tid = jsonresulta[n].id;
\t\t\t\t\tnum = nom+\":\"+drapeau;
\t\t\t\t\tcourantelem = [nom,drapeau,id];
\t\t\t\t\tdepartchoices[compt] = courantelem;
\t\t\t\t\tcompt++;
\t\t\t\t}
\t\t\t setTimeout(function(){ rechercheutilisateur(); }, 100); // on relance la fonction après 200 ms.
\t\t\t
\t\t\t}
\t\t});
\t }else{
\t\tsetTimeout(function() { rechercheutilisateur(); }, 100);
\t }
\t}else{
\t\tsetTimeout(function() { rechercheutilisateur(); }, 100);
\t}
}
{% endblock %}", "Theme/Projet/Projet/Projet/mplaceslocal.html.twig", "/home/afhunt/domains/mbill.afhunt.com/public_html/market/templates/Theme/Projet/Projet/Projet/mplaceslocal.html.twig");
}
}