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
|
<!DOCTYPE html>
<html>
<head>
<meta charset = "utf-8" />
<meta http-equiv = "Content-Type" content = "text/html; charset = utf-8" />
<link href = "../../css/base.css" rel = "stylesheet" type = "text/css" />
<link href = "../../css/login.css" rel = "stylesheet" type = "text/css" />
<title>
<?php
$pagetitle
?>
</title>
</head>
<body>
<form action = "." method = "post">
<h3>
Change password
</h3>
<label for = "loginName" >
Login:
</label>
<input type = "text" name = "loginName" placeholder = "Your login" /><br />
<label for = "password">
Password:
</label>
<input type = "password" name = "password" placeholder = "Your current password"/>
<label for = "newPassword">
New password:
</label>
<input type = "password" name = "newPassword" placeholder = "Your new password"/>
<input type = "submit" name = "changePasswordSubmit" value = "OK"/>
</form>
<?php
if( isset( $errorMsg ) && $errorMsg!="") {
echo "<h3>" . $errorMsg . "</h3>";
}
?>
</body>
</html>
|