-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
48 lines (44 loc) · 1.38 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
<?php
session_start();
if (!isset($_SESSION['active'])) {
header("location:login.php");
}else {
session_regenerate_id();
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Product_manager | Working...</title>
<link rel="stylesheet" href="css/index.css">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="nav" id="top_end">
<h1>PMS</h1>
<?php include "auth/auth-logout.php";?>
<form method="post" id="logout_frm">
<button type="submit" name="logout">Log out</button>
</form>
</div>
<div class="main">
<div id="product_list">
<input type ="search" name="pdt_search" placeholder="Keyword" id="pdt_src">
<div id="pdt_src_rslt">
result
</div>
<?php include "server/pdt_crt.php";?>
<?php include "server/pdt_udt.php"?>
<?php include "server/pdt_del.php"?>
<?php include "server/pdt_lst.php"?>
</div>
</div>
</div>
<script src="js/api/ajax.js"></script>
<script src="js/events.js"></script>
<a href="#top_end" class="nav-btn">Top</a>
</body>
</html>
<?php unset($_POST);?>