-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathindex.html
453 lines (409 loc) · 19 KB
/
index.html
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
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
<!doctype html>
<html class="no-js" lang="" ng-app="mainApp">
<head>
<title>MerchantDB</title>
<!-- Fonts -->
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700|Pathway+Gothic+One' rel='stylesheet' type='text/css'>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="keywords" content="Merchant, Merchant Game, Android, MerchantRPG, RPG, Merchant Gear, Merchant Community, Game, Mobile Games, Mobile Android Games, Merchant Guides">
<meta name="description" content="MerchantGameDB is the best resource for the popular mobile Android game, Merchant. Here you can find info about every aspect of the game, or browse our guides to become a better player!">
<meta name='viewport' content='width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no'>
<!-- Stylesheets -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="css/angular-snap.css">
<link rel="stylesheet" href="css/angucomplete-alt.css">
<link rel="stylesheet" href="css/all-spritesheets.css">
</head>
<body ng-controller="bodyCtrl">
<!--[if lt IE 8]>
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]-->
<div id='mobile-menu' snap-drawer="right" snap-drawer ng-controller="mobileMenuController" ng-cloak>
<ul>
<li><a href='#!/'>Home</a></li>
<li><a href=''>Heroes</a>
<ul>
<li>
<a snap-toggle="right" href='#!/heroes/Warrior'><img src='img/Icn_Hero_Warrior.png'>Warrior</a>
</li>
<li>
<a snap-toggle="right" href='#!/heroes/Rogue'><img src='img/Icn_Hero_Rogue.png'>Rogue</a>
</li>
<li>
<a snap-toggle="right" href='#!/heroes/Mage'><img src='img/Icn_Hero_Mage.png'>Mage</a>
</li>
<li>
<a snap-toggle="right" href='#!/heroes/Berserker'><img src='img/Icn_Hero_Berserker.png'>Berserker</a>
</li>
<li>
<a snap-toggle="right" href='#!/heroes/Cleric'><img src='img/Icn_Hero_Cleric.png'>Cleric</a>
</li>
<li>
<a snap-toggle="right" href='#!/heroes/Assassin'><img src='img/Icn_Hero_Assassin.png'>Assassin</a>
</li>
<li>
<a snap-toggle="right" href='#!/heroes/Paladin'><img src='img/Icn_Hero_Paladin.png'>Paladin</a>
</li>
<li>
<a snap-toggle="right" href='#!/heroes/Dark Knight'><img src='img/Icn_Hero_Dark_Knight.png'>Dark Knight</a>
</li>
<li>
<a snap-toggle="right" href='#!/heroes/Bard'><img src='img/Icn_Hero_Bard.png'>Bard</a>
</li>
</ul>
</li>
<li><a href=''>Items</a>
<ul>
<li>
<a snap-toggle="right" href='#!/items/weapons'><img src='img/Onis_Decapitator.png'>Weapons</a>
</li>
<li>
<a snap-toggle="right" href='#!/items/armors'><img src='img/Titans_Guard.png'>Armors</a>
</li>
<li>
<a snap-toggle="right" href='#!/items/trinkets'><img src='img/Seastone_Pendant.png'>Trinkets</a>
</li>
<li>
<a snap-toggle="right" href='#!/items/potions'><img src='img/Lesser_Potion.png'>Potions</a>
</li>
<li>
<a snap-toggle="right" href='#!/items/materials'><img src='img/Kirins_Hide.png'>Materials</a>
</li>
</ul>
</li>
<li><a href=''>Regions</a>
<ul>
<li>
<a snap-toggle="right" href='#!/regios/Tuvale Forest'><img src='img/Icn_Maexna.png'>Tuvale Forest</a>
</li>
<li>
<a snap-toggle="right" href='#!/regios/Yarsol Cove'><img src='img/Icn_Basamus.png'>Yarsol Cove</a>
</li>
<li>
<a snap-toggle="right" href='#!/regios/Aldur Highlands'><img src='img/Icn_Ares.png'>Aldur Highlands</a>
</li>
<li>
<a snap-toggle="right" href='#!/regios/Vulkrum Badlands'><img src='img/Icn_Lich_King.png'>Vulkrum Badlands</a>
</li>
<li>
<a snap-toggle="right" href='#!/regios/Grimhal Volcano'><img src='img/Icn_grimhal_fatalis.png'>Grimhal Volcano</a>
</li>
<li>
<a snap-toggle="right" href='#!/regios/Frentir Chasm'><img src='img/Icn_oblivion_azuros.png'>Frentir Chasm</a>
</li>
</ul>
</li>
<li>
<a href='#!/tools'>Tools</a>
</li>
<li>
<a href='#!/guides'>Guides</a>
</li>
<li><a href='https://www.reddit.com/r/MerchantRPG/'>Community</a>
</li>
</ul>
<div id="live-beta-button-hold-mobile">
<div class="live-button">
<a href="/#!/">
<span class="glyphicon glyphicon-check"></span>
LIVE (V{{liveVersion}})
</a>
</div>
<div class="beta-button version-inactive">
<a href="/BETA/#!/">
<span class="glyphicon glyphicon-unchecked"></span>
BETA (V{{betaVersion}})
</a>
</div>
</div>
</div>
<snap-content class="scrollable" autoscroll="true" snap-content snap-options="snapOpts">
<!-- Site/App Content Below -->
<div id="live-beta-button-hold" ng-cloak>
<div class="live-button">
<a href="/#!/">
<span class="glyphicon glyphicon-check"></span>
LIVE (V{{liveVersion}})
</a>
</div>
<div class="beta-button version-inactive">
<a href="/BETA/#!/">
<span class="glyphicon glyphicon-unchecked"></span>
BETA (V{{betaVersion}})
</a>
</div>
</div>
<header id="top-bar" class="container-fluid">
<div id="logo-search-hold" class="row">
<!-- LOGO - SEARCH - NAVIGATION -->
<div id="logo-hold" class="col-xs-9 col-sm-7 col-md-8">
<a href="#!/">
<img src="img/Icon-TFT.png" alt="MerchantDB">
<span>Merchant<span class="db">[DB]</span></span>
</a>
</div>
<div id="search-hold" class="col-xs-3 col-sm-5 col-md-4">
<div id="desktop-searchbar" ng-controller="searchController" ng-cloak>
<div angucomplete-alt
id="ac-search"
pause="200"
selected-object="itemSelected"
local-data="gameObjects"
title-field="name"
template-url="/templates/autocomplete-template.html",
description-field="subType"
image-field="icon"
clear-selected="true"
minlength="2"
input-class="form-control form-control-small"
local-search="limitedSearch"
/>
</div>
</div>
</div>
<div id="mobile-menu-toggle" class="col-xs-3">
<a href='' snap-toggle="right"><span class='glyphicon glyphicon-menu-hamburger'></span></a>
</div>
</div>
<div id="mobile-search" class="row">
<div id="mobile-searchbar" ng-controller="searchController" ng-cloak>
<div angucomplete-alt
id="ac-search-mobile"
pause="400"
selected-object="itemSelected"
local-data="gameObjects"
title-field="name"
template-url="/templates/autocomplete-template.html",
description-field="subType"
image-field="icon"
clear-selected="true"
minlength="2"
input-class="form-control form-control-small"
local-search="limitedSearch"
/>
</div>
</div>
</div>
<div id="navigation">
<div id="navi-hold">
<ul>
<li><a id="hero-link" href="#!/">Heroes <span class='glyphicon glyphicon-chevron-down'></span></li></a>
<li><a id="item-link" href="#!/">Items <span class='glyphicon glyphicon-chevron-down'></span></li></a>
<li><a id="region-link" href="#!/">Regions <span class='glyphicon glyphicon-chevron-down'></span></li></a>
<li><a id="tool-link" href="#!/tools">Tools</li></a>
<li><a id="guide-link" href="#!/guides">Guides</li></a>
<li class='menu-community'><a href="https://www.reddit.com/r/MerchantRPG/"><img src="img/Icn_Hero_Party.png" alt="Join the Community!">Community</li></a>
</ul>
<div id='sub-menu-hold'>
</div>
</div>
</div>
</header>
<section id="content-hold">
<div class="row">
<div id="main-content" class="col-xs-12 col-sm-8 col-md-8 col-lg-8">
<div ng-view autoscroll ng-cloak></div>
<div class="clear"></div>
<div id="commentsButton" class="btn btn-info">
<span class="load-discussion">Join Discussion</span>
<span id="comment-icon" class="glyphicon glyphicon-comment"></span>
</div>
<div id="comments">
<div id="disqus_thread"></div>
</div>
</div>
<aside id="side-bar" class="col-xs-12 col-sm-4 col-md-4 col-lg-4">
<div class="row">
<div class="aside-block col-xs-4 col-sm-12 col-md-12 col-lg-12">
<div class="side-content">
<section id="reddit" class='reddit single'>
<h4>From /r/Merchant</h4>
<ul class="posts"></ul>
</section>
</div>
</div>
</div><!-- END SIDEBAR ROW -->
</aside>
<aside id="side-bar" class="col-xs-12 col-sm-4 col-md-4 col-lg-4">
<div class="row">
<div class="aside-block col-xs-4 col-sm-12 col-md-12 col-lg-12">
<div class="side-content">
<section id='' class=''>
<h4>Latest Guides</h4>
<div class="sidebar-guides">
<ul>
<li ng-repeat="guide in guidesList | limitTo:3">
<a href="#!/guides/{{guide.title.rendered}}">{{guide.title.rendered}}</a>
<span>By {{getAuthByID(guide.author)}}</span>
</li>
</ul>
</div>
<div class="view-more-guides">
<a href="#!/guides/">
<span class="glyphicon glyphicon-chevron-right"></span>
View More Guides
</a>
</div>
</section>
</div>
</div>
</div><!-- END SIDEBAR ROW -->
</aside>
</div>
</section>
<footer class="container-fluid">
<div class="row">
<div class="col-xs-6 col-sm-3">
<div id="download-merchant" class="footer-col">
<h3>Download Merchant</h3>
<a href="https://play.google.com/store/apps/details?id=bearface.games.merchant&hl=en"><img src="img/button-gp.png" alt="Download Merchant from Google Play"></a>
<a href="https://itunes.apple.com/us/app/merchant-rpg/id1035170074"><img src="img/app-store.png" alt="Download Merchant from Apple App Store"></a>
</div>
</div>
<div class="col-xs-6 col-sm-3">
<div class="footer-col">
<h3>Contribute</h3>
<p>MerchantDB is an OpenSource project.</p>
<p>Want to contribute?</p>
<a href="https://github.com/Chirpizard/MerchantGameDB"><div id="github-button">View on Github</div></a>
</div>
</div>
<div class="col-xs-6 col-sm-3">
<div class="footer-col">
<h3>Community</h3>
<p>Have questions?<p>
<p>Get answers on the Merchant Reddit.</p>
<a href="https://www.reddit.com/r/MerchantRPG/"><div id="reddit-button">Go to Reddit</div></a>
</div>
</div>
</div>
<div class="row">
<div class="col-xs-12">
<p>MerchantDB Copyright 2015</p>
</div>
</div>
</footer>
<ng-controller ng-controller="popupController as popup" ng-cloak>
<!--
black-overlay is for darkening background
urls-popup is for the share button urls
-->
<div id='black-overlay' ng-show="popup.model.mode !== popup.modes.none"></div>
<div id="urls-popup" ng-show="popup.model.mode === popup.modes.showLink">
<div class="url-box-close-button" ng-click="popup.hide()">
<span class="glyphicon glyphicon-remove"></span>
</div>
<h3><span class="glyphicon glyphicon-chevron-right"></span>Link Format</h3>
<ul>
<li class="copy-standard-link-button well" ng-click="popup.copy(false)">
<span class="glyphicon glyphicon-link"></span>
<p>Standard</p>
</li>
<li class="copy-reddit-link-button well" ng-click="popup.copy(true)">
<img src="img/icon-reddit.png">
<p>Reddit</p>
</li>
</ul>
</div>
<!-- Comparison Prompt -->
<div id="comparison-prompt" ng-show="popup.model.mode === popup.modes.showComparisonPrompt">
<div class="prompt-close-button" ng-click="popup.hide()">
<span class="glyphicon glyphicon-remove"></span>
</div>
<div id="comparison-prompt-content">
<h3>Item Comparison</h3>
<p>{{popup.comparison.currentOperation}}</p>
<div id="comparison-error-hold" class="alert alert-danger" role="alert" ng-show="popup.comparison.hasError">
<span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span>
<span class="sr-only">Error:</span>
Not possible to compare items of 2 different types.
<span id="comparison-error-message">Remove existing item from table and try again.</span>
</div>
<table>
<tr id="comparison-prompt-first-row" ng-if="popup.comparison.item1 != null">
<td id="comparison-prompt-item1-icon"><div ng-class="popup.comparison.item1.image | imageToCssClass"></div></td>
<td id="comparison-prompt-item1-name">{{popup.comparison.item1.fullName}}</td>
<td id="comparison-prompt-remove1">
<span class='glyphicon glyphicon-remove' ng-click="popup.removeItem1()"></span>
</td>
</tr>
<tr id="comparison-prompt-second-row" ng-if="popup.comparison.item2 != null">
<td id="comparison-prompt-item2-icon"><div ng-class="popup.comparison.item2.image | imageToCssClass"></div></td>
<td id="comparison-prompt-item2-name">{{popup.comparison.item2.fullName}}</td>
<td id="comparison-prompt-remove2">
<span class='glyphicon glyphicon-remove' ng-click="popup.removeItem2()"></span>
</td>
</tr>
</table>
<button id="comparison-prompt-confirm-button" ng-hide="popup.comparison.isReady()" ng-click="popup.hide()" class="btn btn-primary">
Confirm Change
</button>
<button id="comparison-prompt-final-button" ng-show="popup.comparison.isReady()" ng-click="popup.goToComparison()" class="btn btn-success">
View Comparison
</button>
</div>
</div>
</ng-controller>
<!-- To hold comparison data -->
<div id="temp-comparison-items">
<span id="item1-compare"></span>
<span id="item1-suffix"></span>
<span id="item1-prefix"></span>
<span id="item1-type"></span>
<span id="item2-compare"></span>
<span id="item2-suffix"></span>
<span id="item2-prefix"></span>
</div>
</snap-content>
<!-- Javascripts: jQuery, AngularJS, ngSanitize, ngRoute, Bootstrap -->
<script src="/js/vendor/jquery-1.12.1.min.js"></script>
<script src="/js/vendor/angular-1.5.11.min.js"></script>
<script src="/js/vendor/fuse.3.0.4.min.js"></script>
<script src="/js/modules/angular-sanitize.min.js"></script>
<script src="/js/modules/angular-route.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS"
crossorigin="anonymous"></script>
<!-- Note that scripts above loaded from root "/"" - so browser cache Beta and live vendor scripts together -->
<script type="text/javascript">
angular.element(document.getElementsByTagName('head')).append(angular.element('<base href="' + window.location.pathname + '" />'));
</script>
<!-- Bundled JavaScript files, minified -->
<script src="js/bundle.js"></script>
<script src="js/jsonDB.js"></script>
<!--<script src="js/others/function.js"></script>-->
<!-- Google Analytics: change UA-XXXXX-X to be your site's ID. -->
<script src="https://www.google-analytics.com/analytics.js"></script>
<script>
(function(b,o,i,l,e,r){b.GoogleAnalyticsObject=l;b[l]||(b[l]=
function(){(b[l].q=b[l].q||[]).push(arguments)});b[l].l=+new Date;
e=o.createElement(i);r=o.getElementsByTagName(i)[0];
e.src='https://www.google-analytics.com/analytics.js';
r.parentNode.insertBefore(e,r)}(window,document,'script','ga'));
ga('create','UA-40909071-3','auto');ga('send','pageview');
</script>
<script>
window.disqus_shortname = 'merchantdb';
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + window.disqus_shortname + '.disqus.com/embed.js';
function resetDisqus() {
DISQUS.reset({
reload: true,
config: function () {
var href = window.location.href.split("#!");
//get the text after last /, replace %20 with space
href = href[1].replace("%20", " ");
//if we are on main site
if(href.length == 0){href = "Merchant[DB]"}
//cut attributums after ?
var baseName = href.split("?")[0];
this.page.identifier = "http://merchantgamedb.com/#!"+baseName;
this.page.url = "http://merchantgamedb.com/#!"+baseName;
}
});
}
</script>
<script src="//merchantdb.disqus.com/embed.js"></script>
</body>
</html>