2020-09-26 20:08:39 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/*
|
|
|
|
* To change this license header, choose License Headers in Project Properties.
|
|
|
|
* To change this template file, choose Tools | Templates
|
|
|
|
* and open the template in the editor.
|
|
|
|
*/
|
|
|
|
|
|
|
|
include 'Header.php';
|
|
|
|
|
|
|
|
?>
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
|
|
|
|
<div class="col-md-4 list-group" style="margin:auto;">
|
|
|
|
|
|
|
|
<br>
|
|
|
|
|
|
|
|
<h4 class="list-group-item active"> Sign Up </h4>
|
|
|
|
<div class="list-group-item">
|
|
|
|
|
|
|
|
<div class="panel-body">
|
2020-09-29 17:38:14 +08:00
|
|
|
|
|
|
|
|
2020-09-26 20:08:39 +08:00
|
|
|
<form method="post" action="Script.php" >
|
|
|
|
<input type="hidden" name="frm_signup_2" value="true"/>
|
|
|
|
Full Name
|
2020-09-29 17:38:14 +08:00
|
|
|
<input type="text" name="fullname" placeholder="Your Full Name" class="form-control" value="<?php echo $_SESSION['user_fullname']; ?>" required="required"/>
|
2020-09-26 20:08:39 +08:00
|
|
|
|
2020-09-29 17:38:14 +08:00
|
|
|
Email
|
|
|
|
<input type="text" name="email" placeholder="Email" class="form-control" value="<?php echo $_SESSION['user_email']; ?>" required="required" />
|
2020-09-26 20:08:39 +08:00
|
|
|
|
2020-09-29 17:38:14 +08:00
|
|
|
Password
|
|
|
|
<input type="password" class="form-control" name="password" placeholder="password" required="required" />
|
2020-09-26 20:08:39 +08:00
|
|
|
|
2020-09-29 17:38:14 +08:00
|
|
|
Confirm Password
|
|
|
|
<input type="password" class="form-control" name="confirmpassword" placeholder="Confirm password" required="required" />
|
|
|
|
<br>
|
|
|
|
<input type="submit" class="btn btn-primary" value="Sign up">
|
2020-09-26 20:08:39 +08:00
|
|
|
<?php
|
|
|
|
|
2020-09-29 17:38:14 +08:00
|
|
|
|
2020-09-26 20:08:39 +08:00
|
|
|
error_reporting(E_ALL);
|
|
|
|
if(isset($_SESSION['info_signup2'])) {
|
|
|
|
echo '<hr><div class="alert alert-danger" role="alert">'.$_SESSION['info_signup2'].'</div>';
|
2020-09-29 17:38:14 +08:00
|
|
|
$_SESSION['info_signup2'] = null;
|
2020-09-26 20:08:39 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
?>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
2020-03-16 15:23:14 +08:00
|
|
|
</div>
|