<?php
include_once("../php/common_functions.php"); //common functions in the course registartion system
include_once("../php/config.php"); //holds global config variables
$page_title = "Registration";
include("../php/top.php"); //the HTML that outlines the top of the page
?>
<article class="ces-wide">
<div class="ces-header">
<?php include("../menu.php"); ?>
<h2>New User & Newsletter Sign-Up</h2>
</div>
<p>Welcome to the Community Education Service's (CES) online Registration and Mailing List System! Once you've completed this form, your username will allow you to register for our sessions and, if you choose, to receive regular emails about upcoming CES activities.</p>
<p>*PLEASE CHECK YOUR JUNK BOX FOR EMAIL CONFIRMATION*
<form method="post" name="subscribeform" action="/phplist/?p=subscribe">
<fieldset class="ces-sign-up ces-form-names">
<div class="width-50 pull-left">
<legend class="ces-form-title">First Name: </legend>
<label class="ces-sign-up" for="attribute1">First Name</label>
<input type="text" name="attribute1" class="form-control" placeholder="First Name" autofocus data-validation="required" data-validation-error-msg="Please provide your first name.">
</div>
<div class="width-50 pull-right">
<legend class="ces-form-title">Last Name: </legend>
<label class="ces-sign-up" for="attribute2">Last Name</label>
<input type="text" name="attribute2" class="form-control" placeholder="Last Name" data-validation="required" data-validation-error-msg="Please provide your last name.">
</div>
</fieldset>
<fieldset class="ces-sign-up ces-form-email">
<legend class="ces-form-title">Email: </legend>
<label class="ces-sign-up" for="email">Email</label>
<input type="email" name="email" class="form-control" placeholder="Email" data-validation="email">
<input type="hidden" name="htmlemail" value="1">
<?php
//2016-02-02 - nwmosses - removed the choice of HTML/text emails. All emails are now HTML.
//<label>
// <input type="hidden" name="htmlemail" value="1" checked="">I prefer to receive emails in HTML format
//</label>
?>
</fieldset>
<fieldset class="ces-sign-up ces-form-password">
<div class="width-50 pull-left">
<legend class="ces-form-title">Password: </legend>
<input type="hidden" name="passwordreq" value="1" />
<label class="ces-sign-up" for="password">Password</label>
<input type="password" name="password" class="form-control" placeholder="Password" data-validation="required" data-validation-error-msg="Please enter a password.">
</div>
<div class="width-50 pull-right">
<legend class="ces-form-title">Confirm Password: </legend>
<label class="ces-sign-up" for="password_check">Confirm Password</label>
<input type="password" name="password_check" class="form-control" placeholder="Confirm Password" data-validation="confirmation" data-validation-confirm="password">
</div>
</fieldset>
<input type="hidden" name="attribute13" class="phone-number" value="" />
<input type="hidden" name="attribute10" class="phplist-email" value="" />
<fieldset class="ces-sign-up ces-form-lists">
<legend><strong>Would you like to receive updates from CES?</strong></legend>
<label>
<input type="checkbox" name="list[1]" value="signup">Yes - receive our monthly newsletter.
<input type="hidden" name="listname[1]" value="Newsletter"/>
</label>
</fieldset>
<input type="submit" name="subscribe" value="Register" class="btn ces-log-btn" >
</form>
</article>
</section><!-- #middle-->
</div><!-- #wrapper -->
<!--Validation Script-->
<script type="text/javascript">
$.validate({
modules : 'security'
});
</script>
<!--END Validation-->
<?php require_once $_SERVER['DOCUMENT_ROOT'].'/require/footer.php';?>