-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlayout.php
42 lines (30 loc) · 1.29 KB
/
layout.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
<?php
$content = ob_get_contents();
ob_end_clean();
require "common/functions.php"
?>
<html>
<?php require "common/header.php"?>
<body>
<div class="row">
<div class="col-md-2 text-center" id="menu">
<div data-bind="text: user().name"></div>
<a class="btn btn-default btn-block" href="<?=base_url()?>policies/list.php">Policies</a>
<a class="btn btn-default btn-block" href="<?=base_url()?>stores/list.php">Stores</a>
<a class="btn btn-default btn-block" href="<?=base_url()?>distributors/list.php">Distributors</a>
<?php /*
<a class="btn btn-default btn-block" href="<?=base_url()?>users/list.php">Users</a>
<a class="btn btn-default btn-block" href="<?=base_url()?>product_categories/list.php">Product Categories</a>
<a class="btn btn-default btn-block" href="<?=base_url()?>products/list.php">Products</a>
<a class="btn btn-default btn-block" href="<?=base_url()?>discounts/list.php">Discounts</a>
*/ ?>
<hr />
<button class="btn btn-default btn-block" data-bind="click: logout">Logout</button>
</div>
<div class="col-md-10" id="content">
<?=$content?>
</div>
</div>
</body>
<?php require "common/footer.php"?>
</html>