.id
4248
.gutitle
spe_page_paypal_page
.title
spe_page_paypal_page
.file
.extension
.name
|/routinetype-subutility|
.user_id
7
.notes
.body
<var set = caller.set>
<var D = caller.D>

<var _pw = 84>




<goto url="http://#this_domain#/">
<BREAK>



<if set.showtext_unsignedint NEQ 2>
<!--- text --->
<if trim(set.body) NEQ "">
<div>&nbsp;</div>
<div>
#escapeWhitespace(iqtpi_markup(set.body))#
</div>
<div>&nbsp;</div>
</if>
</if>



<!--- paybutton --->
<if isValidEmail(set.ppemail_protected) NEQ 1>
<if set.user_id EQ client_id>
<p>
<b>CANNOT SHOW BUY NOW BUTTON</b>
</p>
<p>
You must <a href="http://#this_domain#/#get.s1#/edit">edit this page</a>
and enter a valid PayPal email address. It should be the same address you use with
your PayPal business account.
</p>
<else>
<p>
(This product is currently unavailable)
</p>
</if>
<BREAK>
</if>



<var _val = 1.00>
<if set.usd_double GT 1>
<var _val = reReplace(dollarFormat(set.usd_double),"[^0-9\.]","","all")>
</if>


<!--- paybutton --->

<var _header_img = "http://#this_domain#/file:/image-sp_banner_a.png">
<if listFindNoCase("jpg,png,gif",GLOBAL.Def.Site.extension) GT 0>
<var _header_img = "http://#this_domain#/file:/site-#site_id#.#GLOBAL.Def.Site.extension#?&picwidth=84">
</if>

<div align="right" class="paybutton_container" style="margin-right:2em;">
<!--- buy now button --->
<paybutton to_user_id="#site_user_id#" business="#set.ppemail_protected#"
invoice="|site-#site_id#|#now()#|"
item_name="#escapeDoubleQuotes(set.title)#"
item_number="SP-#set.id#"
amount="#numberFormat(_val)#"
button_class="paybutton"
src="http://#this_domain#/file:/image-pp_btn_paypal_buynow.gif"
return="http://#this_domain#/upgrade_complete"
cancel_return="http://#this_domain#/upgrade"
cbt="Return to Your SmallerPage Site"
cpp_header_image="#_header_img#"
cpp_headerback_color="FFFFFF"
cpp_headerborder_color="FFFFFF"
cpp_payflow_color="FFFFFF"
no_note="1">
<div style="padding:3px;"><small>
<b>#dollarFormat(_val)#</b> &nbsp; &nbsp;
</small></div>
</div>
<div>&nbsp;</div>
 
.sum_double
0.00
.producttype
.productincludes
.physical_unsignedint
0
.isprotected_unsignedint
0
.overridesiteheader_unsignedint
0