.id
4728
.gutitle
spf_club_secretstories
.title
spf_club_secretstories
.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 Access Secret Stories">
<BREAK>
</fake_person>

<style type="text/css">
a.storythumb { }
a.storythumb:normal { }
a.storythumb:hover { opacity:1 !important; filter:alpha(opacity=100) !important; }
a.storythumb:normal .advance { display:none; }
a.storythumb:hover .advance { display:block !important; }
</style>



<var Totals = StructNew()>
<var Totals.all = 0>
<var Totals.pic = 0>
<set orb="pic" select="count(pic.id) AS idcount" where="pic.user_id = 7 AND pic.secretstory_protected <> '' AND pic.secretstory_protected is not null"><setcrawl><var Totals.pic = set.idcount></setcrawl></set>
<var Totals.music = 0>
<set orb="music" select="count(music.id) AS idcount" where="music.user_id = 7 AND music.secretstory_protected <> '' AND music.secretstory_protected is not null"><setcrawl><var Totals.music = set.idcount></setcrawl></set>
<var Totals.text = 0>
<set orb="text" select="count(text.id) AS idcount" where="text.user_id = 7 AND text.notes LIKE('%|spf|%') AND text.secretstory_protected <> '' AND text.secretstory_protected is not null"><setcrawl><var Totals.text = set.idcount></setcrawl></set>
<var Totals.all = Totals.pic + Totals.music + Totals.text>
<var Totals.mine = 0>
<var Totals.mine = listLen(GLOBAL.Def.Client.spf_secretstory_protected,"|#CHR(10)#")>
<var Totals.mine_pic = 0>
<loop list="#GLOBAL.Def.Client.spf_secretstory_protected#" index="x" delimiters="|#CHR(10)#">
<if listFirst(x,"-") EQ "/pic">
<var Totals.mine_pic = Totals.mine_pic + 1>
</if>
</loop>
<var Totals.mine_music = 0>
<loop list="#GLOBAL.Def.Client.spf_secretstory_protected#" index="x" delimiters="|#CHR(10)#">
<if listFirst(x,"-") EQ "/music">
<var Totals.mine_music = Totals.mine_music + 1>
</if>
</loop>
<var Totals.mine_text = 0>
<loop list="#GLOBAL.Def.Client.spf_secretstory_protected#" index="x" delimiters="|#CHR(10)#">
<if listFirst(x,"-") EQ "/text">
<var Totals.mine_text = Totals.mine_text + 1>
</if>
</loop>







<if Totals.mine EQ 0>
<goto url="http://#this_domain#/club">
<BREAK>
</if>




<div style="float:right; width:200px;">
<small><small><div style="float:right;">
<!---
<div align="right" style="padding:2px;">
Total Secret Stories: #numberFormat(Totals.all)#
</div>
--->
<div align="right" style="padding:2px;">
Stories Unlocked: #numberFormat(Totals.mine)#
</div>
<div align="right" style="padding:2px; border-top:1px solid #C.g3#; margin-top:2px;">
<b>Stories Remaining: #numberFormat(Totals.all - Totals.mine)#</b>
</div>
</div></small></small>
<div style="clear:right; height:1px;">&nbsp;</div>
</div>


<div style="margin-right:210px;">
<h3>Secret Stories</h3>
<div style="line-height:1.32em;">
<p>
Find out the truth: what is Steve really thinking? Secret Stories give you
a chance to look behind the art and figure out where it came from and what
it means.
</p>
</div>
</div>





<h4>You Have Unlocked #numberFormat(Totals.mine)# Secret Stories:</h4>

<div style="margin-left:5px;">

