136 lines
6.1 KiB
Smarty
136 lines
6.1 KiB
Smarty
|
|
{include file='header-onboard.tpl'}
|
||
|
|
{literal}
|
||
|
|
{/literal}
|
||
|
|
{if $alreadyamember==1}
|
||
|
|
{literal}
|
||
|
|
<script>
|
||
|
|
alert("You are no longer eligible for a 7 day PREMIUM free trial since you had a previous profile but you can still log in and receive a basic membership.");
|
||
|
|
</script>
|
||
|
|
{/literal}
|
||
|
|
{/if}
|
||
|
|
{literal}
|
||
|
|
|
||
|
|
<main role="main" id="internal-pages">
|
||
|
|
<div class="container">
|
||
|
|
<div class="row w-100 py-10 fs-custom">
|
||
|
|
<div style="width: 100%; max-width: 800px; margin: 0 auto;">
|
||
|
|
<div class="col-12 mx-0 px-0 pb-5">
|
||
|
|
<h1 class="text-orange">Create Your Profile</h1>
|
||
|
|
{/literal}
|
||
|
|
{if $is_error==666}
|
||
|
|
|
||
|
|
<p class='error' style='font-size:18px;'>We have determined that you are not allowed on this site.</p>
|
||
|
|
|
||
|
|
<br>
|
||
|
|
{elseif $is_error==123}
|
||
|
|
|
||
|
|
<p class='error' style='font-size:18px;'>You entered the wrong security code</p>
|
||
|
|
|
||
|
|
<br>
|
||
|
|
|
||
|
|
{elseif $is_error != 0}
|
||
|
|
|
||
|
|
<p class='error' style='font-size:18px;'>{lang_print id=$is_error} Also make sure that you have filled out all the required fields.</p>
|
||
|
|
|
||
|
|
<br>
|
||
|
|
{/if}
|
||
|
|
{literal}
|
||
|
|
|
||
|
|
<p>Membership is free - no credit card required!</p>
|
||
|
|
</div>
|
||
|
|
<div class="clearfix"></div>
|
||
|
|
|
||
|
|
<form class="customform" data-toggle="validator" action="signup1.php" enctype="multipart/form-data" method="post" autocomplete="on" oninput='verify_email.setCustomValidity(verify_email.value != signup_email.value ? "Emails do not match." : "")'>
|
||
|
|
<input type='hidden' name='task' value='step2do'>
|
||
|
|
<input type='hidden' name='step' value='step5'>
|
||
|
|
<div class="row">
|
||
|
|
<div class="col-sm-7">
|
||
|
|
<p>
|
||
|
|
<label for="email">Email Address <span class="text-orange">*</span><br>
|
||
|
|
<input type="email" class="form-control" id="email" name="signup_email" required value="{/literal}{$signup_email}{literal}">
|
||
|
|
</label>
|
||
|
|
</p>
|
||
|
|
|
||
|
|
<p>
|
||
|
|
<label for="confirm-email">Confirm Email <span class="text-orange">*</span><br>
|
||
|
|
<input type="email" class="form-control" id="confirm-email" name="verify_email" required value="{/literal}{$verify_email}{literal}">
|
||
|
|
</label>
|
||
|
|
</p>
|
||
|
|
|
||
|
|
<p>
|
||
|
|
<label for="username">Username <span class="text-orange">*</span><br>
|
||
|
|
<input type="text" class="form-control" id="username" name="signup_username" required value="{/literal}{$signup_username}{literal}">
|
||
|
|
</label>
|
||
|
|
</p>
|
||
|
|
|
||
|
|
<p>
|
||
|
|
<label for="birthdate">Birthday <span class="text-orange">*</span><br>
|
||
|
|
<input type="date" name="birthdate" id="birthdate" class="form-control" aria-invalid="false" required value="{/literal}{$birthdate}{literal}" />
|
||
|
|
</label>
|
||
|
|
</p>
|
||
|
|
|
||
|
|
|
||
|
|
<div class="thecheckboxes-small">
|
||
|
|
<table class="checks">
|
||
|
|
<tr>
|
||
|
|
<td style="width: 18px;"><label for="hide-birthdate" class="form-control"><input type="checkbox" name="field_26" v id="hide-birthdate" {/literal}{if $hideyear=="None"}checked="checked"{/if}{literal}><span></span></label></td>
|
||
|
|
<td><label for="hide-birthdate" class="full">Hide my birth year on my profile.</label></td>
|
||
|
|
</tr>
|
||
|
|
</table>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
|
||
|
|
</div>
|
||
|
|
|
||
|
|
|
||
|
|
<div class="col-sm-5">
|
||
|
|
<div class="thecheckboxes">
|
||
|
|
<table class="checks">
|
||
|
|
<tr>
|
||
|
|
<td><label for="confirm-18" class="form-control"><input type="checkbox" name="field_19" id="confirm-18" required value="1"><span></span></label></td>
|
||
|
|
<td><label for="confirm-18" class="full">I confirm I am at least 18 years of age.</label></td>
|
||
|
|
</tr>
|
||
|
|
<tr>
|
||
|
|
<td class="gap"> </td>
|
||
|
|
</tr>
|
||
|
|
<tr>
|
||
|
|
<td><label for="confirm-tos" class="form-control"><input type="checkbox" name="signup_agree" id="confirm-tos" required value="1"><span></span></label></td>
|
||
|
|
<td><label for="confirm-tos" class="full">I have read and agree to the <a class="orange" href="https://bateworld.com/terms-of-service/">Terms</a></label></td>
|
||
|
|
</tr>
|
||
|
|
<tr>
|
||
|
|
<td class="gap"> </td>
|
||
|
|
</tr>
|
||
|
|
<tr>
|
||
|
|
<td><label for="confirm-newsletter" class="form-control"><input type="checkbox" name="sendoffers" id="confirm-newsletter" value="1"><span></span></label></td>
|
||
|
|
<td><label for="confirm-newsletter" class="full">I would like to recieve the monthly Bateworld Newsletter</label></td>
|
||
|
|
</tr>
|
||
|
|
<tr>
|
||
|
|
<td class="gap"> </td>
|
||
|
|
</tr>
|
||
|
|
</table>
|
||
|
|
</div>
|
||
|
|
<p>
|
||
|
|
<label for="captcha">Security Code <span class="text-orange">*</span>
|
||
|
|
{/literal}
|
||
|
|
{assign var=unique_id value=10|mt_rand:20}
|
||
|
|
|
||
|
|
<img src="image.php?{$unique_id}{literal}" alt="CAPTCHA" class="captcha-image">
|
||
|
|
<br>
|
||
|
|
<input type="text" id="captcha" name="captcha_challenge" class="form-control" required></label>
|
||
|
|
</p>
|
||
|
|
<p class="text-center"></p>
|
||
|
|
|
||
|
|
<p><input type="submit" value="Join" class="btn btn-orange-full-short"></p>
|
||
|
|
|
||
|
|
<p class="fs-custom-md">Already a member? <a href="login.php">Log In</a></p>
|
||
|
|
</div>
|
||
|
|
<div class="clearfix"></div>
|
||
|
|
</div>
|
||
|
|
</form>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</main>
|
||
|
|
{/literal}
|
||
|
|
|
||
|
|
{include file='footer-onboard.tpl'}
|