Created
August 30, 2014 15:07
-
-
Save vgrish/b1d491a4301dfbb92721 to your computer and use it in GitHub Desktop.
1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="ru"> | |
<head> | |
[[$Head.my?]] | |
</head> | |
<body> | |
<div class="wrapper"> | |
<nav class="top-bar animate-dropdown"> | |
[[$Navbar.my?]] | |
</nav> | |
<header class="no-padding-bottom header-alt"> | |
[[$Header.my?]] | |
</header> | |
[[!mFilter2? &tplOuter=`tpl.mFilter2.outer.my` &tplFilter.outer.default=`tpl.mFilter2.filter.outer.my` &tplFilter.row.default=`tpl.mFilter2.filter.checkbox.my` &tplPage=`@INLINE | |
<li><a href="[[+href]]">[[+pageNo]]</a> | |
</li>` &tplPageWrapper=`@INLINE | |
<ul class="pagination ">[[+prev]][[+pages]][[+next]]</ul>` &tplPageActive=`@INLINE | |
<li class="current"><a href="[[+href]]">[[+pageNo]]</a> | |
</li>` &tplPagePrev=`@INLINE | |
<li class="prev"><a href="[[+href]]">←</a> | |
</li>` &tplPageNext=`@INLINE | |
<li class="next"><a href="[[+href]]">→</a> | |
</li>` &tplPageSkip=`@INLINE | |
<li class="disabled"> | |
<span>...</span> | |
</li>` &tplPagePrevEmpty=`@INLINE | |
<li class="prev"><a>←</a> | |
</li>` &tplPageNextEmpty=`@INLINE | |
<li class="next"><a>→</a> | |
</li>` &limit=`12` &element=`msProducts` &includeContent=`1` &parents=`[[*id]]` &includeThumbs=`246x186` &totalVar=`page.total` &filters=` ms|price:number ,parent:categories ` &class=`msProduct` &tplFilter.outer.ms|price=`tpl.mFilter2.filter.slider.my` &tplFilter.row.ms|price=`tpl.mFilter2.filter.number` &toPlaceholders=`my_` &tpls=`tpl.msProducts.row.my.grid,tpl.msProducts.row.my.list` ]] | |
<section id="category-grid"> | |
<div class="container" id="mse2_mfilter"> | |
<div class="col-xs-12 col-sm-3 no-margin sidebar narrow"> | |
<div class="widget"> | |
<h1>Product Filters</h1> | |
<div class="body bordered"> | |
<form action="" method="post" id="mse2_filters"> | |
[[+my_filters]] | |
</form> | |
</div> | |
</div> | |
[[$Special.products?]] [[$Banner.left.sidebar]] [[$Featured.products]] | |
</div> | |
<div class="col-xs-12 col-sm-9 no-margin wide sidebar"> | |
[[$Recommended.products]] | |
<section id="gaming"> | |
<div class="grid-list-products"> | |
<h2 class="section-title">[[*pagetitle]]</h2> | |
<div class="control-bar"> | |
<!--div id="popularity-sort" class="le-select"> | |
<select data-placeholder="sort by popularity"> | |
<option value="1">1-100 players</option> | |
<option value="2">101-200 players</option> | |
<option value="3">200+ players</option> | |
</select> | |
</div--> | |
<div id="item-count" class="le-select"> | |
<select name="mse_limit" id="mse2_limit"> | |
<option value="12" [[+limit:is=`12`:then=`selected`]]>12</option> | |
<option value="18" [[+limit:is=`18`:then=`selected`]]>18</option> | |
<option value="24" [[+limit:is=`24`:then=`selected`]]>24</option> | |
<option value="48" [[+limit:is=`48`:then=`selected`]]>48</option> | |
</select> | |
</div> | |
[[!+my_tpls:notempty=` | |
<div class="grid-list-buttons"> | |
<ul id="mse2_tpl"> | |
<li class="grid-list-button-item "><a data-tpl="0" href="#" class="[[+my_tpl0]]"><i class="fa fa-th-large"></i> Grid</a> | |
</li> | |
<li class="grid-list-button-item "><a data-tpl="1" href="#" class="[[+my_tpl1]]"><i class="fa fa-th-list"></i> List</a> | |
</li> | |
</ul> | |
</div> | |
`]] | |
</div> | |
<div class="tab-content"> | |
<div class="products-grid"> | |
<div class="product-grid-holder_[[+my_tpl0]] products-list_[[+my_tpl1]]" id="mse2_results"> | |
<div class="row no-margin"> | |
[[!+my_results]] [[-!msProducts? &tpl=`tpl.msProducts.row.my.grid` &limit=`0` &sortby=`` &parents=`33` &includeThumbs=`246x186` &where=`{}` ]] [[-!pdoPage? &limit=`12` &maxLimit=`100` &totalVar=`page.total` &pageVarKey=`page` &pageLimit=`5` &element=`msProducts` &sortby=`id` &parents=`[[*id]]` &includeThumbs=`246x186` &tpl=`tpl.msProducts.row.my.grid` &pageNavVar=`page.nav` &pageCountVar=`pageCount` &tplPage=`@INLINE | |
<li><a href="[[+href]]">[[+pageNo]]</a> | |
</li>` &tplPageWrapper=`@INLINE | |
<div class="col-xs-12 col-sm-6 text-left"> | |
<ul class="pagination ">[[+prev]][[+pages]][[+next]]</ul> | |
</div>` &tplPageActive=`@INLINE | |
<li class="current"><a href="[[+href]]">[[+pageNo]]</a> | |
</li>` &tplPagePrev=`@INLINE | |
<li class="prev"><a href="[[+href]]">←</a> | |
</li>` &tplPageNext=`@INLINE | |
<li class="next"><a href="[[+href]]">→</a> | |
</li>` &tplPageSkip=`@INLINE | |
<li class="disabled"> | |
<span>...</span> | |
</li>` &tplPagePrevEmpty=`@INLINE | |
<li class="prev"><a>←</a> | |
</li>` &tplPageNextEmpty=`@INLINE | |
<li class="next"><a>→</a> | |
</li>` &cache=`1` &cacheTime=`3601` ]] | |
</div> | |
</div> | |
<div class="clearfix"></div> | |
<div class="pagination-holder"> | |
<div class="row"> | |
<div class="col-xs-12 col-sm-6 text-left" id="mse2_pagination"> | |
[[!+page.nav]] | |
</div> | |
<div class="col-xs-12 col-sm-6"> | |
<div class="result-counter"> | |
Всего | |
<span>[[!+pageCount]]</span>стр., | |
<span id="mse2_total">[[!+total:default=`0`]]</span>товаров | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</section> | |
</div> | |
</div> | |
</section> | |
<footer id="footer" class="color-bg"> | |
[[$Footer.my?]] | |
</footer> | |
</div> | |
[[$Js.my?]] | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment