.id
4477
.gutitle
bn_estate_profile
.title
bn_estate_profile
.file
.extension
.name
|/routinetype-page|
.user_id
7
.notes
.body
<ensure variable="att.setup_mode" value="0">

<var set = caller.set>
<var D = caller.D>
<var Txt = caller.Txt>
<var Soc = caller.Soc>

<var C = GLOBAL.Def.Style.color>

<ensure variable="get.s2" value="">
<ensure variable="get.s3" value="">

<var _is_friend = 0>
<if set.id NEQ client_id AND listFind(Soc.Friends.intList,client_id) GT 0>
<var _is_friend = 1>
</if>

<var _balloon = set.balloon>
<var _color = "blue">
<if listLen(set.balloon,'/') EQ 2>
<var _balloon = listFirst(set.balloon,'/')>
<var _color = listLast(set.balloon,'/')>
</if>











<!--- subchapters --->
<if get.s2 EQ "balloon">
<tag.bn_estate_profile_balloon>
<BREAK>

<elseif get.s2 EQ "follow">
<tag.bn_estate_profile_follow>
<BREAK>

<elseif set.id NEQ client_id AND _is_friend EQ 0 AND get.s2 NEQ "" AND get.s2 NEQ "general">
<tag.bn_estate_profile_nonfriend_guardhouse>
<BREAK>

<elseif get.s2 EQ "unfollow">
<tag.bn_estate_profile_unfollow>
<BREAK>

<elseif get.s2 EQ "affiliations">
<tag.bn_estate_profile_affiliations>
<BREAK>
<elseif get.s2 EQ "facts">
<tag.bn_estate_profile_facts>
<BREAK>
<elseif get.s2 EQ "friends">
<tag.bn_estate_profile_friends>
<BREAK>
</if>













<var _pw = 84>

<div id="user_profile">

<!--- balloon --->
<div style="float:left; width:#_pw#px; padding-top:2px;">
<if att.setup_mode EQ 1>
<tag.balloon bg="#_balloon#" color="#_color#" picwidth="#_pw#">
<else>
<a href="http://#this_domain#/#get.s1#<if get.s2 EQ ''>/balloon</if>"><tag.balloon bg="#_balloon#" color="#_color#" picwidth="#_pw#"></a>
</if>
</div>

<div style="margin-left:#_pw+8#px;">

<!--- the beef. --->
<div style="position:relative;">

<!--- name --->
<h3 style="margin:0px; margin-bottom:1em; margin-right:5em;">#D.title#</h3>

<!--- follow/unfollow button --->
<if set.id NEQ client_id>
<small><small><div align="right" style="position:absolute; right:2px; top:2px;">
<if listFind(Soc.Following.intList,client_id) GT 0>
<!--- confirm --->
<a class="buttonish buttonish_small" style="float:right; color:#C.text#;" href="http://#this_domain#/#get.s1#/follow">Confirm <tag.fico i="plus-circle" linkback="off" style="height:0.88em;"></a>
<elseif listFind(Soc.Friends.intList,client_id) GT 0>
<!--- remove --->
<a class="buttonish buttonish_small" style="float:right; color:#C.g3#;" href="http://#this_domain#/#get.s1#/unfollow">Remove <tag.fico i="minus-circle" linkback="off" style="height:0.88em;"></a>
<elseif listFind("#GLOBAL.Def.Following.intList#",set.id) EQ 0>
<!--- add --->
<a class="buttonish buttonish_small" style="float:right; color:#C.text#;" href="http://#this_domain#/#get.s1#/follow">Add Friend <tag.fico i="plus-circle" linkback="off" style="height:0.88em;"></a>
</if>
</div></small></small>
</if>

<if get.s2 EQ "" OR listFindNoCase("general,posts,media",get.s2) GT 0>

<if att.setup_mode EQ 1>

<!--- setup mode --->
<tag.bn_affiliations function="init_edit">

<div>&nbsp;</div>
<div>&nbsp;</div>

<else>

<!--- general, posts, media --->
<var _default_tab = "general">
<if _is_friend EQ 1 OR ( set.id EQ client_id AND set.facts NEQ "" AND set.affiliations NEQ "" )>
<var _default_tab = "posts">
</if>
<div class="tabs">
<div class="tabs_head"><small>
<a href="http://#this_domain#/#get.s1#<if _default_tab NEQ "general">/general</if>" class="<if ( _default_tab EQ "general" AND get.s2 EQ '' ) OR get.s2 EQ 'general'>selected</if>">General</a>
<a href="http://#this_domain#/#get.s1#<if _default_tab NEQ "posts">/posts</if>" class="<if ( _default_tab EQ "posts" AND get.s2 EQ '') OR get.s2 EQ 'posts'>selected</if>">Posts</a>
<a href="http://#this_domain#/#get.s1#/media" class="<if get.s2 EQ 'media'>selected</if>">Media</a>
</small></div>
<div class="tabs_body">

<if get.s2 EQ "posts" OR ( _default_tab EQ "posts" AND get.s2 EQ '' )>
<tag.bn_estate_profile_posts>
<elseif get.s2 EQ "media">
<tag.bn_estate_profile_media>
<else>
<tag.bn_estate_profile_general>
</if>

</div>
</div>

<if get.s3 EQ "">
<if set.id EQ client_id>
<if set.affiliations NEQ "">
<!--- activate blabber --->
<var GLOBAL.Def.Estate.controls.blabber_on = 1>
<var GLOBAL.Def.Estate.controls.blabber_jstr = "">
<var GLOBAL.Def.Estate.controls.blabber_default_txt = "Post an Update">
</if>
<elseif _is_friend EQ 1>
<!--- activate blabber --->
<var GLOBAL.Def.Estate.controls.blabber_on = 1>
<var GLOBAL.Def.Estate.controls.blabber_jstr = "/user-#set.id#">
<var GLOBAL.Def.Estate.controls.blabber_default_txt = "Write to #Txt.fname#">
</if>
</if>

</if>

<else>

<!--- error: something besides general/posts/media --->
<var _label = get.s2>

<div class="tabs">
<div class="tabs_head">
&nbsp; &nbsp;
<span style="display:inline-block;"> &gt; </span>
<a href="http://#this_domain#/#get.s1#" class="selected"><b>#_label#</b></a>
</div>
<div class="tabs_body">
<div class="fyi">
<tag.fico i="exclamation" linkback="off" style="height:0.88em;">
Balloon profiles currently do not support a feature called
<b>#escapeMarkup(_label)#</b>
</div>
</div>
</div>

</if>

</div>

</div>

</div>
 
.sum_double
0.00
.producttype
.productincludes
.physical_unsignedint
0
.isprotected_unsignedint
0
.overridesiteheader_unsignedint
0