вот код. вставляю между блогами и группами, а выводится внутри группы...
Code:
{* RECENT BLOGS *}
<div class='portal_spacer'></div>
<div class='header'><img src="./images/icons/blog_blog16.gif"> Новые записи</div>
<div class='portal_content'>
{section name=blogentry_loop loop=$blogentries}
<div style='font-weight: bold; font-size: 8pt;'>
<img src="./images/icons/blog_blog16.gif" class='button' style='float: left;'>
<a href='{$url->url_create("blog_entry", $blogentries[blogentry_loop].blogentry_author->user_info.user_username, $blogentries[blogentry_loop].blogentry_id)}'>
{$blogentries[blogentry_loop].blogentry_title|truncate:30:"...":true}
</a>
</div>
<div class='blogs_browse_date'>
{assign var='blogentry_date' value=$datetime->time_since($blogentries[blogentry_loop].blogentry_date)}{capture assign="created"}{lang_sprintf id=$blogentry_date[0] 1=$blogentry_date[1]}{/capture}
{lang_sprintf id=1500039 1=$created 2=$url->url_create("profile", $blogentries[blogentry_loop].blogentry_author->user_info.user_username) 3=$blogentries[blogentry_loop].blogentry_author->user_displayname}
</div>
{cycle name="blogret" values=",<div style='clear: both; height: 8px;'></div>"}
{/section}
</div>
{* RECENT PICTURES *}
{if !empty($files)}
{* SHOW FILES IN THIS ALBUM *}
{section name=files_loop loop=$files max=10}
{* START NEW ROW *}
{cycle name="startrowREPIC" values="<table cellpadding='0' cellspacing='0' align='middle'><tr>,,,,"}
{* SHOW THUMBNAIL *}
<td style='padding: 20px 15px 10px 0px; text-align: center; vertical-align: middle;'>
{$files[files_loop].media_title|truncate:15:"...":true}
<div class='album_thumb2' style='wight:120px;'>
<a href='{$url->url_create("album_file", $files[files_loop].media_username, $files[files_loop].media_album_id,$files[files_loop].media_id)}' style="display:block;">
{if $files[files_loop].media_ext == "jpg" OR
$files[files_loop].media_ext == "jpeg" OR
$files[files_loop].media_ext == "gif" OR
$files[files_loop].media_ext == "png" OR
$files[files_loop].media_ext == "tif" OR
$files[files_loop].media_ext == "bmp"}
<img src='{$files[files_loop].media_path}' title="{lang_print id=1000126}: {$files[files_loop].media_username|truncate:15}" alt="{lang_print id=1000126}: {$files[files_loop].media_username|truncate:15}" class='photo' style="border:none; margin:3px;" border='0' width='{$misc->photo_size($files[files_loop].media_path,"80","80","w")}'>
{else}
<img src='./images/icons/file_big.gif' valign="center" class='photo' border='0' width='{$misc->photo_size("./images/icons/file_big.gif","80","80","w")}'>
{/if}
</a>
</div>
<div align="middle">
{lang_print id=854} {$files[files_loop].media_comment}
</div>
</td>
{* END ROW AFTER n RESULTS *}
{cycle name="endrow_recent_photos" values=",,,,</tr></table>"}
{/section}
{else}
No photo.
{/if}
{* BEGIN NEW GROUPS *}
{if $total_groups != 0}
<div class='portal_spacer'></div>
<div class='header'>Новые группы</div>
<div class='portal_content'>
<table cellpadding='0' cellspacing='0' width='100%' style='margin-top: 1px;'>
<tr>
<td class='portal_groups'>
{section name=group_loop loop=$groups}
<img src="./images/icons/group_group16.gif" border="0"> <a href='group.php?group_id={$groups[group_loop].group->group_info.group_id}'><b>{$groups[group_loop].group->group_info.group_title}</a>{if !$smarty.section.group_loop.last}</b><br>{/if}
{/section}
</td>
</tr>
</table>
{/if}
</div>
{* END GROUPS *}