.id
4535
.gutitle
bn_estate_init_flavor
.title
bn_estate_init_flavor
.file
.extension
.name
|/routinetype-subutility|
.user_id
7
.notes
.body
<!--- assumes that GLOBAL.Def.Client.acct_flavor_protected is not blank.
In fact, it *should* be a jParse string. --->

<tag.jparse_parse str="j:#GLOBAL.Def.Client.acct_flavor_protected#">
<var Jp = return>


<if Jp.status NEQ 1 OR Jp.single NEQ 1 OR Jp.tbl NEQ "user">
<!--- this is not a jParse string, or a single, or a user. Just clear it. --->
<update orb="user" where="user.id = #client_id#" acct_flavor_protected="">
<if return NEQ "pants">
<goto url="http://#this_domain#/">
</if>
<BREAK>
</if>



<if Jp.tbl EQ "user">

<!--- user --->

<set j="#Jp.jStr_resolved##GLOBAL.Def.Estate.field_lists.user#">

<setcrawl>

<tag.set_format orb="user"> <var D = return>

<var Txt = StructNew()>
<var Txt.fname = listFirst(D.title,' ')>
<var Txt.has = "has">
<var Txt.is = "is">
<var Txt.fnames = listFirst(D.title,' ')>
<if right(Txt.fnames,1) EQ "s">
<var Txt.fnames = Txt.fnames & "'">
<else>
<var Txt.fnames = Txt.fnames & "'s">
</if>
<if set.id EQ client_id>
<var Txt.fname = "You">
<var Txt.has = "have">
<var Txt.is = "are">
<var Txt.fnames = "Your">
</if>

<tag.iqtpi_get_social_data user_id="#set.id#">
<var Soc = return>

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

<tag.bn_layout title="Add #Txt.fname# as Your First Friend? | Balloon" ping_mode="1">

<var _pw = 84>

<div id="user_profile">

<!--- balloon --->
<div style="float:left; width:#_pw#px; padding-top:2px;">
<tag.balloon bg="#_balloon#" color="#_color#" picwidth="#_pw#">
</div>

<!--- prompt --->
<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>

<p>
Do you want to add #Txt.fname# as your first friend on
Balloon?
</p>

<div>&nbsp;</div>

<div align="right">
<tag.bn_btn_inline val="No Thanks" slash="clear_acct_flavor">
<tag.bn_btn_inline val="Yes, Add #Txt.fname#" slash="#set.id#/follow/yes/rdr:clear_acct_flavor">
</div>

</div>

</div>

</div>

</tag.bn_layout>

<return "break">
</setcrawl>

</set>

<BREAK>

</if>



<!--- this should never happen... --->
<update orb="user" where="user.id = #client_id#" acct_flavor_protected="">
<if return NEQ "pants">
<goto url="http://#this_domain#/">
</if>
 
.sum_double
0.00
.producttype
.productincludes
.physical_unsignedint
0
.isprotected_unsignedint
0
.overridesiteheader_unsignedint
0