{if="$contact != null"} {$url = $contact->getPhoto('s')}

{if="$blog != null"} {/if} {$album = $contact->getAlbum()} {if="$album"}
{/if} {if="$contact->adrlocality != null || $contact->adrcountry != null"}
{/if}
{if="$contact->twitter != null || $contact->skype != null || $contact->yahoo != null"}
{/if} {if="isset($gallery)"} {/if} {if="$contactr && $contactr->rostersubscription != 'both'"}
{/if} {else}
{/if}