<div class="columns">
    <div class="column">
        <div class="media">
            <div class="media-left">
                <figure class="image is-128x128 meine-daten">
                    [[+Bild:isnot=`unbekannt`:then=`<img class="is-rounded" src="[[!pthumb? &input=`assets/content_2023/mitglieder/[[+UserID]].jpg` &options=`&w=128&h=128&zc=1&f=jpg&q=90`]]" alt="[[+Vorname]] [[+Nachname]]" />`:else=`<div class="list-image-alt">[[+Vorname:limit=`1`]][[+Nachname:limit=`1`]]</div>`]]
                </figure>
            </div>
            <div class="media-content">
                <p class="title is-4">[[+Vorname]] [[+Nachname]] [[+Position:isnot=``:then=`
                    <div class="tag is-rounded is-dark">
                        <span class="icon-text">
                            <span class="icon">
                                <ion-icon name="ribbon-outline"></ion-icon>
                            </span>
                            <span>[[+Position]]</span>
                        </span>
                    </div>`]]
                </p>
                <p class="subtitle is-6">
                    <time datetime="[[+Geburtsdatum:strtotime:date=`%Y-%m-%d`]]">
                        <span class="icon-text">
                            <span class="icon">
                                <ion-icon name="egg-outline"></ion-icon>
                            </span>
                            <span>[[+Geburtsdatum:strtotime:date=`%d. %B %Y`]]</span>
                        </span>
                    </time>
                </p>
            </div>
        </div>
        
        <div class="content">
            <p>[[+Strasse]]<br />
            [[+PLZ]] [[+Ort]]</p>
            [[+E_Mail:isnot=``:then=`
                <p>
                    <span class="icon-text">
                        <span class="icon">
                            <ion-icon name="mail-outline"></ion-icon>
                        </span>
                        <span>
                            <a href="mailto:[[+E_Mail]]">[[+E_Mail]]</a>
                        </span>
                    </span>
                </p>
            `]]
            [[+Mobil:isnot=``:then=`
                <p>
                    <span class="icon-text">
                        <span class="icon">
                            <ion-icon name="phone-portrait-outline"></ion-icon>
                        </span>
                        <span>[[+Mobil]]</span>
                    </span>
                </p>
            `]]
            [[+Tel_p:isnot=``:then=`
                <p>
                    <span class="icon-text">
                        <span class="icon">
                            <ion-icon name="call-outline"></ion-icon>
                        </span>
                        <span>[[+Tel_p]]</span>
                    </span>
                </p>
            `]]
            [[+haesnr:isnot=`0`:then=`
                <p>
                    <span class="icon-text">
                        <span class="icon">
                            <ion-icon name="footsteps-outline"></ion-icon>
                        </span>
                        <span>[[+haesnr]]</span>
                    </span>
                </p>
            `]]
        </div>
    </div>

    <div class="column">
        <h6>Meine Vereinshistorie</h6>

        <div class="timeline">
            [[+Eintritt:is=`2002-05-25`:then=`
                <header class="timeline-header">
                    <span class="tag is-medium is-primary">Gründungsmitglied</span>
                </header>
            `:else=`
                <header class="timeline-header">
                    <span class="tag">Vereinsgründung</span>
                </header>
                <div class="timeline-item">
                    <div class="timeline-marker"></div>
                    <div class="timeline-content">
                        <p class="heading">25. Mai 2002</p>
                    </div>
                </div>
                <header class="timeline-header">
                    <span class="tag is-medium is-primary">Eintritt</span>
                </header>
            `]]

            <div class="timeline-item">
                <div class="timeline-marker is-icon is-image is-32x32">
                    <ion-icon name="egg-outline"></ion-icon>
                </div>
                <div class="timeline-content">
                    <p class="heading">[[+Eintritt:strtotime:date=`%d. %B %Y`]]</p>
                    <p>Eintritt in den Verein</p>
                </div>
            </div>
        
            [[!Rowboat?
                &table=`c103_v_mitgl_ehrungen`
                &tpl=`rowb_mitgliedMeineDatenEhrungen_2023`
                &where=`{"MdxUserID:=":"[[!+modx.user.id]]"}`
            ]]
        </div>
    </div>
</div>
