-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNewOrder.php
More file actions
59 lines (50 loc) · 2 KB
/
NewOrder.php
File metadata and controls
59 lines (50 loc) · 2 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
<?php
session_start();
require('database/conection.php');
require('database/category.php');
$categories = getCategory();
?>
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<title>NewOrder</title>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link href="NewOrder.css" rel="stylesheet" />
<link href="footer.css" rel="stylesheet" />
<link href="header2.css" rel="stylesheet" />
</head>
<body>
<?php include('./template/header2_tem.php');?>
<div>
<nav id="menu">
<ul>
<li class="sidebar-title">Medicines subject to medical prescription</li>
<li class="current">Register Prescription</li>
<li class="sidebar-title">Medicines not subject to medical prescription</li>
<?php foreach ($categories as $row) { ?>
<li class="categorias"><a href="list_products.php?id_category=<?php echo $row["id_category"]?>"><?php echo $row["name"] ?></a></li>
<?php }?>
</ul>
</nav>
<section class="main-container">
<header>
<h1>Prescription Registration</h1>
</header>
<section class="input-container">
<form action="action_prescription.php" method="post">
<label for="prescription">Prescription Id Number <span>*</span> </label>
<input type="text" id="prescription" name ="id_prescription" required />
<label for="benf">Beneficiary Name <span>*</span> </label>
<input type="text" id="benf" name ="benf_name" required />
<label for="doct_name">Doctor Name <span>*</span> </label>
<input type="text" id="doct_name" name ="doct_name" required />
<button>Register</button>
</form>
</section>
</section>
</div>
<?php include('./template/footer_tem.php');?>
</body>
</html>