<div style="background: #90acd1;">
<div class="container" style="overflow: hidden;">
<div class="row" style="margin: 15px 0px;">
<div class="col-md-12">
{% if is_mobile() %}
<ol class="c-navigation-breadcrumbs__directory">
<!-- Duplicating the "Home" link in both the global navigation and the breadcrumb trail is not recommended. -->
<li class="c-navigation-breadcrumbs__item" property="itemListElement" typeof="ListItem">
<a class="c-navigation-breadcrumbs__link" href="" property="item" typeof="WebPage">
<span class="u-visually-hidden" property="name"><span class="fa fa-home"> </span> Accueil</span>
</a>
<meta property="position" content="1">
</li>
<li class="c-navigation-breadcrumbs__item" property="itemListElement" typeof="ListItem">
<a class="c-navigation-breadcrumbs__link" href="" property="item" typeof="WebPage">
<span property="name"> L'entreprise</span>
</a>
<meta property="position" content="2">
</li>
<li class="c-navigation-breadcrumbs__item" property="itemListElement" typeof="ListItem">
<a class="c-navigation-breadcrumbs__link" href="#!" property="item" aria-current="location">
<span property="name">À propos de nous </span>
</a>
<meta property="position" content="3">
</li>
</ol>
{% else %}
<div style="padding: 20px 0px;">
<ul class="breadcrumbs">
<li><a href="{{ path('users_user_acces_plateforme') }}"><span class="fa fa-home"></span> Accueil</a></li>
<li><a > L'entreprise</a></li>
<li>À propos de nous</li>
</ul>
</div>
{% endif %}
</div>
</div>
</div>
</div>
<div style="background-image: linear-gradient(-1deg, #F6FCFF 0%, #EAF7FF 98%);">
<div class="container" style="height: 20px;">
</div>
</div>
<div class="container" style="min-height: 500px;">
<div class="row">
<div class="col-md-12">
<h2 style="margin-top: 10px; margin-bottom: -10px; padding-top: 0px;">Six bonnes raisons pour installer AFH Factory maintenant
<a href="/1" class="btn btn-primary pull-right"><span class="fa fa-arrow-circle-o-down"></span> Installer</a>
</h2><hr>
</div>
</div>
<div class="" style="width: 100%!important;">
<div class="cards" style="width: 100%!important;">
{% for service in liste_article %}
{% if loop.index is odd %}
<div class="col-xs-12 col-md-12" style="padding: 0px;">
<div class="card card2 card-fw card-row-layout" style="min-width: 100%!important; box-shadow: none;">
<a href="{{ path('produit_service_detail_article_central', {'id': service.id }) }}" class="toggle-overlay-article" value="{{ service.id }}">
<img class="card-img-top" src="{% if service.imgservice != null %}{{ asset(service.imgservice.getwebpath) }}{% else %}{{ asset('template/images/bglogin.png') }}{% endif %}" alt="{{ service.nom }}">
<div class="card-body">
<span class="card-title">{{ service.nom }}</span>
<p class="card-text">{{ service.description }}</p>
<button class="flat-busness" style="font-size: 12px;">
Consulter <span class="fa fa-check-circle"></span>
</button>
</div>
<div class="card-footer">
<span class="vfi vfi-fleche-droite" aria-hidden="true"></span>
</div>
</a>
</div>
</div>
{% else %}
<div class="col-xs-12 col-md-12" style="padding: 0px;">
<a href="{{ path('produit_service_detail_article_central', {'id': service.id }) }}" class="banner" aria-label="Shop now">
<div class="banner__grid">
<div aria-hidden="true">
<figure class="banner__figure" style="background-image: url({% if service.imgservice != null %}{{ asset(service.imgservice.getwebpath) }}{% else %}{{ asset('template/images/bglogin.png') }}{% endif %});"></figure>
</div>
<div class="banner__text">
<h2>{{ service.nom }}</h2>
<p>{{ service.description }}</p>
<p class="banner__link-wrapper">
<span class="banner__link">
<i>Consulter <span class="fa fa-check-circle"></span></i>
</span>
</p>
</div>
</div>
</a>
</div>
{% endif %}
{% else %}
<div style="height: 400px; padding-top: 100px; background: #fff; margin-bottom: 15px;">
<div style="text-align: center; display: block; width: 100%!important;">
<span class="fa fa-frown-o"></span> Aucune données disponible pour cette requête.</br>
<hr style="width: 100px; border-bottom: 1px solid red;">
</div>
</div>
{% endfor %}
</div>
</div>
</div>
<div class="container mt-3">
<div class="menu-ui "style="border-radius: 0px; margin-bottom: 10px; padding: 15px;">
<span class="clearfix"></span>
{% if nombrepage > 0 %}
{% if page > 1 and page <= nombrepage %}
{% set pagepre = page - 1 %}
{% else %}
{% set pagepre = nombrepage %}
{% endif %}
{% if page < nombrepage %}
{% set pagesuiv = page + 1 %}
{% else %}
{% set pagesuiv = 1 %}
{% endif %}
{% if nombrepage < 5 %}
{% set debut = 1 %}
{% set fin = nombrepage %}
{% else %}
{% if page > 2 and page < (nombrepage - 2) %}
{% set debut = page - 2 %}
{% if page + 2 >= nombrepage %}
{% set fin = nombrepage %}
{% else %}
{% set fin = page + 2 %}
{% endif %}
{% else %}
{% if page <= 2 %}
{% if page == 1 %}
{% set debut = 1 %}
{% set fin = page + 3 %}
{% else %}
{% set debut = 1 %}
{% set fin = page + 2 %}
{% endif %}
{% else %}
{% set debut = page - 2 %}
{% if page + 2 >= nombrepage %}
{% set fin = nombrepage %}
{% else %}
{% set fin = page + 2 %}
{% endif %}
{% endif %}
{% endif %}
{% endif %}
<div>
<nav class="pagination" role="navigation">
<a href="{{ path('produit_service_afh_sps', {'position': position, 'page': 1 }) }}" title="Première page" style=""><span class="fa fa-fast-backward" style="font-size: 13px;"></span></a>
<a href="{{ path('produit_service_afh_sps', {'position': position, 'page': pagepre }) }}" title="Page précedente" style=""><span class="fa fa-step-backward" style="font-size: 13px;"></span></a>
{% for p in debut..fin %}
<a href="{{ path('produit_service_afh_sps', {'position': position, 'page': p }) }}" class="{% if p == page %}active{% endif %}" style="margin: 4px 0px;">{{ p }}</a>
{% endfor %}
<a href="{{ path('produit_service_afh_sps', {'position': position, 'page': pagesuiv }) }}" title="Page suivante"><span class="fa fa-step-forward" style="font-size: 13px;"></span></a>
<a href="{{ path('produit_service_afh_sps', {'position': position, 'page': nombrepage }) }}" title="Dernière page"><span class="fa fa-fast-forward" style="font-size: 13px;"></span></a>
</nav>
<div class="clearfix"></div>
</div>
{% else %}
<div>
<nav class="pagination" role="navigation">
<a href="{{ path('produit_service_afh_sps', {'position': position, 'page': page }) }}" title="Première page" style=""><span class="fa fa-fast-backward" style="font-size: 13px;"></span></a>
<a href="{{ path('produit_service_afh_sps', {'position': position, 'page': page }) }}" title="Page précedente" style=""><span class="fa fa-step-backward" style="font-size: 13px;"></span></a>
<a href="{{ path('produit_service_afh_sps', {'position': position, 'page': page }) }}" class="active" style="">0</a>
<a href="{{ path('produit_service_afh_sps', {'position': position, 'page': page }) }}" title="Page suivante"><span class="fa fa-step-forward" style="font-size: 13px;"></span></a>
<a href="{{ path('produit_service_afh_sps', {'position': position, 'page': page }) }}" title="Dernière page"><span class="fa fa-fast-forward" style="font-size: 13px;"></span></a>
</nav>
<div class="clearfix"></div>
</div>
{% endif %}
</div>
</div>