</span>  <br/>
                                                                <?php 
    }
    ?>

                                                        </div>
                                                            <?php 
    if (count($attachments)) {
        echo '<span>';
        _e('Attachments:');
        foreach ($attachments as $attachment) {
            ?>

                                                                    <a href="<?php 
            echo module_ticket::link_open_attachment($ticket_id, $attachment['ticket_message_attachment_id']);
            ?>
"><?php 
            echo htmlspecialchars($attachment['file_name']);
            ?>
 (<?php 
            echo file_exists('includes/plugin_ticket/attachments/' . $attachment['ticket_message_attachment_id']) ? frndlyfilesize(filesize('includes/plugin_ticket/attachments/' . $attachment['ticket_message_attachment_id'])) : _l('File Not Found');
            ?>
)</a>
                                                                    <?php 
        }
        echo '</span>';
    }
    ?>

                                                    </div>