This repository has been archived by the owner on Nov 7, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy patheditprofile.php
51 lines (41 loc) · 1.65 KB
/
editprofile.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
<?php
if (isset($_SESSION['users'])) {
?>
<!-- Start All Title Box -->
<div class="all-title-box">
<div class="container">
<div class="row">
<div class="col-lg-12">
<h2>Hesabımı Düzenle</h2>
<ul class="breadcrumb">
<li class="breadcrumb-item"><a href="./">Anasayfa</a></li>
<li class="breadcrumb-item active">Hesabımı Düzenle</li>
</ul>
</div>
</div>
</div>
</div>
<!-- End All Title Box -->
<div class="container rounded bg-white mt-5">
<div class="row">
<div class="col-md-12">
<form action="configs/forms.php?id=<?php echo $userid; ?>" method="post">
<div class="p-3 py-5">
<div class="row mt-2">
<div class="col-md-6"><input type="text" class="form-control" name="nameSurname" placeholder="first name" value=" <?php echo $nameSurname ?>"></div>
</div>
<div class="row mt-3">
<div class="col-md-6"><input type="text" class="form-control" name="phone" value="<?php echo $phone ?>" placeholder="Phone number"></div>
</div>
<div class="mt-5 text-right"><button class="btn btn-primary profile-button" type="submit" name="editProfileUser">Bilgileri Güncelle</button></div>
</div>
</form>
</div>
</div>
</div>
<?php
} else {
header("Location:./");
exit();
}
?>