|
Server : Apache/2.4.41 (Ubuntu) System : Linux vmi1525618.contaboserver.net 5.4.0-105-generic #119-Ubuntu SMP Mon Mar 7 18:49:24 UTC 2022 x86_64 User : www-data ( 33) PHP Version : 8.2.12 Disable Function : NONE Directory : /var/www/erp.theinteractive.co.in/storage/framework/views/ |
Upload File : |
<?php if($viewType == 'default'): ?>
<?php if($from_id != $to_id): ?>
<div class="message-card" data-id="<?php echo e($id); ?>">
<p><?php echo ($message == null && $attachment != null && @$attachment[2] != 'file') ? $attachment[1] : nl2br($message); ?>
<sub title="<?php echo e($fullTime); ?>"><?php echo e($time); ?></sub>
<?php if(@$attachment[2] == 'file'): ?>
<a href="<?php echo e(route(config('chatify.attachments.download_route_name'),['fileName'=>$attachment[0]])); ?>" style="color: #595959;" class="file-download">
<span class="ti ti-file"></span> <?php echo e($attachment[1]); ?></a>
<?php endif; ?>
</p>
</div>
<?php if(@$attachment[2] == 'image'): ?>
<div>
<div class="message-card">
<div class="image-file chat-image" style="width: 250px; height: 150px;background-image: url('<?php echo e(asset('storage/'.config('chatify.attachments.folder').'/'.$attachment[0])); ?>')">
</div>
</div>
</div>
<?php endif; ?>
<?php endif; ?>
<?php endif; ?>
<?php if($viewType == 'sender'): ?>
<div class="message-card mc-sender" data-id="<?php echo e($id); ?>">
<p><?php echo ($message == null && $attachment != null && @$attachment[2] != 'file') ? $attachment[1] : nl2br($message); ?>
<sub title="<?php echo e($fullTime); ?>" class="message-time">
<span class="ti ti-<?php echo e($seen > 0 ? 'check-double' : 'check'); ?> seen"></span> <?php echo e($time); ?></sub>
<?php if(@$attachment[2] == 'file'): ?>
<a href="<?php echo e(route(config('chatify.attachments.download_route_name'),['fileName'=>$attachment[0]])); ?>" class="file-download">
<span class="ti ti-file"></span> <?php echo e($attachment[1]); ?></a>
<?php endif; ?>
</p>
</div>
<?php if(@$attachment[2] == 'image'): ?>
<div>
<div class="message-card mc-sender">
<div class="image-file chat-image" style="width: 250px; height: 150px;background-image: url('<?php echo e(\App\Models\Utility::get_file(config('chatify.attachments.folder').'/'.$attachment[0])); ?>')">
</div>
</div>
</div>
<?php endif; ?>
<?php endif; ?>
<?php /**PATH /var/www/erp.theinteractive.co.in/resources/views/vendor/Chatify/layouts/messageCard.blade.php ENDPATH**/ ?>