{% extends "layout.html.twig" %} {% set menu_selected = 'info' %} {% block title %} {{ 'profile.profile3'|trans({}, 'FOSUserBundle') }} {{ user.firstName ~ ' ' ~ user.lastName }} {% endblock title%} {% block stylesheets %} {{ parent() }} {% endblock %} {% block body %} {% if app.user is not null and app.user == user %}
{% if not user.isVerified %}
{% include "Profile/confim_email_notification.html.twig" %}
{% endif %}
{% include "Profile/flash_message.html.twig" %}
{% if endSubscribeDate and not canceled %} {% elseif not subscribed %} {% endif %}
{% endif %}

{% if app.request.get('_locale') == 'ar' %}{{ user.studyField.arabicFullName }}{% else %}{{ user.studyField.englishFullName }}{% endif %}

{{ user.visitors}}

{{ 'profile.lastlogin'|trans({}, 'FOSUserBundle') }} {{ user.lastLogin|date("Y M D")}}
{% if app.user is not null and app.user == user and user.partner is not null and user.partner.frontPrivateCardImage is not null and user.partner.backPrivateCardImage is not null %}
ملاحظة: (لاتظهر هذه الصور للعامة)
{% endif %}
{% if app.user is not null and app.user == user %} {% endif %}

{{ 'profile.bio'|trans({}, 'FOSUserBundle') }}

{% if user.gender == 'm'%} {{ 'profile.born.male'|trans({}, 'FOSUserBundle') }} {% else %} {{ 'profile.born.female'|trans({}, 'FOSUserBundle') }} {% endif %} {{ user.birthdate|date('Y M D') }}, {{ 'profile.from'|trans({}, 'FOSUserBundle') }} {{ user.country }} {% if user.address is not null %} {{ 'profile.address'|trans({}, 'FOSUserBundle') }} {{ user.address }} {% endif %}


{{ 'profile.account'|trans({}, 'FOSUserBundle') }}

{{ user.email}} {% if user.facebookUrl is not null %} {{ (user.facebookUrl ~ ' ')|raw }} {% endif %} {% if user.linkedinUrl is not null %} {{ (user.linkedinUrl ~ ' ')|raw }} {% endif %}

{{ 'profile.interests'|trans({}, 'FOSUserBundle') }} {% if user.interests|length > 0 %} {% for interest in user.interests %} {{ interest}}, {% endfor %} {% else %} {{ 'profile.notFound'|trans({}, 'FOSUserBundle') }} {% endif %}
{{ 'profile.languages'|trans({}, 'FOSUserBundle') }} {% if user.languages|length > 0 %} {% for language in user.languages %} {{ language }}, {% endfor %} {% else %} {{ 'profile.notFound'|trans({}, 'FOSUserBundle') }} {% endif %}
{{ 'profile.studyAndWork'|trans({}, 'FOSUserBundle') }}

{% if user.work is not null %}
{{ user.work }}
{% endif %} {% if user.studyDegree is not null %}
{{ user.studyDegree|trans({}, 'FOSUserBundle') }}
{% endif %} {% if user.work is null and user.studyDegree is null %} {{ 'profile.notFound'|trans({}, 'FOSUserBundle') }} {% endif %}
Profile Picture
{% if matchedResearches is defined and matchedResearches is not empty %}
{{ include('@syndexAcademic/Default/research_brief.html.twig') }}
{{'research.all'|trans({},'Academia') }}
{% else %}

عذرا, لايوجد لديك ابحاث لعرضها

{% endif %}
{% if user == app.user and user.partner is not null and user.partner.status == "approve" %}

عدد المستخدمين الذين قامو بالتحميل لشهر {{ data.month }}: {{ data.totalPerMonth}}

{% for key,research in data.researchs %} {% endfor %}
# اسم البحث عدد التحميلات
{{ loop.index }} {{key}} {{research[0]}}

المجموع الحالي: {{data.total}}

المبلغ الحالي: {{ data.total * money_per_download}}


{% if data.payments is empty %} لايوجد دفعات سابقة. {% else %}
    {% for payment in data.payments|slice(0 , 10) %}
  1. تم دفع {{payment.totalMoney }} ليرة سورية مقابل {{payment.numberOfDownloads }} تحميل بتاريخ {{payment.createdAt|date()}}
  2. {% endfor %}
{% endif %}
{% endif %}
{% endblock %} {% block javascripts %} {% endblock %}