</span></p>
        <p>Posted: <span><?php 
echo CHtml::encode($data['date_created']);
?>
</span></p>
    </div>

    <div class="media-body well">
        <div class="forum-text-area">

            <?php 
if ($data['child_reply']) {
    ?>
                <?php 
    $childReply = Reply::model()->getChildReplyPosting($data['child_reply']);
    $this->widget('bootstrap.widgets.TbBox', array('title' => "In reply to <a href='#'>" . PostHelper::PrintPosterName($childReply['username'], $childReply['user_group_id']) . "</a>", 'headerIcon' => 'icon-arrow-left', 'content' => $childReply['is_active'] ? CHtml::decode($childReply['message']) : PostHelper::PrintDisabledMessage()));
    ?>
            <?php 
}
?>

            <?php 
echo $data['is_active'] ? CHtml::decode($data['message']) : PostHelper::PrintDisabledMessage();
?>
        </div>
        
        <?php 
if ($data['is_active']) {
    ?>
           
        <div class="forum-post-bottom-bar">
echo CHtml::encode($thread['title']);
?>
 
</legend>

<div class="media forum-post">
    <div class="media-object forum-id-box pull-left">
        <?php 
echo CHtml::hiddenField('user_id', $thread['user_id']);
?>
        <a href="#">
            <?php 
echo PostHelper::DrawUserAvatar($thread['profile_image']);
?>
            <h4><?php 
echo PostHelper::PrintPosterName($thread['username'], $thread['user_group_id']);
?>
</h4>  
        </a>  
        <p>Registered: <span><?php 
echo CHtml::encode($thread['register_date']);
?>
</span></p>
        <p>Posted: <span><?php 
echo CHtml::encode($thread['date_created']);
?>
</span></p>
    </div>

    <div class="media-body well">
        <div class="forum-text-area">