forked from Raichan/Larp-kalenteri
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmodifyPassword.php
More file actions
74 lines (61 loc) · 2.3 KB
/
modifyPassword.php
File metadata and controls
74 lines (61 loc) · 2.3 KB
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
<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
<!-- HEAD -->
<?php include(__DIR__ . "/includes/head.php"); ?>
<?php include(__DIR__ . "/dat/connectDB.php"); ?>
<body>
<?php
require (__DIR__ . "/dat/controller.php");
include (__DIR__ . "/includes/data.php");
$activePage = 4;
?>
<div class="container">
<div class="row clearfix">
<div class="col-md-12 column">
<!-- HEADER -->
<?php include(__DIR__ . "/includes/header.php"); ?>
<!-- NAVIGATION -->
<?php include(__DIR__ . "/includes/navigation.php"); ?>
</div>
</div>
<div class="row clearfix">
<div class="col-md-12 column">
<?php
if (isset($_GET["error"])) {
$error = $_GET["error"];
} else {
$error = 0;
}
if ($error == 1) {
$message = $err_pass1;
} else if ($error == 2) {
$message = $err_pass2;
} else {
$message = "";
}
?>
<h2><?php echo $enterpassword; ?></h2>
<h5 class="error"><?php echo $message; ?></h5>
<form role="form" action="modifyPasswordValidate.php" method="post">
<div class="form-group">
<input class="form-control" id="modifyPassword" type="password" name="password" />
</div>
<button type="submit" class="btn btn-default"><?php echo $button_find; ?></button>
</form>
<br/>
</div>
</div>
<div class="row clearfix">
<div class="col-md-12 column">
<!-- FOOTER -->
<?php include(__DIR__ . "/includes/footer.php"); ?>
</div>
</div>
</div>
</body>
</html>