{{if $notself}}
{{if $abook_prev || $abook_next}}
{{if $abook_prev}} {{/if}} {{if $abook_next}} {{/if}}
{{/if}}
{{/if}}

{{$header}}

{{if $notself}} {{foreach $tools as $tool}} {{if $tool.info}}
{{$tool.info}}
{{/if}} {{/foreach}} {{/if}}
{{if $notself}} {{if $is_pending}}
{{include file="field_checkbox.tpl" field=$unapproved}}
{{/if}}
{{if $vcard.fn}}{{$vcard.fn}}{{/if}} {{if $vcard.emails.0.address}}{{/if}} {{if $vcard.tels.0}}{{/if}}
{{if $vcard.org}}
{{/if}}
{{if $vcard.title}}
{{/if}}
{{if $vcard.tels}} {{foreach $vcard.tels as $tel}}
{{/foreach}} {{/if}}
{{if $vcard.emails}} {{foreach $vcard.emails as $email}}
{{/foreach}} {{/if}}
{{if $vcard.impps}} {{foreach $vcard.impps as $impp}}
{{/foreach}} {{/if}}
{{if $vcard.urls}} {{foreach $vcard.urls as $url}}
{{/foreach}} {{/if}}
{{if $vcard.adrs}} {{foreach $vcard.adrs as $adr}}
{{/foreach}} {{/if}}
{{if $vcard.note}} {{/if}}
{{if $affinity }}
{{if $slide}}
{{$lbl_slider}}
{{$slide}} {{/if}} {{if $multiprofs }}
{{$lbl_vis2}} {{$profile_select}}
{{/if}}
{{/if}} {{if $connfilter}}
{{include file="field_textarea.tpl" field=$incl}} {{include file="field_textarea.tpl" field=$excl}}
{{else}} {{/if}} {{if $rating}}
{{$rating_info}}
{{$lbl_rating_label}}
{{$rating}} {{include file="field_textarea.tpl" field=$rating_text}}
{{/if}} {{/if}} {{if ! $is_pending}}
{{if $notself}} {{/if}}
{{if $notself}}{{$permnote}}{{/if}} {{if $self}}{{$permnote_self}}{{/if}}
{{if $notself}} {{/if}} {{foreach $perms as $prm}} {{include file="field_acheckbox.tpl" field=$prm}} {{/foreach}}
{{$them}}{{$me}}
{{if $self}}
{{include file="field_checkbox.tpl" field=$autoperms}}
{{/if}}
{{/if}}