[all-friends]
<div class="tmenuf">
 <div><a href="/friends/{user-id}">Все</a></div>
 <a href="/friends/online/{user-id}">На сайте</a>
 [owner]<a href="/friends/requests">Заявки {demands}</a>[/owner]
 [not-owner]<a href="/u{user-id}">К странице {name}</a>[/not-owner]
</div>
<div class="clr"></div>
[/all-friends]

[online-friends]
<div class="tmenuf">
 <a href="/friends/{user-id}">Все</a>
 <div><a href="/friends/online/{user-id}">На сайте</a></div>
 [owner]<a href="/friends/requests">Заявки {demands}</a>[/owner]
 [not-owner]<a href="/u{user-id}">К странице {name}</a>[/not-owner]
</div>
<div class="clr"></div>
[/online-friends]

[request-friends]
<div class="tmenuf">
 <a href="/friends/{user-id}">Все</a>
 <a href="/friends/online/{user-id}">На сайте</a>
 <div><a href="/friends/requests">Заявки {demands}</a></div>
</div>
<div class="clr"></div>
[/request-friends]