* @license Apache License, Version 2.0 */ if ( ! $this->_pzdxMerchant ) return; $merchant = $this->_pzdxMerchant; $config = $this->_pzdxConfig; $link = $this->_permalink($merchant); $voteCount = intval($merchant->votes->count); $votePosCount = intval($merchant->votes->pos_count); if ( isset($config['lang']) && is_string($config['lang']) && ! empty($config['lang']) ) $langCss = 'praized-badge-' . $config['lang']; else $langCss = ''; $xhtml .= << {$votePosCount} {$voteCount} EOS; if ( $link ) $xhtml = << {$xhtml} EOS; ?>