Exemplo n.º 1
0
    }
    // end submit
    if (!$success) {
        ?>

		<h2><?php 
        echo $label['conirm_signup'];
        ?>
</h2>
		<h3><?php 
        echo $label['confirm_instructions'];
        ?>
</h3>

		<?php 
        display_signup_form($_REQUEST['FirstName'], $_REQUEST['LastName'], $_REQUEST['CompName'], $_REQUEST['Username'], $_REQUEST['Password'], $_REQUEST['Password2'], $_REQUEST['Email'], $_REQUEST['Newsletter'], $_REQUEST['Notification1'], $_REQUEST['Notification2'], $_REQUEST['lang']);
    } else {
    }
    ?>
</td>
<td valign=top>
<h2><?php 
    echo $label['confirm_login'];
    ?>
</h2>
<h3><?php 
    echo $label['confirm_member'];
    ?>
</h3>
<?php 
    echo login_form(false, 'confirm_order.php');
Exemplo n.º 2
0
 * @package account
 * @subpackage signup
 */
// Emailing of confirmation email is still not stable...
// Consider removing all email confirmation requirements...
// And creating a one-button ninja creation system.
require_once LIB_ROOT . "specific/lib_player.php";
$alive = false;
$private = false;
$quickstat = false;
$page_title = "Become a Ninja";
$starting_referral = in('referrer');
$enteredName = in('send_name', '', 'toText');
$enteredEmail = in('send_email', '', 'toText');
$enteredClass = in('send_class', '');
$enteredReferral = in('referred_by', $starting_referral);
$enteredPass = in('key', null, 'toText');
$submitted = in('submit');
include SERVER_ROOT . "interface/header.php";
$submit_successful = false;
// *** Default.
if ($submitted) {
    $submit_successful = validate_signup($enteredName, $enteredEmail, $enteredClass, $enteredReferral, $enteredPass);
}
// *** Validates submission.
if (!$submit_successful) {
    display_signup_form($enteredName, $enteredEmail, $enteredClass, $enteredReferral);
    // Just uses the signup.tpl template now.
}
// *** Displays form.
include SERVER_ROOT . "interface/footer.php";