$display_gp = $this->defines->get('display_google_plus1', '1'); if ($display_fb || $display_gp || $display_tw) { ?> <div class="product_share_buttons_wishlist pull-left" > <?php } if ($display_fb) { ?> <script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script> <fb:like show_faces="false" width="375"></fb:like> <?php } if ($display_tw) { ?> <a href="http://twitter.com/share" class="twitter-share-button" data-text="<?php echo Tienda::getInstance()->get('display_tweet_message', 'Check this out!') . ' ' . TiendaHelperProduct::getSocialBookMarkUri(); ?> " data-count="horizontal">Tweet</a> <script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script> <?php } if ($display_gp) { $google_plus1_size = Tienda::getInstance()->get('display_google_plus1_size', 'medium'); ?> <g:plusone <?php if (strlen($google_plus1_size)) { echo 'size="' . $google_plus1_size . '"'; } ?> ></g:plusone> <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
<?php defined('_JEXEC') or die('Restricted access'); $row = @$this->row; $click = @$this->comments_data->click; $reviews = @$this->comments_data->reviews; $selectsort = $this->comments_data->selectsort; $result = @$this->comments_data->result; $review_enable = @$this->comments_data->review_enable; $count = @$this->comments_data->count; $url = JURI::getInstance()->toString(); $root = JURI::getInstance()->root(); $return_url = str_replace($root, '', $url); $linkurl = TiendaHelperProduct::getSocialBookMarkUri($url); $Itemid = JRequest::getInt('Itemid', '0'); $publickey = "6LcAcbwSAAAAAIEtIoDhP0cj7AAQMK9hqzJyAbeD"; $baseurl = $this->baseurl; $user = JFactory::getUser(); $url_validate = JRoute::_('index.php?option=com_tienda&controller=products&view=products&task=validateReview&format=raw'); $share_review_enable = Tienda::getInstance()->get('share_review_enable', '0'); if ($review_enable == 1 && ($result == 1 || $count > 0)) { $emails = TiendaHelperProduct::getUserEmailForReview($this->comments_data->product_id); ?> <div id="product_review_header" class="tienda_header"> <span><?php echo JText::_('COM_TIENDA_REVIEWS'); ?> </span> </div> <?php }