{% extends 'layouts/site.html.twig' %}
{% block title %}Bienvenue sur Orishas-finance{% endblock %}
{% block meta %}
<meta name="description" content="Nous vous proposons les meilleurs Contenus, Services et Solutions pour maitriser vos activités et investissements sur les marchés Africains.">
<meta property="og:title" content="Bienvenue sur Orishas-finance">
<meta property="og:description" content="Nous vous proposons les meilleurs Contenus, Services et Solutions pour maitriser vos activités et investissements sur les marchés Africains.">
<meta property="og:image" content="https://www.orishas-finance.com/assets/site/images/logot.png">
<meta property="og:url" content="https://www.orishas-finance.com">
<meta name="twitter:card" content="summary_large_image">
{% endblock %}
{% block css %}
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css">
<link rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.theme.default.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.0/animate.css">
<link rel="stylesheet" href="{{ asset('assets/common/modal-video-player/css/modal-video.min.css') }}">
<link rel="stylesheet" href="{{ asset('assets/common/flag-icon-css/css/flag-icon.min.css') }}">
<link rel="stylesheet" href="{{ asset('assets/common/flag-icon-css/css/flag-icon.min.css') }}">
<link rel="stylesheet" href="{{ asset('assets/site/css/buttons.css') }}">
<style>
/*sans bordure (1ère photo)*/
.arrondie {
-moz-border-radius: 50px;
-webkit-border-radius: 10px;
border-radius: 50px;
}
.carousel-wrap {
margin: auto;
position: relative;
}
.owl-carousel .owl-nav {
overflow: hidden;
height: 0px;
}
.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
background: #2caae1;
}
.owl-carousel .item {
text-align: left;
}
.owl-carousel .nav-btn {
height: 47px;
position: absolute;
width: 26px;
cursor: pointer;
top: 100px !important;
}
.owl-carousel .owl-prev.disabled,
.owl-carousel .owl-next.disabled {
pointer-events: none;
opacity: 0.2;
}
.owl-carousel .prev-slide {
background: url(https://freakyjolly.com/demo/jquery/OwlCarousel2/nav-icon.png) no-repeat scroll 0 0;
left: -33px;
}
.owl-carousel .next-slide {
background: url(https://freakyjolly.com/demo/jquery/OwlCarousel2/nav-icon.png) no-repeat scroll -24px 0px;
right: -33px;
}
.owl-carousel .prev-slide:hover {
background-position: 0px -53px;
}
.owl-carousel .next-slide:hover {
background-position: -24px -53px;
}
</style>
<style>
/*style Nos Services */
@import url('https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css');
.section-title {
text-align: center;
color: #28a745;
margin-bottom: 50px;
text-transform: uppercase;
}
#what-we-do {
background: #ffff;
}
#what-we-do1 {
background: #2ca4e8;
}
.text-muted1 {
color: #ffff !important;
}
#what-we-do .card {
padding: 1rem !important;
border: none;
margin-bottom: 1rem;
-webkit-transition: .5s all ease;
-moz-transition: .5s all ease;
transition: .5s all ease;
}
#what-we-do .card:hover {
-webkit-box-shadow: 5px 7px 9px -4px rgb(158, 158, 158);
-moz-box-shadow: 5px 7px 9px -4px rgb(158, 158, 158);
box-shadow: 5px 7px 9px -4px rgb(158, 158, 158);
}
#what-we-do .card .card-block {
padding-left: 50px;
position: relative;
}
#what-we-do .card .card-block a {
color: #007b5e !important;
font-weight: 700;
text-decoration: none;
}
#what-we-do .card .card-block a i {
display: none;
}
#what-we-do .card:hover .card-block a i {
display: inline-block;
font-weight: 700;
}
#what-we-do .card .card-block:before {
font-family: FontAwesome;
position: absolute;
font-size: 39px;
color: #28a745;
left: 0;
-webkit-transition: -webkit-transform .2s ease-in-out;
transition: transform .2s ease-in-out;
}
#what-we-do .card .block-1:before {
content: "\f233";
}
#what-we-do .card .block-2:before {
content: "\f0eb";
}
#what-we-do .card .block-3:before {
content: "\f201";
}
#what-we-do .card .block-4:before {
content: "\f219";
}
#what-we-do .card .block-5:before {
content: "\f2b5";
}
#what-we-do .card .block-6:before {
content: "\f218";
}
#what-we-do .card:hover .card-block:before {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
-webkit-transition: .5s all ease;
-moz-transition: .5s all ease;
transition: .5s all ease;
}
h3, .h3 {
font-size: 0.75rem;
font-weight: bold;
}
.section-title1 {
text-align: center;
color: #ffff;
margin-bottom: 50px;
text-transform: uppercase;
font-weight: bold;
}
.card-title1 {
margin-bottom: 0.75rem;
color: #007bff;
font-weight: bold;
font-size: 14px;
}
</style>
<style>
.ml11 {
font-weight: 700;
font-size: 3.5em;
}
.ml11 .text-wrapper {
position: relative;
display: inline-block;
padding-top: 0.1em;
padding-right: 0.05em;
padding-bottom: 0.15em;
}
.ml11 .line {
opacity: 0;
position: absolute;
left: 0;
height: 100%;
width: 3px;
background-color: #fff;
transform-origin: 0 50%;
}
.ml11 .line1 {
top: 0;
left: 0;
}
.ml11 .letter {
display: inline-block;
line-height: 1em;
}
.tailleform {
width: 250px;
margin-right: 10px;
}
.w-100 {
width: 100px
}
</style>
<style>
.carousel-caption1 {
position: absolute;
right: 1%;
bottom: 20px;
left: 4%;
z-index: 10;
padding-top: 20px;
padding-bottom: 20px;
color: #fff;
text-align: center;
background-color: #000;
filter: alpha(opacity=50);
opacity: 0.5;
width: 300px;
}
</style>
{% endblock %}
{% block body %}
<style>
a {
color: #000;
font-size: 13px;
font-weight: bold;
}
.a1 {
color: #000;
font-weight: 10;
font-size: 15px;
}
</style>
<section class="row">
<div class="col-md-12">
<div class="block block-primary">
<h3 class="block-title"><span>A la une</span></h3>
<div class="carousel-wrap p-4">
<div class="owl-carousel owl-theme main-slide" id="main-slide">
{% for news in newsimgfinance %}
{% if news.image %}
<div class="item">
<div class="of-slide-wrapper clearfix">
<div class="of-slide-header">
{#{% if is_granted('IS_AUTHENTICATED_FULLY') %}#}
<a href="{{ path('site_news_show',{'id': news.id}) }}">
<img src=" {{ asset('uploads/news/' ~ news.image) }}" class="img-fluid"
style="height: 250px;">
</a>
{#{%else%}
<a href="" data-toggle="modal" data-target="#lecture_news">
<img src=" {{ asset('uploads/news/' ~ news.image) }}" class="img-fluid"
style="height: 250px;">
</a>
{%endif%}#}
</div>
<div class="of-slide-caption" title="{{ news.titre }}">
{% for type in news.type %}
{#{% if is_granted('IS_AUTHENTICATED_FULLY') %}#}
<a class="of-slide-cat "
href="{{ path('site_news_show',{'id': news.id}) }}">{{ type.libelle }}</a>
{#{%else%}
<a class="of-slide-cat " data-toggle="modal" data-target="#lecture_news"
href="">{{ type.libelle }}</a>
{%endif%}#}
{% endfor %}
<h2 class="of-slide-title text-truncate">
{#{% if is_granted('IS_AUTHENTICATED_FULLY') %}#}
<a href="{{ path('site_news_show',{'id': news.id}) }}"> {{ news.titre| slice(0,100) }} </a>
{#{%else%}
<a data-toggle="modal" data-target="#lecture_news"
href="">{{ news.titre| slice(0,100) }}</a>
{%endif%}#}
</h2>
<div class="of-slide-meta">
<span class="of-slide-meta-date">{{ news.date? news.date|date("d/m/Y"):'' }}</span>
</div>
</div>
</div>
</div>
{% endif %}
{% endfor %}
</div>
</div>
</div>
</div>
</section>
<!-- Services section -->
<section id="what-we-do1" class="corpss">
<div class="block-primary div1">
<h2 class="section-title1 mb-2 h1 ml11">
<span class="text-wrapper">
<span class="line line1"></span>
<span class="letters">L'AFRIQUE ICI ET MAINTENANT </span>
</span>
</h2>
<p class="text-center text-muted1 h5">
<span>Nous vous proposons les meilleurs Contenus, Services et Solutions pour maitriser vos activités et investissements sur les marchés Africains.</span>
</p>
</div>
</section>
<!-- /Services section -->
<!-- Services section -->
<section id="what-we-do" class="corpss">
<div class="block block-green">
<h3 class="block-title"><span>Nos Services</span></h3>
<div class="container-fluid">
<div class="row mt-5 corpss">
{% set i=1 %}
{% for service in services %}
<div class="col-xs-12 col-sm-6 col-md-4 col-lg-4 col-xl-4">
<div class="card">
<div class="card-block block-{{ i }}">
<h3 class="card-title1">{{ service.libelle }}</h3>
<p>{{ service.description|striptags|slice(0,106)|raw }}
</p>
<a align="right" href="{{ path('servicefront_show', {'id': service.id}) }}"
title="Read more" class="read-more">Plus<i
class="fa fa-angle-double-right ml-2"></i></a>
</div>
</div>
</div>
{% set i=i+1 %}
{% endfor %}
<div class="col-xs-12 col-sm-6 col-md-4 col-lg-4 col-xl-4">
<div>
<div id="carouselExampleIndicators" class="carousel slide" data-ride="carousel">
<div class="carousel-inner">
<div class="card-header">
<span style="font-weight:bold">Produits</span>
</div>
{% set i=1 %}
{% for produit in produit %}
<div class="carousel-item {% if i==1 %}active{% endif %}">
<a href="{{ path('produit_show', {'id': produit.id}) }}">
<img src="{{ asset('uploads/produits/' ~ produit.image) }}"
width="340px" height="180px" alt="..."
style="background-color: rgba(0,0,0,.6);background-blend-mode: color;">
<div class="carousel-caption1 d-none d-md-block">
<h5 style="color:#fff;font-weight:bold">{{ produit.libelle }}</h5>
{#<p>{{produit.description|striptags|slice(0, 50)|raw}}</p>#}
</div>
</a>
</div>
{% set i=i+1 %}
{% endfor %}
</div>
<a class="carousel-control-prev" href="#carouselExampleIndicators" role="button"
data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#carouselExampleIndicators" role="button"
data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- /Services section -->
<section class="row">
<div class="col-md-12 mb-4">
<div class="block block-gray">
<h3 class="block-title"><span>Ils nous font confiance</span></h3>
<div class="carousel-wrap">
<div class="owl-carousel owl-theme " id="client-carousel">
<div class="item card">
<a href="#">
<img src="{{ asset('uploads/clients/logo-AMSA-fond-bleu-01.png') }}"
class="card-img-top" alt="AMSA" width="200" height="100">
</a>
</div>
<div class="item card">
<a href="#">
<img src="{{ asset('uploads/clients/_BOA.jpg') }}"
class="card-img-top" alt="BOA" width="200" height="100">
</a>
</div>
<div class="item card">
<a href="#">
<img src="{{ asset('uploads/clients/petroci-logo-1.jpg') }}"
class="card-img-top" alt="PETROCI" width="200" height="100">
</a>
</div>
<div class="item card">
<a href="#">
<img src="{{ asset('uploads/clients/sib-logo.jpg') }}"
class="card-img-top" alt="SIB" width="200" height="100">
</a>
</div>
<div class="item card">
<a href="#">
<img src="{{ asset('uploads/clients/arcep.jpg') }}"
class="card-img-top" alt="ARCEP" width="200" height="100">
</a>
</div>
<div class="item card">
<a href="#">
<img src="{{ asset('uploads/clients/nsia-blanc.jpg') }}"
class="card-img-top" alt="NSIA Banque & Assurrance" width="200" height="100">
</a>
</div>
<div class="item card">
<a href="#">
<img src="{{ asset('uploads/clients/bridge-bank-group.jpg') }}"
class="card-img-top" alt="Bridge Bank" width="200" height="100">
</a>
</div>
<div class="item card">
<a href="#">
<img src="{{ asset('uploads/clients/institut-universitaire-abidjan.jpg') }}"
class="card-img-top" alt="IUA" width="200" height="100">
</a>
</div>
<div class="item card">
<a href="#">
<img src="{{ asset('uploads/clients/centif.jpg') }}"
class="card-img-top" alt="CENTIF" width="200" height="100">
</a>
</div>
<div class="item card">
<a href="#">
<img src="{{ asset('uploads/clients/african-lease.jpg') }}"
class="card-img-top" alt="African Lease" width="200" height="100">
</a>
</div>
<div class="item card">
<a href="#">
<img src="{{ asset('uploads/clients/banque-atlantique-2.jpg') }}"
class="card-img-top" alt="Banque Atlantique" width="200" height="100">
</a>
</div>
<div class="item card">
<a href="#">
<img src="{{ asset('uploads/clients/logo_afg.webp') }}"
class="card-img-top" alt="AFG CI" width="200" height="100">
</a>
</div>
<div class="item card">
<a href="#">
<img src="{{ asset('uploads/clients/cica-re.jpg') }}"
class="card-img-top" alt="CICA RE" width="200" height="100">
</a>
</div>
<div class="item card">
<a href="#">
<img src="{{ asset('uploads/clients/logo-coris-bank.jpg') }}"
class="card-img-top" alt="Coris Bank" width="200" height="100">
</a>
</div>
<div class="item card">
<a href="#">
<img src="{{ asset('uploads/clients/ib-bank.jpg') }}"
class="card-img-top" alt="IB Bank" width="200" height="100">
</a>
</div>
<div class="item card">
<a href="#">
<img src="{{ asset('uploads/clients/boad.jpg') }}"
class="card-img-top" alt="BOAD" width="200" height="100">
</a>
</div>
<div class="item card">
<a href="#">
<img src="{{ asset('uploads/clients/soaga-logo.jpg') }}"
class="card-img-top" alt="SOAGA" width="200" height="100">
</a>
</div>
<div class="item card">
<a href="#">
<img src="{{ asset('uploads/clients/BGFI_logo.png') }}"
class="card-img-top" alt="BGFI Group" width="200" height="100">
</a>
</div>
<div class="item card">
<a href="#">
<img src="{{ asset('uploads/clients/bis.png') }}"
class="card-img-top" alt="Banque Islamique du Sénégal" width="200" height="100">
</a>
</div>
<div class="item card">
<a href="#">
<img src="{{ asset('uploads/clients/bia-niger1.jpg') }}"
class="card-img-top" alt="BIA Niger" width="200" height="100">
</a>
</div>
<div class="item card">
<a href="#">
<img src="{{ asset('uploads/clients/bim-sa.jpg') }}"
class="card-img-top" alt="BIM" width="200" height="100">
</a>
</div>
<div class="item card">
<a href="#">
<img src="{{ asset('uploads/clients/logo-bsic.jpg') }}"
class="card-img-top" alt="BSIC" width="200" height="100">
</a>
</div>
<div class="item card">
<a href="#">
<img src="{{ asset('uploads/clients/scb-c.jpg') }}"
class="card-img-top" alt="SCB Cameroun" width="200" height="100">
</a>
</div>
<div class="item card">
<a href="#">
<img src="{{ asset('uploads/clients/versus-bank.jpg') }}"
class="card-img-top" alt="Versus Bank" width="200" height="100">
</a>
</div>
<div class="item card">
<a href="#">
<img src="{{ asset('uploads/clients/VISTABANK.jpg') }}"
class="card-img-top" alt="Versus Bank" width="200" height="100">
</a>
</div>
<div class="item card">
<a href="#">
<img src="{{ asset('uploads/clients/huston-&-cie.png') }}"
class="card-img-top" alt="Versus Bank" width="200" height="100">
</a>
</div>
<div class="item card">
<a href="#">
<img src="{{ asset('uploads/clients/lbc-congo-logo.png') }}"
class="card-img-top" alt="LBC Congo" width="200" height="100">
</a>
</div>
<div class="item card">
<a href="#">
<img src="{{ asset('uploads/clients/mansa-bank-logo.png') }}"
class="card-img-top" alt="MANSA BANK" width="200" height="100">
</a>
</div>
<div class="item card">
<a href="#">
<img src="{{ asset('uploads/clients/logo_sunu.png') }}"
class="card-img-top" alt="SUNU Group" width="200" height="100">
</a>
</div>
<div class="item card">
<a href="#">
<img src="{{ asset('uploads/clients/Logo-BICICI.png') }}"
class="card-img-top" alt="BICICI" width="200" height="100">
</a>
</div>
</div>
</div>
</div>
</div>
</section>
<section class="row mt-4">
<div class="col-md-9">
<div class="block block-primary mb-5">
<h3 class="block-title">
<span>Recemment publiées</span>
<div class="float-right">
<a href="{{ path('site_news') }}" class="font-italic small font-weight-bold">voir plus >></a>
</div>
</h3>
<div class="row">
{% for news in newsimgfinance %}
{% if news.image %}
<div class="col-md-6 col-sm-12">
<div class="media">
<div class="media-left w-30">
<div class="of-img-hoverable">
{% if is_granted('IS_AUTHENTICATED_FULLY') %}
<a href="{{ path('site_news_show',{'id': news.id}) }}">
<img class="media-object w-100"
src=" {{ asset('uploads/news/' ~ news.image) }}" alt="...">
</a>
{%else%}
<a href="{{ path('site_news_show',{'id': news.id}) }}" {#data-toggle="modal" data-target="#lecture_news"#}>
<img class="media-object w-100"
src=" {{ asset('uploads/news/' ~ news.image) }}" alt="...">
</a>
{%endif%}
{#<a class="a1" href="{{ path('site_news_show',{'id': news.id}) }}">
<img class="media-object w-100"
src=" {{ asset('uploads/news/' ~ news.image) }}" alt="...">
</a>#}
</div>
</div>
<div class="media-body">
<h6 class="media-heading">
<small class="font-weight-bold"
style="color:#2ca4e8">{{ news.date? news.date|date("d/m/Y"):'' }} |
<font style="color:#28a745">
{% for type in news.type %}
{{ type.libelle }}
{% endfor %}
</font>
{% set i=0 %}
{% for commentaire in commentaires %}
{% if commentaire.news.id == news.id and commentaire.status==1 %}
{% set i=i+1 %}
{% endif %}
{% endfor %}
{% if i %}
<span class="badge bg-info" style="font-size:12px"title="Le nombre de commentaires sur l'article" >{{i}} </span>
{% endif %}
</small><br>
{% if is_granted('IS_AUTHENTICATED_FULLY') %}
<a class="a1" href="{{ path('site_news_show',{'id': news.id}) }}">{{ news.titre|slice(0,100) }}</a>
{%else%}
<a class="a1" href="{{ path('site_news_show',{'id': news.id}) }}" data-toggle="modal" data-target="#lecture_news">{{ news.titre|slice(0,100) }}</a>
{% endif %}
</h6>
</div>
</div>
</div>
{% endif %}
<hr>
{% endfor %}
{#
<div class="col-md-6 col-sm-12">
<div class="media">
<div class="media-left w-20">
<div class="of-img-hoverable">
<a href="#">
<img class="media-object w-100" src="{{ asset('assets/site/img/img-15.jpg') }}">
</a>
</div>
</div>
<div class="media-body">
<h6 class="media-heading">
<small class="font-weight-bold"><i class="fa fa-calendar-alt"></i> 06/02/2021 | <font style="color:#28a745">Economie/Forex</font></small><br>
<a href="#!">Lorem ipsum dolor sit amet, ebitis dolorum eius eum facere </a>
</h6>
</div>
</div>
</div>
#}
</div>
</div>
{#block Formation #}
<div class="block block-green mb-5">
<h3 class="block-title">
<span>Nos Formations</span>
<div class="carousel-nav">
<a href="#" class="btn btn-sm last-news-prev" id="last-news-prev"><i
class="fa fa-chevron-left"></i></a>
<a href="#" class="btn btn-sm last-news-next" id="last-news-next"><i
class="fa fa-chevron-right"></i></a>
</div>
</h3>
<div class="carousel-wrap">
<div class="owl-carousel owl-theme" id="news-carousel">
{% for programme in programmes %}
<div class="item card mb-1 ">
<div class="of-img-hoverable">
<a href="{{ path('site_formation_show',{'id': programme.id}) }}"
title="{{ programme.formation.titre }}">
<img src="{{ programme.formation.image?asset("uploads/formations/#{programme.formation.getImage()}"):asset('uploads/formations/default.jpg') }}"
class="card-img-top" alt="">
</a>
</div>
<div class="card-body">
<p class="m-0">
<small class="badge badge-info">
<i class="fa fa-calendar-alt"></i> {{ programme.dateDebut?programme.dateDebut|date('d/m/Y'):'<i>Prochainement</i>'|raw }}
</small>
{% for cat in programme.formation.categorie %}
<small class="badge badge-success"> {{ cat.titre }} </small>
{% endfor %}
</p>
<h6 class="card-title text-truncate"><a
href="{{ path('site_formation_show',{'id': programme.id}) }}"
title="{{ programme.formation.titre }}">{{ programme.formation.titre }}</a>
</h6>
<p class="card-text"></p>
</div>
</div>
{% endfor %}
{#
<div class="item card mb-1">
<div class="of-img-hoverable">
<img src="{{ asset('assets/site/img/img-10.jpg') }}" class="card-img-top" alt="...">
</div>
<div class="card-body">
<h6 class="card-title">Formation business by Orishas Finance</h6>
<p class="card-text"></p>
</div>
</div>
#}
</div>
</div>
<div class="mx-auto text-center mt-3">
<a href="{{ path('site_formation') }}" class="btn btn-outline-primary">voir plus >></a>
</div>
</div>
{#End:block Formation #}
</div>
<div class="col-md-3 mb-2">
<div class="block block-green" style="display:none">
<h3 class="block-title"><span>Nos Services</span></h3>
<div class="mb-2">
<div class="list-group">
<a href="#" class="list-group-item list-group-item-action services-link">Service 1</a>
<a href="#" class="list-group-item list-group-item-action services-link">Service 2</a>
<a href="#" class="list-group-item list-group-item-action services-link">Service 3</a>
<a href="#" class="list-group-item list-group-item-action services-link">Service 4</a>
<a href="#" class="list-group-item list-group-item-action services-link">Service 6</a>
</div>
<div class="mx-auto p-1">
<a href="" class="btn btn-outline-primary btn-block centered">En voir plus</a>
</div>
</div>
</div>
<div class="block block-gray mb-5">
<h3 class="block-title"><span>Publicité</span></h3>
{#<div>
{% for publicite in publicites %}
{% if( (publicite.espace=="Pub") and (publicite.status=="1")) %}
{% if publicite.type.libelle =="Image" %}
<p>
<img src="{{ asset('uploads/publicites/' ~ publicite.support) }}" width="250px"
height="200px" alt="...">
</p>
{% elseif publicite.type.libelle =="Video" %}
<p>
<video controls src="{{ asset('uploads/publicites/' ~ publicite.support) }}"
width="220px" height="210px"></video>
</p>
{% else %}
<p><a href="{{ asset('uploads/publicites/' ~ publicite.support) }}"
target="_blank">Voir</a></p>
{% endif %}
{% endif %}
{% endfor %}
</div>#}
</div>
<div class="block block-green">
<h3 class="block-title"><span>ORISHAS TV</span>
<div class="float-right">
<a href="{{ path('site_videos') }}" class="font-italic small font-weight-bold">voir plus
>></a>
</div>
</h3>
<div class="card">
{% for video in videosa %}
{% if video.type == '0' %}
<a href="{{ path('site_videos_show',{id: video.id,cat: video.categorie.id}) }}" class="js-video-button-off" data-video-id='{{ video.youtubeId }}'
data-channel="youtube">
<div class="of-video-img-1">
<i class="fa fa-play-circle fa-4x"></i>
<img src="{{ asset("uploads/videos/thumbnails/#{video.getThumbnail()}") }}"
class="card-img-top" alt="...">
</div>
<div class="card-body">
<h6 class="card-title">
{{ video.libelle }}
</h6>
<div class="card-text">
<div class="float-right">
<a href="{{ path('site_videos_show',{id: video.id,cat: video.categorie.id}) }}" class="js-video-button-off font-italic small font-weight-bold" data-video-id='{{ video.youtubeId }}'
data-channel="youtube">Voir la
vidéo >></a>
</div>
</div>
</div>
</a>
<hr>
{% endif %}
{% endfor %}
</div>
</div>
</div>
</section>
<section class="row">
<div class="col-md-12 mb-4">
{#block Calendrier_eco #}
<div class="block block-primary">
<h3 class="block-title"><span>Evénements Economiques</span>
<div class="float-right">
{% if is_granted('IS_AUTHENTICATED_FULLY') %}
<a href="{{ path('site_evenements') }}" class="font-italic small font-weight-bold">Voir
plus >></a>
{% else %}
<a href="{{ path('site_evenements') }}" class="font-italic small font-weight-bold" data-toggle="modal" data-target="#lecture_evenene">Voir
plus >></a>
{% endif %}
</div>
</h3>
<div class="row">
<div class="col-md-4">
{% if evenements %}
Export
{% if is_granted('IS_AUTHENTICATED_FULLY') %}
<a href="{{ path('site_export_bulk',{'page':'home'}) }}" class="btn btn-sm btn-outline-danger"><i class="fa fa-file-pdf"></i> Pdf
</a>
<a href="{{ path('site_export_csv_bulk',{'format':'xlsx','page':'home'}) }}" class="btn btn-sm btn-outline-info">
<i class="fa fa-file-excel"></i> Excel
</a>
{% else %}
<button class="btn btn-sm btn-outline-danger" data-toggle="modal"
data-target="#exampleModal"><i class="fa fa-file-pdf"></i> Pdf
</button>
<button class="btn btn-sm btn-outline-info" data-toggle="modal" data-target="#exampleModal">
<i class="fa fa-file-excel"></i> Excel
</button>
{% endif %}
{% endif %}
<button type="button" id="exporttable" style="display:none"
class="btn btn-lg btn-info clearfix">
<span class="fa fa-file-pdf-o"></span> PDF
</button>
<button id="exportButton" style="display:none" class="btn btn-lg btn-success clearfix"><span
class="fa fa-file-pdf-o"></span> PDF
</button>
</div>
<div class="col-md-8" style="display:none">
<input class="form-control" id="myInput" name="myInput" placeholder="Recherche"/>
</div>
</div>
<div class="table-responsive">
<table class="table table-hover table-sm" id="htmltable">
<thead>
<tr>
<th scope="col" class="">Heure</th>
<th scope="col">Pays</th>
<th scope="col">Evénement</th>
<th scope="col">Volatilité</th>
<th scope="col">Actuel</th>
<th scope="col">Prévision</th>
<th scope="col">Précedent</th>
</tr>
</thead>
<tbody>
<tr>
<th colspan="7"
style="background-color: lightgray; text-align: center; font-weight: bold;">{{ "now"|date('d/m/Y') }}</th>
</tr>
{% for evenement in evenements %}
<tr>
<td>
{% if evenement.importance!=0 %}
{{ evenement.heure? evenement.heure|date("H:i"):'' }}
{% else %}
<span class="">Toute la journée</span>
{% endif %}
</td>
<td><i class="flag-icon flag-icon-{{ evenement.pays.isoCode2|lower }}"
title="{{ evenement.pays.nompays }}"></i> {{ evenement.pays.monnaieCode }}</td>
<td>
{{ evenement.nom }} {{ evenement.periode }}
{% if evenement.importance!=0 %}
{% if evenement.precedente is null %}
<i class="fa fa-bullhorn" style="font-size:20px;color:#019934"></i>
{% endif %}
{% else %}
<span class=""></span>
{% endif %}
</td>
<td>
{% if evenement.importance == 1 %}
<i class="fa fa-star" style="color: var(--color-primary);"></i>
<i class="fa fa-star" style="color: var(--color-gray);"></i>
<i class="fa fa-star" style="color: var(--color-gray);"></i>
{% elseif evenement.importance == 2 %}
<i class="fa fa-star" style="color: var(--color-primary);"></i>
<i class="fa fa-star" style="color: var(--color-primary);"></i>
<i class="fa fa-star" style="color: var(--color-gray);"></i>
{% elseif evenement.importance == 3 %}
<i class="fa fa-star" style="color: var(--color-primary);"></i>
<i class="fa fa-star" style="color: var(--color-primary);"></i>
<i class="fa fa-star" style="color: var(--color-primary);"></i>
{% else %}
{{ evenement.fullImportance }}
{% endif %}
</td>
<td>{{ evenement.actuelle|compare_actuelle(evenement.prevision)|raw }}</td>
<td>{{ evenement.prevision }}</td>
<td>{{ evenement.precedente|compare_precedent(evenement.compaprecedent)|raw }} </td>
{# <td>
{% if (evenement.actuelle|number_format) > (evenement.prevision|number_format) and evenement.prevision!=null %}
<span style="font-weight: bold;color:green">{{ evenement.actuelle }}</span>
{% elseif (evenement.actuelle|number_format) < (evenement.prevision|number_format) %}
<span style="font-weight: bold;color:red">{{ evenement.actuelle }}</span>
{% else %}
<span style="font-weight: bold">{{ evenement.actuelle }}</span>
{% endif %}
</td>
<td><span class="">{{ evenement.prevision }}</span></td>
<td>
{% if evenement.precedente > evenement.compaprecedent %}
<span>{{ evenement.precedente }}</span>
<i class="fa fa-dot-circle"
title="Révision de {{ evenement.compaprecedent }}"></i>
{% elseif (evenement.precedente ) == (evenement.compaprecedent) %}
<span class="" style="">{{ evenement.precedente }}</span>
{% else %}
<span>{{ evenement.precedente }}</span>
<i class="fa fa-dot-circle"
title="Révision de {{ evenement.compaprecedent }}"></i>
{% endif %}
</td>#}
</tr>
{% else %}
<tr>
<td colspan="7" style="text-align:center;"> Aucun événement prévu a cette date</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</div>
<!-- Modal -->
<div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel"
aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header" style="text-align:center">
<h5 class="modal-title" id="exampleModalLabel">Accès membre Orishas-Finance</h5>
<button type="button" class="close " data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<div class="row">
<div class="col-md-5">
<img src="{{ asset('assets/site/images/logoh.png') }}" alt="Orishas-finance" width="150px;"
height="40px;">
</div>
<div class="col-md-7">
INFORMATIONS RÉSERVÉES AUX MEMBRES
</div>
</div>
</div>
<div class="modal-footer">
L'accès à cette fiche est réservé à nos membres:
<br>
<hr>
<a href="{{ path('app_login') }}" align="left" class="btn btn-primary">connectez-vous</a>
<a href="{{ path('app_register') }}" class="btn btn-secondary">Devenez membre gratuitement</a>
</div>
</div>
</div>
</div>
<!-- Modal Calendrier Economique -->
<div class="modal fade" id="lecture_evenene" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel"
aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header" style="text-align:center">
<h5 class="modal-title" id="exampleModalLabel">Accès membre Orishas-Finance</h5>
<button type="button" class="close " data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<div class="row">
<div class="col-md-5">
<img src="{{ asset('assets/site/images/logoh.png') }}" alt="Orishas-finance" width="150px;"
height="40px;">
</div>
<div class="col-md-7">
INFORMATIONS RÉSERVÉES AUX MEMBRES
</div>
</div>
</div>
<div class="modal-footer">
L'accès à cette fiche est réservé à nos membres:
<br>
<hr>
<a href="{{ path('app_login') }}" align="left" class="btn btn-primary">connectez-vous</a>
<a href="{{ path('app_register') }}" class="btn btn-secondary">Devenez membre gratuitement</a>
</div>
</div>
</div>
</div>
<!-- Modal News Financières -->
<div class="modal fade" id="lecture_news" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel"
aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header" style="text-align:center">
<h5 class="modal-title" id="exampleModalLabel">Accès membre Orishas-Finance</h5>
<button type="button" class="close " data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<div class="row">
<div class="col-md-5">
<img src="{{ asset('assets/site/images/logoh.png') }}" alt="Orishas-finance" width="150px;"
height="40px;">
</div>
<div class="col-md-7">
INFORMATIONS RÉSERVÉES AUX MEMBRES
</div>
</div>
</div>
<div class="modal-footer">
L'accès à cette fiche est réservé à nos membres:
<br>
<hr>
<a href="{{ path('app_login') }}" align="left" class="btn btn-primary">connectez-vous</a>
<a href="{{ path('app_register') }}" class="btn btn-secondary">Devenez membre gratuitement</a>
</div>
</div>
</div>
</div>
{#End:block Calendrier_eco #}
</div>
</section>
<section class="row">
<div class="col-md-12 mb-4">
<div class="block block-gray">
<h3 class="block-title"><span>Nos partenaires</span></h3>
<div class="carousel-wrap">
<div class="owl-carousel owl-theme " id="patner-carousel">
{% for partenaire in partenaires %}
{% if (partenaire.status==true) %}
<div class="item card">
<a href="{{ path('show_partenaire', {'id': partenaire.id,'nom': partenaire.nom}) }}">
<img src="{{ asset('uploads/partenaires/' ~ partenaire.logo) }}"
class="card-img-top" alt="..." width="200" height="100">
</a>
</div>
{% endif %}
{% endfor %}
</div>
</div>
</div>
</div>
</section>
{% endblock %}
{% block scripts %}
{#<script>
//First one
function sendNotif(){
Push.create("ORISHAS FINANCE", {
body: "Vous avez 10 News en attentes de lecture'?",
icon: 'https://www.orishas-finance.com/assets/site/images/icon_logo.jpg',
link: 'actualites',
timeout: 5000,
onClick: function () {
window.location ="https://www.orishas-finance.com/actualites";
this.close();
}
});
}
$(document).ready(function() {
sendNotif();
});
</script>#}
<script>
$(function () {
$("#exporttable").click(function (e) {
var table = $("#htmltable");
if (table && table.length) {
$(table).table2excel({
exclude: ".noExl",
name: "Excel Document Name",
filename: "BBBootstrap" + new Date().toISOString().replace(/[\-\:\.]/g, "") + ".xls",
fileext: ".xls",
exclude_img: true,
exclude_links: true,
exclude_inputs: true,
preserveColors: false
});
}
});
});
</script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script>
{#<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>#}
<!-- <script>
$(document).ready(function () {
$("#myInput").on("keyup", function () {
var value = $(this).val().toLowerCase();
$("#myTable tr").filter(function () {
$(this).toggle($(this).text().toLowerCase().indexOf(value) > -1)
});
});
});
</script>-->
{#<script src="https://cdnjs.cloudflare.com/ajax/libs/animejs/2.0.2/anime.min.js"></script>
<script src="https://code.jquery.com/jquery-2.2.4.min.js"></script>#}
<script src="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/owl.carousel.min.js"></script>
<script src="{{ asset('assets/common/modal-video-player/js/jquery-modal-video.js') }}"></script>
<!-- you need to include the shieldui css and js assets in order for the components to work -->
<link rel="stylesheet" type="text/css"
href="http://www.shieldui.com/shared/components/latest/css/light/all.min.css"/>
<script type="text/javascript"
src="http://www.shieldui.com/shared/components/latest/js/shieldui-all.min.js"></script>
<script type="text/javascript" src="http://www.shieldui.com/shared/components/latest/js/jszip.min.js"></script>
<script type="text/javascript">
jQuery(function ($) {
$("#exportButton").click(function () {
// parse the HTML table element having an id=exportTable
var dataSource = shield.DataSource.create({
data: "#myTable",
schema: {
type: "table",
fields: {
Heure: {type: String},
Pays: {type: String},
Evénement: {type: String},
Volatilité: {type: String},
Actuel: {type: String},
Prévision: {type: String},
Précedente: {type: String}
}
}
});
// when parsing is done, export the data to PDF
dataSource.read().then(function (data) {
var pdf = new shield.exp.PDFDocument({
author: "PrepBootstrap",
created: new Date()
});
pdf.addPage("a4", "portrait");
pdf.table(
50,
50,
data,
[
{field: "Heure", title: "Heure", width: 20},
{field: "Pays", title: "Pays", width: 20},
{field: "Evénement", title: "Evenment", width: 200},
{field: "Volatilité", title: "Volatilité"},
{field: "Actuel", title: "Actuel"},
{field: "Prévision", title: "Prevision"},
{field: "Précedente", title: "Précedent"}
],
{
margins: {
top: 50,
left: 50
}
}
);
pdf.saveAs({
fileName: "PrepBootstrapPDF"
});
});
});
});
</script>
<script>
// Wrap every letter in a span
var textWrapper = document.querySelector('.ml11 .letters');
textWrapper.innerHTML = textWrapper.textContent.replace(/([^\x00-\x80]|\w)/g, "<span class='letter'>$&</span>");
anime.timeline({loop: true})
.add({
targets: '.ml11 .line',
scaleY: [0, 1],
opacity: [0.5, 1],
easing: "easeOutExpo",
duration: 700
})
.add({
targets: '.ml11 .line',
translateX: [0, document.querySelector('.ml11 .letters').getBoundingClientRect().width + 10],
easing: "easeOutExpo",
duration: 700,
delay: 100
}).add({
targets: '.ml11 .letter',
opacity: [0, 1],
easing: "easeOutExpo",
duration: 600,
offset: '-=775',
delay: (el, i) => 34 * (i + 1)
}).add({
targets: '.ml11',
opacity: 0,
duration: 5000,
easing: "easeOutExpo",
delay: 5000
});
</script>
<script>
// Hero slider JS
$(document).ready(function () {
$('.main-slide').owlCarousel({
margin: 10,
loop: true,
autoplay: true,
autoplayHoverPause: false,
nav: false,
dots: false,
navText: ["<div class='nav-btn prev-slide'></div>", "<div class='nav-btn next-slide'></div>"],
responsive: {
0: {
items: 1
},
600: {
items: 2
},
1000: {
items: 3
}
}
});
var lastestNews = $('#news-carousel'), patnerCarousel = $('#patner-carousel, #client-carousel');
lastestNews.owlCarousel({
margin: 10,
dots: false,
loop: true,
autoplay: false,
/*nav: false,
navText:["<div class='nav-btn prev-slide'></div>","<div class='nav-btn next-slide'></div>"],*/
responsive: {
0: {
items: 2
},
600: {
items: 3
},
1000: {
items: 4
}
}
});
$('.last-news-prev').click(function (e) {
e.preventDefault();
//alert('lorem');
lastestNews.trigger('prev.owl.carousel');
});
$('.last-news-next').click(function (e) {
e.preventDefault();
lastestNews.trigger('next.owl.carousel');
});
patnerCarousel.owlCarousel({
margin: 10,
dots: false,
loop: true,
autoplay: true,
/*nav: false,
navText:["<div class='nav-btn prev-slide'></div>","<div class='nav-btn next-slide'></div>"],*/
responsive: {
0: {
items: 2
},
600: {
items: 4
},
1000: {
items: 5
}
}
});
// video modal
$(".js-video-button").modalVideo({
channel: 'youtube',
youtube: {
autoplay: 1,
cc_load_policy: 1,
color: null,
controls: 1,
disablekb: 0,
enablejsapi: 0,
fs: 1,
iv_load_policy: 1,
list: null,
listType: null,
loop: 0,
rel: 0,
showinfo: 1,
start: 0,
wmode: 'transparent',
theme: 'dark'
},
ratio: '16:9',
vimeo: {
api: false,
autopause: true,
autoplay: true,
byline: true,
callback: null,
color: null,
height: null,
loop: false,
maxheight: null,
maxwidth: null,
muted: false,
player_id: null,
portrait: true,
title: true,
width: null,
xhtml: false
},
});
})
</script>
{#<script src="{{ asset('assets/site/tooltip/tooltip.js')}}"></script>#}
{# <script src="{{ asset('assets/site/js/jquery.glossarize.js')}}"></script>
<script>
$(function(){
$('.corps').glossarizer({
sourceURL: "{{ asset('assets/site/css/glossary.json')}}",
callback: function(){
new tooltip();
}
});
});
</script>#}
{# Début Glossaire js #}
<script src="{{ asset('assets/site/js/jquery.glossarize.js')}}"></script>
<script>
$(function(){
$('.corpss').glossarizer({
sourceURL: "{{ asset('assets/site/css/glossary.json')}}",
callback: function(){
new tooltip();
}
});
});
</script>
{# Fin glossaire js #}
<script>
// $( "abbr" ).wrap( "<a href='https://orishas-finance.com/glossaire'> Glossaire </a>" );
//$( ".glossarizer_replaced" ).wrap( "a" ).attr('href', 'https://orishas-finance.com/glossaire');
// $( ".glossarizer_replaced" ).wrap( "<a href='https://orishas-finance.com/glossaire'> Glossaire </a>" );
</script>
<script type="text/javascript">
// $(".glossarizer_replaced").wrapAll('<a href="https://orishas-finance.com/glossaire">ORISHAS GLOSSAIRE</a>');
</script>
{% endblock %}