{% extends 'layouts/site_page.html.twig' %}
{% block title %}Actualités financières et divers : Orishas-finance{% endblock %}
{% block meta %}
<meta name="description" content="Nous agrégeons les sources d’informations financières spécifiques Régionales et Internationales. Info Générale, Economique, Marchés Forex-Comodities- Actions-Obligataires-Taux, Vieille règlementaire etc.">
<meta property="og:title" content="Toutes les actualités économiques sur Orishas-finance">
<meta property="og:description" content="Nous agrégeons les sources d’informations financières spécifiques Régionales et Internationales. Info Générale, Economique, Marchés Forex-Comodities- Actions-Obligataires-Taux, Veille règlementaire etc.">
<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/actualites">
<meta name="twitter:card" content="summary_large_image">
{% endblock %}
{% block css %}
<link rel="stylesheet" href="{{ asset('assets/common/daterangepicker/daterangepicker.css') }}">
<link rel="stylesheet" href="{{ asset('assets/common/select2/css/select2.min.css') }}">
<link rel="stylesheet" href="{{ asset('assets/common/select2-bootstrap4-theme/select2-bootstrap4.min.css') }}">
<style type="text/css">
.link-gray{
color: #4f4f4f;
}
.link-gray:hover{
color: #2CA4E8;
}
</style>
{% endblock %}
{% block body %}
<section class="jumbotron text-white of-page-header position-relative">
<div class="container text-center mb-4">
<h4 class="display-5 font-weight-bold">NEWS FINANCIÈRES</h4>
<p class="font-italic mb-0">Nous agrégeons les sources d’informations financières spécifiques Régionales et Internationales. Info Générale, Economique, Marchés Forex-Comodities- Actions-Obligataires-Taux, Vieille règlementaire etc.</p>
</div>
<div class="of-header-fixed-bottom">
<nav>
<ol class="breadcrumb mb-0">
<li class="breadcrumb-item"><a href="{{ path('site_home') }}"><i class="fa fa-home"></i></a></li>
<li class="breadcrumb-item active">Actualités</li>
</ol>
</nav>
</div>
</section>
<div class="pl-3 pr-3">
<section class="row mt-4">
<div class="col-md-9 order-lg-1">
<div class="row">
<div class="col-md-12">
{% if lang == 'en' %}
<a class="of-simple-tab" href="?lang=fr"><i class="flag-icon flag-icon-fr"></i> Version Française</a>
{% else %}
<a class="of-simple-tab" href="?lang=en"><i class="flag-icon flag-icon-gb"></i> English Version</a>
{% endif %}
<hr>
</div>
<div class="col-md-12">
<a href="{{ path('site_news') }}" class="of-simple-tab {% if not typeId %} selected {% endif %} ">{{(lang == 'en')? "All categories":"Toutes les actualités"}}</a>
{% for typenews in typesnews %}
<a href="{{ path('site_news',{'slug': typenews.slug}) }}" class="of-simple-tab {% if typeId==typenews.id %} selected {% endif %} ">{{ (lang == 'en')? typenews.libelleEn: typenews.libelle }}</a>
{% endfor %}
</div>
<div class="col-md-12">
{# <div class="card-header">
<small class="d-flex justify-content-between">
<span>Total: <span class="font-weight-bold">200</span></span>
<span>Type: <span class="font-weight-bold">*</span></span>
<span>Catégorie : <span class="font-weight-bold">*</span></span>
<span>Période: <b>Aujourd'hui</b></span>
</small>
</div>#}
<form class="row mt-1 pt-2 pb-1 mb-1 border-top border-bottom">
<input type="hidden" name="lang" value="{{ lang }}">
<div class="form-group col-md-6 col-12">
{#<label for="type">Type</label>#}
<select name="type" id="type" class="form-control">
<option value="all" {% if not type %} selected{% endif %} >{{(lang == 'en')?"All types": "Tous les types" }}</option>
<option value="gratuit" {% if type=='gratuit' %} selected{% endif %} >{{(lang == 'en')?"Free":"Gratuit" }}</option>
<option value="premium" {% if type=='premium' %} selected{% endif %} >Premium</option>
</select>
</div>
<div class="form-group col-md-6 col-12">
{# <label for="q">Rechercher</label>#}
<input type="text" name="q" id="q" value="{{ q }}" class="form-control" placeholder="{{ (lang == 'en')? "Search":"Rechercher" }}" />
</div>
{# <div class="form-group col-lg-12 col-6">
<label for="dates">Date de publication</label>
<input type="text" name="dates" id="dates" class="form-control" value="{{ selectedDate }}">
</div>
<div class="form-group col-lg-12 col-6">
<label for="categories">Catégorie</label>
<select name="categorie" id="categories" class="form-control">
<option value="">Toutes les catégories</option>
<option value="">Eco/fin</option>
<option value="">Matière première</option>
<option value="">Marché</option>
</select>
</div>#}
<div class="form-group mx-auto">
<button type="submit" class="btn btn-sm btn-outline-primary">{{ (lang == 'en')?"Filter":"Filtrer" }}</button>
<button type="reset" class="btn btn-sm btn-outline-secondary">{{(lang == 'en')?"Reset":"Réinitialiser"}}</button>
</div>
</form>
<div class="card-body">
{% for news in newsfinance %}
<div class="col-md-12 border-bottom mt-2">
<div class="media">
<div class="media-left of-news-ima-caption pb-0">
<div class="of-img-hoverable">
<a href="{{ path('site_news_show',{'id': news.id}) }}{{ (lang == 'en')?'?lang=en':'' }}">
<img class="media-object w-100" src="{{ (news.image)?asset("uploads/news/#{news.getImage()}"):asset("uploads/news/defaultnews.jpg") }}" alt="">
</a>
</div>
</div>
<div class="media-body">
<p class="m-0">
<small class="badge badge-info">
<i class="fa fa-calendar-alt"></i> {{ news.date|date('d/m/Y') }}
</small> -
{% for types in news.type %}
<small class="badge badge-success"> {{ (lang == 'en')? types.libelleEn : types.libelle }} </small>
{% endfor %}
{% if news.premium %} <small class="fa fa-lock text-muted"></small> {% endif %}
</p>
<h6 class="media-heading">
<a href="{{ path('site_news_show',{'id': news.id}) }}{{ (lang == 'en')?'?lang=en':'' }}" class="of-news-title">{{ (lang == 'en')?news.titreEn:news.titre }}</a>
</h6>
</div>
</div>
</div>
{% else %}
<div class="text-center alert alert-warning">
{{ (lang == 'en')?"No article available":"Aucun article disponible" }} {% if typeId %}
{{(lang == 'en')?"in this category": "dans cette catégorie"}} {% endif %}
</div>
{% endfor %}
{% if lang == 'en' %}
<div class="mt-2">
<span class="border-secondary bg-lightbluey p-2 mb-4 ml-3"> Provided by AWS Translate</span>
</div>
{% endif %}
<div class="border-top mt-4">
<div class="d-flex justify-content-center">
{{ knp_pagination_render(newsfinance) }}
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-3 order-lg-2">
<div class="sticky-top">
<div class="">
<div class="block block-primary mb-5">
<h3 class="block-title"><span>Nos services</span></h3>
<div class="list-group">
{%for service in services %}
<a class="list-group-item link-gray" href="{{ path('servicefront_show', {'id': service.id}) }}">{{service.libelle}}</a>
{%endfor%}
</div>
{#<form class="row">
<div class="form-group col-lg-12 col-6">
<label for="type">Type</label>
<select name="type" id="type" class="form-control">
<option value="all" {% if not type %} selected{% endif %} >Tous les types</option>
<option value="gratuit" {% if type=='gratuit' %} selected{% endif %} >Gratuit</option>
<option value="premium" {% if type=='premium' %} selected{% endif %} >Premium</option>
</select>
</div>
<div class="form-group col-lg-12 col-6">
<label for="q">Rechercher</label>
<input type="search" name="q" id="q" value="{{ q }}" class="form-control">
</div>
#}{# <div class="form-group col-lg-12 col-6">
<label for="dates">Date de publication</label>
<input type="text" name="dates" id="dates" class="form-control" value="{{ selectedDate }}">
</div>
<div class="form-group col-lg-12 col-6">
<label for="categories">Catégorie</label>
<select name="categorie" id="categories" class="form-control">
<option value="">Toutes les catégories</option>
<option value="">Eco/fin</option>
<option value="">Matière première</option>
<option value="">Marché</option>
</select>
</div>#}{#
<div class="form-group mx-auto">
<button type="submit" class="btn btn-sm btn-outline-primary">Filtrer</button>
<button type="reset" class="btn btn-sm btn-outline-secondary">Réinitialiser</button>
</div>
</form>#}
</div>
</div>
<div class="block block-gray mb-1">
<h3 class="block-title"><span>Publicité</span></h3>
<img src="{{ asset('assets/site/images/pub-1.png') }}" alt="" class="img-responsive w-100">
</div>
</div>
</div>
</section>
</div>
{% endblock %}
{% block scripts %}
<script>(function(w,d, s, id) {if(typeof(w.webpushr)!=='undefined') return;w.webpushr=w.webpushr||function(){(w.webpushr.q=w.webpushr.q||[]).push(arguments)};var js, fjs = d.getElementsByTagName(s)[0];js = d.createElement(s); js.id = id;js.async=1;js.src = "https://cdn.webpushr.com/app.min.js";fjs.parentNode.appendChild(js);}(window,document, 'script', 'webpushr-jssdk'));webpushr('setup',{'key':'BMtEewNU-73-Okp-AyhCiqZMJD0WMUuzECrqHYgEGdNt0NcU00fdS_pXwo4Jy1WzDl4m_lhH-G_uXbX0-xvODlI' });</script>
<script type="text/javascript" src="{{ asset('assets/common/daterangepicker/moment.min.js') }}"></script>
<script src="{{ asset('assets/common/daterangepicker/daterangepicker.js') }}"></script>
<script src="{{ asset('assets/common/select2/js/select2.full.min.js') }}"></script>
<script>
$(document).ready(function () {
$('.multiple').select2();
$('#dates').daterangepicker({
singleDatePicker: true,
});
})
</script>
{% endblock %}