?> ">Like <span class="totalLikes"><?php echo getIdeaLikes($ideathread_id); ?> </span></a> <?php } ?> <a href="#" class="project-action-btn" id="comment_project" data-id="<?php echo $ideathread_id; ?> ">Comment <span><?php echo countIdeaComments($ideathread_id); ?> </span></a> <a href="#" class="project-action-btn" id="report_project" data-id="<?php echo $ideathread_id; ?> ">Report</a> <a href="" class="project-action-btn " id="share_project" data-id=""> <img src="<?php echo SITE_URL; ?> /images/shareicon.png" width="30" height="20" align="center"/></a>
if ($idea['thumbnail_img']) { $thumbnail = $idea['thumbnail_img']; } else { $thumbnail = SITE_URL . '/uploads/avatars/nophoto.jpg'; } $author = $idea['original_creator']; $user = getUserData($idea['created_by']); $name = $user['display_name']; $nophoto = SITE_URL . '/uploads/avatars/nophoto.jpg'; if ($user['photo']) { $userphoto = $user['photo']; } else { $userphoto = 'nophoto.jpg'; } $likes = getIdeaLikes($ideathread_id); $comments = countIdeaComments($ideathread_id); if (strlen($title) < 20) { $short_title = $title; } else { $short_title = substr($title, 0, 19) . '...'; } ?> <div class="user-list-idea"> <div class="thumb-img" style="float: left"> <a href="<?php echo $source; ?> " target="_blank"><img