например вывести аватарки получается с этим кодом
<?php $autor=cmsCore::getModel('users')->getUser($item['user_id']);?> <?php echo html_avatar_image($autor['avatar'], 'small');?>
<li> <span class="title">
<?php if ($field['name'] == 'title' && $ctype['options']['item_on'] || $field['name'] == 'photo' && $ctype['options']['item_on']){ ?>
<?php $this->addCSS('templates/'.$this->name.'/css/top_rated.css'); ?> <?php if ($items){ ?> <ul class="top-rated-list"> <?php foreach ($items as $item) { ?> <?php $url = href_to($ctype['name'], $item['slug']) . '.html'; ?> <li> <span class="title"> <a href="<?php echo $url; ?>" title="<?php echo $item['title']; ?>"><?php echo $item['title']; ?></a> </span> <div class="top-rated-slider"> <div class="tr-slider"> <div class="tr-slider-range tr-widget-header" style="left: 0; width: <?php echo $item['weight']; ?>%;"></div> <?php if ($widget_type == 'comments') { ?> <a href="<?php echo $url; ?>#comments" class="tr-slider-handle" title="<?php echo $hint; ?>" style="left: <?php echo $item['weight']; ?>%;"> <?php echo $item[$widget_type]; ?> <span> </span> </a> <?php } else { ?> <span class="tr-slider-handle" title="<?php echo $hint; ?>" style="left: <?php echo $item['weight']; ?>%;"> <?php echo $item[$widget_type]; ?> </span> <?php } ?> </div> </div> </li> <?php } ?> </ul> <?php } ?>
пример фото