
            global $config, $lang, $value, $fields_html;
            if ($config['rating_module']) {
                $average_rating = $lang['not_available'];
                if ($value['lr_rating'] && $value['lr_rating_votes']) {
                    $average_rating = round($value['lr_rating'] / $value['lr_rating_votes'], 1) . '/' . $config['rating_stars_number'];
                }
                $fields_html .= '<tr><td style="padding: 0 5px 4px;">'. $lang['rating_rating'] .':</td><td><b>'. $average_rating .'</b></td></tr>';
            }
        