<?php
// Comment Deatil
$com_id=$cdata['com_id']; // commented post id
$comment=htmlcode($cdata['comment'] ); // comment
$time=$cdata['created']; // Commented time
$mtime=date("c", $time); // this will relation jquerytimeago.js
$username=$cdata['username'];
$com_uid=$cdata['uid_fk']; // commented user id
$clike_count = isset($cdata['like_count']) ? $cdata['like_count'] : NULL; // Check the like count
// Conversation user profile image
$cface=$MatAdmin->User_Profilepic($com_uid,$base_url);
?>
<div class="comment_" id="stcommentbody<?php echo $com_id; ?>">
<div class="commented-user-profile-photo"><img src="<?php echo $cface; ?>" width="35" height="35" /></div>
<div class="comment-ar">
<div class="whoc-co">
<span class="some-set">
<a href="<?php echo $username;?>">
<?php echo htmlspecialchars($MatAdmin->UserFullName($username)); ?>
</a></span>
<?php echo htmlspecialchars($comment); ?>
</div>
<span class="comment-time"><span class="stcommenttime" title="<?php echo $mtime; ?>"></span></span>

<span class="total-comment-like" style="" id="count_container<?php echo $com_id; ?>">
<span class='comment_count<?php echo $com_id; ?>'><?php echo $clike_count; ?></span> 
</span>
</div>
</div>