<!-- Responsive Menu Structure-->
<!--Note: declare the Menu style in the data-menu-style="horizontal" (options: horizontal, vertical, accordion) -->
<ul id="respMenu" class="ace-responsive-menu text-right" data-menu-style="horizontal">
<li>
<a href="#"><span class="title">A propos</span></a>
<!-- Level Two-->
<ul>
<li><a href="index.html">Home 1</a></li>
<li><a href="index2.html">Home 2</a></li>
<li><a href="index3.html">Home 3</a></li>
<li><a href="index4.html">Home 4</a></li>
<li><a href="index5.html">Home 5</a></li>
<li><a href="index6.html">Home 6</a></li>
<li><a href="index7.html">Home 7</a></li>
<li><a href="index8.html">Home 8</a></li>
<li><a href="index9.html">Home 9</a></li>
<li><a href="index10.html">Home 10</a></li>
</ul>
</li>
<li>
<a href="#"><span class="title">Louer</span></a>
<!-- Level Two-->
<ul>
<li><a href="index.html">Home 1</a></li>
<li><a href="index2.html">Home 2</a></li>
<li><a href="index3.html">Home 3</a></li>
<li><a href="index4.html">Home 4</a></li>
<li><a href="index5.html">Home 5</a></li>
<li><a href="index6.html">Home 6</a></li>
<li><a href="index7.html">Home 7</a></li>
<li><a href="index8.html">Home 8</a></li>
<li><a href="index9.html">Home 9</a></li>
<li><a href="index10.html">Home 10</a></li>
</ul>
</li>
<li>
<a href="#"><span class="title">Acheter</span></a>
<!-- Level Two-->
<ul>
<li><a href="index.html">Home 1</a></li>
<li><a href="index2.html">Home 2</a></li>
<li><a href="index3.html">Home 3</a></li>
<li><a href="index4.html">Home 4</a></li>
<li><a href="index5.html">Home 5</a></li>
<li><a href="index6.html">Home 6</a></li>
<li><a href="index7.html">Home 7</a></li>
<li><a href="index8.html">Home 8</a></li>
<li><a href="index9.html">Home 9</a></li>
<li><a href="index10.html">Home 10</a></li>
</ul>
</li>
<li>
<a href="#"><span class="title">Vendre</span></a>
<!-- Level Two-->
<ul>
<li><a href="index.html">Home 1</a></li>
<li><a href="index2.html">Home 2</a></li>
<li><a href="index3.html">Home 3</a></li>
<li><a href="index4.html">Home 4</a></li>
<li><a href="index5.html">Home 5</a></li>
<li><a href="index6.html">Home 6</a></li>
<li><a href="index7.html">Home 7</a></li>
<li><a href="index8.html">Home 8</a></li>
<li><a href="index9.html">Home 9</a></li>
<li><a href="index10.html">Home 10</a></li>
</ul>
</li>
<li>
<a href="#"><span class="title">Actualités</span></a>
<ul>
<li><a href="{{ asset('/menu') }}">Blog List 1</a></li>
<li><a href="page-blog-grid.html">Blog List 2</a></li>
<li><a href="page-blog-single.html">Single Post</a></li>
</ul>
</li>
<li class="last">
<a href="page-contact.html"><span class="title">Contact</span></a>
</li>
{% if app.user == true %}
<li class="user_setting">
<div class="dropdown menu-active">
<a class="btn dropdown-toggle" href="#" data-toggle="dropdown">
{% set nbr = 0 %}
{% for message in app.user.messages %}
{% if message.isRead == '0' %} {% set nbr = nbr + 1 %} {% endif %}
{% endfor %}
{% if nbr > '0' %} <span class="badge badge-danger">
{{ nbr }}
</span>
{% endif %}
<img class="rounded-circle" src="{% if app.user.image == false %}{{ asset('images/team/e1.png') }}
{% else %}
{{ asset('/uploads/' ~ app.user.image) | imagine_filter('profile') }}
{% endif %}" alt="e1.png">
<span class="dn-1199">Ali Tufan</span></a>
<div class="dropdown-menu">
<div class="user_set_header">
<img class="float-left" src="{% if app.user.image == false %}{{ asset('images/team/e1.png') }}
{% else %}
{{ asset( 'uploads/'~app.user.image) }}
{% endif %}" alt="e1.png">
<p>{{ app.user.email }}<br><span class="address">{{ app.user.email }}</span></p>
</div>
<div class="user_setting_content">
<a class="dropdown-item active" href="{{ asset('profil/account') }}">My Profile</a>
<a class="dropdown-item" href="{{ asset('messages') }}">Messages</a>
<a class="dropdown-item" href="#">Purchase history</a>
<a class="dropdown-item" href="#">Help</a>
<a class="dropdown-item" href="{{ asset('logout') }}">Log out</a>
</div>
</div>
</div>
</li>
{% endif %}
{% if app.user == false %}
<li class="list-inline-item list_s"><a href="{{ asset('login') }}" class="btn flaticon-user"> <span class="dn-lg">Connexion</span></a></li>
{% else %}
<li class="list-inline-item add_listing"><a href="{{ asset('annonce/new') }}"><span class="flaticon-plus"></span><span class="dn-lg">Votre annonce</span></a></li>
{% endif %}
</ul>
</nav>
</div>
</header>