<small><table style="width:100%;" cellpadding="0" cellspacing="0" border="0">
<thead><tr>
<td style="width:29%; border-left:1px solid white; padding-right:2%; text-align:left; padding-bottom:11px;" valign="top" align="left">
<small><div style="float:right; color:#C.g2#;">
#numberFormat(Totals.mine_music)# / #numberFormat(Totals.music)#
</div></small>
<tag.fico i="music-beam" linkback="off" style="height:0.88em;">
Music:
</td>
<td style="width:29%; border-left:1px solid white; padding-right:2%; text-align:left; padding-bottom:11px;" valign="top" align="left">
<small><div style="float:right; color:#C.g2#;">
#numberFormat(Totals.mine_pic)# / #numberFormat(Totals.pic)#
</div></small>
<tag.fico i="pictures" linkback="off" style="height:0.88em;">
Photos:
</td>
<td style="width:29%; border-left:1px solid white; padding-right:2%; text-align:left; padding-bottom:11px;" valign="top" align="left">
<small><div style="float:right; color:#C.g2#;">
#numberFormat(Totals.mine_text)# / #numberFormat(Totals.text)#
</div></small>
<tag.fico i="document--pencil" linkback="off" style="height:0.88em;">
Blog Posts:
</td>
</tr></thead>
<tbody><tr>

<!--- music --->
<td style="width:28%; border-left:1px solid #C.g4#; padding-left:1%; padding-right:2%;" valign="top">
<var o = "music">
<var _w = " AND #o#.secretstory_protected <> '' AND #o#.secretstory_protected is not null">
<if client_id EQ 7><var _w = ""></if>
<set orb="#o#" select="#o#.id,#o#.gutitle,#o#.title,#o#.secretstory_protected" where="#o#.user_id = 7 #_w#" orderby="#o#.so_dateinserted DESC">
<setcrawl>
<var _locked = 1>
<if listFindNoCase(GLOBAL.Def.Client.spf_secretstory_protected,"/#set.tbl#-#set.id#","|#CHR(10)#") GT 0>
<var _locked = 0>
</if>
<var _href = "http://#this_domain#/club/music/#set.gutitle#">
<if client_id EQ 7 AND set.secretstory_protected EQ "">
<var _href = "http://joelie.org/j:/#set.tbl#-#set.gutitle#">
</if>
<var _pw = 16>
<a href="#_href#" class="storythumb" style="display:block; text-decoration:none; padding:7px; border-radius:7px; margin-bottom:1em; <if _locked EQ 1>background:#C.g6#; border:1px dashed #C.g3#; color:#C.g2#; opacity:0.5; filter:alpha(opacity=50);<else> background:#C.back#; border:1px solid <!---##449955--->#C.pri#; color:#C.g1#; opacity:1; filter:alpha(opacity=100);</if><if set.secretstory_protected EQ "" AND client_id EQ 7> border:3px solid red;</if>">
<div style="float:right; width:#_pw#px; padding-top:0px; display:none;" class="advance">
<if _locked NEQ 1>
<tag.fico i="lock-unlock" linkback="off">
<else>
<tag.fico i="lock" linkback="off">
</if>
</div>
<div style="float:left; width:#_pw#px; padding-top:0px;">
<if _locked NEQ 1>
<tag.fico i="ui-check-box" linkback="off">
<else>
<tag.fico i="ui-check-box-uncheck" linkback="off">
</if>
</div>
<div style="margin-left:#_pw+5#px; margin-right:#_pw+8#px">
<b>#escapeMarkup(set.title)#</b>
</div>
</a>
</setcrawl>
</set>
</td>

