{% extends 'main/base.html.twig' %} {% set pageCode = "blog-detail" %} {% block title %}{{ entity.title }}{% endblock %} {% block description %}{{ entity.description }}{% endblock %} {% block pageMeta %} {% for lang in get_diller() %} {% set dilLink = blog.diller|filter(e => e.dil.kisaBaslik == lang) %} {% set dil = dilLink|first %} {% if dil %} {% endif %} {% endfor %} {% set activeLangLink = blog.diller|filter(e => e.dil.kisaBaslik == app.request.locale)|first %} {% if entity.blog.kapak %} {% endif %} {% if entity.jsonLd %} {% endif %} {% endblock %} {% block pageStyle %} {% endblock %} {% block content %}
{% if entity.blog.video %}
{% elseif entity.blog.banner %}
Dentmax Basından Dentmax Basından
{% else %}
Dentmax Basından Dentmax Basından
{% endif %}
{% set yourDateVariable = entity.updateDate %}
{{ yourDateVariable|localized_date(app.request.locale) }}

{{ entity.baslik }}

{#

Lorem ipsum dolor sit amet, consectetur adipisicing elit.

#}
Dentmax invisailgn
BLOG
{% block container %}
{% block navbar %} {{ render(controller('App\\Controller\\Main\\DefaultController::header', {request: app.request})) }} {% endblock %}
{% if entity.blog.updateUser.profile is defined %} {% set profil = entity.blog.updateUser.profile|default %} {% else %} {% set profil = entity.blog.createUser.profile|default %} {% endif %} {% if profil %} {% set profileDil = profil.diller|filter(d => d.dil.kisaBaslik == app.request.locale)|first %}
{% if profil is not null and profil.resim is not null %} Dentmax İletişim veya Randevu {% endif %}
{# Written By: #} {{ 'yazar'|trans }}:

{{profileDil.unvan|default~' '~profileDil.ad|default~' '~profileDil.soyad|default }}

{{ profileDil.hakkinda|default|raw }}

{% set icons = [] %} {% for social in profil.sosyalMedyalar|default %} {% set icons = icons|merge([{'iconName': social.tip|default, 'href': social.link|default}]) %} {% endfor %} {% include 'components/user-side/_media.html.twig' with {icons: icons, dark: true} %}
{% endif %}
{{ include('main/partials/contact-wrapper.html.twig') }}

{{ 'sevgi_ile_paylas'|trans }}

{{ include('components/user-side/_share-button.html.twig', { pageTitle: entity.title|default(''), }) }}
{% if entity.blog.updateUser.profile is defined %} {% set profil = entity.blog.updateUser.profile|default %} {% else %} {% set profil = entity.blog.createUser.profile|default %} {% endif %} {% if profil %} {% set profilDil = profil.diller|filter(d => d.dil.kisaBaslik == app.request.locale)|first %}
{% if profil is not null and profil.resim is not null %}
Dentmax İletişim veya Randevu
{% endif %}
{{ 'yazar'|trans }}:

{{profilDil.unvan|default~' '~profilDil.ad|default~' '~profilDil.soyad|default }}

{{ profilDil.hakkinda|default|raw }}

{% if profil %} {% set icons = [] %} {% for medya in profil.sosyalMedyalar %} {% set icons = icons|merge([{"iconName": medya.tip, "href": medya.link}]) %} {% endfor %} {% if icons|length > 0 %} {% include 'components/user-side/_media.html.twig' with {icons:icons, dark: true} %} {% endif %} {% endif %}
{% endif %}

{{ entity.baslik|default }}

{{ entity.altBaslik|default }}

{{ 'icindekiler'|trans }}

{{ entity.metin|default|raw }}
{% include 'main/partials/online-appointment/online-randevu-component.html.twig' %}
{{ 'yorum_yaz'|trans }}
Dentmax Kullanıcı Profil Resmi
{{ 'tarihe_gore'|trans }}
{{ 'begeniye_gore'|trans }}
{% for yorum in entity.blog.yorum |filter(b => b.del == 0 and b.durum == 1 and b.yorum is null) |sort((a, b) => (b.updateDate ?? b.createDate).timestamp - (a.updateDate ?? a.createDate).timestamp) %} {% set entid = yorum.id %}
Dentmax

{{ yorum.ad }}

{% if app.user and (app.user == yorum.user or 'ROLE_ADMIN' in app.user.roles) %} {% endif %}

{{ yorum.metin }}

{{ 'yanitla'|trans }}
{% for yanit in entity.blog.yorum|filter(b => b.del == 0 and b.yorum and b.durum == 1 and b.yorum.id == entid) %} {% set yanitayd = yanit.id %}
Dentmax

{{ yanit.ad }}

{% if app.user and (app.user == yanit.user or 'ROLE_ADMIN' in app.user.roles) %} {% endif %}

{{ yanit.metin }}

{{ 'yanitla'|trans }}
{% for altYanit in entity.blog.yorum|filter(b => b.del == 0 and b.yorum and b.durum == 1 and b.yorum.id == yanitayd) %}
Dentmax

{{ altYanit.ad }}

{% if app.user and (app.user == yanit.user or 'ROLE_ADMIN' in app.user.roles) %} {% endif %}

@{{ yanit.ad }} {{ altYanit.metin }}

{{ 'yanitla'|trans }}
{% endfor %} {% endfor %}
{% endfor %}
{% set sortedYorumlar = entity.blog.yorum|filter(b => b.del == 0 and b.durum == 1 and b.yorum is null)|sort((a, b) => (b.fav ?? 0) - (a.fav ?? 0)) %} {% for yorum in sortedYorumlar %} {% set entid = yorum.id %}
Dentmax

{{ yorum.ad }}

{% if app.user and (app.user == yorum.user or 'ROLE_ADMIN' in app.user.roles) %} {% endif %}

{{ yorum.metin }}

{{ 'yanitla'|trans }}
{% for yanit in entity.blog.yorum|filter(b => b.del == 0 and b.yorum and b.durum == 1 and b.yorum.id == entid) %} {% set yanitayd = yanit.id %}
Dentmax

{{ yanit.ad }}

{% if app.user and (app.user == yanit.user or 'ROLE_ADMIN' in app.user.roles) %} {% endif %}

{{ yanit.metin }}

{{ 'yanitla'|trans }}
{% for altYanit in entity.blog.yorum|filter(b => b.del == 0 and b.yorum and b.durum == 1 and b.yorum.id == yanitayd) %}
Dentmax

{{ altYanit.ad }}

{% if app.user and (app.user == yanit.user or 'ROLE_ADMIN' in app.user.roles) %} {% endif %}

@{{ yanit.ad }} {{ altYanit.metin }}

{{ 'yanitla'|trans }}
{% endfor %} {% endfor %}
{% endfor %}

{{ 'sss'|trans }}

{{ 'sss_alt_metin'|trans }}

{% for soru in sss|slice(0, 5) %}

{{ soru.baslik }}

{{ soru.metin|raw }}
{% endfor %}
{% for soru in sss|slice(5, 10) %}

{{ soru.baslik }}

{{ soru.metin|raw }}
{% endfor %}

{{ 'kategoriler'|trans({'%alias%': 'DENTMAX'}) }}

{% include 'components/user-side/sliders/_staff-slider.html.twig' %}
{% endblock %} {% endblock %} {% block pageScript %} {% include 'main/online_appointment/online-randevu-settings.twig' %} {% if app.user %} {% endif %} {% endblock %}