[all-friends]
<div class="buttonsprofile" style="margin-top:-25px; ">
  <div class="activetab">
    <a href="/friends/{user-id}" onClick="Page.Go(this.href); return false;">
    <div>Все друзья</div>
    </a>
  </div>
  <a href="/friends/online/{user-id}" onClick="Page.Go(this.href); return false;">Друзья на сайте</a>
  [owner]
  <a href="/friends/requests" onClick="Page.Go(this.href); return false;">Заявки в друзья {demands}</a>
  [/owner]
  [not-owner]
  <a href="/u{user-id}" onClick="Page.Go(this.href); return false;">К странице {name}</a>
  [/not-owner] </div>
<div class="clear"></div>
<div style="padding:5px 0px;">
  <input type="text" style="width:920px; min-width:720px; margin-top:15px; " id="friendsearch" placeholder="{translate=lang_108}.." onkeydown="friends.search({user-id},1);" class="fave_input search_input" value="">
  <div class="clear"></div>
</div>
<div id="searchbody" style="display:none;"></div>
[/all-friends]
  
  [request-friends]
<div class="buttonsprofile" style="margin-top:-25px;">
  <a href="/friends/{user-id}" onClick="Page.Go(this.href); return false;">Все друзья</a>
  <a href="/friends/online/{user-id}" onClick="Page.Go(this.href); return false;">Друзья на сайте</a>
  <div class="activetab">
    <a href="/friends/requests" onClick="Page.Go(this.href); return false;">
    <div>Заявки в друзья {demands}</div>
    </a>
  </div>
</div>
<div class="clear" style="margin-bottom:20px;"></div>
[/request-friends]
  
  [online-friends]
<div class="buttonsprofile" style="margin-top:-25px; ">
  <a href="/friends/{user-id}" onClick="Page.Go(this.href); return false;">Все друзья</a>
  <div class="activetab">
    <a href="/friends/online/{user-id}" onClick="Page.Go(this.href); return false;">
    <div>Друзья на сайте</div>
    </a>
  </div>
  [owner]
  <a href="/friends/requests" onClick="Page.Go(this.href); return false;">Заявки в друзья {demands}</a>
  [/owner]
  [not-owner]
  <a href="/u{user-id}" onClick="Page.Go(this.href); return false;">К странице {name}</a>
  [/not-owner] </div>
<div class="clear"></div>
<div style="padding:5px 0px;">
  <input type="text" style="width:920px; min-width:720px; margin-top:15px; " id="friendsearch" placeholder="{translate=lang_108}.." onkeydown="friends.search({user-id},2);" class="fave_input search_input" value="">
  <div class="clear"></div>
</div>
<div id="searchbody" style="display:none;"></div>
[/online-friends]