-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathprofile.php
53 lines (37 loc) · 1.62 KB
/
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<h1>Profili güncelle</h1>
<?php if (!empty($errors)) : ?>
<div class="errorbox">
<ul>
<?php foreach ($errors as $error) : ?>
<li><?php echo $error ?></li>
<?php endforeach ?>
</ul>
</div>
<?php endif ?>
<form action="" method="post" enctype="multipart/form-data">
<label for="name" class="label">Adınız</label>
<input type="text" id="name" name="name" value="<?php echo $user_info['name'] ?>" />
<br />
<label for="surname" class="label">Soyadınız</label>
<input type="text" id="surname" name="surname" value="<?php echo $user_info['surname'] ?>" />
<br />
<label for="email" class="label">E-mail adresiniz</label>
<input type="text" id="email" name="email" value="<?php echo $user_info['email'] ?>" />
<br />
<label for="username" class="label">Kullanıcı adınız</label>
<?php echo $user_info['username'] ?>
<br />
<br />
<label for="password" class="label">Parola</label>
<input type="password" id="password" name="password" /> parolanızı güncellemek istemiyorsanız boş bırakın
<br />
<label for="password_confirm" class="label">Parola (tekrar)</label>
<input type="password" id="password_confirm" name="password_confirm" />
<br />
<label class="label">Profil resmi</label>
<input type="file" name="profile_image" />
<br />
<label class="label"> </label>
<input type="hidden" name="action" value="update_user" />
<input type="submit" class="button" value="Güncelle" />
</form>