Esempio n. 1
0
	 <a href="<?php echo $profilelink;?>">
	  
<img src="<?php echo AwdwallHelperUser::getBigAvatar51($this->msgs[$i]->commenter_id);?>" alt="<?php echo AwdwallHelperUser::getDisplayName($this->msgs[$i]->commenter_id);?>" title="<?php echo AwdwallHelperUser::getDisplayName($this->msgs[$i]->commenter_id);?>"  height="50" width="50"/>	<?php 
	if(AwdwallHelperUser::isSocialfeed($this->msgs[$i]->id)) 
	{?>
		<img src="<?php echo JURI::base();?>components/com_awdwall/images/<?php echo AwdwallHelperUser::isSocialfeed($this->msgs[$i]->id); ?>.png" class="post_type_icon"  />
	<?php }elseif(AwdwallHelperUser::isTweet($this->msgs[$i]->id)) {	?>
    		<img src="<?php echo JURI::base();?>components/com_awdwall/images/twitter.png" class="post_type_icon"  />
<?php } ?>

	  </a>
	<?php }else{
	if($owner){
	?>
	<a href="<?php echo JRoute::_('index.php?option=com_awdwall&task=viewgroup&groupid=' . $this->msgs[$i]->group_id. '&Itemid=' . $Itemid, false);?>">
		<img src="<?php echo AwdwallHelperUser::getBigGrpImg51($group->image, $group->id);?>" alt="<?php echo $group->title;?>" title="<?php echo $group->title;?>"/>
	</a>
	<?php }else{?>  
	<a href="<?php echo $profilelink;?>">
		<img src="<?php echo AwdwallHelperUser::getBigAvatar51($this->msgs[$i]->commenter_id);?>" alt="<?php echo AwdwallHelperUser::getDisplayName($this->msgs[$i]->commenter_id);?>" title="<?php echo AwdwallHelperUser::getDisplayName($this->msgs[$i]->commenter_id);?>"  height="50" width="50" />	<?php 
	if(AwdwallHelperUser::isSocialfeed($this->msgs[$i]->id)) 
	{?>
		<img src="<?php echo JURI::base();?>components/com_awdwall/images/<?php echo AwdwallHelperUser::isSocialfeed($this->msgs[$i]->id); ?>.png" class="post_type_icon"  />
	<?php }elseif(AwdwallHelperUser::isTweet($this->msgs[$i]->id)) {	?>
    		<img src="<?php echo JURI::base();?>components/com_awdwall/images/twitter.png" class="post_type_icon"  />
<?php } ?>

	</a>
	<?php }?>  
	<?php }?>
	<br />
Esempio n. 2
0
	$rprofilelink=JRoute::_('index.php?option=com_comprofiler&task=userProfile&user='******'&Itemid=' . AwdwallHelperUser::getJsItemId(), false);
}
else
{
	$profilelink=JRoute::_('index.php?option=com_awdwall&view=awdwall&layout=mywall&wuid=' . $user->id.'&Itemid=' . $Itemid, false);
	$rprofilelink=JRoute::_('index.php?option=com_awdwall&view=awdwall&layout=mywall&wuid=' .$this->receiver->id.'&Itemid=' . $Itemid, false);
}

?>
<div class="awdfullbox clearfix" id="msg_block_<?php echo $this->wid;?>"> 
<span class="tl"></span><span class="bl"></span>
    <div class="rbroundboxleft">
      <div class="mid_content"> 	
	  <?php if(isset($this->owner) && $this->owner){?>
	    <a href="<?php echo JRoute::_('index.php?option=com_awdwall&task=viewgroup&groupid=' . $this->grpInfo->id . '&Itemid=' . $Itemid, false);?>">
		<img src="<?php echo AwdwallHelperUser::getBigGrpImg51($this->grpInfo->image, $this->grpInfo->id);?>" alt="<?php echo $this->grpInfo->title;?>" title="<?php echo $this->grpInfo->title;?>"/></a>
	  <?php }else{?>
	    <a href="<?php echo $profilelink;?>" > 
		<img src="<?php echo AwdwallHelperUser::getBigAvatar51($user->id);?>" alt="<?php echo AwdwallHelperUser::getDisplayName($user->id);?>" title="<?php echo AwdwallHelperUser::getDisplayName($user->id);?>"  height="50" width="50"  class="awdpostavatar" />
        <?php 
	if(AwdwallHelperUser::isSocialfeed($this->wid)) 
	{?>
		<img src="<?php echo JURI::base();?>components/com_awdwall/images/<?php echo AwdwallHelperUser::isSocialfeed($this->wid); ?>.png" class="post_type_icon"  />
	<?php }	?>
            </a>
	  <?php }?>
	  <br />
	  <?php if(!$this->owner): ?>
	  <?php if($this->display_profile_link==1):?>
	<a style="font-size:11px;" href="<?php echo JRoute::_('index.php?option=com_awdwall&view=awdwall&layout=mywall&wuid=' . $user->id . '&Itemid=' . $Itemid, false);?>"><?php echo JText::_('Main wall profile');?></a>
		<?php endif; ?>