-
Notifications
You must be signed in to change notification settings - Fork 0
/
report-login.php
37 lines (32 loc) · 912 Bytes
/
report-login.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
<?php
require "_core.php";
if (isset($_POST["submit"], $_POST["password"])) {
if ($_POST["password"] === "AliAliAliAliAkhtar$$") {
$_SESSION["report"] = time();
header("Location: report.php");
} else {
$error = "عبور اشتباه است!";
}
}
?>
<title>سیستم گیم نت</title>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="style.css">
<a href="index.php">
برگشت به اتاق فرمان
</a>
<br>
<center>
<h1>ورود به حسابداری</h1>
<?php if (isset($error)) { ?>
<p>
<?= $error ?>
</p>
<?php } ?>
</center>
<form action="" method="POST" style="display: flex; justify-content: center;flex-direction: column;">
<b>رمز عبور</b>
<input type="password" name="password">
<br>
<button name="submit">ورود</button>
</form>