-
Notifications
You must be signed in to change notification settings - Fork 18
/
store.php
109 lines (99 loc) · 2.9 KB
/
store.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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<?php
include 'header.php';
?>
<script id="jsbin-javascript">
(function (global) {
if(typeof (global) === "undefined")
{
throw new Error("window is undefined");
}
var _hash = "!";
var noBackPlease = function () {
global.location.href += "#";
// making sure we have the fruit available for juice....
// 50 milliseconds for just once do not cost much (^__^)
global.setTimeout(function () {
global.location.href += "!";
}, 50);
};
// Earlier we had setInerval here....
global.onhashchange = function () {
if (global.location.hash !== _hash) {
global.location.hash = _hash;
}
};
global.onload = function () {
noBackPlease();
// disables backspace on page except on input fields and textarea..
document.body.onkeydown = function (e) {
var elm = e.target.nodeName.toLowerCase();
if (e.which === 8 && (elm !== 'input' && elm !== 'textarea')) {
e.preventDefault();
}
// stopping event bubbling up the DOM tree..
e.stopPropagation();
};
};
})(window);
</script>
<div class="main main-raised">
<div class="section">
<!-- container -->
<div class="container">
<!-- row -->
<div class="row">
<!-- ASIDE -->
<div id="aside" class="col-md-3">
<!-- aside Widget -->
<div id="get_category">
</div>
<div id="get_brand">
</div>
<!-- /aside Widget -->
<!-- aside Widget -->
<div class="aside">
<h3 class="aside-title">Top selling</h3>
<div id="get_product_home">
<!-- product widget -->
<!-- product widget -->
</div>
</div>
<!-- /aside Widget -->
</div>
<!-- /ASIDE -->
<!-- STORE -->
<div id="store" class="col-md-9">
<!-- store top filter -->
<!-- /store top filter -->
<!-- store products -->
<div class="row" id="product-row">
<div class="col-md-12 col-xs-12" id="product_msg">
</div>
<!-- product -->
<div id="get_product">
<!--Here we get product jquery Ajax Request-->
</div>
<!-- /product -->
</div>
<!-- /store products -->
<!-- store bottom filter -->
<div class="store-filter clearfix">
<span class="store-qty">Showing 20-100 products</span>
<ul class="store-pagination" id="pageno">
<li ><a class="active" href="#aside">1</a></li>
<li><a href="#"><i class="fa fa-angle-right"></i></a></li>
</ul>
</div>
<!-- /store bottom filter -->
</div>
<!-- /STORE -->
</div>
<!-- /row -->
</div>
<!-- /container -->
</div>
</div>
<?php
include "newslettter.php";
include "footer.php";
?>