$rate = JblanceHelper::getUserRating($rating->target, $rating->order_id, 'COM_JBLANCE_SERVICE'); $rateDate = JFactory::getDate($rating->rate_date); ?> <div class="media"> <div class="col-md-1 col-xs-3 col-sm-3"> <?php $attrib = 'width=56px; height=56px; class="img-responsive"'; $avatar = JblanceHelper::getLogo($rating->actor, $attrib); echo !empty($avatar) ? LinkHelper::GetProfileLink($rating->actor, $avatar, '', '', ' pull-left') : ' '; ?> </div> <div class="media-body"> <span class="media-heading boldfont"><?php echo LinkHelper::GetProfileLink($rating->actor); ?> </span> <span class="dis-inl-blk"><?php echo JblanceHelper::getRatingHTML($rate); ?> </span> <span class="dis-inl-blk font12"><?php echo JblanceHelper::showTimePastDHM($rateDate, 'SHORT'); ?> </span> <div><?php echo $rating->comments; ?> </div> </div>
<?php } ?> <?php if ($show_publisher == 1) { ?> <td data-title="<?php echo JText::_('MOD_JBLANCE_PUBLISHER'); ?> "> <?php $attrib = 'class="img-thumbnail" style="width: auto; height: 45px;"'; echo JblanceHelper::getLogo($row->publisher_userid, $attrib); ?> <?php echo LinkHelper::GetProfileLink($row->publisher_userid, $buyer->{$nameOrUsername}); ?> </td> <?php } ?> </tr> <?php $k = 1 - $k; } ?> </tbody> </table> </div> <p class="text-center"> <a href="<?php
?> <div class="col-md-2 col-sm-4 col-xs-6"> <div class="thumbnail"> <a class="thumbnail" href= "<?php echo $link_detail; ?> "> <?php if ($show_logo) { $attrib = 'class="img-responsive"'; echo JblanceHelper::getLogo($row->user_id, $attrib); } ?> </a> <div class="media-body"> <h5 class="text-center"> <?php echo LinkHelper::GetProfileLink($row->user_id, $row->{$nameOrUsername}); ?> </h5> <?php if ($show_rating == 1) { JblanceHelper::getAvarageRate($row->user_id, 1); } ?> </div> </div> </div> <?php }
public function getLink() { if ($this->komentoprofile) { return JRoute::_('index.php?option=com_komento&view=profile&id=' . $this->profile->id); } return LinkHelper::GetProfileLink($this->profile->id); }
} else { for ($i = 0, $n = count($this->bids); $i < $n; $i++) { $bid = $this->bids[$i]; ?> <div class="row"> <div class="col-sm-4 col-md-1"> <?php $attrib = 'width=auto height=auto class="img-thumbnail"'; $avatar = JblanceHelper::getLogo($bid->user_id, $attrib); echo !empty($avatar) ? LinkHelper::GetProfileLink($bid->user_id, $avatar) : ' '; ?> </div> <div class="col-sm-4 col-md-7"> <h5 class="media-heading"> <?php echo LinkHelper::GetProfileLink(intval($bid->user_id), $this->escape($bid->{$nameOrUsername})); ?> </h5> <p><?php echo $bid->details ? $bid->details : JText::_('COM_JBLANCE_DETAILS_NOT_PROVIDED'); ?> </p> <?php $rate = JblanceHelper::getAvarageRate($bid->user_id, true); ?> </div> <div class="col-sm-4 col-md-4"> <div class="text-center"> <span class="font20"><?php
echo !empty($avatar) ? LinkHelper::GetProfileLink($row->user_id, $avatar, '', '', ' pull-left') : ' '; ?> <div class="media-body"> <h5 class="media-heading"> <?php $stats = $status ? 'online' : 'offline'; ?> <span class="online-status <?php echo $stats; ?> " title="<?php echo JText::_('COM_JBLANCE_' . strtoupper($stats)); ?> "></span> <?php echo LinkHelper::GetProfileLink($row->user_id, $row->name); ?> <small><?php echo $row->username; ?> </small> <span id="fav-msg-<?php echo $row->user_id; ?> " class="pull-right"> <?php if ($isFavourite > 0) { ?> <a onclick="favourite('<?php echo $row->user_id; ?>
echo $link_view; ?> "><?php echo $row->service_title; ?> </a></div> <?php $attrib = ' style="max-width:38px;" class="pull-left logo img-circle "'; $avatar = JblanceHelper::getLogo($row->user_id, $attrib); echo !empty($avatar) ? LinkHelper::GetProfileLink($row->user_id, $avatar) : ' '; ?> <?php $attrib2 = '"class="logo-name"'; echo LinkHelper::GetProfileLink($row->user_id, $sellerInfo->username, $attrib2); ?> </div> </div> </div> </div> <?php } ?> </div> </div> <?php } else { ?> <div class="alert alert-info"> <?php
} } elseif ($show_type == 'message') { if (count($rows)) { for ($i = 0, $n = count($rows); $i < $n; $i++) { $row = $rows[$i]; $userDtl = JFactory::getUser($row->idFrom); ?> <div class="media jb-borderbtm-dot"> <?php $attribs = 'class="pull-left img-thumbnail" style="width: auto; height: 60px;"'; $avatar = JblanceHelper::getLogo($row->idFrom, $attribs); echo $avatar; ?> <div class="media-body"> <?php echo LinkHelper::GetProfileLink($row->idFrom, $userDtl->username); ?> <br> <?php if ($row->approved == 1) { echo $row->message; } else { echo '<small>' . JText::_('COM_JBLANCE_PRIVATE_MESSAGE_WAITING_FOR_MODERATION') . '</small>'; } ?> <div> <i class="material-icons">date_range</i> <?php echo JHtml::_('date', $row->date_sent, $dformat, true); ?> </div> </div>
for ($i = 0, $x = count($this->messages); $i < $x; $i++) { $message = $this->messages[$i]; $userDtl = JFactory::getUser($message->idFrom); ?> <li class="left clearfix"> <span class="jb-chat-img pull-left"> <?php $attrib = 'width=56 height=56 class="img-polaroid"'; $avatar = JblanceHelper::getLogo($message->idFrom, $attrib); echo !empty($avatar) ? LinkHelper::GetProfileLink($message->idFrom, $avatar) : ' '; ?> </span> <div class="jb-chat-body clearfix"> <div class="header"> <strong class="primary-font"><?php echo LinkHelper::GetProfileLink($message->idFrom, $userDtl->{$nameOrUsername}); ?> </strong> <small class="pull-right text-muted"> <span class="icon-time"></span> <?php echo JHtml::_('date', $message->date_sent, $dformat, true); ?> </small> </div> <p> <?php if ($message->approved == 1) { echo $message->message; } else { echo '<small>' . JText::_('COM_JBLANCE_PRIVATE_MESSAGE_WAITING_FOR_MODERATION') . '</small>'; }
?> </td> <td data-title="<?php echo JText::_('COM_JBLANCE_PROJECT_NAME'); ?> "> <?php echo LinkHelper::getProjectLink($bproject->id, $bproject->project_title); ?> </td> <td data-title="<?php echo JText::_('COM_JBLANCE_RATED_BY'); ?> "> <?php echo LinkHelper::GetProfileLink($bproject->assigned_userid, $freelancer->{$nameOrUsername}); ?> </td> <td data-title="<?php echo JText::_('COM_JBLANCE_RATING_FROM_FREELANCER'); ?> "> <?php $rate = JblanceHelper::getUserRateProject($bproject->publisher_userid, $bproject->id); JblanceHelper::getRatingHTML($rate); ?> </td> <td data-title="<?php echo JText::_('COM_JBLANCE_COMMENTS'); ?> ">