forked from skol-1/medical-imaging
-
Notifications
You must be signed in to change notification settings - Fork 0
/
register.php
85 lines (73 loc) · 4.16 KB
/
register.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<?php
// header.php
include ('header.php');
?>
<?php
if($_SERVER['REQUEST_METHOD'] == 'POST'){
require ('register-process.php');
}
?>
<!-- registration area -->
<section id="register" style=" padding: 5% 0;
background: url('assets/1678014.png') no-repeat;
background-size: cover;">
<div class="row m-0">
<div class="col-lg-4 offset-lg-2">
<div class="text-center pb-5">
<h1 class="login-title " style="color:white">Register</h1>
<p class="p-1 m-0 font-ubuntu " style="color:white " >Register and enjoy additional features</p>
<span class="font-ubuntu" style="color:white">I already have <a href="login.php" style="color:yellow">Login</a></span>
</div>
<div class="upload-profile-image d-flex justify-content-center pb-5">
<div class="text-center">
<div class="d-flex justify-content-center">
<img class="camera-icon" src="./assets/camera-solid.svg" alt="camera">
</div>
<img src="./assets/profile/male_avatar-512.png" style="width: 200px; height: 200px" class="img rounded-circle" alt="profile">
<small class="form-text text-black-50">Choose Image</small>
<input type="file" form="reg-form" class="form-control-file" name="profileUpload" id="upload-profile">
</div>
</div>
<div class="d-flex justify-content-center">
<form action="register.php" method="post" enctype="multipart/form-data" id="reg-form">
<div class="form-row">
<div class="col">
<input type="text" value="<?php if(isset($_POST['firstName'])) echo $_POST['firstName']; ?>" name="firstName" id="firstName" class="form-control" placeholder="First Name">
</div>
<div class="col">
<input type="text" value="<?php if(isset($_POST['LastName'])) echo $_POST['LastName']; ?>" name="LastName" id="LastName" class="form-control" placeholder="Last Name">
</div>
</div>
<div class="form-row my-4">
<div class="col">
<input type="email" value="<?php if(isset($_POST['email'])) echo $_POST['email']; ?>" required name="email" id="email" class="form-control" placeholder="Email*">
</div>
</div>
<div class="form-row my-4">
<div class="col">
<input type="password" required name="password" id="password" class="form-control" placeholder="password*">
</div>
</div>
<div class="form-row my-4">
<div class="col">
<input type="password" required name="confirm_pwd" id="confirm_pwd" class="form-control" placeholder="Confirm Password*">
<small id="confirm_error" class="text-danger"></small>
</div>
</div>
<div class="form-check form-check-inline">
<input type="checkbox" name="agreement" class="form-check-input" required>
<label for="agreement" class="form-check-label font-ubuntu" style="color:white">I agree <a href="#" style="color:yellow">term, conditions, and policy </a>(*) </label>
</div>
<div class="submit-btn text-center my-5">
<button type="submit" class="btn btn-warning rounded-pill text-dark px-5">Continue</button>
</div>
</form>
</div>
</div>
</div>
</section>
<!-- #registration area -->
<?php
// footer.php
include ('footer.php');
?>