-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmerch.php
168 lines (133 loc) · 6.93 KB
/
merch.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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Nekrofilth - Store</title>
<meta name="description" content="Nekrofilth - Store" />
<meta name="author" content="Nekrofilth" />
<meta property="og:image" content="http://nekrofilth.com/images/backgrounds/devilsbreath.png">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0-alpha/css/bootstrap.min.css">
<link rel="stylesheet" href="css/modal.css" />
<link rel="stylesheet" href="css/dropit.css" />
<link rel="stylesheet" href="css/style.css" />
<script src="js/jquery-2.1.4.js"></script>
<script src="js/handlebars-v3.0.3.js"></script>
<script src="js/modal.js"></script>
<script src="js/sortElements.js"></script>
<script src="js/dropit.js"></script>
<script src="js/simpleCart.js"></script>
<script src="js/simpleCart-config.js"></script>
<script src="js/merch.js"></script>
<script id="merch-template" type="text/x-handlebars-template">
<div class="merchitem col-sm-12 col-md-6 col-lg-4 simpleCart_shelfItem {{#if is_soldout}}is_soldout{{/if}} type-{{info_type}}" data-id="{{id}}"=>
<div class="title">{{info_title}}</div>
<div class="item_name" style="display:none;">{{info_title}} [{{info_type}}]</div>
<div class="merchthumb">
{{#if itemdetail}}
<a class = "itemdetail" href="images/merch/{{itemdetail}}" data-width="{{imagewidth}}" data-height="{{imageheight}}">
{{/if}}
{{#if thumbnail}}
<img src="images/merch/{{thumbnail}}" />
{{else}}
<img src="images/merch/default_thumb.png" />
{{/if}}
{{#if itemdetail}}
<span class="itemdetailtext">See Detail</span></a>
{{else}}
<span class="itemdetailtext"> </a>
{{/if}}
</div>
<div class = "info">
<!--div class="description">{{info_description}}</div-->
</div>
{{#if is_soldout}}
<div class="input-group" >
<div class="input-group-addon soldoutitem">SOLD OUT</div>
</div>
{{else}}
<div class="input-group" >
<div class="input-group-addon type">{{info_type}}</div>
<div class="input-group-addon price item_price">{{info_price}}</div>
{{#if options}}
<span class="input-group-addon select-group">
{{{splitoptions options}}}
</span>
{{/if}}
<div class="input-group-btn">
<button name="type" type="button" value="add" class="btn btn-success item_add pull-left">Add</button>
</div>
</div>
{{/if}}
</div>
</script>
</head>
<body>
<?php include_once("analyticstracking.php") ?>
<main>
<?php include("header.php"); ?>
<!-- This section is filled in dynamically -->
<section class="primary">
<header>
<h1>Nekrofilth Store</h1>
</header>
<div class="merchoptionsnew">
<div><!--div necessary for JS functionality (links must not be siblings of other sections) -->
<a href="#" class="merchselect merchlink blacklink" data-filter="Shirt">Shirts</a>
<a href="#" class="merchselect merchlink blacklink" data-filter="LP">LPs</a>
<a href="#" class="merchselect merchlink blacklink" data-filter="CD">CDs</a>
<a href="#" class="merchselect merchlink blacklink" data-filter="Cassette">Cassettes</a>
<a href="#" class="merchselect merchlink blacklink" data-filter="Seven_Inch">7-inches</a>
<a href="#" class="merchselect merchlink blacklink" data-filter="Patch">Patches</a>
</div>
<!--a href="#" class="merchfilter merchlink blacklink" data-filter="soldout">Show Sold-Out Items</a><br /--><br />
<!--h2 style="display:inline-block;">Sort By</h2>
<div style="display:inline-block;">
<a href="#" class="merchsort merchlink blacklink" data-sort="Name">Name</a>
<a href="#" class="merchsort merchlink blacklink" data-sort="Type">Type</a>
<a href="#" class="merchsort merchlink blacklink" data-sort="Price_Ascend">Price (Low-High)</a>
<a href="#" class="merchsort merchlink blacklink" data-sort="Price_Descend">Price (High-Low)</a>
</div-->
</div>
<!--h2><a href="cart.php">Check Cart <span class = "label label-primary"><img src="images/paypal.png" height="20" vertical-align="middle" /></span></a></h2-->
<h2><a href="cart.php" class="greenlink">
<img src="images/shoppingcart.png" style="height: 1.25em;" vertical-align="middle">
Cart:
<span class="cartHeader">(<span class="simpleCart_quantity"></span> items)</span>
</a>
<img src="images/paypal-whitestroke.png" style="height:2em;" vertical-align="middle" />
</h2>
<div class="merchandise pre-scrollable"></div>
</section>
<!--aside class="merchoptions">
<header>
<h1>Options</h1>
</header>
<a href="#" class="merchfilter merchlink blacklink" data-filter="soldout">Show Sold-Out Items</a><br /><br />
<h2>Select Only</h2>
<div>
<a href="#" class="merchselect merchlink blacklink" data-filter="Seven_Inch">7-inches</a>
<a href="#" class="merchselect merchlink blacklink" data-filter="LP">LPs</a>
<a href="#" class="merchselect merchlink blacklink" data-filter="Shirt">Shirts</a>
<a href="#" class="merchselect merchlink blacklink" data-filter="Patch">Patches</a>
</div>
<h2>Toggle</h2>
<div>
<a href="#" class="merchfilter merchlink whitelink selected" data-filter="Seven_Inch">7-inches</a>
<a href="#" class="merchfilter merchlink whitelink selected" data-filter="LP">LPs</a>
<a href="#" class="merchfilter merchlink whitelink selected" data-filter="Shirt">Shirts</a>
<a href="#" class="merchfilter merchlink whitelink selected" data-filter="Patch">Patches</a>
</div>
<h2>Sort By</h2>
<div>
<a href="#" class="merchsort merchlink blacklink" data-sort="Name">Name</a>
<a href="#" class="merchsort merchlink blacklink" data-sort="Type">Type</a>
<a href="#" class="merchsort merchlink blacklink" data-sort="Price_Ascend">Price (Low-High)</a>
<a href="#" class="merchsort merchlink blacklink" data-sort="Price_Descend">Price (High-Low)</a>
</div>
</aside-->
<footer>
<p>© Nekrofilth 2015</p>
</footer>
</main>
</body>
</html>