<li class="clearfix space-12">
			<img alt="<?php 
    echo $this->escape($user->getDisplayName());
    ?>
" src="<?php 
    echo $user->getThumbAvatar();
    ?>
" class="pull-left joms-stream-avatar" style="margin-right:8px; width:36px;" />
			<div>
				<a href="<?php 
    echo CRoute::_('index.php?option=com_community&view=profile&userid=' . $user->id);
    ?>
" >
						<h5 class="reset-gap"><?php 
    echo CTooltip::cAvatarTooltip($user);
    ?>
</h5>
				</a>
				<p class="reset-gap">
					<a href="#"><?php 
    //echo JText::sprintf( (CStringHelper::isPlural($numFriends)) ? 'COM_COMMUNITY_FRIENDS_COUNT_MANY' : 'COM_COMMUNITY_FRIENDS_COUNT', $numFriends); // removed as requested in sprint 7
    ?>
</a>
						<?php 
    $isFriend = CFriendsHelper::isConnected($user->id, $my->id);
    $addFriend = !$isFriend && $my->id != 0 && $my->id != $user->id ? true : false;
    if ($addFriend) {
        $isWaitingApproval = CFriendsHelper::isWaitingApproval($my->id, $user->id);
        ?>
예제 #2
0
        <div class="app-box-content">
            <ul class="cThumbsList cResetList clearfix">
                <?php 
    if ($eventMembers) {
        foreach ($eventMembers as $member) {
            ?>
                    <li>
                        <a href="<?php 
            echo CUrlHelper::userLink($member->id);
            ?>
">
                            <img class="cAvatar jomNameTips" src="<?php 
            echo $member->getThumbAvatar();
            ?>
" title="<?php 
            echo CTooltip::cAvatarTooltip($member);
            ?>
" alt="" />
                        </a>
                    </li>
                <?php 
        }
    }
    ?>
            </ul>
        </div>
        <div class="app-box-footer">
            <a href="<?php 
    echo $handler->getFormattedLink('index.php?option=com_community&view=events&task=viewguest&eventid=' . $event->id . '&type=' . COMMUNITY_EVENT_STATUS_ATTEND);
    ?>
">
예제 #3
0
파일: default.php 프로젝트: Jougito/DynWeb
    for ($i = 0; $i < count($onlineMembers); $i++) {
        ?>
            <?php 
        $row =& $onlineMembers[$i];
        ?>
            <li class="joms-list__item">
                <div class="joms-avatar">
                    <a href="<?php 
        echo CRoute::_('index.php?option=com_community&view=profile&userid=' . $row->id);
        ?>
">
                        <img src="<?php 
        echo $row->user->getThumbAvatar();
        ?>
" title="<?php 
        echo CTooltip::cAvatarTooltip($row->user);
        ?>
" alt="<?php 
        echo CStringHelper::escape($row->user->getDisplayName());
        ?>
" />
                    </a>
                </div>
            </li>
            <?php 
    }
    ?>

        <?php 
} else {
    ?>