<if isDefined("POST.soLoginEmail")>
<goto url="http://#this_domain#/club">
<BREAK>
</if>
<!--- mark the user --->
<if listFindNoCase(GLOBAL.Def.Client.sites,"spf","|#CHR(10)#") EQ 0>
<var _new = GLOBAL.Def.Client.sites & CHR(10) & "|spf|">
<update orb="user" where="user.id = #client_id#" sites="#_new#">
</if>
<!--- city/state/zip --->
<if GLOBAL.Def.Client.city EQ "" OR GLOBAL.Def.Client.state EQ ""><!--- OR GLOBAL.Def.Client.zip EQ "" --->
<tag.f_layout title="Your Location | Steve Fentriss" description="Please enter your location.">
<tag.spf_init_location>
</tag.f_layout>
<BREAK>
</if>
<!--- welcome! --->
<if listFindNoCase(GLOBAL.Def.Client.iqtpi_protected,"spf_init_welcome","|#CHR(10)#") EQ 0>
<tag.f_layout title="Welcome! | Steve Fentriss" description="You've made it. Welcome to Club Steve USA.">
<tag.f_init_welcome>
</tag.f_layout>
<BREAK>
</if>
<var C = GLOBAL.Def.Style.color>
<tag.f_layout title="Club Steve USA | Steve Fentriss" description="The official online headquarters of Steve Fentriss and the World's Greatest Fans.">
<tag.f_club_nav>
<div style="float:right; width:180px; border-left:1px solid #C.g4#; padding-left:10px;">
<!--- second-most-current update --->
<div>
<set j="/clubupdate@fentriss.thumbnail" orderby="clubupdate.so_dateinserted DESC" maxrows="2">
<setcrawl><if set.currentrow EQ 2>
<h5 style="margin-bottom:0.2em;">#escapeMarkup(set.title)#</h5>
<small><small><div style="color:#C.g3#;">#timeAgo(set.so_dateinserted)#</div></small></small>
<div> </div>
<small><div class="copy" style="color:#C.g2#; line-height:1.2em;">
#escapeWhiteSpace(set.body)#
</div></small>
<div> </div>
<small><small><div align="right">
<a href="http://#this_domain#/club/news"><b>More Club News ></b></a>
</div></small></small>
</if></setcrawl>
<if set.recordcount LT 2>
<!--- flag ---><tag.spf_picdiv w="180" h="95" src="http://#this_domain#/file:/image-spf_usa_flag?&picwidth=180"></tag.spf_picdiv>
</if>
</set>
</div>
<div> </div>
<div style="border-top:1px solid #C.g4#;"> </div>
<!--- facts --->
<div>
<h5>Club Steve Facts</h5>
<small><small><ul style="padding-left:1.64em;">
<!--- total audience members, all time --->
<li>
<var _ae_count = 0>
<set orb="ae" select="count(ae.id) AS idcount" where="ae.user_id = 7 AND ae.confirmed_unsignedint = 1" is_proxy="1">
<setcrawl><var _ae_count = set.idcount></setcrawl>
</set>
<b>#numberFormat(_ae_count)# Audience Members</b> have signed up to watch videos on Fentriss.com
</li>
<!--- audience members needed, current clip (video only) --->
<set j="/video@fentriss.ae_required_unsignedint.thumbnail" orderby="video.so_dateinserted DESC" maxrows="25">
<setcrawl><if set.ae_required_unsignedint GT 0>
<var _ae_count = 0>
<set orb="ae" select="count(ae.id) AS idcount" where="ae.user_id = 7 AND ae.name = '|/#set.tbl#-#set.id#|' AND ae.confirmed_unsignedint = 1" is_proxy="1">
<setcrawl><var _ae_count = set.idcount></setcrawl>
</set>
<if _ae_count LT set.ae_required_unsignedint>
<var _remaining = set.ae_required_unsignedint - _ae_count>
<li>
We need only
<if _remaining EQ 1>
<a href="http://fentriss.com/videos/#set.id#">one more audience member</a>
<else>
<a href="http://fentriss.com/videos/#set.id#">#numberFormat(_remaining)# more audience members</a>
</if>
to release Steve's next video!
</li>
<break>
</if>
</if></setcrawl>
</set>
<!--- club steve members --->
<li>
<var _cs_count = 0>
<set orb="user" select="count(user.id) AS idcount" where="user.sites LIKE('%|spf|%')" is_proxy="1">
<setcrawl><var _cs_count = set.idcount></setcrawl>
</set>
<b>#numberFormat(_cs_count)# People</b> have joined Club Steve USA.
Tell Your Friends!
</li>
</ul></small></small>
</div>
</div>
<div style="margin-right:201px;">
<!--- latest update --->
<div>
<set j="/clubupdate@fentriss.thumbnail" orderby="clubupdate.so_dateinserted DESC" maxrows="2">
<setcrawl><if set.currentrow EQ 1>
<h4 style="margin-bottom:0.2em;">#escapeMarkup(set.title)#</h4>
<small><div style="color:#C.g3#;">#timeAgo(set.so_dateinserted)#</div></small>
<div> </div>
<if listFindNoCase("jpg,png,gif",set.extension) GT 0>
<var _pw = 240>
<div align="left">
<a href="http://#this_domain#/file:/#set.tbl#-#set.id#" target="_blank"><img src="http://#this_domain#/file:/#set.tbl#-#set.id#?&picwidth=#_pw#" border="0" style="border:1px solid #C.g1#;"></a>
</div>
<div> </div>
</if>
<div class="copy" style="line-height:1.2em;">
#escapeWhiteSpace(set.body)#
</div>
<div> </div>
</if></setcrawl>
</set>
</div>
</div>
</tag.f_layout>