}
?>
				</div>
     
				<div class="message-content-text">
					<?php 
echo StreamMessage::format($stream->message);
?>
				</div>
		
				<?php 
echo StreamMessage::getAttachmentHTML($stream);
?>

				<?php 
echo StreamTag::getTagsHTML($stream);
?>

				<div class="message-content-topic topic-container-parent" style="display: none;">
					<ul class="topic-container">
						<?php 
$topics = array();
if (strlen($stream->topics) > 0) {
    $topics = explode(',', $stream->topics);
}
foreach ($topics as $topic) {
    ?>
							<li class="stream-topics-element">
								<a href="#"><?php 
    echo $topic;
    ?>