HEX
Server: Apache
System: Linux p3plzcpnl506847.prod.phx3.secureserver.net 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: slfopp7cb1df (5698090)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: /home/slfopp7cb1df/public_html/sitepacket.com/system/app/Views/messages/reply_row.php
<div class="b-b p15 m0 bg-white js-message-reply" data-message_id="<?php echo $reply_info->id; ?>" href="#reply-<?php echo $reply_info->id; ?>" >
    <div class="row">
        <div class="col-md-12">
            <div class="d-flex">
                <div class="flex-shrink-0">
                    <span class="avatar avatar-sm">
                        <img src="<?php echo get_avatar($reply_info->user_image); ?>" alt="..." />
                    </span>
                </div>
                <div class="w-100 ps-2">
                    <div>
                        <strong><?php
                            if ($reply_info->from_user_id === $login_user->id) {
                                echo app_lang("me");
                            } else {
                                if ($reply_info->user_type == "client") {
                                    echo get_client_contact_profile_link($reply_info->from_user_id, $reply_info->user_name, array("class" => "dark strong"));
                                } else {
                                    echo get_team_member_profile_link($reply_info->from_user_id, $reply_info->user_name, array("class" => "dark strong"));
                                }
                            }
                            ?>
                        </strong>
                        <span class="text-off float-end"><?php echo format_to_relative_time($reply_info->created_at); ?></span>
                    </div>
                    <p><?php echo custom_nl2br(link_it(process_images_from_content($reply_info->message))); ?></p>

                    <div class="comment-image-box clearfix">
                        <?php
                        $files = unserialize($reply_info->files);
                        $total_files = count($files);

                        if ($total_files) {
                            echo view("includes/timeline_preview", array("files" => $files));

                            $download_caption = app_lang('download');
                            if ($total_files > 1) {
                                $download_caption = sprintf(app_lang('download_files'), $total_files);
                            }
                            echo "<i data-feather='paperclip' class='icon-16'></i>";
                            echo anchor(get_uri("messages/download_message_files/" . $reply_info->id), $download_caption, array("class" => "float-end", "title" => $download_caption));
                        }
                        ?>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>