-
Notifications
You must be signed in to change notification settings - Fork 1
/
edit-profile.php
executable file
·37 lines (34 loc) · 2.14 KB
/
edit-profile.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
<?php
include_once "header.php";
if(isset($_SESSION['u_id']))
{
echo('<div class="edit-profile">
<div class="row edit-row">
<div class="col-6 col-sm-6 col-md-6 col-lg-6 col-xl-6">
<span class="edit-label text-center"> FIRST NAME:</span><br/>
<span class="edit-label text-center"> LAST NAME:</span><br/>
<span class="edit-label text-center"> OLD PASSWORD:</span><br/>
<span class="edit-label text-center"> NEW PASSWORD:</span><br/>
<span class="edit-label text-center"> RENTER NEW PASSWORD:</span><br/>
<span class="edit-label text-center"> COURSE:</span><br/>
<span class="edit-label text-center"> SEMESTER:</span><br/>
</div>
<div class="col-6 col-sm-6 col-md-6 col-lg-6 col-xl-6">
<form action="includes/edit-profile.inc.php" method="POST">
<input class="inputs" value="'.$_SESSION['u_first'].'" type="text" name="firstname" placeholder="First Name"/>
<input class="inputs" value="'.$_SESSION['u_last'].'" type="text" name="lastname" placeholder="Last Name"/><br/>
<input class="inputs" type="password" name="password" placeholder="Password"/><br/>
<input class="inputs" type="password" name="passwordnew" placeholder="New Password"/><br/>
<input class="inputs" type="password" name="passwordrenew" placeholder="Re-enter Password"/><br/>
<input class="inputs" value="'.$_SESSION['u_email'].'" type="text" name="email" placeholder="Email"/><br/>
<input class="inputs" value="'.$_SESSION['u_course'].'" type="text" name="course" placeholder="Course"/><br/>
<input class="inputs" value="'.$_SESSION['u_semester'].'" type="text" name="semester" placeholder="Semester"/><br/><br/>
<button class="edit-submit" id="submit-btn" name="submit" type="submit" >SUBMIT</button>
</form>
<a href="phone-verification-enquiry.php"><button class="edit-submit" id="submit-btn" >CHANGE MOBILE NUMBER</button></a>
</div>
</div>
</div>');
include_once "footer.php";
}
?>