<!--- pic --->
<td style="width:28%; border-left:1px solid #C.g4#; padding-left:1%; padding-right:2%;" valign="top">
<var o = "pic">
<var _w = " AND #o#.secretstory_protected <> '' AND #o#.secretstory_protected is not null">
<if client_id EQ 7><var _w = ""></if>
<set orb="#o#" select="#o#.id,#o#.gutitle,#o#.title,#o#.secretstory_protected" where="#o#.user_id = 7 #_w#" orderby="#o#.so_dateinserted DESC">
<setcrawl>
<var _locked = 1>
<if listFindNoCase(GLOBAL.Def.Client.spf_secretstory_protected,"/#set.tbl#-#set.id#","|#CHR(10)#") GT 0>
<var _locked = 0>
</if>
<var _href = "http://#this_domain#/club/photos/#set.gutitle#">
<if client_id EQ 7 AND set.secretstory_protected EQ "">
<var _href = "http://joelie.org/j:/#set.tbl#-#set.gutitle#">
</if>
<var _pw = 16>
<a href="#_href#" class="storythumb" style="display:block; text-decoration:none; padding:7px; border-radius:7px; margin-bottom:1em; <if _locked EQ 1>background:#C.g6#; border:1px dashed #C.g3#; color:#C.g2#; opacity:0.5; filter:alpha(opacity=50);<else> background:#C.back#; border:1px solid <!---##449955--->#C.pri#; color:#C.g1#; opacity:1; filter:alpha(opacity=100);</if><if set.secretstory_protected EQ "" AND client_id EQ 7> border:3px solid red;</if>">
<div style="float:right; width:#_pw#px; padding-top:0px; display:none;" class="advance">
<if _locked NEQ 1>
<tag.fico i="lock-unlock" linkback="off">
<else>
<tag.fico i="lock" linkback="off">
</if>
</div>
<div style="float:left; width:#_pw#px; padding-top:0px;">
<if _locked NEQ 1>
<tag.fico i="ui-check-box" linkback="off">
<else>
<tag.fico i="ui-check-box-uncheck" linkback="off">
</if>
</div>
<div style="margin-left:#_pw+5#px; margin-right:#_pw+8#px">
<b>#escapeMarkup(set.title)#</b>
</div>
</a>
</setcrawl>
</set>
</td>

<!--- text --->
<td style="width:28%; border-left:1px solid #C.g4#; padding-left:1%; padding-right:2%;" valign="top">
<var o = "text">
<var _w = " AND #o#.secretstory_protected <> '' AND #o#.secretstory_protected is not null">
<if client_id EQ 7><var _w = ""></if>
<set orb="#o#" select="#o#.id,#o#.gutitle,#o#.title,#o#.secretstory_protected" where="#o#.user_id = 7 AND #o#.notes LIKE('%|spf|%') #_w#" orderby="#o#.so_dateinserted DESC">
<setcrawl>
<var _locked = 1>
<if listFindNoCase(GLOBAL.Def.Client.spf_secretstory_protected,"/#set.tbl#-#set.id#","|#CHR(10)#") GT 0>
<var _locked = 0>
</if>
<var _href = "http://#this_domain#/club/blog/#set.gutitle#">
<if client_id EQ 7 AND set.secretstory_protected EQ "">
<var _href = "http://joelie.org/j:/#set.tbl#-#set.gutitle#">
</if>
<var _pw = 16>
<a href="#_href#" class="storythumb" style="display:block; text-decoration:none; padding:7px; border-radius:7px; margin-bottom:1em; <if _locked EQ 1>background:#C.g6#; border:1px dashed #C.g3#; color:#C.g2#; opacity:0.5; filter:alpha(opacity=50);<else> background:#C.back#; border:1px solid <!---##449955--->#C.pri#; color:#C.g1#; opacity:1; filter:alpha(opacity=100);</if><if set.secretstory_protected EQ "" AND client_id EQ 7> border:3px solid red;</if>">
<div style="float:right; width:#_pw#px; padding-top:0px; display:none;" class="advance">
<if _locked NEQ 1>
<tag.fico i="lock-unlock" linkback="off">
<else>
<tag.fico i="lock" linkback="off">
</if>
</div>
<div style="float:left; width:#_pw#px; padding-top:0px;">
<if _locked NEQ 1>
<tag.fico i="ui-check-box" linkback="off">
<else>
<tag.fico i="ui-check-box-uncheck" linkback="off">
</if>
</div>
<div style="margin-left:#_pw+5#px; margin-right:#_pw+8#px">
<b>#escapeMarkup(set.title)#</b>
</div>
</a>
</setcrawl>
</set>
</td>

</tr></tbody>
</table></small>

</div>


<div style="clear:both;">&nbsp;</div>
 
.sum_double
0.00
.producttype
.productincludes
.physical_unsignedint
0
.isprotected_unsignedint
0
.overridesiteheader_unsignedint
0