.id
4732
.gutitle
spf_club_secretstory_unlock
.title
spf_club_secretstory_unlock
.file
.extension
.name
|/routinetype-page|
.user_id
7
.notes
.body
<var C = GLOBAL.Def.Style.color>


<fake_person>
<tag.spf_guardhouse heading="Log In to Unlock This Story">
<BREAK>
</fake_person>




<if reFindNoCase("^([a-z]+(_[a-z]+)*)-([0-9]+)*$",get.s3) GT 0>
<var get.j = "/" & get.s3>
</if>

<ensure variable="get.j" value="">
<if reFindNoCase("^/?([a-z]+(_[a-z]+)*)-([0-9]+)*$",get.j) EQ 0>
<goto url="http://#this_domain#/club">
<BREAK>
</if>


<set j="#get.j#@fentriss">
<var Q = set>
</set>
<if Q.recordcount NEQ 1>
<goto url="http://#this_domain#/club">
<BREAK>
<elseif listFindNoCase("music,pic,steveclip,text",Q.tbl) EQ 0>
<goto url="http://#this_domain#/club">
<BREAK>
</if>
<var set = Q>



<tag.spf_secretstory_utility j="#get.j#" set="#Q#">

<var _s2 = "">
<var _fico = "">
<var _singular = "">
<if Q.tbl EQ "music">
<var _fico = "music-beam">
<var _s2 = "music">
<var _singular = "Tune">
<elseif Q.tbl EQ "pic">
<var _fico = "pictures">
<var _s2 = "photos">
<var _singular = "Photo">
<elseif Q.tbl EQ "steveclip">
<var _fico = "films">
<var _s2 = "steveclips">
<var _singular = "SteveClip">
<elseif Q.tbl EQ "text">
<var _fico = "document--pencil">
<var _s2 = "blog">
<var _singular = "Blog Post">
</if>

<if _locked NEQ 1 AND _thanks_mode NEQ 1>
<goto url="http://#this_domain#/club/#_s2#/#Q.gutitle#">
<BREAK>
</if>

<var get.url = "http://#this_domain#/club/#_s2#/#Q.gutitle#">
<var get.url_slash_only = "club/#_s2#/#Q.gutitle#">






<var _busy = 0>

<div>

<!--- rate --->
<if _rating GT 0>

<div style="border-top:1px solid #C.g4#; padding:5px; background:#C.g5#;">
<div style="float:left; width:16px; padding-top:2px;" align="right">
<tag.fico i="tick" linkback="off">
</div>
<div style="margin-left:21px; color:#C.g2#;">
<b>Rate It:</b> You gave this a <b>#numberFormat(_rating)#</b> out of 3.
</div>
</div>

<else>

<div style="border-top:1px solid #C.g4#; padding:5px; padding-bottom:1em;">
<div style="float:left; width:16px;" align="right">
1.
</div>
<div style="margin-left:21px;">
<h4 style="font-weight:normal;"><b>Rate It:</b> What Did You Think of the #escapeMarkup(Q.title)# #_singular#?</h4>
<tag.spf_secretstory_ratings>
</div>
</div>

<var _busy = 1>

</if>


<!--- share --->
<if _shared EQ 1 AND NOT ( isDefined("get.share_type") AND get.share_type NEQ "" )>

<div style="border-top:1px solid #C.g4#; padding:5px; background:#C.g5#;">
<div style="float:left; width:16px; padding-top:2px;" align="right">
<tag.fico i="tick" linkback="off">
</div>
<div style="margin-left:21px;">
<b>Share It:</b> You shared this #lcase(_singular)#
</div>
</div>

<elseif _busy EQ 1>

<div style="border-top:1px solid #C.g4#; padding:5px; background:#C.g5#;
color:#C.g2#;">
<div style="float:left; width:16px;" align="right">
2.
</div>
<div style="margin-left:21px;">
<b>Share It:</b> Tell friends about this #_singular#
</div>
</div>

<else>

<div style="border-top:1px solid #C.g4#; padding:5px; padding-bottom:1em;">
<div style="float:left; width:16px;" align="right">
2.
</div>
<div style="margin-left:21px;">
<h4 style="font-weight:normal;"><b>Share It:</b> Tell Your Friends About #escapeMarkup(Q.title)#</h4>
<div style="padding:9px;">
<tag.spf_share_utility is_embed="1">
</div>
</div>
</div>

<var _busy = 1>

</if>


<!--- tip --->
<if _busy EQ 1>

<div style="border-top:1px solid #C.g4#; padding:5px; background:#C.g5#;
color:#C.g2#;">
<div style="float:left; width:16px;" align="right">
3.
</div>
<div style="margin-left:21px;">
<b>Tip It:</b> Leave a Tip with Your SteveCard
</div>
</div>

<elseif _thanks_mode NEQ 1>

<div style="border-top:1px solid #C.g4#; padding:5px; padding-bottom:1em;">
<div style="float:left; width:16px;" align="right">
3.
</div>
<div style="margin-left:21px;">
<h4 style="font-weight:normal;"><b>Tip It:</b> Leave a Tip with Your SteveCard</h4>
<div>

<tag.spf_secretstory_tip j="#get.j#">

</div>
</div>
</div>

<var _busy = 1>

<else>

<div style="border-top:1px solid #C.g4#; padding:5px; background:#C.g5#;">
<div style="float:left; width:16px; padding-top:2px;" align="right">
<tag.fico i="tick" linkback="off">
</div>
<div style="margin-left:21px;">
<b>Tip It:</b> You left Steve a tip - Thanks!!
</div>
</div>

</if>


<!--- teaser... --->
<if _busy EQ 1 OR _thanks_mode NEQ 1>
<div style="border-top:1px solid #C.g4#; padding:5px; background:#C.g5#;
color:#C.g2#;">
<div style="float:left; width:16px;" align="right">
4.
</div>
<div style="margin-left:21px;">
<b>Finished!</b> Read Steve's secret story about #escapeMarkup(Q.title)#
</div>
</div>
<elseif _thanks_mode EQ 1>
<div style="border-top:1px solid #C.g4#; padding:5px; padding-bottom:1em;">
<div style="float:left; width:16px;" align="right">
4.
</div>
<div style="margin-left:21px;">
<h4 style="font-weight:normal;"><b>Finished!</b> Read Steve's Secret Story about #escapeMarkup(Q.title)#</h4>
<div>

<tag.spf_secretstory_tip j="#get.j#">

</div>
</div>
</div>
</if>


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