-
Notifications
You must be signed in to change notification settings - Fork 0
/
add_generic.php
56 lines (46 loc) · 2.18 KB
/
add_generic.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
50
51
52
53
54
55
56
<?php include_once dirname(__FILE__).'/includes/config.php';
if (empty($_SESSION['userSession']) || $_SESSION['userSession']['IsStaff'] != 1) {
header("location:staff_login.php");
exit();
}
$page = 'brandsAndGenerics';
?>
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Page Title -->
<title><?php echo WEBSITE_NAME; ?></title>
<?php include_once dirname(__FILE__).'/resources/templates/pharmacy_header.php'; ?>
</head>
<body>
<div class="page-holder">
<?php include_once dirname(__FILE__).'/resources/templates/pharmacy_navbar.php'; ?>
<!-- Booking Section -->
<section id="booking" class="booking">
<div class="container text-center">
<div class="row">
<div class="form-holder col-md-10 col-md-push-1 text-center">
<h2>Add Generic Name</h2>
<form id="generic-add-form" method="post" action="#">
<div class="row">
<div class="col-md-10">
<div class="row">
<label for="GenericName" class="col-sm-12 unique">Generic Name
<input name="GenericName" id="GenericName">
</label>
<div class="col-sm-12">
<button type="submit" class="btn-unique">Add</button>
</div>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
</section>
<!-- End Booking Section -->
<?php include_once dirname(__FILE__).'/resources/templates/admin_footer.php'; ?>
</div>
</body>
</html>