<?php if (JFactory::getUser()->id == $this->data->id) { ?> <div id="public-profile-containers"> <div id="public-profile-left-container"> <div id="public-profile-left-border"> <div id="public-profile-left-content"> <div id="public-profile"> <div id="public-profile-img"> <?php echo Ideary::getUserImage($this->user->id, "200", $this->user->name, 'style="width:100px;height:100px;"'); ?> </div> <div id="public-profile-data"> <div id="public-profile-username"><?php echo $this->user->name; ?> </div> </div> <div style="clear: both;"></div> <div id="public-profile-legend"><?php echo $frasepersonal; ?> </div> </div>
} $authorLink = $comment->user_id != $user->id ? JRoute::_('index.php?option=com_contact&view=public&id=' . $comment->user_id) : JRoute::_('index.php?option=com_users&view=profile&user_id=' . $comment->user_id); ?> <div class="comment"> <a name="comment-<?php echo $comment->id; ?> "></a> <div class="commentator-img"> <a href="<?php echo $authorLink; ?> "> <?php echo Ideary::getUserImage($comment->user_id, "50", $comment->author_name); ?> </a> </div> <div class="comment-data"> <a href="<?php echo $authorLink; ?> " class="author-name-link"> <div class="author-name"><?php echo $comment->author_name; ?> </div> </a> <div class="comment-text" data-comment-id="<?php
public function generateUsersForMsgCombo($users) { $html = ''; if (count($users)) { foreach ($users as $user) { $html .= '<div class="user-item" data-user-id="' . $user->id . '" data-user-name="' . $user->name . '">'; $html .= '<div class="user-item-img">'; $html .= Ideary::getUserImage($user->id, 50, null, 'style="width: 24px; height: 24px;"', null); $html .= '</div>'; $html .= '<div class="user-item-name">' . $user->name . '</div>'; $html .= '</div>'; } } else { $html .= 'No hay usuarios'; } return $html; }
<?php if (count($this->sent_messages) > 0) { ?> <div class="messages-list"> <?php foreach ($this->sent_messages as $inbox_message) { ?> <div class="message-item" data-message-id="<?php echo $inbox_message->message_id; ?> "> <div class="message-user-img"> <?php echo Ideary::getUserImage($inbox_message->id, 50, null, null, null); ?> </div> <div class="message-container"> <div class="message-header"> <div class="message-title"><?php echo str_replace('{USER}', '<span class="msg-user-link"><a href="index.php?option=com_contact&view=public&id=' . $inbox_message->id . '">' . $inbox_message->name . '</a></span>', JTEXT::_('MESSAGE_SENT_TO')); ?> </div> <div class="message-delete" title="<?php echo JTEXT::_('DELETE_MESSAGE'); ?> " data-message-id="<?php echo $inbox_message->message_id;
<div id="login-link-wrapper"> <div id="login-link-container"> <?php if (!$user->id) { ?> <div id="username" class="username_login_class"> <?php echo JText::_('LOGIN'); ?> </div> <?php } else { $session = JFactory::getSession(); //$user_picture = $session->get('user_picture'); $user_picture = Ideary::getUserImage($user->id, "50", $user->get('name')); ?> <div id="user-logo"> <?php echo $user_picture; ?> </div> <div id="username"> <?php echo Ideary::getUserName($user->id); ?> </div> <?php }
echo $i; ?> </div> <div class="user-ranking-index-right"></div> </div> <div class="user-ranking-img-container"> <a href="<?php echo JRoute::_('index.php?option=com_contact&view=public&id=' . $author->id); ?> " title="<?php echo $author->name; ?> "> <?php $user_picture = Ideary::getUserImage($author->id, "200", $author->name, 'style="width:104px;height:104px;"', JURI::base() . "templates/beez_20/images/no-user-image.png"); echo $user_picture; ?> </a> </div> <div class="user-ranking-name"> <a href="<?php echo JRoute::_('index.php?option=com_contact&view=public&id=' . $author->id); ?> " title="<?php echo $author->name; ?> "> <?php echo $author->name;
if ($user1->id == $user->get('id')) { $user_url = JRoute::_('index.php?option=com_users&view=profile'); } else { $user_url = JRoute::_('index.php?option=com_contact&view=public&id=' . $user1->id); } ?> <a href="<?php echo $user_url; ?> " title="<?php echo $user1->name; ?> "> <?php echo Ideary::getUserImage($user1->id, "200", $user1->name, 'style="width:110px;height:110px;"'); ?> </a> </div> <div class="user-box-content"> <div class="user-name"> <a href="<?php echo $user_url; ?> " title="<?php echo $user1->name; ?> "> <?php
?> "> <?php echo Ideary::getUserImage($this->writer->id, "50", $this->writer->name); ?> </a> <?php } else { ?> <a href="<?php echo JRoute::_('index.php?option=com_users&view=profile'); ?> "> <?php echo Ideary::getUserImage($this->writer->id, "50", $this->writer->name); ?> </a> <?php } ?> </div> <div style="clear: both;"></div> </div> <?php if ($this->item->created_by != $this->user->get('id') && $this->user->get('id') != 0) { ?> <div id="author-buttons-container"> <div id="follow-button2-container">