-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
42 lines (39 loc) · 1.56 KB
/
index.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
<html>
<head>
<meta meta name="viewport" content="width=device-width, user-scalable=no" />
<link rel="shortcut icon" type="image/png" href="style/favicon.png">
<link rel="stylesheet" type="text/css" href="style/common.css"/>
<link rel="stylesheet" type="text/css" href="style/login.css"/>
<?php
session_start();
session_unset();
require_once("lang/language.php");
?>
<title>Zettelwirtschaft</title>
</head>
<body class="home">
<div class="box alone">
<div class="wrapper">
<h1><?php echo $l["Login"]; ?></h1>
<form action="view.php" method="post">
<div class="login_container">
<label for="uname" class="textlabel"><?php echo $l["Username"]; ?></label>
<input type="text" name="uname" required>
<br>
<label for="psw" class="textlabel"><?php echo $l["Password"]; ?></label>
<input type="password" name="psw" required>
<br>
<!--<label>
<input type="checkbox" checked="checked" name="remember"> <?php echo $l["Remember me"]; ?>
</label><br>-->
<button type="submit" name="login"><?php echo $l["Login"]; ?></button>
</div>
</form>
<br>
<a href="register.php"><?php echo $l["Register"]; ?></a><br>
<a href="manual.php" target="_blank"><?php echo $l["Manual"]; ?></a>
<a href="example.html" target="_blank"><?php echo $l["Example"]; ?></a>
</div>
</div>
</body>
</html>