Guest User

Untitled

a guest
Sep 18th, 2014
440
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.14 KB | None | 0 0
  1. <div class="span12 col-md-12">
  2.  
  3. [[!mFilter2?
  4. &toPlaceholders=`my_`
  5. &toSeparatePlaceholders=`my_`
  6. &showLog=`1`
  7. &class=`msProduct`
  8. &element=`msProducts`
  9. &parents=`[[*id]]`
  10. &includeThumbs=`246x186`
  11. &filters=`
  12. ms|price:number,
  13.  
  14. ms|liters:number,
  15.  
  16. ms|centimeters:number,
  17. ms|milliliters:number,
  18.  
  19. ms|vendor:vendors,
  20. resource|parent:parents,
  21. ms|material,
  22. ms|color
  23. `
  24. &tplFilter.outer.resource|parent=`tpl.mFilter2.filter.select`
  25. &tplFilter.row.resource|parent=`tpl.mFilter2.filter.option`
  26. &suggestionsRadio=`resource|parent`
  27.  
  28. &tplFilter.outer.ms|price=`tpl.mFilter2.filter.slider`
  29. &tplFilter.row.ms|price=`tpl.mFilter2.filter.number`
  30.  
  31. &tplFilter.outer.ms|liters=`tpl.mFilter2.filter.slider`
  32. &tplFilter.row.ms|liters=`tpl.mFilter2.filter.number`
  33.  
  34. &tplFilter.outer.ms|centimeters=`tpl.mFilter2.filter.slider`
  35. &tplFilter.row.ms|centimeters=`tpl.mFilter2.filter.number`
  36.  
  37. &tplFilter.outer.ms|milliliters=`tpl.mFilter2.filter.slider`
  38. &tplFilter.row.ms|milliliters=`tpl.mFilter2.filter.number`
  39.  
  40. &tplFilter.outer.ms|color=`tpl.mFilter2.filter.checkbox`
  41. &tplFilter.row.ms|color=`tpl.mFilter2.filter.number`
  42.  
  43. ]]
  44.  
  45. <div class="row msearch2" id="mse2_mfilter">
  46. <div id='cssmenu' class="span2 col-md-2">
  47.  
  48. [[pdoMenu?
  49. &parents=`2,6,7,8,9,10,11,12,13`
  50. &displayStart=`1`
  51. &level=`1`
  52. &sortdir=`ASC`
  53. &tplStart = `@INLINE <li class="has-sub"><a href="[[+link]]"> [[+menutitle]]</a>[[+wrapper]]</li>`
  54. &tplOuter = `@INLINE <ul>[[+wrapper]]</ul>`
  55. ]]
  56.  
  57. </div>
  58.  
  59. <div class="span10 col-md-10">
  60. <h2>Выбор по параметрам</h2>
  61. <form action="" method="post" id="mse2_filters">
  62. <div class="span6 col-md-6">
  63. <h5>Цена в рублях</h5>
  64. [[+my_ms|price]]
  65. <h5>Объем в литрах</h5>
  66. [[+my_ms|liters]]
  67. <h5>Диаметр в сантиметрах</h5>
  68. [[+my_ms|centimeters]]
  69. <h5>Объем в миллилитрах</h5>
  70. [[+my_ms|milliliters]]
  71. </div>
  72. <div class="span3 col-md-3">
  73. <h5>Материал</h5>
  74. [[+my_ms|material]]
  75. </div>
  76. <div class="span3 col-md-3">
  77. <h5>Цвет</h5>
  78.  
  79. </div>
  80.  
  81. </form>
  82.  
  83. </div>
  84. <div class="span2 col-md-2">
  85. </div>
  86. <div class="span10 col-md-10">
  87. [[!+my_tpls:notempty=`
  88. <div id="mse2_tpl" class="span4 col-md-4">
  89. <a href="#" data-tpl="0" class="[[+my_tpl0]]">[[%mse2_chunk_default]]</a> /
  90. <a href="#" data-tpl="1" class="[[+my_tpl1]]">[[%mse2_chunk_alternate]]</a>
  91. </div>
  92. `]]
  93.  
  94. <div id="mse2_selected_wrapper">
  95. <div id="mse2_selected">[[%mse2_selected]]:
  96. <span></span>
  97. </div>
  98. </div>
  99.  
  100. <div id="mse2_results">
  101. [[+my_results]]
  102. </div>
  103.  
  104. <div class="pagination">
  105. <ul id="mse2_pagination">
  106. [[+page.nav]]
  107. </ul>
  108. </div>
  109.  
  110. </div>
  111. </div>
  112.  
  113. </div>
Advertisement
Add Comment
Please, Sign In to add comment