<?php
require_once($_SERVER['DOCUMENT_ROOT'] . '/_functions/users.functions.php');
$data = array('email');
$form = formData($_POST, $data);
$register = register($_POST, $_SERVER['REMOTE_ADDR'], '/confirm–registration.php');
$page_title = 'Register';
require_once($_SERVER['DOCUMENT_ROOT'] . '/_includes/header.php');
?>
<section>
<article id="register" class="whole half–blocks">
<div id="register–form">
<h1>Full page listing procedure</h1>
<ol>
<li><strong>Register and promote your business FREE</strong> with TampaBayNetworkers.
<strong>(IMPORTANT!</strong>) Save your personal
password in a safe place for future access. We do
not store your password. </li>
<li> You will receive an automated email to confirm your registration. <strong>Remember to check your junk/spam box.</strong></li>
<li>After confirming your registration you will be
sent to a dashboard to setup your full page business listing. Build your full page listing with all your business information for the best possible promotion
including video/photo/logo/ and text information to
promote your business! You will be able to review your live information after you make an UPDATE to your page
24 hours a day 7 days a week.
<a href="https://tampabaynetworkers.com/details/?listingID=42" target="_blank">
(see sample here</a>)</li>
<li>Have questions? Need assistance? contact us:
info@TampaBayNetworkers.com</li>
</ol>
<p>
Already have an account? <a href="/login.php">Log in</a>
</p>
<h2>Register with TampaBayNetworkers</h2>
<p>
<strong>Register Free</strong> and set up your business profile.
</p>
<form action="" method="post" class="standard–form">
<?php if(!empty($register)): ?>
<ul class="errors">
<?php foreach($register as $msg): ?>
<li><?php echo $msg; ?></li>
<?php endforeach; ?>
</ul>
<?php endif; ?>
<label for="email">Email</label>
<input type="text" name="email" id="email" value="<?php echo $form['email']; ?>" placeholder="Email address" />
<p class="exo">
To finish registration, you will need to confirm your email address by clicking a link in an automated email. Remember to check your junk/spam box.
</p>
<label for="password">Password</label>
<input type="password" name="password" id="password" placeholder="Password" />
<label for="confirm_password">Confirm password</label>
<input type="password" name="confirm_password" id="confirm_password" placeholder="Confirm password" />
<label for="referred">Who referred you?</label>
<input type="text" name="referred" id="referred" placeholder="Referred by..." />
<p id="robot">
<span id="robo–check" class="robot"> </span> I am not a robot
</p>
<button type="submit">Register</button>
</form>
</div>
<div id="register–now">
</div>
</article>
<?php //include($_SERVER['DOCUMENT_ROOT'] . '/_includes/aside.php'); ?>
</section>
<script>
$(function(){
var robotcheck = $('span#robo–check');
var space = ' ';
robotcheck.click(function(){
if($(this).hasClass('person')){
$(this).removeClass('person');
$(this).addClass('robot');
$(this).html(space);
}
else {
$(this).removeClass('robot');
$(this).addClass('person');
$(this).html(' ✔ ');
}
});
$('form').submit(function(){
if(robotcheck.hasClass('robot')){
$('p#robot').css('color', '#f00');
$('button[type=submit]').removeAttr('disabled');
return false;
}
else {
return true;
}
});
});
</script>
<?php
require_once($_SERVER['DOCUMENT_ROOT'] . '/_includes/footer.php');
?>