-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
67 lines (66 loc) · 2.03 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<?php
$footer = false;
include "layouts/header.php"
?>
<div class="flex flex-direction-column gap-10 align-items-center">
<a href="pages/terms" class="btn danger w-50">Terms</a>
<a href="pages/registration" class="btn danger w-50">Register</a>
<a href="pages/qr-reading" class="btn danger w-50">QR Reading</a>
<a href="pages/barcode" class="btn danger w-50">Barcode</a>
<a href="pages/top" class="btn danger w-50">Top</a>
<a href="pages/cart" class="btn danger w-50">Cart</a>
<a href="pages/cart/checkout" class="btn danger w-50">Checkout</a>
<a href="pages/how-to-use" class="btn danger w-50">How to use</a>
<a href="pages/faq" class="btn danger w-50">FAQ</a>
<a href="pages/related-product" class="btn danger w-50">Related Product</a>
<a href="pages/content-list" class="btn danger w-50">Content List</a>
<a href="pages/survey" class="btn danger w-50">Survey</a>
<a href="pages/my-page" class="btn danger w-50">My Page</a>
</div>
<br>
<br>
<hr>
<h1>Docs</h1>
<h4>How to include navbar to each page?</h4>
<span>Put this to the top of your code to include navbar</span>
<pre style="
background: black;
padding-top: 10px;
color: #fff;
">
<?php
$navbar = true;
?>
</pre>
<h4>QR Code not working?</h4>
<span>Then run this command</span>
<pre style="
background: black;
padding-top: 10px;
color: #fff;
">
npm i html5-qrcode
</pre>
<h4>Header is not needed but need to read its css?</h4>
<span>Put this to the top of your code to remove header but still able to use glico.css</span>
<pre style="
background: black;
padding-top: 10px;
color: #fff;
">
<?php
$header = false;
?>
</pre>
<h4>Footer is not needed but needs its js?</h4>
<span>Put this to the top of your code to remove footer but still able to use glico.js</span>
<pre style="
background: black;
padding-top: 10px;
color: #fff;
">
<?php
$footer = false;
?>
</pre>
<?php include "layouts/footer.php"?>