<!DOCTYPE html>

    {% include 'partials/head.html' %}
	{% include 'partials/header.html' %}
	{% include 'partials/video.html' %}

<div class="main-page">
    <div class="middle-content">
        <div class="body-content">
            <div class="title-content"><h1>Perfil de {{ profile.username }}</h1></div>
            <div class="box-content">
                <div class="body-box-content">
                    {% include 'forum/_style.html' %}
                    <div class="forum-wrap">
                        <p>Temas creados: <strong>{{ profile.topic_count }}</strong></p>
                        <p>Mensajes publicados: <strong>{{ profile.post_count }}</strong></p>
                        {% if profile.joindate %}<p>Registro: <strong>{{ profile.joindate|date:"d/m/Y" }}</strong></p>{% endif %}
                        <div class="forum-actions">
                            <a class="forum-btn" href="{% url 'app_forum' %}">← Volver al foro</a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

	{% include 'partials/social.html' %}
	{% include 'partials/footer.html' %}
	{% include 'partials/final.html' %}
