forked from M4ko1339/PrivateDB
-
Notifications
You must be signed in to change notification settings - Fork 0
/
change_password.php
126 lines (103 loc) · 2.74 KB
/
change_password.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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
<?php
include('header.php');
isLoggedOut();
?>
<div class="row">
<div class="content-menu column small-12">
<div class="content-bar">
<ul class="usercp-bar">
<li><a href="usercp.php">My Addons</a></li>
<li><a href="change_password.php" class="current-nav">Change Password</a></li>
<li><a href="upload.php">Upload Addon</a></li>
</ul>
</div>
</div>
<div class="content column small-12 medium-7 large-8">
<div class="content-box column small-12">
<div class="content-box-header column small-12">
<div class="title-text">
Change Password
</div>
</div>
<div class="content-box-content column small-12">
<div class="content-text">
<div class="password-change">
<form method="POST">
<label>Current Password</label>
<input type="password" name="oldpassword" />
<label>New Password</label>
<input type="password" name="newpassword" />
<label>Re-Password</label>
<input type="password" name="re-password" />
<input type="submit" name="change" class="small button" value="Confirm" />
</form>
</div>
</div>
</div>
</div>
<div class="response-full column small-12">
<?php ChangePassword(); ?>
</div>
</div>
<div class="content column small-12 medium-5 large-4">
<div class="content-box-sidebar column small-12">
<div class="content-box-header column small-12">
<div class="title-text">
Account Information
</div>
</div>
<div class="content-box-content column small-12">
<table class="account-info">
<tr>
<td>Username</td>
<td><?php echo GrabAccountInfo('USERNAME'); ?></td>
</tr>
<tr>
<td>Email</td>
<td><?php echo GrabAccountInfo('EMAIL'); ?></td>
</tr>
<tr>
<td>Rank</td>
<td><?php echo GrabAccountInfo('RANK'); ?></td>
</tr>
<tr>
<td>Addons</td>
<td><?php echo GrabAccountInfo('ADDONS'); ?></td>
</tr>
</table>
</div>
</div>
</div>
<div class="content column small-12 medium-5 large-4">
<div class="content-box-sidebar column small-12">
<div class="content-box-header column small-12">
<div class="title-text">
My Uploads
</div>
</div>
<div class="content-box-content column small-12">
<table class="account-info">
<tr>
<td>Uploaded</td>
<td><?php echo GrabAccountInfo('TOTAL'); ?></td>
</tr>
<tr>
<td>Accepted</td>
<td><?php echo GrabAccountInfo('ACTIVE'); ?></td>
</tr>
<tr>
<td>Declined</td>
<td><?php echo GrabAccountInfo('DECLINED'); ?></td>
</tr>
<tr>
<td>Pending</td>
<td><?php echo GrabAccountInfo('PENDING'); ?></td>
</tr>
</table>
</div>
</div>
</div>
</div>
<?php
include('footer.php');
?>