| Server IP : 46.62.235.243 / Your IP : 216.73.216.217 Web Server : Apache/2.4.58 (Ubuntu) System : Linux Linkabili3Dicembre 6.8.0-100-generic #100-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 13 16:40:06 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 8.1.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/linkabili/resources/views/vendor/Chatify/layouts/ |
Upload File : |
{{-- -------------------- Saved Messages -------------------- --}}
@if($get == 'saved')
<table class="messenger-list-item m-li-divider" data-contact="{{ Auth::user()->id }}">
<tr data-action="0">
{{-- Avatar side --}}
<td>
<div class="avatar av-m" style="background-color: #d9efff; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center;">
<span class="far fa-bookmark" style="font-size: 22px; color: #68a5ff;"></span>
</div>
</td>
{{-- center side --}}
<td>
<p data-id="{{ Auth::user()->id }}" data-type="user">Saved Messages <span>You</span></p>
<span>Save messages secretly</span>
</td>
</tr>
</table>
@endif
{{-- -------------------- All users/group list -------------------- --}}
@if($get == 'users')
<table class="messenger-list-item" data-contact="{{ $user->id }}">
<tr data-action="0">
{{-- Avatar side --}}
<td style="position: relative">
@if($user->active_status)
<span class="activeStatus"></span>
@endif
@if(DB::table('users')->where('id',$user->id)->first()->path_url)
<div class="avatar av-m" style="background-image:url('/upload/{{DB::table('users')->where('id',$user->id)->first()->path_url}}')"></div>
@else
<div class="avatar av-m" style="background-image: url('/theme/assets/img/doctor-detail/9.jpg')"></div>
@endif
</td>
{{-- center side --}}
<td>
@if($user->user_type!='care_giver')
<a href="/detail/{{$user->slug}}">
@endif
<p data-id="{{ $user->id }}" data-type="user" @if($user->user_type!='care_giver')
style="text-decoration:underline"
@endif>
{{ strlen($user->name) > 12 ? trim(substr($user->name,0,12)).'..' : $user->name }}
<span>{{ $lastMessage->created_at->diffForHumans() }}</span></p>
@if($user->user_type!='care_giver')
</a>
@endif
<span>
{{-- Last Message user indicator --}}
{!!
$lastMessage->from_id == Auth::user()->id
? '<span class="lastMessageIndicator">Tu :</span>'
: ''
!!}
{{-- Last message body --}}
@if($lastMessage->attachment == null)
<?php try{ ?>
{{
strlen(Crypt::decryptString($lastMessage->body)) > 30
? trim(substr(Crypt::decryptString($lastMessage->body), 0, 30)).'..'
: Crypt::decryptString($lastMessage->body)
}}
<?php }catch(\Exception $e){ ?>
<?php } ?>
@else
<span class="fas fa-file"></span> Allegato
@endif
</span>
{{-- New messages counter --}}
{!! $unseenCounter > 0 ? "<b>".$unseenCounter."</b>" : '' !!}
</td>
</tr>
</table>
@endif
{{-- -------------------- Search Item -------------------- --}}
@if($get == 'search_item')
<table class="messenger-list-item" data-contact="{{ $user->id }}">
<tr data-action="0">
{{-- Avatar side --}}
<td>
<div class="avatar av-m"
style="background-image: url('{{ $user->avatar }}');">
</div>
</td>
{{-- center side --}}
<td>
<p data-id="{{ $user->id }}" data-type="user">
{{ strlen($user->name) > 12 ? trim(substr($user->name,0,12)).'..' : $user->name }}
</td>
</tr>
</table>
@endif
{{-- -------------------- Shared photos Item -------------------- --}}
@if($get == 'sharedPhoto')
<div class="shared-photo chat-image" style="background-image: url('{{ $image }}')"></div>
@endif