-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
49 lines (45 loc) · 1.04 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
43
44
45
46
47
48
49
<?php
ob_start();
session_start();
require_once ("connection/conn.php");
include ("functions/userFunction.php");
?>
<html>
<head>
<title>Lapaz</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div id="" class="body">
<div id="" class="header">
<center>
<h1 class="h1">LA PAZ RESORT STOCK CONTROL SYSTEM</h1>
</center>
</div>
<div id="" class="login_box">
<form action="" method="post">
<p>
<input class="input" type="text" name="username" placeholder="Username">
</p>
<p>
<input class="input" type="password" name="password" placeholder="Password">
</p>
<p>
<input class="myButton" type="submit" value="Login" name="sub">
</p>
</form>
<p class="error" id="">
<?php
if(isset($_POST['username'], $_POST['password'])){
login($_POST['username'], $_POST['password']);
}
?>
</p>
</div>
<div id="">
<hr class="hr"/>
<center><strong >© 2014 Lapaz</strong></center>
</div>
</div>
</body>
</html>