{if $user.userid == userid()} {lang code="update_cover"} {/if}
{if $user.userid != userid()}
{show_video_rating rating=$p.rating ratings=$p.rated_by total='10' id=$p.userid type=user}
{/if}

{if isSectionEnabled('videos')}
- {prettyNum($user.total_videos)} {lang code='videos'}
{/if} {if isSectionEnabled('photos')}
- {prettyNum($user.total_photos)} {lang code='photos'}
{/if}
- {prettyNum($user.profile_hits)} {lang code='views'}
- {prettyNum($user.subscribers)} {if $user.subscribers <= 1}{lang code='contact'}{else}{lang code='contacts'}{/if}

{if $user.userid != userid()} {$friend_status = $userquery->friendship_status(userid(), $user.userid)} {if $friend_status == "f"} {lang code="unfriend"} {elseif $friend_status == "r"} {lang code="accept_request"} {elseif $friend_status == 's'} {lang code="cancel_request"} {else} {lang code="add_as_friend"} {/if} {/if}

## {$user.username}

{if $user.userid != userid()}
{lang code="user_send_message"}
{/if}