Created
September 11, 2014 13:06
-
-
Save vgrish/5731618716a5f8d79dac to your computer and use it in GitHub Desktop.
m-01
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> | |
<head> | |
[[$Head.my?]] | |
</head> | |
<body> | |
<div class="container"> | |
[[$Header.my?]] | |
[[chunk? &name=`Navbar.my`]] | |
[[-$Navbar.my?]] | |
<div class="row"> | |
[[chunk? &name=`Category`]] | |
[[-$Category]] | |
<div class="span9 cat1" id="mse2_mfilter"> | |
[[$Crumbs.my?]] | |
[[!mFilter2? | |
&tplOuter=`tpl.mFilter2.outer.my` | |
&tplFilter.outer.default=`tpl.mFilter2.filter.outer.my` | |
&tplFilter.row.default=`tpl.mFilter2.filter.checkbox.my` | |
&tplPageWrapper=`@INLINE [[+prev]][[+pages]][[+next]]` | |
&tplPage=`@INLINE <li><a href="[[+href]]">[[+pageNo]]</a></li>` | |
&tplPageActive=`@INLINE <li class="active"><a [[+title]] href="[[+href]]">[[+pageNo]]</a></li>` | |
&tplPagePrev=`@INLINE <li><a href="[[+href]]" [[+title]]>‹</a></li>` | |
&tplPageNext=`@INLINE <li><a href="[[+href]]" [[+title]]>›</a></li>` | |
&tplPageSkip=`@INLINE <li><span>...</span></li>` | |
&tplPagePrevEmpty=`@INLINE <li class="disabled"><a href="#"><span>‹</span></a></li>` | |
&tplPageNextEmpty=`@INLINE <li class="disabled"><a href="#"><span>›</span></a></li>` | |
&limit=`12` | |
&element=`msProducts` | |
&parents=`[[*id]]` | |
&includeThumbs=`210x210` | |
&filters=` | |
ms|price:number | |
,resource|parent:categories | |
,msoption|direction | |
,msoption|temperature | |
,msoption|diameter | |
,msoption|k_ls_mpa | |
,msoption|color | |
,msoption|i1 | |
,ms|vendor:vendors | |
` | |
&class=`msProduct` | |
&tplFilter.outer.ms|price=`tpl.mFilter2.filter.slider.my.price` | |
&tplFilter.row.ms|price=`tpl.mFilter2.filter.number.my.price` | |
&toSeparatePlaceholders=`my_` | |
&tpls=`tpl.msProducts.row.my,tpl.msProducts.row.my.list` | |
&suggestions=`0` | |
&suggestionsMaxResults=`500` | |
&suggestionsMaxFilters=`100` | |
]] | |
<!--[[%mse2_sort_name? &topic=`default` &namespace=`msearch2`]]--> | |
<div class="options"> | |
<div class="grid-list"> | |
[[!+my_tpls:notempty=` | |
<div id="mse2_tpl" class="span4 col-md-4"> | |
<a href="#" data-tpl="0" class="grid [[+my_tpl0]]"><span>список</span></a> | |
<a href="#" data-tpl="1" class="list [[+my_tpl1]]"><span>плитка</span></a> | |
</div> | |
`]] | |
</div> | |
<div class="show">[[%mse2_limit]] | |
<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> | |
</div> | |
<!-- new нужно стилизовать под табы --> | |
<div class="filter_block"> | |
<p>Показывать:</p> | |
<div class="filter_lnk"> | |
<span>Фильтрация</span> | |
<em></em> | |
</div> | |
<div id="mse2_sort" class="sort_top"> | |
<a href="#" data-sort="ms|new" data-dir="" data-default="desc" class="sort"> | |
<span class="pseudolink"> | |
<em>новые</em> | |
</span> | |
</a> | |
<a href="#" data-sort="ms|favorite" data-dir="" data-default="desc" class="sort"> | |
<span class="pseudolink"> | |
<em>хиты продаж</em> | |
</span> | |
</a> | |
<a href="#" data-sort="ms|price" data-dir="" data-default="desc" class="sort"> | |
<span class="pseudolink"> | |
<em>по цене</em> | |
</span> | |
</a> | |
<div class="clear"></div> | |
</div> | |
<div class="filter_table"> | |
<form action="" method="post" id="mse2_filters"> | |
[[-+my_filters]] | |
[[!+my_resource|parent]] | |
[[!+my_msoption|direction]] | |
[[!+my_msoption|temperature]] | |
[[!+my_msoption|k_ls_mpa]] | |
[[!+my_msoption|diameter]] | |
[[!+my_msoption|color]] | |
[[!+my_msoption|i1]] | |
[[!+my_ms|vendor]] | |
[[!+my_ms|price]] | |
</form> | |
</div> | |
</div> | |
<!-- new нужно стилизовать под табы --> | |
<div class="grid_product_[[+my_tpl0]] listing_product_[[+my_tpl1]]"> | |
<div id="mse2_results"> | |
[[+my_results]] | |
</div> | |
<div class="clear"></div> | |
</div> | |
<div class="pagination"> | |
<ul id="mse2_pagination"> | |
[[!+page.nav]] | |
</ul> | |
</div> | |
<p class="pagination_info">(всего: <span id="mse2_total">[[!+total:default=`0`]]</span> товаров)</p> | |
</div> | |
</div> | |
[[$Footer.my?]] | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment