Файл: content/themes/facebook/templates/signup.tpl
Строк: 238
{include file='headinclude.tpl'}
{include file='header.tpl'}
<!--
Commom [register] JS -->
<script type="text/javascript"
src="{$SITE_URL}/js/page.register.js"></script>
<!--
Commom [register] JS -->
<!-- Content -->
<div
class="contentWrapper">
<div
class="content">
<div
class="pageContent">
<div
class="signPageContent">
<div class="signHeaderWrapper">
<h3
class="mb5">{$translate->__("Sign
Up")}</h3>
<p
class="">{$translate->__("You can use your facebook or
twitter account to sign in")}.</p>
</div>
<div
class="signContentWrapper">
<!-- reCaptcha theme -->
<script
type="text/javascript">
var
RecaptchaOptions = {
theme : 'custom',
custom_theme_widget: 'recaptcha_widget'
};
</script>
<!-- reCaptcha theme -->
<div class="contactsImporter">
<p class="mb10">{$translate->__("Why be old
fashioned? Just sign in with")}:</p>
<a class="connect-facebook"
title="{$translate->__("Sign in with")} Facebook"
href="{$SITE_URL}/connect/facebook/"></a> <a
class="connect-twitter" title="{$translate->__("Sign
in with")} Twitter"
href="{$SITE_URL}/connect/twitter/"></a>
</div>
<form
class="startRegistration">
<table
class="signInputTable mt10">
<tr>
<td
class="label">{$translate->__("First
Name")}:</td>
<td
class="input">
<input
class="uiInput active" type="text"
name="firstname" />
</td>
</tr>
<tr>
<td
class="label">{$translate->__("Last
Name")}:</td>
<td
class="input">
<input
class="uiInput active" type="text"
name="lastname" />
</td>
</tr>
<tr>
<td
class="label">{$translate->__("UserName")}:</td>
<td class="input">
<input class="uiInput active"
type="text" name="username" />
</td>
</tr>
<tr>
<td
class="label">{$translate->__("Email")}:</td>
<td class="input">
<input class="uiInput active"
type="text" name="email" />
</td>
</tr>
<tr>
<td
class="label">{$translate->__("Re-enter
Email")}:</td>
<td
class="input">
<input
class="uiInput active" type="text"
name="confirm" />
</td>
</tr>
<tr>
<td
class="label">{$translate->__("Password")}:</td>
<td class="input">
<input class="uiInput"
type="password" name="password" />
</td>
</tr>
<tr>
<td
class="label">{$translate->__("I
am")}:</td>
<td
class="input">
<select
class="uiInput" name="sex">
<option value="none"
selected="selected">{$translate->__("Select
Sex")}:</option>
<option
value="m">{$translate->__("Male")}</option>
<option
value="f">{$translate->__("Female")}</option>
</select>
</td>
</tr>
<tr>
<td
class="label">{$translate->__("Birthday")}:</td>
<td class="input">
<select class="uiInput"
name="month">
<option value="none"
selected="selected">{$translate->__("Month")}:</option>
<option
value="1">{$translate->__("Jan")}</option>
<option
value="2">{$translate->__("Feb")}</option>
<option
value="3">{$translate->__("Mar")}</option>
<option
value="4">{$translate->__("Apr")}</option>
<option
value="5">{$translate->__("May")}</option>
<option
value="6">{$translate->__("Jun")}</option>
<option
value="7">{$translate->__("Jul")}</option>
<option
value="8">{$translate->__("Aug")}</option>
<option
value="9">{$translate->__("Sep")}</option>
<option
value="10">{$translate->__("Oct")}</option>
<option
value="11">{$translate->__("Nov")}</option>
<option
value="12">{$translate->__("Dec")}</option>
</select>
<select
class="uiInput" name="day">
<option value="none"
selected="selected">{$translate->__("Day")}:</option>
{for $i=1 to 31}
<option
value="{$i}">{$i}</option>
{/for}
</select>
<select class="uiInput" name="year">
<option value="none"
selected="selected">{$translate->__("Year")}:</option>
{for $i=1905 to 2011}
<option
value="{$i}">{$i}</option>
{/for}
</select>
</td>
</tr>
<tr>
<td class="label"></td>
<td class="input">
<!-- reCaptcha -->
<div id="captchaWidget" class="hidden">
<div id="recaptcha_widget"
class="fs11 pb10 mb10" style="border-bottom: 1px solid #ccc;
display:none">
<p
class="mb10 pb5 fs12" style="border-bottom: 1px solid
#ccc;">{$translate->__("Security Check")}</p>
<div
id="recaptcha_image" class="mb10"></div>
<div
class="captchaRefresh">
{$translate->__("Can't read the text above?")}<br
/>
<a
href="javascript:Recaptcha.reload()">{$translate->__("Try
another CAPTCHA")}</a> {$translate->__("or")}
<span class="recaptcha_only_if_image"><a
href="javascript:Recaptcha.switch_type('audio');">{$translate->__("an
audio captcha")}</a></span><span
class="recaptcha_only_if_audio"><a
href="javascript:Recaptcha.switch_type('image');">{$translate->__("back
to text")}</a></span>
</div>
<div
class="inline mt10">
<label>{$translate->__("Text in the
box")}:</label>
<div class="captchaInput ml5"><input
class="uiInput" type="text"
id="recaptcha_response_field"
name="recaptcha_response_field" autocomplete="off"
/></div>
</div>
</div>
<script type="text/javascript"
src="http://www.google.com/recaptcha/api/challenge?k={$RECAPTCHA_PUBLICKEY}"></script>
<noscript>
<iframe
src="http://www.google.com/recaptcha/api/noscript?k={$RECAPTCHA_PUBLICKEY}"
height="300" width="500"
frameborder="0"></iframe><br/>
<textarea
name="recaptcha_challenge_field" rows="3"
cols="40"></textarea>
<input type="hidden"
name="recaptcha_response_field"
value="manual_challenge" />
</noscript>
<small>{$translate->__("By clicking on 'Sign Up' below, you
are agreeing to the")} <a
href="{$SITE_URL}/about/terms/">{$translate->__("Terms")}</a>
{$translate->__("and the")} <a
href="{$SITE_URL}/about/privacy/">{$translate->__("Privacy")}</a>.</small>
</div>
<!-- reCaptcha -->
</td>
</tr>
<tr>
<td class="label"></td>
<td class="input">
<input class="uiButton bigButton" type="submit"
name="submit" value="{$translate->__("Sign
Up")}" /> <span id="formLoading"
class="inline ml5 hidden"><img
src="{$spinner.small}" /></span>
</td>
</tr>
</table>
</form>
<div class="errorContianer mb10 tcenter
hidden"></div>
</div>
</div>
</div>
</div>
</div>
<!-- Content
-->
{include file='footer.tpl'}