templates/include/menu-fixe.html.twig line 1

Open in your IDE?
  1.                <!-- Responsive Menu Structure-->
  2.                 <!--Note: declare the Menu style in the data-menu-style="horizontal" (options: horizontal, vertical, accordion) -->
  3.                 <ul id="respMenu" class="ace-responsive-menu text-right" data-menu-style="horizontal">
  4.                     <li>
  5.                         <a href="#"><span class="title">A propos</span></a>
  6.                         <!-- Level Two-->
  7.                         <ul>
  8.                             <li><a href="index.html">Home 1</a></li>
  9.                             <li><a href="index2.html">Home 2</a></li>
  10.                             <li><a href="index3.html">Home 3</a></li>
  11.                             <li><a href="index4.html">Home 4</a></li>
  12.                             <li><a href="index5.html">Home 5</a></li>
  13.                             <li><a href="index6.html">Home 6</a></li>
  14.                             <li><a href="index7.html">Home 7</a></li>
  15.                             <li><a href="index8.html">Home 8</a></li>
  16.                             <li><a href="index9.html">Home 9</a></li>
  17.                             <li><a href="index10.html">Home 10</a></li>
  18.                         </ul>
  19.                     </li>
  20.                       <li>
  21.                         <a href="#"><span class="title">Louer</span></a>
  22.                         <!-- Level Two-->
  23.                         <ul>
  24.                             <li><a href="index.html">Home 1</a></li>
  25.                             <li><a href="index2.html">Home 2</a></li>
  26.                             <li><a href="index3.html">Home 3</a></li>
  27.                             <li><a href="index4.html">Home 4</a></li>
  28.                             <li><a href="index5.html">Home 5</a></li>
  29.                             <li><a href="index6.html">Home 6</a></li>
  30.                             <li><a href="index7.html">Home 7</a></li>
  31.                             <li><a href="index8.html">Home 8</a></li>
  32.                             <li><a href="index9.html">Home 9</a></li>
  33.                             <li><a href="index10.html">Home 10</a></li>
  34.                         </ul>
  35.                     </li>
  36.                     <li>
  37.                         <a href="#"><span class="title">Acheter</span></a>
  38.                         <!-- Level Two-->
  39.                         <ul>
  40.                             <li><a href="index.html">Home 1</a></li>
  41.                             <li><a href="index2.html">Home 2</a></li>
  42.                             <li><a href="index3.html">Home 3</a></li>
  43.                             <li><a href="index4.html">Home 4</a></li>
  44.                             <li><a href="index5.html">Home 5</a></li>
  45.                             <li><a href="index6.html">Home 6</a></li>
  46.                             <li><a href="index7.html">Home 7</a></li>
  47.                             <li><a href="index8.html">Home 8</a></li>
  48.                             <li><a href="index9.html">Home 9</a></li>
  49.                             <li><a href="index10.html">Home 10</a></li>
  50.                         </ul>
  51.                     </li>
  52.      
  53.                      <li>
  54.                         <a href="#"><span class="title">Vendre</span></a>
  55.                         <!-- Level Two-->
  56.                         <ul>
  57.                             <li><a href="index.html">Home 1</a></li>
  58.                             <li><a href="index2.html">Home 2</a></li>
  59.                             <li><a href="index3.html">Home 3</a></li>
  60.                             <li><a href="index4.html">Home 4</a></li>
  61.                             <li><a href="index5.html">Home 5</a></li>
  62.                             <li><a href="index6.html">Home 6</a></li>
  63.                             <li><a href="index7.html">Home 7</a></li>
  64.                             <li><a href="index8.html">Home 8</a></li>
  65.                             <li><a href="index9.html">Home 9</a></li>
  66.                             <li><a href="index10.html">Home 10</a></li>
  67.                         </ul>
  68.                     </li>
  69.      
  70.                     <li>
  71.                         <a href="#"><span class="title">Actualités</span></a>
  72.                         <ul>
  73.                             <li><a href="{{ asset('/menu') }}">Blog List 1</a></li>
  74.                             <li><a href="page-blog-grid.html">Blog List 2</a></li>
  75.                             <li><a href="page-blog-single.html">Single Post</a></li>
  76.                         </ul>
  77.                     </li>
  78.                     <li class="last">
  79.                         <a href="page-contact.html"><span class="title">Contact</span></a>
  80.                     </li>
  81.  {% if  app.user  ==  true %}
  82. <li class="user_setting">
  83.                         <div class="dropdown menu-active">
  84.                             <a class="btn dropdown-toggle" href="#" data-toggle="dropdown">
  85.                             
  86. {% set nbr   = 0  %}
  87. {% for  message in   app.user.messages %}
  88. {% if message.isRead == '0' %} {% set nbr =   nbr + 1  %} {% endif %}
  89.  
  90.         {% endfor %}
  91. {% if nbr > '0' %} <span class="badge badge-danger">
  92.                 {{ nbr }}
  93.               </span>
  94.               {% endif %}
  95.  
  96.                             
  97.                             
  98.                             
  99.                             <img class="rounded-circle" src="{% if  app.user.image  ==  false %}{{ asset('images/team/e1.png') }} 
  100.                             {% else %}
  101.                             {{ asset('/uploads/' ~ app.user.image) | imagine_filter('profile') }}
  102.                             {% endif %}" alt="e1.png"> 
  103.                             
  104.                         
  105.                             
  106.                             <span class="dn-1199">Ali Tufan</span></a>
  107.                             <div class="dropdown-menu">
  108.                                 <div class="user_set_header">
  109.                                     <img class="float-left" src="{% if  app.user.image  ==  false %}{{ asset('images/team/e1.png') }} 
  110.                             {% else %}
  111.                             {{ asset( 'uploads/'~app.user.image) }}
  112.                             {% endif %}" alt="e1.png">
  113.                                     <p>{{ app.user.email }}<br><span class="address">{{ app.user.email }}</span></p>
  114.                                 </div>
  115.                                 <div class="user_setting_content">
  116.                                     <a class="dropdown-item active" href="{{ asset('profil/account') }}">My Profile</a>
  117.                                     <a class="dropdown-item" href="{{ asset('messages') }}">Messages</a>
  118.                                     <a class="dropdown-item" href="#">Purchase history</a>
  119.                                     <a class="dropdown-item" href="#">Help</a>
  120.                                     <a class="dropdown-item" href="{{ asset('logout') }}">Log out</a>
  121.                                 </div>
  122.                             </div>
  123.                         </div>
  124.                     </li>
  125. {% endif %}
  126.  {% if  app.user  ==  false %}
  127.  
  128. <li class="list-inline-item list_s"><a href="{{ asset('login') }}" class="btn flaticon-user"> <span class="dn-lg">Connexion</span></a></li>
  129.  {% else %}
  130.  <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>
  131. {% endif %}
  132.                    
  133.                 </ul>
  134.             </nav>
  135.         </div>
  136.     </header>