コード例 #1
0
ファイル: viewservice.php プロジェクト: Ovi1/LSPB-jombri
        $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') : '&nbsp;';
        ?>
   
                                </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>
コード例 #2
0
ファイル: default.php プロジェクト: Ovi1/modules
	 		<?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 
コード例 #3
0
ファイル: default.php プロジェクト: Ovi1/modules
    ?>

<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 
}
コード例 #4
0
 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);
 }
コード例 #5
0
ファイル: detailproject.php プロジェクト: Ovi1/LSPB-jombri
    } 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) : '&nbsp;';
            ?>
                        </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 
コード例 #6
0
ファイル: inviteuser.php プロジェクト: Ovi1/LSPB-jombri
    echo !empty($avatar) ? LinkHelper::GetProfileLink($row->user_id, $avatar, '', '', ' pull-left') : '&nbsp;';
    ?>
		<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;
        ?>
コード例 #7
0
ファイル: listservice.php プロジェクト: Ovi1/LSPB-jombri
        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) : '&nbsp;';
        ?>
                   
         
                <?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 
コード例 #8
0
ファイル: default.php プロジェクト: Ovi1/modules
    }
} 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>
コード例 #9
0
ファイル: serviceprogress.php プロジェクト: Ovi1/LSPB-jombri
    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) : '&nbsp;';
        ?>
				</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>';
        }
コード例 #10
0
ファイル: viewprofile.php プロジェクト: Ovi1/LSPB-jombri
        ?>
                                            </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');
        ?>
">