.id
4476
.gutitle
bn_estate_makethismyballoon
.title
bn_estate_makethismyballoon
.file
.extension
.name
|/routinetype-page|
.user_id
7
.notes
.body
<ensure variable="get.s2" value="">


<if isValidGutitle(get.s2) EQ "">
<goto url="http://#this_domain#/">
<BREAK>
</if>


<var _color = "blue"><!--- default to blue --->
<if get.s2 EQ "panda">
<var _color = "red">
<elseif get.s2 EQ "koala">
<var _color = "green">
<elseif get.s2 EQ "dog">
<var _color = "yellow">
<elseif get.s2 EQ "cat">
<var _color = "blue">
</if>


<ensure variable="get.color" value="#_color#">
<if listFindNoCase("blue,green,red,yellow,purple",get.color) EQ 0>
<var get.color = _color>
</if>
<var get.color = trim(lcase(get.color))>





<if isDefined("get.s3") AND get.s3 EQ "yes">

<update orb="user" where="user.id = #client_id#" balloon="#get.s2#/#get.color#">

<update orb="bull" where="bull.user_id = #client_id#" uballoon="#get.s2#/#get.color#">
<update orb="bull" where="bull.giveto_unsignedint = #client_id#" uballoon_b="#get.s2#/#get.color#">

<h3>This is your new balloon.</h3>

<div style="margin-left:1em;">
<tag.balloon picwidth="240" bg="#get.s2#" color="#get.color#">
</div>

<div>&nbsp;</div>

<tag.bn_btn val="View My Profile" slash="#client_id#">

<BREAK>
</if>



<h3>Is this your new balloon?</h3>

<form method="get" enctype="application/x-www-form-urlencoded" action="http://#this_domain#/#get.s1#/#get.s2#/yes">
<input name="x" value="" type="hidden" style="display:none;">
<div style="margin-left:2em;">

<div class="balloon_color_picker_pic">
<tag.balloon picwidth="150" bg="#get.s2#" color="#_color#">
</div>

<div>&nbsp;</div>

<div style="padding:3px;">

<span class="inputesque">
Color:
</span>

<select class="balloon_color_picker" name="color">
<loop list="Blue,Green,Red,Yellow,Purple" index="x">
<option value="#lcase(x)#"<if get.color EQ x> selected</if>>#x#</option>
</loop>
</select>

</div>

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

<div class="pagebtn" align="right" style="margin-right:2em;">
<input type="submit" class="submit" value="Yes, Make This My Balloon" style="cursor:pointer;">
</div>

<div>&nbsp;</div>

</div>
</form>

<p><small>
<a href="http://#this_domain#/">No, Go Back</a>
</small></p>
 
.sum_double
0.00
.producttype
.productincludes
.physical_unsignedint
0
.isprotected_unsignedint
0
.overridesiteheader_unsignedint
0