-
Notifications
You must be signed in to change notification settings - Fork 0
/
search.php
66 lines (44 loc) · 1.56 KB
/
search.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
<?php
// Parameters
$page = 'search';
$product = 10;
$type = 4;
?><?php include('inc/head.php') ?>
<body class="page-<?php echo $page; ?>" itemscope itemtype="http://schema.org/WebPage">
<!-- Accessibility -->
<a class="sr-only" href="#content">Skip to content</a>
<div class="page" role="document">
<?php include('inc/header.php') ?>
<main class="main-container">
<div class="container">
<div class="main layout-col-1">
<article class="col-main <?php if(isset($_GET['mode'])) { echo $_GET['mode']; } else { echo 'grid'; }?>" role="main" aria-labelledby="main-label">
<h1 id="main-label" class="page-header">Search Result for <small>Keyword</small></h1>
<?php $toolbar = 'top'; ?>
<?php include('inc/inc-toolbar.php') ?>
<div id="category-products">
<div class="products-content">
<ul class="product-col-3">
<?php
// Product Parameters
$has_description = true; // Description used for small screen and with the vieiew mode "List"
$has_btn = true; // Add button "Add to Cart"
for ($count = 1; $count <= $product; $count++) { ?>
<li class="item">
<?php include('inc/inc-product.php') ?>
</li>
<?php } ?>
</ul>
</div>
</div><!-- /#category-products -->
<?php $toolbar = 'bottom'; ?>
<?php include('inc/inc-toolbar.php') ?>
</article>
</div>
</div><!-- /.container -->
</main><!-- /.main-container -->
<?php include('inc/footer.php') ?>
</div><!-- /.page -->
<?php include('inc/script.php') ?>
</body>
</html>