bl-github/php/profile.php

6 lines
409 B
PHP
Raw Normal View History

2023-03-11 11:38:14 +00:00
<div class="col-md-4 col-4">
<?php if ($page->user('profilePicture')): ?>
<img class="img-fluid rounded-circle" alt="<?php echo $page->title(); ?>"
src="<?php echo ($page->user('profilePicture')?$page->user('profilePicture'):Theme::src('img/noimage.png')) ?>" width="30"/><?php endif ?>
<?php if ($page->user('nickname')): ?>&nbsp;<strong><?php echo $page->user('nickname') ?></strong><?php endif ?>
</div>