Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <? include 'inc/head.php'; ?><!-- Full Width Column -->
- <?php
- require_once ('includes/register_do.php');
- ?>
- <body class="hold-transition register-page">
- <div class="register-box-body">
- <?php
- session_start();
- $string = md5(rand(0, 99));
- $_SESSION['captcha'] = substr($string, 17, 6);
- $new_string = $_SESSION['captcha'];
- ?>
- <form action="" method="POST" class="form-horizontal">
- <div class="form-group">
- <label for="inputName" class="col-sm-2 control-label">Create Username:</label>
- <div class="col-sm-8">
- <input type="text" class="form-control" name="Username" placeholder="User name">
- </div>
- <span class="glyphicon glyphicon-user form-control-feedback"></span>
- </div><? echo $Username_error; ?>
- <div class="form-group">
- <label for="inputName" class="col-sm-2 control-label">Password:</label>
- <div class="col-sm-8">
- <input type="password" class="form-control" name="Password" placeholder="Password">
- </div>
- <span class="glyphicon glyphicon-lock form-control-feedback"></span>
- </div><? echo $Password_error; ?>
- <div class="form-group">
- <label for="inputName" class="col-sm-2 control-label">Confirm Password:</label>
- <div class="col-sm-8">
- <input type="password" class="form-control" name="ConfirmPassword" placeholder="Confirm Password">
- </div>
- <span class="glyphicon glyphicon-log-in form-control-feedback"></span>
- </div><? echo $ConfirmPassword_error; ?>
- <div class="form-group">
- <label for="inputName" class="col-sm-2 control-label">E-mail Address:</label>
- <div class="col-sm-8">
- <input type="Email" class="form-control" name="Email" placeholder="Email@domain.com">
- </div>
- <span class="glyphicon glyphicon-envelope form-control-feedback"></span>
- </div><? echo $Email_error; ?>
- <div class="form-group">
- <label for="inputName" class="col-sm-2 control-label">Security Code:</label>
- <div class="col-sm-8">
- <input type="text" class="form-control" name="SecurityCode" placeholder="Security Code">
- </div>
- <span class="glyphicon glyphicon-log-in form-control-feedback"></span>
- </div><? echo $SecurityCode_error; ?>
- <div class="form-group">
- <label for="inputName" class="col-sm-2 control-label">Security Question</label>
- <div class="col-sm-8">
- <select name="SecurityQuestion" class="form-control">
- <option selected="selected" value="empty">Please Select</option>
- <option value="What city were you born in?">What city were you born in?</option>
- <option value="Who is your favorite person?">Who is your favorite person?</option>
- <option value="What was your nickname?">What was your nickname?</option>
- <option value="What's your favorite food?">What's your favorite food?</option>
- <option value="What is your pet's name?">What is your pet's name?</option>
- <option value="Who is your super hero?">Who is your super hero?</option>
- <option value="What is your favorite sport?">What is your favorite sport?</option>
- <option value="Who was your first teacher?">Who was your first teacher?</option>
- <option value="What is your hobby?">What is your hobby?</option>
- <option value="What was your first job?">What was your first job?</option>
- </select>
- </div>
- </div><? echo $SecurityQuestion_error; ?>
- <div class="form-group">
- <label for="inputName" class="col-sm-2 control-label">Security Answer:</label>
- <div class="col-sm-8">
- <input type="text" class="form-control" name="SecurityAnswer" placeholder="Security Answer">
- </div>
- </div><? echo $SecurityAnswer_error; ?>
- <div class="form-group">
- <label for="inputName" class="col-sm-2 control-label">Captcha:</label>
- <div class="col-sm-8">
- <style>
- .label-new {
- position: relative;
- top: 0;
- padding: 10px 15px;
- font-size: 17px;
- color: #fbfbfb;
- background-color: #212528 !important;
- display: inline-block;
- border-radius: 3px;
- width: auto;
- z-index: 2;
- line-height: .5;
- }
- </style>
- <h5 class="red-text label-new"><?php echo $new_string; ?></h5>
- <input type="hidden" name="Captcha" value="<?php echo $new_string; ?>">
- <input type="text" class="form-control" name="Captcha" placeholder="Captcha">
- </div>
- </div><? echo $Captcha_error; ?>
- <center>
- <div class="form-group"><? echo $Register_error; ?>
- <div class="col-sm-offset-2 col-sm-8">
- <input type="submit" name="Reg" class="btn btn-danger" value="Register">
- <p><b>Please save your account information to use it if want back your account</b></p>
- <p><b>Please don't give anyone your account information</b></p>
- </div>
- </center>
- </center>
- </div><!-- /.col -->
- </div>
- </form>
- </body>
- </html>
- <? include 'inc/foot.php'; ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement