if ($fields['field_first_name_value']->content || $fields['field_last_name_value']->content) {
			print l($fields['field_first_name_value']->content.' '.$fields['field_last_name_value']->content, 'user/' . $fields['uid']->raw, array('html' => TRUE));
		} else {
			/* typically goes here on the homepage 
			 * problem is that it displays the name twice
			 */
			print l($fields['name']->content, 'user/' . $fields['uid']->raw, array('html' => TRUE));
		}
	} 
?>
				</span>
				<span class="celeb_stream_comment">
        <?php if (strlen($fields['field_vote_comment_value']->content)>270){
                print three_beats_site_word_wrap_wbr((substr(html_entity_decode(html_entity_decode($fields['field_vote_comment_value']->content, ENT_NOQUOTES, 'UTF-8'), ENT_QUOTES, 'UTF-8') ,0,270).'...'), 18 ); }
              else {
          	    print three_beats_site_word_wrap_wbr( html_entity_decode(html_entity_decode($fields['field_vote_comment_value']->content, ENT_NOQUOTES, 'UTF-8'), ENT_QUOTES, 'UTF-8') , 18 );
              }
        ?>
        <?php if (strlen($fields['field_vote_comment_value']->content)>270) : ?>
         <a href="#TB_inline?height=200&width=600&inlineId=hiddenComment_<?php echo $fields['nid']->raw; ?>" class="thickbox" title="<?php print $fields['field_first_name_value']->content.' '.$fields['field_last_name_value']->content; ?>"><?php print t('more') ?></a>
        <?php endif; ?>
        </span>
        <div id="hiddenComment_<?php echo $fields['nid']->raw; ?>" style="display: none">
        <p><?php print html_entity_decode(html_entity_decode($fields['field_vote_comment_value']->content, ENT_NOQUOTES, 'UTF-8'), ENT_QUOTES, 'UTF-8'); ?></p>
        </div>
				<br />
				<?php $dom=parse_url($fields['field_url_url']->content);
              $url_dom=$dom['host'];
               if(!empty($fields['field_twitter_author_value']->content)) {
                 print '<span class="celeb_stream_source"> from twitter.com </span>';
               }elseif (!empty($fields['field_url_url']->content)) {
<div id="celeb_stream_items" class="celeb_cat_<?php print $cat ?> celeb_cat_<?php print $cat ?>_border">
    <div id="celeb_cat_bg" class="celeb_cat_img_bg celeb_cat_img_bg_<?php print $cat ?>" style="display:table-cell;">
        <span><?php print l("<img src='".$CelebImageUrl."' title='".$fields['field_firstname_value']->content . ' ' . $fields['field_lastname_value']->content."' class='celeb_cat_stream_img' />", 'node/' . $fields['nid']->raw, array('html' => TRUE)) ; ?></span>
    </div>
    <div id="celeb_stream_single">
        <div id="celeb_stream_name" style="display:table-cell;padding-left:15px;padding-top:15px;">
            <div class="sprite">
				<img alt="" src="<?php print base_path().'sites/all/themes/3beats/images/sprite_user.png'; ?>" class="sprites <?php print $thumb;?>">
			</div>
			<span class="celeb_stream_name_user"><?php print $fields['field_firstname_value']->content.' '.$fields['field_lastname_value']->content?>:</span>
    <span class="celeb_stream_comment">
    <?php if (strlen($fields['field_vote_comment_value']->content)>220){
            print three_beats_site_word_wrap_wbr(substr($fields['field_vote_comment_value']->content ,0,220).'...',18 ); }
          else{
          	print three_beats_site_word_wrap_wbr( $fields['field_vote_comment_value']->content, 18 );
          }
    ?>
    <?php if (strlen($fields['field_vote_comment_value']->content)>220) : ?>
      <a href="#TB_inline?height=200&width=600&inlineId=hiddenComment_<?php echo $fields['nid']->raw; ?>" class="thickbox" title="<?php print $fields['field_firstname_value']->content.' '.$fields['field_lastname_value']->content; ?>"><?php print t('more') ?></a>
    <?php endif; ?>
    </span>
    <div id="hiddenComment_<?php echo $fields['nid']->raw; ?>" style="display: none">
    <p><?php print htmlspecialchars_decode($fields['field_vote_comment_value']->content); ?></p>
    </div>
            <br />
              <?php $dom=parse_url($fields['field_url_url']->content);
              $url_dom=$dom['host'];
               if (!empty($fields['field_url_url']->content)) {
                print '<span class="celeb_stream_source"> '.t('From "').$fields['title_1']->content.'" / '.$url_dom.'</span>';
               }else {
    <?php if(!empty($fields['field_twitter_author_value']->content)){
            print $fields['field_twitter_author_value']->content;
          }
          else {
            if ($fields['field_first_name_value']->content || $fields['field_last_name_value']->content) {
              print $fields['field_first_name_value']->content.' '.$fields['field_last_name_value']->content;
            }
            else {
              print $fields['name']->content;
            }
          } ?>:</span>
    <span class="celeb_stream_comment">
    <?php if (strlen($fields['field_vote_comment_value']->content)>144){
            print strip_tags(three_beats_site_word_wrap_wbr((substr(html_entity_decode(html_entity_decode($fields['field_vote_comment_value']->content, ENT_NOQUOTES, 'UTF-8'), ENT_QUOTES, 'UTF-8') ,0,144).'...'), 18),'<p/> <br/> <wbr/>'); }
          else {
          	print strip_tags(three_beats_site_word_wrap_wbr(html_entity_decode(html_entity_decode($fields['field_vote_comment_value']->content, ENT_NOQUOTES, 'UTF-8'), ENT_QUOTES, 'UTF-8'), 18),'<p/> <br/> <wbr/>');
          } ?>
    <?php if (strlen($fields['field_vote_comment_value']->content)>144) : ?>
      <a href="#TB_inline?height=200&width=600&inlineId=hiddenComment_<?php echo $fields['nid']->raw; ?>" class="thickbox" title="<?php print $fields['field_first_name_value']->content.' '.$fields['field_last_name_value']->content; ?>"><?php print t('more') ?></a>
    <?php endif; ?>
    </span>
    <div id="hiddenComment_<?php echo $fields['nid']->raw; ?>" style="display: none">
    <p><?php print html_entity_decode(html_entity_decode($fields['field_vote_comment_value']->content, ENT_NOQUOTES, 'UTF-8'), ENT_QUOTES, 'UTF-8'); ?></p>
    </div>
    <?php if (!empty($fields['field_article']->content)): ?>
    <?php else: ?>
    <br>
    <?php
     $dom=parse_url($fields['field_url_url_1']->content);
     $url_dom=$dom['host'];
		if(!empty($fields['field_twitter_author_value']->content))