.id
2820
.gutitle
sign_up
.title
sign_up
.file
.extension
.name
|/routinetype-generic|
.user_id
7
.notes
.body
<!---
The sign up page
--->

<real_person>
<!--- you are logged in already! redirect. --->
<if so_slash_string NEQ "">
<goto url="http://#this_domain#/?&o=#get.o#&signed_up=1">
</if>
<BREAK>
</real_person>


<var GLOBAL.SP_FUNCTION = "sign_up">


<ensure variable="att.heading" value="1">
<ensure variable="att.focus" value="1">


<if att.heading NEQ 0>
<h3>Sign Up for #escapeMarkup(site_title)#</h3>
<div style="display:none;"><small>&nbsp;</small></div>
</if>

<div id="sign_up">
<postform>
<var fillInEmail = 1>
<var fillInPassword = 1>

<postfail>
<hr style="display:none;"><div style="display:none;"><small>&nbsp;</small></div>
<div class="sp_fail">
<if post_captcha_status EQ 2>
You didn't type the text in the image properly - here's a new one.
<else>
Invalid account information - please try again.
</if>
</div>
<div style="display:none;"><small>&nbsp;</small></div><hr style="display:none;">
<div>&nbsp;</div>
</postfail>

<postneutral>
<div class="unit">
<b class="label">Full Name:</b>
<div class="content">
<var val = "">
<if isdefined("post.n1_name")><var val = post.n1_name><elseif isdefined("caller._invite_name")><var val = caller._invite_name></if>
<input class="<if att.focus NEQ 0>focusme</if>" name="1_name" id="1_name" value="#val#">
</div>
</div>
<div style="height:7px;"><small><small><small>&nbsp;</small></small></small></div>
<if isdefined("att.gutitle") AND att.gutitle EQ 1>
<div class="unit">
<b class="label">New Username:</b>
<div class="content">
<var val = "">
<if isdefined("post.n1_desiredgutitle_protected")><var val = post.n1_desiredgutitle_protected><elseif isdefined("caller._invite_gutitle")><var val = caller._invite_gutitle></if>
<input class="<if att.focus NEQ 0>focusme</if>" name="1_desiredgutitle_protected" id="1_desiredgutitle_protected" value="#val#">
</div>
</div>
<div style="height:7px;"><small><small><small>&nbsp;</small></small></small></div>
</if>
<IF isdefined("att.dob") AND att.dob EQ 1 AND NOT (isdefined("att.dob_last") AND att.dob_last EQ 1)>
<div class="unit">
<b class="label">Date of Birth:</b>
<ensure variable="POST.n1_dob_month_protected" value="0">
<ensure variable="POST.n1_dob_day_protected" value="0">
<ensure variable="POST.n1_dob_year_protected" value="0">
<div class="content">
<!--- month --->
<var _curr_month = POST.n1_dob_month_protected>
<select id="dob_month" name="1_dob_month_protected">
<option value="0">Month:</option>
<option value="1" <if _curr_month EQ 1> selected </if>>Jan</option>
<option value="2" <if _curr_month EQ 2> selected </if>>Feb</option>
<option value="3" <if _curr_month EQ 3> selected </if>>Mar</option>
<option value="4" <if _curr_month EQ 4> selected </if>>Apr</option>
<option value="5" <if _curr_month EQ 5> selected </if>>May</option>
<option value="6" <if _curr_month EQ 6> selected </if>>Jun</option>
<option value="7" <if _curr_month EQ 7> selected </if>>Jul</option>
<option value="8" <if _curr_month EQ 8> selected </if>>Aug</option>
<option value="9" <if _curr_month EQ 9> selected </if>>Sep</option>
<option value="10" <if _curr_month EQ 10> selected </if>>Oct</option>
<option value="11" <if _curr_month EQ 11> selected </if>>Nov</option>
<option value="12" <if _curr_month EQ 12> selected </if>>Dec</option>
</select>
<!--- day --->
<var _curr_day = POST.n1_dob_day_protected>
<select id="dob_day" name="1_dob_day_protected">
<option value="0">Day:</option>
<loop from="1" to="31" index="i">
<option value="#i#" <if _curr_day EQ i> selected </if>>#i#</option>
</loop>
</select>
<!--- year --->
<var _curr_year = POST.n1_dob_year_protected>
<select id="dob_year" name="1_dob_year_protected">
<option value="0">Year:</option>
<var _now_year = year(now())>
<var i = _now_year>
<loop condition="i GT _now_year-100">
<option value="#i#" <if _curr_year EQ i> selected </if>>#i#</option>
<var i = i - 1>
</loop>
</select>
</div>
</div>
<div style="height:7px;"><small><small><small>&nbsp;</small></small></small></div>
</IF>
<div class="unit">
<b class="label">Email:</b>
<div class="content">
<var val = "">
<if isdefined("post.n1_email") AND fillInEmail EQ 1><var val = post.n1_email><elseif isdefined("caller._invite_email")><var val = caller._invite_email></if>
<input id="1_email" name="1_email" value="#val#">
</div>
</div>
<div style="height:7px;"><small><small><small>&nbsp;</small></small></small></div>
<div class="unit">
<b class="label">New Password:</b>
<div class="content">
<var val = "">
<if isdefined("post.n1_password") AND fillInPassword EQ 1><var val = post.n1_password></if>
<input type="password" name="1_password" id="1_password" value="#val#">
</div>
</div>
<div style="height:7px;"><small><small><small>&nbsp;</small></small></small></div>
<IF isdefined("att.dob") AND att.dob EQ 1 AND (isdefined("att.dob_last") AND att.dob_last EQ 1)>
<div class="unit">
<b class="label">Date of Birth:</b>
<ensure variable="POST.n1_dob_month_protected" value="0">
<ensure variable="POST.n1_dob_day_protected" value="0">
<ensure variable="POST.n1_dob_year_protected" value="0">
<div class="content">
<!--- month --->
<var _curr_month = POST.n1_dob_month_protected>
<select id="dob_month" name="1_dob_month_protected">
<option value="0">Month:</option>
<option value="1" <if _curr_month EQ 1> selected </if>>Jan</option>
<option value="2" <if _curr_month EQ 2> selected </if>>Feb</option>
<option value="3" <if _curr_month EQ 3> selected </if>>Mar</option>
<option value="4" <if _curr_month EQ 4> selected </if>>Apr</option>
<option value="5" <if _curr_month EQ 5> selected </if>>May</option>
<option value="6" <if _curr_month EQ 6> selected </if>>Jun</option>
<option value="7" <if _curr_month EQ 7> selected </if>>Jul</option>
<option value="8" <if _curr_month EQ 8> selected </if>>Aug</option>
<option value="9" <if _curr_month EQ 9> selected </if>>Sep</option>
<option value="10" <if _curr_month EQ 10> selected </if>>Oct</option>
<option value="11" <if _curr_month EQ 11> selected </if>>Nov</option>
<option value="12" <if _curr_month EQ 12> selected </if>>Dec</option>
</select>
<!--- day --->
<var _curr_day = POST.n1_dob_day_protected>
<select id="dob_day" name="1_dob_day_protected">
<option value="0">Day:</option>
<loop from="1" to="31" index="i">
<option value="#i#" <if _curr_day EQ i> selected </if>>#i#</option>
</loop>
</select>
<!--- year --->
<var _curr_year = POST.n1_dob_year_protected>
<select id="dob_year" name="1_dob_year_protected">
<option value="0">Year:</option>
<var _now_year = year(now())>
<var i = _now_year>
<loop condition="i GT _now_year-100">
<option value="#i#" <if _curr_year EQ i> selected </if>>#i#</option>
<var i = i - 1>
</loop>
</select>
</div>
</div>
<div style="height:7px;"><small><small><small>&nbsp;</small></small></small></div>
</IF>
<div class="unit">
<div style="overflow:visible; overflow-x:visible; overflow-y:visible;">
<b class="label">Human Test:</b>
<div class="content">
<captcha chars="6" width="240" height="70">
<div style="width:86%; margin-top:0.12em;"><small><small>
Help us fight spam! Please enter the text you see
in the image.
</small></small></div>
</div>
</div>
</div>
<div>&nbsp;</div>
<input type="hidden" name="1_posttype" value="insert" style="display:none;">
<input type="hidden" name="1_orb" value="user" style="display:none;">
<input type="hidden" name="1_accounttype" value="" style="display:none;">
<if isdefined("get.invite_token")>
<input type="hidden" name="1_invite_token_protected" value="#escapeDoubleQuotes(get.invite_token)#" style="display:none;">
</if>
<if isdefined("get.invite_email")>
<input type="hidden" name="1_invite_email_protected" value="#escapeDoubleQuotes(get.invite_email)#" style="display:none;">
</if>
<div style="margin-bottom:0.3em;">
<div align="right">
<input class="sign_up_submit_btn" type="submit" name="1_submit" value="Save &amp; Continue &gt;" style="cursor:pointer;">
</div>
</div>
<div>&nbsp;</div>
<div>&nbsp;</div>

<if isdefined("att.gutitle") AND att.gutitle EQ 1>
<tag.jquery>
<script type="text/javascript">
$(document).ready(function() {

$('##1_desiredgutitle_protected').keyup(function(e) {
// force gutitle format on gutitle fields
var _orig = $(this).val();
var _v = jQuery.trim($(this).val()).toLowerCase();
if (_v.length == 0) {
return true;
}
var _v = _v.replace(/[^a-z_]/gi,'');
var _v = _v.replace(/(_)+/g,'_');
if (_v.indexOf('_') == 0) {
var _v = _v.replace('_','');
}
if (_v !== _orig) {
$(this).val(_v);
}
});

$('##1_name,##1_desiredgutitle_protected,##1_email,##1_password,##so_captcha').each(function() {
if (jQuery.trim($(this).val()) == '') {
$(this).focus();
return false;
}
});

});
</script>
</if>

<input type="hidden" style="display:none;" name="is_sign_up_form" value="1">

</postneutral>

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