профиль пользака

This commit is contained in:
rsgrinko committed 2022-07-05 21:45:57 +03:00
1 parent a2fe36227b
commit 0b31f06efb
5 files changed
+74 -50

No files matched your search

+8 -1
View File
@@ -197,7 +197,14 @@
<div class="leftpanel">
<div class="media profile-left">
<a class="pull-left profile-thumb" href="profile.php">
<img class="img-circle" src="<?=$arUser['image']; ?>" alt="">
<img class="img-circle" src="<?php
$image = $USER->getImage();
if (!empty($image)) {
echo $image['path'];
} else {
echo '/uploads/users/system.png';
}
?>" alt="">
</a>
<div class="media-body">
<h4 class="media-heading"><?=$arUser['name']; ?></h4>