
            global $config;

            $listing = $GLOBALS['rlSmarty']->get_template_vars('listing');

            if ($config['rating_module'] && $listing['lr_rating']) {
                $GLOBALS['rlSmarty'] -> display(RL_ROOT . 'plugins' . RL_DS . 'rating' . RL_DS . 'listing.tpl');
            }
        