members and admins now showing

This commit is contained in:
2023-10-27 12:39:11 +02:00
parent bb51933dd1
commit 69a4a47b54
2 changed files with 70 additions and 6 deletions

View File

@ -41,13 +41,25 @@
</div>
<div class="card p-2">
<?php if($admins && count($admins)>0): ?> <h6>Admins</h6> <?php endif; ?>
<?php foreach($admins as $admin) : ?>
<img src="https://pictshare.net/identicon/<?= $admin['email']?>" height="50" width="50" class="rounded-circle" alt="<?= escape($admin['name']); ?>" data-bs-toggle="tooltip" data-bs-placement="top" title="<?= escape($admin['firstname'].' '.$admin['lastname']); ?>">
<img src="https://pictshare.net/identicon/<?= $admin['email']?>" height="50" width="50" class="rounded-circle" alt="<?= escape($admin['name']); ?>" title="<?= escape($admin['firstname'].' '.$admin['lastname']); ?>">
<?php endforeach; ?>
<?php if($members && count($members)>0): ?> <hr/> <h6>Mitglieder</h6> <?php endif; ?>
<?php foreach($members as $member) : ?>
<img src="https://pictshare.net/identicon/<?= $member['email']?>" height="50" width="50" class="rounded-circle" alt="<?= escape($member['name']); ?>" title="<?= escape($member['firstname'].' '.$member['lastname']); ?>">
<?php endforeach; ?>
</div>
</div>
<div class="col-8" id="sitemain">
<pre><?= escape($tdata['text']); ?></pre>
<div class="col-6" id="sitemain">
<div class="card p-2">
<h4>Beschreibungstext</h4>
<p class="card-text">
<pre><?= escape($tdata['text']); ?></pre>
</p>
</div>
</div>
</div>