// Display total replys
 // Display total topic replys
 echo "<div class='btn btn-info btn-xs' style='margin-bottom: 3px'>";
 echo "Replies <span class='badge'>{$row2->total_topic_replys}</span>";
 echo "</div>";
 echo " ";
 // Display total sweets
 echo Sweets::getTotalSweets($f_p_id, 'Forum_Topic', 'Forum_Topic_Reply');
 echo " ";
 // Display total views
 echo "<div class='btn btn-info btn-xs' style='margin-top: 3px'> Views <span class='badge'>";
 echo PageViews::views('false', $f_p_id, 'Forum_Topic', $data['current_userID']);
 echo "</span></div> ";
 // Display total images
 echo "<div class='btn btn-success btn-xs' style='margin-top: 3px'> Images <span class='badge'>";
 echo Images::getImageCountForum('Topic', $f_p_id);
 echo "</span></div>";
 echo "</div>";
 echo "<div class='col-md-3 col-sm-3 col-xs-6' style='text-align: right'>";
 // Check to see if there has been a reply for this topic.  If not then don't show anything.
 if (isset($row2->LR_UserID)) {
     // Display Last Reply User Name
     $rp_user_name2 = CurrentUserData::getUserName($row2->LR_UserID);
     //Display how long ago this was posted
     echo " Last Reply by <br> <a href='" . DIR . "Profile/{$row2->LR_UserID}/' style='font-weight: bold'>{$rp_user_name2}</a><br> " . TimeDiff::dateDiff("now", "{$row2->LR_TimeStamp}", 1) . " ago ";
 }
 echo "</div>";
 echo "</div>";
 // For small devices hides extra info
 echo "<div id='Bar{$f_p_id}' class='collapse hidden-sm hidden-md hidden-lg'>";
 echo "<div class='col-xs-12'>";
         // CSRF Token
         echo "<input type='hidden' name='csrf_token' value='" . $data['csrf_token'] . "' />";
         // Display Submit Button
         echo "<button class='btn btn-xs btn-success' name='submit' type='submit'>Update Reply</button>";
         echo Form::close();
     } else {
         // Display Topic Reply Content
         echo "{$rf_p_content_bb}";
         // Get user's Signature
         $user_signature = CurrentUserData::getUserSignature($rf_p_user_id);
         if (!empty($user_signature)) {
             echo "<hr style='margin-bottom: 0px'><font size='1'><i>Signature</i></font><hr style='margin-top: 0px'> {$user_signature}";
         }
     }
     // Check to see if there are any images attaced to this post
     $check_for_image = Images::getForumImagesTopicReply($rf_p_id, $rf_p_main_id);
     if (isset($check_for_image)) {
         echo "<hr style='margin-bottom: 0px'><font size='1'><i>Image Attachments</i></font>";
         echo "<hr style='margin-top: 0px'>";
         echo "<div align='center' style='margin-bottom: 8px'><a href='" . DIR . "{$check_for_image}' target='_blank'><img src='" . DIR . "{$check_for_image}' height='100px'></a></div>";
     }
 } else {
     // Mod/Admin has disallowed this reply.  Show message
     echo " <strong><font color='red'>This Reply Has Been Disabled By Mod/Admin.  Contact Mod/Admin for more information.</font></strong> ";
     echo "<hr>";
     echo "<b>Reply Hidden By</b>: {$rf_p_user_name} <b>@</b> {$rf_p_hide_timestamp}";
 }
 echo "</div>";
 echo "</div>";
 echo "<div class='panel-footer' style='text-align:right'>";
 echo "<div class='row'>";