<fake_person>
<if so_slash_string NEQ "login">
<tag.smp_login message="Please log in to upgrade this app.">
</if>
<break>
</fake_person>
<goto url="http://#this_domain#/">
<BREAK>
<var _header_img = "http://#this_domain#/file:/image-sp_banner_a.png">
<if GLOBAL.Def.sp_site_level GTE 1>
<h3>App Upgraded</h3>
<div>
<tag.fico i="tick" linkback="off">
<if GLOBAL.Def.sp_site_level EQ 1>
This app has been paid<br>through <b>#dateFormat(GLOBAL.Def.sp_site_expires,"long")#</b>.
<elseif GLOBAL.Def.sp_site_level EQ 2>
Your app will be downloadable on BlackBerry devices. <b>Please allow 1-10 business days</b>
for the app link to appear.
<!--<email from="aRobot@smallerpage.com" to="steve@fentriss.com" subject="SP level #GLOBAL.Def.sp_site_level# purchased">Someone bought something.</email>-->
<else>
Your app will be published to BlackBerry App World, the iPhone App Store and
Android Market.
<b>Please allow 1-15 business days</b> for your app to appear
in stores.
<!--<email from="aRobot@smallerpage.com" to="steve@fentriss.com" subject="SP level #GLOBAL.Def.sp_site_level# purchased">Someone bought something.</email>-->
</if>
</div>
<div> </div>
<tag.smp_pagebtn val="Back to SmallerPage" slash="go_to_smallerpage">
<BREAK>
</if>
<if site_user_id NEQ client_id>
<h3>Not Your App!</h3>
<p>
You must be logged in as the owner of this app
to make a payment.
</p>
<div> </div>
<tag.smp_pagebtn val="Back to SmallerPage" slash="go_to_smallerpage">
<BREAK>
</if>
<h3>Upgrade Your App</h3>
<if GLOBAL.Def.sp_site_level GTE 3>
<p>
<tag.fico i="tick" linkback="off" style="height:0.88em;">
This app is already paid through #dateFormat(GLOBAL.Def.sp_site_expires,"full")#.
</p>
<div> </div>
<tag.smp_pagebtn slash="" val="Back to Your App">
<div> </div>
<BREAK>
</if>
<if GLOBAL.Def.sp_site_total_paid GT 0>
<p>
<tag.fico i="tick" linkback="off" style="height:0.88em;">
You have already paid #dollarFormat(GLOBAL.Def.sp_site_total_paid)#. This amount will be
subtracted from all prices.
</p>
<div> </div>
</if>
<var GLOBAL.def.SmallerPage.price_a = GLOBAL.def.SmallerPage.price_a - GLOBAL.Def.sp_site_total_paid>
<var GLOBAL.def.SmallerPage.price_b = GLOBAL.def.SmallerPage.price_b - GLOBAL.Def.sp_site_total_paid>
<var GLOBAL.def.SmallerPage.price_c = GLOBAL.def.SmallerPage.price_c - GLOBAL.Def.sp_site_total_paid>
<!---
<if GLOBAL.Def.sp_site_level LT 1>
<div class="upgrade_box">
<h4 style="margin-top:0px;">1. Professional Upgrade</h4>
<div align="right" class="price">
<b>#DollarFormat(GLOBAL.Def.SmallerPage.price_a)#</b>/yr
</div>
<small><ul>
<li>
<b>No SmallerPage ad</b> will appear at the bottom
of pages on your app.
</li>
<li>
<b>Go beyond pictures:</b> pages on your app can show video,
audio and more.
</li>
</ul></small>
<small><small><div> </div></small></small>
<!--- level 1 buy now btn --->
<div align="center" class="paybutton_container">
<!--- buy now button --->
<paybutton to_user_id="7" business="payments@smallerpage.com"
invoice="|site-#site_id#|#now()#|"
item_name="SmallerPage Site Upgrade"
item_number="SP-1"
amount="#numberFormat(GLOBAL.Def.SmallerPage.price_a)#"
button_class="paybutton"
src="http://#this_domain#/file:/image-spe_buy_now.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="E0E0E0"
cpp_headerborder_color="E0E0E0"
cpp_payflow_color="E0E0E0"
no_note="1">
</div>
</div>
</if>
<div> </div>
--->
<!---
<if GLOBAL.Def.sp_site_level LT 2>
<div class="upgrade_box">
<h4 style="margin-top:0px;">2. Professional Plus</h4>
<div align="right" class="price">
<b>#DollarFormat(GLOBAL.Def.SmallerPage.price_b)#</b>/yr
</div>
<small><ul>
<li>
<b>No SmallerPage ad</b> will appear at the bottom
of pages on your app.
</li>
<li>
<b>Go beyond pictures:</b> pages on your app can show video,
audio and more.
</li>
<li>
<b>Be on BlackBerry:</b> your app will be available as a BlackBerry
app.
</li>
</ul></small>
<small><small><div> </div></small></small>
<!--- level 2 buy now btn --->
<div align="center" class="paybutton_container">
<!--- buy now button --->
<paybutton to_user_id="7" business="payments@smallerpage.com"
invoice="|site-#site_id#|#now()#|"
item_name="SmallerPage Site Upgrade"
item_number="SP-2"
amount="#numberFormat(GLOBAL.Def.SmallerPage.price_b)#"
button_class="paybutton"
src="http://#this_domain#/file:/image-spe_buy_now.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="E0E0E0"
cpp_headerborder_color="E0E0E0"
cpp_payflow_color="E0E0E0"
no_note="1">
</div>
</div>
</if>
<div> </div>
--->
<if GLOBAL.Def.sp_site_level LT 3>
<div class="upgrade_box">
<h4 style="margin-top:0px;">Publish Your App</h4>
<div align="right" class="price">
<b>#DollarFormat(GLOBAL.Def.SmallerPage.price_c)#</b><small><small><br>per year</small></small>
</div>
<small><ul>
<!---
<li>
<b>No SmallerPage ad</b> will appear at the bottom
of pages on your app.
</li>
--->
<!---
<li>
<b>Go beyond pictures:</b> pages on your app can show video,
audio and more.
</li>
--->
<li>
<b>Be on BlackBerry:</b> people will be able to find your app in BlackBerry App World.
</li>
<li>
<b>Be on iPhone:</b> people will
be able to find your app in the iPhone app store.
</li>
<li>
<b>Be on Android:</b> people will be
able to find your app in the Android Marketplace.
</li>
</ul></small>
<small><small><div> </div></small></small>
<!--- level 3 buy now btn --->
<div align="center" class="paybutton_container">
<!--- buy now button --->
<paybutton to_user_id="7" business="payments@smallerpage.com"
invoice="|site-#site_id#|#now()#|"
item_name="SmallerPage Site Upgrade"
item_number="SP-3"
amount="#numberFormat(GLOBAL.Def.SmallerPage.price_c)#"
button_class="paybutton"
src="http://#this_domain#/file:/image-spe_buy_now.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="E0E0E0"
cpp_headerborder_color="E0E0E0"
cpp_payflow_color="E0E0E0"
no_note="1">
</div>
</div>
</if>
<div> </div>
<!---
<div> </div>
<div class="noverflow">
<div style="float:left; width:64px;">
<img src="http://#this_domain#/file:/site-631?&picwidth=64" border="0">
</div>
<div style="margin-left:72px; margin-right:1em;">
Give your app a clean, professional look. Remove the SmallerPage ads
from your app for just <b>$#numberFormat(GLOBAL.Def.SmallerPage.price_a)# per year</b>.
<if isDefined("get.why")>
<if get.why EQ "file">
<p>
<tag.fico i="tick" linkback="off" style="height:0.88em;"> Your upgraded site will allow visitors to download files.
</p>
</if>
</if>
</div>
</div>
--->