Ma2_Ante_Theme - Version 1.0.1

Version Notes

Version number: 1.0.1 Stability: Stable Compatibility: 1.7, 1.8

Download this release

Release Info

Developer Magenmarket.com
Extension Ma2_Ante_Theme
Version 1.0.1
Comparing to
See all releases


Code changes from version 1.0.0 to 1.0.1

Files changed (313) hide show
  1. app/code/community/Ma2/FeaturedProducts/Block/Adminhtml/Edit.php +79 -0
  2. app/code/{local → community}/Ma2/FeaturedProducts/Block/Adminhtml/Edit/Grid.php +379 -344
  3. app/code/community/Ma2/FeaturedProducts/Block/Adminhtml/Edit/Renderer/Name.php +51 -0
  4. app/code/community/Ma2/FeaturedProducts/Block/Adminhtml/Edit/Renderer/Thumbnail.php +51 -0
  5. app/code/community/Ma2/FeaturedProducts/Block/Adminhtml/Edit/Renderer/Visibility.php +43 -0
  6. app/code/community/Ma2/FeaturedProducts/Block/Block.php +114 -0
  7. app/code/community/Ma2/FeaturedProducts/Block/Standalone/List.php +119 -0
  8. app/code/community/Ma2/FeaturedProducts/Block/Widget.php +87 -0
  9. app/code/community/Ma2/FeaturedProducts/Helper/Data.php +43 -0
  10. app/code/community/Ma2/FeaturedProducts/Model/System/Config/Source/Listtype.php +36 -0
  11. app/code/community/Ma2/FeaturedProducts/Model/System/Config/Source/Sortby.php +37 -0
  12. app/code/community/Ma2/FeaturedProducts/Model/System/Config/Source/Sortdir.php +36 -0
  13. app/code/{local → community}/Ma2/FeaturedProducts/controllers/Adminhtml/FeaturedController.php +144 -97
  14. app/code/community/Ma2/FeaturedProducts/controllers/IndexController.php +54 -0
  15. app/code/community/Ma2/FeaturedProducts/etc/adminhtml.xml +68 -0
  16. app/code/community/Ma2/FeaturedProducts/etc/config.xml +121 -0
  17. app/code/community/Ma2/FeaturedProducts/etc/system.xml +390 -0
  18. app/code/community/Ma2/FeaturedProducts/etc/widget.xml +153 -0
  19. app/code/community/Ma2/FeaturedProducts/sql/featuredproducts_setup/mysql4-install-1.0.0.php +54 -0
  20. app/code/community/Ma2/Manufacturers/Block/Adminhtml/Default.php +58 -0
  21. app/code/community/Ma2/Manufacturers/Block/Adminhtml/Default/Form.php +53 -0
  22. app/code/community/Ma2/Manufacturers/Block/List.php +107 -0
  23. app/code/community/Ma2/Manufacturers/Helper/Data.php +27 -0
  24. app/code/community/Ma2/Manufacturers/Model/System/Config/Source/Manuid.php +41 -0
  25. app/code/community/Ma2/Manufacturers/controllers/Adminhtml/DefaultController.php +104 -0
  26. app/code/community/Ma2/Manufacturers/controllers/IndexController.php +30 -0
  27. app/code/community/Ma2/Manufacturers/etc/adminhtml.xml +67 -0
  28. app/code/community/Ma2/Manufacturers/etc/config.xml +74 -0
  29. app/code/community/Ma2/Manufacturers/etc/system.xml +88 -0
  30. app/code/community/Ma2/Slideshow/Block/Adminhtml/Slideshow.php +33 -0
  31. app/code/community/Ma2/Slideshow/Block/Adminhtml/Slideshow/Edit.php +65 -0
  32. app/code/community/Ma2/Slideshow/Block/Adminhtml/Slideshow/Edit/Form.php +40 -0
  33. app/code/community/Ma2/Slideshow/Block/Adminhtml/Slideshow/Edit/Tab/Form.php +116 -0
  34. app/code/community/Ma2/Slideshow/Block/Adminhtml/Slideshow/Edit/Tabs.php +46 -0
  35. app/code/community/Ma2/Slideshow/Block/Adminhtml/Slideshow/Grid.php +189 -0
  36. app/code/community/Ma2/Slideshow/Block/Slideshow.php +39 -0
  37. app/code/community/Ma2/Slideshow/Helper/Data.php +38 -0
  38. app/code/community/Ma2/Slideshow/Model/Mysql4/Slideshow.php +30 -0
  39. app/code/community/Ma2/Slideshow/Model/Mysql4/Slideshow/Collection.php +35 -0
  40. app/code/community/Ma2/Slideshow/Model/Slideshow.php +45 -0
  41. app/code/community/Ma2/Slideshow/Model/Slideshowselect.php +40 -0
  42. app/code/community/Ma2/Slideshow/Model/Status.php +35 -0
  43. app/code/community/Ma2/Slideshow/Model/Transitiontype.php +32 -0
  44. app/code/community/Ma2/Slideshow/controllers/Adminhtml/SlideshowController.php +301 -0
  45. app/code/community/Ma2/Slideshow/controllers/IndexController.php +30 -0
  46. app/code/community/Ma2/Slideshow/etc/config.xml +188 -0
  47. app/code/community/Ma2/Slideshow/etc/system.xml +143 -0
  48. app/code/community/Ma2/Slideshow/etc/widget.xml +28 -0
  49. app/code/community/Ma2/Slideshow/sql/slideshow_setup/mysql4-install-0.1.0.php +47 -0
  50. app/code/local/Ma2/All/Helper/Data.php +4 -0
  51. app/code/local/Ma2/All/etc/adminhtml.xml +43 -0
  52. app/code/local/Ma2/All/etc/config.xml +56 -0
  53. app/code/local/Ma2/All/etc/system.xml +9 -0
  54. app/code/local/Ma2/FeaturedProducts/Block/Adminhtml/Edit.php +0 -79
  55. app/code/local/Ma2/FeaturedProducts/Block/Adminhtml/Edit/Edit.php +0 -32
  56. app/code/local/Ma2/FeaturedProducts/Block/Adminhtml/Edit/Renderer/Name.php +0 -22
  57. app/code/local/Ma2/FeaturedProducts/Block/Adminhtml/Edit/Renderer/Visibility.php +0 -20
  58. app/code/local/Ma2/FeaturedProducts/Block/Product.php +0 -16
  59. app/code/local/Ma2/FeaturedProducts/Block/Product/List.php +0 -69
  60. app/code/local/Ma2/FeaturedProducts/Helper/Data.php +0 -22
  61. app/code/local/Ma2/FeaturedProducts/Model/Mysql4/FeaturedProducts.php +0 -11
  62. app/code/local/Ma2/FeaturedProducts/Model/Mysql4/FeaturedProducts/Collection.php +0 -9
  63. app/code/local/Ma2/FeaturedProducts/Model/System/Config/Source/Sort.php +0 -11
  64. app/code/local/Ma2/FeaturedProducts/controllers/IndexController.php +0 -26
  65. app/code/local/Ma2/FeaturedProducts/etc/adminhtml.xml +0 -37
  66. app/code/local/Ma2/FeaturedProducts/etc/config.xml +0 -115
  67. app/code/local/Ma2/FeaturedProducts/sql/FeaturedProducts_setup/mysql4-install-1.0.1.php +0 -26
  68. app/code/local/Ma2/FeaturedProducts/sql/FeaturedProducts_setup/mysql4-upgrade-1.0.1-1.1.1.php +0 -5
  69. app/code/local/Ma2/FeaturedProducts/sql/FeaturedProducts_setup/mysql4-upgrade-1.1.1-1.2.3.php +0 -28
  70. app/code/local/Ma2/FeaturedProducts/sql/FeaturedProducts_setup/upgrade-1.2.3-2.0.0.php +0 -5
  71. app/code/local/Ma2/ThemeOptions/Block/Adminhtml/System/Config/Form/Field/Font_unused.php +88 -67
  72. app/code/local/Ma2/ThemeOptions/Block/Adminhtml/System/Config/Form/Field/Fontpreview.php +148 -126
  73. app/code/local/Ma2/ThemeOptions/Block/Adminhtml/System/Config/Form/Field/Fonts_unused.php +196 -175
  74. app/code/local/Ma2/ThemeOptions/Block/Adminhtml/System/Config/Form/Field/Fontscript_unused.php +89 -68
  75. app/code/local/Ma2/ThemeOptions/Block/Adminhtml/System/Config/Form/Field/Heading.php +36 -15
  76. app/code/local/Ma2/ThemeOptions/Block/Adminhtml/System/Config/Form/Field/Images.php +82 -62
  77. app/code/local/Ma2/ThemeOptions/Block/Adminhtml/System/Config/Form/Field/Imagessmall.php +82 -62
  78. app/code/local/Ma2/ThemeOptions/Block/Adminhtml/System/Config/Form/Field/OColor.php +37 -16
  79. app/code/local/Ma2/ThemeOptions/Block/Adminhtml/System/Config/Form/Field/Patern.php +81 -61
  80. app/code/local/Ma2/ThemeOptions/Block/Html/Ma2blocks.php +82 -0
  81. app/code/local/Ma2/ThemeOptions/Block/ThemeOptions.php +32 -9
  82. app/code/local/Ma2/ThemeOptions/Controller/Observer.php +31 -11
  83. app/code/local/Ma2/ThemeOptions/Exception.php +7 -18
  84. app/code/local/Ma2/ThemeOptions/Helper/Data.php +50 -29
  85. app/code/local/Ma2/ThemeOptions/Model/Backgroundposition.php +39 -18
  86. app/code/local/Ma2/ThemeOptions/Model/Backgroundrepeat.php +34 -13
  87. app/code/local/Ma2/ThemeOptions/Model/Fontreplacement.php +32 -11
  88. app/code/local/Ma2/ThemeOptions/Model/Fonts.php +145 -128
  89. app/code/local/Ma2/ThemeOptions/Model/Gfont_unused.php +44 -24
  90. app/code/local/Ma2/ThemeOptions/Model/Presetstyles.php +34 -13
  91. app/code/local/Ma2/ThemeOptions/Model/Productpagelayout.php +34 -13
  92. app/code/local/Ma2/ThemeOptions/etc/adminhtml.xml +1 -0
  93. app/code/local/Ma2/ThemeOptions/etc/config.xml +65 -4
  94. app/code/local/Ma2/ThemeOptions/etc/system.xml +499 -54
  95. app/code/local/Ma2/WidgetProductList/Block/New.php +75 -79
  96. app/code/local/Wru/HomeTop/Block/Links.php +0 -91
  97. app/code/local/Wru/HomeTop/etc/config.xml +0 -59
  98. app/design/adminhtml/default/default/layout/ma2_all.xml +7 -0
  99. app/design/adminhtml/default/default/layout/ma2_manufacturers.xml +14 -0
  100. app/design/adminhtml/default/default/layout/ma2_slideshow.xml +8 -0
  101. app/design/adminhtml/default/default/layout/{ma2_options.xml → ma2themeoptions.xml} +0 -0
  102. app/design/adminhtml/default/default/template/ma2_manufacturers/default.phtml +43 -0
  103. app/design/frontend/ma2/ante/layout/es_custommenu.xml +0 -11
  104. app/design/frontend/ma2/ante/layout/local.xml +299 -123
  105. app/design/frontend/ma2/ante/layout/ma2_all.xml +9 -0
  106. app/design/frontend/ma2/ante/layout/ma2_featuredproducts.xml +17 -8
  107. app/design/frontend/ma2/ante/layout/ma2_manufacturers.xml +8 -0
  108. app/design/frontend/ma2/ante/layout/ma2_slideshow.xml +11 -0
  109. app/design/frontend/ma2/ante/layout/ma2_widgetproductlist.xml +5 -5
  110. app/design/frontend/ma2/ante/locale/en_US/translate.csv +1 -0
  111. app/design/frontend/ma2/ante/template/catalog/category/view.phtml +57 -55
  112. app/design/frontend/ma2/ante/template/catalog/navigation/category_list.phtml +91 -0
  113. app/design/frontend/ma2/ante/template/catalog/navigation/top.phtml +0 -49
  114. app/design/frontend/ma2/ante/template/catalog/product/list.phtml +140 -107
  115. app/design/frontend/ma2/ante/template/catalog/product/list/related.phtml +1 -1
  116. app/design/frontend/ma2/ante/template/catalog/product/view.phtml +203 -160
  117. app/design/frontend/ma2/ante/template/catalogsearch/form.mini.phtml +18 -12
  118. app/design/frontend/ma2/ante/template/checkout/cart/sidebar.phtml +60 -60
  119. app/design/frontend/ma2/ante/template/es_custommenu/menu.phtml +0 -23
  120. app/design/frontend/ma2/ante/template/es_custommenu/submenu.phtml +0 -22
  121. app/design/frontend/ma2/ante/template/ma2_featuredproducts/block.phtml +114 -0
  122. app/design/frontend/ma2/ante/template/ma2_featuredproducts/featuredproducts.phtml +0 -127
  123. app/design/frontend/ma2/ante/template/ma2_featuredproducts/standalone.phtml +24 -0
  124. app/design/frontend/ma2/ante/template/ma2_featuredproducts/standalone_list.phtml +120 -0
  125. app/design/frontend/ma2/ante/template/ma2_featuredproducts/widget.phtml +115 -0
  126. app/design/frontend/ma2/ante/template/ma2_manufacturers/default.phtml +70 -0
  127. app/design/frontend/ma2/ante/template/ma2_manufacturers/grid.phtml +71 -0
  128. app/design/frontend/ma2/ante/template/ma2_manufacturers/slider.phtml +137 -0
  129. app/design/frontend/ma2/ante/template/ma2_slideshow/slideshow.phtml +65 -0
  130. app/design/frontend/ma2/ante/template/ma2_widgetproductlist/bestselling/default.phtml +12 -15
  131. app/design/frontend/ma2/ante/template/ma2_widgetproductlist/custom/default.phtml +7 -9
  132. app/design/frontend/ma2/ante/template/ma2_widgetproductlist/featured/default.phtml +7 -9
  133. app/design/frontend/ma2/ante/template/ma2_widgetproductlist/featured/sidebar.phtml +7 -9
  134. app/design/frontend/ma2/ante/template/ma2_widgetproductlist/new/default.phtml +7 -9
  135. app/design/frontend/ma2/ante/template/page/1column.phtml +55 -17
  136. app/design/frontend/ma2/ante/template/page/2columns-left.phtml +46 -39
  137. app/design/frontend/ma2/ante/template/page/2columns-right.phtml +59 -21
  138. app/design/frontend/ma2/ante/template/page/3columns.phtml +50 -42
  139. app/design/frontend/ma2/ante/template/page/empty.phtml +1 -1
  140. app/design/frontend/ma2/ante/template/page/html/{sampleblocks/banner-bottom.phtml → banner-bottom.phtml} +0 -0
  141. app/design/frontend/ma2/ante/template/page/html/{sampleblocks/bannerimg.phtml → bannerimg.phtml} +0 -0
  142. app/design/frontend/ma2/ante/template/page/html/{sampleblocks/block-right-adv.phtml → block-right-adv.phtml} +1 -1
  143. app/design/frontend/ma2/ante/template/page/html/footer.phtml +15 -35
  144. app/design/frontend/ma2/ante/template/page/html/head.phtml +2 -2
  145. app/design/frontend/ma2/ante/template/page/html/header.phtml +82 -105
  146. app/design/frontend/ma2/ante/template/page/html/{appendblocks/ie7ie8.phtml → ie7ie8.phtml} +0 -0
  147. app/design/frontend/ma2/ante/template/page/html/ma2blocks.phtml +48 -0
  148. app/design/frontend/ma2/ante/template/page/html/ma2blocks_simple.phtml +29 -0
  149. app/design/frontend/ma2/ante/template/page/html/ma2head.phtml +0 -178
  150. app/design/frontend/ma2/ante/template/page/html/notices.phtml +0 -69
  151. app/design/frontend/ma2/ante/template/page/html/pager.phtml +0 -124
  152. app/design/frontend/ma2/ante/template/page/html/{appendblocks/presetstyle.phtml → presetstyles.phtml} +0 -0
  153. app/design/frontend/ma2/ante/template/page/html/sampleblocks/block-call-toll-free.phtml +0 -22
  154. app/design/frontend/ma2/ante/template/page/html/sampleblocks/block-free-shipping.phtml +0 -29
  155. app/design/frontend/ma2/ante/template/page/html/sampleblocks/block-header-top-links.phtml +0 -13
  156. app/design/frontend/ma2/ante/template/page/html/sampleblocks/footer-block-one.phtml +0 -20
  157. app/design/frontend/ma2/ante/template/page/html/sampleblocks/footer-block-social.phtml +0 -17
  158. app/design/frontend/ma2/ante/template/page/html/sampleblocks/footer-block-three.phtml +0 -20
  159. app/design/frontend/ma2/ante/template/page/html/sampleblocks/footer-block-two.phtml +0 -20
  160. app/design/frontend/ma2/ante/template/page/html/sampleblocks/footer-right.phtml +0 -21
  161. app/design/frontend/ma2/ante/template/page/html/sampleblocks/i_datasheet.phtml +0 -21
  162. app/design/frontend/ma2/ante/template/page/html/sampleblocks/icon-link-to-social.phtml +0 -17
  163. app/design/frontend/ma2/ante/template/page/html/sampleblocks/slideshow.phtml +0 -28
  164. app/design/frontend/ma2/ante/template/page/html/top.links.phtml +0 -39
  165. app/design/frontend/ma2/ante/template/page/html/wrapper.phtml +0 -50
  166. app/design/frontend/ma2/ante/template/page/js/calendar.phtml +1 -1
  167. app/design/frontend/ma2/ante/template/page/js/cookie.phtml +1 -1
  168. app/design/frontend/ma2/ante/template/page/popup.phtml +1 -1
  169. app/design/frontend/ma2/ante/template/page/print.phtml +2 -2
  170. app/design/frontend/ma2/ante/template/page/redirect.phtml +1 -1
  171. app/design/frontend/ma2/ante/template/page/switch/flags.phtml +2 -2
  172. app/design/frontend/ma2/ante/template/page/switch/languages.phtml +2 -2
  173. app/design/frontend/ma2/ante/template/page/switch/stores.phtml +3 -3
  174. app/design/frontend/ma2/ante/template/page/template/container.phtml +1 -1
  175. app/design/frontend/ma2/ante/template/page/template/links.phtml +70 -58
  176. app/design/frontend/ma2/ante/template/page/template/linksblock.phtml +1 -1
  177. app/etc/modules/Ma2_All.xml +9 -0
  178. app/etc/modules/Ma2_FeaturedProducts.xml +8 -8
  179. app/etc/modules/Ma2_Manufacturers.xml +10 -0
  180. app/etc/modules/Ma2_Slideshow.xml +9 -0
  181. app/etc/modules/Ma2_ThemeOptions.xml +8 -8
  182. app/etc/modules/Ma2_WidgetProductList.xml +15 -0
  183. app/etc/modules/Wru_HomeTop.xml +0 -9
  184. js/ma2_all/coin-slider.min.js +0 -51
  185. js/ma2_all/jquery-1.4.2.js +0 -154
  186. js/ma2_all/jquery.min.js +0 -152
  187. js/ma2_all/ma2all.css +30 -0
  188. js/ma2_all/{widgettabs.js → ma2all.js} +0 -0
  189. js/ma2_all/readmore.js +0 -68
  190. media/ma2/images/default/favicon-blue.png +0 -0
  191. media/ma2/images/default/favicon-blue_1.png +0 -0
  192. media/ma2/images/default/favicon-green.png +0 -0
  193. media/ma2/images/default/favicon-yellow.png +0 -0
  194. media/ma2/images/default/logo-blue.png +0 -0
  195. media/ma2/images/default/logo-blue_1.png +0 -0
  196. media/ma2/images/default/logo-blue_2.png +0 -0
  197. media/ma2/images/default/logo-green.png +0 -0
  198. media/ma2/images/default/logo-green_1.png +0 -0
  199. media/ma2/images/default/logo-yellow.png +0 -0
  200. skin/frontend/ma2/ante/images/bane1.png → media/ma2slideshow/banner120140226061703.png +0 -0
  201. skin/frontend/ma2/ante/images/bane2.png → media/ma2slideshow/banner220140226061852.png +0 -0
  202. media/ma2slideshow/thumbnail/banner120140226061703.png +0 -0
  203. media/ma2slideshow/thumbnail/banner220140226061852.png +0 -0
  204. {skin/frontend/ma2/ante/images → media/manufacturers}/Adidas.png +0 -0
  205. {skin/frontend/ma2/ante/images → media/manufacturers}/Cabelas.png +0 -0
  206. {skin/frontend/ma2/ante/images → media/manufacturers}/Levis.png +0 -0
  207. {skin/frontend/ma2/ante/images → media/manufacturers}/PaylorMade.png +0 -0
  208. {skin/frontend/ma2/ante/images → media/manufacturers}/Reebok.png +0 -0
  209. {skin/frontend/ma2/ante/images → media/manufacturers}/TCMMY.png +0 -0
  210. skin/frontend/ma2/ante/images/xmlconnect/catalog/category/placeholder/image.jpg → media/manufacturers/noimage.jpg +0 -0
  211. media/manufacturers/resized/Adidas.png +0 -0
  212. media/manufacturers/resized/Cabelas.png +0 -0
  213. media/manufacturers/resized/Levis.png +0 -0
  214. media/manufacturers/resized/PaylorMade.png +0 -0
  215. media/manufacturers/resized/Reebok.png +0 -0
  216. media/manufacturers/resized/TCMMY.png +0 -0
  217. media/manufacturers/resized/noimage.jpg +0 -0
  218. media/wysiwyg/.thumbs/wysiwyg/ante/banner1.png +0 -0
  219. media/wysiwyg/.thumbs/wysiwyg/ante/banner2.png +0 -0
  220. media/wysiwyg/.thumbs/wysiwyg/ante/banner3-blue.png +0 -0
  221. media/wysiwyg/.thumbs/wysiwyg/ante/banner3-green.png +0 -0
  222. media/wysiwyg/.thumbs/wysiwyg/ante/banner3-yellow.png +0 -0
  223. media/wysiwyg/.thumbs/wysiwyg/ante/banner3.png +0 -0
  224. media/wysiwyg/.thumbs/wysiwyg/ante/banner4-blue.png +0 -0
  225. media/wysiwyg/.thumbs/wysiwyg/ante/banner4-green.png +0 -0
  226. media/wysiwyg/.thumbs/wysiwyg/ante/banner4-yellow.png +0 -0
  227. media/wysiwyg/.thumbs/wysiwyg/ante/banner4.png +0 -0
  228. media/wysiwyg/.thumbs/wysiwyg/ante/btn_paypal_checkout.gif +0 -0
  229. media/wysiwyg/.thumbs/wysiwyg/ante/cirrur.png +0 -0
  230. media/wysiwyg/.thumbs/wysiwyg/ante/facebook.png +0 -0
  231. media/wysiwyg/.thumbs/wysiwyg/ante/master.png +0 -0
  232. media/wysiwyg/.thumbs/wysiwyg/ante/paypal.png +0 -0
  233. media/wysiwyg/.thumbs/wysiwyg/ante/right-adv-blue.png +0 -0
  234. media/wysiwyg/.thumbs/wysiwyg/ante/right-adv-green.png +0 -0
  235. media/wysiwyg/.thumbs/wysiwyg/ante/right-adv-yellow.png +0 -0
  236. media/wysiwyg/.thumbs/wysiwyg/ante/right-adv.png +0 -0
  237. media/wysiwyg/.thumbs/wysiwyg/ante/twitter.png +0 -0
  238. media/wysiwyg/.thumbs/wysiwyg/ante/visa.png +0 -0
  239. {skin/frontend/ma2/ante/images → media/wysiwyg/ante}/banner1.png +0 -0
  240. {skin/frontend/ma2/ante/images → media/wysiwyg/ante}/banner2.png +0 -0
  241. media/wysiwyg/ante/banner3-blue.png +0 -0
  242. media/wysiwyg/ante/banner3-green.png +0 -0
  243. media/wysiwyg/ante/banner3-yellow.png +0 -0
  244. media/wysiwyg/ante/banner3.png +0 -0
  245. media/wysiwyg/ante/banner4-blue.png +0 -0
  246. media/wysiwyg/ante/banner4-green.png +0 -0
  247. media/wysiwyg/ante/banner4-yellow.png +0 -0
  248. media/wysiwyg/ante/banner4.png +0 -0
  249. {skin/frontend/ma2/ante/images → media/wysiwyg/ante}/btn_paypal_checkout.gif +0 -0
  250. {skin/frontend/ma2/ante/images → media/wysiwyg/ante}/cirrur.png +0 -0
  251. {skin/frontend/ma2/ante/images → media/wysiwyg/ante}/facebook.png +0 -0
  252. {skin/frontend/ma2/ante/images → media/wysiwyg/ante}/master.png +0 -0
  253. {skin/frontend/ma2/ante/images → media/wysiwyg/ante}/paypal.png +0 -0
  254. media/wysiwyg/ante/right-adv-blue.png +0 -0
  255. media/wysiwyg/ante/right-adv-green.png +0 -0
  256. media/wysiwyg/ante/right-adv-yellow.png +0 -0
  257. media/wysiwyg/ante/right-adv.png +0 -0
  258. {skin/frontend/ma2/ante/images → media/wysiwyg/ante}/twitter.png +0 -0
  259. {skin/frontend/ma2/ante/images → media/wysiwyg/ante}/visa.png +0 -0
  260. package.xml +5 -5
  261. skin/frontend/ma2/ante/css/{styles-blue.css → blue.css} +5 -27
  262. skin/frontend/ma2/ante/css/coin-slider-styles.css +0 -23
  263. skin/frontend/ma2/ante/css/custom.css +1029 -266
  264. skin/frontend/ma2/ante/css/{styles-green.css → green.css} +5 -4
  265. skin/frontend/ma2/ante/css/images/btn_bg.gif +0 -0
  266. skin/frontend/ma2/ante/css/images/content_bg.gif +0 -0
  267. skin/frontend/ma2/ante/css/images/top_bg.gif +0 -0
  268. skin/frontend/ma2/ante/css/images/window_close.png +0 -0
  269. skin/frontend/ma2/ante/css/lib/prototype/windows/themes/magento.css +0 -64
  270. skin/frontend/ma2/ante/css/lib/prototype/windows/themes/magento/btn_bg.gif +0 -0
  271. skin/frontend/ma2/ante/css/lib/prototype/windows/themes/magento/content_bg.gif +0 -0
  272. skin/frontend/ma2/ante/css/lib/prototype/windows/themes/magento/top_bg.gif +0 -0
  273. skin/frontend/ma2/ante/css/lib/prototype/windows/themes/magento/window_close.png +0 -0
  274. skin/frontend/ma2/ante/css/ma2_featuredproducts/ma2_featuredproducts.css +92 -0
  275. skin/frontend/ma2/ante/css/ma2_manufacturers/css/frontend.css +74 -0
  276. skin/frontend/ma2/ante/css/ma2_manufacturers/images/btn-brand-next.png +0 -0
  277. skin/frontend/ma2/ante/css/ma2_manufacturers/images/btn-brand-prevous.png +0 -0
  278. skin/frontend/ma2/ante/css/ma2_manufacturers/js/carousel-min.js +25 -0
  279. skin/frontend/ma2/ante/css/ma2_widgetproductlists/ma2_widgetproductlists.css +0 -2
  280. skin/frontend/ma2/ante/css/ma2selectscreen/images/blue.gif +0 -0
  281. skin/frontend/ma2/ante/css/ma2selectscreen/images/desktop.gif +0 -0
  282. skin/frontend/ma2/ante/css/ma2selectscreen/images/green.gif +0 -0
  283. skin/frontend/ma2/ante/css/ma2selectscreen/images/nav-item-blue.gif +0 -0
  284. skin/frontend/ma2/ante/css/ma2selectscreen/images/nav-item.gif +0 -0
  285. skin/frontend/ma2/ante/css/ma2selectscreen/images/screens.png +0 -0
  286. skin/frontend/ma2/ante/css/ma2selectscreen/images/smartphone-landspace.gif +0 -0
  287. skin/frontend/ma2/ante/css/ma2selectscreen/images/smartphone-portraint.gif +0 -0
  288. skin/frontend/ma2/ante/css/ma2selectscreen/images/tablet-landscape.jpg +0 -0
  289. skin/frontend/ma2/ante/css/ma2selectscreen/images/tablet-landspace.gif +0 -0
  290. skin/frontend/ma2/ante/css/ma2selectscreen/images/tablet-portraint.gif +0 -0
  291. skin/frontend/ma2/ante/css/ma2selectscreen/images/tablet-portrait.jpg +0 -0
  292. skin/frontend/ma2/ante/css/ma2selectscreen/images/yellow.gif +0 -0
  293. skin/frontend/ma2/ante/css/ma2selectscreen/screen.css +0 -23
  294. skin/frontend/ma2/ante/css/ma2slideshow/images/desc-bg.png +0 -0
  295. skin/frontend/ma2/ante/css/ma2slideshow/images/next-prev.png +0 -0
  296. skin/frontend/ma2/ante/css/ma2slideshow/images/pix.gif +0 -0
  297. skin/frontend/ma2/ante/css/ma2slideshow/images/proto_controls_bg.png +0 -0
  298. skin/frontend/ma2/ante/css/ma2slideshow/images/proto_controls_pause_play_bg.png +0 -0
  299. skin/frontend/ma2/ante/css/ma2slideshow/protoshow.css +237 -0
  300. skin/frontend/ma2/ante/css/ma2slideshow/styles.css +85 -0
  301. skin/frontend/ma2/ante/css/menu_standard.css +0 -20
  302. skin/frontend/ma2/ante/css/navmain.css +0 -198
  303. skin/frontend/ma2/ante/css/oauth-simple.css +0 -122
  304. skin/frontend/ma2/ante/css/print.css +3 -4
  305. skin/frontend/ma2/ante/css/styles-ie-7-blue.css +4 -4
  306. skin/frontend/ma2/ante/css/styles-ie-7-green.css +2 -2
  307. skin/frontend/ma2/ante/css/styles-ie-7-yellow.css +3 -3
  308. skin/frontend/ma2/ante/css/styles-ie-8-blue.css +2 -2
  309. skin/frontend/ma2/ante/css/styles-ie-8-green.css +2 -2
  310. skin/frontend/ma2/ante/css/styles-ie-8-yellow.css +2 -2
  311. skin/frontend/ma2/ante/css/styles-ie-8.css +2 -2
  312. skin/frontend/ma2/ante/css/styles-ie.css +14 -94
  313. skin/frontend/ma2/ante/css/styles.css +556 -604
app/code/community/Ma2/FeaturedProducts/Block/Adminhtml/Edit.php ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Extensions
17
+ * @package Ma2_FeaturedProducts
18
+ * @copyright Copyright (c) 2013 MagenMarket. (http://www.magenmarket.com)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: Edit.php 4 2013-11-05 07:31:07Z linhnt $ */
22
+
23
+ class Ma2_FeaturedProducts_Block_Adminhtml_Edit extends Mage_Adminhtml_Block_Widget_Grid_Container {
24
+
25
+ public function __construct() {
26
+
27
+
28
+ $this->_blockGroup = 'featuredproducts';
29
+ $this->_controller = 'adminhtml_edit';
30
+
31
+
32
+ $this->_headerText = Mage::helper('adminhtml')->__('Featured Products Manager');
33
+
34
+ parent::__construct();
35
+
36
+ $this->_removeButton('add');
37
+
38
+ $this->_addButton('save', array(
39
+ 'label' => Mage::helper('featuredproducts')->__('Save Selected'),
40
+ 'onclick' => 'categorySubmit(\'' . $this->getSaveUrl() . '\')',
41
+ 'class' => 'save',
42
+ ));
43
+ }
44
+
45
+ public function getSaveUrl() {
46
+ return $this->getUrl('*/*/save', array('store' => $this->getRequest()->getParam('store')));
47
+ }
48
+
49
+ private function _prependHtml() {
50
+ $html = '
51
+
52
+ <form id="featured_edit_form" action="' . $this->getSaveUrl() . '" method="post" enctype="multipart/form-data">
53
+ <input name="form_key" type="hidden" value="' . $this->getFormKey() . '" />
54
+ <div class="no-display">
55
+ <input type="hidden" name="featured_products" id="saved_featured_products" value="" />
56
+ </div>
57
+ </form>
58
+ ';
59
+
60
+ return $html;
61
+ }
62
+
63
+ public function getHeaderHtml() {
64
+ return '<h3 style="background-image: url(' . $this->getSkinUrl('images/product_rating_full_star.gif') . ');" class="' . $this->getHeaderCssClass() . '">' . $this->getHeaderText() . '</h3>';
65
+ }
66
+
67
+ protected function _prepareLayout() {
68
+ $this->setChild('store_switcher', $this->getLayout()->createBlock('adminhtml/store_switcher', 'store_switcher')->setUseConfirm(false)
69
+ );
70
+ return parent::_prepareLayout();
71
+ }
72
+
73
+ public function getGridHtml() {
74
+
75
+ return $this->getChildHtml('store_switcher') . $this->_prependHtml() . $this->getChildHtml('grid');
76
+ }
77
+
78
+ }
79
+ ?>
app/code/{local → community}/Ma2/FeaturedProducts/Block/Adminhtml/Edit/Grid.php RENAMED
@@ -1,344 +1,379 @@
1
- <?php
2
- class Ma2_FeaturedProducts_Block_Adminhtml_Edit_Grid extends Mage_Adminhtml_Block_Widget_Grid
3
- {
4
- public function __construct() {
5
- parent::__construct();
6
-
7
- $this->setId('ma2_featured_products');
8
- $this->setDefaultSort('entity_id');
9
- $this->setUseAjax(true);
10
-
11
- $this->setRowClickCallback('FeaturedRowClick');
12
- }
13
-
14
- public function getProduct() {
15
- return Mage::registry('product');
16
- }
17
-
18
- protected function _getStore() {
19
- $storeId = (int) $this->getRequest()->getParam('store', 0);
20
- return Mage::app()->getStore($storeId);
21
- }
22
-
23
- protected function _addColumnFilterToCollection($column) {
24
-
25
- if ($this->getCollection()) {
26
- if ($column->getId() == 'websites') {
27
-
28
- $this->getCollection()->joinField('websites', 'catalog/product_website', 'website_id', 'product_id=entity_id', null, 'left');
29
- }
30
- }
31
-
32
-
33
- if ($column->getId() == "featured") {
34
- $productIds = $this->_getSelectedProducts();
35
-
36
- if (empty($productIds)) {
37
- $productIds = 0;
38
- }
39
- if ($column->getFilter()->getValue()) {
40
- $this->getCollection()->addFieldToFilter('entity_id', array('in' => $productIds));
41
- } elseif (!empty($productIds)) {
42
- $this->getCollection()->addFieldToFilter('entity_id', array('nin' => $productIds));
43
- }
44
- } else {
45
-
46
- parent::_addColumnFilterToCollection($column);
47
- }
48
-
49
- return $this;
50
- }
51
-
52
- protected function _prepareCollection() {
53
-
54
- $store = $this->_getStore();
55
-
56
- $collection = Mage::getModel('catalog/product')->getCollection()
57
- ->addAttributeToSelect('name')
58
- ->addAttributeToSelect('sku')
59
- ->addAttributeToSelect('ma2_featured_product')
60
- ->addAttributeToSelect('type_id')
61
- ->addAttributeToFilter('visibility', array('nin' => array(1, 3)));
62
-
63
-
64
- if ($store->getId()) {
65
- //$collection->setStoreId($store->getId());
66
- $collection->addStoreFilter($store);
67
- $collection->joinAttribute('custom_name', 'catalog_product/name', 'entity_id', null, 'inner', $store->getId());
68
- $collection->joinAttribute('status', 'catalog_product/status', 'entity_id', null, 'inner', $store->getId());
69
- $collection->joinAttribute('visibility', 'catalog_product/visibility', 'entity_id', 1, 'inner', $store->getId());
70
- $collection->joinAttribute('price', 'catalog_product/price', 'entity_id', null, 'left', $store->getId());
71
- } else {
72
- $collection->addAttributeToSelect('price');
73
- $collection->addAttributeToSelect('status');
74
- $collection->addAttributeToSelect('visibility');
75
- }
76
-
77
- $action_name = $this->getRequest()->getActionName();
78
-
79
- if ($action_name == 'exportCsv' || $action_name == 'exportXml') {
80
- $collection->addAttributeToFilter('ma2_featured_product', array('eq' => true));
81
- }
82
-
83
-
84
- $this->setCollection($collection);
85
-
86
- parent::_prepareCollection();
87
-
88
- $this->getCollection()->addWebsiteNamesToResult();
89
-
90
- return $this;
91
- }
92
-
93
- protected function _prepareColumns() {
94
-
95
- $action_name = $this->getRequest()->getActionName();
96
-
97
- if ($action_name != 'exportCsv' && $action_name != 'exportXml') {
98
-
99
- $this->addColumn('featured', array(
100
- 'header_css_class' => 'a-center',
101
- 'type' => 'checkbox',
102
- 'name' => 'featured',
103
- 'values' => $this->_getSelectedProducts(),
104
- 'align' => 'center',
105
- 'index' => 'entity_id'
106
- ));
107
- }
108
-
109
- $this->addColumn('entity_id', array(
110
- 'header' => Mage::helper('catalog')->__('ID'),
111
- 'sortable' => true,
112
- 'width' => '24px',
113
- 'index' => 'entity_id',
114
- 'type' => 'number'
115
- ));
116
-
117
- $this->addColumn('image', array(
118
- 'header' => Mage::helper('catalog')->__('Image'),
119
- 'name' => 'image',
120
- 'width' => '268px',
121
- 'index' => 'entity_id',
122
- 'renderer' => 'Ma2_FeaturedProducts_Block_Product'
123
- ));
124
-
125
- $this->addColumn('name', array(
126
- 'header' => Mage::helper('catalog')->__('Name'),
127
- 'index' => 'name',
128
- 'width' => '268px',
129
- ));
130
-
131
- $this->addColumn('type', array(
132
- 'header' => Mage::helper('catalog')->__('Type'),
133
- 'width' => '126px',
134
- 'index' => 'type_id',
135
- 'type' => 'options',
136
- 'options' => Mage::getSingleton('catalog/product_type')->getOptionArray(),
137
- ));
138
-
139
- $this->addColumn('sku', array(
140
- 'header' => Mage::helper('catalog')->__('SKU'),
141
- 'width' => '140px',
142
- 'index' => 'sku'
143
- ));
144
-
145
- $this->addColumn('visibility', array(
146
- 'header' => Mage::helper('catalog')->__('Visibility'),
147
- 'width' => '89px',
148
- 'index' => 'visibility',
149
- 'filter' => false,
150
- //'renderer' => 'ma2FeaturedProducts/adminhtml_edit_renderer_visibility',
151
- ));
152
-
153
- if (!Mage::app()->isSingleStoreMode()) {
154
- $this->addColumn('websites', array(
155
- 'header' => Mage::helper('catalog')->__('Websites'),
156
- 'sortable' => false,
157
- 'index' => 'websites',
158
- 'type' => 'options',
159
- 'options' => Mage::getModel('core/website')->getCollection()->toOptionHash(),
160
- ));
161
- }
162
-
163
- $store = $this->_getStore();
164
- $this->addColumn('price', array(
165
- 'header' => Mage::helper('catalog')->__('Price'),
166
- 'type' => 'price',
167
- 'currency_code' => $store->getBaseCurrency()->getCode(),
168
- 'index' => 'price',
169
- ));
170
-
171
- $this->addExportType('*/*/exportCsv', Mage::helper('FeaturedProducts')->__('CSV'));
172
- $this->addExportType('*/*/exportXml', Mage::helper('FeaturedProducts')->__('Excel XML'));
173
-
174
- return parent::_prepareColumns();
175
- }
176
-
177
- public function getGridUrl() {
178
- return $this->getUrl('*/*/grid', array('_current' => true));
179
- }
180
-
181
- protected function _getSelectedProducts($json = false) {
182
- $temp = $this->getRequest()->getPost('featured_ids');
183
- $store = $this->_getStore();
184
-
185
- if ($temp) {
186
- parse_str($temp, $featured_ids);
187
- }
188
-
189
- $_prod = Mage::getModel('catalog/product')->getCollection()
190
- ->joinAttribute('ma2_featured_product', 'catalog_product/ma2_featured_product', 'entity_id', null, 'left', $store->getId())
191
- ->addAttributeToFilter('ma2_featured_product', '1');
192
-
193
- $products = $_prod->getColumnValues('entity_id');
194
- $selected_products = array();
195
-
196
-
197
- if ($json == true) {
198
- foreach ($products as $key => $value) {
199
- $selected_products[$value] = '1';
200
- }
201
- return Zend_Json::encode($selected_products);
202
- } else {
203
-
204
- foreach ($products as $key => $value) {
205
- if ((isset($featured_ids[$value])) && ($featured_ids[$value] == 0)) {
206
-
207
- }else
208
- $selected_products[$value] = '0';
209
- }
210
-
211
- if (isset($featured_ids))
212
- foreach ($featured_ids as $key => $value) {
213
- if ($value == 1)
214
- $selected_products[$key] = '0';
215
- }
216
-
217
- return array_keys($selected_products);
218
- }
219
-
220
- return $products;
221
- }
222
-
223
- //add javascript before/after grid html
224
- protected function _afterToHtml($html) {
225
- return $this->_prependHtml() . parent::_afterToHtml($html) . $this->_appendHtml();
226
- }
227
-
228
- private function _prependHtml() {
229
- $gridName = $this->getJsObjectName();
230
-
231
- $html =
232
- <<<EndHTML
233
- <script type="text/javascript">
234
- //<![CDATA[
235
-
236
- categoryForm = new varienForm('featured_edit_form');
237
- categoryForm.submit= function (url) {
238
-
239
- this._submit();
240
-
241
- return true;
242
-
243
-
244
- };
245
-
246
- document.observe("dom:loaded", function() {
247
-
248
- var everycheckbox = $$("#ma2_featured_products_table tbody input.checkbox");
249
-
250
- everycheckbox.each(function(element, index) {
251
- element.onclick = function(e)
252
- {
253
- var val = element.value;
254
- if(element.checked)
255
- {
256
- element.checked = false;
257
- checkBoxes.set(val, 0);
258
- }
259
- else
260
- {
261
- element.checked = "checked";
262
- checkBoxes.set(val, 1);
263
- }
264
- }
265
- });
266
-
267
- });
268
-
269
-
270
- function categorySubmit(url) {
271
-
272
- var params = {};
273
- var fields = $('featured_edit_form').getElementsBySelector('input', 'select');
274
-
275
- categoryForm.submit();
276
- }
277
-
278
- function FeaturedRowClick(grid, event)
279
- {
280
-
281
- var trElement = Event.findElement(event, 'tr');
282
- var isInput = Event.element(event).tagName == 'INPUT';
283
-
284
- var checkbox = Element.getElementsBySelector(trElement, 'input.checkbox').first();
285
-
286
- if(!checkbox) return;
287
-
288
- var val = checkbox.value;
289
-
290
- if(checkbox.checked)
291
- {
292
- checkbox.checked = false;
293
- checkBoxes.set(val, 0);
294
- }
295
- else
296
- {
297
- checkbox.checked = "checked";
298
- checkBoxes.set(val, 1);
299
- }
300
-
301
- $("in_featured_products").value = checkBoxes.toQueryString();
302
- console.log("Products", checkBoxes);
303
- $gridName.reloadParams = {'featured_ids':checkBoxes.toQueryString()};
304
- }
305
-
306
- //]]>
307
-
308
- </script>
309
- EndHTML;
310
-
311
- return $html;
312
- }
313
-
314
- private function _appendHtml() {
315
- $html = '<script type="text/javascript">
316
- var checkBoxes = $H();
317
-
318
- var checkbox_all = $$("#ma2_featured_products_table thead input.checkbox").first();
319
- var everycheckbox = $$("#ma2_featured_products_table tbody input.checkbox");
320
-
321
- checkbox_all.observe("click", function(event) {
322
-
323
- if(checkbox_all.checked)
324
- {
325
- everycheckbox.each(function(element, index) {
326
-
327
- checkBoxes.set(element.value, 1)
328
-
329
- });
330
- } else
331
- {
332
- everycheckbox.each(function(element, index) {
333
- checkBoxes.set(element.value, 0)
334
- });
335
- }
336
- $("in_featured_products").value = checkBoxes.toQueryString();
337
- });
338
-
339
- </script>';
340
-
341
- return $html;
342
- }
343
-
344
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Extensions
17
+ * @package Ma2_FeaturedProducts
18
+ * @copyright Copyright (c) 2013 MagenMarket. (http://www.magenmarket.com)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: Grid.php 4 2013-11-05 07:31:07Z linhnt $ */
22
+ class Ma2_FeaturedProducts_Block_Adminhtml_Edit_Grid extends Mage_Adminhtml_Block_Widget_Grid {
23
+
24
+ public function __construct() {
25
+ parent::__construct();
26
+
27
+ $this->setId('ma2_featured_products');
28
+ $this->setDefaultSort('entity_id');
29
+ $this->setUseAjax(true);
30
+
31
+ $this->setRowClickCallback('FeaturedRowClick');
32
+ }
33
+
34
+ public function getProduct() {
35
+ return Mage::registry('product');
36
+ }
37
+
38
+ protected function _getStore() {
39
+ $storeId = (int) $this->getRequest()->getParam('store', 0);
40
+ return Mage::app()->getStore($storeId);
41
+ }
42
+
43
+ protected function _addColumnFilterToCollection($column) {
44
+
45
+ if ($this->getCollection()) {
46
+ if ($column->getId() == 'websites') {
47
+
48
+ $this->getCollection()->joinField('websites', 'catalog/product_website', 'website_id', 'product_id=entity_id', null, 'left');
49
+ }
50
+ }
51
+
52
+
53
+ if ($column->getId() == "featured") {
54
+ $productIds = $this->_getSelectedProducts();
55
+
56
+ if (empty($productIds)) {
57
+ $productIds = 0;
58
+ }
59
+ if ($column->getFilter()->getValue()) {
60
+ $this->getCollection()->addFieldToFilter('entity_id', array('in' => $productIds));
61
+ } elseif (!empty($productIds)) {
62
+ $this->getCollection()->addFieldToFilter('entity_id', array('nin' => $productIds));
63
+ }
64
+ } else {
65
+
66
+ parent::_addColumnFilterToCollection($column);
67
+ }
68
+
69
+ return $this;
70
+ }
71
+
72
+ protected function _prepareCollection() {
73
+
74
+ $store = $this->_getStore();
75
+
76
+ $collection = Mage::getModel('catalog/product')->getCollection()
77
+ ->addAttributeToSelect('name')
78
+ ->addAttributeToSelect('sku')
79
+ ->addAttributeToSelect('ma2_featured_product')
80
+ ->addAttributeToSelect('type_id')
81
+ ->addAttributeToSelect('attribute_set_id')
82
+ ->addAttributeToSelect('thumbnail')
83
+ ->addAttributeToSelect('small_image')
84
+ ->addAttributeToSelect('image')
85
+ ->addAttributeToFilter('visibility', array('nin' => array(1, 3)));
86
+
87
+
88
+ if ($store->getId()) {
89
+ $collection->addStoreFilter($store);
90
+ $collection->joinAttribute('custom_name', 'catalog_product/name', 'entity_id', null, 'inner', $store->getId());
91
+ $collection->joinAttribute('status', 'catalog_product/status', 'entity_id', null, 'inner', $store->getId());
92
+ $collection->joinAttribute('visibility', 'catalog_product/visibility', 'entity_id', 1, 'inner', $store->getId());
93
+ $collection->joinAttribute('price', 'catalog_product/price', 'entity_id', null, 'left', $store->getId());
94
+ } else {
95
+ $collection->addAttributeToSelect('price');
96
+ $collection->addAttributeToSelect('status');
97
+ $collection->addAttributeToSelect('visibility');
98
+ }
99
+
100
+ $action_name = $this->getRequest()->getActionName();
101
+
102
+ if ($action_name == 'exportCsv' || $action_name == 'exportXml') {
103
+ $collection->addAttributeToFilter('ma2_featured_product', array('eq' => true));
104
+ }
105
+
106
+
107
+ $this->setCollection($collection);
108
+
109
+ parent::_prepareCollection();
110
+
111
+ $this->getCollection()->addWebsiteNamesToResult();
112
+
113
+ return $this;
114
+ }
115
+
116
+ protected function _prepareColumns() {
117
+
118
+ $action_name = $this->getRequest()->getActionName();
119
+
120
+ if ($action_name != 'exportCsv' && $action_name != 'exportXml') {
121
+
122
+ $this->addColumn('featured', array(
123
+ 'header_css_class' => 'a-center',
124
+ 'type' => 'checkbox',
125
+ 'name' => 'featured',
126
+ 'values' => $this->_getSelectedProducts(),
127
+ 'align' => 'center',
128
+ 'index' => 'entity_id'
129
+ ));
130
+ }
131
+
132
+ $this->addColumn('entity_id', array(
133
+ 'header' => Mage::helper('catalog')->__('ID'),
134
+ 'sortable' => true,
135
+ 'width' => '50px',
136
+ 'index' => 'entity_id',
137
+ 'type' => 'number'
138
+ ));
139
+ $this->addColumn('image', array(
140
+ 'header' => Mage::helper('catalog')->__('Image'),
141
+ 'width' => '50px',
142
+ 'index' => 'image',
143
+ 'filter' => false,
144
+ 'renderer' => 'featuredproducts/adminhtml_edit_renderer_thumbnail',
145
+ ));
146
+ $this->addColumn('name', array(
147
+ 'header' => Mage::helper('catalog')->__('Name'),
148
+ 'index' => 'name',
149
+ 'renderer' => 'featuredproducts/adminhtml_edit_renderer_name',
150
+ ));
151
+
152
+ $this->addColumn('type', array(
153
+ 'header' => Mage::helper('catalog')->__('Type'),
154
+ 'width' => '60px',
155
+ 'index' => 'type_id',
156
+ 'type' => 'options',
157
+ 'options' => Mage::getSingleton('catalog/product_type')->getOptionArray(),
158
+ ));
159
+
160
+ $sets = Mage::getResourceModel('eav/entity_attribute_set_collection')
161
+ ->setEntityTypeFilter(Mage::getModel('catalog/product')->getResource()->getTypeId())
162
+ ->load()
163
+ ->toOptionHash();
164
+
165
+ $this->addColumn('set_name', array(
166
+ 'header'=> Mage::helper('catalog')->__('Attrib. Set Name'),
167
+ 'width' => '100px',
168
+ 'index' => 'attribute_set_id',
169
+ 'type' => 'options',
170
+ 'options' => $sets,
171
+ ));
172
+
173
+ $this->addColumn('sku', array(
174
+ 'header' => Mage::helper('catalog')->__('SKU'),
175
+ 'width' => '140px',
176
+ 'index' => 'sku'
177
+ ));
178
+
179
+ $this->addColumn('visibility', array(
180
+ 'header' => Mage::helper('catalog')->__('Visibility'),
181
+ 'width' => '140px',
182
+ 'index' => 'visibility',
183
+ 'filter' => false,
184
+ 'renderer' => 'featuredproducts/adminhtml_edit_renderer_visibility',
185
+ ));
186
+
187
+ if (!Mage::app()->isSingleStoreMode()) {
188
+ $this->addColumn('websites', array(
189
+ 'header' => Mage::helper('catalog')->__('Websites'),
190
+ 'width' => '100px',
191
+ 'sortable' => false,
192
+ 'index' => 'websites',
193
+ 'type' => 'options',
194
+ 'options' => Mage::getModel('core/website')->getCollection()->toOptionHash(),
195
+ ));
196
+ }
197
+
198
+ $store = $this->_getStore();
199
+ $this->addColumn('price', array(
200
+ 'header' => Mage::helper('catalog')->__('Price'),
201
+ 'type' => 'price',
202
+ 'currency_code' => $store->getBaseCurrency()->getCode(),
203
+ 'index' => 'price',
204
+ ));
205
+
206
+ $this->addExportType('*/*/exportCsv', Mage::helper('featuredproducts')->__('CSV'));
207
+ $this->addExportType('*/*/exportXml', Mage::helper('featuredproducts')->__('Excel XML'));
208
+
209
+ return parent::_prepareColumns();
210
+ }
211
+
212
+ public function getGridUrl() {
213
+ return $this->getUrl('*/*/grid', array('_current' => true));
214
+ }
215
+
216
+ protected function _getSelectedProducts($json = false) {
217
+ $temp = $this->getRequest()->getPost('featured_ids');
218
+ $store = $this->_getStore();
219
+
220
+ if ($temp) {
221
+ parse_str($temp, $featured_ids);
222
+ }
223
+
224
+ $_prod = Mage::getModel('catalog/product')->getCollection()
225
+ ->joinAttribute('ma2_featured_product', 'catalog_product/ma2_featured_product', 'entity_id', null, 'left', $store->getId())
226
+ ->addAttributeToFilter('ma2_featured_product', '1');
227
+
228
+ $products = $_prod->getColumnValues('entity_id');
229
+ $selected_products = array();
230
+
231
+
232
+ if ($json == true) {
233
+ foreach ($products as $key => $value) {
234
+ $selected_products[$value] = '1';
235
+ }
236
+ return Zend_Json::encode($selected_products);
237
+ } else {
238
+
239
+ foreach ($products as $key => $value) {
240
+ if ((isset($featured_ids[$value])) && ($featured_ids[$value] == 0)) {
241
+
242
+ }else
243
+ $selected_products[$value] = '0';
244
+ }
245
+
246
+ if (isset($featured_ids))
247
+ foreach ($featured_ids as $key => $value) {
248
+ if ($value == 1)
249
+ $selected_products[$key] = '0';
250
+ }
251
+
252
+ return array_keys($selected_products);
253
+ }
254
+
255
+ return $products;
256
+ }
257
+
258
+ //add javascript before/after grid html
259
+ protected function _afterToHtml($html) {
260
+ return $this->_prependHtml() . parent::_afterToHtml($html) . $this->_appendHtml();
261
+ }
262
+
263
+ private function _prependHtml() {
264
+ $gridName = $this->getJsObjectName();
265
+
266
+ $html =
267
+ <<<EndHTML
268
+ <script type="text/javascript">
269
+ //<![CDATA[
270
+
271
+ categoryForm = new varienForm('featured_edit_form');
272
+ categoryForm.submit= function (url) {
273
+
274
+ this._submit();
275
+
276
+ return true;
277
+
278
+
279
+ };
280
+
281
+ document.observe("dom:loaded", function() {
282
+
283
+ var everycheckbox = $$("#ma2_featured_products_table tbody input.checkbox");
284
+
285
+ everycheckbox.each(function(element, index) {
286
+ element.onclick = function(e)
287
+ {
288
+ var val = element.value;
289
+ if(element.checked)
290
+ {
291
+ element.checked = false;
292
+ checkBoxes.set(val, 0);
293
+ }
294
+ else
295
+ {
296
+ element.checked = "checked";
297
+ checkBoxes.set(val, 1);
298
+ }
299
+ }
300
+ });
301
+
302
+ });
303
+
304
+
305
+ function categorySubmit(url) {
306
+
307
+ var params = {};
308
+ var fields = $('featured_edit_form').getElementsBySelector('input', 'select');
309
+
310
+ categoryForm.submit();
311
+ }
312
+
313
+ function FeaturedRowClick(grid, event)
314
+ {
315
+
316
+ var trElement = Event.findElement(event, 'tr');
317
+ var isInput = Event.element(event).tagName == 'INPUT';
318
+
319
+ var checkbox = Element.getElementsBySelector(trElement, 'input.checkbox').first();
320
+
321
+ if(!checkbox) return;
322
+
323
+ var val = checkbox.value;
324
+
325
+ if(checkbox.checked)
326
+ {
327
+ checkbox.checked = false;
328
+ checkBoxes.set(val, 0);
329
+ }
330
+ else
331
+ {
332
+ checkbox.checked = "checked";
333
+ checkBoxes.set(val, 1);
334
+ }
335
+
336
+ $("saved_featured_products").value = checkBoxes.toQueryString();
337
+ $gridName.reloadParams = {'featured_ids':checkBoxes.toQueryString()};
338
+ }
339
+
340
+ //]]>
341
+
342
+ </script>
343
+ EndHTML;
344
+
345
+ return $html;
346
+ }
347
+
348
+ private function _appendHtml() {
349
+ $html = '<script type="text/javascript">
350
+ var checkBoxes = $H();
351
+
352
+ var checkbox_all = $$("#ma2_featured_products_table thead input.checkbox").first();
353
+ var everycheckbox = $$("#ma2_featured_products_table tbody input.checkbox");
354
+
355
+ checkbox_all.observe("click", function(event) {
356
+
357
+ if(checkbox_all.checked)
358
+ {
359
+ everycheckbox.each(function(element, index) {
360
+
361
+ checkBoxes.set(element.value, 1)
362
+
363
+ });
364
+ } else
365
+ {
366
+ everycheckbox.each(function(element, index) {
367
+ checkBoxes.set(element.value, 0)
368
+ });
369
+ }
370
+ $("saved_featured_products").value = checkBoxes.toQueryString();
371
+ });
372
+
373
+ </script>';
374
+
375
+ return $html;
376
+ }
377
+
378
+ }
379
+ ?>
app/code/community/Ma2/FeaturedProducts/Block/Adminhtml/Edit/Renderer/Name.php ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Extensions
17
+ * @package Ma2_FeaturedProducts
18
+ * @copyright Copyright (c) 2013 MagenMarket. (http://www.magenmarket.com)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: Name.php 4 2013-11-05 07:31:07Z linhnt $ */
22
+
23
+ class Ma2_FeaturedProducts_Block_Adminhtml_Edit_Renderer_Name extends Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Abstract {
24
+
25
+ protected $_values;
26
+
27
+ /**
28
+ * Renders grid column
29
+ *
30
+ * @param Varien_Object $row
31
+ * @return string
32
+ */
33
+ public function render(Varien_Object $row) {
34
+
35
+ $action_name = $this->getRequest()->getActionName();
36
+
37
+ if ($action_name == 'exportCsv' || $action_name == 'exportXml') {
38
+ return $row->getName();
39
+ }
40
+
41
+ $href = $this->getUrl('*/catalog_product/edit', array(
42
+ 'store' => $this->getRequest()->getParam('store'),
43
+ 'id' => $row->getId()));
44
+
45
+ $html = '<a href="' . $href . '">' . $row->getName() . '</a>';
46
+
47
+ return $html;
48
+ }
49
+
50
+ }
51
+ ?>
app/code/community/Ma2/FeaturedProducts/Block/Adminhtml/Edit/Renderer/Thumbnail.php ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Extensions
17
+ * @package Ma2_FeaturedProducts
18
+ * @copyright Copyright (c) 2013 MagenMarket. (http://www.magenmarket.com)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: Thumbnail.php 8 2013-12-18 09:22:02Z linhnt $ */
22
+
23
+ class Ma2_FeaturedProducts_Block_Adminhtml_Edit_Renderer_Thumbnail extends Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Abstract
24
+ {
25
+ protected $_values;
26
+
27
+ /**
28
+ * Renders grid column
29
+ *
30
+ * @param Varien_Object $row
31
+ * @return string
32
+ */
33
+ public function render(Varien_Object $row)
34
+ {
35
+ $html = 'No image';
36
+ try{
37
+ if ($row->getThumbnail() && $row->getThumbnail() != 'noselection'){
38
+ $html = '<a href="'.Mage::helper('catalog/image')->init($row, 'thumbnail').'" target="_blank"><img src="'. Mage::helper('catalog/image')->init($row, 'thumbnail')->resize(50) . '" alt=""/></a>';
39
+ }
40
+ else if ($row->getSmallImage() && $row->getSmallImage() != 'noselection'){
41
+ $html = '<a href="'.Mage::helper('catalog/image')->init($row, 'small_image').'" target="_blank"><img src="'. Mage::helper('catalog/image')->init($row, 'small_image')->resize(50) . '" alt=""/></a>';
42
+ }
43
+ else if ($row->getImage() && $row->getImage() != 'noselection'){
44
+ $html = '<a href="'.Mage::helper('catalog/image')->init($row, 'image').'" target="_blank"><img src="'. Mage::helper('catalog/image')->init($row, 'image')->resize(50) . '" alt=""/></a>';
45
+ }
46
+ } catch (Exception $e){}
47
+
48
+ return $html;
49
+ }
50
+ }
51
+ ?>
app/code/community/Ma2/FeaturedProducts/Block/Adminhtml/Edit/Renderer/Visibility.php ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Extensions
17
+ * @package Ma2_FeaturedProducts
18
+ * @copyright Copyright (c) 2013 MagenMarket. (http://www.magenmarket.com)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: Visibility.php 4 2013-11-05 07:31:07Z linhnt $ */
22
+
23
+ class Ma2_FeaturedProducts_Block_Adminhtml_Edit_Renderer_Visibility extends Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Abstract
24
+ {
25
+ protected $_values;
26
+
27
+ /**
28
+ * Renders grid column
29
+ *
30
+ * @param Varien_Object $row
31
+ * @return string
32
+ */
33
+ public function render(Varien_Object $row)
34
+ {
35
+
36
+ $this->_values = Mage::getModel('catalog/product_visibility')->getOptionArray();
37
+
38
+ $html = $this->_values[$row->getData($this->getColumn()->getIndex())];
39
+
40
+ return $html;
41
+ }
42
+ }
43
+ ?>
app/code/community/Ma2/FeaturedProducts/Block/Block.php ADDED
@@ -0,0 +1,114 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Extensions
17
+ * @package Ma2_FeaturedProducts
18
+ * @copyright Copyright (c) 2013 MagenMarket. (http://www.magenmarket.com)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: Block.php 4 2013-11-05 07:31:07Z linhnt $ */
22
+
23
+ class Ma2_FeaturedProducts_Block_Block extends Mage_Catalog_Block_Product_Abstract {
24
+ /*
25
+ * Check sort option and limits set in System->Configuration and apply them
26
+ * Additionally, set template to block so call from CMS will look like {{block type="featuredproducts/listing"}}
27
+ */
28
+ protected $params;
29
+
30
+ public function __construct() {
31
+ parent::__construct();
32
+ $this->setTemplate('ma2_featuredproducts/block.phtml');
33
+ $this->params = (array)Mage::getStoreConfig("featuredproducts/block");
34
+ }
35
+
36
+ /**
37
+ * Get products collection
38
+ */
39
+
40
+ protected function _getProductCollection()
41
+ {
42
+ if (is_null($this->_productCollection)) {
43
+ $collection = Mage::getModel('catalog/product')->getCollection();
44
+ $attributes = Mage::getSingleton('catalog/config')
45
+ ->getProductAttributes();
46
+
47
+ $storeId = Mage::app()->getStore()->getId();
48
+
49
+ $collection->addAttributeToSelect($attributes)
50
+ ->addMinimalPrice()
51
+ ->addFinalPrice()
52
+ ->addTaxPercents()
53
+ ->addAttributeToFilter('status', 1)
54
+ ->addAttributeToFilter('ma2_featured_product', 1)
55
+ ->addStoreFilter($storeId)
56
+ ->setOrder($this->params['sort_by'], $this->params['sort_dir'])
57
+ ;
58
+
59
+ Mage::getSingleton('catalog/product_status')->addVisibleFilterToCollection($collection);
60
+ Mage::getSingleton('catalog/product_visibility')->addVisibleInCatalogFilterToCollection($collection);
61
+
62
+ $collection->setPageSize($this->params['products_count'])
63
+ ->setCurPage(1);
64
+ Mage::getModel('review/review')->appendSummary($collection);
65
+ $collection->load();
66
+
67
+ $this->_productCollection = $collection;
68
+ }
69
+
70
+ return $this->_productCollection;
71
+ }
72
+
73
+ /*
74
+ * Load featured products collection
75
+ * */
76
+
77
+ protected function _beforeToHtml() {
78
+
79
+ $this->assign('FeaturedProductCollection',$this->_getProductCollection());
80
+ $_columnCount = $this->params['column_count'];
81
+ if(!$_columnCount || $_columnCount == 0 || empty($_columnCount)) $_columnCount = 3;
82
+ $size_width = 100/$_columnCount;
83
+ $this->assign('item_width',$size_width);
84
+ $this->assign('_columnCount',(int)$_columnCount);
85
+
86
+ /* assign variables in the parameters */
87
+ foreach($this->params as $_para=>$value)
88
+ {
89
+ $this->assign($_para, $value);
90
+ }
91
+
92
+ return parent::_beforeToHtml();
93
+ }
94
+
95
+ protected function _toHtml() {
96
+
97
+ if (!$this->helper('featuredproducts')->getIsActive()) {
98
+ return '';
99
+ }
100
+
101
+ return parent::_toHtml();
102
+ }
103
+
104
+ /*
105
+ * Return label for CMS block output
106
+ * */
107
+
108
+ protected function getBlockLabel() {
109
+ return $this->helper('featuredproducts')->getCmsBlockLabel();
110
+ }
111
+
112
+ }
113
+
114
+ ?>
app/code/community/Ma2/FeaturedProducts/Block/Standalone/List.php ADDED
@@ -0,0 +1,119 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Extensions
17
+ * @package Ma2_FeaturedProducts
18
+ * @copyright Copyright (c) 2013 MagenMarket. (http://www.magenmarket.com)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: List.php 4 2013-11-05 07:31:07Z linhnt $ */
22
+
23
+ class Ma2_FeaturedProducts_Block_Standalone_List extends Mage_Catalog_Block_Product_List
24
+ {
25
+ protected $_productCollection;
26
+ protected $params;
27
+
28
+ public function __construct() {
29
+ parent::__construct();
30
+ $this->params = (array)Mage::getStoreConfig("featuredproducts/standalone");
31
+ }
32
+
33
+ protected function _prepareLayout()
34
+ {
35
+ if ($breadcrumbsBlock = $this->getLayout()->getBlock('breadcrumbs')) {
36
+ $breadcrumbsBlock->addCrumb('home', array(
37
+ 'label'=>Mage::helper('catalog')->__('Home'),
38
+ 'title'=>Mage::helper('catalog')->__('Go to Home Page'),
39
+ 'link'=>Mage::getBaseUrl()
40
+ ));
41
+ }
42
+
43
+ parent::_prepareLayout();
44
+ }
45
+
46
+
47
+ /*
48
+ * Load featured products collection
49
+ * */
50
+ protected function _getProductCollection()
51
+ {
52
+
53
+ if (is_null($this->_productCollection)) {
54
+ $collection = Mage::getModel('catalog/product')->getCollection();
55
+ $attributes = Mage::getSingleton('catalog/config')
56
+ ->getProductAttributes();
57
+
58
+ $storeId = Mage::app()->getStore()->getId();
59
+
60
+ $limit = (int)$this->getRequest()->getParam('limit') ? (int)$this->getRequest()->getParam('limit') : (int)$this->getToolbarBlock()->getDefaultPerPageValue();
61
+
62
+ $collection->addAttributeToSelect($attributes)
63
+ ->addMinimalPrice()
64
+ ->addFinalPrice()
65
+ ->addTaxPercents()
66
+ ->addAttributeToFilter('status', 1)
67
+ ->addAttributeToFilter('ma2_featured_product', 1)
68
+ ->addStoreFilter($storeId)
69
+ ->setOrder($this->getRequest()->getParam('order'), $this->getRequest()->getParam('dir'))
70
+ ;
71
+
72
+ Mage::getSingleton('catalog/product_status')->addVisibleFilterToCollection($collection);
73
+ Mage::getSingleton('catalog/product_visibility')->addVisibleInCatalogFilterToCollection($collection);
74
+
75
+ $collection->setPageSize($limit)
76
+ ->setCurPage($this->getRequest()->getParam('p'));
77
+ Mage::getModel('review/review')->appendSummary($collection);
78
+ $collection->load();
79
+
80
+ $this->_productCollection = $collection;
81
+ }
82
+ return $this->_productCollection;
83
+ }
84
+
85
+
86
+ /*
87
+ * Remove "Position" option from Sort By dropdown
88
+ * Assign product and params
89
+ */
90
+ protected function _beforeToHtml()
91
+ {
92
+ parent::_beforeToHtml();
93
+ $toolbar = $this->getToolbarBlock();
94
+ $toolbar->removeOrderFromAvailableOrders('position');
95
+
96
+ if (!$this->_getProductCollection()->count()){
97
+ return '';
98
+ }
99
+
100
+ $this->assign('FeaturedProductCollection', $this->_getProductCollection());
101
+ $_columnCount = (int)$this->params['column_count'];
102
+ if(!$_columnCount || $_columnCount == 0 || empty($_columnCount)) $_columnCount = 3;
103
+ $size_width = 100/$_columnCount;
104
+ $this->assign('item_width',$size_width);
105
+ $this->assign('_columnCount', $_columnCount);
106
+ $this->setData('column_count', $_columnCount);
107
+ /* assign variables in the parameters */
108
+ foreach($this->params as $_para=>$value)
109
+ {
110
+ $this->assign($_para, $value);
111
+ }
112
+
113
+ return $this;
114
+ }
115
+
116
+
117
+
118
+ }
119
+ ?>
app/code/community/Ma2/FeaturedProducts/Block/Widget.php ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Extensions
17
+ * @package Ma2_FeaturedProducts
18
+ * @copyright Copyright (c) 2013 MagenMarket. (http://www.magenmarket.com)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: Widget.php 4 2013-11-05 07:31:07Z linhnt $ */
22
+ ?>
23
+ <?php
24
+ class Ma2_FeaturedProducts_Block_Widget extends Mage_Catalog_Block_Product_Abstract
25
+ implements Mage_Widget_Block_Interface
26
+ {
27
+
28
+ /**
29
+ * Get products collection
30
+ */
31
+
32
+ protected function _getProductCollection()
33
+ {
34
+ if (is_null($this->_productCollection)) {
35
+ $collection = Mage::getModel('catalog/product')->getCollection();
36
+ $attributes = Mage::getSingleton('catalog/config')
37
+ ->getProductAttributes();
38
+
39
+ $storeId = Mage::app()->getStore()->getId();
40
+
41
+ $collection->addAttributeToSelect($attributes)
42
+ ->addMinimalPrice()
43
+ ->addFinalPrice()
44
+ ->addTaxPercents()
45
+ ->addAttributeToFilter('status', 1)
46
+ ->addAttributeToFilter('ma2_featured_product', 1)
47
+ ->addStoreFilter($storeId)
48
+ ->setOrder($this->getData('sort_by'), $this->getData('sort_dir'))
49
+ ;
50
+
51
+ Mage::getSingleton('catalog/product_status')->addVisibleFilterToCollection($collection);
52
+ Mage::getSingleton('catalog/product_visibility')->addVisibleInCatalogFilterToCollection($collection);
53
+
54
+ $collection->setPageSize($this->getData('products_count'))
55
+ ->setCurPage(1);
56
+ Mage::getModel('review/review')->appendSummary($collection);
57
+ $collection->load();
58
+
59
+ $this->_productCollection = $collection;
60
+ }
61
+
62
+ return $this->_productCollection;
63
+ }
64
+
65
+
66
+ /**
67
+ * To html
68
+ * Assign variables
69
+ */
70
+ protected function _toHtml()
71
+ {
72
+ $this->assign('WidgetProductProductCollection',$this->_getProductCollection());
73
+ $_columnCount = $this->getData('column_count');
74
+ if(!$_columnCount || $_columnCount == 0 || empty($_columnCount)) $_columnCount = 3;
75
+ $size_width = 100/$_columnCount;
76
+ $this->assign('item_width',$size_width);
77
+ $this->assign('_columnCount',(int)$_columnCount);
78
+ /* assign variables in the parameters */
79
+ foreach($this->getData() as $_para=>$value)
80
+ {
81
+ $this->assign($_para, $value);
82
+ }
83
+ return parent::_toHtml();
84
+ }
85
+
86
+ }
87
+ ?>
app/code/community/Ma2/FeaturedProducts/Helper/Data.php ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Extensions
17
+ * @package Ma2_FeaturedProducts
18
+ * @copyright Copyright (c) 2013 MagenMarket. (http://www.magenmarket.com)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: Data.php 4 2013-11-05 07:31:07Z linhnt $ */
22
+
23
+ class Ma2_FeaturedProducts_Helper_Data extends Mage_Core_Helper_Abstract {
24
+
25
+ const PATH_PAGE_HEADING = 'featuredproducts/standalone/heading';
26
+ const DEFAULT_LABEL = 'Featured Products';
27
+
28
+ public function getCmsBlockLabel() {
29
+ $configValue = Mage::getStoreConfig(self::PATH_CMS_HEADING);
30
+ return strlen($configValue) > 0 ? $configValue : self::DEFAULT_LABEL;
31
+ }
32
+
33
+ public function getPageLabel() {
34
+ $configValue = Mage::getStoreConfig(self::PATH_PAGE_HEADING);
35
+ return strlen($configValue) > 0 ? $configValue : self::DEFAULT_LABEL;
36
+ }
37
+
38
+ public function getIsActive() {
39
+ return (bool) Mage::getStoreConfig('featuredproducts/standalone/active');
40
+ }
41
+
42
+ }
43
+ ?>
app/code/community/Ma2/FeaturedProducts/Model/System/Config/Source/Listtype.php ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Extensions
17
+ * @package Ma2_FeaturedProducts
18
+ * @copyright Copyright (c) 2013 MagenMarket. (http://www.magenmarket.com)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: Listtype.php 4 2013-11-05 07:31:07Z linhnt $ */
22
+
23
+ class Ma2_FeaturedProducts_Model_System_Config_Source_Listtype
24
+ {
25
+ /*
26
+ * Prepare data for System->Configuration dropdown
27
+ * */
28
+ public function toOptionArray()
29
+ {
30
+ return array(
31
+ 'grid' => Mage::helper('adminhtml')->__('Grid'),
32
+ 'list' => Mage::helper('adminhtml')->__('List')
33
+ );
34
+ }
35
+ }
36
+ ?>
app/code/community/Ma2/FeaturedProducts/Model/System/Config/Source/Sortby.php ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Extensions
17
+ * @package Ma2_FeaturedProducts
18
+ * @copyright Copyright (c) 2013 MagenMarket. (http://www.magenmarket.com)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: Sortby.php 4 2013-11-05 07:31:07Z linhnt $ */
22
+
23
+ class Ma2_FeaturedProducts_Model_System_Config_Source_Sortby
24
+ {
25
+ /*
26
+ * Prepare data for System->Configuration dropdown
27
+ * */
28
+ public function toOptionArray()
29
+ {
30
+ return array(
31
+ 'price' => Mage::helper('adminhtml')->__('Price'),
32
+ 'name' => Mage::helper('adminhtml')->__('Name'),
33
+ 'created_at' => Mage::helper('adminhtml')->__('Created date')
34
+ );
35
+ }
36
+ }
37
+ ?>
app/code/community/Ma2/FeaturedProducts/Model/System/Config/Source/Sortdir.php ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Extensions
17
+ * @package Ma2_FeaturedProducts
18
+ * @copyright Copyright (c) 2013 MagenMarket. (http://www.magenmarket.com)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: Sortdir.php 4 2013-11-05 07:31:07Z linhnt $ */
22
+
23
+ class Ma2_FeaturedProducts_Model_System_Config_Source_Sortdir
24
+ {
25
+ /*
26
+ * Prepare data for System->Configuration dropdown
27
+ * */
28
+ public function toOptionArray()
29
+ {
30
+ return array(
31
+ 'DESC' => Mage::helper('adminhtml')->__('DESC'),
32
+ 'ASC' => Mage::helper('adminhtml')->__('ASC')
33
+ );
34
+ }
35
+ }
36
+ ?>
app/code/{local → community}/Ma2/FeaturedProducts/controllers/Adminhtml/FeaturedController.php RENAMED
@@ -1,97 +1,144 @@
1
- <?php
2
- class Ma2_FeaturedProducts_Adminhtml_FeaturedController extends Mage_Adminhtml_Controller_Action
3
- {
4
- protected function _initProduct() {
5
- $product = Mage::getModel('catalog/product')
6
- ->setStoreId($this->getRequest()->getParam('store', 0));
7
- if ($setId = (int) $this->getRequest()->getParam('set')) {
8
- $product->setAttributeSetId($setId);
9
- }
10
- if ($typeId = $this->getRequest()->getParam('type')) {
11
- $product->setTypeId($typeId);
12
- }
13
- $product->setData('_edit_mode', true);
14
- Mage::register('product', $product);
15
- return $product;
16
- }
17
-
18
- public function indexAction() {
19
- $this->_initProduct();
20
- $this->loadLayout()->_setActiveMenu('catalog/featuredproduct');
21
- $this->_addContent($this->getLayout()->createBlock('FeaturedProducts/adminhtml_edit'));
22
- $this->renderLayout();
23
- }
24
-
25
- public function gridAction() {
26
- $this->getResponse()->setBody(
27
- $this->getLayout()->createBlock('FeaturedProducts/adminhtml_edit_grid')->toHtml()
28
- );
29
- }
30
-
31
- public function saveAction() {
32
- $data = $this->getRequest()->getPost();
33
- $collection = Mage::getModel('catalog/product')->getCollection();
34
- $storeId = $this->getRequest()->getParam('store', 0);
35
- parse_str($data['featured_products'], $featured_products);
36
- $collection->addIdFilter(array_keys($featured_products));
37
-
38
- try {
39
- foreach ($collection->getItems() as $product) {
40
- $product->setData('ma2_featured_product', $featured_products[$product->getEntityId()]);
41
- $product->setStoreId($storeId);
42
- $product->save();
43
- }
44
- $this->_getSession()->addSuccess($this->__('Featured product was successfully saved.'));
45
- $this->_redirect('*/*/index', array('store' => $this->getRequest()->getParam('store')));
46
- } catch (Exception $e) {
47
- $this->_getSession()->addError($e->getMessage());
48
- $this->_redirect('*/*/index', array('store' => $this->getRequest()->getParam('store')));
49
- }
50
- }
51
-
52
- protected function _validateSecretKey() {
53
- return true;
54
- }
55
-
56
- protected function _isAllowed() {
57
- return Mage::getSingleton('admin/session')->isAllowed('admin/catalog/featuredproduct');
58
- }
59
-
60
- private function _getExportFileName($extension='csv') {
61
- $store_id = $this->getRequest()->getParam('store');
62
- $name = 'featured_products_';
63
- if ($store_id) {
64
- $store = Mage::getModel('core/store')->load($store_id);
65
- if ($store && $store->getId()) {
66
- return $name . $store->getName() . '.' . $extension;
67
- }
68
- }
69
- return $name . 'AllStores.' . $extension;
70
- }
71
-
72
- /**
73
- * Export stylist grid to CSV format
74
- */
75
- public function exportCsvAction() {
76
-
77
- $fileName = $this->_getExportFileName('csv');
78
-
79
- $content = $this->getLayout()->createBlock('FeaturedProducts/adminhtml_edit_grid')
80
- ->getCsvFile();
81
-
82
- $this->_prepareDownloadResponse($fileName, $content);
83
- }
84
-
85
- /**
86
- * Export stylist grid to XML format
87
- */
88
- public function exportXmlAction() {
89
-
90
- $fileName = $this->_getExportFileName('xml');
91
-
92
- $content = $this->getLayout()->createBlock('FeaturedProducts/adminhtml_edit_grid')
93
- ->getExcelFile();
94
-
95
- $this->_prepareDownloadResponse($fileName, $content);
96
- }
97
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Extensions
17
+ * @package Ma2_FeaturedProducts
18
+ * @copyright Copyright (c) 2013 MagenMarket. (http://www.magenmarket.com)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: FeaturedController.php 5 2013-11-06 09:05:49Z linhnt $ */
22
+
23
+ class Ma2_FeaturedProducts_Adminhtml_FeaturedController extends Mage_Adminhtml_Controller_Action {
24
+
25
+ protected function _initProduct() {
26
+
27
+ $product = Mage::getModel('catalog/product')
28
+ ->setStoreId($this->getRequest()->getParam('store', 0));
29
+
30
+
31
+ if ($setId = (int) $this->getRequest()->getParam('set')) {
32
+ $product->setAttributeSetId($setId);
33
+ }
34
+
35
+ if ($typeId = $this->getRequest()->getParam('type')) {
36
+ $product->setTypeId($typeId);
37
+ }
38
+
39
+ $product->setData('_edit_mode', true);
40
+
41
+ Mage::register('product', $product);
42
+
43
+ return $product;
44
+ }
45
+
46
+ public function indexAction() {
47
+ $this->_initProduct();
48
+
49
+ $this->loadLayout()->_setActiveMenu('ma2/featuredproduct');
50
+
51
+ $this->_addContent($this->getLayout()->createBlock('featuredproducts/adminhtml_edit'));
52
+
53
+ $this->renderLayout();
54
+ }
55
+
56
+ public function gridAction() {
57
+
58
+ $this->getResponse()->setBody(
59
+ $this->getLayout()->createBlock('featuredproducts/adminhtml_edit_grid')->toHtml()
60
+ );
61
+ }
62
+
63
+ public function saveAction() {
64
+ $data = $this->getRequest()->getPost();
65
+ $collection = Mage::getModel('catalog/product')->getCollection();
66
+ $storeId = $this->getRequest()->getParam('store', 0);
67
+
68
+
69
+ parse_str($data['featured_products'], $featured_products);
70
+
71
+
72
+ $collection->addIdFilter(array_keys($featured_products));
73
+
74
+ try {
75
+
76
+ foreach ($collection->getItems() as $product) {
77
+
78
+ $product->setData('ma2_featured_product', $featured_products[$product->getEntityId()]);
79
+ $product->setStoreId($storeId);
80
+ $product->save();
81
+ }
82
+
83
+
84
+ $this->_getSession()->addSuccess($this->__('Featured product was successfully saved.'));
85
+ $this->_redirect('*/*/index', array('store' => $this->getRequest()->getParam('store')));
86
+ } catch (Exception $e) {
87
+ $this->_getSession()->addError($e->getMessage());
88
+ $this->_redirect('*/*/index', array('store' => $this->getRequest()->getParam('store')));
89
+ }
90
+ }
91
+
92
+ protected function _validateSecretKey() {
93
+ return true;
94
+ }
95
+
96
+ protected function _isAllowed() {
97
+ return Mage::getSingleton('admin/session')->isAllowed('admin/ma2/featuredproduct');
98
+ }
99
+
100
+ private function _getExportFileName($extension='csv') {
101
+
102
+ $store_id = $this->getRequest()->getParam('store');
103
+
104
+ $name = 'featured_products_';
105
+
106
+ if ($store_id) {
107
+ $store = Mage::getModel('core/store')->load($store_id);
108
+
109
+ if ($store && $store->getId()) {
110
+ return $name . $store->getName() . '.' . $extension;
111
+ }
112
+ }
113
+
114
+ return $name . 'AllStores.' . $extension;
115
+ }
116
+
117
+ /**
118
+ * Export stylist grid to CSV format
119
+ */
120
+ public function exportCsvAction() {
121
+
122
+ $fileName = $this->_getExportFileName('csv');
123
+
124
+ $content = $this->getLayout()->createBlock('featuredproducts/adminhtml_edit_grid')
125
+ ->getCsvFile();
126
+
127
+ $this->_prepareDownloadResponse($fileName, $content);
128
+ }
129
+
130
+ /**
131
+ * Export stylist grid to XML format
132
+ */
133
+ public function exportXmlAction() {
134
+
135
+ $fileName = $this->_getExportFileName('xml');
136
+
137
+ $content = $this->getLayout()->createBlock('featuredproducts/adminhtml_edit_grid')
138
+ ->getExcelFile();
139
+
140
+ $this->_prepareDownloadResponse($fileName, $content);
141
+ }
142
+
143
+ }
144
+ ?>
app/code/community/Ma2/FeaturedProducts/controllers/IndexController.php ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Extensions
17
+ * @package Ma2_FeaturedProducts
18
+ * @copyright Copyright (c) 2013 MagenMarket. (http://www.magenmarket.com)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: IndexController.php 4 2013-11-05 07:31:07Z linhnt $ */
22
+
23
+ class Ma2_FeaturedProducts_IndexController extends Mage_Core_Controller_Front_Action {
24
+ /*
25
+ * Check settings set in System->Configuration and apply them for featured-products page
26
+ * */
27
+
28
+ public function indexAction() {
29
+
30
+ if (!Mage::helper('featuredproducts')->getIsActive()) {
31
+ $this->_forward('noRoute');
32
+ return;
33
+ }
34
+
35
+ $template = Mage::getConfig()->getNode('global/page/layouts/' . Mage::getStoreConfig("featuredproducts/standalone/layout") . '/template');
36
+
37
+ $this->loadLayout();
38
+
39
+ $this->getLayout()->getBlock('root')->setTemplate($template);
40
+ $this->getLayout()->getBlock('head')->setTitle($this->__(Mage::getStoreConfig("featuredproducts/standalone/meta_title")));
41
+ $this->getLayout()->getBlock('head')->setDescription($this->__(Mage::getStoreConfig("featuredproducts/standalone/meta_description")));
42
+ $this->getLayout()->getBlock('head')->setKeywords($this->__(Mage::getStoreConfig("featuredproducts/standalone/meta_keywords")));
43
+
44
+ $breadcrumbsBlock = $this->getLayout()->getBlock('breadcrumbs');
45
+ $breadcrumbsBlock->addCrumb('featured_products', array(
46
+ 'label' => Mage::helper('featuredproducts')->__(Mage::helper('featuredproducts')->getPageLabel()),
47
+ 'title' => Mage::helper('featuredproducts')->__(Mage::helper('featuredproducts')->getPageLabel()),
48
+ ));
49
+
50
+ $this->renderLayout();
51
+ }
52
+
53
+ }
54
+ ?>
app/code/community/Ma2/FeaturedProducts/etc/adminhtml.xml ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <config>
2
+ <menu>
3
+ <ma2>
4
+ <children>
5
+ <featuredproduct translate="title">
6
+ <title>Featured Products</title>
7
+ <sort_order>19</sort_order>
8
+ <action>adminhtml/featured/index</action>
9
+ <children>
10
+ <featuredproduct_manager translate="title">
11
+ <title>Featured products manager</title>
12
+ <sort_order>1</sort_order>
13
+ <action>adminhtml/featured/index</action>
14
+ </featuredproduct_manager>
15
+ <featuredproduct_config translate="title">
16
+ <title>Configuration</title>
17
+ <sort_order>2</sort_order>
18
+ <action>adminhtml/system_config/edit/section/featuredproducts</action>
19
+ </featuredproduct_config>
20
+ </children>
21
+ </featuredproduct>
22
+ </children>
23
+ </ma2>
24
+ </menu>
25
+
26
+ <acl>
27
+ <resources>
28
+ <admin>
29
+ <children>
30
+ <system>
31
+ <children>
32
+ <config>
33
+ <children>
34
+ <featuredproducts translate="title" module="featuredproducts">
35
+ <title>Featured Products Settings</title>
36
+ <sort_order>50</sort_order>
37
+ </featuredproducts>
38
+ </children>
39
+ </config>
40
+ </children>
41
+ </system>
42
+ </children>
43
+ </admin>
44
+ <admin>
45
+ <children>
46
+ <ma2>
47
+ <children>
48
+ <featuredproduct translate="title" module="featuredproducts">
49
+ <title>Ma2 Featured Products</title>
50
+ <sort_order>60</sort_order>
51
+ <children>
52
+ <featuredproduct_manager>
53
+ <title>Featured products manager</title>
54
+ <sort_order>1</sort_order>
55
+ </featuredproduct_manager>
56
+ <featuredproduct_config>
57
+ <title>Configuration</title>
58
+ <sort_order>2</sort_order>
59
+ </featuredproduct_config>
60
+ </children>
61
+ </featuredproduct>
62
+ </children>
63
+ </ma2>
64
+ </children>
65
+ </admin>
66
+ </resources>
67
+ </acl>
68
+ </config>
app/code/community/Ma2/FeaturedProducts/etc/config.xml ADDED
@@ -0,0 +1,121 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <config>
3
+ <modules>
4
+ <Ma2_FeaturedProducts>
5
+ <version>1.0.0</version>
6
+ </Ma2_FeaturedProducts>
7
+ </modules>
8
+
9
+ <global>
10
+ <blocks>
11
+ <featuredproducts>
12
+ <class>Ma2_FeaturedProducts_Block</class>
13
+ </featuredproducts>
14
+ </blocks>
15
+
16
+ <helpers>
17
+ <featuredproducts>
18
+ <class>Ma2_FeaturedProducts_Helper</class>
19
+ </featuredproducts>
20
+ </helpers>
21
+
22
+ <models>
23
+ <featuredproducts>
24
+ <class>Ma2_FeaturedProducts_Model</class>
25
+ </featuredproducts>
26
+ </models>
27
+
28
+ <resources>
29
+ <featuredproducts_setup>
30
+ <setup>
31
+ <module>Ma2_FeaturedProducts</module>
32
+ <class>Mage_Eav_Model_Entity_Setup</class>
33
+ </setup>
34
+
35
+ <connection>
36
+ <use>core_setup</use>
37
+ </connection>
38
+ </featuredproducts_setup>
39
+
40
+ <featuredproducts_write>
41
+ <connection>
42
+ <use>core_write</use>
43
+ </connection>
44
+ </featuredproducts_write>
45
+ <featuredproducts_read>
46
+ <connection>
47
+ <use>core_read</use>
48
+ </connection>
49
+ </featuredproducts_read>
50
+ </resources>
51
+ </global>
52
+
53
+ <frontend>
54
+ <routers>
55
+ <featuredproducts>
56
+ <use>standard</use>
57
+ <args>
58
+ <module>Ma2_FeaturedProducts</module>
59
+ <frontName>featured-products</frontName>
60
+ </args>
61
+ </featuredproducts>
62
+ </routers>
63
+ <layout>
64
+ <updates>
65
+ <featuredproducts>
66
+ <file>ma2_featuredproducts.xml</file>
67
+ </featuredproducts>
68
+ </updates>
69
+ </layout>
70
+ </frontend>
71
+
72
+ <admin>
73
+ <routers>
74
+ <adminhtml>
75
+ <args>
76
+ <modules>
77
+ <featuredproducts before="Mage_Adminhtml">Ma2_FeaturedProducts_Adminhtml</featuredproducts>
78
+ </modules>
79
+ </args>
80
+ </adminhtml>
81
+ </routers>
82
+ </admin>
83
+
84
+ <default>
85
+ <featuredproducts>
86
+ <block>
87
+ <heading>Featured Products</heading>
88
+ <show_heading>1</show_heading>
89
+ <products_count>6</products_count>
90
+ <sort_by>created_at</sort_by>
91
+ <sort_dir>DESC</sort_dir>
92
+ <list_type>grid</list_type>
93
+ <column_count>3</column_count>
94
+ <show_addtocart>1</show_addtocart>
95
+ <show_details>1</show_details>
96
+ <show_price>1</show_price>
97
+ <show_short_description>1</show_short_description>
98
+ <short_description_limit>88</short_description_limit>
99
+ <thumbnail_width>135</thumbnail_width>
100
+ <thumbnail_height>135</thumbnail_height>
101
+ </block>
102
+ <standalone>
103
+ <active>0</active>
104
+ <heading>Featured Products</heading>
105
+ <layout>two_columns_right</layout>
106
+ <column_count>3</column_count>
107
+ <show_heading>1</show_heading>
108
+ <show_addtocart>1</show_addtocart>
109
+ <show_details>1</show_details>
110
+ <show_price>1</show_price>
111
+ <show_short_description>1</show_short_description>
112
+ <short_description_limit>88</short_description_limit>
113
+ <thumbnail_width>135</thumbnail_width>
114
+ <thumbnail_height>135</thumbnail_height>
115
+ <meta_title>Featured Products</meta_title>
116
+ <meta_description>Check out our great collection of Featured products</meta_description>
117
+ <meta_keywords>featured, products</meta_keywords>
118
+ </standalone>
119
+ </featuredproducts>
120
+ </default>
121
+ </config>
app/code/community/Ma2/FeaturedProducts/etc/system.xml ADDED
@@ -0,0 +1,390 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <tabs>
4
+ <ma2 translate="label" module="ma2all">
5
+ <label>MagenMarket Extensions</label>
6
+ <sort_order>168</sort_order>
7
+ </ma2>
8
+ </tabs>
9
+ <sections>
10
+ <featuredproducts translate="label" module="featuredproducts">
11
+ <class>separator-top</class>
12
+ <label>Ma2 Featured Products</label>
13
+ <tab>ma2</tab>
14
+ <sort_order>10</sort_order>
15
+ <show_in_default>1</show_in_default>
16
+ <show_in_website>1</show_in_website>
17
+ <show_in_store>1</show_in_store>
18
+ <groups>
19
+ <block translate="label">
20
+ <label>Featured Products Block</label>
21
+ <frontend_type>text</frontend_type>
22
+ <sort_order>0</sort_order>
23
+ <show_in_default>1</show_in_default>
24
+ <show_in_website>1</show_in_website>
25
+ <show_in_store>1</show_in_store>
26
+ <fields>
27
+ <heading translate="label comment">
28
+ <label>Block Heading</label>
29
+ <frontend_type>text</frontend_type>
30
+ <sort_order>2</sort_order>
31
+ <show_in_default>1</show_in_default>
32
+ <show_in_website>1</show_in_website>
33
+ <show_in_store>1</show_in_store>
34
+ </heading>
35
+ <show_heading translate="label comment">
36
+ <required>1</required>
37
+ <visible>1</visible>
38
+ <label>Display Block Heading</label>
39
+ <comment>Choose NO to hide the Block heading.</comment>
40
+ <frontend_type>select</frontend_type>
41
+ <source_model>adminhtml/system_config_source_yesno</source_model>
42
+ <sort_order>6</sort_order>
43
+ <show_in_default>1</show_in_default>
44
+ <show_in_website>1</show_in_website>
45
+ <show_in_store>1</show_in_store>
46
+ </show_heading>
47
+ <products_count translate="label">
48
+ <required>1</required>
49
+ <visible>1</visible>
50
+ <label>Maximum number of products</label>
51
+ <value>6</value>
52
+ <frontend_type>text</frontend_type>
53
+ <sort_order>9</sort_order>
54
+ <show_in_default>1</show_in_default>
55
+ <show_in_website>1</show_in_website>
56
+ <show_in_store>1</show_in_store>
57
+ </products_count>
58
+ <sort_by translate="label">
59
+ <visible>1</visible>
60
+ <label>Sort by</label>
61
+ <frontend_type>select</frontend_type>
62
+ <source_model>featuredproducts/system_config_source_sortby</source_model>
63
+ <sort_order>11</sort_order>
64
+ <show_in_default>1</show_in_default>
65
+ <show_in_website>1</show_in_website>
66
+ <show_in_store>1</show_in_store>
67
+ </sort_by>
68
+ <sort_dir translate="label">
69
+ <visible>1</visible>
70
+ <label>Sort direction</label>
71
+ <frontend_type>select</frontend_type>
72
+ <source_model>featuredproducts/system_config_source_sortdir</source_model>
73
+ <sort_order>13</sort_order>
74
+ <show_in_default>1</show_in_default>
75
+ <show_in_website>1</show_in_website>
76
+ <show_in_store>1</show_in_store>
77
+ </sort_dir>
78
+ <list_type translate="label">
79
+ <visible>1</visible>
80
+ <label>Display mode (grid, list)</label>
81
+ <frontend_type>select</frontend_type>
82
+ <source_model>featuredproducts/system_config_source_listtype</source_model>
83
+ <sort_order>15</sort_order>
84
+ <show_in_default>1</show_in_default>
85
+ <show_in_website>1</show_in_website>
86
+ <show_in_store>1</show_in_store>
87
+ </list_type>
88
+ <column_count>
89
+ <required>0</required>
90
+ <visible>1</visible>
91
+ <label>Number of products per row</label>
92
+ <value>3</value>
93
+ <frontend_type>text</frontend_type>
94
+ <sort_order>17</sort_order>
95
+ <show_in_default>1</show_in_default>
96
+ <show_in_website>1</show_in_website>
97
+ <show_in_store>1</show_in_store>
98
+ <depends>
99
+ <list_type><value>grid</value></list_type>
100
+ </depends>
101
+ </column_count>
102
+ <show_addtocart translate="label">
103
+ <visible>1</visible>
104
+ <label> Show Add To Cart button</label>
105
+ <frontend_type>select</frontend_type>
106
+ <sort_order>19</sort_order>
107
+ <value>1</value>
108
+ <show_in_default>1</show_in_default>
109
+ <show_in_website>1</show_in_website>
110
+ <show_in_store>1</show_in_store>
111
+ <source_model>adminhtml/system_config_source_yesno</source_model>
112
+ </show_addtocart>
113
+ <show_details translate="label">
114
+ <visible>1</visible>
115
+ <label> Show Details button</label>
116
+ <frontend_type>select</frontend_type>
117
+ <sort_order>21</sort_order>
118
+ <value>1</value>
119
+ <show_in_default>1</show_in_default>
120
+ <show_in_website>1</show_in_website>
121
+ <show_in_store>1</show_in_store>
122
+ <source_model>adminhtml/system_config_source_yesno</source_model>
123
+ </show_details>
124
+ <show_price translate="label">
125
+ <visible>1</visible>
126
+ <label>Show Price</label>
127
+ <frontend_type>select</frontend_type>
128
+ <sort_order>23</sort_order>
129
+ <value>1</value>
130
+ <show_in_default>1</show_in_default>
131
+ <show_in_website>1</show_in_website>
132
+ <show_in_store>1</show_in_store>
133
+ <source_model>adminhtml/system_config_source_yesno</source_model>
134
+ </show_price>
135
+ <show_short_description translate="label">
136
+ <visible>1</visible>
137
+ <label>Show short description</label>
138
+ <frontend_type>select</frontend_type>
139
+ <sort_order>25</sort_order>
140
+ <value>1</value>
141
+ <show_in_default>1</show_in_default>
142
+ <show_in_website>1</show_in_website>
143
+ <show_in_store>1</show_in_store>
144
+ <source_model>adminhtml/system_config_source_yesno</source_model>
145
+ </show_short_description>
146
+ <short_description_limit>
147
+ <required>0</required>
148
+ <visible>1</visible>
149
+ <label>Short description characters limit</label>
150
+ <frontend_type>text</frontend_type>
151
+ <sort_order>27</sort_order>
152
+ <value>88</value>
153
+ <show_in_default>1</show_in_default>
154
+ <show_in_website>1</show_in_website>
155
+ <show_in_store>1</show_in_store>
156
+ <depends>
157
+ <show_short_description><value>1</value></show_short_description>
158
+ </depends>
159
+ </short_description_limit>
160
+ <thumbnail_width>
161
+ <required>0</required>
162
+ <visible>1</visible>
163
+ <label>Width of thumbnail image</label>
164
+ <frontend_type>text</frontend_type>
165
+ <sort_order>29</sort_order>
166
+ <value>135</value>
167
+ <show_in_default>1</show_in_default>
168
+ <show_in_website>1</show_in_website>
169
+ <show_in_store>1</show_in_store>
170
+ </thumbnail_width>
171
+ <thumbnail_height>
172
+ <required>0</required>
173
+ <visible>1</visible>
174
+ <label>Height of thumbnail image</label>
175
+ <frontend_type>text</frontend_type>
176
+ <sort_order>31</sort_order>
177
+ <value>135</value>
178
+ <show_in_default>1</show_in_default>
179
+ <show_in_website>1</show_in_website>
180
+ <show_in_store>1</show_in_store>
181
+ </thumbnail_height>
182
+ </fields>
183
+ </block>
184
+
185
+ <standalone translate="label">
186
+ <label>Featured Products Standalone Page</label>
187
+ <frontend_type>text</frontend_type>
188
+ <sort_order>1</sort_order>
189
+ <show_in_default>1</show_in_default>
190
+ <show_in_website>1</show_in_website>
191
+ <show_in_store>1</show_in_store>
192
+ <fields>
193
+ <active translate="label comment">
194
+ <label>Enable standalone page</label>
195
+ <frontend_type>select</frontend_type>
196
+ <source_model>adminhtml/system_config_source_yesno</source_model>
197
+ <sort_order>2</sort_order>
198
+ <show_in_default>1</show_in_default>
199
+ <show_in_website>1</show_in_website>
200
+ <show_in_store>1</show_in_store>
201
+ </active>
202
+ <heading translate="label comment">
203
+ <label>Page Heading</label>
204
+ <frontend_type>text</frontend_type>
205
+ <sort_order>4</sort_order>
206
+ <show_in_default>1</show_in_default>
207
+ <show_in_website>1</show_in_website>
208
+ <show_in_store>1</show_in_store>
209
+ </heading>
210
+ <layout translate="label comment">
211
+ <label>Page Layout</label>
212
+ <comment>Layout for featured-products page</comment>
213
+ <frontend_type>select</frontend_type>
214
+ <source_model>page/source_layout</source_model>
215
+ <sort_order>6</sort_order>
216
+ <show_in_default>1</show_in_default>
217
+ <show_in_website>0</show_in_website>
218
+ <show_in_store>0</show_in_store>
219
+ </layout>
220
+ <show_heading translate="label comment">
221
+ <required>1</required>
222
+ <visible>1</visible>
223
+ <label>Display Page Heading</label>
224
+ <comment>Choose NO to hide the page heading.</comment>
225
+ <frontend_type>select</frontend_type>
226
+ <source_model>adminhtml/system_config_source_yesno</source_model>
227
+ <sort_order>8</sort_order>
228
+ <show_in_default>1</show_in_default>
229
+ <show_in_website>1</show_in_website>
230
+ <show_in_store>1</show_in_store>
231
+ </show_heading>
232
+
233
+ <spacer1>
234
+ <frontend_type>label</frontend_type>
235
+ <sort_order>10</sort_order>
236
+ <show_in_default>1</show_in_default>
237
+ <show_in_website>1</show_in_website>
238
+ <show_in_store>1</show_in_store>
239
+ </spacer1>
240
+ <spacer2>
241
+ <label>[ FEATURED PRODUCTS LISTING OPTIONS ]</label>
242
+ <frontend_type>label</frontend_type>
243
+ <sort_order>12</sort_order>
244
+ <show_in_default>1</show_in_default>
245
+ <show_in_website>1</show_in_website>
246
+ <show_in_store>1</show_in_store>
247
+ <comment><![CDATA[<strong>Note:</strong> To setup default value of List mode, Products per page, Available values of Product per page, etc. please go to <em>System -> Configuration -> Catalog -> Catalog -> Frontend</em>. ]]></comment>
248
+ </spacer2>
249
+
250
+
251
+ <column_count>
252
+ <required>0</required>
253
+ <visible>1</visible>
254
+ <label>Number of products per row in grid mode</label>
255
+ <value>3</value>
256
+ <frontend_type>text</frontend_type>
257
+ <sort_order>16</sort_order>
258
+ <show_in_default>1</show_in_default>
259
+ <show_in_website>1</show_in_website>
260
+ <show_in_store>1</show_in_store>
261
+ </column_count>
262
+ <show_addtocart translate="label">
263
+ <visible>1</visible>
264
+ <label> Show Add To Cart button</label>
265
+ <frontend_type>select</frontend_type>
266
+ <sort_order>19</sort_order>
267
+ <value>1</value>
268
+ <show_in_default>1</show_in_default>
269
+ <show_in_website>1</show_in_website>
270
+ <show_in_store>1</show_in_store>
271
+ <source_model>adminhtml/system_config_source_yesno</source_model>
272
+ </show_addtocart>
273
+ <show_details translate="label">
274
+ <visible>1</visible>
275
+ <label> Show Details button</label>
276
+ <frontend_type>select</frontend_type>
277
+ <sort_order>21</sort_order>
278
+ <value>1</value>
279
+ <show_in_default>1</show_in_default>
280
+ <show_in_website>1</show_in_website>
281
+ <show_in_store>1</show_in_store>
282
+ <source_model>adminhtml/system_config_source_yesno</source_model>
283
+ </show_details>
284
+ <show_price translate="label">
285
+ <visible>1</visible>
286
+ <label>Show Price</label>
287
+ <frontend_type>select</frontend_type>
288
+ <sort_order>23</sort_order>
289
+ <value>1</value>
290
+ <show_in_default>1</show_in_default>
291
+ <show_in_website>1</show_in_website>
292
+ <show_in_store>1</show_in_store>
293
+ <source_model>adminhtml/system_config_source_yesno</source_model>
294
+ </show_price>
295
+ <show_short_description translate="label">
296
+ <visible>1</visible>
297
+ <label>Show short description</label>
298
+ <frontend_type>select</frontend_type>
299
+ <sort_order>25</sort_order>
300
+ <value>1</value>
301
+ <show_in_default>1</show_in_default>
302
+ <show_in_website>1</show_in_website>
303
+ <show_in_store>1</show_in_store>
304
+ <source_model>adminhtml/system_config_source_yesno</source_model>
305
+ </show_short_description>
306
+ <short_description_limit>
307
+ <required>0</required>
308
+ <visible>1</visible>
309
+ <label>Short description characters limit</label>
310
+ <frontend_type>text</frontend_type>
311
+ <sort_order>27</sort_order>
312
+ <value>88</value>
313
+ <show_in_default>1</show_in_default>
314
+ <show_in_website>1</show_in_website>
315
+ <show_in_store>1</show_in_store>
316
+ <depends>
317
+ <show_short_description><value>1</value></show_short_description>
318
+ </depends>
319
+ </short_description_limit>
320
+ <thumbnail_width>
321
+ <required>0</required>
322
+ <visible>1</visible>
323
+ <label>Width of thumbnail image</label>
324
+ <frontend_type>text</frontend_type>
325
+ <sort_order>29</sort_order>
326
+ <value>135</value>
327
+ <show_in_default>1</show_in_default>
328
+ <show_in_website>1</show_in_website>
329
+ <show_in_store>1</show_in_store>
330
+ </thumbnail_width>
331
+ <thumbnail_height>
332
+ <required>0</required>
333
+ <visible>1</visible>
334
+ <label>Height of thumbnail image</label>
335
+ <frontend_type>text</frontend_type>
336
+ <sort_order>31</sort_order>
337
+ <value>135</value>
338
+ <show_in_default>1</show_in_default>
339
+ <show_in_website>1</show_in_website>
340
+ <show_in_store>1</show_in_store>
341
+ </thumbnail_height>
342
+
343
+ <spacer3>
344
+ <frontend_type>label</frontend_type>
345
+ <sort_order>33</sort_order>
346
+ <show_in_default>1</show_in_default>
347
+ <show_in_website>1</show_in_website>
348
+ <show_in_store>1</show_in_store>
349
+ </spacer3>
350
+ <spacer4>
351
+ <label>[ PAGE SEO OPTIONS ]</label>
352
+ <frontend_type>label</frontend_type>
353
+ <sort_order>34</sort_order>
354
+ <show_in_default>1</show_in_default>
355
+ <show_in_website>1</show_in_website>
356
+ <show_in_store>1</show_in_store>
357
+ </spacer4>
358
+
359
+ <meta_title translate="label comment">
360
+ <label>Meta Title</label>
361
+ <frontend_type>text</frontend_type>
362
+ <sort_order>35</sort_order>
363
+ <show_in_default>1</show_in_default>
364
+ <show_in_website>1</show_in_website>
365
+ <show_in_store>1</show_in_store>
366
+ </meta_title>
367
+
368
+ <meta_description translate="label comment">
369
+ <label>Meta Description</label>
370
+ <frontend_type>textarea</frontend_type>
371
+ <sort_order>37</sort_order>
372
+ <show_in_default>1</show_in_default>
373
+ <show_in_website>1</show_in_website>
374
+ <show_in_store>1</show_in_store>
375
+ </meta_description>
376
+
377
+ <meta_keywords translate="label comment">
378
+ <label>Meta Keywords</label>
379
+ <frontend_type>textarea</frontend_type>
380
+ <sort_order>39</sort_order>
381
+ <show_in_default>1</show_in_default>
382
+ <show_in_website>1</show_in_website>
383
+ <show_in_store>1</show_in_store>
384
+ </meta_keywords>
385
+ </fields>
386
+ </standalone>
387
+ </groups>
388
+ </featuredproducts>
389
+ </sections>
390
+ </config>
app/code/community/Ma2/FeaturedProducts/etc/widget.xml ADDED
@@ -0,0 +1,153 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <widgets>
3
+ <featuredproduts translate="name description" type="featuredproducts/widget">
4
+ <name>Ma2 Featured Products widget</name>
5
+ <description type="desc">Help adding featured products listing to CMS page or static block</description>
6
+ <parameters>
7
+ <widget_title translate="label description">
8
+ <required>0</required>
9
+ <visible>1</visible>
10
+ <label>Frontend Title</label>
11
+ <value>Featured Products</value>
12
+ <type>text</type>
13
+ <description>The frontend widget instance title</description>
14
+ </widget_title>
15
+ <show_widget_title translate="label description">
16
+ <required>1</required>
17
+ <visible>1</visible>
18
+ <label>Display Frontend Title</label>
19
+ <description>Choose NO to hide the frontend widget instance title.</description>
20
+ <type>select</type>
21
+ <source_model>adminhtml/system_config_source_yesno</source_model>
22
+ </show_widget_title>
23
+ <products_count translate="label">
24
+ <required>1</required>
25
+ <visible>1</visible>
26
+ <label>Maximum number of products</label>
27
+ <value>6</value>
28
+ <type>text</type>
29
+ </products_count>
30
+ <sort_by translate="label">
31
+ <visible>1</visible>
32
+ <label>Sort by</label>
33
+ <type>select</type>
34
+ <values>
35
+ <price translate="label">
36
+ <value>price</value>
37
+ <label>Price</label>
38
+ </price>
39
+ <name translate="label">
40
+ <value>name</value>
41
+ <label>Name</label>
42
+ </name>
43
+ <created_at translate="label">
44
+ <value>created_at</value>
45
+ <label>Created date</label>
46
+ </created_at>
47
+ </values>
48
+ </sort_by>
49
+ <sort_dir translate="label">
50
+ <visible>1</visible>
51
+ <label>Sort direction</label>
52
+ <type>select</type>
53
+ <values>
54
+ <asc translate="label">
55
+ <value>ASC</value><label>ASC</label>
56
+ </asc>
57
+ <desc translate="label">
58
+ <value>DESC</value><label>DESC</label>
59
+ </desc>
60
+ </values>
61
+ </sort_dir>
62
+ <list_type translate="label">
63
+ <visible>1</visible>
64
+ <label>Display mode (grid, list)</label>
65
+ <type>select</type>
66
+ <values>
67
+ <grid_type translate="label">
68
+ <label>Grid</label>
69
+ <value>grid</value>
70
+ </grid_type>
71
+ <list_type translate="label">
72
+ <label>List</label>
73
+ <value>list</value>
74
+ </list_type>
75
+ </values>
76
+ </list_type>
77
+ <column_count>
78
+ <required>0</required>
79
+ <visible>1</visible>
80
+ <label>Number of products per row</label>
81
+ <value>3</value>
82
+ <type>text</type>
83
+ <depends>
84
+ <list_type><value>grid</value></list_type>
85
+ </depends>
86
+ </column_count>
87
+ <show_addtocart translate="label">
88
+ <visible>1</visible>
89
+ <label> Show Add To Cart button</label>
90
+ <type>select</type>
91
+ <value>1</value>
92
+ <source_model>adminhtml/system_config_source_yesno</source_model>
93
+ </show_addtocart>
94
+ <show_details translate="label">
95
+ <visible>1</visible>
96
+ <label> Show Details button</label>
97
+ <type>select</type>
98
+ <value>1</value>
99
+ <source_model>adminhtml/system_config_source_yesno</source_model>
100
+ </show_details>
101
+ <show_price translate="label">
102
+ <visible>1</visible>
103
+ <label>Show Price</label>
104
+ <type>select</type>
105
+ <value>1</value>
106
+ <source_model>adminhtml/system_config_source_yesno</source_model>
107
+ </show_price>
108
+ <show_short_description translate="label">
109
+ <visible>1</visible>
110
+ <label>Show short description</label>
111
+ <type>select</type>
112
+ <value>1</value>
113
+ <source_model>adminhtml/system_config_source_yesno</source_model>
114
+ </show_short_description>
115
+ <short_description_limit>
116
+ <required>0</required>
117
+ <visible>1</visible>
118
+ <label>Short description characters limit</label>
119
+ <type>text</type>
120
+ <value>88</value>
121
+ <depends>
122
+ <show_short_description><value>1</value></show_short_description>
123
+ </depends>
124
+ </short_description_limit>
125
+ <thumbnail_width>
126
+ <required>0</required>
127
+ <visible>1</visible>
128
+ <label>Width of thumbnail image</label>
129
+ <type>text</type>
130
+ <value>135</value>
131
+ </thumbnail_width>
132
+ <thumbnail_height>
133
+ <required>0</required>
134
+ <visible>1</visible>
135
+ <label>Height of thumbnail image</label>
136
+ <type>text</type>
137
+ <value>135</value>
138
+ </thumbnail_height>
139
+ <template>
140
+ <required>1</required>
141
+ <visible>1</visible>
142
+ <label>Select template</label>
143
+ <type>select</type>
144
+ <values>
145
+ <default translate="label">
146
+ <value>ma2_featuredproducts/widget.phtml</value>
147
+ <label>Default Template</label>
148
+ </default>
149
+ </values>
150
+ </template>
151
+ </parameters>
152
+ </featuredproduts>
153
+ </widgets>
app/code/community/Ma2/FeaturedProducts/sql/featuredproducts_setup/mysql4-install-1.0.0.php ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Extensions
17
+ * @package Ma2_FeaturedProducts
18
+ * @copyright Copyright (c) 2013 MagenMarket. (http://www.magenmarket.com)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: mysql4-install-1.0.0.php 4 2013-11-05 07:31:07Z linhnt $ */
22
+
23
+ $installer = $this;
24
+
25
+ $installer->addAttribute('catalog_product', 'ma2_featured_product', array(
26
+ 'group' => 'General',
27
+ 'type' => 'int',
28
+ 'backend' => '',
29
+ 'frontend' => '',
30
+ 'label' => 'Featured product',
31
+ 'input' => 'boolean',
32
+ 'class' => '',
33
+ 'source' => '',
34
+ 'is_global', Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_STORE,
35
+ 'visible' => true,
36
+ 'required' => false,
37
+ 'user_defined' => false,
38
+ 'default' => '0',
39
+ 'searchable' => false,
40
+ 'filterable' => false,
41
+ 'comparable' => false,
42
+ 'visible_on_front' => false,
43
+ 'unique' => false,
44
+ 'apply_to' => 'simple,configurable,virtual,bundle,downloadable',
45
+ 'is_configurable' => false,
46
+ 'used_in_product_listing', '1'
47
+ ));
48
+
49
+ $installer->updateAttribute('catalog_product', 'ma2_featured_product', 'used_in_product_listing', '1');
50
+ $installer->updateAttribute('catalog_product', 'ma2_featured_product', 'is_global', '0');
51
+
52
+ $installer->endSetup();
53
+
54
+ ?>
app/code/community/Ma2/Manufacturers/Block/Adminhtml/Default.php ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Extensions
17
+ * @package Ma2_Manufacturers Free
18
+ * @copyright Copyright (c) 2013 MagenMarket. (http://www.magenmarket.com)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: Default.php 2 2014-01-13 07:35:22Z linhnt $ */
22
+
23
+ class Ma2_Manufacturers_Block_Adminhtml_Default extends Mage_Adminhtml_Block_Widget
24
+ {
25
+ public function __construct()
26
+ {
27
+ parent::__construct();
28
+ $this->setTemplate('ma2_manufacturers/default.phtml');
29
+ $this->setTitle('Manufacturers');
30
+ $this->setHeaderCss('manufacturers_manager');
31
+ }
32
+
33
+ protected function _prepareLayout()
34
+ {
35
+ $this->setChild('save_button',
36
+ $this->getLayout()->createBlock('adminhtml/widget_button')
37
+ ->setData(array(
38
+ 'label' => Mage::helper('adminhtml')->__('Save'),
39
+ 'onclick' => 'editForm.submit()',
40
+ 'class' => 'save',
41
+ ))
42
+ );
43
+ $this->setChild('form',
44
+ $this->getLayout()->createBlock('manufacturers/adminhtml_default_form')
45
+ );
46
+ return parent::_prepareLayout();
47
+ }
48
+
49
+ public function getSaveButtonHtml()
50
+ {
51
+ return $this->getChildHtml('save_button');
52
+ }
53
+
54
+ public function getSaveUrl()
55
+ {
56
+ return $this->getUrl('*/*/save', array('_current'=>true));
57
+ }
58
+ }
app/code/community/Ma2/Manufacturers/Block/Adminhtml/Default/Form.php ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Extensions
17
+ * @package Ma2_Manufacturers Free
18
+ * @copyright Copyright (c) 2013 MagenMarket. (http://www.magenmarket.com)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: Form.php 2 2014-01-13 07:35:22Z linhnt $ */
22
+
23
+ class Ma2_Manufacturers_Block_Adminhtml_Default_Form extends Mage_Adminhtml_Block_Widget_Form
24
+ {
25
+ protected function _prepareLayout()
26
+ {
27
+ parent::_prepareLayout();
28
+ }
29
+
30
+ protected function _prepareForm()
31
+ {
32
+ $form = new Varien_Data_Form();
33
+ $form->setHtmlIdPrefix('manufacturers_');
34
+ $this->setForm($form);
35
+ $fieldset = $form->addFieldset('upload_image', array('legend'=>Mage::helper('manufacturers')->__('Manufacturers and images'), 'class' => 'grid'));
36
+
37
+ $manuOptions = Mage::getModel("manufacturers/system_config_source_manuid")->toOptionArray();
38
+ if ($manuOptions){
39
+ foreach ($manuOptions as $manuOption){
40
+ $imgUrl = Mage::getStoreConfig('manufacturers/image/'. $manuOption['value']) ? Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA) . Mage::getStoreConfig('manufacturers/image/'. $manuOption['value']) : '';
41
+
42
+ $fieldset->addField('image_'.$manuOption['value'], 'image', array(
43
+ 'label' => $manuOption['label'] . ' (ID: ' . $manuOption['value'] . ')',
44
+ 'name' => $manuOption['value'],
45
+ 'required' => false,
46
+ 'value' => $imgUrl
47
+ ));
48
+ }
49
+ }
50
+
51
+ return parent::_prepareForm();
52
+ }
53
+ }
app/code/community/Ma2/Manufacturers/Block/List.php ADDED
@@ -0,0 +1,107 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Extensions
17
+ * @package Ma2_Manufacturers Free
18
+ * @copyright Copyright (c) 2013 MagenMarket. (http://www.magenmarket.com)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: List.php 2 2014-01-13 07:35:22Z linhnt $ */
22
+
23
+ class Ma2_Manufacturers_Block_List extends Mage_Catalog_Block_Product_Abstract
24
+ {
25
+
26
+ public function __construct()
27
+ {
28
+ parent::__construct();
29
+ if (!$this->getTemplate()) {
30
+ $this->setTemplate('ma2_manufacturers/default.phtml');
31
+ }
32
+ }
33
+
34
+ public function getManufacturers()
35
+ {
36
+ if (is_null($this->_allManufacturers)){
37
+ $manufacturers = Mage::getModel("manufacturers/system_config_source_manuid")->toOptionArray();
38
+ if (!count($manufacturers)) return array();
39
+
40
+ // included or excluded?
41
+ if ($this->getIncluded() && trim($this->getIncluded()) != ''){
42
+ $included = explode(',', str_replace(' ', '', $this->getIncluded()));
43
+ $tmpManu = array();
44
+ foreach($manufacturers as $manufacturer){
45
+ if (in_array($manufacturer['value'], $included)) $tmpManu[] = $manufacturer;
46
+ }
47
+
48
+ unset($manufacturers);
49
+ $manufacturers = $tmpManu;
50
+
51
+ } else if ($this->getExcluded() && trim($this->getExcluded()) != ''){
52
+ $excluded = explode(',', str_replace(' ', '', $this->getExcluded()));
53
+ $tmpManu = array();
54
+ foreach($manufacturers as $manufacturer){
55
+ if (!in_array($manufacturer['value'], $included)) $tmpManu[] = $manufacturer;
56
+ }
57
+
58
+ unset($manufacturers);
59
+ $manufacturers = $tmpManu;
60
+ }
61
+
62
+
63
+ $manu_code = Mage::getStoreConfig('manufacturers/general/attr_code');
64
+
65
+ for($i = 0; $i < count($manufacturers); $i++){
66
+ // logo
67
+ $manufacturers[$i]['image'] = Mage::getStoreConfig('manufacturers/image/'.$manufacturers[$i]['value']);
68
+
69
+ // product count
70
+ $collection = Mage::getModel('catalog/product')->getCollection()
71
+ ->addAttributeToFilter($manu_code, array('eq' => (int)$manufacturers[$i]['value']))
72
+ ->load();
73
+
74
+ // count as same as Magento.
75
+ $allBundles = array();
76
+ foreach ($collection as $pr){
77
+ $bundles = Mage::getResourceModel('bundle/selection')->getParentIdsByChild($pr->getId());
78
+ $allBundles = array_unique(array_merge($allBundles, $bundles));
79
+ }
80
+ $manufacturers[$i]['product_count'] = $collection->count() + count($allBundles);
81
+ }
82
+
83
+ $this->_allManufacturers = $manufacturers;
84
+
85
+ }
86
+ return $this->_allManufacturers;
87
+ }
88
+
89
+ protected function _beforeToHtml()
90
+ {
91
+ $manufacturers = Mage::getStoreConfig('manufacturers');
92
+ foreach($manufacturers as $var=>$value)
93
+ {
94
+ $this->assign($var, $value); // assign for general, image.
95
+ }
96
+ foreach($manufacturers['general'] as $varGen=>$valueGen)
97
+ {
98
+ $this->assign($varGen, $valueGen); // assign for attr_code, thumb_w, thumb_h, dimension_spec, thumb_upload_resize.
99
+ }
100
+ foreach($manufacturers['image'] as $varChil=>$valueChil)
101
+ {
102
+ $this->assign('img-'.$varChil, $valueChil); // assign for img-63, img-66, img-69, ....
103
+ }
104
+ return parent::_beforeToHtml();
105
+ }
106
+ }
107
+ ?>
app/code/community/Ma2/Manufacturers/Helper/Data.php ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Extensions
17
+ * @package Ma2_Manufacturers Free
18
+ * @copyright Copyright (c) 2013 MagenMarket. (http://www.magenmarket.com)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: Data.php 2 2014-01-13 07:35:22Z linhnt $ */
22
+
23
+ class Ma2_Manufacturers_Helper_Data extends Mage_Core_Helper_Abstract
24
+ {
25
+
26
+ }
27
+ ?>
app/code/community/Ma2/Manufacturers/Model/System/Config/Source/Manuid.php ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Extensions
17
+ * @package Ma2_Manufacturers Free
18
+ * @copyright Copyright (c) 2013 MagenMarket. (http://www.magenmarket.com)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: Manuid.php 2 2014-01-13 07:35:22Z linhnt $ */
22
+
23
+ class Ma2_Manufacturers_Model_System_Config_Source_Manuid
24
+ {
25
+ public function toOptionArray()
26
+ {
27
+
28
+ $manu_code = Mage::getStoreConfig('manufacturers/general/attr_code');
29
+ if (empty($manu_code)) return array();
30
+
31
+ $attribute = Mage::getModel('catalog/product')->getResource()->getAttribute($manu_code);
32
+ if (!$attribute) return array();
33
+
34
+ $manufacturers = $attribute->getSource()->getAllOptions(false);
35
+ if (!$manufacturers) return array();
36
+
37
+ return $manufacturers;
38
+ }
39
+ }
40
+
41
+ ?>
app/code/community/Ma2/Manufacturers/controllers/Adminhtml/DefaultController.php ADDED
@@ -0,0 +1,104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Extensions
17
+ * @package Ma2_Manufacturers Free
18
+ * @copyright Copyright (c) 2013 MagenMarket. (http://www.magenmarket.com)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: DefaultController.php 2 2014-01-13 07:35:22Z linhnt $ */
22
+
23
+ class Ma2_Manufacturers_Adminhtml_DefaultController extends Mage_Adminhtml_Controller_Action
24
+ {
25
+
26
+ protected function _initAction() {
27
+ $this->loadLayout()
28
+ ->_setActiveMenu('ma2/manufacturers/manufacturers_manager')
29
+ ->_addBreadcrumb(Mage::helper('manufacturers')->__('Manufacturers Manager'), Mage::helper('manufacturers')->__('Manufacturers Manager'));
30
+
31
+ return $this;
32
+ }
33
+
34
+ public function indexAction() {
35
+ $this->_initAction();
36
+ $this->renderLayout();
37
+ }
38
+
39
+ public function saveAction()
40
+ {
41
+ if ($data = $this->getRequest()->getPost())
42
+ {
43
+
44
+ if(isset($_FILES) && count((array)$_FILES)){
45
+ foreach((array)$_FILES as $manid => $image){
46
+ if (!empty($image['name']) && file_exists($image['tmp_name'])){
47
+ try {
48
+ $uploader = new Varien_File_Uploader($manid);
49
+ $uploader->setAllowedExtensions(array('jpg','jpeg','gif','png'));
50
+ $uploader->setAllowRenameFiles(false);
51
+
52
+ $uploader->setFilesDispersion(false);
53
+
54
+ $path = Mage::getBaseDir('media') . DS . 'manufacturers' . DS;
55
+
56
+ $imageFullName = $uploader->getCorrectFileName($image['name']);
57
+
58
+ $uploader->save($path, $imageFullName);
59
+
60
+ $imagePath = Mage::getBaseDir('media') . DS . 'manufacturers' . DS . $imageFullName;
61
+
62
+ // if resize
63
+ if (Mage::getStoreConfig('manufacturers/general/thumb_upload_resize') == 1 && file_exists($imagePath))
64
+ {
65
+ $thumbW = intval(Mage::getStoreConfig('manufacturers/general/thumb_w')) > 0 ? intval(Mage::getStoreConfig('manufacturers/general/thumb_w')) : 120;
66
+ $thumbH = intval(Mage::getStoreConfig('manufacturers/general/thumb_h')) > 0 ? intval(Mage::getStoreConfig('manufacturers/general/thumb_h')) : 60;
67
+
68
+ $imageThumbPath = Mage::getBaseDir('media') . DS . 'manufacturers' . DS . 'resized'. DS . $imageFullName;
69
+
70
+ if (file_exists($imageThumbPath)) @unlink($imageThumbPath);
71
+
72
+ $imageObj = new Varien_Image($imagePath);
73
+ $imageObj->constrainOnly(TRUE);
74
+ $imageObj->keepAspectRatio(TRUE);
75
+ $imageObj->keepFrame(FALSE);
76
+ $imageObj->keepTransparency(TRUE);
77
+ $imageObj->resize($thumbW, $thumbH);
78
+ $imageObj->save($imageThumbPath);
79
+
80
+ Mage::getModel('core/config')->saveConfig('manufacturers/image/'.$manid, 'manufacturers/resized/' . $imageFullName);
81
+ }
82
+ else {
83
+ Mage::getModel('core/config')->saveConfig('manufacturers/image/'.$manid, 'manufacturers/'.$imageFullName);
84
+ }
85
+
86
+ }catch(Exception $e) {
87
+
88
+ }
89
+ }
90
+ }
91
+ }
92
+
93
+ // if some is checked as delete
94
+ foreach ($data as $k => $v){
95
+ if (isset($v['delete']) && $v['delete'] == 1) Mage::getModel('core/config')->saveConfig('manufacturers/image/'.$k, null);
96
+ }
97
+
98
+ }
99
+ $this->_redirect('*/*/index');
100
+ return;
101
+ }
102
+
103
+
104
+ }
app/code/community/Ma2/Manufacturers/controllers/IndexController.php ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Extensions
17
+ * @package Ma2_Manufacturers Free
18
+ * @copyright Copyright (c) 2013 MagenMarket. (http://www.magenmarket.com)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: IndexController.php 2 2014-01-13 07:35:22Z linhnt $ */
22
+
23
+ class Ma2_Manufacturers_IndexController extends Mage_Core_Controller_Front_Action
24
+ {
25
+ public function indexAction()
26
+ {
27
+ $this->loadLayout();
28
+ $this->renderLayout();
29
+ }
30
+ }
app/code/community/Ma2/Manufacturers/etc/adminhtml.xml ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <menu>
4
+ <ma2 translate="title" module="ma2all">
5
+ <title>MA2</title>
6
+ <sort_order>89</sort_order>
7
+ <children>
8
+ <manufacturers translate="title" module="manufacturers">
9
+ <title>Ma2 Manufacturers</title>
10
+ <sort_order>20</sort_order>
11
+ <children>
12
+ <manufacturers_manager translate="title" module="manufacturers">
13
+ <title>Manufacturers Images</title>
14
+ <sort_order>1</sort_order>
15
+ <action>manufacturers/adminhtml_default</action>
16
+ </manufacturers_manager>
17
+ <manufacturers_options translate="title" module="manufacturers">
18
+ <title>Configurations</title>
19
+ <sort_order>2</sort_order>
20
+ <action>adminhtml/system_config/edit/section/manufacturers</action>
21
+ </manufacturers_options>
22
+ </children>
23
+ </manufacturers>
24
+ </children>
25
+ </ma2>
26
+ </menu>
27
+ <acl>
28
+ <resources>
29
+ <admin>
30
+ <children>
31
+ <ma2>
32
+ <title>MA2</title>
33
+ <sort_order>89</sort_order>
34
+ <children>
35
+ <manufacturers>
36
+ <title>Ma2 Manufacturers</title>
37
+ <sort_order>20</sort_order>
38
+ <children>
39
+ <manufacturers_manager translate="title" module="manufacturers">
40
+ <title>Manufacturers Images</title>
41
+ <sort_order>1</sort_order>
42
+ </manufacturers_manager>
43
+ <manufacturers_options translate="title" module="manufacturers">
44
+ <title>Configurations</title>
45
+ <sort_order>2</sort_order>
46
+ </manufacturers_options>
47
+ </children>
48
+ </manufacturers>
49
+ </children>
50
+ </ma2>
51
+ <system>
52
+ <children>
53
+ <config>
54
+ <children>
55
+ <manufacturers translate="title" module="manufacturers">
56
+ <title>Manufacturers Section</title>
57
+ <sort_order>1</sort_order>
58
+ </manufacturers>
59
+ </children>
60
+ </config>
61
+ </children>
62
+ </system>
63
+ </children>
64
+ </admin>
65
+ </resources>
66
+ </acl>
67
+ </config>
app/code/community/Ma2/Manufacturers/etc/config.xml ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <modules>
4
+ <Ma2_Manufacturers>
5
+ <version>0.1.0</version>
6
+ </Ma2_Manufacturers>
7
+ </modules>
8
+ <frontend>
9
+ <routers>
10
+ <manufacturers>
11
+ <use>standard</use>
12
+ <args>
13
+ <module>Ma2_Manufacturers</module>
14
+ <frontName>manufacturers</frontName>
15
+ </args>
16
+ </manufacturers>
17
+ </routers>
18
+ <layout>
19
+ <updates>
20
+ <manufacturers>
21
+ <file>ma2_manufacturers.xml</file>
22
+ </manufacturers>
23
+ </updates>
24
+ </layout>
25
+ </frontend>
26
+ <admin>
27
+ <routers>
28
+ <manufacturers>
29
+ <use>admin</use>
30
+ <args>
31
+ <module>Ma2_Manufacturers</module>
32
+ <frontName>manufacturers</frontName>
33
+ </args>
34
+ </manufacturers>
35
+ </routers>
36
+ </admin>
37
+ <adminhtml>
38
+ <layout>
39
+ <updates>
40
+ <manufacturers>
41
+ <file>ma2_manufacturers.xml</file>
42
+ </manufacturers>
43
+ </updates>
44
+ </layout>
45
+ </adminhtml>
46
+ <global>
47
+ <blocks>
48
+ <manufacturers>
49
+ <class>Ma2_Manufacturers_Block</class>
50
+ </manufacturers>
51
+ </blocks>
52
+ <models>
53
+ <manufacturers>
54
+ <class>Ma2_Manufacturers_Model</class>
55
+ </manufacturers>
56
+ </models>
57
+ <helpers>
58
+ <manufacturers>
59
+ <class>Ma2_Manufacturers_Helper</class>
60
+ </manufacturers>
61
+ </helpers>
62
+ </global>
63
+ <default>
64
+ <manufacturers>
65
+ <general>
66
+ <attr_code>manufacturer</attr_code>
67
+ <thumb_w>120</thumb_w>
68
+ <thumb_h>60</thumb_h>
69
+ <dimension_spec>1</dimension_spec>
70
+ <thumb_upload_resize>0</thumb_upload_resize>
71
+ </general>
72
+ </manufacturers>
73
+ </default>
74
+ </config>
app/code/community/Ma2/Manufacturers/etc/system.xml ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <sections>
4
+ <manufacturers translate="label" module="manufacturers">
5
+ <label>Manufacturers</label>
6
+ <tab>ma2</tab>
7
+ <frontend_type>text</frontend_type>
8
+ <sort_order>1</sort_order>
9
+ <show_in_default>1</show_in_default>
10
+ <show_in_website>1</show_in_website>
11
+ <show_in_store>1</show_in_store>
12
+ <groups>
13
+ <general translate="label">
14
+ <label>General</label>
15
+ <frontend_type>text</frontend_type>
16
+ <sort_order>1</sort_order>
17
+ <show_in_default>1</show_in_default>
18
+ <show_in_website>1</show_in_website>
19
+ <show_in_store>1</show_in_store>
20
+ <fields>
21
+ <attr_code translate="label">
22
+ <label>Manufacturers attribute code</label>
23
+ <frontend_type>text</frontend_type>
24
+ <sort_order>2</sort_order>
25
+ <show_in_default>1</show_in_default>
26
+ <show_in_website>1</show_in_website>
27
+ <show_in_store>1</show_in_store>
28
+ <comment><![CDATA[
29
+ Attribute code for Manufacturer. <br /> Please fill the attribute code and save the configuration first!
30
+ ]]>
31
+ </comment>
32
+ </attr_code>
33
+ <thumb_w translate="label">
34
+ <label>Thumbnail width</label>
35
+ <frontend_type>text</frontend_type>
36
+ <sort_order>4</sort_order>
37
+ <show_in_default>1</show_in_default>
38
+ <show_in_website>1</show_in_website>
39
+ <show_in_store>1</show_in_store>
40
+ <comment><![CDATA[
41
+ Type a number for thummnail width (px). Example: 120
42
+ ]]>
43
+ </comment>
44
+ </thumb_w>
45
+ <thumb_h translate="label">
46
+ <label>Thumbnail height</label>
47
+ <frontend_type>text</frontend_type>
48
+ <sort_order>6</sort_order>
49
+ <show_in_default>1</show_in_default>
50
+ <show_in_website>1</show_in_website>
51
+ <show_in_store>1</show_in_store>
52
+ <comment><![CDATA[
53
+ Type a number for thummnail height (px). Example: 60
54
+ ]]>
55
+ </comment>
56
+ </thumb_h>
57
+ <dimension_spec translate="label">
58
+ <label>Specify dimension for image tag</label>
59
+ <frontend_type>select</frontend_type>
60
+ <sort_order>8</sort_order>
61
+ <show_in_default>1</show_in_default>
62
+ <show_in_website>1</show_in_website>
63
+ <show_in_store>1</show_in_store>
64
+ <source_model>adminhtml/system_config_source_yesno</source_model>
65
+ <comment><![CDATA[
66
+ Choose YES to put 'width="Wpx" height="Hpx"' in img tag. Where Wpx and Hpx is defined above.
67
+ ]]>
68
+ </comment>
69
+ </dimension_spec>
70
+ <thumb_upload_resize translate="label">
71
+ <label>Resize images when upload</label>
72
+ <frontend_type>select</frontend_type>
73
+ <sort_order>10</sort_order>
74
+ <show_in_default>1</show_in_default>
75
+ <show_in_website>1</show_in_website>
76
+ <show_in_store>1</show_in_store>
77
+ <source_model>adminhtml/system_config_source_yesno</source_model>
78
+ <comment><![CDATA[
79
+ Choose YES to enable resizing image when upload in backend. The resized dimension is defined above.
80
+ ]]>
81
+ </comment>
82
+ </thumb_upload_resize>
83
+ </fields>
84
+ </general>
85
+ </groups>
86
+ </manufacturers>
87
+ </sections>
88
+ </config>
app/code/community/Ma2/Slideshow/Block/Adminhtml/Slideshow.php ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Extensions
17
+ * @package Ma2_Slideshow free
18
+ * @copyright Copyright (c) 2013 MagenMarket. (http://www.magenmarket.com)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: Slideshow.php 15 2013-11-05 07:30:45Z linhnt $ */
22
+
23
+ class Ma2_Slideshow_Block_Adminhtml_Slideshow extends Mage_Adminhtml_Block_Widget_Grid_Container
24
+ {
25
+ public function __construct()
26
+ {
27
+ $this->_controller = 'adminhtml_slideshow';
28
+ $this->_blockGroup = 'slideshow';
29
+ $this->_headerText = Mage::helper('slideshow')->__('Slideshow Items Manager');
30
+ $this->_addButtonLabel = Mage::helper('slideshow')->__('Add Item');
31
+ parent::__construct();
32
+ }
33
+ }
app/code/community/Ma2/Slideshow/Block/Adminhtml/Slideshow/Edit.php ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Extensions
17
+ * @package Ma2_Slideshow free
18
+ * @copyright Copyright (c) 2013 MagenMarket. (http://www.magenmarket.com)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: Edit.php 15 2013-11-05 07:30:45Z linhnt $ */
22
+
23
+ class Ma2_Slideshow_Block_Adminhtml_Slideshow_Edit extends Mage_Adminhtml_Block_Widget_Form_Container
24
+ {
25
+ public function __construct()
26
+ {
27
+ parent::__construct();
28
+
29
+ $this->_objectId = 'id';
30
+ $this->_blockGroup = 'slideshow';
31
+ $this->_controller = 'adminhtml_slideshow';
32
+
33
+ $this->_updateButton('save', 'label', Mage::helper('slideshow')->__('Save Item'));
34
+ $this->_updateButton('delete', 'label', Mage::helper('slideshow')->__('Delete Item'));
35
+
36
+ $this->_addButton('saveandcontinue', array(
37
+ 'label' => Mage::helper('adminhtml')->__('Save And Continue Edit'),
38
+ 'onclick' => 'saveAndContinueEdit()',
39
+ 'class' => 'save',
40
+ ), -100);
41
+
42
+ $this->_formScripts[] = "
43
+ function toggleEditor() {
44
+ if (tinyMCE.getInstanceById('slideshow_content') == null) {
45
+ tinyMCE.execCommand('mceAddControl', false, 'slideshow_content');
46
+ } else {
47
+ tinyMCE.execCommand('mceRemoveControl', false, 'slideshow_content');
48
+ }
49
+ }
50
+
51
+ function saveAndContinueEdit(){
52
+ editForm.submit($('edit_form').action+'back/edit/');
53
+ }
54
+ ";
55
+ }
56
+
57
+ public function getHeaderText()
58
+ {
59
+ if( Mage::registry('slideshow_data') && Mage::registry('slideshow_data')->getId() ) {
60
+ return Mage::helper('slideshow')->__("Edit Slideshow Item '%s'", $this->htmlEscape(Mage::registry('slideshow_data')->getTitle()));
61
+ } else {
62
+ return Mage::helper('slideshow')->__('Add Slideshow Item');
63
+ }
64
+ }
65
+ }
app/code/community/Ma2/Slideshow/Block/Adminhtml/Slideshow/Edit/Form.php ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Extensions
17
+ * @package Ma2_Slideshow free
18
+ * @copyright Copyright (c) 2013 MagenMarket. (http://www.magenmarket.com)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: Form.php 15 2013-11-05 07:30:45Z linhnt $ */
22
+
23
+ class Ma2_Slideshow_Block_Adminhtml_Slideshow_Edit_Form extends Mage_Adminhtml_Block_Widget_Form
24
+ {
25
+ protected function _prepareForm()
26
+ {
27
+ $form = new Varien_Data_Form(
28
+ array(
29
+ 'id' => 'edit_form',
30
+ 'action' => $this->getUrl('*/*/save', array('id' => $this->getRequest()->getParam('id'))),
31
+ 'method' => 'post',
32
+ 'enctype' => 'multipart/form-data'
33
+ )
34
+ );
35
+
36
+ $form->setUseContainer(true);
37
+ $this->setForm($form);
38
+ return parent::_prepareForm();
39
+ }
40
+ }
app/code/community/Ma2/Slideshow/Block/Adminhtml/Slideshow/Edit/Tab/Form.php ADDED
@@ -0,0 +1,116 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Extensions
17
+ * @package Ma2_Slideshow free
18
+ * @copyright Copyright (c) 2013 MagenMarket. (http://www.magenmarket.com)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: Form.php 15 2013-11-05 07:30:45Z linhnt $ */
22
+
23
+ class Ma2_Slideshow_Block_Adminhtml_Slideshow_Edit_Tab_Form extends Mage_Adminhtml_Block_Widget_Form
24
+ {
25
+ protected function _prepareLayout()
26
+ {
27
+ parent::_prepareLayout();
28
+ if(Mage::getSingleton('cms/wysiwyg_config')->isEnabled())
29
+ {
30
+ $this->getLayout()->getBlock('head')->setCanLoadTinyMce(true);
31
+ }
32
+ }
33
+
34
+ protected function _prepareForm()
35
+ {
36
+ $form = new Varien_Data_Form();
37
+ $form->setHtmlIdPrefix('slideshow_');
38
+ $this->setForm($form);
39
+ $fieldset = $form->addFieldset('slideshow_form', array('legend'=>Mage::helper('slideshow')->__('Item information')));
40
+
41
+ $slideshow = Mage::getModel('slideshow/slideshow')->load( $this->getRequest()->getParam('id') );
42
+ $after_html = '';
43
+ if( $slideshow->getFilename() )
44
+ {
45
+ $path = Mage::getBaseUrl('media')."ma2slideshow/".$slideshow->getFilename();
46
+ $after_html = '<a onclick="imagePreview(ma2slideshow); return false;" href="'.$path.'">
47
+ <img height="22" width="22" class="small-image-preview v-middle" alt="'.$slideshow->getFilename().'" title="'.$slideshow->getFilename().'" id="ma2slideshow" src="'.$path.'"/>
48
+ </a>';
49
+ }
50
+
51
+ try {
52
+ $config = Mage::getSingleton('cms/wysiwyg_config')->getConfig();
53
+ $config->setData(
54
+ Mage::helper('slideshow')->recursiveReplace('/slideshow/', '/' . (string) Mage::app()->getConfig()->getNode('admin/routers/adminhtml/args/frontName') . '/', $config->getData())
55
+ );
56
+ } catch (Exception $ex) {
57
+ $config = null;
58
+ }
59
+
60
+ $fieldset->addField('title', 'text', array(
61
+ 'label' => Mage::helper('slideshow')->__('Title'),
62
+ 'class' => 'required-entry',
63
+ 'required' => true,
64
+ 'name' => 'title',
65
+ ));
66
+
67
+ $fieldset->addField('slideshow_url', 'text', array(
68
+ 'label' => Mage::helper('slideshow')->__('Click URL'),
69
+ 'name' => 'slideshow_url',
70
+ 'note' => Mage::helper('slideshow')->__('Example: http://www.example.com'),
71
+ ));
72
+
73
+ $fieldset->addField('filename', 'file', array(
74
+ 'label' => Mage::helper('slideshow')->__('Upload image'),
75
+ 'name' => 'filename',
76
+ 'after_element_html' => $after_html,
77
+ 'class' => (($slideshow->getfilename()) ? '' : 'required-entry'),
78
+ 'required' => (($slideshow->getfilename()) ? false : true),
79
+ ));
80
+
81
+ $fieldset->addField('status', 'select', array(
82
+ 'label' => Mage::helper('slideshow')->__('Status'),
83
+ 'name' => 'status',
84
+ 'values' => array(
85
+ 1 => Mage::helper('slideshow')->__('Enabled'),
86
+ 2 => Mage::helper('slideshow')->__('Disabled')
87
+ )
88
+ ));
89
+
90
+ $fieldset->addField('sortorder', 'text', array(
91
+ 'label' => Mage::helper('slideshow')->__('Sort Order'),
92
+ 'class' => 'required-entry validate-digits',
93
+ 'required' => true,
94
+ 'name' => 'sortorder',
95
+ ));
96
+
97
+ $fieldset->addField('content', 'editor', array(
98
+ 'name' => 'content',
99
+ 'label' => Mage::helper('slideshow')->__('Description'),
100
+ 'title' => Mage::helper('slideshow')->__('The slide description'),
101
+ 'style' => 'width:666px; height:255px;',
102
+ 'wysiwyg' => true,
103
+ 'config' => $config,
104
+ 'required' => true,
105
+ ));
106
+
107
+ if ( Mage::getSingleton('adminhtml/session')->getSlideshowData() )
108
+ {
109
+ $form->setValues(Mage::getSingleton('adminhtml/session')->getSlideshowData());
110
+ Mage::getSingleton('adminhtml/session')->setSlideshowData(null);
111
+ } elseif ( Mage::registry('slideshow_data') ) {
112
+ $form->setValues(Mage::registry('slideshow_data')->getData());
113
+ }
114
+ return parent::_prepareForm();
115
+ }
116
+ }
app/code/community/Ma2/Slideshow/Block/Adminhtml/Slideshow/Edit/Tabs.php ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Extensions
17
+ * @package Ma2_Slideshow free
18
+ * @copyright Copyright (c) 2013 MagenMarket. (http://www.magenmarket.com)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: Tabs.php 15 2013-11-05 07:30:45Z linhnt $ */
22
+
23
+ class Ma2_Slideshow_Block_Adminhtml_Slideshow_Edit_Tabs extends Mage_Adminhtml_Block_Widget_Tabs
24
+ {
25
+
26
+ public function __construct()
27
+ {
28
+ parent::__construct();
29
+ $this->setId('slideshow_tabs');
30
+ $this->setDestElementId('edit_form');
31
+ $this->setTitle(Mage::helper('slideshow')->__('Item Information'));
32
+ }
33
+
34
+ protected function _prepareLayout()
35
+ {
36
+
37
+ $this->addTab('main_section', array(
38
+ 'label' => Mage::helper('slideshow')->__('Item Information'),
39
+ 'title' => Mage::helper('slideshow')->__('Item Information'),
40
+ 'content' => $this->getLayout()->createBlock('slideshow/adminhtml_slideshow_edit_tab_form')->toHtml(),
41
+ 'active' => true,
42
+ ));
43
+
44
+ return parent::_prepareLayout();
45
+ }
46
+ }
app/code/community/Ma2/Slideshow/Block/Adminhtml/Slideshow/Grid.php ADDED
@@ -0,0 +1,189 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Extensions
17
+ * @package Ma2_Slideshow free
18
+ * @copyright Copyright (c) 2013 MagenMarket. (http://www.magenmarket.com)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: Grid.php 15 2013-11-05 07:30:45Z linhnt $ */
22
+
23
+ class Ma2_Slideshow_Block_Adminhtml_Slideshow_Grid extends Mage_Adminhtml_Block_Widget_Grid
24
+ {
25
+ public function __construct()
26
+ {
27
+ parent::__construct();
28
+ $this->setId('slideshowGrid');
29
+ // This is the primary key of the database
30
+ $this->setDefaultSort('slideshow_id');
31
+ $this->setDefaultDir('ASC');
32
+ $this->setSaveParametersInSession(true);
33
+ }
34
+
35
+ protected function _prepareCollection()
36
+ {
37
+ $collection = Mage::getModel('slideshow/slideshow')->getCollection();
38
+ $this->setCollection($collection);
39
+ return parent::_prepareCollection();
40
+ }
41
+
42
+ protected function _prepareColumns()
43
+ {
44
+ $this->addColumn('slideshow_id', array(
45
+ 'header' => Mage::helper('slideshow')->__('ID'),
46
+ 'align' =>'center',
47
+ 'width' => '50px',
48
+ 'index' => 'slideshow_id',
49
+ 'type' => ''
50
+ ));
51
+
52
+ $this->addColumn('title', array(
53
+ 'header' => Mage::helper('slideshow')->__('Title'),
54
+ 'align' =>'left',
55
+ 'index' => 'title',
56
+ ));
57
+
58
+ $this->addColumn('category', array(
59
+ 'header' => Mage::helper('slideshow')->__('Category'),
60
+ 'align' =>'left',
61
+ 'index' => 'category',
62
+ ));
63
+
64
+ $this->addColumn('content', array(
65
+ 'header' => Mage::helper('slideshow')->__('Item Content'),
66
+ 'width' => '355px',
67
+ 'index' => 'content',
68
+ ));
69
+
70
+ $this->addColumn('created_time', array(
71
+ 'header' => Mage::helper('slideshow')->__('Creation Time'),
72
+ 'align' => 'left',
73
+ 'width' => '120px',
74
+ 'type' => 'date',
75
+ 'default' => '--',
76
+ 'index' => 'created_time',
77
+ ));
78
+
79
+ $this->addColumn('update_time', array(
80
+ 'header' => Mage::helper('slideshow')->__('Update Time'),
81
+ 'align' => 'left',
82
+ 'width' => '120px',
83
+ 'type' => 'date',
84
+ 'default' => '--',
85
+ 'index' => 'update_time',
86
+ ));
87
+
88
+ $this->addColumn('status', array(
89
+ 'header' => Mage::helper('slideshow')->__('Status'),
90
+ 'align' => 'left',
91
+ 'width' => '80px',
92
+ 'index' => 'status',
93
+ 'type' => 'options',
94
+ 'options' => array(
95
+ 1 => 'Enabled',
96
+ 2 => 'Disabled',
97
+ ),
98
+ ));
99
+
100
+ $this->addColumn('action',
101
+ array(
102
+ 'header' => Mage::helper('slideshow')->__('Action'),
103
+ 'width' => '100',
104
+ 'type' => 'action',
105
+ 'getter' => 'getId',
106
+ 'actions' => array(
107
+ array(
108
+ 'caption' => Mage::helper('slideshow')->__('Edit'),
109
+ 'url' => array('base'=> '*/*/edit'),
110
+ 'field' => 'id'
111
+ )
112
+ ),
113
+ 'filter' => false,
114
+ 'sortable' => false,
115
+ 'index' => 'stores',
116
+ 'is_system' => true,
117
+ ));
118
+
119
+ $this->addExportType('*/*/exportCsv', Mage::helper('slideshow')->__('CSV'));
120
+ $this->addExportType('*/*/exportXml', Mage::helper('slideshow')->__('XML'));
121
+
122
+ return parent::_prepareColumns();
123
+ }
124
+
125
+ protected function _prepareMassaction()
126
+ {
127
+ $this->setMassactionIdField('slideshow_id');
128
+ $this->getMassactionBlock()->setFormFieldName('slideshow');
129
+
130
+ $this->getMassactionBlock()->addItem('delete', array(
131
+ 'label' => Mage::helper('slideshow')->__('Delete'),
132
+ 'url' => $this->getUrl('*/*/massDelete'),
133
+ 'confirm' => Mage::helper('slideshow')->__('Are you sure?')
134
+ ));
135
+
136
+ $statuses = Mage::getSingleton('slideshow/status')->getOptionArray();
137
+
138
+ array_unshift($statuses, array('label'=>'', 'value'=>''));
139
+ $this->getMassactionBlock()->addItem('status', array(
140
+ 'label'=> Mage::helper('slideshow')->__('Change status'),
141
+ 'url' => $this->getUrl('*/*/massStatus', array('_current'=>true)),
142
+ 'additional' => array(
143
+ 'visibility' => array(
144
+ 'name' => 'status',
145
+ 'type' => 'select',
146
+ 'class' => 'required-entry',
147
+ 'label' => Mage::helper('slideshow')->__('Status'),
148
+ 'values' => $statuses
149
+ )
150
+ )
151
+ ));
152
+ return $this;
153
+ }
154
+
155
+ public function getRowUrl($row)
156
+ {
157
+ return $this->getUrl('*/*/edit', array('id' => $row->getId()));
158
+ }
159
+
160
+ public function getGridUrl()
161
+ {
162
+ return $this->getUrl('*/*/grid', array('_current'=>true));
163
+ }
164
+
165
+ /**
166
+ * Helper function to do after load modifications
167
+ *
168
+ */
169
+ protected function _afterLoadCollection()
170
+ {
171
+ $this->getCollection()->walk('afterLoad');
172
+ parent::_afterLoadCollection();
173
+ }
174
+
175
+ /**
176
+ * Helper function to add store filter condition
177
+ *
178
+ * @param Mage_Core_Model_Mysql4_Collection_Abstract $collection Data collection
179
+ * @param Mage_Adminhtml_Block_Widget_Grid_Column $column Column information to be filtered
180
+ */
181
+ protected function _filterStoreCondition($collection, $column)
182
+ {
183
+ if (!$value = $column->getFilter()->getValue()) {
184
+ return;
185
+ }
186
+
187
+ $this->getCollection()->addStoreFilter($value);
188
+ }
189
+ }
app/code/community/Ma2/Slideshow/Block/Slideshow.php ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Extensions
17
+ * @package Ma2_Slideshow free
18
+ * @copyright Copyright (c) 2013 MagenMarket. (http://www.magenmarket.com)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: Slideshow.php 15 2013-11-05 07:30:45Z linhnt $ */
22
+
23
+ class Ma2_Slideshow_Block_Slideshow extends Mage_Core_Block_Template implements Mage_Widget_Block_Interface
24
+ {
25
+ protected function _toHtml()
26
+ {
27
+ $slideshow_ids = $this->getData('slideshow_ids');
28
+
29
+ $collection = Mage::getModel('slideshow/slideshow')
30
+ ->getCollection()
31
+ ->addFieldToFilter('slideshow_id', array('in' => explode(',', $slideshow_ids)));
32
+
33
+ $this->assign('items', $collection);
34
+ $this->assign('options', json_decode(json_encode(Mage::getStoreConfig('slideshow_options/general'))));
35
+
36
+
37
+ return parent::_toHtml();
38
+ }
39
+ }
app/code/community/Ma2/Slideshow/Helper/Data.php ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Extensions
17
+ * @package Ma2_Slideshow free
18
+ * @copyright Copyright (c) 2013 MagenMarket. (http://www.magenmarket.com)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: Data.php 15 2013-11-05 07:30:45Z linhnt $ */
22
+
23
+ class Ma2_Slideshow_Helper_Data extends Mage_Core_Helper_Abstract
24
+ {
25
+ public function recursiveReplace($search, $replace, $subject)
26
+ {
27
+ if (!is_array($subject))
28
+ return $subject;
29
+
30
+ foreach ($subject as $key => $value)
31
+ if (is_string($value))
32
+ $subject[$key] = str_replace($search, $replace, $value);
33
+ elseif (is_array($value))
34
+ $subject[$key] = self::recursiveReplace($search, $replace, $value);
35
+
36
+ return $subject;
37
+ }
38
+ }
app/code/community/Ma2/Slideshow/Model/Mysql4/Slideshow.php ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Extensions
17
+ * @package Ma2_Slideshow free
18
+ * @copyright Copyright (c) 2013 MagenMarket. (http://www.magenmarket.com)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: Slideshow.php 15 2013-11-05 07:30:45Z linhnt $ */
22
+
23
+ class Ma2_Slideshow_Model_Mysql4_Slideshow extends Mage_Core_Model_Mysql4_Abstract
24
+ {
25
+ public function _construct()
26
+ {
27
+ // Note that the slideshow_id refers to the key field in your database table.
28
+ $this->_init('slideshow/slideshow', 'slideshow_id');
29
+ }
30
+ }
app/code/community/Ma2/Slideshow/Model/Mysql4/Slideshow/Collection.php ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Extensions
17
+ * @package Ma2_Slideshow free
18
+ * @copyright Copyright (c) 2013 MagenMarket. (http://www.magenmarket.com)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: Collection.php 15 2013-11-05 07:30:45Z linhnt $ */
22
+
23
+ class Ma2_Slideshow_Model_Mysql4_Slideshow_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract
24
+ {
25
+ public function _construct()
26
+ {
27
+ parent::_construct();
28
+ $this->_init('slideshow/slideshow');
29
+ }
30
+
31
+ public function orderBySort(){
32
+ $this->getSelect()->order('sortorder');
33
+ return $this;
34
+ }
35
+ }
app/code/community/Ma2/Slideshow/Model/Slideshow.php ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Extensions
17
+ * @package Ma2_Slideshow free
18
+ * @copyright Copyright (c) 2013 MagenMarket. (http://www.magenmarket.com)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: Slideshow.php 15 2013-11-05 07:30:45Z linhnt $ */
22
+
23
+ class Ma2_Slideshow_Model_Slideshow extends Mage_Core_Model_Abstract
24
+ {
25
+ public function _construct()
26
+ {
27
+ parent::_construct();
28
+ $this->_init('slideshow/slideshow');
29
+ }
30
+
31
+ public function getCollectionSlideshowData() {
32
+
33
+ $collection = $this->getCollection()
34
+ ->addFieldToFilter('status',1)
35
+ ->orderBySort()
36
+ /* ->addStoreFilter(Mage::app()->getStore()) */
37
+ ;
38
+ if(Mage::getStoreConfig('slideshow_options/general/limited'))
39
+ {
40
+ $collection->setPageSize(Mage::getStoreConfig('slideshow_options/general/limited'));
41
+ }
42
+
43
+ return $collection;
44
+ }
45
+ }
app/code/community/Ma2/Slideshow/Model/Slideshowselect.php ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Extensions
17
+ * @package Ma2_Slideshow free
18
+ * @copyright Copyright (c) 2013 MagenMarket. (http://www.magenmarket.com)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: Slideshowselect.php 15 2013-11-05 07:30:45Z linhnt $ */
22
+
23
+ class Ma2_Slideshow_Model_Slideshowselect
24
+ {
25
+ public function toOptionArray()
26
+ {
27
+ $options = array();
28
+ $collection = Mage::getModel('slideshow/slideshow')
29
+ ->getCollection()
30
+ ->addFieldToSelect('slideshow_id')
31
+ ->addFieldToSelect('title')
32
+ ->addFieldToFilter('status',1);
33
+
34
+ foreach ($collection as $item){
35
+ $options[] = array('value' => $item->getData('slideshow_id'), 'label' => $item->getData('title'));
36
+ }
37
+ return $options;
38
+ }
39
+ }
40
+
app/code/community/Ma2/Slideshow/Model/Status.php ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Extensions
17
+ * @package Ma2_Slideshow free
18
+ * @copyright Copyright (c) 2013 MagenMarket. (http://www.magenmarket.com)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: Status.php 15 2013-11-05 07:30:45Z linhnt $ */
22
+
23
+ class Ma2_Slideshow_Model_Status extends Varien_Object
24
+ {
25
+ const STATUS_ENABLED = 1;
26
+ const STATUS_DISABLED = 2;
27
+
28
+ static public function getOptionArray()
29
+ {
30
+ return array(
31
+ self::STATUS_ENABLED => Mage::helper('slideshow')->__('Enabled'),
32
+ self::STATUS_DISABLED => Mage::helper('slideshow')->__('Disabled')
33
+ );
34
+ }
35
+ }
app/code/community/Ma2/Slideshow/Model/Transitiontype.php ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Extensions
17
+ * @package Ma2_Slideshow free
18
+ * @copyright Copyright (c) 2013 MagenMarket. (http://www.magenmarket.com)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: Transitiontype.php 15 2013-11-05 07:30:45Z linhnt $ */
22
+
23
+ class Ma2_Slideshow_Model_Transitiontype
24
+ {
25
+ public function toOptionArray()
26
+ {
27
+ return array(
28
+ array('value' => 'fade', 'label' => Mage::helper('slideshow')->__('Fade')),
29
+ array('value' => 'slide', 'label' => Mage::helper('slideshow')->__('Slide'))
30
+ );
31
+ }
32
+ }
app/code/community/Ma2/Slideshow/controllers/Adminhtml/SlideshowController.php ADDED
@@ -0,0 +1,301 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Extensions
17
+ * @package Ma2_Slideshow free
18
+ * @copyright Copyright (c) 2013 MagenMarket. (http://www.magenmarket.com)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: SlideshowController.php 15 2013-11-05 07:30:45Z linhnt $ */
22
+
23
+ class Ma2_Slideshow_Adminhtml_SlideshowController extends Mage_Adminhtml_Controller_action
24
+ {
25
+
26
+ protected function _initAction() {
27
+ $this->loadLayout()
28
+ ->_setActiveMenu('slideshow/items')
29
+ ->_addBreadcrumb(Mage::helper('adminhtml')->__('Slideshow Manager'), Mage::helper('adminhtml')->__('Slideshow Manager'));
30
+
31
+ return $this;
32
+ }
33
+
34
+ public function indexAction() {
35
+ $this->_initAction();
36
+ $this->renderLayout();
37
+ }
38
+
39
+ public function editAction() {
40
+ $id = $this->getRequest()->getParam('id');
41
+ $model = Mage::getModel('slideshow/slideshow')->load($id);
42
+
43
+ if ($model->getId() || $id == 0) {
44
+ $data = Mage::getSingleton('adminhtml/session')->getFormData(true);
45
+ if (!empty($data)) {
46
+ $model->setData($data);
47
+ }
48
+
49
+ Mage::register('slideshow_data', $model);
50
+
51
+ $this->loadLayout();
52
+ $this->_setActiveMenu('slideshow/items');
53
+
54
+ $this->_addBreadcrumb(Mage::helper('adminhtml')->__('Slideshow Manager'), Mage::helper('adminhtml')->__('Slideshow Manager'));
55
+ $this->_addBreadcrumb(Mage::helper('adminhtml')->__('Slideshow News'), Mage::helper('adminhtml')->__('Slideshow News'));
56
+
57
+ $this->getLayout()->getBlock('head')->setCanLoadExtJs(true);
58
+
59
+ $this->_addContent($this->getLayout()->createBlock('slideshow/adminhtml_slideshow_edit'))
60
+ ->_addLeft($this->getLayout()->createBlock('slideshow/adminhtml_slideshow_edit_tabs'));
61
+
62
+ $this->renderLayout();
63
+ } else {
64
+ Mage::getSingleton('adminhtml/session')->addError(Mage::helper('slideshow')->__('Slideshow does not exist'));
65
+ $this->_redirect('*/*/');
66
+ }
67
+ }
68
+
69
+ public function newAction() {
70
+ $this->_forward('edit');
71
+ }
72
+
73
+ public function saveAction()
74
+ {
75
+ if ($data = $this->getRequest()->getPost())
76
+ {
77
+ $collection = Mage::getModel('slideshow/slideshow')->getCollection();
78
+ $collection->addFieldToFilter('title',$data['title']);
79
+ $collection->addFieldToFilter('category',$data['category']);
80
+ if($this->getRequest()->getParam('id'))
81
+ {
82
+ $collection->addFieldToFilter('slideshow_id',array('neq' => $this->getRequest()->getParam('id')));
83
+ }
84
+
85
+ if($collection->getData())
86
+ {
87
+ Mage::getSingleton('adminhtml/session')->addError(Mage::helper('slideshow')->__('Slideshow with same title "%s" already exist.', $data['title']));
88
+ Mage::getSingleton('adminhtml/session')->setFormData($data);
89
+ $this->_redirect('*/*/edit', array('id' => $this->getRequest()->getParam('id')));
90
+ return;
91
+ }
92
+
93
+ if(isset($_FILES['filename']['name']) && $_FILES['filename']['name'] != '')
94
+ {
95
+ if( $this->getRequest()->getParam('id') > 0 )
96
+ {
97
+ $model = Mage::getModel('slideshow/slideshow')->load($this->getRequest()->getParam('id'));
98
+ if($model->getfilename() != "")
99
+ {
100
+ // path of the resized image to be saved
101
+ // remove file if it already exist
102
+ $imageUrl = Mage::getBaseDir('media').DS."ma2slideshow".DS.$model->getfilename();
103
+ $imageResized = Mage::getBaseDir('media').DS."ma2slideshow".DS."thumbnail".DS.$model->getfilename();
104
+
105
+ if(file_exists($imageUrl))
106
+ {
107
+ unlink($imageUrl);
108
+ unlink($imageResized);
109
+ }
110
+ }
111
+ }
112
+ try
113
+ {
114
+ $date = date('Ymdhis');
115
+ /* Starting upload */
116
+ $uploader = new Varien_File_Uploader('filename');
117
+
118
+ // Any extention would work
119
+ $uploader->setAllowedExtensions(array('jpg','jpeg','gif','png'));
120
+ $uploader->setAllowRenameFiles(false);
121
+
122
+ // Set the file upload mode
123
+ // false -> get the file directly in the specified folder
124
+ // true -> get the file in the product like folders (file.jpg will go in something like /media/f/i/file.jpg)
125
+ $uploader->setFilesDispersion(false);
126
+
127
+ $filedet = pathinfo($_FILES['filename']['name']);
128
+
129
+ // We set media as the upload dir
130
+ $path = Mage::getBaseDir('media').DS.'ma2slideshow'.DS;
131
+ $uploader->save($path, $filedet['filename'].$date.'.'.$filedet['extension'] );
132
+
133
+ // actual path of image
134
+ $imageUrl = Mage::getBaseDir('media').DS."ma2slideshow".DS.$filedet['filename'].$date.'.'.$filedet['extension'];
135
+
136
+ // path of the resized image to be saved
137
+ // here, the resized image is saved in media/resized folder
138
+ $imageResized = Mage::getBaseDir('media').DS."ma2slideshow".DS."thumbnail".DS.$filedet['filename'].$date.'.'.$filedet['extension'];
139
+
140
+ // resize image only if the image file exists and the resized image file doesn't exist
141
+ // the image is resized proportionally with the width/height 135px
142
+ if (!file_exists($imageResized)&&file_exists($imageUrl))
143
+ {
144
+ $imageObj = new Varien_Image($imageUrl);
145
+ $imageObj->constrainOnly(TRUE);
146
+ $imageObj->keepAspectRatio(TRUE);
147
+ $imageObj->keepFrame(FALSE);
148
+ $imageObj->resize(100, 100);
149
+ $imageObj->save($imageResized);
150
+ }
151
+
152
+ }
153
+ catch (Exception $e){
154
+ }
155
+
156
+ //this way the name is saved in DB
157
+ $data['filename'] = $filedet['filename'].$date.'.'.$filedet['extension'];
158
+ }
159
+
160
+ $model = Mage::getModel('slideshow/slideshow');
161
+ $model->setData($data)->setId($this->getRequest()->getParam('id'));
162
+
163
+ try
164
+ {
165
+ if ($model->getCreatedTime == NULL || $model->getUpdateTime() == NULL) {
166
+ $model->setCreatedTime(now())
167
+ ->setUpdateTime(now());
168
+ } else {
169
+ $model->setUpdateTime(now());
170
+ }
171
+
172
+ $model->save();
173
+
174
+ Mage::getSingleton('adminhtml/session')->addSuccess(Mage::helper('slideshow')->__('Item was successfully saved'));
175
+ Mage::getSingleton('adminhtml/session')->setFormData(false);
176
+
177
+ if ($this->getRequest()->getParam('back')) {
178
+ $this->_redirect('*/*/edit', array('id' => $model->getId()));
179
+ return;
180
+ }
181
+ $this->_redirect('*/*/');
182
+ return;
183
+ }
184
+ catch (Exception $e)
185
+ {
186
+ Mage::getSingleton('adminhtml/session')->addError($e->getMessage());
187
+ Mage::getSingleton('adminhtml/session')->setFormData($data);
188
+ $this->_redirect('*/*/edit', array('id' => $this->getRequest()->getParam('id')));
189
+ return;
190
+ }
191
+ }
192
+ Mage::getSingleton('adminhtml/session')->addError(Mage::helper('slideshow')->__('Unable to find item to save'));
193
+ $this->_redirect('*/*/');
194
+ }
195
+
196
+ public function deleteAction()
197
+ {
198
+ if( $this->getRequest()->getParam('id') > 0 )
199
+ {
200
+ try
201
+ {
202
+ $model = Mage::getModel('slideshow/slideshow')->load($this->getRequest()->getParam('id'));
203
+ if($model->getfilename() != "")
204
+ {
205
+ $imageUrl = Mage::getBaseDir('media').DS."ma2slideshow".DS.$model->getfilename();
206
+
207
+ // path of the resized image to be saved
208
+ // here, the resized image is saved in media/resized folder
209
+ $imageResized = Mage::getBaseDir('media').DS."ma2slideshow".DS."thumbnail".DS.$model->getfilename();
210
+
211
+ if(file_exists($imageUrl))
212
+ {
213
+ unlink($imageUrl);
214
+ unlink($imageResized);
215
+ }
216
+ }
217
+
218
+ $model->setId($this->getRequest()->getParam('id'))
219
+ ->delete();
220
+
221
+ Mage::getSingleton('adminhtml/session')->addSuccess(Mage::helper('adminhtml')->__('Item was successfully deleted'));
222
+ $this->_redirect('*/*/');
223
+ }
224
+ catch (Exception $e)
225
+ {
226
+ Mage::getSingleton('adminhtml/session')->addError($e->getMessage());
227
+ $this->_redirect('*/*/edit', array('id' => $this->getRequest()->getParam('id')));
228
+ }
229
+ }
230
+ $this->_redirect('*/*/');
231
+ }
232
+
233
+ public function massDeleteAction()
234
+ {
235
+ $slideshowIds = $this->getRequest()->getParam('slideshow');
236
+ if(!is_array($slideshowIds)) {
237
+ Mage::getSingleton('adminhtml/session')->addError(Mage::helper('adminhtml')->__('Please select item(s)'));
238
+ } else {
239
+ try {
240
+ foreach ($slideshowIds as $slideshowId) {
241
+ $slideshow = Mage::getModel('slideshow/slideshow')->load($slideshowId);
242
+ $slideshow->delete();
243
+ }
244
+ Mage::getSingleton('adminhtml/session')->addSuccess(
245
+ Mage::helper('adminhtml')->__(
246
+ 'Total of %d record(s) were successfully deleted', count($slideshowIds)
247
+ )
248
+ );
249
+ } catch (Exception $e) {
250
+ Mage::getSingleton('adminhtml/session')->addError($e->getMessage());
251
+ }
252
+ }
253
+ $this->_redirect('*/*/index');
254
+ }
255
+
256
+ /**
257
+ * Product grid for AJAX request.
258
+ * Sort and filter result for example.
259
+ */
260
+ public function gridAction()
261
+ {
262
+ $this->loadLayout();
263
+ $this->getResponse()->setBody(
264
+ $this->getLayout()->createBlock('slideshow/adminhtml_slideshow_grid')->toHtml()
265
+ );
266
+ }
267
+
268
+ public function exportCsvAction()
269
+ {
270
+ $fileName = 'ma2slideshow.csv';
271
+ $content = $this->getLayout()->createBlock('slideshow/adminhtml_slideshow_grid')
272
+ ->getCsv();
273
+
274
+ $this->_sendUploadResponse($fileName, $content);
275
+ }
276
+
277
+ public function exportXmlAction()
278
+ {
279
+ $fileName = 'ma2slideshow.xml';
280
+ $content = $this->getLayout()->createBlock('slideshow/adminhtml_slideshow_grid')
281
+ ->getXml();
282
+
283
+ $this->_sendUploadResponse($fileName, $content);
284
+ }
285
+
286
+ protected function _sendUploadResponse($fileName, $content, $contentType='application/octet-stream')
287
+ {
288
+ $response = $this->getResponse();
289
+ $response->setHeader('HTTP/1.1 200 OK','');
290
+ $response->setHeader('Pragma', 'public', true);
291
+ $response->setHeader('Cache-Control', 'must-revalidate, post-check=0, pre-check=0', true);
292
+ $response->setHeader('Content-Disposition', 'attachment; filename='.$fileName);
293
+ $response->setHeader('Last-Modified', date('r'));
294
+ $response->setHeader('Accept-Ranges', 'bytes');
295
+ $response->setHeader('Content-Length', strlen($content));
296
+ $response->setHeader('Content-type', $contentType);
297
+ $response->setBody($content);
298
+ $response->sendResponse();
299
+ die;
300
+ }
301
+ }
app/code/community/Ma2/Slideshow/controllers/IndexController.php ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Extensions
17
+ * @package Ma2_Slideshow free
18
+ * @copyright Copyright (c) 2013 MagenMarket. (http://www.magenmarket.com)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: IndexController.php 15 2013-11-05 07:30:45Z linhnt $ */
22
+
23
+ class Ma2_Slideshow_IndexController extends Mage_Core_Controller_Front_Action
24
+ {
25
+ public function indexAction()
26
+ {
27
+ $this->loadLayout();
28
+ $this->renderLayout();
29
+ }
30
+ }
app/code/community/Ma2/Slideshow/etc/config.xml ADDED
@@ -0,0 +1,188 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <modules>
4
+ <Ma2_Slideshow>
5
+ <version>0.1.0</version>
6
+ </Ma2_Slideshow>
7
+ </modules>
8
+
9
+ <frontend>
10
+ <routers>
11
+ <slideshow>
12
+ <use>standard</use>
13
+ <args>
14
+ <module>Ma2_Slideshow</module>
15
+ <frontName>slideshow</frontName>
16
+ </args>
17
+ </slideshow>
18
+ </routers>
19
+ <layout>
20
+ <updates>
21
+ <slideshow>
22
+ <file>ma2_slideshow.xml</file>
23
+ </slideshow>
24
+ </updates>
25
+ </layout>
26
+ </frontend>
27
+
28
+ <admin>
29
+ <routers>
30
+ <slideshow>
31
+ <use>admin</use>
32
+ <args>
33
+ <module>Ma2_Slideshow</module>
34
+ <frontName>slideshow</frontName>
35
+ </args>
36
+ </slideshow>
37
+
38
+ <adminhtml>
39
+ <args>
40
+ <slideshow>
41
+ <slideshow_options before="Mage_Adminhtml">Ma2_Slideshow_Adminhtml</slideshow_options>
42
+ </slideshow>
43
+ </args>
44
+ </adminhtml>
45
+ </routers>
46
+ </admin>
47
+
48
+ <adminhtml>
49
+ <menu>
50
+ <ma2 translate="title" module="ma2all">
51
+ <title>MA2</title>
52
+ <sort_order>89</sort_order>
53
+ <children>
54
+ <slideshow_manager translate="title" module="slideshow">
55
+ <title>Ma2 Slideshow free</title>
56
+ <sort_order>2</sort_order>
57
+ <children>
58
+ <items translate="title" module="slideshow">
59
+ <title>Manage Items</title>
60
+ <sort_order>1</sort_order>
61
+ <action>slideshow/adminhtml_slideshow</action>
62
+ </items>
63
+ <config translate="title" module="slideshow">
64
+ <title>Slideshow Configuration</title>
65
+ <sort_order>2</sort_order>
66
+ <action>adminhtml/system_config/edit/section/slideshow_options</action>
67
+ </config>
68
+ </children>
69
+ </slideshow_manager>
70
+ </children>
71
+ </ma2>
72
+ </menu>
73
+
74
+ <acl>
75
+ <resources>
76
+ <all>
77
+ <title>Allow Everything</title>
78
+ </all>
79
+ <admin>
80
+ <children>
81
+ <ma2>
82
+ <title>MA2</title>
83
+ <sort_order>89</sort_order>
84
+ <children>
85
+ <slideshow_manager>
86
+ <title>Ma2 Slideshow Module free</title>
87
+ <sort_order>2</sort_order>
88
+ <children>
89
+ <items>
90
+ <title>Manage Items</title>
91
+ <sort_order>1</sort_order>
92
+ </items>
93
+ <config>
94
+ <title>Slideshow Configuration</title>
95
+ <sort_order>2</sort_order>
96
+ </config>
97
+ </children>
98
+ </slideshow_manager>
99
+ </children>
100
+ </ma2>
101
+ <system>
102
+ <children>
103
+ <config>
104
+ <children>
105
+ <slideshow_options translate="title" module="slideshow">
106
+ <title>Ma2 Slideshow free</title>
107
+ </slideshow_options>
108
+ </children>
109
+ </config>
110
+ </children>
111
+ </system>
112
+ </children>
113
+ </admin>
114
+ </resources>
115
+ </acl>
116
+
117
+ <layout>
118
+ <updates>
119
+ <slideshow>
120
+ <file>ma2_slideshow.xml</file>
121
+ </slideshow>
122
+ </updates>
123
+ </layout>
124
+ </adminhtml>
125
+
126
+ <global>
127
+ <models>
128
+ <slideshow>
129
+ <class>Ma2_Slideshow_Model</class>
130
+ <resourceModel>slideshow_mysql4</resourceModel>
131
+ </slideshow>
132
+ <slideshow_mysql4>
133
+ <class>Ma2_Slideshow_Model_Mysql4</class>
134
+ <entities>
135
+ <slideshow>
136
+ <table>ma2_slideshow</table>
137
+ </slideshow>
138
+ </entities>
139
+ </slideshow_mysql4>
140
+ </models>
141
+ <resources>
142
+ <slideshow_setup>
143
+ <setup>
144
+ <module>Ma2_Slideshow</module>
145
+ </setup>
146
+ <connection>
147
+ <use>core_setup</use>
148
+ </connection>
149
+ </slideshow_setup>
150
+ <slideshow_write>
151
+ <connection>
152
+ <use>core_write</use>
153
+ </connection>
154
+ </slideshow_write>
155
+ <slideshow_read>
156
+ <connection>
157
+ <use>core_read</use>
158
+ </connection>
159
+ </slideshow_read>
160
+ </resources>
161
+ <blocks>
162
+ <slideshow>
163
+ <class>Ma2_Slideshow_Block</class>
164
+ </slideshow>
165
+ </blocks>
166
+ <helpers>
167
+ <slideshow>
168
+ <class>Ma2_Slideshow_Helper</class>
169
+ </slideshow>
170
+ </helpers>
171
+ </global>
172
+ <default>
173
+ <slideshow_options>
174
+ <general>
175
+ <slide_height>300</slide_height>
176
+ <display_title>1</display_title>
177
+ <display_content>1</display_content>
178
+ <interval>3000</interval>
179
+ <transitionType>slide</transitionType>
180
+ <transitionTime>1.5</transitionTime>
181
+ <manTransitionTime>0.5</manTransitionTime>
182
+ <navigation>1</navigation>
183
+ <controls>1</controls>
184
+ <pauseOnHover>0</pauseOnHover>
185
+ </general>
186
+ </slideshow_options>
187
+ </default>
188
+ </config>
app/code/community/Ma2/Slideshow/etc/system.xml ADDED
@@ -0,0 +1,143 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <sections>
4
+ <slideshow_options translate="label" module="slideshow">
5
+ <label>Ma2 Slideshow free</label>
6
+ <class>separator-top</class>
7
+ <tab>ma2</tab>
8
+ <frontend_type>text</frontend_type>
9
+ <sort_order>10001</sort_order>
10
+ <show_in_default>1</show_in_default>
11
+ <show_in_website>1</show_in_website>
12
+ <show_in_store>1</show_in_store>
13
+ <groups>
14
+ <general translate="label" module="slideshow">
15
+ <label>General</label>
16
+ <frontend_type>text</frontend_type>
17
+ <sort_order>50</sort_order>
18
+ <show_in_default>1</show_in_default>
19
+ <show_in_website>1</show_in_website>
20
+ <show_in_store>1</show_in_store>
21
+ <fields>
22
+ <slide_height translate="label" module="slideshow">
23
+ <label>Slider height (px)</label>
24
+ <frontend_type>text</frontend_type>
25
+ <validate>validate-digits validate-greater-than-zero</validate>
26
+ <sort_order>1</sort_order>
27
+ <show_in_default>1</show_in_default>
28
+ <show_in_website>1</show_in_website>
29
+ <show_in_store>1</show_in_store>
30
+ <comment>Type a number for the height (in pixel) of slider.</comment>
31
+ </slide_height>
32
+
33
+ <display_title translate="label" module="slideshow">
34
+ <label>Display title of slide?</label>
35
+ <frontend_type>radios</frontend_type>
36
+ <source_model>adminhtml/system_config_source_yesno</source_model>
37
+ <sort_order>2</sort_order>
38
+ <show_in_default>1</show_in_default>
39
+ <show_in_website>1</show_in_website>
40
+ <show_in_store>1</show_in_store>
41
+ </display_title>
42
+
43
+ <display_content translate="label" module="slideshow">
44
+ <label>Display description text of slide?</label>
45
+ <frontend_type>radios</frontend_type>
46
+ <source_model>adminhtml/system_config_source_yesno</source_model>
47
+ <sort_order>3</sort_order>
48
+ <show_in_default>1</show_in_default>
49
+ <show_in_website>1</show_in_website>
50
+ <show_in_store>1</show_in_store>
51
+ </display_content>
52
+
53
+ <auto_play translate="label" module="slideshow">
54
+ <label>Auto play?</label>
55
+ <frontend_type>select</frontend_type>
56
+ <source_model>adminhtml/system_config_source_yesno</source_model>
57
+ <comment>Decides whether to start the show automatically</comment>
58
+ <sort_order>5</sort_order>
59
+ <show_in_default>1</show_in_default>
60
+ <show_in_website>1</show_in_website>
61
+ <show_in_store>1</show_in_store>
62
+ </auto_play>
63
+
64
+ <interval translate="label" module="slideshow">
65
+ <label>Interval</label>
66
+ <frontend_type>text</frontend_type>
67
+ <validate>validate-digits validate-greater-than-zero</validate>
68
+ <comment>Time interval between each slide transition. Example: 2000, 3000</comment>
69
+ <sort_order>6</sort_order>
70
+ <show_in_default>1</show_in_default>
71
+ <show_in_website>1</show_in_website>
72
+ <show_in_store>1</show_in_store>
73
+ </interval>
74
+
75
+ <transitionType translate="label" module="slideshow">
76
+ <label>Transition type</label>
77
+ <frontend_type>select</frontend_type>
78
+ <source_model>slideshow/transitiontype</source_model>
79
+ <comment>Type of transition. Either a fading slideshow or a slider.</comment>
80
+ <sort_order>8</sort_order>
81
+ <show_in_default>1</show_in_default>
82
+ <show_in_website>1</show_in_website>
83
+ <show_in_store>1</show_in_store>
84
+ </transitionType>
85
+
86
+ <transitionTime translate="label" module="slideshow">
87
+ <label>Transition time</label>
88
+ <frontend_type>text</frontend_type>
89
+ <comment>Time taken to animate transition from one slide to the next.</comment>
90
+ <sort_order>9</sort_order>
91
+ <show_in_default>1</show_in_default>
92
+ <show_in_website>1</show_in_website>
93
+ <show_in_store>1</show_in_store>
94
+ </transitionTime>
95
+
96
+ <manTransitionTime translate="label" module="slideshow">
97
+ <label>Manual Transition time</label>
98
+ <frontend_type>text</frontend_type>
99
+ <comment>Time taken to animate transition from one slide to the next when the user has initiated the transition manually.</comment>
100
+ <sort_order>10</sort_order>
101
+ <show_in_default>1</show_in_default>
102
+ <show_in_website>1</show_in_website>
103
+ <show_in_store>1</show_in_store>
104
+ </manTransitionTime>
105
+
106
+ <navigation translate="label" module="slideshow">
107
+ <label>Navigation?</label>
108
+ <frontend_type>select</frontend_type>
109
+ <source_model>adminhtml/system_config_source_yesno</source_model>
110
+ <comment>Whether to generate/use navigation elements (eg: 1,2,3,4...etc) for each slide for quick navigation.</comment>
111
+ <sort_order>11</sort_order>
112
+ <show_in_default>1</show_in_default>
113
+ <show_in_website>1</show_in_website>
114
+ <show_in_store>1</show_in_store>
115
+ </navigation>
116
+
117
+ <controls translate="label" module="slideshow">
118
+ <label>Controls buttons?</label>
119
+ <frontend_type>select</frontend_type>
120
+ <source_model>adminhtml/system_config_source_yesno</source_model>
121
+ <comment>Whether to generate/use control elements for forward,backward and stop/start.</comment>
122
+ <sort_order>12</sort_order>
123
+ <show_in_default>1</show_in_default>
124
+ <show_in_website>1</show_in_website>
125
+ <show_in_store>1</show_in_store>
126
+ </controls>
127
+
128
+ <pauseOnHover translate="label" module="slideshow">
129
+ <label>Pause on hover?</label>
130
+ <frontend_type>select</frontend_type>
131
+ <source_model>adminhtml/system_config_source_yesno</source_model>
132
+ <comment>Pause the show when mouse is hovered over the show element.</comment>
133
+ <sort_order>13</sort_order>
134
+ <show_in_default>1</show_in_default>
135
+ <show_in_website>1</show_in_website>
136
+ <show_in_store>1</show_in_store>
137
+ </pauseOnHover>
138
+ </fields>
139
+ </general>
140
+ </groups>
141
+ </slideshow_options>
142
+ </sections>
143
+ </config>
app/code/community/Ma2/Slideshow/etc/widget.xml ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <widgets>
3
+ <slideshow_widget type="slideshow/slideshow" translate="name description" module="slideshow">
4
+ <name>Ma2 Slideshow free</name>
5
+ <description>Slideshow module from MagenMarket.com. Widgets supported.</description>
6
+ <parameters>
7
+ <slideshow_ids>
8
+ <label>Select slide items</label>
9
+ <visible>1</visible>
10
+ <required>1</required>
11
+ <type>multiselect</type>
12
+ <source_model>slideshow/slideshowselect</source_model>
13
+ </slideshow_ids>
14
+ <template translate="label">
15
+ <label>Frontend template</label>
16
+ <visible>1</visible>
17
+ <required>1</required>
18
+ <type>select</type>
19
+ <values>
20
+ <default translate="label">
21
+ <value>ma2_slideshow/slideshow.phtml</value>
22
+ <label>Default template</label>
23
+ </default>
24
+ </values>
25
+ </template>
26
+ </parameters>
27
+ </slideshow_widget>
28
+ </widgets>
app/code/community/Ma2/Slideshow/sql/slideshow_setup/mysql4-install-0.1.0.php ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Extensions
17
+ * @package Ma2_Slideshow free
18
+ * @copyright Copyright (c) 2013 MagenMarket. (http://www.magenmarket.com)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: mysql4-install-0.1.0.php 15 2013-11-05 07:30:45Z linhnt $ */
22
+
23
+ $installer = $this;
24
+
25
+ $installer->startSetup();
26
+
27
+ $installer->run("
28
+
29
+ DROP TABLE IF EXISTS {$this->getTable('ma2_slideshow')};
30
+ CREATE TABLE {$this->getTable('ma2_slideshow')} (
31
+ `slideshow_id` int(11) unsigned NOT NULL auto_increment,
32
+ `title` varchar(255) NOT NULL default '',
33
+ `category` varchar(255) NOT NULL default '',
34
+ `slideshow_url` varchar(255) NOT NULL default '',
35
+ `filename` varchar(255) NOT NULL default '',
36
+ `sortorder` int(11) NOT NULL default '0',
37
+ `content` text NOT NULL default '',
38
+ `status` smallint(6) NOT NULL default '0',
39
+ `created_time` datetime NULL,
40
+ `update_time` datetime NULL,
41
+ `params` text NULL,
42
+ PRIMARY KEY (`slideshow_id`)
43
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
44
+
45
+ ");
46
+
47
+ $installer->endSetup();
app/code/local/Ma2/All/Helper/Data.php ADDED
@@ -0,0 +1,4 @@
 
 
 
 
1
+ <?php
2
+ class Ma2_All_Helper_Data extends Mage_Core_Helper_Abstract {
3
+
4
+ }
app/code/local/Ma2/All/etc/adminhtml.xml ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <layout>
4
+ <updates>
5
+ <ma2all module="Ma2_All">
6
+ <file>ma2_all.xml</file>
7
+ </ma2all>
8
+ </updates>
9
+ </layout>
10
+ <menu>
11
+ <ma2 translate="title" module="ma2all">
12
+ <title>MA2</title>
13
+ <sort_order>89</sort_order>
14
+ </ma2>
15
+ </menu>
16
+
17
+ <acl>
18
+ <resources>
19
+ <all>
20
+ <title>Allow Everything</title>
21
+ </all>
22
+ <admin>
23
+ <children>
24
+ <ma2>
25
+ <title>MA2</title>
26
+ <sort_order>89</sort_order>
27
+ </ma2>
28
+ <system>
29
+ <children>
30
+ <config>
31
+ <children>
32
+ <ma2all>
33
+ <title>MagenMarket Extensions</title>
34
+ </ma2all>
35
+ </children>
36
+ </config>
37
+ </children>
38
+ </system>
39
+ </children>
40
+ </admin>
41
+ </resources>
42
+ </acl>
43
+ </config>
app/code/local/Ma2/All/etc/config.xml ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <modules>
4
+ <Ma2_All>
5
+ <version>0.1.0</version>
6
+ </Ma2_All>
7
+ </modules>
8
+
9
+ <frontend>
10
+ <layout>
11
+ <updates>
12
+ <ma2all>
13
+ <file>ma2_all.xml</file>
14
+ </ma2all>
15
+ </updates>
16
+ </layout>
17
+ </frontend>
18
+
19
+ <global>
20
+ <blocks>
21
+ <ma2all>
22
+ <class>Ma2_All_Block</class>
23
+ </ma2all>
24
+ </blocks>
25
+ <resources>
26
+ <ma2all_setup>
27
+ <setup>
28
+ <module>Ma2_All</module>
29
+ </setup>
30
+ <connection>
31
+ <use>core_setup</use>
32
+ </connection>
33
+ </ma2all_setup>
34
+ <ma2all_write>
35
+ <connection>
36
+ <use>core_write</use>
37
+ </connection>
38
+ </ma2all_write>
39
+ <ma2all_read>
40
+ <connection>
41
+ <use>core_read</use>
42
+ </connection>
43
+ </ma2all_read>
44
+ </resources>
45
+ <models>
46
+ <ma2all>
47
+ <class>Ma2_All_Model</class>
48
+ </ma2all>
49
+ </models>
50
+ <helpers>
51
+ <ma2all>
52
+ <class>Ma2_All_Helper</class>
53
+ </ma2all>
54
+ </helpers>
55
+ </global>
56
+ </config>
app/code/local/Ma2/All/etc/system.xml ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <tabs>
4
+ <ma2 translate="label" module="ma2all">
5
+ <label>MagenMarket Extensions</label>
6
+ <sort_order>168</sort_order>
7
+ </ma2>
8
+ </tabs>
9
+ </config>
app/code/local/Ma2/FeaturedProducts/Block/Adminhtml/Edit.php DELETED
@@ -1,79 +0,0 @@
1
- <?php
2
- class Ma2_FeaturedProducts_Block_Adminhtml_Edit extends Mage_Adminhtml_Block_Widget_Grid_Container
3
- {
4
- protected $_saveButtonLabel = 'Save Featured Products';
5
- protected $_ma2Url = 'http://www.omegatheme.com';
6
-
7
- public function __construct() {
8
- $this->_blockGroup = 'FeaturedProducts';
9
- $this->_controller = 'adminhtml_edit';
10
- $this->_headerText = Mage::helper('adminhtml')->__('Featured products');
11
- parent::__construct();
12
- $this->_removeButton('add');
13
- $this->_addButton('save', array(
14
- 'label' => $this->_saveButtonLabel,
15
- 'onclick' => 'categorySubmit(\'' . $this->getSaveUrl() . '\')',
16
- 'class' => 'Save',
17
- ));
18
- }
19
-
20
- public function getSaveUrl() {
21
- return $this->getUrl('*/*/save', array('store' => $this->getRequest()->getParam('store')));
22
- }
23
-
24
- protected function _afterToHtml($html) {
25
- return $this->_prependHtml() . parent::_afterToHtml($html) . $this->_appendHtml();
26
- }
27
-
28
- private function _prependHtml() {
29
- $html = '
30
- <form id="featured_edit_form" action="' . $this->getSaveUrl() . '" method="post" enctype="multipart/form-data">
31
- <input name="form_key" type="hidden" value="' . $this->getFormKey() . '" />
32
- <div class="no-display">
33
- <input type="hidden" name="featured_products" id="in_featured_products" value="" />
34
- </div>
35
- </form>
36
- ';
37
- return $html;
38
- }
39
-
40
- private function _appendHtml() {
41
- $html = '
42
- <style type="text/css">
43
- <!--
44
- #logo_wrapp a{
45
- display:block;
46
- width:75px;
47
- float:right;
48
- padding:0px 0px 0px 0px;
49
- margin:5px 0px 0px 0px;
50
- background:url(' . $this->getSkinUrl('images/omega-logo.png') . ') no-repeat 0px 0px;
51
- text-indent: -9999px;
52
- font-size: 0px;
53
- line-height: 0px;
54
- height:13px;
55
- }
56
- #logo_wrapp a:hover {background:url(' . $this->getSkinUrl('images/omega-logo.png') . ') no-repeat 0px -13px; }
57
- -->
58
- </style>
59
- <div style="text-align:right;">Community version of <a href="' . $this->_ma2Url . '/ecommerce/magento/featured-products-on-magento-frontpage/" target="_blank">Featured Products Extension</a></div>
60
- <div id="logo_wrapp"><a href="' . $this->_ma2Url . '" target="_blank">Ma2</a></div>
61
- ';
62
- return $html;
63
- }
64
-
65
- public function getHeaderHtml() {
66
- return '<h3 style="background-image: url(' . $this->getSkinUrl('images/golden_star.png') . ');" class="' . $this->getHeaderCssClass() . '">' . $this->getHeaderText() . '</h3>';
67
- }
68
-
69
- protected function _prepareLayout() {
70
- $this->setChild('store_switcher', $this->getLayout()->createBlock('adminhtml/store_switcher', 'store_switcher')->setUseConfirm(false)
71
- );
72
- return parent::_prepareLayout();
73
- }
74
-
75
- public function getGridHtml() {
76
-
77
- return $this->getChildHtml('store_switcher') . $this->getChildHtml('grid');
78
- }
79
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Ma2/FeaturedProducts/Block/Adminhtml/Edit/Edit.php DELETED
@@ -1,32 +0,0 @@
1
- <?php
2
- class Ma2_FeaturedProducts_Block_Adminhtml_Edit extends Mage_Adminhtml_Block_Widget_Form_Container{
3
- public function __construct()
4
- {
5
- //vwe assign the same blockGroup as the Grid Container
6
- $this->_blockGroup = 'FeaturedProducts';
7
-
8
- //and the same controller
9
- $this->_controller = 'adminhtml_FeaturedProducts';
10
-
11
- parent::__construct();
12
- $this->_objectId = 'id';
13
-
14
- //define the label for the save and delete button
15
- $this->_updateButton('save', 'label','save reference');
16
- $this->_updateButton('delete', 'label', 'delete reference');
17
- }
18
- /* Here, we're looking if we have transmitted a form object,
19
- to update the good text in the header of the page (edit or add) */
20
- public function getHeaderText()
21
- {
22
- if( Mage::registry('FeaturedProducts_data')&&Mage::registry('FeaturedProducts_data')->getId())
23
- {
24
- return 'Editer la reference '.$this->htmlEscape(
25
- Mage::registry('FeaturedProducts_data')->getTitle()).'<br />';
26
- }
27
- else
28
- {
29
- return $this->__('New contact');
30
- }
31
- }
32
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Ma2/FeaturedProducts/Block/Adminhtml/Edit/Renderer/Name.php DELETED
@@ -1,22 +0,0 @@
1
- <?php
2
- class Mas_FeaturedProducts_Block_Adminhtml_Edit_Renderer_Name extends Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Abstract
3
- {
4
- protected $_values;
5
- /**
6
- * Renders grid column
7
- *
8
- * @param Varien_Object $row
9
- * @return string
10
- */
11
- public function render(Varien_Object $row) {
12
- $action_name = $this->getRequest()->getActionName();
13
- if ($action_name == 'exportCsv' || $action_name == 'exportXml') {
14
- return $row->getName();
15
- }
16
- $href = $this->getUrl('*/catalog_product/edit', array(
17
- 'store' => $this->getRequest()->getParam('store'),
18
- 'id' => $row->getId()));
19
- $html = '<a href="' . $href . '">' . $row->getName() . '</a>';
20
- return $html;
21
- }
22
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Ma2/FeaturedProducts/Block/Adminhtml/Edit/Renderer/Visibility.php DELETED
@@ -1,20 +0,0 @@
1
- <?php
2
- class Ma2_FeaturedProducts_Block_Adminhtml_Edit_Renderer_Visibility extends Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Abstract
3
- {
4
- protected $_values;
5
- /**
6
- * Renders grid column
7
- *
8
- * @param Varien_Object $row
9
- * @return string
10
- */
11
- public function render(Varien_Object $row)
12
- {
13
-
14
- $this->_values = Mage::getModel('catalog/product_visibility')->getOptionArray();
15
-
16
- $html = $this->_values[$row->getData($this->getColumn()->getIndex())];
17
-
18
- return $html;
19
- }
20
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Ma2/FeaturedProducts/Block/Product.php DELETED
@@ -1,16 +0,0 @@
1
- <?php
2
- class Ma2_FeaturedProducts_Block_Product
3
- extends Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Abstract
4
- {
5
- public function render(Varien_Object $row)
6
- {
7
- $productId = $row->getData($this->getColumn()->getIndex());
8
- $product = Mage::getModel('catalog/product')->load($productId);
9
- $value = '<img src="">';
10
- if($product->getImage()!= 'noselection')
11
- {
12
- $value='<img src="' . $product->getImageUrl() . '" width="100" height="100" />';
13
- }
14
- return $value;
15
- }
16
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Ma2/FeaturedProducts/Block/Product/List.php DELETED
@@ -1,69 +0,0 @@
1
- <?php
2
- class Ma2_FeaturedProducts_Block_Product_List extends Mage_Catalog_Block_Product_List
3
- {
4
- protected $_productCollection;
5
- protected $_sort_by;
6
- protected function _prepareLayout()
7
- {
8
- if ($breadcrumbsBlock = $this->getLayout()->getBlock('breadcrumbs'))
9
- {
10
- $breadcrumbsBlock->addCrumb('home', array(
11
- 'label'=>Mage::helper('catalog')->__('Home'),
12
- 'title'=>Mage::helper('catalog')->__('Go to Home Page'),
13
- 'link'=>Mage::getBaseUrl()
14
- ));
15
- }
16
- parent::_prepareLayout();
17
- }
18
- /*
19
- * Remove "Position" option from Sort By dropdown
20
- * */
21
- protected function _beforeToHtml()
22
- {
23
- parent::_beforeToHtml();
24
- $toolbar = $this->getToolbarBlock();
25
- $toolbar->removeOrderFromAvailableOrders('position');
26
- return $this;
27
- }
28
- /*
29
- * Load featured products collection
30
- * */
31
- protected function _getProductCollection()
32
- {
33
- if (is_null($this->_productCollection)) {
34
- $collection = Mage::getModel('catalog/product')->getCollection();
35
- $attributes = Mage::getSingleton('catalog/config')
36
- ->getProductAttributes();
37
- $collection->addAttributeToSelect($attributes)
38
- ->addMinimalPrice()
39
- ->addFinalPrice()
40
- ->addTaxPercents()
41
- ->addAttributeToFilter('ma2_featured_product', 1, 'left')
42
- ->addStoreFilter()
43
- ->getSelect();
44
- Mage::getSingleton('catalog/product_status')->addVisibleFilterToCollection($collection);
45
- Mage::getSingleton('catalog/product_visibility')->addVisibleInCatalogFilterToCollection($collection);
46
- $this->_productCollection = $collection;
47
- }
48
- return $this->_productCollection;
49
- }
50
- /**
51
- * Retrieve loaded featured products collection
52
- *
53
- * @return Mage_Eav_Model_Entity_Collection_Abstract
54
- */
55
- public function getFeaturedProductCollection()
56
- {
57
- return $this->_getProductCollection();
58
- }
59
- /**
60
- * Get HTML if there's anything to show
61
- */
62
- protected function _toHtml()
63
- {
64
- $this->assign('WidgetProductProductCollection',$this->getFeaturedProductCollection());
65
- if ($this->_getProductCollection()->count()){
66
- return parent::_toHtml();
67
- }
68
- }
69
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Ma2/FeaturedProducts/Helper/Data.php DELETED
@@ -1,22 +0,0 @@
1
- <?php
2
-
3
- class Ma2_FeaturedProducts_Helper_Data extends Mage_Core_Helper_Abstract
4
- {
5
- const PATH_PAGE_HEADING = 'featuredproducts/standalone/heading';
6
- const PATH_CMS_HEADING = 'featuredproducts/cmspage/heading_block';
7
- const DEFAULT_LABEL = 'Featured Products';
8
-
9
- public function getCmsBlockLabel() {
10
- $configValue = Mage::getStoreConfig(self::PATH_CMS_HEADING);
11
- return strlen($configValue) > 0 ? $configValue : self::DEFAULT_LABEL;
12
- }
13
-
14
- public function getPageLabel() {
15
- $configValue = Mage::getStoreConfig(self::PATH_PAGE_HEADING);
16
- return strlen($configValue) > 0 ? $configValue : self::DEFAULT_LABEL;
17
- }
18
-
19
- public function getIsActive() {
20
- return (bool) Mage::getStoreConfig('featuredproducts/general/active');
21
- }
22
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Ma2/FeaturedProducts/Model/Mysql4/FeaturedProducts.php DELETED
@@ -1,11 +0,0 @@
1
- <?php
2
- class Ma2_FeaturedProducts_Model_Mysql4_FeaturedProducts extends Mage_Core_Model_Mysql4_Abstract
3
- {
4
- public function _construct()
5
- {
6
- $this->_init('catalog/product', 'entity_id');
7
- // here test_id is the primary of the table test.
8
- // And test/test, is the magento table name as mentioned in the
9
- // config.xml file.
10
- }
11
- }
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Ma2/FeaturedProducts/Model/Mysql4/FeaturedProducts/Collection.php DELETED
@@ -1,9 +0,0 @@
1
- <?php
2
- class Ma2_FeaturedProducts_Model_Mysql4_FeaturedProducts_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract
3
- {
4
- public function _construct()
5
- {
6
- parent::_construct();
7
- $this->_init('catalog/product');
8
- }
9
- }
 
 
 
 
 
 
 
 
 
app/code/local/Ma2/FeaturedProducts/Model/System/Config/Source/Sort.php DELETED
@@ -1,11 +0,0 @@
1
- <?php
2
- class Ma2_FeaturedProducts_Model_System_Config_Source_Sort
3
- {
4
- public function toOptionArray()
5
- {
6
- return array(
7
- 0 => Mage::helper('adminhtml')->__('Random'),
8
- 1 => Mage::helper('adminhtml')->__('Last Added')
9
- );
10
- }
11
- }
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Ma2/FeaturedProducts/controllers/IndexController.php DELETED
@@ -1,26 +0,0 @@
1
- <?php
2
-
3
- class Ma2_FeaturedProducts_IndexController extends Mage_Core_Controller_Front_Action
4
- {
5
- public function indexAction()
6
- {
7
- if (!Mage::helper('FeaturedProducts')->getIsActive()) {
8
- $this->_forward('noRoute');
9
- return;
10
- }
11
-
12
- $template = Mage::getConfig()->getNode('global/page/layouts/' . Mage::getStoreConfig("FeaturedProducts/standalone/layout") . '/template');
13
- $this->loadLayout();
14
- $this->getLayout()->getBlock('root')->setTemplate($template);
15
- $this->getLayout()->getBlock('head')->setTitle($this->__(Mage::getStoreConfig("FeaturedProducts/standalone/meta_title")));
16
- $this->getLayout()->getBlock('head')->setDescription($this->__(Mage::getStoreConfig("FeaturedProducts/standalone/meta_description")));
17
- $this->getLayout()->getBlock('head')->setKeywords($this->__(Mage::getStoreConfig("FeaturedProducts/standalone/meta_keywords")));
18
-
19
- $breadcrumbsBlock = $this->getLayout()->getBlock('breadcrumbs');
20
- $breadcrumbsBlock->addCrumb('FeaturedProducts', array(
21
- 'label' => Mage::helper('FeaturedProducts')->__(Mage::helper('FeaturedProducts')->getPageLabel()),
22
- 'title' => Mage::helper('FeaturedProducts')->__(Mage::helper('FeaturedProducts')->getPageLabel()),
23
- ));
24
- $this->renderLayout();
25
- }
26
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Ma2/FeaturedProducts/etc/adminhtml.xml DELETED
@@ -1,37 +0,0 @@
1
- <?xml version="1.0"?>
2
- <config>
3
- <menu>
4
- <ma2>
5
- <children>
6
- <FeaturedProducts translate="title" module="FeaturedProducts">
7
- <title>Featured Products</title>
8
- <sort_order>2</sort_order>
9
- <action>FeaturedProducts/adminhtml_featured</action>
10
- </FeaturedProducts>
11
- </children>
12
- </ma2>
13
- </menu>
14
- <acl>
15
- <resources>
16
- <all>
17
- <title>Allow Everything</title>
18
- </all>
19
- <admin>
20
- <children>
21
- <system>
22
- <children>
23
- <config>
24
- <children>
25
- <FeaturedProducts translate="title" module="FeaturedProducts">
26
- <title>Featured Products</title>
27
- <sort_order>50</sort_order>
28
- </FeaturedProducts>
29
- </children>
30
- </config>
31
- </children>
32
- </system>
33
- </children>
34
- </admin>
35
- </resources>
36
- </acl>
37
- </config>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Ma2/FeaturedProducts/etc/config.xml DELETED
@@ -1,115 +0,0 @@
1
- <?xml version="1.0"?>
2
- <!-- OMG&VDH -->
3
- <config>
4
- <!-- Modules -->
5
- <modules>
6
- <Ma2_FeaturedProducts>
7
- <version>2.0.0</version>
8
- </Ma2_FeaturedProducts>
9
- </modules>
10
- <!-- FrontEnd -->
11
- <frontend>
12
- <routers>
13
- <FeaturedProducts>
14
- <use>standard</use>
15
- <args>
16
- <module>Ma2_FeaturedProducts</module>
17
- <frontName>FeaturedProducts</frontName>
18
- </args>
19
- </FeaturedProducts>
20
- </routers>
21
- <layout>
22
- <updates>
23
- <FeaturedProducts>
24
- <file>ma2_featuredproducts.xml</file>
25
- </FeaturedProducts>
26
- </updates>
27
- </layout>
28
- </frontend>
29
- <!-- Admin -->
30
- <admin>
31
- <routers>
32
- <FeaturedProducts>
33
- <use>admin</use>
34
- <args>
35
- <module>Ma2_FeaturedProducts</module>
36
- <frontName>FeaturedProducts</frontName>
37
- </args>
38
- </FeaturedProducts>
39
- </routers>
40
- </admin>
41
- <!-- AdminHtml -->
42
- <adminhtml>
43
- <!-- acl -->
44
- <acl>
45
- <resources>
46
- <all>
47
- <title>Allow Everything</title>
48
- </all>
49
- <admin>
50
- <children>
51
- <FeaturedProducts>
52
- <title>Featured Products</title>
53
- <sort_order>200</sort_order>
54
- </FeaturedProducts>
55
- </children>
56
- </admin>
57
- </resources>
58
- </acl>
59
- </adminhtml>
60
- <!-- Global -->
61
- <global>
62
- <!-- Models -->
63
- <models>
64
- <FeaturedProducts>
65
- <class>Ma2_FeatureProducts_Model</class>
66
- <resourceModel>FeaturedProducts_mysql4</resourceModel>
67
- </FeaturedProducts>
68
- <FeaturedProducts_mysql4>
69
- <class>Ma2_FeaturedProducts_Model_Mysql4</class>
70
- <entities>
71
- <FeaturedProducts>
72
- <table>FeaturedProducts</table>
73
- <!-- Actual table name in sql -->
74
- </FeaturedProducts>
75
- </entities>
76
- </FeaturedProducts_mysql4>
77
- </models>
78
- <!-- Resources -->
79
- <resources>
80
- <!-- These are resource setting giving access to module,
81
- read/write permission on database -->
82
- <FeaturedProducts_setup>
83
- <setup>
84
- <module>Ma2_FeaturedProducts</module>
85
- <class>Mage_Eav_Model_Entity_Setup</class>
86
- </setup>
87
- <connection>
88
- <use>core_setup</use>
89
- </connection>
90
- </FeaturedProducts_setup>
91
- <FeaturedProducts_write>
92
- <connection>
93
- <use>core_write</use>
94
- </connection>
95
- </FeaturedProducts_write>
96
- <FeaturedProducts_read>
97
- <connection>
98
- <use>core_read</use>
99
- </connection>
100
- </FeaturedProducts_read>
101
- </resources>
102
- <!-- Blocks -->
103
- <blocks>
104
- <FeaturedProducts>
105
- <class>Ma2_FeaturedProducts_Block</class>
106
- </FeaturedProducts>
107
- </blocks>
108
- <!-- Helper -->
109
- <helpers>
110
- <FeaturedProducts>
111
- <class>Ma2_FeaturedProducts_Helper</class>
112
- </FeaturedProducts>
113
- </helpers>
114
- </global>
115
- </config>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Ma2/FeaturedProducts/sql/FeaturedProducts_setup/mysql4-install-1.0.1.php DELETED
@@ -1,26 +0,0 @@
1
- <?php
2
- $installer = $this;
3
- $installer->startSetup();
4
- $installer->addAttribute('catalog_product', 'ma2_featured_product', array(
5
- 'group' => 'General',
6
- 'type' => 'int',
7
- 'backend' => '',
8
- 'frontend' => '',
9
- 'label' => 'Featured product',
10
- 'input' => 'boolean',
11
- 'class' => '',
12
- 'source' => '',
13
- 'global' => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_STORE,
14
- 'visible' => true,
15
- 'required' => false,
16
- 'user_defined' => true,
17
- 'default' => '0',
18
- 'searchable' => false,
19
- 'filterable' => false,
20
- 'comparable' => false,
21
- 'visible_on_front' => false,
22
- 'unique' => false,
23
- 'apply_to' => 'simple,configurable,virtual,bundle,downloadable',
24
- 'is_configurable' => false
25
- ));
26
- $installer->endSetup();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Ma2/FeaturedProducts/sql/FeaturedProducts_setup/mysql4-upgrade-1.0.1-1.1.1.php DELETED
@@ -1,5 +0,0 @@
1
- <?php
2
- $installer = $this;
3
- $installer->startSetup();
4
- $installer->removeAttribute('catalog_product', 'ma2_featured_product');
5
- $installer->endSetup();
 
 
 
 
 
app/code/local/Ma2/FeaturedProducts/sql/FeaturedProducts_setup/mysql4-upgrade-1.1.1-1.2.3.php DELETED
@@ -1,28 +0,0 @@
1
- <?php
2
- $installer = $this;
3
- $installer->startSetup();
4
- $installer->addAttribute('catalog_product', 'ma2_featured_product', array(
5
- 'group' => 'General',
6
- 'type' => 'int',
7
- 'backend' => '',
8
- 'frontend' => '',
9
- 'label' => 'Featured product',
10
- 'input' => 'boolean',
11
- 'class' => '',
12
- 'source' => '',
13
- 'is_global', Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_STORE,
14
- 'visible' => true,
15
- 'required' => false,
16
- 'user_defined' => false,
17
- 'default' => '0',
18
- 'searchable' => false,
19
- 'filterable' => false,
20
- 'comparable' => false,
21
- 'visible_on_front' => false,
22
- 'unique' => false,
23
- 'apply_to' => 'simple,configurable,virtual,bundle,downloadable',
24
- 'is_configurable' => false,
25
- 'used_in_product_listing', '1'
26
- ));
27
- $installer->updateAttribute('catalog_product', 'ma2_featured_product', 'used_in_product_listing', '1');
28
- $installer->endSetup();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Ma2/FeaturedProducts/sql/FeaturedProducts_setup/upgrade-1.2.3-2.0.0.php DELETED
@@ -1,5 +0,0 @@
1
- <?php
2
- $installer = $this;
3
- $installer->startSetup();
4
- $installer->updateAttribute('catalog_product', 'ma2_featured_product', 'is_global', '0');
5
- $installer->endSetup();
 
 
 
 
 
app/code/local/Ma2/ThemeOptions/Block/Adminhtml/System/Config/Form/Field/Font_unused.php CHANGED
@@ -1,68 +1,89 @@
1
- <?php
2
- class OMG_ThemeOptions_Block_Adminhtml_System_Config_Form_Field_Font extends Mage_Adminhtml_Block_System_Config_Form_Field
3
- {
4
- /**
5
- * Override field method to add js
6
- *
7
- * @param Varien_Data_Form_Element_Abstract $element
8
- * @return String
9
- */
10
- protected function _getElementHtml(Varien_Data_Form_Element_Abstract $element)
11
- {
12
- // Get the default HTML for this option
13
- $html = parent::_getElementHtml($element);
14
-
15
- $html .= '<br/><div id="themeoptions_gfont_preview" style="font-size:20px; margin-top:5px;">The quick brown fox jumps over the lazy dog</div>';
16
- /*
17
- $html .= '<br/><div id="themeoptions_gfont_preview" style="font-size:20px; margin-top:5px;">The quick brown fox jumps over the lazy dog</div>
18
-
19
- <script>
20
- var googleFontPreviewModel = Class.create();
21
-
22
- googleFontPreviewModel.prototype = {
23
- initialize : function()
24
- {
25
- this.fontElement = $("meigee_general_appearance_gfont");
26
- this.previewElement = $("themeoptions_gfont_preview");
27
- this.loadedFonts = "";
28
-
29
- this.refreshPreview();
30
- this.bindFontChange();
31
- },
32
- bindFontChange : function()
33
- {
34
- Event.observe(this.fontElement, "change", this.refreshPreview.bind(this));
35
- Event.observe(this.fontElement, "keyup", this.refreshPreview.bind(this));
36
- Event.observe(this.fontElement, "keydown", this.refreshPreview.bind(this));
37
- },
38
- refreshPreview : function()
39
- {
40
- if ( this.loadedFonts.indexOf( this.fontElement.value ) > -1 ) {
41
- this.updateFontFamily();
42
- return;
43
- }
44
-
45
- var ss = document.createElement("link");
46
- ss.type = "text/css";
47
- ss.rel = "stylesheet";
48
- ss.href = "http://fonts.googleapis.com/css?family=" + this.fontElement.value;
49
- document.getElementsByTagName("head")[0].appendChild(ss);
50
-
51
- this.updateFontFamily();
52
-
53
- this.loadedFonts += this.fontElement.value + ",";
54
- },
55
- updateFontFamily : function()
56
- {
57
- $(this.previewElement).setStyle({ fontFamily: this.fontElement.value });
58
- }
59
- }
60
-
61
- googleFontPreview = new googleFontPreviewModel();
62
- </script>
63
-
64
- ';
65
- */
66
- return $html;
67
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
68
  }
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Themes
17
+ * @package Ma2_Default theme
18
+ * @copyright Copyright (coffee) 2013 MagenMarket, http://www.magenmarket.com
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: Font_unused.php 12 2013-11-05 10:00:22Z minhnv $ */
22
+
23
+ class OMG_ThemeOptions_Block_Adminhtml_System_Config_Form_Field_Font extends Mage_Adminhtml_Block_System_Config_Form_Field
24
+ {
25
+ /**
26
+ * Override field method to add js
27
+ *
28
+ * @param Varien_Data_Form_Element_Abstract $element
29
+ * @return String
30
+ */
31
+ protected function _getElementHtml(Varien_Data_Form_Element_Abstract $element)
32
+ {
33
+ // Get the default HTML for this option
34
+ $html = parent::_getElementHtml($element);
35
+
36
+ $html .= '<br/><div id="themeoptions_gfont_preview" style="font-size:20px; margin-top:5px;">The quick brown fox jumps over the lazy dog</div>';
37
+ /*
38
+ $html .= '<br/><div id="themeoptions_gfont_preview" style="font-size:20px; margin-top:5px;">The quick brown fox jumps over the lazy dog</div>
39
+
40
+ <script>
41
+ var googleFontPreviewModel = Class.create();
42
+
43
+ googleFontPreviewModel.prototype = {
44
+ initialize : function()
45
+ {
46
+ this.fontElement = $("meigee_general_appearance_gfont");
47
+ this.previewElement = $("themeoptions_gfont_preview");
48
+ this.loadedFonts = "";
49
+
50
+ this.refreshPreview();
51
+ this.bindFontChange();
52
+ },
53
+ bindFontChange : function()
54
+ {
55
+ Event.observe(this.fontElement, "change", this.refreshPreview.bind(this));
56
+ Event.observe(this.fontElement, "keyup", this.refreshPreview.bind(this));
57
+ Event.observe(this.fontElement, "keydown", this.refreshPreview.bind(this));
58
+ },
59
+ refreshPreview : function()
60
+ {
61
+ if ( this.loadedFonts.indexOf( this.fontElement.value ) > -1 ) {
62
+ this.updateFontFamily();
63
+ return;
64
+ }
65
+
66
+ var ss = document.createElement("link");
67
+ ss.type = "text/css";
68
+ ss.rel = "stylesheet";
69
+ ss.href = "http://fonts.googleapis.com/css?family=" + this.fontElement.value;
70
+ document.getElementsByTagName("head")[0].appendChild(ss);
71
+
72
+ this.updateFontFamily();
73
+
74
+ this.loadedFonts += this.fontElement.value + ",";
75
+ },
76
+ updateFontFamily : function()
77
+ {
78
+ $(this.previewElement).setStyle({ fontFamily: this.fontElement.value });
79
+ }
80
+ }
81
+
82
+ googleFontPreview = new googleFontPreviewModel();
83
+ </script>
84
+
85
+ ';
86
+ */
87
+ return $html;
88
+ }
89
  }
app/code/local/Ma2/ThemeOptions/Block/Adminhtml/System/Config/Form/Field/Fontpreview.php CHANGED
@@ -1,127 +1,149 @@
1
- <?php
2
- class Ma2_ThemeOptions_Block_Adminhtml_System_Config_Form_Field_FontPreview extends Mage_Adminhtml_Block_System_Config_Form_Field
3
- {
4
- /**
5
- * Override field method to add js
6
- *
7
- * @param Varien_Data_Form_Element_Abstract $element
8
- * @return String
9
- */
10
- protected function _getElementHtml(Varien_Data_Form_Element_Abstract $element)
11
- {
12
- // Get the default HTML for this option
13
- $html = parent::_getElementHtml($element);
14
- //Zend_Debug::dump(Mage::app()->getStore()->isCurrentlySecure());
15
- $isSecure = Mage::app()->getStore()->isCurrentlySecure();
16
- $selectId = $element->getHtmlId();
17
- $previewId = $selectId.'_preview';
18
-
19
- $html .= '<div class="font-preview rounded" id="'.$previewId.'"><span class="span-font-preview">The quick brown fox jumps over the lazy dog</span></div>';
20
-
21
- // css for font preview
22
- $css = '
23
- div.font-preview{
24
- background-color: #f8f8f8;
25
- border: 1px solid #CCC;
26
- width: 260px;
27
- padding: 8px;
28
- overflow: hidden;
29
- -webkit-box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.2); /* Safari, Chrome */
30
- -moz-box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.2); /* Firefox */
31
- box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.2);
32
- }
33
- span.span-font-preview{
34
- float: left;
35
- width: 100%;
36
- text-align: center;
37
- font-size: 18px;
38
- line-height: normal;
39
- }
40
- ';
41
- $savedFont = explode(':', $element->getValue());
42
- if (isset($savedFont[0]) && $savedFont[1] && $savedFont[0] == "w"){
43
- $css .= '
44
- #'.$previewId.' { font-family: "'.$savedFont[1].'";}
45
- ';
46
- }
47
- else{
48
- $css .= '
49
- #'.$previewId.' { font-family: '.str_replace(array('s:', 'w:'), '', $element->getValue()).';}
50
- ';
51
- }
52
-
53
- $html .= '
54
- <style type="text/css">
55
- '.$css.'
56
- </style>
57
- ';
58
-
59
- // script for font preview
60
- $html .= '
61
- <script type="text/javascript">
62
- var ma2FontPreviewModel = Class.create();
63
-
64
- ma2FontPreviewModel.prototype = {
65
- initialize : function()
66
- {
67
- this.fontSelect = $("'.$selectId.'");
68
- this.fontPreviewElement = $("'.$previewId.'");
69
- this.loadedFonts = "";
70
-
71
- this.loadPreviewFont();
72
- this.bindFontChange();
73
- },
74
- bindFontChange : function()
75
- {
76
- Event.observe(this.fontSelect, "change", this.loadPreviewFont.bind(this));
77
- Event.observe(this.fontSelect, "keyup", this.loadPreviewFont.bind(this));
78
- Event.observe(this.fontSelect, "keydown", this.loadPreviewFont.bind(this));
79
- },
80
- loadPreviewFont : function()
81
- {
82
- if ( this.loadedFonts.indexOf( this.fontSelect.value ) > -1 ) {
83
- this.updatePreview();
84
- return;
85
- }
86
- var font = this.fontSelect.value.split(":");
87
- var fontfamily = font[1];
88
- if (font[0] == "w"){
89
- /*
90
- WebFont.load({
91
- google: {
92
- families: [ fontfamily ]
93
- }
94
- });
95
- */
96
- // use synchronous method
97
- var fcs = document.createElement("link");
98
- fcs.type = "text/css";
99
- fcs.rel = "stylesheet";
100
- fcs.href = "'.($isSecure ? 'https:' : 'http:').'//fonts.googleapis.com/css?family=" + fontfamily;
101
- document.getElementsByTagName("head")[0].appendChild(fcs);
102
-
103
- this.updatePreview();
104
- this.loadedFonts += this.fontSelect.value + ",";
105
- }
106
- },
107
- updatePreview : function()
108
- {
109
- var font = this.fontSelect.value.split(":");
110
- var fontfamily = font[1];
111
- if (font[0] == "w"){
112
- $(this.fontPreviewElement).setStyle({ fontFamily: "\'"+fontfamily+"\'" });
113
- }
114
- else{
115
- $(this.fontPreviewElement).setStyle({ fontFamily: fontfamily });
116
- }
117
- }
118
- }
119
-
120
- backendFontPreview = new ma2FontPreviewModel();
121
-
122
- </script>
123
- ';
124
-
125
- return $html;
126
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
127
  }
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Themes
17
+ * @package Ma2_Default theme
18
+ * @copyright Copyright (coffee) 2013 MagenMarket, http://www.magenmarket.com
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: Fontpreview.php 14 2013-11-19 05:08:04Z linhnt $ */
22
+
23
+ class Ma2_ThemeOptions_Block_Adminhtml_System_Config_Form_Field_FontPreview extends Mage_Adminhtml_Block_System_Config_Form_Field
24
+ {
25
+ /**
26
+ * Override field method to add js
27
+ *
28
+ * @param Varien_Data_Form_Element_Abstract $element
29
+ * @return String
30
+ */
31
+ protected function _getElementHtml(Varien_Data_Form_Element_Abstract $element)
32
+ {
33
+ // Get the default HTML for this option
34
+ $html = parent::_getElementHtml($element);
35
+ //Zend_Debug::dump(Mage::app()->getStore()->isCurrentlySecure());
36
+ $isSecure = Mage::app()->getStore()->isCurrentlySecure();
37
+ $selectId = $element->getHtmlId();
38
+ $previewId = $selectId.'_preview';
39
+
40
+ $html .= '<div class="font-preview rounded" id="'.$previewId.'"><span class="span-font-preview">The quick brown fox jumps over the lazy dog</span></div>';
41
+
42
+ // css for font preview
43
+ $css = '
44
+ div.font-preview{
45
+ background-color: #f8f8f8;
46
+ border: 1px solid #CCC;
47
+ width: 260px;
48
+ padding: 8px;
49
+ overflow: hidden;
50
+ -webkit-box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.2); /* Safari, Chrome */
51
+ -moz-box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.2); /* Firefox */
52
+ box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.2);
53
+ }
54
+ span.span-font-preview{
55
+ float: left;
56
+ width: 100%;
57
+ text-align: center;
58
+ font-size: 18px;
59
+ line-height: normal;
60
+ }
61
+ ';
62
+ $savedFont = explode(':', $element->getValue());
63
+ if (isset($savedFont[0]) && $savedFont[1] && $savedFont[0] == "w"){
64
+ $css .= '
65
+ #'.$previewId.' { font-family: "'.$savedFont[1].'";}
66
+ ';
67
+ }
68
+ else{
69
+ $css .= '
70
+ #'.$previewId.' { font-family: '.str_replace(array('s:', 'w:'), '', $element->getValue()).';}
71
+ ';
72
+ }
73
+
74
+ $html .= '
75
+ <style type="text/css">
76
+ '.$css.'
77
+ </style>
78
+ ';
79
+
80
+ // script for font preview
81
+ $html .= '
82
+ <script type="text/javascript">
83
+ var ma2FontPreviewModel = Class.create();
84
+
85
+ ma2FontPreviewModel.prototype = {
86
+ initialize : function()
87
+ {
88
+ this.fontSelect = $("'.$selectId.'");
89
+ this.fontPreviewElement = $("'.$previewId.'");
90
+ this.loadedFonts = "";
91
+
92
+ this.loadPreviewFont();
93
+ this.bindFontChange();
94
+ },
95
+ bindFontChange : function()
96
+ {
97
+ Event.observe(this.fontSelect, "change", this.loadPreviewFont.bind(this));
98
+ Event.observe(this.fontSelect, "keyup", this.loadPreviewFont.bind(this));
99
+ Event.observe(this.fontSelect, "keydown", this.loadPreviewFont.bind(this));
100
+ },
101
+ loadPreviewFont : function()
102
+ {
103
+ if ( this.loadedFonts.indexOf( this.fontSelect.value ) > -1 ) {
104
+ this.updatePreview();
105
+ return;
106
+ }
107
+ var font = this.fontSelect.value.split(":");
108
+ var fontfamily = font[1];
109
+ if (font[0] == "w"){
110
+ /*
111
+ WebFont.load({
112
+ google: {
113
+ families: [ fontfamily ]
114
+ }
115
+ });
116
+ */
117
+ // use synchronous method
118
+ var fcs = document.createElement("link");
119
+ fcs.type = "text/css";
120
+ fcs.rel = "stylesheet";
121
+ fcs.href = "'.($isSecure ? 'https:' : 'http:').'//fonts.googleapis.com/css?family=" + fontfamily;
122
+ document.getElementsByTagName("head")[0].appendChild(fcs);
123
+
124
+ //this.updatePreview();
125
+ this.loadedFonts += this.fontSelect.value + ",";
126
+ }
127
+ this.updatePreview();
128
+ },
129
+ updatePreview : function()
130
+ {
131
+ var font = this.fontSelect.value.split(":");
132
+ var fontfamily = font[1];
133
+ if (font[0] == "w"){
134
+ $(this.fontPreviewElement).setStyle({ fontFamily: "\'"+fontfamily+"\'" });
135
+ }
136
+ else{
137
+ $(this.fontPreviewElement).setStyle({ fontFamily: fontfamily });
138
+ }
139
+ }
140
+ }
141
+
142
+ backendFontPreview = new ma2FontPreviewModel();
143
+
144
+ </script>
145
+ ';
146
+
147
+ return $html;
148
+ }
149
  }
app/code/local/Ma2/ThemeOptions/Block/Adminhtml/System/Config/Form/Field/Fonts_unused.php CHANGED
@@ -1,176 +1,197 @@
1
- <?php
2
- class OMG_ThemeOptions_Block_Adminhtml_System_Config_Form_Field_Fonts extends Mage_Adminhtml_Block_System_Config_Form_Field
3
- {
4
- /**
5
- * Override field method to add js
6
- *
7
- * @param Varien_Data_Form_Element_Abstract $element
8
- * @return String
9
- */
10
- protected function _getElementHtml(Varien_Data_Form_Element_Abstract $element)
11
- {
12
- // Get the default HTML for this option
13
- $sans_safe = array(
14
- "Arial, Helvetica, sans-serif",
15
- "'Arial Black', Gadget, sans-serif",
16
- "Impact, Charcoal, sans-serif",
17
- "'Lucida Sans Unicode', 'Lucida Grande', sans-serif",
18
- "'MS Sans Serif', Geneva, sans-serif",
19
- "Tahoma, Geneva, sans-serif",
20
- "'Trebuchet MS', Helvetica, sans-serif",
21
- "Verdana, Geneva, sans-serif"
22
- );
23
- $serif_safe = array(
24
- "'Book Antiqua', 'Palatino Linotype', Palatino, serif",
25
- "Bookman, serif",
26
- "Garamond, serif",
27
- "Georgia, serif",
28
- "'MS Serif', 'New York', serif",
29
- "'Times New Roman', Times, serif"
30
- );
31
- $monospace_safe = array(
32
- "Courier, monospace",
33
- "'Courier New', Courier, monospace",
34
- "'Lucida Console', Monaco, monospace"
35
- );
36
-
37
- $options = array();
38
-
39
- $font_default_Opt = array();
40
- $font_default_Opt[] = array(
41
- 'label' => htmlentities("'Helvetica Neue', Helvetica, Arial, sans-serif"),
42
- 'value' => htmlentities("s:'Helvetica Neue',Helvetica,Arial,sans-serif")
43
- );
44
-
45
- $sans_safe_Opt = array();
46
- foreach($sans_safe as $sansfont){
47
- //$selected = ($this->value == 's:'.htmlentities($sansfont)) ? ' selected="selected"' : '';
48
- $sans_safe_Opt[] = array(
49
- 'label' => htmlentities($sansfont),
50
- 'value' => 's:'.htmlentities($sansfont)
51
- );
52
- }
53
- $serif_safe_Opt = array();
54
- foreach($serif_safe as $seriffont){
55
- //$selected = ($this->value == 's:'.htmlentities($seriffont)) ? ' selected="selected"' : '';
56
- $serif_safe_Opt[] = array(
57
- 'label' => htmlentities($seriffont),
58
- 'value' => 's:'.htmlentities($seriffont)
59
- );
60
- }
61
- $monospace_safe_Opt = array();
62
- foreach($monospace_safe as $monospace_font){
63
- //$selected = ($this->value == 's:'.htmlentities($monospace_font)) ? ' selected="selected"' : '';
64
- $monospace_safe_Opt[] = array(
65
- 'label' => htmlentities($monospace_font),
66
- 'value' => 's:'.htmlentities($monospace_font)
67
- );
68
- }
69
-
70
-
71
- $options[] = array(
72
- 'label' => 'Default',
73
- 'value' => $font_default_Opt
74
- );
75
- $options[] = array(
76
- 'label' => 'Safe Fonts: Sans-Serif',
77
- 'value' => $sans_safe_Opt
78
- );
79
- $options[] = array(
80
- 'label' => 'Safe Fonts: Serif',
81
- 'value' => $serif_safe_Opt
82
- );
83
- $options[] = array(
84
- 'label' => 'Safe Fonts: Monospace',
85
- 'value' => $monospace_safe_Opt
86
- );
87
-
88
- $element->setValues($options);
89
- //$element->setClass('');
90
-
91
- $html = parent::_getElementHtml($element);
92
- return $html;
93
-
94
- $sans_safe = array(
95
- "Arial, Helvetica, sans-serif",
96
- "'Arial Black', Gadget, sans-serif",
97
- "Impact, Charcoal, sans-serif",
98
- "'Lucida Sans Unicode', 'Lucida Grande', sans-serif",
99
- "'MS Sans Serif', Geneva, sans-serif",
100
- "Tahoma, Geneva, sans-serif",
101
- "'Trebuchet MS', Helvetica, sans-serif",
102
- "Verdana, Geneva, sans-serif"
103
- );
104
- $serif_safe = array(
105
- "'Book Antiqua', 'Palatino Linotype', Palatino, serif",
106
- "Bookman, serif",
107
- "Garamond, serif",
108
- "Georgia, serif",
109
- "'MS Serif', 'New York', serif",
110
- "'Times New Roman', Times, serif"
111
- );
112
- $monospace_safe = array(
113
- "Courier, monospace",
114
- "'Courier New', Courier, monospace",
115
- "'Lucida Console', Monaco, monospace"
116
- );
117
-
118
- $html = array();
119
- $optionsHtml = array();
120
-
121
- $optionsHtml[] = '<optgroup label="Default">';
122
- $optionsHtml[] = '<option value="s:\'Helvetica Neue\',Helvetica,Arial,sans-serif">\'Helvetica Neue\', Arial, Helvetica, sans-serif</option>';
123
- $optionsHtml[] = '</optgroup>';
124
-
125
- $optionsHtml[] = '<optgroup label="Safe Fonts: Sans-Serif">';
126
- foreach($sans_safe as $sansfont){
127
- $selected = ($this->value == 's:'.htmlentities($sansfont)) ? ' selected="selected"' : '';
128
- $optionsHtml[] = '<option value="s:'.htmlentities($sansfont).'" '.$selected.'>'.htmlentities($sansfont).'</option>';
129
- }
130
-
131
- $optionsHtml[] = '<optgroup label="Safe Fonts: Serif">';
132
- foreach($serif_safe as $seriffont){
133
- $selected = ($this->value == 's:'.htmlentities($seriffont)) ? ' selected="selected"' : '';
134
- $optionsHtml[] = '<option value="s:'.htmlentities($seriffont).'" '.$selected.'>'.htmlentities($seriffont).'</option>';
135
- }
136
-
137
- $optionsHtml[] = '<optgroup label="Safe Fonts: Monospace">';
138
- foreach($monospace_safe as $monospace_font){
139
- $selected = ($this->value == 's:'.htmlentities($monospace_font)) ? ' selected="selected"' : '';
140
- $optionsHtml[] = '<option value="s:'.htmlentities($monospace_font).'" '.$selected.'>'.htmlentities($monospace_font).'</option>';
141
- }
142
-
143
- $optionsHtml[] = '</optgroup>';
144
- /*
145
- $optionsHtml[] = '<optgroup label="Google WebFonts">';
146
-
147
- if (!isset($_SESSION["gfontlist"]) || empty($_SESSION["gfontlist"])){
148
- $webfontJFile = JPATH_LIBRARIES . DS . 'omg' . DS . '3rd'. DS . 'webfonts' . DS .'gwebfonts.json';
149
- $fontsJson = $this->file_include_contents($webfontJFile);
150
- $_SESSION["gfontlist"] = $fontsJson;
151
- }
152
- $webfonts = $_SESSION["gfontlist"] ? $_SESSION["gfontlist"] : $fontsJson;
153
-
154
-
155
- $webfonts = @json_decode($webfonts, true);
156
- $wfontArray = $webfonts["items"];
157
- if (is_array($wfontArray) && count($wfontArray) > 0){
158
- foreach($wfontArray as $idx => $wfont){
159
- $subsets = implode(',', (array)$wfont["subsets"]);
160
- $selected = ($this->value == 'w:'.$wfont["family"]) ? ' selected="selected"' : '';
161
- $optionsHtml[] = '<option value="w:'.$wfont["family"].'" '.$selected.'>'.$wfont["family"] . ' (' .$subsets . ')'.'</option>';
162
- }
163
- }
164
- $optionsHtml[] = '</optgroup>';
165
- */
166
- /*
167
- $html[] = '<div class="select-wrapper '.($this->element['class'] ? trim($this->element['class']->__toString()) : '').'">';
168
- $html[] = '<span class="savedValue rounded-6">'.str_replace(array('w:','s:'), '', $this->value).'</span>';
169
- $html[] = ' <select id="' . $this->id . '" data-value="' . $this->value . '" name="' . $this->name . '" class="selectbox-real" onchange="fontPreview(this.value);">';
170
- $html[] = implode("\n", $optionsHtml);
171
- $html[] = ' </select>';
172
- $html[] = '</div>';
173
-
174
- return implode('', $html); */
175
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
176
  }
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Themes
17
+ * @package Ma2_Default theme
18
+ * @copyright Copyright (coffee) 2013 MagenMarket, http://www.magenmarket.com
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: Fonts_unused.php 12 2013-11-05 10:00:22Z minhnv $ */
22
+
23
+ class OMG_ThemeOptions_Block_Adminhtml_System_Config_Form_Field_Fonts extends Mage_Adminhtml_Block_System_Config_Form_Field
24
+ {
25
+ /**
26
+ * Override field method to add js
27
+ *
28
+ * @param Varien_Data_Form_Element_Abstract $element
29
+ * @return String
30
+ */
31
+ protected function _getElementHtml(Varien_Data_Form_Element_Abstract $element)
32
+ {
33
+ // Get the default HTML for this option
34
+ $sans_safe = array(
35
+ "Arial, Helvetica, sans-serif",
36
+ "'Arial Black', Gadget, sans-serif",
37
+ "Impact, Charcoal, sans-serif",
38
+ "'Lucida Sans Unicode', 'Lucida Grande', sans-serif",
39
+ "'MS Sans Serif', Geneva, sans-serif",
40
+ "Tahoma, Geneva, sans-serif",
41
+ "'Trebuchet MS', Helvetica, sans-serif",
42
+ "Verdana, Geneva, sans-serif"
43
+ );
44
+ $serif_safe = array(
45
+ "'Book Antiqua', 'Palatino Linotype', Palatino, serif",
46
+ "Bookman, serif",
47
+ "Garamond, serif",
48
+ "Georgia, serif",
49
+ "'MS Serif', 'New York', serif",
50
+ "'Times New Roman', Times, serif"
51
+ );
52
+ $monospace_safe = array(
53
+ "Courier, monospace",
54
+ "'Courier New', Courier, monospace",
55
+ "'Lucida Console', Monaco, monospace"
56
+ );
57
+
58
+ $options = array();
59
+
60
+ $font_default_Opt = array();
61
+ $font_default_Opt[] = array(
62
+ 'label' => htmlentities("'Helvetica Neue', Helvetica, Arial, sans-serif"),
63
+ 'value' => htmlentities("s:'Helvetica Neue',Helvetica,Arial,sans-serif")
64
+ );
65
+
66
+ $sans_safe_Opt = array();
67
+ foreach($sans_safe as $sansfont){
68
+ //$selected = ($this->value == 's:'.htmlentities($sansfont)) ? ' selected="selected"' : '';
69
+ $sans_safe_Opt[] = array(
70
+ 'label' => htmlentities($sansfont),
71
+ 'value' => 's:'.htmlentities($sansfont)
72
+ );
73
+ }
74
+ $serif_safe_Opt = array();
75
+ foreach($serif_safe as $seriffont){
76
+ //$selected = ($this->value == 's:'.htmlentities($seriffont)) ? ' selected="selected"' : '';
77
+ $serif_safe_Opt[] = array(
78
+ 'label' => htmlentities($seriffont),
79
+ 'value' => 's:'.htmlentities($seriffont)
80
+ );
81
+ }
82
+ $monospace_safe_Opt = array();
83
+ foreach($monospace_safe as $monospace_font){
84
+ //$selected = ($this->value == 's:'.htmlentities($monospace_font)) ? ' selected="selected"' : '';
85
+ $monospace_safe_Opt[] = array(
86
+ 'label' => htmlentities($monospace_font),
87
+ 'value' => 's:'.htmlentities($monospace_font)
88
+ );
89
+ }
90
+
91
+
92
+ $options[] = array(
93
+ 'label' => 'Default',
94
+ 'value' => $font_default_Opt
95
+ );
96
+ $options[] = array(
97
+ 'label' => 'Safe Fonts: Sans-Serif',
98
+ 'value' => $sans_safe_Opt
99
+ );
100
+ $options[] = array(
101
+ 'label' => 'Safe Fonts: Serif',
102
+ 'value' => $serif_safe_Opt
103
+ );
104
+ $options[] = array(
105
+ 'label' => 'Safe Fonts: Monospace',
106
+ 'value' => $monospace_safe_Opt
107
+ );
108
+
109
+ $element->setValues($options);
110
+ //$element->setClass('');
111
+
112
+ $html = parent::_getElementHtml($element);
113
+ return $html;
114
+
115
+ $sans_safe = array(
116
+ "Arial, Helvetica, sans-serif",
117
+ "'Arial Black', Gadget, sans-serif",
118
+ "Impact, Charcoal, sans-serif",
119
+ "'Lucida Sans Unicode', 'Lucida Grande', sans-serif",
120
+ "'MS Sans Serif', Geneva, sans-serif",
121
+ "Tahoma, Geneva, sans-serif",
122
+ "'Trebuchet MS', Helvetica, sans-serif",
123
+ "Verdana, Geneva, sans-serif"
124
+ );
125
+ $serif_safe = array(
126
+ "'Book Antiqua', 'Palatino Linotype', Palatino, serif",
127
+ "Bookman, serif",
128
+ "Garamond, serif",
129
+ "Georgia, serif",
130
+ "'MS Serif', 'New York', serif",
131
+ "'Times New Roman', Times, serif"
132
+ );
133
+ $monospace_safe = array(
134
+ "Courier, monospace",
135
+ "'Courier New', Courier, monospace",
136
+ "'Lucida Console', Monaco, monospace"
137
+ );
138
+
139
+ $html = array();
140
+ $optionsHtml = array();
141
+
142
+ $optionsHtml[] = '<optgroup label="Default">';
143
+ $optionsHtml[] = '<option value="s:\'Helvetica Neue\',Helvetica,Arial,sans-serif">\'Helvetica Neue\', Arial, Helvetica, sans-serif</option>';
144
+ $optionsHtml[] = '</optgroup>';
145
+
146
+ $optionsHtml[] = '<optgroup label="Safe Fonts: Sans-Serif">';
147
+ foreach($sans_safe as $sansfont){
148
+ $selected = ($this->value == 's:'.htmlentities($sansfont)) ? ' selected="selected"' : '';
149
+ $optionsHtml[] = '<option value="s:'.htmlentities($sansfont).'" '.$selected.'>'.htmlentities($sansfont).'</option>';
150
+ }
151
+
152
+ $optionsHtml[] = '<optgroup label="Safe Fonts: Serif">';
153
+ foreach($serif_safe as $seriffont){
154
+ $selected = ($this->value == 's:'.htmlentities($seriffont)) ? ' selected="selected"' : '';
155
+ $optionsHtml[] = '<option value="s:'.htmlentities($seriffont).'" '.$selected.'>'.htmlentities($seriffont).'</option>';
156
+ }
157
+
158
+ $optionsHtml[] = '<optgroup label="Safe Fonts: Monospace">';
159
+ foreach($monospace_safe as $monospace_font){
160
+ $selected = ($this->value == 's:'.htmlentities($monospace_font)) ? ' selected="selected"' : '';
161
+ $optionsHtml[] = '<option value="s:'.htmlentities($monospace_font).'" '.$selected.'>'.htmlentities($monospace_font).'</option>';
162
+ }
163
+
164
+ $optionsHtml[] = '</optgroup>';
165
+ /*
166
+ $optionsHtml[] = '<optgroup label="Google WebFonts">';
167
+
168
+ if (!isset($_SESSION["gfontlist"]) || empty($_SESSION["gfontlist"])){
169
+ $webfontJFile = JPATH_LIBRARIES . DS . 'omg' . DS . '3rd'. DS . 'webfonts' . DS .'gwebfonts.json';
170
+ $fontsJson = $this->file_include_contents($webfontJFile);
171
+ $_SESSION["gfontlist"] = $fontsJson;
172
+ }
173
+ $webfonts = $_SESSION["gfontlist"] ? $_SESSION["gfontlist"] : $fontsJson;
174
+
175
+
176
+ $webfonts = @json_decode($webfonts, true);
177
+ $wfontArray = $webfonts["items"];
178
+ if (is_array($wfontArray) && count($wfontArray) > 0){
179
+ foreach($wfontArray as $idx => $wfont){
180
+ $subsets = implode(',', (array)$wfont["subsets"]);
181
+ $selected = ($this->value == 'w:'.$wfont["family"]) ? ' selected="selected"' : '';
182
+ $optionsHtml[] = '<option value="w:'.$wfont["family"].'" '.$selected.'>'.$wfont["family"] . ' (' .$subsets . ')'.'</option>';
183
+ }
184
+ }
185
+ $optionsHtml[] = '</optgroup>';
186
+ */
187
+ /*
188
+ $html[] = '<div class="select-wrapper '.($this->element['class'] ? trim($this->element['class']->__toString()) : '').'">';
189
+ $html[] = '<span class="savedValue rounded-6">'.str_replace(array('w:','s:'), '', $this->value).'</span>';
190
+ $html[] = ' <select id="' . $this->id . '" data-value="' . $this->value . '" name="' . $this->name . '" class="selectbox-real" onchange="fontPreview(this.value);">';
191
+ $html[] = implode("\n", $optionsHtml);
192
+ $html[] = ' </select>';
193
+ $html[] = '</div>';
194
+
195
+ return implode('', $html); */
196
+ }
197
  }
app/code/local/Ma2/ThemeOptions/Block/Adminhtml/System/Config/Form/Field/Fontscript_unused.php CHANGED
@@ -1,69 +1,90 @@
1
- <?php
2
- class OMG_ThemeOptions_Block_Adminhtml_System_Config_Form_Field_FontScript extends Mage_Adminhtml_Block_System_Config_Form_Field
3
- {
4
- /*
5
- * Overide field method to remove label, scope-label
6
- */
7
- public function render(Varien_Data_Form_Element_Abstract $element)
8
- {
9
- // we remove the scope label for this element
10
- $element->unsScope()->unsCanUseWebsiteValue()->unsCanUseDefaultValue();
11
- // we remove the label for this element
12
- $element->unsLabel()->unsCanUseWebsiteValue()->unsCanUseDefaultValue();
13
- return parent::render($element);
14
- }
15
-
16
- /**
17
- * Override field method to add js code
18
- *
19
- * @param Varien_Data_Form_Element_Abstract $element
20
- * @return String
21
- */
22
- protected function _getElementHtml(Varien_Data_Form_Element_Abstract $element)
23
- {
24
- // Get the default HTML for this option
25
- //$html = parent::_getElementHtml($element);
26
- $html = '';
27
- /*
28
- $html .= '
29
- <script type="text/javascript">
30
- WebFont.load({
31
- google: {
32
- families: [ "Abel" ]
33
- }});
34
-
35
- function fontPreview(value){
36
- var font = value.split(":");
37
- var fontfamily = font[1];
38
- if (font[0] == "w"){
39
- WebFont.load({
40
- google: {
41
- families: [ fontfamily ]
42
- }
43
- });
44
- }
45
-
46
- if (font[0] == "w"){
47
- $$("span.span-font-preview").setStyle({"font-family": "\'"+fontfamily+"\'"});
48
- }
49
- else{
50
- $$("span.span-font-preview").setStyle({"font-family": ""+fontfamily});
51
- }
52
-
53
- $$("span.span-font-preview").html("The quick brown fox jumps over the lazy dog");
54
-
55
- $$("div.font-preview").setStyle({"display": "block"});
56
- if(value == "none"){
57
- $$("div.font-preview").setStyle({"display": "none"});
58
- }
59
- }
60
-
61
- function closePreview(){
62
- $$("div.font-preview").setStyle({"display": "none"});
63
- }
64
- </script>
65
- ';
66
- */
67
- return $html;
68
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
69
  }
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Themes
17
+ * @package Ma2_Default theme
18
+ * @copyright Copyright (coffee) 2013 MagenMarket, http://www.magenmarket.com
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: Fontscript_unused.php 12 2013-11-05 10:00:22Z minhnv $ */
22
+
23
+ class OMG_ThemeOptions_Block_Adminhtml_System_Config_Form_Field_FontScript extends Mage_Adminhtml_Block_System_Config_Form_Field
24
+ {
25
+ /*
26
+ * Overide field method to remove label, scope-label
27
+ */
28
+ public function render(Varien_Data_Form_Element_Abstract $element)
29
+ {
30
+ // we remove the scope label for this element
31
+ $element->unsScope()->unsCanUseWebsiteValue()->unsCanUseDefaultValue();
32
+ // we remove the label for this element
33
+ $element->unsLabel()->unsCanUseWebsiteValue()->unsCanUseDefaultValue();
34
+ return parent::render($element);
35
+ }
36
+
37
+ /**
38
+ * Override field method to add js code
39
+ *
40
+ * @param Varien_Data_Form_Element_Abstract $element
41
+ * @return String
42
+ */
43
+ protected function _getElementHtml(Varien_Data_Form_Element_Abstract $element)
44
+ {
45
+ // Get the default HTML for this option
46
+ //$html = parent::_getElementHtml($element);
47
+ $html = '';
48
+ /*
49
+ $html .= '
50
+ <script type="text/javascript">
51
+ WebFont.load({
52
+ google: {
53
+ families: [ "Abel" ]
54
+ }});
55
+
56
+ function fontPreview(value){
57
+ var font = value.split(":");
58
+ var fontfamily = font[1];
59
+ if (font[0] == "w"){
60
+ WebFont.load({
61
+ google: {
62
+ families: [ fontfamily ]
63
+ }
64
+ });
65
+ }
66
+
67
+ if (font[0] == "w"){
68
+ $$("span.span-font-preview").setStyle({"font-family": "\'"+fontfamily+"\'"});
69
+ }
70
+ else{
71
+ $$("span.span-font-preview").setStyle({"font-family": ""+fontfamily});
72
+ }
73
+
74
+ $$("span.span-font-preview").html("The quick brown fox jumps over the lazy dog");
75
+
76
+ $$("div.font-preview").setStyle({"display": "block"});
77
+ if(value == "none"){
78
+ $$("div.font-preview").setStyle({"display": "none"});
79
+ }
80
+ }
81
+
82
+ function closePreview(){
83
+ $$("div.font-preview").setStyle({"display": "none"});
84
+ }
85
+ </script>
86
+ ';
87
+ */
88
+ return $html;
89
+ }
90
  }
app/code/local/Ma2/ThemeOptions/Block/Adminhtml/System/Config/Form/Field/Heading.php CHANGED
@@ -1,16 +1,37 @@
1
- <?php
2
- class Ma2_ThemeOptions_Block_Adminhtml_System_Config_Form_Field_Heading extends Mage_Adminhtml_Block_System_Config_Form_Field
3
- {
4
- /**
5
- * Override field method to add js
6
- *
7
- * @param Varien_Data_Form_Element_Abstract $element
8
- * @return String
9
- */
10
- protected function _getElementHtml(Varien_Data_Form_Element_Abstract $element)
11
- {
12
- //var_dump($element->getData());
13
- $html = '<p class="'.$element->getClass().'">'.$element->getLabel().'</p>';
14
- return $html;
15
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  }
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Themes
17
+ * @package Ma2_Default theme
18
+ * @copyright Copyright (coffee) 2013 MagenMarket, http://www.magenmarket.com
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: Heading.php 12 2013-11-05 10:00:22Z minhnv $ */
22
+
23
+ class Ma2_ThemeOptions_Block_Adminhtml_System_Config_Form_Field_Heading extends Mage_Adminhtml_Block_System_Config_Form_Field
24
+ {
25
+ /**
26
+ * Override field method to add js
27
+ *
28
+ * @param Varien_Data_Form_Element_Abstract $element
29
+ * @return String
30
+ */
31
+ protected function _getElementHtml(Varien_Data_Form_Element_Abstract $element)
32
+ {
33
+ //var_dump($element->getData());
34
+ $html = '<p class="'.$element->getClass().'">'.$element->getLabel().'</p>';
35
+ return $html;
36
+ }
37
  }
app/code/local/Ma2/ThemeOptions/Block/Adminhtml/System/Config/Form/Field/Images.php CHANGED
@@ -1,63 +1,83 @@
1
- <?php
2
-
3
- class Ma2_ThemeOptions_Block_Adminhtml_System_Config_Form_Field_Images extends Mage_Adminhtml_Block_System_Config_Form_Field
4
- {
5
- /**
6
- * Override method to output our custom image omg
7
- *
8
- * @param Varien_Data_Form_Element_Abstract $element
9
- * @return String
10
- */
11
- protected function _getElementHtml(Varien_Data_Form_Element_Abstract $element)
12
- {
13
- // Get the default HTML for this option
14
- $html = parent::_getElementHtml($element);
15
-
16
- $html = '<div class="sidebars-row">';
17
- $value = $element->getValue();
18
- if ($values = $element->getValues()) {
19
- foreach ($values as $option) {
20
- $html.= $this->_optionToHtml($element, $option, $value);
21
- }
22
- }
23
- $html.= $element->getAfterElementHtml();
24
- $html.= '</div>';
25
-
26
- return $html;
27
- }
28
-
29
- /**
30
- * Override method to output wrapper
31
- *
32
- * @param Varien_Data_Form_Element_Abstract $element
33
- * @param Array $option
34
- * @param String $selected
35
- * @return String
36
- */
37
- protected function _optionToHtml($element, $option, $selected)
38
- {
39
- $html = '<div class="ma2-radio">';
40
- $html .= '<div class="ma2-thumb"><img src="'.Mage::getDesign()->getSkinUrl('images/'.$option['value'].'.png').'" /></div>';
41
- $html .= '<input type="radio"'.$element->serialize(array('name', 'class', 'style'));
42
- if (is_array($option)) {
43
- $html.= 'value="'.htmlspecialchars($option['value'], ENT_COMPAT).'" id="'.$element->getHtmlId().$value.'"';
44
- if ($option['value'] == $selected) {
45
- $html.= ' checked="checked"';
46
- }
47
- $html.= ' />';
48
- $html.= '<label class="inline" for="'.$element->getHtmlId().$option['value'].'">'.$option['label'].'</label>';
49
- }
50
- elseif ($option instanceof Varien_Object) {
51
- $html.= 'id="'.$element->getHtmlId().$option->getValue().'"'.$option->serialize(array('label', 'title', 'value', 'class', 'style'));
52
- if (in_array($option->getValue(), $selected)) {
53
- $html.= ' checked="checked"';
54
- }
55
- $html.= ' />';
56
- $html.= '<label class="inline" for="'.$element->getHtmlId().$option->getValue().'">'.$option->getLabel().'</label>';
57
- }
58
- $html.= '</div>';
59
- $html.= $element->getSeparator() . "\n";
60
- return $html;
61
- }
62
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
63
  }
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Themes
17
+ * @package Ma2_Default theme
18
+ * @copyright Copyright (coffee) 2013 MagenMarket, http://www.magenmarket.com
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: Images.php 12 2013-11-05 10:00:22Z minhnv $ */
22
+
23
+ class Ma2_ThemeOptions_Block_Adminhtml_System_Config_Form_Field_Images extends Mage_Adminhtml_Block_System_Config_Form_Field
24
+ {
25
+ /**
26
+ * Override method to output our custom image omg
27
+ *
28
+ * @param Varien_Data_Form_Element_Abstract $element
29
+ * @return String
30
+ */
31
+ protected function _getElementHtml(Varien_Data_Form_Element_Abstract $element)
32
+ {
33
+ // Get the default HTML for this option
34
+ $html = parent::_getElementHtml($element);
35
+
36
+ $html = '<div class="sidebars-row">';
37
+ $value = $element->getValue();
38
+ if ($values = $element->getValues()) {
39
+ foreach ($values as $option) {
40
+ $html.= $this->_optionToHtml($element, $option, $value);
41
+ }
42
+ }
43
+ $html.= $element->getAfterElementHtml();
44
+ $html.= '</div>';
45
+
46
+ return $html;
47
+ }
48
+
49
+ /**
50
+ * Override method to output wrapper
51
+ *
52
+ * @param Varien_Data_Form_Element_Abstract $element
53
+ * @param Array $option
54
+ * @param String $selected
55
+ * @return String
56
+ */
57
+ protected function _optionToHtml($element, $option, $selected)
58
+ {
59
+ $html = '<div class="ma2-radio">';
60
+ $html .= '<div class="ma2-thumb"><img src="'.Mage::getDesign()->getSkinUrl('images/'.$option['value'].'.png').'" /></div>';
61
+ $html .= '<input type="radio"'.$element->serialize(array('name', 'class', 'style'));
62
+ if (is_array($option)) {
63
+ $html.= 'value="'.htmlspecialchars($option['value'], ENT_COMPAT).'" id="'.$element->getHtmlId().$value.'"';
64
+ if ($option['value'] == $selected) {
65
+ $html.= ' checked="checked"';
66
+ }
67
+ $html.= ' />';
68
+ $html.= '<label class="inline" for="'.$element->getHtmlId().$option['value'].'">'.$option['label'].'</label>';
69
+ }
70
+ elseif ($option instanceof Varien_Object) {
71
+ $html.= 'id="'.$element->getHtmlId().$option->getValue().'"'.$option->serialize(array('label', 'title', 'value', 'class', 'style'));
72
+ if (in_array($option->getValue(), $selected)) {
73
+ $html.= ' checked="checked"';
74
+ }
75
+ $html.= ' />';
76
+ $html.= '<label class="inline" for="'.$element->getHtmlId().$option->getValue().'">'.$option->getLabel().'</label>';
77
+ }
78
+ $html.= '</div>';
79
+ $html.= $element->getSeparator() . "\n";
80
+ return $html;
81
+ }
82
+
83
  }
app/code/local/Ma2/ThemeOptions/Block/Adminhtml/System/Config/Form/Field/Imagessmall.php CHANGED
@@ -1,63 +1,83 @@
1
- <?php
2
-
3
- class Ma2_ThemeOptions_Block_Adminhtml_System_Config_Form_Field_Imagessmall extends Mage_Adminhtml_Block_System_Config_Form_Field
4
- {
5
- /**
6
- * Override method to output our custom image Omg
7
- *
8
- * @param Varien_Data_Form_Element_Abstract $element
9
- * @return String
10
- */
11
- protected function _getElementHtml(Varien_Data_Form_Element_Abstract $element)
12
- {
13
- // Get the default HTML for this option
14
- $html = parent::_getElementHtml($element);
15
-
16
- $html = '<div class="sidebars-row">';
17
- $value = $element->getValue();
18
- if ($values = $element->getValues()) {
19
- foreach ($values as $option) {
20
- $html.= $this->_optionToHtml($element, $option, $value);
21
- }
22
- }
23
- $html.= $element->getAfterElementHtml();
24
- $html.= '</div>';
25
-
26
- return $html;
27
- }
28
-
29
- /**
30
- * Override method to output wrapper
31
- *
32
- * @param Varien_Data_Form_Element_Abstract $element
33
- * @param Array $option
34
- * @param String $selected
35
- * @return String
36
- */
37
- protected function _optionToHtml($element, $option, $selected)
38
- {
39
- $html = '<div class="left a-center meigee-radio">';
40
- $html .= '<div class="meigee-thumb"><img src="'.Mage::getDesign()->getSkinUrl('images/'.$option['value'].'.png').'" /></div>';
41
- $html .= '<input type="radio"'.$element->serialize(array('name', 'class', 'style'));
42
- if (is_array($option)) {
43
- $html.= 'value="'.htmlspecialchars($option['value'], ENT_COMPAT).'" id="'.$element->getHtmlId().$option['value'].'"';
44
- if ($option['value'] == $selected) {
45
- $html.= ' checked="checked"';
46
- }
47
- $html.= ' />';
48
- $html.= '<label class="inline" for="'.$element->getHtmlId().$option['value'].'">'.$option['label'].'</label>';
49
- }
50
- elseif ($option instanceof Varien_Object) {
51
- $html.= 'id="'.$element->getHtmlId().$option->getValue().'"'.$option->serialize(array('label', 'title', 'value', 'class', 'style'));
52
- if (in_array($option->getValue(), $selected)) {
53
- $html.= ' checked="checked"';
54
- }
55
- $html.= ' />';
56
- $html.= '<label class="inline" for="'.$element->getHtmlId().$option->getValue().'">'.$option->getLabel().'</label>';
57
- }
58
- $html.= '</div>';
59
- $html.= $element->getSeparator() . "\n";
60
- return $html;
61
- }
62
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
63
  }
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Themes
17
+ * @package Ma2_Default theme
18
+ * @copyright Copyright (coffee) 2013 MagenMarket, http://www.magenmarket.com
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: Imagessmall.php 12 2013-11-05 10:00:22Z minhnv $ */
22
+
23
+ class Ma2_ThemeOptions_Block_Adminhtml_System_Config_Form_Field_Imagessmall extends Mage_Adminhtml_Block_System_Config_Form_Field
24
+ {
25
+ /**
26
+ * Override method to output our custom image Omg
27
+ *
28
+ * @param Varien_Data_Form_Element_Abstract $element
29
+ * @return String
30
+ */
31
+ protected function _getElementHtml(Varien_Data_Form_Element_Abstract $element)
32
+ {
33
+ // Get the default HTML for this option
34
+ $html = parent::_getElementHtml($element);
35
+
36
+ $html = '<div class="sidebars-row">';
37
+ $value = $element->getValue();
38
+ if ($values = $element->getValues()) {
39
+ foreach ($values as $option) {
40
+ $html.= $this->_optionToHtml($element, $option, $value);
41
+ }
42
+ }
43
+ $html.= $element->getAfterElementHtml();
44
+ $html.= '</div>';
45
+
46
+ return $html;
47
+ }
48
+
49
+ /**
50
+ * Override method to output wrapper
51
+ *
52
+ * @param Varien_Data_Form_Element_Abstract $element
53
+ * @param Array $option
54
+ * @param String $selected
55
+ * @return String
56
+ */
57
+ protected function _optionToHtml($element, $option, $selected)
58
+ {
59
+ $html = '<div class="left a-center meigee-radio">';
60
+ $html .= '<div class="meigee-thumb"><img src="'.Mage::getDesign()->getSkinUrl('images/'.$option['value'].'.png').'" /></div>';
61
+ $html .= '<input type="radio"'.$element->serialize(array('name', 'class', 'style'));
62
+ if (is_array($option)) {
63
+ $html.= 'value="'.htmlspecialchars($option['value'], ENT_COMPAT).'" id="'.$element->getHtmlId().$option['value'].'"';
64
+ if ($option['value'] == $selected) {
65
+ $html.= ' checked="checked"';
66
+ }
67
+ $html.= ' />';
68
+ $html.= '<label class="inline" for="'.$element->getHtmlId().$option['value'].'">'.$option['label'].'</label>';
69
+ }
70
+ elseif ($option instanceof Varien_Object) {
71
+ $html.= 'id="'.$element->getHtmlId().$option->getValue().'"'.$option->serialize(array('label', 'title', 'value', 'class', 'style'));
72
+ if (in_array($option->getValue(), $selected)) {
73
+ $html.= ' checked="checked"';
74
+ }
75
+ $html.= ' />';
76
+ $html.= '<label class="inline" for="'.$element->getHtmlId().$option->getValue().'">'.$option->getLabel().'</label>';
77
+ }
78
+ $html.= '</div>';
79
+ $html.= $element->getSeparator() . "\n";
80
+ return $html;
81
+ }
82
+
83
  }
app/code/local/Ma2/ThemeOptions/Block/Adminhtml/System/Config/Form/Field/OColor.php CHANGED
@@ -1,17 +1,38 @@
1
- <?php
2
- class Ma2_ThemeOptions_Block_Adminhtml_System_Config_Form_Field_OColor extends Mage_Adminhtml_Block_System_Config_Form_Field
3
- {
4
- /**
5
- * Override field method to add js
6
- *
7
- * @param Varien_Data_Form_Element_Abstract $element
8
- * @return String
9
- */
10
- protected function _getElementHtml(Varien_Data_Form_Element_Abstract $element)
11
- {
12
- // Get the default HTML for this option
13
- $element->setClass('color');
14
- $html = parent::_getElementHtml($element);
15
- return $html;
16
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  }
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Themes
17
+ * @package Ma2_Default theme
18
+ * @copyright Copyright (coffee) 2013 MagenMarket, http://www.magenmarket.com
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: OColor.php 12 2013-11-05 10:00:22Z minhnv $ */
22
+
23
+ class Ma2_ThemeOptions_Block_Adminhtml_System_Config_Form_Field_OColor extends Mage_Adminhtml_Block_System_Config_Form_Field
24
+ {
25
+ /**
26
+ * Override field method to add js
27
+ *
28
+ * @param Varien_Data_Form_Element_Abstract $element
29
+ * @return String
30
+ */
31
+ protected function _getElementHtml(Varien_Data_Form_Element_Abstract $element)
32
+ {
33
+ // Get the default HTML for this option
34
+ $element->setClass('color');
35
+ $html = parent::_getElementHtml($element);
36
+ return $html;
37
+ }
38
  }
app/code/local/Ma2/ThemeOptions/Block/Adminhtml/System/Config/Form/Field/Patern.php CHANGED
@@ -1,62 +1,82 @@
1
- <?php
2
-
3
- class Ma2_ThemeOptions_Block_Adminhtml_System_Config_Form_Field_patern extends Mage_Adminhtml_Block_System_Config_Form_Field
4
- {
5
- /**
6
- * Override method to output our custom image omg
7
- *
8
- * @param Varien_Data_Form_Element_Abstract $element
9
- * @return String
10
- */
11
- protected function _getElementHtml(Varien_Data_Form_Element_Abstract $element)
12
- {
13
- // Get the default HTML for this option
14
- $html = parent::_getElementHtml($element);
15
-
16
- $html = '<div class="paterns-row">';
17
- $value = $element->getValue();
18
- if ($values = $element->getValues()) {
19
- foreach ($values as $option) {
20
- $html.= $this->_optionToHtml($element, $option, $value);
21
- }
22
- }
23
- $html.= $element->getAfterElementHtml();
24
- $html.= '</div>';
25
-
26
- return $html;
27
- }
28
-
29
- /**
30
- * Override method to output wrapper
31
- *
32
- * @param Varien_Data_Form_Element_Abstract $element
33
- * @param Array $option
34
- * @param String $selected
35
- * @return String
36
- */
37
- protected function _optionToHtml($element, $option, $selected)
38
- {
39
- $float = ( $option['value'] == 'light' ? 'right' : 'left' );
40
- $html = '<div class="'.$float.' a-center ma2-radio">';
41
- $html .= '<div class="ma2-thumb" style="background:url('.Mage::getDesign()->getSkinUrl('images/paterns/'.$option['value'].'.png').') 0 0 repeat;"></div>';
42
- $html .= '<input type="radio"'.$element->serialize(array('name', 'class', 'style'));
43
- if (is_array($option)) {
44
- $html.= 'value="'.htmlspecialchars($option['value'], ENT_COMPAT).'" id="'.$element->getHtmlId().$option['value'].'"';
45
- if ($option['value'] == $selected) {
46
- $html.= ' checked="checked"';
47
- }
48
- $html.= ' />';
49
- }
50
- elseif ($option instanceof Varien_Object) {
51
- $html.= 'id="'.$element->getHtmlId().$option->getValue().'"'.$option->serialize(array('label', 'title', 'value', 'class', 'style'));
52
- if (in_array($option->getValue(), $selected)) {
53
- $html.= ' checked="checked"';
54
- }
55
- $html.= ' />';
56
- }
57
- $html.= '</div>';
58
- $html.= $element->getSeparator() . "\n";
59
- return $html;
60
- }
61
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
62
  }
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Themes
17
+ * @package Ma2_Default theme
18
+ * @copyright Copyright (coffee) 2013 MagenMarket, http://www.magenmarket.com
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: Patern.php 12 2013-11-05 10:00:22Z minhnv $ */
22
+
23
+ class Ma2_ThemeOptions_Block_Adminhtml_System_Config_Form_Field_patern extends Mage_Adminhtml_Block_System_Config_Form_Field
24
+ {
25
+ /**
26
+ * Override method to output our custom image omg
27
+ *
28
+ * @param Varien_Data_Form_Element_Abstract $element
29
+ * @return String
30
+ */
31
+ protected function _getElementHtml(Varien_Data_Form_Element_Abstract $element)
32
+ {
33
+ // Get the default HTML for this option
34
+ $html = parent::_getElementHtml($element);
35
+
36
+ $html = '<div class="paterns-row">';
37
+ $value = $element->getValue();
38
+ if ($values = $element->getValues()) {
39
+ foreach ($values as $option) {
40
+ $html.= $this->_optionToHtml($element, $option, $value);
41
+ }
42
+ }
43
+ $html.= $element->getAfterElementHtml();
44
+ $html.= '</div>';
45
+
46
+ return $html;
47
+ }
48
+
49
+ /**
50
+ * Override method to output wrapper
51
+ *
52
+ * @param Varien_Data_Form_Element_Abstract $element
53
+ * @param Array $option
54
+ * @param String $selected
55
+ * @return String
56
+ */
57
+ protected function _optionToHtml($element, $option, $selected)
58
+ {
59
+ $float = ( $option['value'] == 'light' ? 'right' : 'left' );
60
+ $html = '<div class="'.$float.' a-center ma2-radio">';
61
+ $html .= '<div class="ma2-thumb" style="background:url('.Mage::getDesign()->getSkinUrl('images/paterns/'.$option['value'].'.png').') 0 0 repeat;"></div>';
62
+ $html .= '<input type="radio"'.$element->serialize(array('name', 'class', 'style'));
63
+ if (is_array($option)) {
64
+ $html.= 'value="'.htmlspecialchars($option['value'], ENT_COMPAT).'" id="'.$element->getHtmlId().$option['value'].'"';
65
+ if ($option['value'] == $selected) {
66
+ $html.= ' checked="checked"';
67
+ }
68
+ $html.= ' />';
69
+ }
70
+ elseif ($option instanceof Varien_Object) {
71
+ $html.= 'id="'.$element->getHtmlId().$option->getValue().'"'.$option->serialize(array('label', 'title', 'value', 'class', 'style'));
72
+ if (in_array($option->getValue(), $selected)) {
73
+ $html.= ' checked="checked"';
74
+ }
75
+ $html.= ' />';
76
+ }
77
+ $html.= '</div>';
78
+ $html.= $element->getSeparator() . "\n";
79
+ return $html;
80
+ }
81
+
82
  }
app/code/local/Ma2/ThemeOptions/Block/Html/Ma2blocks.php ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Themes
17
+ * @package Ma2_Default theme
18
+ * @copyright Copyright (coffee) 2013 MagenMarket, http://www.magenmarket.com
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: Ma2blocks.php 12 2013-11-05 10:00:22Z minhnv $ */
22
+
23
+ class Ma2_ThemeOptions_Block_Html_Ma2blocks extends Mage_Core_Block_Template
24
+ {
25
+ public function __construct()
26
+ {
27
+ parent::__construct();
28
+
29
+ if ($this->hasData('template')) {
30
+ $this->setTemplate($this->getData('template'));
31
+ } else {
32
+ $this->setTemplate('page/html/ma2blocks.phtml');
33
+ }
34
+ }
35
+
36
+ protected $_layouts = array(
37
+ '1' => array('100'),
38
+ '2' => array('50','50'),
39
+ '3' => array('33','33','33'),
40
+ '4' => array('25','25','25','25'),
41
+ '5' => array('20','20','20','20','20')
42
+ );
43
+
44
+ public function getLayouts($block_name, $num_blocks = 1)
45
+ {
46
+ $create_column = trim(Mage::getStoreConfig('theme_options/blocks_layout/create_column_'.$block_name));
47
+ if(intval($create_column) == 0){
48
+ return array();
49
+ }
50
+
51
+ $default_column = trim(Mage::getStoreConfig('theme_options/blocks_layout/default_column_'.$block_name));
52
+ if(intval($default_column) == 1){
53
+ return $this->_layouts[(int)$num_blocks];
54
+ }
55
+
56
+ $store_config_layouts = trim(Mage::getStoreConfig('theme_options/blocks_layout/'.$block_name));
57
+ $layout_boxes = array();
58
+
59
+ if($store_config_layouts != '') {
60
+
61
+ $store_config_layouts = explode(";", $store_config_layouts);
62
+
63
+ if(count($store_config_layouts) > 0) {
64
+
65
+ foreach ($store_config_layouts as $idx=>$store_config_layout)
66
+ {
67
+ if (trim($store_config_layout) !=""){
68
+ $layout_boxes[$idx+1] = explode(",", trim($store_config_layout));
69
+ }
70
+ }
71
+ }
72
+ }
73
+
74
+ if(!count($layout_boxes))
75
+ {
76
+ $layout_boxes = $this->_layouts;
77
+ }
78
+
79
+ return $layout_boxes[(int)$num_blocks];
80
+ }
81
+ }
82
+ ?>
app/code/local/Ma2/ThemeOptions/Block/ThemeOptions.php CHANGED
@@ -1,10 +1,33 @@
1
- <?php
2
- class Ma2_ThemeOptions_Block_ThemeOptions extends Mage_Core_Block_Template
3
- {
4
- protected function _toHtml()
5
- {
6
- $this->assign('themeOptions', Mage::getStoreConfig('theme_options'));
7
- return parent::_toHtml();
8
- }
9
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  ?>
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Themes
17
+ * @package Ma2_Default theme
18
+ * @copyright Copyright (coffee) 2013 MagenMarket, http://www.magenmarket.com
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: ThemeOptions.php 12 2013-11-05 10:00:22Z minhnv $ */
22
+
23
+ class Ma2_ThemeOptions_Block_ThemeOptions extends Mage_Core_Block_Template
24
+ {
25
+
26
+ protected function _toHtml()
27
+ {
28
+ $this->assign('themeOptions', Mage::getStoreConfig('theme_options'));
29
+ return parent::_toHtml();
30
+ }
31
+
32
+ }
33
  ?>
app/code/local/Ma2/ThemeOptions/Controller/Observer.php CHANGED
@@ -1,11 +1,31 @@
1
- <?php
2
-
3
- class Ma2_ThemeOptions_Controller_Observer
4
- {
5
- //Event: adminhtml_controller_action_predispatch_start
6
- public function overrideTheme()
7
- {
8
- Mage::getDesign()->setArea('adminhtml')
9
- ->setTheme('ma2');
10
- }
11
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Themes
17
+ * @package Ma2_Default theme
18
+ * @copyright Copyright (coffee) 2013 MagenMarket, http://www.magenmarket.com
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: Observer.php 12 2013-11-05 10:00:22Z minhnv $ */
22
+
23
+ class Ma2_ThemeOptions_Controller_Observer
24
+ {
25
+ //Event: adminhtml_controller_action_predispatch_start
26
+ public function overrideTheme()
27
+ {
28
+ Mage::getDesign()->setArea('adminhtml')
29
+ ->setTheme('ma2');
30
+ }
31
+ }
app/code/local/Ma2/ThemeOptions/Exception.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
  /**
3
- * Magento
4
  *
5
  * NOTICE OF LICENSE
6
  *
@@ -8,29 +8,18 @@
8
  * that is bundled with this package in the file LICENSE.txt.
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
  *
15
  * DISCLAIMER
16
  *
17
- * Do not edit or add to this file if you wish to upgrade Magento to newer
18
- * versions in the future. If you wish to customize Magento for your
19
- * needs please refer to http://www.magentocommerce.com for more information.
20
  *
21
- * @category Mage
22
- * @package Mage_Adminhtml
23
- * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
24
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
25
- */
 
26
 
27
-
28
- /**
29
- * Magento adminhtml module exception
30
- *
31
- * @category Mage
32
- * @package OMG_ThemeOptions
33
- */
34
  class Ma2_ThemeOptions_Exception extends Mage_Core_Exception
35
  {
36
  }
1
  <?php
2
  /**
3
+ * MagenMarket.com
4
  *
5
  * NOTICE OF LICENSE
6
  *
8
  * that is bundled with this package in the file LICENSE.txt.
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
 
 
 
11
  *
12
  * DISCLAIMER
13
  *
14
+ * Edit or modify this file with yourown risk.
 
 
15
  *
16
+ * @category Themes
17
+ * @package Ma2_Default theme
18
+ * @copyright Copyright (coffee) 2013 MagenMarket, http://www.magenmarket.com
19
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: Exception.php 12 2013-11-05 10:00:22Z minhnv $ */
22
 
 
 
 
 
 
 
 
23
  class Ma2_ThemeOptions_Exception extends Mage_Core_Exception
24
  {
25
  }
app/code/local/Ma2/ThemeOptions/Helper/Data.php CHANGED
@@ -1,30 +1,51 @@
1
- <?php
2
- class Ma2_ThemeOptions_Helper_Data extends Mage_Core_Helper_Abstract
3
- {
4
- //public $section = 'theme_options';
5
-
6
- public function getAllConfig($section)
7
- {
8
- return Mage::getStoreConfig($section);
9
- }
10
-
11
- /**
12
- *
13
- *get theme options
14
- *
15
- */
16
- public function getGroupConfig($section, $group)
17
- {
18
- return Mage::getStoreConfig($section.'/'.$group);
19
- }
20
-
21
- /**
22
- *
23
- *get theme options
24
- *
25
- */
26
- public function getFieldConfig($section, $group, $field)
27
- {
28
- return Mage::getStoreConfig($section.'/'.$group.'/'.$field);
29
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
30
  }
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Themes
17
+ * @package Ma2_Default theme
18
+ * @copyright Copyright (coffee) 2013 MagenMarket, http://www.magenmarket.com
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: Data.php 12 2013-11-05 10:00:22Z minhnv $ */
22
+
23
+ class Ma2_ThemeOptions_Helper_Data extends Mage_Core_Helper_Abstract
24
+ {
25
+ //public $section = 'theme_options';
26
+
27
+ public function getAllConfig($section)
28
+ {
29
+ return Mage::getStoreConfig($section);
30
+ }
31
+
32
+ /**
33
+ *
34
+ *get theme options
35
+ *
36
+ */
37
+ public function getGroupConfig($section, $group)
38
+ {
39
+ return Mage::getStoreConfig($section.'/'.$group);
40
+ }
41
+
42
+ /**
43
+ *
44
+ *get theme options
45
+ *
46
+ */
47
+ public function getFieldConfig($section, $group, $field)
48
+ {
49
+ return Mage::getStoreConfig($section.'/'.$group.'/'.$field);
50
+ }
51
  }
app/code/local/Ma2/ThemeOptions/Model/Backgroundposition.php CHANGED
@@ -1,19 +1,40 @@
1
- <?php
2
- class Ma2_ThemeOptions_Model_Backgroundposition
3
- {
4
- public function toOptionArray()
5
- {
6
- return array(
7
- array('value'=>'left top', 'label'=>Mage::helper('ThemeOptions')->__('Left Top')),
8
- array('value'=>'center top', 'label'=>Mage::helper('ThemeOptions')->__('Center Top')),
9
- array('value'=>'right top', 'label'=>Mage::helper('ThemeOptions')->__('Right Top')),
10
- array('value'=>'left center', 'label'=>Mage::helper('ThemeOptions')->__('Left Center')),
11
- array('value'=>'center center', 'label'=>Mage::helper('ThemeOptions')->__('Center Center')),
12
- array('value'=>'right center', 'label'=>Mage::helper('ThemeOptions')->__('Right Center')),
13
- array('value'=>'left bottom', 'label'=>Mage::helper('ThemeOptions')->__('Left Bottom')),
14
- array('value'=>'center bottom', 'label'=>Mage::helper('ThemeOptions')->__('Center Bottom')),
15
- array('value'=>'right bottom', 'label'=>Mage::helper('ThemeOptions')->__('Right Bottom'))
16
- );
17
- }
18
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  }
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Themes
17
+ * @package Ma2_Default theme
18
+ * @copyright Copyright (coffee) 2013 MagenMarket, http://www.magenmarket.com
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: Backgroundposition.php 12 2013-11-05 10:00:22Z minhnv $ */
22
+
23
+ class Ma2_ThemeOptions_Model_Backgroundposition
24
+ {
25
+ public function toOptionArray()
26
+ {
27
+ return array(
28
+ array('value'=>'left top', 'label'=>Mage::helper('ThemeOptions')->__('Left Top')),
29
+ array('value'=>'center top', 'label'=>Mage::helper('ThemeOptions')->__('Center Top')),
30
+ array('value'=>'right top', 'label'=>Mage::helper('ThemeOptions')->__('Right Top')),
31
+ array('value'=>'left center', 'label'=>Mage::helper('ThemeOptions')->__('Left Center')),
32
+ array('value'=>'center center', 'label'=>Mage::helper('ThemeOptions')->__('Center Center')),
33
+ array('value'=>'right center', 'label'=>Mage::helper('ThemeOptions')->__('Right Center')),
34
+ array('value'=>'left bottom', 'label'=>Mage::helper('ThemeOptions')->__('Left Bottom')),
35
+ array('value'=>'center bottom', 'label'=>Mage::helper('ThemeOptions')->__('Center Bottom')),
36
+ array('value'=>'right bottom', 'label'=>Mage::helper('ThemeOptions')->__('Right Bottom'))
37
+ );
38
+ }
39
+
40
  }
app/code/local/Ma2/ThemeOptions/Model/Backgroundrepeat.php CHANGED
@@ -1,14 +1,35 @@
1
- <?php
2
- class Ma2_ThemeOptions_Model_Backgroundrepeat
3
- {
4
- public function toOptionArray()
5
- {
6
- return array(
7
- array('value'=>'no-repeat', 'label'=>Mage::helper('ThemeOptions')->__('No Repeat')),
8
- array('value'=>'repeat-x', 'label'=>Mage::helper('ThemeOptions')->__('Repeat X')),
9
- array('value'=>'repeat-y', 'label'=>Mage::helper('ThemeOptions')->__('Repeat Y')),
10
- array('value'=>'repeat', 'label'=>Mage::helper('ThemeOptions')->__('Repeat All'))
11
- );
12
- }
13
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  }
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Themes
17
+ * @package Ma2_Default theme
18
+ * @copyright Copyright (coffee) 2013 MagenMarket, http://www.magenmarket.com
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: Backgroundrepeat.php 12 2013-11-05 10:00:22Z minhnv $ */
22
+
23
+ class Ma2_ThemeOptions_Model_Backgroundrepeat
24
+ {
25
+ public function toOptionArray()
26
+ {
27
+ return array(
28
+ array('value'=>'no-repeat', 'label'=>Mage::helper('ThemeOptions')->__('No Repeat')),
29
+ array('value'=>'repeat-x', 'label'=>Mage::helper('ThemeOptions')->__('Repeat X')),
30
+ array('value'=>'repeat-y', 'label'=>Mage::helper('ThemeOptions')->__('Repeat Y')),
31
+ array('value'=>'repeat', 'label'=>Mage::helper('ThemeOptions')->__('Repeat All'))
32
+ );
33
+ }
34
+
35
  }
app/code/local/Ma2/ThemeOptions/Model/Fontreplacement.php CHANGED
@@ -1,12 +1,33 @@
1
- <?php
2
- class Ma2_ThemeOptions_Model_Fontreplacement
3
- {
4
- public function toOptionArray()
5
- {
6
- return array(
7
- array('value'=>0, 'label'=>Mage::helper('ThemeOptions')->__('Disable')),
8
- array('value'=>2, 'label'=>Mage::helper('ThemeOptions')->__('Enable'))
9
- );
10
- }
11
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  }
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Themes
17
+ * @package Ma2_Default theme
18
+ * @copyright Copyright (coffee) 2013 MagenMarket, http://www.magenmarket.com
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: Fontreplacement.php 12 2013-11-05 10:00:22Z minhnv $ */
22
+
23
+ class Ma2_ThemeOptions_Model_Fontreplacement
24
+ {
25
+ public function toOptionArray()
26
+ {
27
+ return array(
28
+ array('value'=>0, 'label'=>Mage::helper('ThemeOptions')->__('Disable')),
29
+ array('value'=>2, 'label'=>Mage::helper('ThemeOptions')->__('Enable'))
30
+ );
31
+ }
32
+
33
  }
app/code/local/Ma2/ThemeOptions/Model/Fonts.php CHANGED
@@ -1,129 +1,146 @@
1
- <?php
2
-
3
- class Ma2_ThemeOptions_Model_Fonts
4
- {
5
- /**
6
- * fonts list omg
7
- *
8
- */
9
-
10
- public function toOptionArray()
11
- {
12
- defined('DS') || define('DS', DIRECTORY_SEPARATOR);
13
-
14
- $sans_safe = array(
15
- "Arial, Helvetica, sans-serif",
16
- "'Arial Black', Gadget, sans-serif",
17
- "Impact, Charcoal, sans-serif",
18
- "'Lucida Sans Unicode', 'Lucida Grande', sans-serif",
19
- "'MS Sans Serif', Geneva, sans-serif",
20
- "Tahoma, Geneva, sans-serif",
21
- "'Trebuchet MS', Helvetica, sans-serif",
22
- "Verdana, Geneva, sans-serif"
23
- );
24
- $serif_safe = array(
25
- "'Book Antiqua', 'Palatino Linotype', Palatino, serif",
26
- "Bookman, serif",
27
- "Garamond, serif",
28
- "Georgia, serif",
29
- "'MS Serif', 'New York', serif",
30
- "'Times New Roman', Times, serif",
31
- );
32
- $monospace_safe = array(
33
- "Courier, monospace",
34
- "'Courier New', Courier, monospace",
35
- "'Lucida Console', Monaco, monospace"
36
- );
37
-
38
-
39
- $options = array();
40
-
41
- $font_default_Opt = array();
42
- $font_default_Opt[] = array(
43
- 'label' => htmlentities("'Helvetica Neue', Helvetica, Arial, sans-serif"),
44
- 'value' => htmlentities("s:'Helvetica Neue',Helvetica,Arial,sans-serif")
45
- );
46
-
47
- $sans_safe_Opt = array();
48
- foreach($sans_safe as $sansfont){
49
- $sans_safe_Opt[] = array(
50
- 'label' => htmlentities($sansfont),
51
- 'value' => 's:'.htmlentities($sansfont)
52
- );
53
- }
54
- $serif_safe_Opt = array();
55
- foreach($serif_safe as $seriffont){
56
- $serif_safe_Opt[] = array(
57
- 'label' => htmlentities($seriffont),
58
- 'value' => 's:'.htmlentities($seriffont)
59
- );
60
- }
61
- $monospace_safe_Opt = array();
62
- foreach($monospace_safe as $monospace_font){
63
- $monospace_safe_Opt[] = array(
64
- 'label' => htmlentities($monospace_font),
65
- 'value' => 's:'.htmlentities($monospace_font)
66
- );
67
- }
68
-
69
-
70
- $gwebfonts_Opt = array();
71
-
72
- if (!isset($_SESSION["gfontlist"]) || empty($_SESSION["gfontlist"])){
73
- $webfontJFile = realpath(Mage::getBaseDir('skin') . DS . 'adminhtml/default/ma2/js/webfonts/gwebfonts.json');
74
- $fontsJson = $this->file_include_contents($webfontJFile);
75
- $_SESSION["gfontlist"] = $fontsJson;
76
- }
77
- $webfonts = $_SESSION["gfontlist"] ? $_SESSION["gfontlist"] : $fontsJson;
78
-
79
- $webfonts = @json_decode($webfonts, true);
80
- $wfontArray = $webfonts["items"];
81
- if (is_array($wfontArray) && count($wfontArray) > 0){
82
- foreach($wfontArray as $idx => $wfont){
83
- $subsets = implode(',', (array)$wfont["subsets"]);
84
- $gwebfonts_Opt[] = array(
85
- 'label' => htmlentities($wfont["family"] . ' (' .$subsets . ')'),
86
- 'value' => htmlentities('w:' . str_replace(' ', '+', $wfont["family"]))
87
- );
88
-
89
- }
90
- }
91
-
92
-
93
- $options[] = array(
94
- 'label' => 'Default',
95
- 'value' => $font_default_Opt
96
- );
97
- $options[] = array(
98
- 'label' => 'Safe Fonts: Sans-Serif',
99
- 'value' => $sans_safe_Opt
100
- );
101
- $options[] = array(
102
- 'label' => 'Safe Fonts: Serif',
103
- 'value' => $serif_safe_Opt
104
- );
105
- $options[] = array(
106
- 'label' => 'Safe Fonts: Monospace',
107
- 'value' => $monospace_safe_Opt
108
- );
109
-
110
- $options[] = array(
111
- 'label' => 'Google WebFonts',
112
- 'value' => $gwebfonts_Opt
113
- );
114
-
115
- return $options;
116
- }
117
-
118
- public function file_include_contents($filename) {
119
- if (is_file($filename)) {
120
- ob_start();
121
- include $filename;
122
- $contents = ob_get_contents();
123
- ob_end_clean();
124
- return $contents;
125
- }
126
- return false;
127
- }
128
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
129
  }
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Themes
17
+ * @package Ma2_Default theme
18
+ * @copyright Copyright (coffee) 2013 MagenMarket, http://www.magenmarket.com
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: Fonts.php 12 2013-11-05 10:00:22Z minhnv $ */
22
+
23
+ class Ma2_ThemeOptions_Model_Fonts
24
+ {
25
+ /**
26
+ * fonts list omg
27
+ *
28
+ */
29
+
30
+ public function toOptionArray()
31
+ {
32
+ defined('DS') || define('DS', DIRECTORY_SEPARATOR);
33
+
34
+ $sans_safe = array(
35
+ "Arial, Helvetica, sans-serif",
36
+ "'Arial Black', Gadget, sans-serif",
37
+ "Impact, Charcoal, sans-serif",
38
+ "'Lucida Sans Unicode', 'Lucida Grande', sans-serif",
39
+ "'MS Sans Serif', Geneva, sans-serif",
40
+ "Tahoma, Geneva, sans-serif",
41
+ "'Trebuchet MS', Helvetica, sans-serif",
42
+ "Verdana, Geneva, sans-serif"
43
+ );
44
+ $serif_safe = array(
45
+ "'Book Antiqua', 'Palatino Linotype', Palatino, serif",
46
+ "Bookman, serif",
47
+ "Garamond, serif",
48
+ "Georgia, serif",
49
+ "'MS Serif', 'New York', serif",
50
+ "'Times New Roman', Times, serif"
51
+ );
52
+ $monospace_safe = array(
53
+ "Courier, monospace",
54
+ "'Courier New', Courier, monospace",
55
+ "'Lucida Console', Monaco, monospace"
56
+ );
57
+
58
+ $options = array();
59
+
60
+ $font_default_Opt = array();
61
+ $font_default_Opt[] = array(
62
+ 'label' => htmlentities("'Helvetica Neue', Helvetica, Arial, sans-serif"),
63
+ 'value' => htmlentities("s:'Helvetica Neue',Helvetica,Arial,sans-serif")
64
+ );
65
+
66
+ $sans_safe_Opt = array();
67
+ foreach($sans_safe as $sansfont){
68
+ $sans_safe_Opt[] = array(
69
+ 'label' => htmlentities($sansfont),
70
+ 'value' => 's:'.htmlentities($sansfont)
71
+ );
72
+ }
73
+ $serif_safe_Opt = array();
74
+ foreach($serif_safe as $seriffont){
75
+ $serif_safe_Opt[] = array(
76
+ 'label' => htmlentities($seriffont),
77
+ 'value' => 's:'.htmlentities($seriffont)
78
+ );
79
+ }
80
+ $monospace_safe_Opt = array();
81
+ foreach($monospace_safe as $monospace_font){
82
+ $monospace_safe_Opt[] = array(
83
+ 'label' => htmlentities($monospace_font),
84
+ 'value' => 's:'.htmlentities($monospace_font)
85
+ );
86
+ }
87
+
88
+ $gwebfonts_Opt = array();
89
+
90
+ if (!isset($_SESSION["gfontlist"]) || empty($_SESSION["gfontlist"])){
91
+ $webfontJFile = realpath(Mage::getBaseDir('skin') . DS . 'adminhtml/default/default/ma2/js/webfonts/gwebfonts.json');
92
+ $fontsJson = $this->file_include_contents($webfontJFile);
93
+ $_SESSION["gfontlist"] = $fontsJson;
94
+ }
95
+ $webfonts = $_SESSION["gfontlist"] ? $_SESSION["gfontlist"] : $fontsJson;
96
+
97
+ $webfonts = @json_decode($webfonts, true);
98
+ $wfontArray = $webfonts["items"];
99
+ if (is_array($wfontArray) && count($wfontArray) > 0){
100
+ foreach($wfontArray as $idx => $wfont){
101
+ $subsets = implode(',', (array)$wfont["subsets"]);
102
+ $gwebfonts_Opt[] = array(
103
+ 'label' => htmlentities($wfont["family"] . ' (' .$subsets . ')'),
104
+ 'value' => htmlentities('w:' . str_replace(' ', '+', $wfont["family"]))
105
+ );
106
+
107
+ }
108
+ }
109
+
110
+
111
+ $options[] = array(
112
+ 'label' => 'Default',
113
+ 'value' => $font_default_Opt
114
+ );
115
+ $options[] = array(
116
+ 'label' => 'Safe Fonts: Sans-Serif',
117
+ 'value' => $sans_safe_Opt
118
+ );
119
+ $options[] = array(
120
+ 'label' => 'Safe Fonts: Serif',
121
+ 'value' => $serif_safe_Opt
122
+ );
123
+ $options[] = array(
124
+ 'label' => 'Safe Fonts: Monospace',
125
+ 'value' => $monospace_safe_Opt
126
+ );
127
+ $options[] = array(
128
+ 'label' => 'Google WebFonts',
129
+ 'value' => $gwebfonts_Opt
130
+ );
131
+
132
+ return $options;
133
+ }
134
+
135
+ public function file_include_contents($filename) {
136
+ if (is_file($filename)) {
137
+ ob_start();
138
+ include $filename;
139
+ $contents = ob_get_contents();
140
+ ob_end_clean();
141
+ return $contents;
142
+ }
143
+ return false;
144
+ }
145
+
146
  }
app/code/local/Ma2/ThemeOptions/Model/Gfont_unused.php CHANGED
@@ -1,25 +1,45 @@
1
- <?php
2
-
3
- class OMG_ThemeOptions_Model_Gfont
4
- {
5
- /**
6
- * google fonts list
7
- *
8
- * @var string
9
- */
10
- private $gfonts447 = "Abel,Abril Fatface,Aclonica,Acme,Actor,Adamina,Aguafina Script,Aladin,Aldrich,Alegreya,Alegreya SC,Alex Brush,Alfa Slab One,Alice,Alike,Alike Angular,Allan,Allerta,Allerta Stencil,Allura,Almendra,Almendra SC,Amaranth,Amatic SC,Amethysta,Andada,Andika,Annie Use Your Telescope,Anonymous Pro,Antic,Anton,Arapey,Arbutus,Architects Daughter,Arimo,Arizonia,Armata,Artifika,Arvo,Asap,Asset,Astloch,Asul,Atomic Age,Aubrey,Bad Script,Balthazar,Bangers,Basic,Baumans,Belgrano,Bentham,Bevan,Bigshot One,Bilbo,Bilbo Swash Caps,Bitter,Black Ops One,Bonbon,Boogaloo,Bowlby One,Bowlby One SC,Brawler,Bree Serif,Bubblegum Sans,Buda,Buenard,Butcherman,Butterfly Kids,Cabin,Cabin Condensed,Cabin Sketch,Caesar Dressing,Cagliostro,Calligraffitti,Cambo,Candal,Cantarell,Cardo,Carme,Carter One,Caudex,Cedarville Cursive,Ceviche One,Changa One,Chango,Chelsea Market,Cherry Cream Soda,Chewy,Chicle,Chivo,Coda,Coda Caption,Comfortaa,Coming Soon,Concert One,Condiment,Contrail One,Convergence,Cookie,Copse,Corben,Cousine,Coustard,Covered By Your Grace,Crafty Girls,Creepster,Crete Round,Crimson Text,Crushed,Cuprum,Damion,Dancing Script,Dawning of a New Day,Days One,Delius,Delius Swash Caps,Delius Unicase,Devonshire,Didact Gothic,Diplomata,Diplomata SC,Dorsa,Dr Sugiyama,Droid Sans,Droid Sans Mono,Droid Serif,Duru Sans,Dynalight,EB Garamond,Eater,Electrolize,Emblema One,Engagement,Enriqueta,Erica One,Esteban,Euphoria Script,Ewert,Exo,Expletus Sans,Fanwood Text,Fascinate,Fascinate Inline,Federant,Federo,Felipa,Fjord One,Flamenco,Flavors,Fondamento,Fontdiner Swanky,Forum,Francois One,Fredericka the Great,Fresca,Frijole,Fugaz One,Galdeano,Gentium Basic,Gentium Book Basic,Geo,Geostar,Geostar Fill,Germania One,Give You Glory,Glegoo,Gloria Hallelujah,Goblin One,Gochi Hand,Goudy Bookletter 1911,Gravitas One,Gruppo,Gudea,Habibi,Hammersmith One,Handlee,Herr Von Muellerhoff,Holtwood One SC,Homemade Apple,Homenaje,IM Fell DW Pica,IM Fell DW Pica SC,IM Fell Double Pica,IM Fell Double Pica SC,IM Fell English,IM Fell English SC,IM Fell French Canon,IM Fell French Canon SC,IM Fell Great Primer,IM Fell Great Primer SC,Iceberg,Iceland,Inconsolata,Inder,Indie Flower,Inika,Irish Grover,Istok Web,Italianno,Jim Nightshade,Jockey One,Josefin Sans,Josefin Slab,Judson,Julee,Junge,Jura,Just Another Hand,Just Me Again Down Here,Kameron,Kaushan Script,Kelly Slab,Kenia,Knewave,Kotta One,Kranky,Kreon,Kristi,La Belle Aurore,Lancelot,Lato,League Script,Leckerli One,Lekton,Lemon,Lilita One,Limelight,Linden Hill,Lobster,Lobster Two,Lora,Love Ya Like A Sister,Loved by the King,Luckiest Guy,Lusitana,Lustria,Macondo,Macondo Swash Caps,Magra,Maiden Orange,Mako,Marck Script,Marko One,Marmelad,Marvel,Mate,Mate SC,Maven Pro,Meddon,MedievalSharp,Medula One,Megrim,Merienda One,Merriweather,Metamorphous,Metrophobic,Michroma,Miltonian,Miltonian Tattoo,Miniver,Miss Fajardose,Modern Antiqua,Molengo,Monofett,Monoton,Monsieur La Doulaise,Montaga,Montez,Montserrat,Mountains of Christmas,Mr Bedfort,Mr Dafoe,Mr De Haviland,Mrs Saint Delafield,Mrs Sheppards,Muli,Neucha,Neuton,News Cycle,Niconne,Nixie One,Nobile,Norican,Nosifer,Nothing You Could Do,Noticia Text,Nova Cut,Nova Flat,Nova Mono,Nova Oval,Nova Round,Nova Script,Nova Slim,Nova Square,Numans,Nunito,Old Standard TT,Oldenburg,Open Sans,Open Sans Condensed,Orbitron,Original Surfer,Oswald,Over the Rainbow,Overlock,Overlock SC,Ovo,PT Sans,PT Sans Caption,PT Sans Narrow,PT Serif,PT Serif Caption,Pacifico,Parisienne,Passero One,Passion One,Patrick Hand,Patua One,Paytone One,Permanent Marker,Petrona,Philosopher,Piedra,Pinyon Script,Plaster,Play,Playball,Playfair Display,Podkova,Poller One,Poly,Pompiere,Port Lligat Sans,Port Lligat Slab,Prata,Princess Sofia,Prociono,Puritan,Quantico,Quattrocento,Quattrocento Sans,Questrial,Quicksand,Qwigley,Radley,Raleway,Rammetto One,Rancho,Rationale,Redressed,Reenie Beanie,Ribeye,Ribeye Marrow,Righteous,Rochester,Rock Salt,Rokkitt,Ropa Sans,Rosario,Rouge Script,Ruda,Ruge Boogie,Ruluko,Ruslan Display,Ruthie,Sail,Salsa,Sancreek,Sansita One,Sarina,Satisfy,Schoolbell,Shadows Into Light,Shanti,Share,Shojumaru,Short Stack,Sigmar One,Signika,Signika Negative,Sirin Stencil,Six Caps,Slackey,Smokum,Smythe,Sniglet,Snippet,Sofia,Sonsie One,Sorts Mill Goudy,Special Elite,Spicy Rice,Spinnaker,Spirax,Squada One,Stardos Stencil,Stint Ultra Condensed,Stint Ultra Expanded,Stoke,Sue Ellen Francisco,Sunshiney,Supermercado One,Swanky and Moo Moo,Syncopate,Tangerine,Telex,Tenor Sans,Terminal Dosis,The Girl Next Door,Tienne,Tinos,Titan One,Trade Winds,Trochut,Trykker,Tulpen One,Ubuntu,Ubuntu Condensed,Ubuntu Mono,Ultra,Uncial Antiqua,UnifrakturCook,UnifrakturMaguntia,Unkempt,Unlock,Unna,VT323,Varela,Varela Round,Vast Shadow,Vibur,Vidaloka,Viga,Volkhov,Vollkorn,Voltaire,Waiting for the Sunrise,Wallpoet,Walter Turncoat,Wellfleet,Wire One,Yanone Kaffeesatz,Yellowtail,Yeseva One,Yesteryear,Zeyada";
11
- public function toOptionArray()
12
- {
13
- $fonts = explode(',', $this->gfonts447);
14
- $options = array();
15
- foreach ($fonts as $f ){
16
- $options[] = array(
17
- 'value' => $f,
18
- 'label' => $f,
19
- );
20
- }
21
-
22
- return $options;
23
- }
24
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  }
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Themes
17
+ * @package Ma2_Default theme
18
+ * @copyright Copyright (coffee) 2013 MagenMarket, http://www.magenmarket.com
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: Gfont_unused.php 12 2013-11-05 10:00:22Z minhnv $ */
22
+
23
+ class OMG_ThemeOptions_Model_Gfont
24
+ {
25
+ /**
26
+ * google fonts list
27
+ *
28
+ * @var string
29
+ */
30
+ private $gfonts447 = "Abel,Abril Fatface,Aclonica,Acme,Actor,Adamina,Aguafina Script,Aladin,Aldrich,Alegreya,Alegreya SC,Alex Brush,Alfa Slab One,Alice,Alike,Alike Angular,Allan,Allerta,Allerta Stencil,Allura,Almendra,Almendra SC,Amaranth,Amatic SC,Amethysta,Andada,Andika,Annie Use Your Telescope,Anonymous Pro,Antic,Anton,Arapey,Arbutus,Architects Daughter,Arimo,Arizonia,Armata,Artifika,Arvo,Asap,Asset,Astloch,Asul,Atomic Age,Aubrey,Bad Script,Balthazar,Bangers,Basic,Baumans,Belgrano,Bentham,Bevan,Bigshot One,Bilbo,Bilbo Swash Caps,Bitter,Black Ops One,Bonbon,Boogaloo,Bowlby One,Bowlby One SC,Brawler,Bree Serif,Bubblegum Sans,Buda,Buenard,Butcherman,Butterfly Kids,Cabin,Cabin Condensed,Cabin Sketch,Caesar Dressing,Cagliostro,Calligraffitti,Cambo,Candal,Cantarell,Cardo,Carme,Carter One,Caudex,Cedarville Cursive,Ceviche One,Changa One,Chango,Chelsea Market,Cherry Cream Soda,Chewy,Chicle,Chivo,Coda,Coda Caption,Comfortaa,Coming Soon,Concert One,Condiment,Contrail One,Convergence,Cookie,Copse,Corben,Cousine,Coustard,Covered By Your Grace,Crafty Girls,Creepster,Crete Round,Crimson Text,Crushed,Cuprum,Damion,Dancing Script,Dawning of a New Day,Days One,Delius,Delius Swash Caps,Delius Unicase,Devonshire,Didact Gothic,Diplomata,Diplomata SC,Dorsa,Dr Sugiyama,Droid Sans,Droid Sans Mono,Droid Serif,Duru Sans,Dynalight,EB Garamond,Eater,Electrolize,Emblema One,Engagement,Enriqueta,Erica One,Esteban,Euphoria Script,Ewert,Exo,Expletus Sans,Fanwood Text,Fascinate,Fascinate Inline,Federant,Federo,Felipa,Fjord One,Flamenco,Flavors,Fondamento,Fontdiner Swanky,Forum,Francois One,Fredericka the Great,Fresca,Frijole,Fugaz One,Galdeano,Gentium Basic,Gentium Book Basic,Geo,Geostar,Geostar Fill,Germania One,Give You Glory,Glegoo,Gloria Hallelujah,Goblin One,Gochi Hand,Goudy Bookletter 1911,Gravitas One,Gruppo,Gudea,Habibi,Hammersmith One,Handlee,Herr Von Muellerhoff,Holtwood One SC,Homemade Apple,Homenaje,IM Fell DW Pica,IM Fell DW Pica SC,IM Fell Double Pica,IM Fell Double Pica SC,IM Fell English,IM Fell English SC,IM Fell French Canon,IM Fell French Canon SC,IM Fell Great Primer,IM Fell Great Primer SC,Iceberg,Iceland,Inconsolata,Inder,Indie Flower,Inika,Irish Grover,Istok Web,Italianno,Jim Nightshade,Jockey One,Josefin Sans,Josefin Slab,Judson,Julee,Junge,Jura,Just Another Hand,Just Me Again Down Here,Kameron,Kaushan Script,Kelly Slab,Kenia,Knewave,Kotta One,Kranky,Kreon,Kristi,La Belle Aurore,Lancelot,Lato,League Script,Leckerli One,Lekton,Lemon,Lilita One,Limelight,Linden Hill,Lobster,Lobster Two,Lora,Love Ya Like A Sister,Loved by the King,Luckiest Guy,Lusitana,Lustria,Macondo,Macondo Swash Caps,Magra,Maiden Orange,Mako,Marck Script,Marko One,Marmelad,Marvel,Mate,Mate SC,Maven Pro,Meddon,MedievalSharp,Medula One,Megrim,Merienda One,Merriweather,Metamorphous,Metrophobic,Michroma,Miltonian,Miltonian Tattoo,Miniver,Miss Fajardose,Modern Antiqua,Molengo,Monofett,Monoton,Monsieur La Doulaise,Montaga,Montez,Montserrat,Mountains of Christmas,Mr Bedfort,Mr Dafoe,Mr De Haviland,Mrs Saint Delafield,Mrs Sheppards,Muli,Neucha,Neuton,News Cycle,Niconne,Nixie One,Nobile,Norican,Nosifer,Nothing You Could Do,Noticia Text,Nova Cut,Nova Flat,Nova Mono,Nova Oval,Nova Round,Nova Script,Nova Slim,Nova Square,Numans,Nunito,Old Standard TT,Oldenburg,Open Sans,Open Sans Condensed,Orbitron,Original Surfer,Oswald,Over the Rainbow,Overlock,Overlock SC,Ovo,PT Sans,PT Sans Caption,PT Sans Narrow,PT Serif,PT Serif Caption,Pacifico,Parisienne,Passero One,Passion One,Patrick Hand,Patua One,Paytone One,Permanent Marker,Petrona,Philosopher,Piedra,Pinyon Script,Plaster,Play,Playball,Playfair Display,Podkova,Poller One,Poly,Pompiere,Port Lligat Sans,Port Lligat Slab,Prata,Princess Sofia,Prociono,Puritan,Quantico,Quattrocento,Quattrocento Sans,Questrial,Quicksand,Qwigley,Radley,Raleway,Rammetto One,Rancho,Rationale,Redressed,Reenie Beanie,Ribeye,Ribeye Marrow,Righteous,Rochester,Rock Salt,Rokkitt,Ropa Sans,Rosario,Rouge Script,Ruda,Ruge Boogie,Ruluko,Ruslan Display,Ruthie,Sail,Salsa,Sancreek,Sansita One,Sarina,Satisfy,Schoolbell,Shadows Into Light,Shanti,Share,Shojumaru,Short Stack,Sigmar One,Signika,Signika Negative,Sirin Stencil,Six Caps,Slackey,Smokum,Smythe,Sniglet,Snippet,Sofia,Sonsie One,Sorts Mill Goudy,Special Elite,Spicy Rice,Spinnaker,Spirax,Squada One,Stardos Stencil,Stint Ultra Condensed,Stint Ultra Expanded,Stoke,Sue Ellen Francisco,Sunshiney,Supermercado One,Swanky and Moo Moo,Syncopate,Tangerine,Telex,Tenor Sans,Terminal Dosis,The Girl Next Door,Tienne,Tinos,Titan One,Trade Winds,Trochut,Trykker,Tulpen One,Ubuntu,Ubuntu Condensed,Ubuntu Mono,Ultra,Uncial Antiqua,UnifrakturCook,UnifrakturMaguntia,Unkempt,Unlock,Unna,VT323,Varela,Varela Round,Vast Shadow,Vibur,Vidaloka,Viga,Volkhov,Vollkorn,Voltaire,Waiting for the Sunrise,Wallpoet,Walter Turncoat,Wellfleet,Wire One,Yanone Kaffeesatz,Yellowtail,Yeseva One,Yesteryear,Zeyada";
31
+ public function toOptionArray()
32
+ {
33
+ $fonts = explode(',', $this->gfonts447);
34
+ $options = array();
35
+ foreach ($fonts as $f ){
36
+ $options[] = array(
37
+ 'value' => $f,
38
+ 'label' => $f,
39
+ );
40
+ }
41
+
42
+ return $options;
43
+ }
44
+
45
  }
app/code/local/Ma2/ThemeOptions/Model/Presetstyles.php CHANGED
@@ -1,13 +1,34 @@
1
- <?php
2
- class Ma2_ThemeOptions_Model_Presetstyles
3
- {
4
- public function toOptionArray()
5
- {
6
- return array(
7
- array('value' => 'blue', 'label' => Mage::helper('ThemeOptions')->__('Blue')),
8
- array('value' => 'green', 'label' => Mage::helper('ThemeOptions')->__('Green')),
9
- array('value' => 'yellow', 'label' => Mage::helper('ThemeOptions')->__('Yellow'))
10
- );
11
- }
12
- }
13
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Themes
17
+ * @package Ma2_Default theme
18
+ * @copyright Copyright (coffee) 2013 MagenMarket, http://www.magenmarket.com
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: Presetstyles.php 12 2013-11-05 10:00:22Z minhnv $ */
22
+
23
+ class Ma2_ThemeOptions_Model_Presetstyles
24
+ {
25
+ public function toOptionArray()
26
+ {
27
+ return array(
28
+ array('value' => 'yellow', 'label' => Mage::helper('ThemeOptions')->__('Yellow')),
29
+ array('value' => 'blue', 'label' => Mage::helper('ThemeOptions')->__('Blue')),
30
+ array('value' => 'green', 'label' => Mage::helper('ThemeOptions')->__('Green'))
31
+ );
32
+ }
33
+ }
34
+
app/code/local/Ma2/ThemeOptions/Model/Productpagelayout.php CHANGED
@@ -1,14 +1,35 @@
1
- <?php
2
- class Ma2_ThemeOptions_Model_Productpagelayout
3
- {
4
- public function toOptionArray()
5
- {
6
- return array(
7
- array('value'=>'productpage_small', 'label'=>Mage::helper('ThemeOptions')->__('Small')),
8
- array('value'=>'productpage_medium', 'label'=>Mage::helper('ThemeOptions')->__('Medium')),
9
- array('value'=>'productpage_large', 'label'=>Mage::helper('ThemeOptions')->__('Large')),
10
- array('value'=>'productpage_extralarge', 'label'=>Mage::helper('ThemeOptions')->__('Extra large'))
11
- );
12
- }
13
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  }
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Themes
17
+ * @package Ma2_Default theme
18
+ * @copyright Copyright (coffee) 2013 MagenMarket, http://www.magenmarket.com
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: Productpagelayout.php 12 2013-11-05 10:00:22Z minhnv $ */
22
+
23
+ class Ma2_ThemeOptions_Model_Productpagelayout
24
+ {
25
+ public function toOptionArray()
26
+ {
27
+ return array(
28
+ array('value'=>'productpage_small', 'label'=>Mage::helper('ThemeOptions')->__('Small')),
29
+ array('value'=>'productpage_medium', 'label'=>Mage::helper('ThemeOptions')->__('Medium')),
30
+ array('value'=>'productpage_large', 'label'=>Mage::helper('ThemeOptions')->__('Large')),
31
+ array('value'=>'productpage_extralarge', 'label'=>Mage::helper('ThemeOptions')->__('Extra large'))
32
+ );
33
+ }
34
+
35
  }
app/code/local/Ma2/ThemeOptions/etc/adminhtml.xml CHANGED
@@ -1,5 +1,6 @@
1
  <?xml version="1.0" ?>
2
  <config>
 
3
  <menu>
4
  <ma2 translate="title" module="ThemeOptions">
5
  <title>MA2</title>
1
  <?xml version="1.0" ?>
2
  <config>
3
+
4
  <menu>
5
  <ma2 translate="title" module="ThemeOptions">
6
  <title>MA2</title>
app/code/local/Ma2/ThemeOptions/etc/config.xml CHANGED
@@ -5,6 +5,7 @@
5
  <version>1.0.0</version>
6
  </Ma2_ThemeOptions>
7
  </modules>
 
8
  <frontend>
9
  <routers>
10
  <ThemeOptions>
@@ -15,27 +16,38 @@
15
  </args>
16
  </ThemeOptions>
17
  </routers>
 
 
 
 
 
 
 
18
  </frontend>
 
19
  <adminhtml>
20
  <layout>
21
  <updates>
22
  <ThemeOptions>
23
- <file>ma2_options.xml</file>
24
  </ThemeOptions>
25
  </updates>
26
  </layout>
27
  </adminhtml>
 
28
  <global>
29
  <models>
30
  <ThemeOptions>
31
  <class>Ma2_ThemeOptions_Model</class>
32
  </ThemeOptions>
33
  </models>
 
34
  <helpers>
35
  <ThemeOptions>
36
  <class>Ma2_ThemeOptions_Helper</class>
37
  </ThemeOptions>
38
  </helpers>
 
39
  <events>
40
  <adminhtml_controller_action_predispatch_start>
41
  <observers>
@@ -47,7 +59,9 @@
47
  </observers>
48
  </adminhtml_controller_action_predispatch_start>
49
  </events>
 
50
  <extraconfig />
 
51
  <page>
52
  <layouts>
53
  <two_columns module="page" translate="label">
@@ -57,17 +71,20 @@
57
  </two_columns>
58
  </layouts>
59
  </page>
 
60
  <blocks>
61
  <ThemeOptions>
62
  <class>Ma2_ThemeOptions_Block</class>
63
  </ThemeOptions>
64
  </blocks>
65
  </global>
 
66
  <default>
 
67
  <theme_options>
68
  <general>
 
69
  <preset_styles></preset_styles>
70
- <default_logo_image>default/logo.gif</default_logo_image>
71
  <is_custom_logo>0</is_custom_logo>
72
  <logo_image></logo_image>
73
  <logo_width></logo_width>
@@ -82,12 +99,15 @@
82
  <body_text_color_change>0</body_text_color_change>
83
  <body_text_color>#333333</body_text_color>
84
  <body_line_height></body_line_height>
 
85
  <is_custom_font_1>0</is_custom_font_1>
86
  <custom_font_family_1></custom_font_family_1>
87
  <custom_list_1></custom_list_1>
 
88
  <is_custom_font_2>0</is_custom_font_2>
89
  <custom_font_family_2></custom_font_family_2>
90
  <custom_list_2></custom_list_2>
 
91
  <is_custom_css>0</is_custom_css>
92
  <custom_css></custom_css>
93
  </typography>
@@ -98,18 +118,21 @@
98
  <body_background_image></body_background_image>
99
  <body_background_image_repeat></body_background_image_repeat>
100
  <body_background_image_position></body_background_image_position>
 
101
  <header_background_change>0</header_background_change>
102
  <header_background_color_change>0</header_background_color_change>
103
  <header_background_color></header_background_color>
104
  <header_background_image></header_background_image>
105
  <header_background_image_repeat></header_background_image_repeat>
106
  <header_background_image_position></header_background_image_position>
 
107
  <main_background_change>0</main_background_change>
108
  <main_background_color_change>0</main_background_color_change>
109
  <main_background_color></main_background_color>
110
  <main_background_image></main_background_image>
111
  <main_background_image_repeat></main_background_image_repeat>
112
  <main_background_image_position></main_background_image_position>
 
113
  <footer_background_change>0</footer_background_change>
114
  <footer_background_color_change>0</footer_background_color_change>
115
  <footer_background_color></footer_background_color>
@@ -120,8 +143,46 @@
120
  <layouts>
121
  <theme_width></theme_width>
122
  <left_width></left_width>
123
- <right_widht></right_widht>
124
  </layouts>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
125
  </theme_options>
126
  </default>
127
- </config>
5
  <version>1.0.0</version>
6
  </Ma2_ThemeOptions>
7
  </modules>
8
+
9
  <frontend>
10
  <routers>
11
  <ThemeOptions>
16
  </args>
17
  </ThemeOptions>
18
  </routers>
19
+ <layout>
20
+ <updates>
21
+ <ThemeOptions>
22
+ <file>ma2themeoptions.xml</file>
23
+ </ThemeOptions>
24
+ </updates>
25
+ </layout>
26
  </frontend>
27
+
28
  <adminhtml>
29
  <layout>
30
  <updates>
31
  <ThemeOptions>
32
+ <file>ma2themeoptions.xml</file>
33
  </ThemeOptions>
34
  </updates>
35
  </layout>
36
  </adminhtml>
37
+
38
  <global>
39
  <models>
40
  <ThemeOptions>
41
  <class>Ma2_ThemeOptions_Model</class>
42
  </ThemeOptions>
43
  </models>
44
+
45
  <helpers>
46
  <ThemeOptions>
47
  <class>Ma2_ThemeOptions_Helper</class>
48
  </ThemeOptions>
49
  </helpers>
50
+
51
  <events>
52
  <adminhtml_controller_action_predispatch_start>
53
  <observers>
59
  </observers>
60
  </adminhtml_controller_action_predispatch_start>
61
  </events>
62
+
63
  <extraconfig />
64
+
65
  <page>
66
  <layouts>
67
  <two_columns module="page" translate="label">
71
  </two_columns>
72
  </layouts>
73
  </page>
74
+
75
  <blocks>
76
  <ThemeOptions>
77
  <class>Ma2_ThemeOptions_Block</class>
78
  </ThemeOptions>
79
  </blocks>
80
  </global>
81
+
82
  <default>
83
+
84
  <theme_options>
85
  <general>
86
+ <display_preset_styles>1</display_preset_styles>
87
  <preset_styles></preset_styles>
 
88
  <is_custom_logo>0</is_custom_logo>
89
  <logo_image></logo_image>
90
  <logo_width></logo_width>
99
  <body_text_color_change>0</body_text_color_change>
100
  <body_text_color>#333333</body_text_color>
101
  <body_line_height></body_line_height>
102
+
103
  <is_custom_font_1>0</is_custom_font_1>
104
  <custom_font_family_1></custom_font_family_1>
105
  <custom_list_1></custom_list_1>
106
+
107
  <is_custom_font_2>0</is_custom_font_2>
108
  <custom_font_family_2></custom_font_family_2>
109
  <custom_list_2></custom_list_2>
110
+
111
  <is_custom_css>0</is_custom_css>
112
  <custom_css></custom_css>
113
  </typography>
118
  <body_background_image></body_background_image>
119
  <body_background_image_repeat></body_background_image_repeat>
120
  <body_background_image_position></body_background_image_position>
121
+
122
  <header_background_change>0</header_background_change>
123
  <header_background_color_change>0</header_background_color_change>
124
  <header_background_color></header_background_color>
125
  <header_background_image></header_background_image>
126
  <header_background_image_repeat></header_background_image_repeat>
127
  <header_background_image_position></header_background_image_position>
128
+
129
  <main_background_change>0</main_background_change>
130
  <main_background_color_change>0</main_background_color_change>
131
  <main_background_color></main_background_color>
132
  <main_background_image></main_background_image>
133
  <main_background_image_repeat></main_background_image_repeat>
134
  <main_background_image_position></main_background_image_position>
135
+
136
  <footer_background_change>0</footer_background_change>
137
  <footer_background_color_change>0</footer_background_color_change>
138
  <footer_background_color></footer_background_color>
143
  <layouts>
144
  <theme_width></theme_width>
145
  <left_width></left_width>
146
+ <right_width></right_width>
147
  </layouts>
148
+
149
+ <blocks_layout>
150
+ <create_column_maintop1>1</create_column_maintop1>
151
+ <default_column_maintop1>1</default_column_maintop1>
152
+ <maintop1>100; 50,50; 33,33,33; 25,25,25,25; 20,20,20,20,20;</maintop1>
153
+
154
+ <create_column_maintop2>1</create_column_maintop2>
155
+ <default_column_maintop2>1</default_column_maintop2>
156
+ <maintop2>100; 50,50; 33,33,33; 25,25,25,25; 20,20,20,20,20;</maintop2>
157
+
158
+ <create_column_maintop3>1</create_column_maintop3>
159
+ <default_column_maintop3>1</default_column_maintop3>
160
+ <maintop3>100; 50,50; 33,33,33; 25,25,25,25; 20,20,20,20,20;</maintop3>
161
+
162
+ <create_column_mainbottom1>1</create_column_mainbottom1>
163
+ <default_column_mainbottom1>1</default_column_mainbottom1>
164
+ <mainbottom1>100; 50,50; 33,33,33; 25,25,25,25; 20,20,20,20,20;</mainbottom1>
165
+
166
+ <create_column_mainbottom2>1</create_column_mainbottom2>
167
+ <default_column_mainbottom2>1</default_column_mainbottom2>
168
+ <mainbottom2>100; 50,50; 33,33,33; 25,25,25,25; 20,20,20,20,20;</mainbottom2>
169
+
170
+ <create_column_mainbottom3>1</create_column_mainbottom3>
171
+ <default_column_mainbottom3>1</default_column_mainbottom3>
172
+ <mainbottom3>100; 50,50; 33,33,33; 25,25,25,25; 20,20,20,20,20;</mainbottom3>
173
+
174
+ <create_column_footer1>1</create_column_footer1>
175
+ <default_column_footer1>1</default_column_footer1>
176
+ <footer1>100; 50,50; 33,33,33; 25,25,25,25; 20,20,20,20,20;</footer1>
177
+
178
+ <create_column_footer2>1</create_column_footer2>
179
+ <default_column_footer2>1</default_column_footer2>
180
+ <footer2>100; 50,50; 33,33,33; 25,25,25,25; 20,20,20,20,20;</footer2>
181
+ </blocks_layout>
182
+
183
+ <custom_css>
184
+ <css_code></css_code>
185
+ </custom_css>
186
  </theme_options>
187
  </default>
188
+ </config>
app/code/local/Ma2/ThemeOptions/etc/system.xml CHANGED
@@ -22,7 +22,7 @@
22
  <show_in_default>1</show_in_default>
23
  <show_in_website>1</show_in_website>
24
  <show_in_store>1</show_in_store>
25
- <fields>
26
  <preset_styles translate="label">
27
  <label>Preset styles</label>
28
  <frontend_type>select</frontend_type>
@@ -32,10 +32,20 @@
32
  <show_in_website>1</show_in_website>
33
  <show_in_store>1</show_in_store>
34
  </preset_styles>
 
 
 
 
 
 
 
 
 
 
35
  <label1>
36
  <label></label>
37
  <frontend_type>label</frontend_type>
38
- <sort_order>2</sort_order>
39
  <show_in_default>1</show_in_default>
40
  <show_in_website>1</show_in_website>
41
  <show_in_store>1</show_in_store>
@@ -44,28 +54,11 @@
44
  <label>Custom logo?</label>
45
  <frontend_type>select</frontend_type>
46
  <source_model>adminhtml/system_config_source_yesno</source_model>
47
- <sort_order>3</sort_order>
48
- <show_in_default>1</show_in_default>
49
- <show_in_website>1</show_in_website>
50
- <show_in_store>1</show_in_store>
51
- </is_custom_logo>
52
- <default_logo_image translate="label">
53
- <label>Default logo</label>
54
- <comment>This is logo default.</comment>
55
- <frontend_type>image</frontend_type>
56
- <backend_model>adminhtml/system_config_backend_image</backend_model>
57
- <upload_dir config="system/filesystem/media" scope_info="1">ma2/images</upload_dir>
58
- <!-- would upload into media/uploaddir -->
59
- <base_url type="media" scope_info="1">ma2/images</base_url>
60
- <!-- same as previous line -->
61
  <sort_order>4</sort_order>
62
  <show_in_default>1</show_in_default>
63
  <show_in_website>1</show_in_website>
64
  <show_in_store>1</show_in_store>
65
- <depends>
66
- <is_custom_logo>0</is_custom_logo>
67
- </depends>
68
- </default_logo_image>
69
  <logo_image translate="label">
70
  <label>Logo image</label>
71
  <comment>
@@ -73,7 +66,8 @@
73
  Allowed file types: png, gif, jpg <br /> Not all browsers support all these formats! <br />Leave empty it will show the default.
74
  ]]>
75
  </comment>
76
- <frontend_type>image</frontend_type>
 
77
  <backend_model>adminhtml/system_config_backend_image</backend_model>
78
  <upload_dir config="system/filesystem/media" scope_info="1">ma2/images</upload_dir>
79
  <!-- would upload into media/uploaddir -->
@@ -297,32 +291,6 @@
297
  <show_in_store>1</show_in_store>
298
  <comment>Type the selector list, comma separator. Example: h1, h2, div.your_class</comment>
299
  </custom_list_2>
300
-
301
- <is_custom_css translate="label">
302
- <label>Custom CSS?</label>
303
- <frontend_type>select</frontend_type>
304
- <source_model>adminhtml/system_config_source_yesno</source_model>
305
- <sort_order>17</sort_order>
306
- <show_in_default>1</show_in_default>
307
- <show_in_website>1</show_in_website>
308
- <show_in_store>1</show_in_store>
309
- </is_custom_css>
310
- <custom_css translate="label">
311
- <label></label>
312
- <frontend_type>textarea</frontend_type>
313
- <sort_order>18</sort_order>
314
- <show_in_default>1</show_in_default>
315
- <show_in_website>1</show_in_website>
316
- <show_in_store>1</show_in_store>
317
- <comment>
318
- <![CDATA[
319
- Type your custom CSS code. Example: <br /><span style="border: 1px solid #DDD; padding: 0.5em;display:block;">h1{ color:#333; font-size: 18px;}<br /> div.your_class{ color: #666;}</span>
320
- ]]></comment>
321
- <depends>
322
- <is_custom_css>1</is_custom_css>
323
- </depends>
324
- </custom_css>
325
- <!--Custom css end-->
326
  </fields>
327
  </typography>
328
 
@@ -540,9 +508,7 @@
540
  <frontend_type>image</frontend_type>
541
  <backend_model>adminhtml/system_config_backend_image</backend_model>
542
  <upload_dir config="system/filesystem/media" scope_info="1">ma2/images</upload_dir>
543
- <!-- would upload into media/uploaddir -->
544
  <base_url type="media" scope_info="1">ma2/images</base_url>
545
- <!-- same as previous line -->
546
  <comment>Allowed file types: png, gif, jpg, jpeg. Not all browsers support all these formats!</comment>
547
  <sort_order>18</sort_order>
548
  <show_in_default>1</show_in_default>
@@ -624,9 +590,7 @@
624
  <frontend_type>image</frontend_type>
625
  <backend_model>adminhtml/system_config_backend_image</backend_model>
626
  <upload_dir config="system/filesystem/media" scope_info="1">ma2/images</upload_dir>
627
- <!-- would upload into media/uploaddir -->
628
  <base_url type="media" scope_info="1">ma2/images</base_url>
629
- <!-- same as previous line -->
630
  <comment>Allowed file types: png, gif, jpg, jpeg. Not all browsers support all these formats!</comment>
631
  <sort_order>25</sort_order>
632
  <show_in_default>1</show_in_default>
@@ -671,17 +635,19 @@
671
  <show_in_website>1</show_in_website>
672
  <show_in_store>1</show_in_store>
673
  <fields>
674
- <right_widht translate="label">
675
  <label>Right column width</label>
 
676
  <frontend_type>text</frontend_type>
677
  <comment>Example: 250px. Leave empty it will be applied by default CSS file.</comment>
678
  <show_in_default>1</show_in_default>
679
  <show_in_website>1</show_in_website>
680
  <show_in_store>1</show_in_store>
681
- </right_widht>
682
 
683
  <left_width translate="label">
684
  <label>Left column width</label>
 
685
  <frontend_type>text</frontend_type>
686
  <comment>Example: 250px. Leave empty it will be applied by default CSS file.</comment>
687
  <show_in_default>1</show_in_default>
@@ -691,14 +657,493 @@
691
 
692
  <theme_width translate="label">
693
  <label>Site width</label>
 
694
  <frontend_type>text</frontend_type>
695
  <comment>Example: 980px. Leave empty it will be applied by default CSS file.</comment>
696
  <show_in_default>1</show_in_default>
697
  <show_in_website>1</show_in_website>
698
  <show_in_store>1</show_in_store>
699
- </theme_width>
700
  </fields>
701
  </layouts>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
702
  </groups>
703
  </theme_options>
704
  </sections>
22
  <show_in_default>1</show_in_default>
23
  <show_in_website>1</show_in_website>
24
  <show_in_store>1</show_in_store>
25
+ <fields>
26
  <preset_styles translate="label">
27
  <label>Preset styles</label>
28
  <frontend_type>select</frontend_type>
32
  <show_in_website>1</show_in_website>
33
  <show_in_store>1</show_in_store>
34
  </preset_styles>
35
+ <display_preset_styles translate="label">
36
+ <label>Display preset styles button on front-end?</label>
37
+ <frontend_type>select</frontend_type>
38
+ <source_model>adminhtml/system_config_source_yesno</source_model>
39
+ <sort_order>2</sort_order>
40
+ <show_in_default>1</show_in_default>
41
+ <show_in_website>1</show_in_website>
42
+ <show_in_store>1</show_in_store>
43
+ <comment>Display preset styles button on front-end?</comment>
44
+ </display_preset_styles>
45
  <label1>
46
  <label></label>
47
  <frontend_type>label</frontend_type>
48
+ <sort_order>3</sort_order>
49
  <show_in_default>1</show_in_default>
50
  <show_in_website>1</show_in_website>
51
  <show_in_store>1</show_in_store>
54
  <label>Custom logo?</label>
55
  <frontend_type>select</frontend_type>
56
  <source_model>adminhtml/system_config_source_yesno</source_model>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
57
  <sort_order>4</sort_order>
58
  <show_in_default>1</show_in_default>
59
  <show_in_website>1</show_in_website>
60
  <show_in_store>1</show_in_store>
61
+ </is_custom_logo>
 
 
 
62
  <logo_image translate="label">
63
  <label>Logo image</label>
64
  <comment>
66
  Allowed file types: png, gif, jpg <br /> Not all browsers support all these formats! <br />Leave empty it will show the default.
67
  ]]>
68
  </comment>
69
+ <frontend_type>image</frontend_type>
70
+
71
  <backend_model>adminhtml/system_config_backend_image</backend_model>
72
  <upload_dir config="system/filesystem/media" scope_info="1">ma2/images</upload_dir>
73
  <!-- would upload into media/uploaddir -->
291
  <show_in_store>1</show_in_store>
292
  <comment>Type the selector list, comma separator. Example: h1, h2, div.your_class</comment>
293
  </custom_list_2>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
294
  </fields>
295
  </typography>
296
 
508
  <frontend_type>image</frontend_type>
509
  <backend_model>adminhtml/system_config_backend_image</backend_model>
510
  <upload_dir config="system/filesystem/media" scope_info="1">ma2/images</upload_dir>
 
511
  <base_url type="media" scope_info="1">ma2/images</base_url>
 
512
  <comment>Allowed file types: png, gif, jpg, jpeg. Not all browsers support all these formats!</comment>
513
  <sort_order>18</sort_order>
514
  <show_in_default>1</show_in_default>
590
  <frontend_type>image</frontend_type>
591
  <backend_model>adminhtml/system_config_backend_image</backend_model>
592
  <upload_dir config="system/filesystem/media" scope_info="1">ma2/images</upload_dir>
 
593
  <base_url type="media" scope_info="1">ma2/images</base_url>
 
594
  <comment>Allowed file types: png, gif, jpg, jpeg. Not all browsers support all these formats!</comment>
595
  <sort_order>25</sort_order>
596
  <show_in_default>1</show_in_default>
635
  <show_in_website>1</show_in_website>
636
  <show_in_store>1</show_in_store>
637
  <fields>
638
+ <right_width translate="label">
639
  <label>Right column width</label>
640
+ <sort_order>1</sort_order>
641
  <frontend_type>text</frontend_type>
642
  <comment>Example: 250px. Leave empty it will be applied by default CSS file.</comment>
643
  <show_in_default>1</show_in_default>
644
  <show_in_website>1</show_in_website>
645
  <show_in_store>1</show_in_store>
646
+ </right_width>
647
 
648
  <left_width translate="label">
649
  <label>Left column width</label>
650
+ <sort_order>2</sort_order>
651
  <frontend_type>text</frontend_type>
652
  <comment>Example: 250px. Leave empty it will be applied by default CSS file.</comment>
653
  <show_in_default>1</show_in_default>
657
 
658
  <theme_width translate="label">
659
  <label>Site width</label>
660
+ <sort_order>3</sort_order>
661
  <frontend_type>text</frontend_type>
662
  <comment>Example: 980px. Leave empty it will be applied by default CSS file.</comment>
663
  <show_in_default>1</show_in_default>
664
  <show_in_website>1</show_in_website>
665
  <show_in_store>1</show_in_store>
666
+ </theme_width>
667
  </fields>
668
  </layouts>
669
+ <blocks_layout>
670
+ <label>Blocks layout</label>
671
+ <sort_order>5</sort_order>
672
+ <show_in_default>1</show_in_default>
673
+ <show_in_website>1</show_in_website>
674
+ <show_in_store>1</show_in_store>
675
+ <fields>
676
+
677
+ <!-- Main Top 1 Area -->
678
+ <create_column_maintop1 translate="label">
679
+ <label>Create column for blocks in Main Top 1 Area</label>
680
+ <sort_order>10</sort_order>
681
+ <frontend_type>select</frontend_type>
682
+ <source_model>adminhtml/system_config_source_yesno</source_model>
683
+ <comment>Each block or widget in this structure block will be displayed as a column.</comment>
684
+ <show_in_default>1</show_in_default>
685
+ <show_in_website>1</show_in_website>
686
+ <show_in_store>1</show_in_store>
687
+ </create_column_maintop1>
688
+ <default_column_maintop1 translate="label">
689
+ <label>Use default block column layout for Main Top 1 Area</label>
690
+ <sort_order>11</sort_order>
691
+ <frontend_type>select</frontend_type>
692
+ <source_model>adminhtml/system_config_source_yesno</source_model>
693
+ <comment>
694
+ <![CDATA[Choose Yes to display blocks or widgets in this structure block as columns with default Width.<br>
695
+ Choose No to use bellow definition.]]>
696
+ </comment>
697
+ <show_in_default>1</show_in_default>
698
+ <show_in_website>1</show_in_website>
699
+ <show_in_store>1</show_in_store>
700
+ <depends>
701
+ <create_column_maintop1>1</create_column_maintop1>
702
+ </depends>
703
+ </default_column_maintop1>
704
+ <maintop1 translate="label">
705
+ <label>Width definition for columns in Main Top 1 Area</label>
706
+ <sort_order>12</sort_order>
707
+ <frontend_type>textarea</frontend_type>
708
+ <comment>
709
+ <![CDATA[Number in percent unit. Example:<br>
710
+ 100; // 1 column will be 100% width.<br>
711
+ 50,50; // 2 columns, each will be 50% width.<br>
712
+ 33,33,33; // 3 columns, each will be 33% width.<br>
713
+ 25,25,25,25;<br>
714
+ 20,20,20,20,20;
715
+ ]]>
716
+ </comment>
717
+ <show_in_default>1</show_in_default>
718
+ <show_in_website>1</show_in_website>
719
+ <show_in_store>1</show_in_store>
720
+ <depends>
721
+ <create_column_maintop1>1</create_column_maintop1>
722
+ <default_column_maintop1>0</default_column_maintop1>
723
+ </depends>
724
+ </maintop1>
725
+ <label9>
726
+ <label></label>
727
+ <frontend_type>label</frontend_type>
728
+ <sort_order>15</sort_order>
729
+ <show_in_default>1</show_in_default>
730
+ <show_in_website>1</show_in_website>
731
+ <show_in_store>1</show_in_store>
732
+ </label9>
733
+
734
+ <!-- Main Top 1 Area -->
735
+ <create_column_maintop2 translate="label">
736
+ <label>Create column for blocks in Main Top 2 Area</label>
737
+ <sort_order>16</sort_order>
738
+ <frontend_type>select</frontend_type>
739
+ <source_model>adminhtml/system_config_source_yesno</source_model>
740
+ <comment>Each block or widget in this structure block will be displayed as a column.</comment>
741
+ <show_in_default>1</show_in_default>
742
+ <show_in_website>1</show_in_website>
743
+ <show_in_store>1</show_in_store>
744
+ </create_column_maintop2>
745
+ <default_column_maintop2 translate="label">
746
+ <label>Use default block column layout for Main Top 2 Area</label>
747
+ <sort_order>17</sort_order>
748
+ <frontend_type>select</frontend_type>
749
+ <source_model>adminhtml/system_config_source_yesno</source_model>
750
+ <comment>
751
+ <![CDATA[Choose Yes to display blocks or widgets in this structure block as columns with default Width.<br>
752
+ Choose No to use bellow definition.]]>
753
+ </comment>
754
+ <show_in_default>1</show_in_default>
755
+ <show_in_website>1</show_in_website>
756
+ <show_in_store>1</show_in_store>
757
+ <depends>
758
+ <create_column_maintop2>1</create_column_maintop2>
759
+ </depends>
760
+ </default_column_maintop2>
761
+ <maintop2 translate="label">
762
+ <label>Width definition for columns in Main Top 2 Area</label>
763
+ <sort_order>18</sort_order>
764
+ <frontend_type>textarea</frontend_type>
765
+ <comment>
766
+ <![CDATA[Number in percent unit. Example:<br>
767
+ 100; // 1 column will be 100% width.<br>
768
+ 50,50; // 2 columns, each will be 50% width.<br>
769
+ 33,33,33; // 3 columns, each will be 33% width.<br>
770
+ 25,25,25,25;<br>
771
+ 20,20,20,20,20;
772
+ ]]>
773
+ </comment>
774
+ <show_in_default>1</show_in_default>
775
+ <show_in_website>1</show_in_website>
776
+ <show_in_store>1</show_in_store>
777
+ <depends>
778
+ <create_column_maintop2>1</create_column_maintop2>
779
+ <default_column_maintop2>0</default_column_maintop2>
780
+ </depends>
781
+ </maintop2>
782
+ <label11>
783
+ <label></label>
784
+ <frontend_type>label</frontend_type>
785
+ <sort_order>20</sort_order>
786
+ <show_in_default>1</show_in_default>
787
+ <show_in_website>1</show_in_website>
788
+ <show_in_store>1</show_in_store>
789
+ </label11>
790
+
791
+ <!-- Main Top 1 Area -->
792
+ <create_column_maintop3 translate="label">
793
+ <label>Create column for blocks in Main Top 3 Area</label>
794
+ <sort_order>21</sort_order>
795
+ <frontend_type>select</frontend_type>
796
+ <source_model>adminhtml/system_config_source_yesno</source_model>
797
+ <comment>Each block or widget in this structure block will be displayed as a column.</comment>
798
+ <show_in_default>1</show_in_default>
799
+ <show_in_website>1</show_in_website>
800
+ <show_in_store>1</show_in_store>
801
+ </create_column_maintop3>
802
+ <default_column_maintop3 translate="label">
803
+ <label>Use default block column layout for Main Top 3 Area</label>
804
+ <sort_order>22</sort_order>
805
+ <frontend_type>select</frontend_type>
806
+ <source_model>adminhtml/system_config_source_yesno</source_model>
807
+ <comment>
808
+ <![CDATA[Choose Yes to display blocks or widgets in this structure block as columns with default Width.<br>
809
+ Choose No to use bellow definition.]]>
810
+ </comment>
811
+ <show_in_default>1</show_in_default>
812
+ <show_in_website>1</show_in_website>
813
+ <show_in_store>1</show_in_store>
814
+ <depends>
815
+ <create_column_maintop3>1</create_column_maintop3>
816
+ </depends>
817
+ </default_column_maintop3>
818
+ <maintop3 translate="label">
819
+ <label>Width definition for columns in Main Top 3 Area</label>
820
+ <sort_order>23</sort_order>
821
+ <frontend_type>textarea</frontend_type>
822
+ <comment>
823
+ <![CDATA[Number in percent unit. Example:<br>
824
+ 100; // 1 column will be 100% width.<br>
825
+ 50,50; // 2 columns, each will be 50% width.<br>
826
+ 33,33,33; // 3 columns, each will be 33% width.<br>
827
+ 25,25,25,25;<br>
828
+ 20,20,20,20,20;
829
+ ]]>
830
+ </comment>
831
+ <show_in_default>1</show_in_default>
832
+ <show_in_website>1</show_in_website>
833
+ <show_in_store>1</show_in_store>
834
+ <depends>
835
+ <create_column_maintop3>1</create_column_maintop3>
836
+ <default_column_maintop3>0</default_column_maintop3>
837
+ </depends>
838
+ </maintop3>
839
+ <label12>
840
+ <label></label>
841
+ <frontend_type>label</frontend_type>
842
+ <sort_order>27</sort_order>
843
+ <show_in_default>1</show_in_default>
844
+ <show_in_website>1</show_in_website>
845
+ <show_in_store>1</show_in_store>
846
+ </label12>
847
+
848
+ <!-- Main Bottom 1 Area -->
849
+ <create_column_mainbottom1 translate="label">
850
+ <label>Create column for blocks in Main Bottom 1 Area</label>
851
+ <sort_order>28</sort_order>
852
+ <frontend_type>select</frontend_type>
853
+ <source_model>adminhtml/system_config_source_yesno</source_model>
854
+ <comment>Each block or widget in this structure block will be displayed as a column.</comment>
855
+ <show_in_default>1</show_in_default>
856
+ <show_in_website>1</show_in_website>
857
+ <show_in_store>1</show_in_store>
858
+ </create_column_mainbottom1>
859
+ <default_column_mainbottom1 translate="label">
860
+ <label>Use default block column layout for Main Bottom 1 Area</label>
861
+ <sort_order>29</sort_order>
862
+ <frontend_type>select</frontend_type>
863
+ <source_model>adminhtml/system_config_source_yesno</source_model>
864
+ <comment>
865
+ <![CDATA[Choose Yes to display blocks or widgets in this structure block as columns with default Width.<br>
866
+ Choose No to use bellow definition.]]>
867
+ </comment>
868
+ <show_in_default>1</show_in_default>
869
+ <show_in_website>1</show_in_website>
870
+ <show_in_store>1</show_in_store>
871
+ <depends>
872
+ <create_column_mainbottom1>1</create_column_mainbottom1>
873
+ </depends>
874
+ </default_column_mainbottom1>
875
+ <mainbottom1 translate="label">
876
+ <label>Width definition for columns in Main Bottom 1 Area</label>
877
+ <sort_order>30</sort_order>
878
+ <frontend_type>textarea</frontend_type>
879
+ <comment>
880
+ <![CDATA[Number in percent unit. Example:<br>
881
+ 100; // 1 column will be 100% width.<br>
882
+ 50,50; // 2 columns, each will be 50% width.<br>
883
+ 33,33,33; // 3 columns, each will be 33% width.<br>
884
+ 25,25,25,25;<br>
885
+ 20,20,20,20,20;
886
+ ]]>
887
+ </comment>
888
+ <show_in_default>1</show_in_default>
889
+ <show_in_website>1</show_in_website>
890
+ <show_in_store>1</show_in_store>
891
+ <depends>
892
+ <create_column_mainbottom1>1</create_column_mainbottom1>
893
+ <default_column_mainbottom1>0</default_column_mainbottom1>
894
+ </depends>
895
+ </mainbottom1>
896
+ <label13>
897
+ <label></label>
898
+ <frontend_type>label</frontend_type>
899
+ <sort_order>35</sort_order>
900
+ <show_in_default>1</show_in_default>
901
+ <show_in_website>1</show_in_website>
902
+ <show_in_store>1</show_in_store>
903
+ </label13>
904
+
905
+ <!-- Main Bottom 2 Area -->
906
+ <create_column_mainbottom2 translate="label">
907
+ <label>Create column for blocks in Main Bottom 2 Area</label>
908
+ <sort_order>36</sort_order>
909
+ <frontend_type>select</frontend_type>
910
+ <source_model>adminhtml/system_config_source_yesno</source_model>
911
+ <comment>Each block or widget in this structure block will be displayed as a column.</comment>
912
+ <show_in_default>1</show_in_default>
913
+ <show_in_website>1</show_in_website>
914
+ <show_in_store>1</show_in_store>
915
+ </create_column_mainbottom2>
916
+ <default_column_mainbottom2 translate="label">
917
+ <label>Use default block column layout for Main Bottom 2 Area</label>
918
+ <sort_order>37</sort_order>
919
+ <frontend_type>select</frontend_type>
920
+ <source_model>adminhtml/system_config_source_yesno</source_model>
921
+ <comment>
922
+ <![CDATA[Choose Yes to display blocks or widgets in this structure block as columns with default Width.<br>
923
+ Choose No to use bellow definition.]]>
924
+ </comment>
925
+ <show_in_default>1</show_in_default>
926
+ <show_in_website>1</show_in_website>
927
+ <show_in_store>1</show_in_store>
928
+ <depends>
929
+ <create_column_mainbottom2>1</create_column_mainbottom2>
930
+ </depends>
931
+ </default_column_mainbottom2>
932
+ <mainbottom2 translate="label">
933
+ <label>Width definition for columns in Main Bottom 2 Area</label>
934
+ <sort_order>38</sort_order>
935
+ <frontend_type>textarea</frontend_type>
936
+ <comment>
937
+ <![CDATA[Number in percent unit. Example:<br>
938
+ 100; // 1 column will be 100% width.<br>
939
+ 50,50; // 2 columns, each will be 50% width.<br>
940
+ 33,33,33; // 3 columns, each will be 33% width.<br>
941
+ 25,25,25,25;<br>
942
+ 20,20,20,20,20;
943
+ ]]>
944
+ </comment>
945
+ <show_in_default>1</show_in_default>
946
+ <show_in_website>1</show_in_website>
947
+ <show_in_store>1</show_in_store>
948
+ <depends>
949
+ <create_column_mainbottom2>1</create_column_mainbottom2>
950
+ <default_column_mainbottom2>0</default_column_mainbottom2>
951
+ </depends>
952
+ </mainbottom2>
953
+ <label14>
954
+ <label></label>
955
+ <frontend_type>label</frontend_type>
956
+ <sort_order>42</sort_order>
957
+ <show_in_default>1</show_in_default>
958
+ <show_in_website>1</show_in_website>
959
+ <show_in_store>1</show_in_store>
960
+ </label14>
961
+
962
+ <!-- Main Bottom 3 Area -->
963
+ <create_column_mainbottom3 translate="label">
964
+ <label>Create column for blocks in Main Bottom 3 Area</label>
965
+ <sort_order>43</sort_order>
966
+ <frontend_type>select</frontend_type>
967
+ <source_model>adminhtml/system_config_source_yesno</source_model>
968
+ <comment>Each block or widget in this structure block will be displayed as a column.</comment>
969
+ <show_in_default>1</show_in_default>
970
+ <show_in_website>1</show_in_website>
971
+ <show_in_store>1</show_in_store>
972
+ </create_column_mainbottom3>
973
+ <default_column_mainbottom3 translate="label">
974
+ <label>Use default block column layout for Main Bottom 3 Area</label>
975
+ <sort_order>44</sort_order>
976
+ <frontend_type>select</frontend_type>
977
+ <source_model>adminhtml/system_config_source_yesno</source_model>
978
+ <comment>
979
+ <![CDATA[Choose Yes to display blocks or widgets in this structure block as columns with default Width.<br>
980
+ Choose No to use bellow definition.]]>
981
+ </comment>
982
+ <show_in_default>1</show_in_default>
983
+ <show_in_website>1</show_in_website>
984
+ <show_in_store>1</show_in_store>
985
+ <depends>
986
+ <create_column_mainbottom3>1</create_column_mainbottom3>
987
+ </depends>
988
+ </default_column_mainbottom3>
989
+ <mainbottom3 translate="label">
990
+ <label>Width definition for columns in Main Bottom 3 Area</label>
991
+ <sort_order>45</sort_order>
992
+ <frontend_type>textarea</frontend_type>
993
+ <comment>
994
+ <![CDATA[Number in percent unit. Example:<br>
995
+ 100; // 1 column will be 100% width.<br>
996
+ 50,50; // 2 columns, each will be 50% width.<br>
997
+ 33,33,33; // 3 columns, each will be 33% width.<br>
998
+ 25,25,25,25;<br>
999
+ 20,20,20,20,20;
1000
+ ]]>
1001
+ </comment>
1002
+ <show_in_default>1</show_in_default>
1003
+ <show_in_website>1</show_in_website>
1004
+ <show_in_store>1</show_in_store>
1005
+ <depends>
1006
+ <create_column_mainbottom3>1</create_column_mainbottom3>
1007
+ <default_column_mainbottom3>0</default_column_mainbottom3>
1008
+ </depends>
1009
+ </mainbottom3>
1010
+ <label15>
1011
+ <label></label>
1012
+ <frontend_type>label</frontend_type>
1013
+ <sort_order>50</sort_order>
1014
+ <show_in_default>1</show_in_default>
1015
+ <show_in_website>1</show_in_website>
1016
+ <show_in_store>1</show_in_store>
1017
+ </label15>
1018
+
1019
+ <!-- Main Footer 1 Area -->
1020
+ <create_column_footer1 translate="label">
1021
+ <label>Create column for blocks in Main Footer 1 Area</label>
1022
+ <sort_order>51</sort_order>
1023
+ <frontend_type>select</frontend_type>
1024
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1025
+ <comment>Each block or widget in this structure block will be displayed as a column.</comment>
1026
+ <show_in_default>1</show_in_default>
1027
+ <show_in_website>1</show_in_website>
1028
+ <show_in_store>1</show_in_store>
1029
+ </create_column_footer1>
1030
+ <default_column_footer1 translate="label">
1031
+ <label>Use default block column layout for Main Footer 1 Area</label>
1032
+ <sort_order>52</sort_order>
1033
+ <frontend_type>select</frontend_type>
1034
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1035
+ <comment>
1036
+ <![CDATA[Choose Yes to display blocks or widgets in this structure block as columns with default Width.<br>
1037
+ Choose No to use bellow definition.]]>
1038
+ </comment>
1039
+ <show_in_default>1</show_in_default>
1040
+ <show_in_website>1</show_in_website>
1041
+ <show_in_store>1</show_in_store>
1042
+ <depends>
1043
+ <create_column_footer1>1</create_column_footer1>
1044
+ </depends>
1045
+ </default_column_footer1>
1046
+ <footer1 translate="label">
1047
+ <label>Width definition for columns in Main Footer 1 Area</label>
1048
+ <sort_order>53</sort_order>
1049
+ <frontend_type>textarea</frontend_type>
1050
+ <comment>
1051
+ <![CDATA[Number in percent unit. Example:<br>
1052
+ 100; // 1 column will be 100% width.<br>
1053
+ 50,50; // 2 columns, each will be 50% width.<br>
1054
+ 33,33,33; // 3 columns, each will be 33% width.<br>
1055
+ 25,25,25,25;<br>
1056
+ 20,20,20,20,20;
1057
+ ]]>
1058
+ </comment>
1059
+ <show_in_default>1</show_in_default>
1060
+ <show_in_website>1</show_in_website>
1061
+ <show_in_store>1</show_in_store>
1062
+ <depends>
1063
+ <create_column_footer1>1</create_column_footer1>
1064
+ <default_column_footer1>0</default_column_footer1>
1065
+ </depends>
1066
+ </footer1>
1067
+ <label17>
1068
+ <label></label>
1069
+ <frontend_type>label</frontend_type>
1070
+ <sort_order>59</sort_order>
1071
+ <show_in_default>1</show_in_default>
1072
+ <show_in_website>1</show_in_website>
1073
+ <show_in_store>1</show_in_store>
1074
+ </label17>
1075
+
1076
+ <!-- Main Footer 2 Area -->
1077
+ <create_column_footer2 translate="label">
1078
+ <label>Create column for blocks in Footer 2 Area</label>
1079
+ <sort_order>60</sort_order>
1080
+ <frontend_type>select</frontend_type>
1081
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1082
+ <comment>Each block or widget in this structure block will be displayed as a column.</comment>
1083
+ <show_in_default>1</show_in_default>
1084
+ <show_in_website>1</show_in_website>
1085
+ <show_in_store>1</show_in_store>
1086
+ </create_column_footer2>
1087
+ <default_column_footer2 translate="label">
1088
+ <label>Use default block column layout for Footer 2 Area</label>
1089
+ <sort_order>61</sort_order>
1090
+ <frontend_type>select</frontend_type>
1091
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1092
+ <comment>
1093
+ <![CDATA[Choose Yes to display blocks or widgets in this structure block as columns with default Width.<br>
1094
+ Choose No to use bellow definition.]]>
1095
+ </comment>
1096
+ <show_in_default>1</show_in_default>
1097
+ <show_in_website>1</show_in_website>
1098
+ <show_in_store>1</show_in_store>
1099
+ <depends>
1100
+ <create_column_footer2>1</create_column_footer2>
1101
+ </depends>
1102
+ </default_column_footer2>
1103
+ <footer2 translate="label">
1104
+ <label>Width definition for columns in Footer 2 Area</label>
1105
+ <sort_order>62</sort_order>
1106
+ <frontend_type>textarea</frontend_type>
1107
+ <comment>
1108
+ <![CDATA[Number in percent unit. Example:<br>
1109
+ 100; // 1 column will be 100% width.<br>
1110
+ 50,50; // 2 columns, each will be 50% width.<br>
1111
+ 33,33,33; // 3 columns, each will be 33% width.<br>
1112
+ 25,25,25,25;<br>
1113
+ 20,20,20,20,20;
1114
+ ]]>
1115
+ </comment>
1116
+ <show_in_default>1</show_in_default>
1117
+ <show_in_website>1</show_in_website>
1118
+ <show_in_store>1</show_in_store>
1119
+ <depends>
1120
+ <create_column_footer2>1</create_column_footer2>
1121
+ <default_column_footer2>0</default_column_footer2>
1122
+ </depends>
1123
+ </footer2>
1124
+ </fields>
1125
+ </blocks_layout>
1126
+ <custom_css>
1127
+ <label>Custom css</label>
1128
+ <sort_order>6</sort_order>
1129
+ <show_in_default>1</show_in_default>
1130
+ <show_in_website>1</show_in_website>
1131
+ <show_in_store>1</show_in_store>
1132
+ <fields>
1133
+ <css_code translate="label">
1134
+ <label></label>
1135
+ <frontend_type>textarea</frontend_type>
1136
+ <sort_order>18</sort_order>
1137
+ <show_in_default>1</show_in_default>
1138
+ <show_in_website>1</show_in_website>
1139
+ <show_in_store>1</show_in_store>
1140
+ <comment>
1141
+ <![CDATA[
1142
+ Type your custom CSS code. Example: <br /><span style="border: 1px solid #DDD; padding: 0.5em;display:block;">h1{ color:#333; font-size: 18px;}<br /> div.your_class{ color: #666;}</span>
1143
+ ]]></comment>
1144
+ </css_code>
1145
+ </fields>
1146
+ </custom_css>
1147
  </groups>
1148
  </theme_options>
1149
  </sections>
app/code/local/Ma2/WidgetProductList/Block/New.php CHANGED
@@ -19,89 +19,85 @@
19
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
  **/
21
  /* $Id: New.php 4 2013-10-08 04:27:03Z linhnt $ */
22
-
23
- class Ma2_WidgetProductList_Block_New
24
- extends Mage_Catalog_Block_Product_Abstract
25
  implements Mage_Widget_Block_Interface
26
  {
27
- /**
28
- * Store product collection we got from widget option setting
29
- * @var Varien_Object
30
- */
31
- protected $_productCollection = null;
32
- /**
33
- * Initialization
34
- */
35
- protected function _construct()
 
 
 
 
 
 
 
 
 
36
  {
37
- parent::_construct();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
  }
39
-
40
- /**
41
- * Get products collection
42
- */
43
- protected function _getProductCollection()
 
 
 
 
 
 
 
 
 
44
  {
45
- if (is_null($this->_productCollection))
46
- {
47
- $productIds = $this->getProductIdsByCategories();
48
- $todayDate = Mage::app()->getLocale()->date()
49
- ->toString(Varien_Date::DATETIME_INTERNAL_FORMAT);
50
- $storeId = Mage::app()->getStore()->getId();
51
- $collection = Mage::getResourceModel('catalog/product_collection')
52
- ->addAttributeToSelect(Mage::getSingleton('catalog/config')
53
- ->getProductAttributes())
54
- ->setStoreId($storeId)
55
- ->addStoreFilter($storeId)
56
- ->addMinimalPrice()
57
- ->addTaxPercents();
58
- Mage::getSingleton('catalog/product_status')->addVisibleFilterToCollection($collection);
59
- Mage::getSingleton('catalog/product_visibility')->addVisibleInCatalogFilterToCollection($collection);
60
- $collection->addAttributeToFilter('news_from_date', array('date' => true, 'to' => $todayDate))
61
- ->addAttributeToFilter('news_to_date',
62
- array(
63
- 'or'=> array(
64
- 0 => array('date' => true, 'from' => $todayDate),
65
- 1 => array('is' => new Zend_Db_Expr('null'))
66
- )
67
- ),
68
- 'left'
69
- );
70
- if(count($productIds)) {
71
- $collection->addFieldToFilter('entity_id', array('in'=>$productIds));
72
- }
73
- if(isset($sort_dir) && (!empty($sort_dir) && ($sort_dir == "asc" || $sort_dir="desc")))
74
- {
75
- $this->_productCollection = $collection->clear()
76
- ->setPageSize($this->getData('products_count'))
77
- ->setOrder($sort_by, $sort_dir)
78
- ->load();
79
- }
80
- else
81
- {
82
- $this->_productCollection = $collection->clear()
83
- ->setPageSize($this->getData('products_count'))
84
- ->load();
85
- }
86
- }
87
- return $this->_productCollection;
88
- }
89
-
90
- /**
91
- * To html
92
- * Assign variable and getValues
93
- */
94
- public function _toHtml()
95
- {
96
- $this->assign('WidgetProductProductCollection',$this->_getProductCollection());
97
- $_columnCount = $this->getData('column_count');
98
- if(!$_columnCount || $_columnCount == 0 || empty($_columnCount)) $_columnCount = 3;
99
- $this->assign('item_width',(int)(100/$_columnCount));
100
- $this->assign('_columnCount',(int)$_columnCount);
101
- foreach($this->getData() as $_para=>$value)
102
- {
103
- $this->assign($_para, $value);
104
- }
105
- return parent::_toHtml();
106
  }
 
 
107
  }
19
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
  **/
21
  /* $Id: New.php 4 2013-10-08 04:27:03Z linhnt $ */
22
+ class Ma2_WidgetProductList_Block_New extends Mage_Catalog_Block_Product_Abstract
 
 
23
  implements Mage_Widget_Block_Interface
24
  {
25
+ /**
26
+ * Store product collection we got from widget option setting
27
+ * @var Varien_Object
28
+ */
29
+ protected $_productCollection = null;
30
+ /**
31
+ * Initialization
32
+ */
33
+ protected function _construct()
34
+ {
35
+ parent::_construct();
36
+ }
37
+ /**
38
+ * Get products collection
39
+ */
40
+ protected function _getProductCollection()
41
+ {
42
+ if (is_null($this->_productCollection))
43
  {
44
+ $productIds = $this->getProductIdsByCategories();
45
+ $todayDate = Mage::app()->getLocale()->date()
46
+ ->toString(Varien_Date::DATETIME_INTERNAL_FORMAT);
47
+ $storeId = Mage::app()->getStore()->getId();
48
+ $collection = Mage::getResourceModel('catalog/product_collection')
49
+ ->addAttributeToSelect(Mage::getSingleton('catalog/config')
50
+ ->getProductAttributes())
51
+ ->setStoreId($storeId)
52
+ ->addStoreFilter($storeId)
53
+ ->addMinimalPrice()
54
+ ->addTaxPercents();
55
+ Mage::getSingleton('catalog/product_status')->addVisibleFilterToCollection($collection);
56
+ Mage::getSingleton('catalog/product_visibility')->addVisibleInCatalogFilterToCollection($collection);
57
+ $collection->addAttributeToFilter('news_from_date', array('date' => true, 'to' => $todayDate))
58
+ ->addAttributeToFilter('news_to_date',
59
+ array(
60
+ 'or'=> array(
61
+ 0 => array('date' => true, 'from' => $todayDate),
62
+ 1 => array('is' => new Zend_Db_Expr('null'))
63
+ )
64
+ ),
65
+ 'left'
66
+ );
67
+ if(count($productIds)) {
68
+ $collection->addFieldToFilter('entity_id', array('in'=>$productIds));
69
+ }
70
+ if(isset($sort_dir) && (!empty($sort_dir) && ($sort_dir == "asc" || $sort_dir="desc")))
71
+ {
72
+ $this->_productCollection = $collection->clear()
73
+ ->setPageSize($this->getData('products_count'))
74
+ ->setOrder($sort_by, $sort_dir)
75
+ ->load();
76
+ }
77
+ else
78
+ {
79
+ $this->_productCollection = $collection->clear()
80
+ ->setPageSize($this->getData('products_count'))
81
+ ->load();
82
+ }
83
  }
84
+ return $this->_productCollection;
85
+ }
86
+ /**
87
+ * To html
88
+ * Assign variable and getValues
89
+ */
90
+ public function _toHtml()
91
+ {
92
+ $this->assign('WidgetProductProductCollection',$this->_getProductCollection());
93
+ $_columnCount = $this->getData('column_count');
94
+ if(!$_columnCount || $_columnCount == 0 || empty($_columnCount)) $_columnCount = 3;
95
+ $this->assign('item_width',(int)(100/$_columnCount));
96
+ $this->assign('_columnCount',(int)$_columnCount);
97
+ foreach($this->getData() as $_para=>$value)
98
  {
99
+ $this->assign($_para, $value);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
100
  }
101
+ return parent::_toHtml();
102
+ }
103
  }
app/code/local/Wru/HomeTop/Block/Links.php DELETED
@@ -1,91 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * DISCLAIMER
16
- *
17
- * Do not edit or add to this file if you wish to upgrade Magento to newer
18
- * versions in the future. If you wish to customize Magento for your
19
- * needs please refer to http://www.magentocommerce.com for more information.
20
- *
21
- * @category Mage
22
- * @package Mage_Checkout
23
- * @copyright Copyright (c) 2011 Magento Inc. (http://www.magentocommerce.com)
24
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
25
- */
26
-
27
- /**
28
- * Links block
29
- *
30
- * @category Mage
31
- * @package Mage_Checkout
32
- * @author Magento Core Team <core@magentocommerce.com>
33
- */
34
- class Wru_HomeTop_Block_Links extends Mage_Core_Block_Template
35
- {
36
- /**
37
- * Add shopping cart link to parent block
38
- *
39
- * @return Mage_Checkout_Block_Links
40
- */
41
-
42
- public function addCartLink()
43
- {
44
- $parentBlock = $this->getParentBlock();
45
- if ($parentBlock && Mage::helper('core')->isModuleOutputEnabled('Mage_Checkout')) {
46
- $count = $this->getSummaryQty() ? $this->getSummaryQty()
47
- : $this->helper('checkout/cart')->getSummaryCount();
48
- if ($count == 1) {
49
- $text = $this->__('<span>Now in your cart</span> (%s item)', $count);
50
- } elseif ($count > 0) {
51
- $text = $this->__('<span>Now in your cart</span> (%s items)', $count);
52
- } else {
53
- $text = $this->__('<span>Now in your cart</span> (0 item)');
54
- }
55
-
56
- $parentBlock->removeLinkByUrl($this->getUrl('checkout/cart'));
57
- $parentBlock->addLink($text, 'checkout/cart', $text, true, array(), 50, null, 'class="top-link-cart"');
58
- }
59
- return $this;
60
- }
61
-
62
- /**
63
- * Add link on checkout page to parent block
64
- *
65
- * @return Mage_Checkout_Block_Links
66
- */
67
- public function addCheckoutLink()
68
- {
69
- if (!$this->helper('checkout')->canOnepageCheckout()) {
70
- return $this;
71
- }
72
-
73
- $parentBlock = $this->getParentBlock();
74
- if ($parentBlock && Mage::helper('core')->isModuleOutputEnabled('Mage_Checkout')) {
75
- $text = $this->__('Checkout');
76
- $parentBlock->addLink($text, 'checkout', $text, true, array(), 60, null, 'class="top-link-checkout"');
77
- }
78
- return $this;
79
- }
80
-
81
- public function addAccountLink()
82
- {
83
- $parentBlock = $this->getParentBlock();
84
- if ($parentBlock && Mage::helper('core')->isModuleOutputEnabled('Mage_Checkout')) {
85
- $text = $this->__('My Account');
86
- $parentBlock->addLink($text, 'checkout', $text, true, array(), 60, null, 'class="top-link-checkout"');
87
- }
88
- return $this;
89
- }
90
-
91
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Wru/HomeTop/etc/config.xml DELETED
@@ -1,59 +0,0 @@
1
- <?xml version="1.0"?>
2
- <config>
3
- <modules>
4
- <Wru_HomeTop>
5
- <version>0.0.1</version>
6
- </Wru_HomeTop>
7
- </modules>
8
- <global>
9
- <blocks>
10
- <hometop>
11
- <class>Wru_HomeTop_Block</class>
12
- </hometop>
13
- <adminhtml>
14
- <rewrite>
15
- <newsletter_subscriber_grid>Wru_HomeTop_Block_Grid</newsletter_subscriber_grid>
16
- </rewrite>
17
- </adminhtml>
18
- <checkout>
19
- <rewrite>
20
- <links>Wru_HomeTop_Block_links</links>
21
- </rewrite>
22
- </checkout>
23
- </blocks>
24
- <models>
25
- <hometop>
26
- <class>Wru_HomeTop_Model</class>
27
- </hometop>
28
- </models>
29
- </global>
30
- <frontend>
31
- <translate>
32
- <modules>
33
- <Wru_HomeTop>
34
- <files>
35
- <default>Wru_HomeTop.csv</default>
36
- </files>
37
- </Wru_HomeTop>
38
- </modules>
39
- </translate>
40
- <layout>
41
- <updates>
42
- <hometop>
43
- <file>Wru/hometop.xml</file>
44
- </hometop>
45
- </updates>
46
- </layout>
47
- <events>
48
- <newsletter_subscriber_save_before>
49
- <observers>
50
- <newsletter><!--ko quan trong-->
51
- <type>singleton</type>
52
- <class>hometop/observer</class>
53
- <method>subscribeBefore</method>
54
- </newsletter>
55
- </observers>
56
- </newsletter_subscriber_save_before>
57
- </events>
58
- </frontend>
59
- </config>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/adminhtml/default/default/layout/ma2_all.xml ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <layout version="0.1.0">
3
+ <default>
4
+ </default>
5
+ <adminhtml_system_config_edit>
6
+ </adminhtml_system_config_edit>
7
+ </layout>
app/design/adminhtml/default/default/layout/ma2_manufacturers.xml ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <layout version="0.1.0">
3
+ <manufacturers_adminhtml_default_index>
4
+ <reference name="head">
5
+ </reference>
6
+ <reference name="content">
7
+ <!-- <block type="adminhtml/store_switcher" name="store_switcher" as="store_switcher">
8
+ <action method="setUseConfirm"><params>0</params></action>
9
+ </block> -->
10
+ <block type="manufacturers/adminhtml_default" name="manufacturers" />
11
+ </reference>
12
+ </manufacturers_adminhtml_default_index>
13
+
14
+ </layout>
app/design/adminhtml/default/default/layout/ma2_slideshow.xml ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <layout version="0.1.0">
3
+ <slideshow_adminhtml_slideshow_index>
4
+ <reference name="content">
5
+ <block type="slideshow/adminhtml_slideshow" name="slideshow" />
6
+ </reference>
7
+ </slideshow_adminhtml_slideshow_index>
8
+ </layout>
app/design/adminhtml/default/default/layout/{ma2_options.xml → ma2themeoptions.xml} RENAMED
File without changes
app/design/adminhtml/default/default/template/ma2_manufacturers/default.phtml ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Extensions
17
+ * @package Ma2_Manufacturers Free
18
+ * @copyright Copyright (c) 2013 MagenMarket. (http://www.magenmarket.com)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: default.phtml 2 2014-01-13 07:35:22Z linhnt $ */
22
+ ?>
23
+
24
+ <div class="content-header">
25
+ <table cellspacing="0">
26
+ <tr>
27
+ <td>
28
+ <h3<?php if($this->getHeaderCss()): ?> class="<?php echo $this->getHeaderCss()?>"<?php endif; ?>><?php echo Mage::helper('manufacturers')->__($this->getTitle()) ?></h3>
29
+ </td>
30
+ <td class="form-buttons"><?php echo $this->getSaveButtonHtml() ?></td>
31
+ </tr>
32
+ </table>
33
+ </div>
34
+ <form action="<?php echo $this->getSaveUrl() ?>" method="post" id="manufacturers_edit_form" enctype="multipart/form-data">
35
+ <?php echo $this->getBlockHtml('formkey')?>
36
+ <?php echo $this->getChildHtml('form') ?>
37
+ </form>
38
+ <script type="text/javascript">
39
+ //<![CDATA[
40
+ var editForm = new varienForm('manufacturers_edit_form');
41
+ decorateGeneric($$('#manufacturers_edit_form table tr'), ['odd','even']);
42
+ //]]>
43
+ </script>
app/design/frontend/ma2/ante/layout/es_custommenu.xml DELETED
@@ -1,11 +0,0 @@
1
- <?xml version="1.0"?>
2
- <layout version="0.1.0">
3
- <default translate="label">
4
- <reference name="top.menu">
5
- <block type="custommenu/custommenu" after="-" name="custommenu.top">
6
- <action method="setMenuLabel"><value>main_menu</value></action>
7
- <action method="setHtmlId"><value>nav</value></action>
8
- </block>
9
- </reference>
10
- </default>
11
- </layout>
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/ma2/ante/layout/local.xml CHANGED
@@ -1,143 +1,319 @@
1
  <?xml version="1.0" encoding="UTF-8"?>
2
  <layout>
3
- <default>
4
- <reference name="head">
5
- <action method="addCss"><css>css/custom.css</css></action>
6
- <action method="addCss"><css>css/widgettabs.css</css></action>
7
- <action method="addCss"><stylesheet>css/widgets.css</stylesheet></action>
8
- <action method="addCss"><stylesheet>css/styles.css</stylesheet></action>
9
- <action method="addItem"><type>js_css</type><css>prototype/windows/themes/default.css</css></action>
10
- <action method="addCss"><stylesheet>css/print.css</stylesheet><params>media="print"</params></action>
11
- <action method="addItem"><type>skin_css</type><css>css/lib/prototype/windows/themes/magento.css</css></action>
12
- <action method="removeItem"><type>skin_css</type><name>css/styles-ie.css</name><params/><if>lt IE 8</if></action>
13
- <block type="page/html" name="skin_css_ie7_ie8" as="skin_css_ie7_ie8" template="page/html/appendblocks/ie7ie8.phtml" />
14
- <action method="addCss"><css>css/ma2selectscreen/screen.css</css></action>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
 
16
- <action method="addJs"><script>prototype/prototype.js</script></action>
17
- <action method="addJs"><script>prototype/window.js</script></action>
18
- <action method="addJs"><script>lib/ccard.js</script></action>
19
- <action method="addJs"><script>varien/js.js</script></action>
20
- <action method="addJs"><script>varien/form.js</script></action>
21
- <action method="addJs"><script>varien/menu.js</script></action>
22
- <action method="addJs"><script>mage/cookies.js</script></action>
23
- <action method="addJs"><script>mage/translate.js</script></action>
24
- <action method="addJs"><script>jscolor/jscolor.js</script></action>
25
-
26
- <!-- link for slider -->
27
- <action method="addCss"><css>css/coin-slider-styles.css</css></action>
28
- <!-- <action method="addJs"><script>ma2_all/jquery-1.4.2.js</script></action>
29
- <action method="addJs"><script>ma2_all/coin-slider.min.js</script></action> -->
30
- <action method="addJs"><script>ma2_all/widgettabs.js</script></action>
31
 
32
- <action method="addJs"><script>scriptaculous/slider.js</script></action>
33
- <action method="addJs"><script>prototype/validation.js</script></action>
34
- <action method="addJs"><script>scriptaculous/builder.js</script></action>
35
- <action method="addJs"><script>scriptaculous/effects.js</script></action>
36
- <action method="addJs"><script>scriptaculous/dragdrop.js</script></action>
37
- <action method="addJs"><script>scriptaculous/controls.js</script></action>
38
- <action method="addJs"><script>scriptaculous/scriptaculous.js</script></action>
39
- <block type="page/js_cookie" name="js_cookies" template="page/js/cookie.phtml"/>
40
 
41
- <action method="addItem"><type>skin_js</type><name>js/ma2function.js</name><params/></action>
42
- <action method="addItem"><type>js</type><name>lib/ds-sleight.js</name><params/><if>lt IE 7</if></action>
43
- <action method="addItem"><type>skin_js</type><name>js/ie6.js</name><params/><if>lt IE 7</if></action>
44
- <block type="core/template" name ="i-check-display" as="i-check-display" template="page/html/appendblocks/presetstyle.phtml" before="-" />
45
- </reference>
46
- <reference name="header">
47
- <block type="page/html" name="i_block_header_top_links" as="i_block_header_top_links" template="page/html/sampleblocks/block-header-top-links.phtml"/>
48
- <block type="page/html" name="banner-bottom" as="banner-bottom" template="page/html/sampleblocks/banner-bottom.phtml"/>
49
- <block type="page/html" name="banner-img" as="banner-img" template="page/html/sampleblocks/bannerimg.phtml"/>
50
- <block type="page/html" name="slideshow" as="slideshow" template="page/html/sampleblocks/slideshow.phtml"/>
51
- </reference>
52
- <reference name="root">
53
- <action method="setTemplate">
54
- <template>page/2columns-right.phtml</template>
55
- </action>
56
- <block type="core/text_list" after="right" name="ma2-right-bottom" as="ma2-right-bottom" translate="label" >
57
- <label>
58
- Right bottom
59
- </label>
60
- </block>
 
 
 
 
 
 
 
 
 
 
 
61
  </reference>
62
- <reference name="ma2-right-bottom">
63
- <block type="core/template" name="i-right-adv" as="i-right-adv" template="page/html/sampleblocks/block-right-adv.phtml" after="-" />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
64
  </reference>
65
- <reference name="right">
66
- <remove name="catalog.compare.sidebar"/>
67
- <remove name="right.permanent.callout"/>
68
- <remove name="paypal.partner.right.logo"/>
69
- <remove name="right.poll"/>
70
- </reference>
71
- <reference name="footer">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
72
  <remove name="footer_links"/>
73
- <remove name="cms_footer_links"/>
74
- <block type="newsletter/subscribe" name="newsletter" template="newsletter/subscribe.phtml"></block>
75
- <block type="page/html" name="call-toll-free" as="call-toll-free" template="page/html/sampleblocks/block-call-toll-free.phtml" />
76
- <block type="page/html" name="block-free-shipping" as="block-free-shipping" template="page/html/sampleblocks/block-free-shipping.phtml" />
77
- <block type="page/html" name="block-footer-social" as="block-footer-social" template="page/html/sampleblocks/footer-block-social.phtml" />
78
- <block type="page/html" name="footer-block-one" as="footer-block-one" template="page/html/sampleblocks/footer-block-one.phtml" />
79
- <block type="page/html" name="footer-block-two" as="footer-block-two" template="page/html/sampleblocks/footer-block-two.phtml" />
80
- <block type="page/html" name="footer-block-three" as="footer-block-three" template="page/html/sampleblocks/footer-block-three.phtml" />
81
- <block type="page/html" name="i-footer-right" as="i-footer-right" template="page/html/sampleblocks/footer-right.phtml" />
82
  </reference>
83
- </default>
84
- <!-- Quick search -->
85
- <catalogsearch_result_index>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
86
  <reference name="root">
87
- <!-- <action method="setTemplate"><template>page/2columns-right.phtml</template></action> -->
88
- <action method="setTemplate"><template>page/1column.phtml</template></action>
89
- </reference>
90
- <reference name="right">
91
- <action method="unsetChild"><name>currency</name></action>
92
- </reference>
93
- </catalogsearch_result_index>
94
- <!-- Advanced search -->
95
- <catalogsearch_advanced_index>
96
- <!-- Remove (RIGHT) currency switcher from sidebar -->
97
- <reference name="right">
98
- <action method="unsetChild"><name>right_currency</name></action>
99
- </reference>
100
- </catalogsearch_advanced_index>
101
  <catalog_category_default>
102
  <reference name="root">
103
- <action method="setTemplate">
104
- <template>page/2columns-right.phtml</template>
105
- </action>
106
  </reference>
107
  </catalog_category_default>
108
- <catalog_category_layered translate="label">
 
 
 
 
109
  <reference name="root">
110
- <action method="setTemplate">
111
- <template>page/2columns-right.phtml</template>
112
- </action>
113
  </reference>
114
- </catalog_category_layered>
115
- <catalog_product_view>
116
- <reference name="content">
117
- <!--OMG-->
118
- <block type="catalog/product_list_related" name="catalog.product.vesion2.related" after="product.description" template="catalog/product/list/related.phtml"/>
119
- <remove name="product_tag_list"/>
120
- <remove name="product.info.upsell"/>
121
- </reference>
122
- <reference name="product.info">
123
- <!-- Link-to-social -->
124
- <block type="page/html" name="i-icon-link-to-social" as="i-icon-link-to-social" template="page/html/sampleblocks/icon-link-to-social.phtml" />
125
- <block type="page/html" name="i_datasheet" as="i_datasheet" template="page/html/sampleblocks/i_datasheet.phtml" />
126
- </reference>
127
- <reference name="right">
128
- <remove name="catalog.product.related"/>
129
- </reference>
130
- </catalog_product_view>
131
- <PRODUCT_TYPE_simple translate="label" module="catalog">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
132
  <label>Catalog Product View (Simple)</label>
133
- <reference name="product.info">
134
- <remove name="product.info.simple" />
135
  <block type="catalog/product_view_type_simple" name="product.info.simple.onlyprice" as="product_type_data_onlyprice" template="catalog/product/view/type/onlyprice.phtml" />
136
  <block type="catalog/product_view_type_simple" name="product.info.simple.override" as="product_type_data_override" template="catalog/product/view/type/default.phtml">
137
- <block type="core/text_list" name="product.info.simple.extra" as="product_type_data_extra" translate="label">
138
- <label>Product Extra Info</label>
139
- </block>
140
- </block>
141
- </reference>
142
- </PRODUCT_TYPE_simple>
143
  </layout>
1
  <?xml version="1.0" encoding="UTF-8"?>
2
  <layout>
3
+ <default>
4
+ <reference name="head">
5
+ <action method="addJs"><script>prototype/prototype.js</script></action>
6
+ <action method="addJs"><script>lib/ccard.js</script></action>
7
+ <action method="addJs"><script>prototype/validation.js</script></action>
8
+ <action method="addJs"><script>scriptaculous/scriptaculous.js</script></action>
9
+ <action method="addJs"><script>scriptaculous/builder.js</script></action>
10
+ <action method="addJs"><script>scriptaculous/effects.js</script></action>
11
+ <action method="addJs"><script>scriptaculous/dragdrop.js</script></action>
12
+ <action method="addJs"><script>scriptaculous/controls.js</script></action>
13
+ <action method="addJs"><script>scriptaculous/slider.js</script></action>
14
+ <action method="addJs"><script>varien/js.js</script></action>
15
+ <action method="addJs"><script>varien/form.js</script></action>
16
+ <action method="addJs"><script>varien/menu.js</script></action>
17
+ <action method="addJs"><script>mage/translate.js</script></action>
18
+ <action method="addJs"><script>mage/cookies.js</script></action>
19
+
20
+ <block type="page/js_cookie" name="js_cookies" template="page/js/cookie.phtml"/>
21
+
22
+ <action method="addCss"><stylesheet>css/styles.css</stylesheet></action>
23
+
24
+ <action method="addItem"><type>skin_css</type><name>css/styles-ie.css</name><params/><if>lt IE 9</if></action>
25
+ <block type="page/html" name="skin_css_ie7_ie8" as="skin_css_ie7_ie8" template="page/html/ie7ie8.phtml" />
26
+
27
+ <action method="addCss"><stylesheet>css/widgets.css</stylesheet></action>
28
+ <action method="addCss"><stylesheet>css/print.css</stylesheet><params>media="print"</params></action>
29
+
30
+ <action method="addCss"><stylesheet>css/template.css</stylesheet></action>
31
+ <action method="addCss"><stylesheet>css/custom.css</stylesheet></action>
32
+
33
+ <action method="addItem"><type>skin_js</type><name>js/ma2function.js</name><params/></action>
34
+ <action method="addItem"><type>js</type><name>lib/ds-sleight.js</name><params/><if>lt IE 7</if></action>
35
+ <action method="addItem"><type>skin_js</type><name>js/ie6.js</name><params/><if>lt IE 7</if></action>
36
+ </reference>
37
+
38
+ <reference name="root">
39
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
40
+ <action method="setIsHandle"><applied>1</applied></action>
41
 
42
+ <block type="ThemeOptions/html_ma2blocks" name="maintop1" as="maintop1Area">
43
+ <label>Main Top 1 Area</label>
44
+ </block>
 
 
 
 
 
 
 
 
 
 
 
 
45
 
46
+ <block type="ThemeOptions/html_ma2blocks" name="maintop2" as="maintop2Area" template="page/html/ma2blocks_simple.phtml">
47
+ <label>Main Top 2 Area</label>
48
+ </block>
 
 
 
 
 
49
 
50
+ <block type="ThemeOptions/html_ma2blocks" name="maintop3" as="maintop3Area">
51
+ <label>Main Top 3 Area</label>
52
+ </block>
53
+
54
+ <block type="ThemeOptions/html_ma2blocks" name="contenttop1" as="contenttop1Area" template="page/html/ma2blocks_simple.phtml">
55
+ <label>Content Top 1 Area</label>
56
+ </block>
57
+ <block type="ThemeOptions/html_ma2blocks" name="contenttop2" as="contenttop2Area" template="page/html/ma2blocks_simple.phtml">
58
+ <label>Content Top 2 Area</label>
59
+ </block>
60
+
61
+ <block type="ThemeOptions/html_ma2blocks" name="contentbottom1" as="contentbottom1Area" template="page/html/ma2blocks_simple.phtml">
62
+ <label>Content Bottom 1 Area</label>
63
+ </block>
64
+ <block type="ThemeOptions/html_ma2blocks" name="contentbottom2" as="contentbottom2Area" template="page/html/ma2blocks_simple.phtml">
65
+ <label>Content Bottom 2 Area</label>
66
+ </block>
67
+
68
+ <block type="ThemeOptions/html_ma2blocks" name="mainbottom1" as="mainbottom1Area">
69
+ <label>Main Bottom 1 Area</label>
70
+ </block>
71
+ <block type="ThemeOptions/html_ma2blocks" name="mainbottom2" as="mainbottom2Area">
72
+ <label>Main Bottom 2 Area</label>
73
+ </block>
74
+ <block type="ThemeOptions/html_ma2blocks" name="mainbottom3" as="mainbottom3Area" template="page/html/ma2blocks_simple.phtml">
75
+ <label>Main Bottom 3 Area</label>
76
+ </block>
77
+
78
+ <block type="ThemeOptions/html_ma2blocks" after="right" name="rightbottom1Area" as="rightbottom1Area" translate="label" template="page/html/ma2blocks_simple.phtml">
79
+ <label>Right Bottom 1 Area</label>
80
+ </block>
81
  </reference>
82
+
83
+ <reference name="mainbottom2">
84
+ <block type="newsletter/subscribe" name="newsletter" template="newsletter/subscribe.phtml"></block>
85
+
86
+ <block type="cms/block" name="i_call_toll_free" as="i_call_toll_free">
87
+ <action method="setBlockId"><block_id>i_call_toll_free</block_id></action>
88
+ </block>
89
+
90
+ <block type="cms/block" name="ma2_block_free_shipping" as="ma2_block_free_shipping">
91
+ <action method="setBlockId"><block_id>ma2_block_free_shipping</block_id></action>
92
+ </block>
93
+ </reference>
94
+
95
+ <reference name="mainbottom3">
96
+ <block type="cms/block" name="block_footer_social" as="block_footer_social">
97
+ <action method="setBlockId"><block_id>block_footer_social</block_id></action>
98
+ </block>
99
+ </reference>
100
+
101
+ <reference name="header">
102
+ <block type="core/template" name="preset.styles.box" as="presetStylesBox" template="page/html/presetstyles.phtml"/>
103
+
104
+ <block type="cms/block" name="i_block_header_top_links" as="i_block_header_top_links">
105
+ <action method="setBlockId"><block_id>i_block_header_top_links</block_id></action>
106
+ </block>
107
+
108
+ <block type="ThemeOptions/html_ma2blocks" name="top1" as="top1Area" template="page/html/ma2blocks_simple.phtml">
109
+ <label>Top 1 Area</label>
110
+ </block>
111
+ <block type="ThemeOptions/html_ma2blocks" name="top2" as="top2Area" template="page/html/ma2blocks_simple.phtml">
112
+ <label>Top 2 Area</label>
113
+ </block>
114
  </reference>
115
+
116
+ <reference name="top.links">
117
+ <remove name="wishlist_link"/>
118
+ <action method="removeLinkByUrl"><url helper="customer/getAccountUrl"/></action>
119
+ </reference>
120
+
121
+ <reference name="left">
122
+ <remove name="left.permanent.callout"/>
123
+ <remove name="tags_popular"/>
124
+ <remove name="left.newsletter"/>
125
+ </reference>
126
+
127
+ <reference name="right">
128
+ <remove name="paypal.partner.right.logo"/>
129
+ <remove name="catalog.product.related"/>
130
+ <remove name="catalog.compare.sidebar"/>
131
+ <remove name="right.permanent.callout"/>
132
+ <!--
133
+ <remove name="cart_sidebar"/>
134
+ -->
135
+ <remove name="right.poll"/>
136
+ </reference>
137
+
138
+ <reference name="rightbottom1Area">
139
+ <block type="page/html_wrapper" name="rightbottom11Area" as="rightbottom11Area" after="-">
140
+ <action method="setElementClass"><value>right-bottom</value></action>
141
+ <block type="core/template" name="i-right-adv" as="i-right-adv" template="page/html/block-right-adv.phtml" after="-" />
142
+ </block>
143
+ </reference>
144
+
145
+ <reference name="footer">
146
+ <remove name="store_switcher"/>
147
  <remove name="footer_links"/>
148
+ <remove name="cms_footer_links"/>
149
+
150
+ <block type="ThemeOptions/html_ma2blocks" name="footer1" as="footer1Area" template="page/html/ma2blocks_simple.phtml">
151
+ <label>Footer 1 Area</label>
152
+ </block>
153
+ <block type="ThemeOptions/html_ma2blocks" name="footer2" as="footer2Area" template="page/html/ma2blocks_simple.phtml">
154
+ <label>Footer 2 Area</label>
155
+ </block>
 
156
  </reference>
157
+
158
+ <reference name="footer1">
159
+ <block type="page/html_wrapper" name="footer11Area" as="footer11Area" after="-">
160
+ <action method="setElementClass"><value>footer1-1</value></action>
161
+ <block type="cms/block" name="footer_block_one" as="footer_block_one">
162
+ <action method="setBlockId"><block_id>footer_block_one</block_id></action>
163
+ </block>
164
+ </block>
165
+
166
+ <block type="page/html_wrapper" name="footer12Area" as="footer12Area" after="-">
167
+ <action method="setElementClass"><value>footer1-2</value></action>
168
+ <block type="cms/block" name="footer_block_two" as="footer_block_two">
169
+ <action method="setBlockId"><block_id>footer_block_two</block_id></action>
170
+ </block>
171
+ </block>
172
+
173
+ <block type="page/html_wrapper" name="footer13Area" as="footer123Area" after="-">
174
+ <action method="setElementClass"><value>footer1-3</value></action>
175
+ <block type="cms/block" name="footer_block_three" as="footer_block_three">
176
+ <action method="setBlockId"><block_id>footer_block_three</block_id></action>
177
+ </block>
178
+ </block>
179
+
180
+ <block type="page/html_wrapper" name="footer14Area" as="footer14Area" after="-">
181
+ <action method="setElementClass"><value>footer1-4</value></action>
182
+ <block type="cms/block" name="ma2_i_footer_right" as="ma2_i_footer_right">
183
+ <action method="setBlockId"><block_id>ma2_i_footer_right</block_id></action>
184
+ </block>
185
+ </block>
186
+ </reference>
187
+
188
+ <reference name="footer2">
189
+ <block type="page/html_wrapper" name="footer21Area" as="footer21Area" after="-">
190
+ <action method="setElementClass"><value>footer2-1</value></action>
191
+ </block>
192
+ </reference>
193
+ </default>
194
+
195
+ <!--
196
+ CMS Home Page
197
+ -->
198
+ <cms_index_index>
199
+ <reference name="maintop1">
200
+ <block type="page/html_wrapper" name="maintop11" as="maintop11">
201
+ <action method="setElementClass"><value>banner-maintop1</value></action>
202
+ <block type="page/html" name="banner-img" as="banner-img" template="page/html/bannerimg.phtml"/>
203
+ </block>
204
+ </reference>
205
+ <reference name="maintop2">
206
+ <block type="page/html_wrapper" name="maintop21" as="maintop21">
207
+ <action method="setElementClass"><value>banner-maintop2</value></action>
208
+ <block type="page/html" name="banner-bottom" as="banner-bottom" template="page/html/banner-bottom.phtml"/>
209
+ </block>
210
+ </reference>
211
+ <reference name="maintop3">
212
+ <block type="page/html_wrapper" name="maintop31" as="maintop31">
213
+ <action method="setElementClass"><value>manufacturers-maintop3</value></action>
214
+ <block type="manufacturers/list" name="manu_grid" as="manu_grid" grid_col="7" template="ma2_manufacturers/grid.phtml" title="Brands" after="manu_slider" />
215
+ </block>
216
+ </reference>
217
+ </cms_index_index>
218
+
219
+ <!--
220
+ CMS page default layout, loads most of the pages
221
+ -->
222
+ <cms_page>
223
  <reference name="root">
224
+ <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
225
+ </reference>
226
+ </cms_page>
227
+
228
+ <!--
229
+ Category default layout
230
+ -->
 
 
 
 
 
 
 
231
  <catalog_category_default>
232
  <reference name="root">
233
+ <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
 
 
234
  </reference>
235
  </catalog_category_default>
236
+
237
+ <!--
238
+ Category layered navigation layout
239
+ -->
240
+ <catalog_category_layered translate="label">
241
  <reference name="root">
242
+ <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
 
 
243
  </reference>
244
+ </catalog_category_layered>
245
+
246
+ <!--
247
+ Product view page
248
+ -->
249
+ <catalog_product_view>
250
+ <reference name="content">
251
+ <block type="catalog/product_list_related" name="catalog.product.vesion2.related" after="product.description" template="catalog/product/list/related.phtml"/>
252
+ <remove name="product_tag_list"/>
253
+ <remove name="product.info.upsell"/>
254
+ </reference>
255
+ <reference name="right">
256
+ <remove name="catalog.product.related"/>
257
+ </reference>
258
+ <reference name="product.info">
259
+ <remove name="product.info.additional"/>
260
+ <remove name="product.attributes"/>
261
+ <!--
262
+ <action method="unsetChild">
263
+ <child>product_additional_data</child>
264
+ </action>
265
+ -->
266
+ </reference>
267
+ </catalog_product_view>
268
+
269
+ <!--
270
+ Compare products page
271
+ -->
272
+ <catalog_product_compare_index>
273
+ <!-- Mage_Catalog -->
274
+ <reference name="root">
275
+ <action method="setTemplate"><template>page/popup.phtml</template></action>
276
+ </reference>
277
+
278
+ <reference name="head">
279
+ <action method="addJs"><script>varien/product.js</script></action>
280
+ </reference>
281
+ </catalog_product_compare_index>
282
+
283
+ <!--
284
+ Catalog search advanced page
285
+ -->
286
+ <catalogsearch_advanced_index>
287
+ <reference name="right">
288
+ <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
289
+ </reference>
290
+ </catalogsearch_advanced_index>
291
+
292
+ <!--
293
+ Catalog search result page
294
+ -->
295
+ <catalogsearch_result_index>
296
+ <reference name="root">
297
+ <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
298
+ </reference>
299
+ <reference name="right">
300
+ <action method="unsetChild"><name>currency</name></action>
301
+ </reference>
302
+ </catalogsearch_result_index>
303
+
304
+ <!--
305
+ Product type simple
306
+ -->
307
+ <PRODUCT_TYPE_simple translate="label" module="catalog">
308
  <label>Catalog Product View (Simple)</label>
309
+ <reference name="product.info">
310
+ <remove name="product.info.simple" />
311
  <block type="catalog/product_view_type_simple" name="product.info.simple.onlyprice" as="product_type_data_onlyprice" template="catalog/product/view/type/onlyprice.phtml" />
312
  <block type="catalog/product_view_type_simple" name="product.info.simple.override" as="product_type_data_override" template="catalog/product/view/type/default.phtml">
313
+ <block type="core/text_list" name="product.info.simple.extra" as="product_type_data_extra" translate="label">
314
+ <label>Product Extra Info</label>
315
+ </block>
316
+ </block>
317
+ </reference>
318
+ </PRODUCT_TYPE_simple>
319
  </layout>
app/design/frontend/ma2/ante/layout/ma2_all.xml ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <layout version="0.1.0">
3
+ <default>
4
+ <reference name="head">
5
+ <action method="addItem"><type>js_css</type><css>ma2_all/ma2all.css</css></action>
6
+ <action method="addJs"><script>ma2_all/ma2all.js</script></action>
7
+ </reference>
8
+ </default>
9
+ </layout>
app/design/frontend/ma2/ante/layout/ma2_featuredproducts.xml CHANGED
@@ -1,11 +1,20 @@
1
  <?xml version="1.0"?>
2
  <layout version="0.1.0">
3
- <default>
4
- <!-- <reference name="head">
5
- <action method="addCss"><css>css/ma2_featuredproducts/featuredproducts.css</css></action>
6
- </reference> -->
7
- <!-- <reference name="content">
8
- <block type="FeaturedProducts/product_list" name="featured_product_list" template="ma2_featuredproducts/featuredproducts.phtml" />
9
- </reference> -->
10
- </default>
 
 
 
 
 
 
 
 
 
11
  </layout>
1
  <?xml version="1.0"?>
2
  <layout version="0.1.0">
3
+ <default>
4
+ <reference name="head">
5
+ <action method="addItem"><type>skin_css</type><stylesheet>css/ma2_featuredproducts/ma2_featuredproducts.css</stylesheet></action>
6
+ </reference>
7
+ </default>
8
+ <featuredproducts_index_index>
9
+ <reference name="content">
10
+ <block type="core/template" name="category.products" template="ma2_featuredproducts/standalone.phtml">
11
+ <block type="featuredproducts/standalone_list" name="featured_product_list" as="featured_product_list" template="ma2_featuredproducts/standalone_list.phtml">
12
+ <block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
13
+ <block type="page/html_pager" name="product_list_toolbar_pager"/>
14
+ </block>
15
+ <action method="setToolbarBlockName"><name>product_list_toolbar</name></action>
16
+ </block>
17
+ </block>
18
+ </reference>
19
+ </featuredproducts_index_index>
20
  </layout>
app/design/frontend/ma2/ante/layout/ma2_manufacturers.xml ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <layout version="0.1.0">
3
+ <default translate="label">
4
+ <reference name="head">
5
+ <action method="addItem"><type>skin_css</type><stylesheet>css/ma2_manufacturers/css/frontend.css</stylesheet></action>
6
+ </reference>
7
+ </default>
8
+ </layout>
app/design/frontend/ma2/ante/layout/ma2_slideshow.xml ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <layout version="0.1.0">
3
+ <default>
4
+ <reference name="head">
5
+ <action method="addItem"><type>skin_css</type><stylesheet>css/ma2slideshow/protoshow.css</stylesheet></action>
6
+ <action method="addItem"><type>skin_css</type><stylesheet>css/ma2slideshow/styles.css</stylesheet></action>
7
+ <action method="addJs"><script>scriptaculous/scriptaculous.js</script></action>
8
+ <action method="addItem"><type>skin_js</type><name>js/ma2slideshow/protoshow.js</name></action>
9
+ </reference>
10
+ </default>
11
+ </layout>
app/design/frontend/ma2/ante/layout/ma2_widgetproductlist.xml CHANGED
@@ -1,8 +1,8 @@
1
  <?xml version="1.0"?>
2
  <layout version="0.1.0">
3
- <default>
4
- <reference name="head">
5
- <action method="addCss"><css>css/ma2_widgetproductlists/ma2_widgetproductlists.css</css></action>
6
- </reference>
7
- </default>
8
  </layout>
1
  <?xml version="1.0"?>
2
  <layout version="0.1.0">
3
+ <default>
4
+ <reference name="head">
5
+ <action method="addCss"><css>css/ma2_widgetproductlists/ma2_widgetproductlists.css</css></action>
6
+ </reference>
7
+ </default>
8
  </layout>
app/design/frontend/ma2/ante/locale/en_US/translate.csv ADDED
@@ -0,0 +1 @@
 
1
+ "Keep your eyes open for our special Back to School items and save A LOT!","Keep your eyes open for our special Back to School items and save A LOT!"
app/design/frontend/ma2/ante/template/catalog/category/view.phtml CHANGED
@@ -20,7 +20,7 @@
20
  *
21
  * @category design
22
  * @package base_default
23
- * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
24
  * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
  */
26
  ?>
@@ -32,77 +32,79 @@
32
  */
33
  ?>
34
  <?php
35
- /**
36
- * Created by OMG & VDH
37
- **/
38
- //$helper_data = $this->helper('manageimage');
39
- $_url_base = $this->setInitUrlTypeBase('js');
40
  ?>
41
  <?php
42
- $_helper = $this->helper('catalog/output');
43
- $_category = $this->getCurrentCategory();
44
- $_imgHtml = '';
45
- if ($_imgUrl = $_category->getImageUrl()) {
46
- $_imgHtml = '<p class="category-image"><img src="'.$_imgUrl.'" alt="'.$this->htmlEscape($_category->getName()).'" title="'.$this->htmlEscape($_category->getName()).'" /></p>';
47
- $_imgHtml = $_helper->categoryAttribute($_category, $_imgHtml, 'image');
48
- }
49
  ?>
50
  <div class="page-title category-title">
51
- <?php if($this->IsRssCatalogEnable() && $this->IsTopCategory()): ?>
52
- <a href="<?php echo $this->getRssLink() ?>" class="link-rss"><?php echo $this->__('Subscribe to RSS Feed') ?></a>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
53
  <?php endif; ?>
54
- <div class="title-list-category">
55
- <div class="title-category-page">
56
- <span>
57
- <h2>
58
- <?php echo $_helper->categoryAttribute($_category, $_category->getName(), 'name') ?>
59
- </h2>
60
- </span>
61
- </div>
62
- <div class="button-view-more">
63
- <div class="box-view-btn" id="box-view-btn-show">
64
- <a href="javascript: void(0)" onclick="javascript: desc_showfull()" title="View more" class="btn-viewmore">View more</a>
65
- </div>
66
- <div class="box-view-btn" id="box-view-btn-less" style="display: none;">
67
- <a href="javascript: void(0)" onclick="javascript: desc_hidefull()" title="View less" class="btn-viewless">View less</a>
68
- </div>
69
- </div>
70
- <div class="total-products-view">
71
- <span class="total-items-view">
72
- <?php
73
- $count = $this->getChild('product_list')->getLoadedProductCollection()->count();
74
- echo 'There are <span style="font-weight:bold;">'.$count.'</span> items';
75
- ?>
76
- </span>
77
- </div>
78
- </div>
79
  </div>
80
  <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
81
  <?php if($_imgUrl): ?>
82
  <?php echo $_imgHtml ?>
83
  <?php endif; ?>
84
  <?php if($_description=$this->getCurrentCategory()->getDescription()): ?>
85
- <div class="category-description std">
86
- <div id="short_desc" class="">
87
- <div class="box-view">
88
- <?php
89
- $shortDesc = explode('|', wordwrap($_helper->categoryAttribute($_category, $_description, 'short_description'), 288, '|'));
90
- echo $shortDesc[0] . '...';
91
- ?>
92
- </div>
93
- </div>
94
- <div id="full_desc" class="" style="display: none;">
95
- <div class="box-view">
96
- <?php echo $_helper->categoryAttribute($_category, $_description, 'description'); ?>
97
- </div>
98
- </div>
99
  </div>
 
 
 
 
 
 
 
100
  <?php endif; ?>
101
  <?php if($this->isContentMode()): ?>
102
  <?php echo $this->getCmsBlockHtml() ?>
103
  <?php elseif($this->isMixedMode()): ?>
104
  <?php echo $this->getCmsBlockHtml() ?>
105
- <?php echo $this->getProductListHtml() ?>
106
  <?php else: ?>
107
  <?php echo $this->getProductListHtml() ?>
108
  <?php endif; ?>
20
  *
21
  * @category design
22
  * @package base_default
23
+ * @copyright Copyright (c) 2013 Magento Inc. (http://www.magentocommerce.com)
24
  * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
  */
26
  ?>
32
  */
33
  ?>
34
  <?php
35
+ /**
36
+ * Created by OMG & VDH
37
+ **/
38
+ $_url_base = $this->setInitUrlTypeBase('js');
 
39
  ?>
40
  <?php
41
+ $_helper = $this->helper('catalog/output');
42
+ $_category = $this->getCurrentCategory();
43
+ $_imgHtml = '';
44
+ if ($_imgUrl = $_category->getImageUrl()) {
45
+ $_imgHtml = '<p class="category-image"><img src="'.$_imgUrl.'" alt="'.$this->escapeHtml($_category->getName()).'" title="'.$this->escapeHtml($_category->getName()).'" /></p>';
46
+ $_imgHtml = $_helper->categoryAttribute($_category, $_imgHtml, 'image');
47
+ }
48
  ?>
49
  <div class="page-title category-title">
50
+ <?php if($this->IsRssCatalogEnable() && $this->IsTopCategory()): ?>
51
+ <a href="<?php echo $this->getRssLink() ?>" class="link-rss"><?php echo $this->__('Subscribe to RSS Feed') ?></a>
52
+ <?php endif; ?>
53
+ <div class="title-list-category">
54
+ <div class="title-category-page">
55
+ <span>
56
+ <h2>
57
+ <?php echo $_helper->categoryAttribute($_category, $_category->getName(), 'name') ?>
58
+ </h2>
59
+ </span>
60
+ </div>
61
+ <div class="button-view-more">
62
+ <?php if($checkDesc=$this->getCurrentCategory()->getDescription()): ?>
63
+ <div class="box-view-btn" id="box-view-btn-show">
64
+ <a href="javascript: void(0)" onclick="javascript: desc_showfull()" title="View more" class="btn-viewmore">View more</a>
65
+ </div>
66
+ <div class="box-view-btn" id="box-view-btn-less" style="display: none;">
67
+ <a href="javascript: void(0)" onclick="javascript: desc_hidefull()" title="View less" class="btn-viewless">View less</a>
68
+ </div>
69
  <?php endif; ?>
70
+ </div>
71
+ <div class="total-products-view">
72
+ <span class="total-items-view">
73
+ <?php
74
+ $catObj = Mage::getModel('catalog/category')->load($_category->getID());
75
+ $prodObj = $catObj->getProductCollection()->getData();
76
+ echo 'There are <span style="font-weight:bold;">'.count($prodObj).'</span> items';
77
+ ?>
78
+ </span>
79
+ </div>
80
+ </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
81
  </div>
82
  <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
83
  <?php if($_imgUrl): ?>
84
  <?php echo $_imgHtml ?>
85
  <?php endif; ?>
86
  <?php if($_description=$this->getCurrentCategory()->getDescription()): ?>
87
+ <div class="category-description std">
88
+ <div id="short_desc" class="">
89
+ <div class="box-view">
90
+ <?php
91
+ $shortDesc = explode('|', wordwrap($_helper->categoryAttribute($_category, $_description, 'short_description'), 288, '|'));
92
+ echo $shortDesc[0] . '...';
93
+ ?>
 
 
 
 
 
 
 
94
  </div>
95
+ </div>
96
+ <div id="full_desc" class="" style="display: none;">
97
+ <div class="box-view">
98
+ <?php echo $_helper->categoryAttribute($_category, $_description, 'description'); ?>
99
+ </div>
100
+ </div>
101
+ </div>
102
  <?php endif; ?>
103
  <?php if($this->isContentMode()): ?>
104
  <?php echo $this->getCmsBlockHtml() ?>
105
  <?php elseif($this->isMixedMode()): ?>
106
  <?php echo $this->getCmsBlockHtml() ?>
107
+ <?php echo $this->getProductListHtml() ?>
108
  <?php else: ?>
109
  <?php echo $this->getProductListHtml() ?>
110
  <?php endif; ?>
app/design/frontend/ma2/ante/template/catalog/navigation/category_list.phtml ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Themes
17
+ * @package Ma2_Default theme
18
+ * @copyright Copyright (coffee) 2013 MagenMarket, NetQ Creative Software Co. (http://www.magenmarket.com)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: category_list.phtml 12 2013-11-05 10:00:22Z minhnv $ */
22
+
23
+ //get all children
24
+ function displaySubCategories($navBlock, $categries){
25
+ $_helper = Mage::helper('catalog/category');
26
+ if (count($categries) > 0){
27
+ echo '<ul class="list-category">';
28
+ foreach($categries as $_subcategory){
29
+ if($_subcategory->getIsActive()){
30
+ $class = array();
31
+ if ($navBlock->isCategoryActive($_subcategory)) {
32
+ $class[] = 'current';
33
+ }
34
+ if($_subcategory->hasChildren()){
35
+ $class[] = 'parent';
36
+ }
37
+ echo '<li id="item-'.$_subcategory->getId().'" class="'. implode(' ', $class) .'">';
38
+ echo ' <a href="'.$_helper->getCategoryUrl($_subcategory).'">
39
+ '.$_subcategory->getName().'<span class="product-count">('.$_subcategory->getProductCount().')</span>
40
+ </a>';
41
+
42
+ $_subcategories = $_subcategory->getChildrenCategories();
43
+ displaySubCategories($navBlock, $_subcategories);
44
+ echo '</li>';
45
+ }
46
+ }
47
+ echo '</ul>';
48
+ }
49
+ }
50
+ ?>
51
+ <?php
52
+ $_helper = Mage::helper('catalog/category');
53
+ $_categories = $_helper->getStoreCategories();
54
+
55
+ if (count($_categories) > 0): ?>
56
+ <div class="block-title categories-title">
57
+ <h3>
58
+ <span>Categories</span>
59
+ </h3>
60
+ </div>
61
+ <div class="widget reference-block sidebar-categories">
62
+ <div class="sidebar-categories-inner">
63
+ <ul class="list-category">
64
+ <?php $i=0; foreach($_categories as $_category): ?>
65
+ <?php $i=$i+1; if($_category->getIsActive()): ?>
66
+ <?php
67
+ $class = array();
68
+ $class[] = 'level0 cate-'.$_category->getId();
69
+ if ($this->isCategoryActive($_category)) {
70
+ $class[] = 'current';
71
+ }
72
+ if($_category->hasChildren()){
73
+ $class[] = 'parent';
74
+ }
75
+ ?>
76
+ <li class="<?php echo implode(' ', $class); if($i==1){ echo ' first';}?>" id="item-<?php echo $_category->getId() ?>">
77
+ <a href="<?php echo $_helper->getCategoryUrl($_category) ?>">
78
+ <span><?php echo $_category->getName() ?></span>
79
+ </a>
80
+ <?php
81
+ $_categories = Mage::getModel('catalog/category')->load($_category->getId());
82
+ $_subcategories = $_categories->getChildrenCategories();
83
+ displaySubCategories($this, $_subcategories);
84
+ ?>
85
+ </li>
86
+ <?php endif; ?>
87
+ <?php endforeach; ?>
88
+ </ul>
89
+ </div>
90
+ </div>
91
+ <?php endif; ?>
app/design/frontend/ma2/ante/template/catalog/navigation/top.phtml DELETED
@@ -1,49 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Academic Free License (AFL 3.0)
8
- * that is bundled with this package in the file LICENSE_AFL.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/afl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * DISCLAIMER
16
- *
17
- * Do not edit or add to this file if you wish to upgrade Magento to newer
18
- * versions in the future. If you wish to customize Magento for your
19
- * needs please refer to http://www.magentocommerce.com for more information.
20
- *
21
- * @category design
22
- * @package base_default
23
- * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
24
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
- */
26
- ?>
27
- <?php
28
- /**
29
- * Top menu for store
30
- *
31
- * @see Mage_Catalog_Block_Navigation
32
- */
33
- ?>
34
- <?php
35
- /**
36
- * $this->renderCategoriesMenuHtml() supports optional arguments:
37
- * int Level number for list item class to start from
38
- * string Extra class of outermost list items
39
- * string If specified wraps children list in div with this class
40
- */
41
- ?>
42
- <?php $_menu = $this->renderCategoriesMenuHtml(0,'level-top') ?>
43
- <?php if($_menu): ?>
44
- <div class="nav-container">
45
- <ul id="nav">
46
- <?php echo $_menu ?>
47
- </ul>
48
- </div>
49
- <?php endif ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/ma2/ante/template/catalog/product/list.phtml CHANGED
@@ -35,114 +35,147 @@
35
  <p class="note-msg"><?php echo $this->__('There are no products matching the selection.') ?></p>
36
  <?php else: ?>
37
  <div class="category-products">
38
- <?php if($this->getMode()!='grid'): ?>
39
- <?php $_iterator = 0; ?>
40
- <ol class="products-list" id="products-list">
41
- <?php foreach ($_productCollection as $_product): ?>
42
- <li class="item<?php if( ++$_iterator == sizeof($_productCollection) ): ?> last<?php endif; ?>">
43
- <?php // Product Image ?>
44
- <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" class="product-image">
45
- <img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(135); ?>" width="135" height="135" alt="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" />
46
- </a>
47
- <?php // Product description ?>
48
- <div class="product-shop">
49
- <div class="f-fix">
50
- <div class="f-fix-first">
51
- <div class="button-new-available">
52
- <div class="label-new">
53
- <?php echo $this->__("NEW");?>
54
- </div>
55
- <div class="label-available">
56
- <?php echo $this->__("AVAILABLE");?>
57
- </div>
58
- </div>
59
- <?php $_productNameStripped = $this->stripTags($_product->getName(), null, true); ?>
60
- <h2 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $_productNameStripped; ?>"><?php echo $_helper->productAttribute($_product, $_product->getName() , 'name'); ?></a></h2>
61
- <div class="desc std">
62
- <?php
63
- $desc = $_helper->productAttribute($_product, $_product->getShortDescription(), 'short_description');
64
- $shortDesc = explode('|', wordwrap($desc, 88, '|'));
65
- echo $shortDesc[0] . '...';
66
- ?>
67
- </div>
68
- <ul class="add-to-links">
69
- <?php if ($this->helper('wishlist')->isAllow()) : ?>
70
- <li><a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
71
- <?php endif; ?>
72
- <?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
73
- <li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
74
- <?php endif; ?>
75
- </ul>
76
- <?php if($_product->getRatingSummary()): ?>
77
- <?php echo str_replace('class="title-rating"','class="tab-rev"',$this->getReviewsSummaryHtml($_product)); ?>
78
- <?php endif; ?>
79
- </div>
80
- <div class="f-fix-last">
81
- <?php echo $this->getPriceHtml($_product, true) ?>
82
- <?php if($_product->isSaleable()): ?>
83
- <p><button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button></p>
84
- <?php else: ?>
85
- <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
86
- <?php endif; ?>
87
- <div class="ma2-detail">
88
- <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>" class="btn-detail">DETAIL</a>
89
- </div>
90
- </div>
91
  </div>
92
- </div>
93
- </li>
94
- <?php endforeach; ?>
95
- </ol>
96
- <script type="text/javascript">decorateList('products-list', 'none-recursive')</script>
97
- <?php else: ?>
98
- <?php // Grid Mode ?>
99
- <?php $_collectionSize = $_productCollection->count() ?>
100
- <?php $_columnCount = $this->getColumnCount(); ?>
101
- <?php $i=0; foreach ($_productCollection as $_product): ?>
102
- <?php if ($i++%$_columnCount==0): ?>
103
- <ul class="products-grid">
104
- <?php endif ?>
105
- <li class="item<?php if(($i-1)%$_columnCount==0): ?> first<?php elseif($i%$_columnCount==0): ?> last<?php endif; ?>">
106
- <div class="item-content">
107
- <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(135); ?>" width="135" height="135" alt="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" /></a>
108
- <div class="product-title">
109
- <h2 class="product-name">
110
- <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>">
111
- <?php echo $_helper->productAttribute($_product, $_product->getName(), 'name') ?>
112
- </a>
113
- </h2>
114
- </div>
115
- <?php if($_product->getRatingSummary()): ?>
116
- <?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
117
- <?php endif; ?>
118
- <div class="border-style">
119
- <?php echo $this->getPriceHtml($_product, true) ?>
120
- <div class="actions">
121
- <?php if($_product->isSaleable()): ?>
122
- <button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
123
- <?php else: ?>
124
- <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
125
- <?php endif; ?>
126
- <ul class="add-to-links">
127
- <?php if ($this->helper('wishlist')->isAllow()) : ?>
128
- <li><a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
129
- <?php endif; ?>
130
- <?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
131
- <li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
132
- <?php endif; ?>
133
- </ul>
134
- </div>
135
- </div>
136
  </div>
137
- </li>
138
- <?php if ($i%$_columnCount==0 || $i==$_collectionSize): ?>
139
- </ul>
140
- <?php endif ?>
141
- <?php endforeach ?>
142
- <script type="text/javascript">decorateGeneric($$('ul.products-grid'), ['odd','even','first','last'])</script>
143
- <?php endif; ?>
144
- <div class="toolbar-bottom">
145
- <?php echo str_replace('<strong>Page:</strong>','',str_replace('class="sorter"','class="tab-rev"',str_replace('class="limiter"','class="tab-rev"',str_replace('class="amount"','class="tab-rev"',$this->getToolbarHtml())))); ?>
146
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
147
  </div>
148
  <?php endif; ?>
35
  <p class="note-msg"><?php echo $this->__('There are no products matching the selection.') ?></p>
36
  <?php else: ?>
37
  <div class="category-products">
38
+ <?php if($this->getMode()!='grid'): ?>
39
+ <?php $_iterator = 0; ?>
40
+ <ol class="products-list" id="products-list">
41
+ <?php foreach ($_productCollection as $_product): ?>
42
+ <li class="item<?php if( ++$_iterator == sizeof($_productCollection) ): ?> last<?php endif; ?>">
43
+ <?php // Product Image ?>
44
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" class="product-image">
45
+ <img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(135); ?>" width="135" height="135" alt="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" />
46
+ </a>
47
+ <?php // Product description ?>
48
+ <div class="product-shop">
49
+ <div class="f-fix">
50
+ <div class="f-fix-first">
51
+ <?php
52
+ // Get the news_from_date
53
+ $newsFromDate = Mage::getModel('catalog/product')->load($_product["entity_id"])->getNewsFromDate();
54
+ // Get the news_to_date
55
+ $newstoDate = Mage::getModel('catalog/product')->load($_product["entity_id"])->getNewsToDate();
56
+ // Get the to day
57
+ $today = time();
58
+
59
+ $stocklevel = (int)Mage::getModel('cataloginventory/stock_item')
60
+ ->loadByProduct($_product)->getQty();
61
+ ?>
62
+ <div class="button-new-available">
63
+
64
+ <?php
65
+ if($newsFromDate):
66
+ if(($today >= strtotime($newsFromDate) && $today <= strtotime($newstoDate)) || ($today >= strtotime($newsFromDate) && empty($newstoDate))):
67
+ ?>
68
+ <div class="label-new">
69
+ <?php echo $this->__("NEW");?>
70
+ </div>
71
+ <?php
72
+ endif;
73
+ endif;
74
+ ?>
75
+
76
+ <?php
77
+ if($stocklevel > 0):
78
+ ?>
79
+ <div class="label-available">
80
+ <?php echo $this->__("AVAILABLE");?>
 
 
 
 
 
 
 
 
 
 
81
  </div>
82
+ <?php
83
+ else:
84
+ ?>
85
+ <div class="label-available">
86
+ <?php echo $this->__("NOT AVAILABLE");?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
87
  </div>
88
+ <?php
89
+ endif;
90
+ ?>
91
+ </div>
92
+ <?php $_productNameStripped = $this->stripTags($_product->getName(), null, true); ?>
93
+ <h2 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $_productNameStripped; ?>"><?php echo $_helper->productAttribute($_product, $_product->getName() , 'name'); ?></a></h2>
94
+ <div class="desc std">
95
+ <?php
96
+ $desc = $_helper->productAttribute($_product, $_product->getShortDescription(), 'short_description');
97
+ $shortDesc = explode('|', wordwrap($desc, 88, '|'));
98
+ echo $shortDesc[0] . '...';
99
+ ?>
100
+ </div>
101
+ <ul class="add-to-links">
102
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
103
+ <li><a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
104
+ <?php endif; ?>
105
+ <?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
106
+ <li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
107
+ <?php endif; ?>
108
+ </ul>
109
+ <?php if($_product->getRatingSummary()): ?>
110
+ <?php echo str_replace('class="title-rating"','class="tab-rev"',$this->getReviewsSummaryHtml($_product)); ?>
111
+ <?php endif; ?>
112
+ </div>
113
+ <div class="f-fix-last">
114
+ <?php echo $this->getPriceHtml($_product, true) ?>
115
+ <?php if($_product->isSaleable()): ?>
116
+ <p><button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button></p>
117
+ <?php else: ?>
118
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
119
+ <?php endif; ?>
120
+ <div class="ma2-detail">
121
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>" class="btn-detail">DETAIL</a>
122
+ </div>
123
+ </div>
124
+ </div>
125
+ </div>
126
+ </li>
127
+ <?php endforeach; ?>
128
+ </ol>
129
+ <script type="text/javascript">decorateList('products-list', 'none-recursive')</script>
130
+ <?php else: ?>
131
+ <?php // Grid Mode ?>
132
+ <?php $_collectionSize = $_productCollection->count() ?>
133
+ <?php $_columnCount = $this->getColumnCount(); ?>
134
+ <?php $i=0; foreach ($_productCollection as $_product): ?>
135
+ <?php if ($i++%$_columnCount==0): ?>
136
+ <ul class="products-grid">
137
+ <?php endif ?>
138
+ <li class="item<?php if(($i-1)%$_columnCount==0): ?> first<?php elseif($i%$_columnCount==0): ?> last<?php endif; ?>">
139
+ <div class="item-content">
140
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(135); ?>" width="135" height="135" alt="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" /></a>
141
+ <div class="product-title">
142
+ <h2 class="product-name">
143
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>">
144
+ <?php echo $_helper->productAttribute($_product, $_product->getName(), 'name') ?>
145
+ </a>
146
+ </h2>
147
+ </div>
148
+ <?php if($_product->getRatingSummary()): ?>
149
+ <?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
150
+ <?php endif; ?>
151
+ <div class="border-style">
152
+ <?php echo $this->getPriceHtml($_product, true) ?>
153
+ <div class="actions">
154
+ <?php if($_product->isSaleable()): ?>
155
+ <button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
156
+ <?php else: ?>
157
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
158
+ <?php endif; ?>
159
+ <ul class="add-to-links">
160
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
161
+ <li><a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
162
+ <?php endif; ?>
163
+ <?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
164
+ <li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
165
+ <?php endif; ?>
166
+ </ul>
167
+ </div>
168
+ </div>
169
+ </div>
170
+ </li>
171
+ <?php if ($i%$_columnCount==0 || $i==$_collectionSize): ?>
172
+ </ul>
173
+ <?php endif ?>
174
+ <?php endforeach ?>
175
+ <script type="text/javascript">decorateGeneric($$('ul.products-grid'), ['odd','even','first','last'])</script>
176
+ <?php endif; ?>
177
+ <div class="toolbar-bottom">
178
+ <?php echo $this->getToolbarHtml(); ?>
179
+ </div>
180
  </div>
181
  <?php endif; ?>
app/design/frontend/ma2/ante/template/catalog/product/list/related.phtml CHANGED
@@ -26,7 +26,7 @@
26
  ?>
27
  <?php if($this->getItems()->getSize()): ?>
28
  <div class="product-collateral">
29
- <div class="products-right">
30
  <h3 class="heading-box-product">
31
  <span class="format-span">
32
  <span><?php echo $this->__('SIMILAR PRODUCTS');?></span>
26
  ?>
27
  <?php if($this->getItems()->getSize()): ?>
28
  <div class="product-collateral">
29
+ <div class="item-title-view">
30
  <h3 class="heading-box-product">
31
  <span class="format-span">
32
  <span><?php echo $this->__('SIMILAR PRODUCTS');?></span>
app/design/frontend/ma2/ante/template/catalog/product/view.phtml CHANGED
@@ -4,7 +4,7 @@
4
  var optionsPrice = new Product.OptionsPrice(<?php echo $this->getJsonConfig() ?>);
5
  </script>
6
  <div id="messages_product_view"><?php echo $this->getMessagesBlock()->getGroupedHtml() ?></div>
7
- <div class="products-right">
8
  <h2 class="heading-box-product">
9
  <span class="format-span">
10
  <span>
@@ -15,185 +15,228 @@
15
  </div>
16
  <div class="product-view">
17
  <div class="product-essential">
18
- <form action="<?php echo $this->getSubmitUrl($_product) ?>" method="post" id="product_addtocart_form"<?php if($_product->getOptions()): ?> enctype="multipart/form-data"<?php endif; ?>>
19
  <div class="product-name" style="visibility: hidden; height:1px;">
20
- <h1><?php echo $_helper->productAttribute($_product, $_product->getName(), 'name') ?></h1>
21
  </div>
22
  <div class="no-display">
23
- <input type="hidden" name="product" value="<?php echo $_product->getId() ?>" />
24
- <input type="hidden" name="related_product" id="related-products-field" value="" />
25
  </div>
26
  <div class="product-shop">
27
- <?php if ($_product->getShortDescription()):?>
28
- <div class="short-description-product">
29
- <div class="std">
30
- <?php
31
- $desc = $_helper->productAttribute($_product, nl2br($_product->getShortDescription()), 'short_description') ;
32
- $shortDesc = explode('|', wordwrap($desc, 288, '|'));
33
- echo $shortDesc[0] . '...';
34
- ?>
35
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
36
  </div>
37
- <?php endif;?>
38
- <div class="box-review6">
39
- <div class="box-review2">
40
- <?php echo $this->getChildHtml('product_type_data_onlyprice') ?>
41
- <?php $_product = $this->getProduct(); ?>
42
- <?php if($_product->isSaleable()): ?>
43
- <div class="add-to-cart">
44
- <?php if(!$_product->isGrouped()): ?>
45
- <label for="qty"><?php echo $this->__('Quatity:') ?></label>
46
- <input type="text" name="qty" id="qty" maxlength="12" value="<?php echo $this->getProductDefaultQty() * 1 ?>" title="<?php echo $this->__('Qty') ?>" class="input-text qty" />
47
- <?php endif; ?>
48
- </div>
49
- <?php endif; ?>
50
- <?php echo $this->getChildHtml('product_type_data_override') ?>
51
- <?php if (!$this->hasOptions()):?>
52
- <div class="add-to-box">
53
- <div style="width:100%; float: left;">
54
- <?php echo $this->getChildHtml('addto') ?>
55
- <script>
56
- $('add-to-link').style.padding="0";
57
- </script>
58
- </div>
59
- <div class="box-review4">
60
- <?php if($_product->isSaleable()): ?>
61
- <?php if( $this->helper('wishlist')->isAllow() || $_compareUrl=$this->helper('catalog/product_compare')->getAddUrl($_product)): ?>
62
- <div style="width:100%; float: left;">
63
- <span class="or"><?php echo $this->__('OR') ?></span>
64
- </div>
65
- <?php endif; ?>
66
- <div class="box-review5">
67
- <?php echo $this->getChildHtml('addtocart') ?>
68
- </div>
69
- <?php endif; ?>
70
- </div>
71
- </div>
72
- <?php echo $this->getChildHtml('extra_buttons') ?>
73
- <?php elseif (!$_product->isSaleable()): ?>
74
- <div class="add-to-box">
75
- <?php echo $this->getChildHtml('addto') ?>
76
- </div>
77
- <?php endif; ?>
78
- </div>
79
- <div class="box-review3">
80
- <!--Review -->
81
- <?php echo $this->getReviewsSummaryHtml($_product, 'short', true)?>
82
- <div class="box-Email">
83
- <?php if ($this->canEmailToFriend()): ?>
84
- <p class="email-friend"><a href="<?php echo $this->helper('catalog/product')->getEmailToFriendUrl($_product) ?>"><?php echo $this->__('Email to a Friend') ?></a></p>
85
- <?php endif; ?>
86
- </div>
87
- </div>
88
- </div>
89
- <div class="box-review6">
90
- <?php echo $this->getChildHtml('i-icon-link-to-social') ?>
91
- </div>
 
 
 
 
 
 
 
 
92
  </div>
93
  <div class="product-img-box">
94
- <?php echo $this->getChildHtml('media') ?>
95
  </div>
96
  <div class="clearer"></div>
97
  <?php if ($_product->isSaleable() && $this->hasOptions()):?>
98
- <?php echo $this->getChildChildHtml('container2', '', true, true) ?>
99
  <?php endif;?>
100
- </form>
101
- <script type="text/javascript">
102
- //<![CDATA[
103
  var productAddToCartForm = new VarienForm('product_addtocart_form');
104
  productAddToCartForm.submit = function(button, url) {
105
- if (this.validator.validate()) {
106
- var form = this.form;
107
- var oldUrl = form.action;
108
- if (url) {
109
- form.action = url;
110
- }
111
- var e = null;
112
- try {
113
- this.form.submit();
114
- } catch (e) {
115
- }
116
- this.form.action = oldUrl;
117
- if (e) {
118
- throw e;
119
- }
120
- if (button && button != 'undefined') {
121
- button.disabled = true;
122
- }
123
  }
 
124
  }.bind(productAddToCartForm);
125
  productAddToCartForm.submitLight = function(button, url){
126
- if(this.validator) {
127
- var nv = Validation.methods;
128
- delete Validation.methods['required-entry'];
129
- delete Validation.methods['validate-one-required'];
130
- delete Validation.methods['validate-one-required-by-name'];
131
- // Remove custom datetime validators
132
- for (var methodName in Validation.methods) {
133
- if (methodName.match(/^validate-datetime-.*/i)) {
134
- delete Validation.methods[methodName];
135
- }
136
- }
137
- if (this.validator.validate()) {
138
- if (url) {
139
- this.form.action = url;
140
- }
141
- this.form.submit();
142
- }
143
- Object.extend(Validation.methods, nv);
144
  }
 
 
 
 
 
 
 
 
145
  }.bind(productAddToCartForm);
146
- //]]>
147
- </script>
148
  </div>
149
  <div class="product-collateral">
150
- <div class="box-review6">
151
- <?php echo $this->getChildHtml('other');?>
152
- <?php if ($_product->isSaleable() && $this->hasOptions()):?>
153
- <?php echo $this->getChildHtml('container1', '', true, true) ?>
154
- <?php endif;?>
155
- <?php echo $this->getChildHtml('alert_urls') ?>
156
- </div>
157
- <?php echo $this->getTierPriceHtml() ?>
158
- <?php echo $this->getChildHtml('extrahint') ?>
159
- <?php
160
- $getChildGroup = $this->getChildGroup('detailed_info', 'getChildHtml');
161
- $getChildInfo = $this->getChildGroup('product_options','getChildHtml');
162
- ?>
163
- <div class="info-tech-product">
164
- <dl id="tabsDataSheet" class="tabsData">
165
- <dt id="tab_details" class="tab"><span class="tab-title-view"><?php echo $this->__('Details');?></span></dt>
166
- <dd id="tab_details_contents" class="tab-container">
167
- <div class="tab-content-datasheet">
168
- <?php foreach ($getChildGroup as $alias => $html):?>
169
- <div class="box-collateral <?php echo "box-{$alias}"?>">
170
- <?php if ($title = $this->getChildData($alias, 'title')):?>
171
- <h2><?php echo $this->escapeHtml($title); ?></h2>
172
- <?php endif;?>
173
- <?php
174
- echo str_replace('<h2>','<h2 class="tab-rev">',$html);
175
- ?>
176
- </div>
177
- <?php endforeach;?>
178
- </div>
179
- </dd>
180
- <dt id="tab_datasheet" class="tab"><span class="tab-title-view"><?php echo $this->__('DataSheet');?></span></dt>
181
- <dd id="tab_datasheet_contents" class="tab-container">
182
- <div class="tab-content-datasheet">
183
- <?php echo $this->getChildHtml('i_datasheet'); ?>
184
- </div>
185
- </dd>
186
- </dl>
187
- </div>
188
- <script type="text/javascript">
189
- //<![CDATA[
190
- var Ma2TabsDataSheet = new Ma2All.Tabs('tabsDataSheet');
191
- Event.observe(window, 'load', function() {
192
- Ma2TabsDataSheet.select();
193
- });
194
- //]]>
195
- </script>
196
- <?php echo $this->getChildHtml('upsell_products') ?>
197
- <?php echo $this->getChildHtml('product_additional_data') ?>
198
  </div>
199
  </div>
4
  var optionsPrice = new Product.OptionsPrice(<?php echo $this->getJsonConfig() ?>);
5
  </script>
6
  <div id="messages_product_view"><?php echo $this->getMessagesBlock()->getGroupedHtml() ?></div>
7
+ <div class="item-title-view">
8
  <h2 class="heading-box-product">
9
  <span class="format-span">
10
  <span>
15
  </div>
16
  <div class="product-view">
17
  <div class="product-essential">
18
+ <form action="<?php echo $this->getSubmitUrl($_product) ?>" method="post" id="product_addtocart_form"<?php if($_product->getOptions()): ?> enctype="multipart/form-data"<?php endif; ?>>
19
  <div class="product-name" style="visibility: hidden; height:1px;">
20
+ <h1><?php echo $_helper->productAttribute($_product, $_product->getName(), 'name') ?></h1>
21
  </div>
22
  <div class="no-display">
23
+ <input type="hidden" name="product" value="<?php echo $_product->getId() ?>" />
24
+ <input type="hidden" name="related_product" id="related-products-field" value="" />
25
  </div>
26
  <div class="product-shop">
27
+ <?php if ($_product->getShortDescription()):?>
28
+ <div class="short-description-product">
29
+ <div class="std">
30
+ <?php
31
+ $desc = $_helper->productAttribute($_product, nl2br($_product->getShortDescription()), 'short_description') ;
32
+ $shortDesc = explode('|', wordwrap($desc, 288, '|'));
33
+ echo $shortDesc[0] . '...';
34
+ ?>
35
+ </div>
36
+ </div>
37
+ <?php endif;?>
38
+ <div class="box-review6">
39
+ <div class="box-review2">
40
+ <?php echo $this->getChildHtml('product_type_data_onlyprice') ?>
41
+ <?php $_product = $this->getProduct(); ?>
42
+ <?php if($_product->isSaleable()): ?>
43
+ <div class="add-to-cart">
44
+ <?php if(!$_product->isGrouped()): ?>
45
+ <label for="qty"><?php echo $this->__('Quatity:') ?></label>
46
+ <input type="text" name="qty" id="qty" maxlength="12" value="<?php echo $this->getProductDefaultQty() * 1 ?>" title="<?php echo $this->__('Qty') ?>" class="input-text qty" />
47
+ <?php endif; ?>
48
+ </div>
49
+ <?php endif; ?>
50
+ <?php echo $this->getChildHtml('product_type_data_override') ?>
51
+ <?php if (!$this->hasOptions()):?>
52
+ <div class="add-to-box">
53
+ <div style="width:100%; float: left;">
54
+ <?php echo $this->getChildHtml('addto') ?>
55
+ <script>
56
+ $('add-to-link').style.padding="0";
57
+ </script>
58
+ </div>
59
+ <div class="box-review4">
60
+ <?php if($_product->isSaleable()): ?>
61
+ <?php if( $this->helper('wishlist')->isAllow() || $_compareUrl=$this->helper('catalog/product_compare')->getAddUrl($_product)): ?>
62
+ <div style="width:100%; float: left;">
63
+ <span class="or"><?php echo $this->__('OR') ?></span>
64
+ </div>
65
+ <?php endif; ?>
66
+ <div class="box-review5">
67
+ <?php echo $this->getChildHtml('addtocart') ?>
68
+ </div>
69
+ <?php endif; ?>
70
+ <div class="clear"></div>
71
  </div>
72
+ <div class="clear"></div>
73
+ </div>
74
+ <?php echo $this->getChildHtml('extra_buttons') ?>
75
+ <?php elseif (!$_product->isSaleable()): ?>
76
+ <div class="add-to-box">
77
+ <?php echo $this->getChildHtml('addto') ?>
78
+ </div>
79
+ <?php endif; ?>
80
+ </div>
81
+ <div class="box-review3">
82
+ <!--Review -->
83
+ <?php echo $this->getReviewsSummaryHtml($_product, 'short', true)?>
84
+ <div class="box-Email">
85
+ <?php if ($this->canEmailToFriend()): ?>
86
+ <p class="email-friend"><a href="<?php echo $this->helper('catalog/product')->getEmailToFriendUrl($_product) ?>"><?php echo $this->__('Email to a Friend') ?></a></p>
87
+ <?php endif; ?>
88
+ </div>
89
+ </div>
90
+ <div class="clear"></div>
91
+ </div>
92
+ <div class="box-review8">
93
+ <div class="social-view">
94
+ <?php $productName = $_helper->productAttribute($_product, $_product->getName(), 'name'); ?>
95
+ <?php $productUrl = $_helper->productAttribute($_product, $_product->getProductUrl(), 'product_url'); ?>
96
+ <?php $productImage = $_product->getImageUrl(); ?>
97
+ <fb:like href="<?php echo $productUrl; ?>" layout="button_count" width="450" show_faces="false" send="true"></fb:like>
98
+ <a href="//twitter.com/share" class="twitter-share-button">Tweet</a>
99
+ <g:plusone size="medium"></g:plusone>
100
+ <a href="//pinterest.com/pin/create/button/?url=<?php echo urlencode($productUrl); ?>&media=<?php echo urlencode($productImage); ?>&description=<?php echo urlencode($productName); ?>" data-pin-do="buttonPin" data-pin-config="beside"><img src="//assets.pinterest.com/images/pidgets/pin_it_button.png" /></a>
101
+ <?php unset($productName, $productUrl, $productImage); ?>
102
+ <script>
103
+ (function(d, s, id) {
104
+ var js, fjs = d.getElementsByTagName(s)[0];
105
+ if (d.getElementById(id)) return;
106
+ js = d.createElement(s); js.id = id;
107
+ js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
108
+ fjs.parentNode.insertBefore(js, fjs);
109
+ }(document, 'script', 'facebook-jssdk'));
110
+ //twitter
111
+ !function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="https://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");
112
+ // g+
113
+ (function() {
114
+ var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
115
+ po.src = '//apis.google.com/js/plusone.js';
116
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
117
+ })();
118
+ (function(d){
119
+ var f = d.getElementsByTagName('SCRIPT')[0], p = d.createElement('SCRIPT');
120
+ p.type = 'text/javascript';
121
+ p.async = true;
122
+ p.src = '//assets.pinterest.com/js/pinit.js';
123
+ f.parentNode.insertBefore(p, f);
124
+ }(document));
125
+ </script>
126
+ </div>
127
+ </div>
128
+ <div class="clear"></div>
129
+ <div class="box-review9">
130
+ <?php echo $this->getChildHtml('alert_urls') ?>
131
+ <?php echo $this->getChildHtml('product_type_data') ?>
132
+ <?php echo $this->getTierPriceHtml() ?>
133
+ <?php echo $this->getChildHtml('extrahint') ?>
134
+ </div>
135
  </div>
136
  <div class="product-img-box">
137
+ <?php echo $this->getChildHtml('media') ?>
138
  </div>
139
  <div class="clearer"></div>
140
  <?php if ($_product->isSaleable() && $this->hasOptions()):?>
141
+ <?php echo $this->getChildChildHtml('container2', '', true, true) ?>
142
  <?php endif;?>
143
+ </form>
144
+ <script type="text/javascript">
145
+ //<![CDATA[
146
  var productAddToCartForm = new VarienForm('product_addtocart_form');
147
  productAddToCartForm.submit = function(button, url) {
148
+ if (this.validator.validate()) {
149
+ var form = this.form;
150
+ var oldUrl = form.action;
151
+ if (url) {
152
+ form.action = url;
153
+ }
154
+ var e = null;
155
+ try {
156
+ this.form.submit();
157
+ } catch (e) {
158
+ }
159
+ this.form.action = oldUrl;
160
+ if (e) {
161
+ throw e;
162
+ }
163
+ if (button && button != 'undefined') {
164
+ button.disabled = true;
 
165
  }
166
+ }
167
  }.bind(productAddToCartForm);
168
  productAddToCartForm.submitLight = function(button, url){
169
+ if(this.validator) {
170
+ var nv = Validation.methods;
171
+ delete Validation.methods['required-entry'];
172
+ delete Validation.methods['validate-one-required'];
173
+ delete Validation.methods['validate-one-required-by-name'];
174
+ // Remove custom datetime validators
175
+ for (var methodName in Validation.methods) {
176
+ if (methodName.match(/^validate-datetime-.*/i)) {
177
+ delete Validation.methods[methodName];
178
+ }
 
 
 
 
 
 
 
 
179
  }
180
+ if (this.validator.validate()) {
181
+ if (url) {
182
+ this.form.action = url;
183
+ }
184
+ this.form.submit();
185
+ }
186
+ Object.extend(Validation.methods, nv);
187
+ }
188
  }.bind(productAddToCartForm);
189
+ //]]>
190
+ </script>
191
  </div>
192
  <div class="product-collateral">
193
+ <div class="box-review6">
194
+ <?php echo $this->getChildHtml('other');?>
195
+ <?php if ($_product->isSaleable() && $this->hasOptions()):?>
196
+ <?php echo $this->getChildChildHtml('container1', '', true, true) ?>
197
+ <?php endif;?>
198
+ <?php echo $this->getChildHtml('alert_urls') ?>
199
+ </div>
200
+ <?php echo $this->getTierPriceHtml() ?>
201
+ <?php echo $this->getChildHtml('extrahint') ?>
202
+ <?php
203
+ $getChildGroup = $this->getChildGroup('detailed_info', 'getChildHtml');
204
+ $getChildInfo = $this->getChildGroup('product_options','getChildHtml');
205
+ ?>
206
+ <div class="info-tech-product">
207
+ <dl id="tabsDataSheet" class="tabsData">
208
+ <dt id="tab_details" class="tab"><span class="tab-title-view"><?php echo $this->__('Details');?></span></dt>
209
+ <dd id="tab_details_contents" class="tab-container">
210
+ <div class="tab-content-datasheet">
211
+ <?php foreach ($getChildGroup as $alias => $html):?>
212
+ <div class="box-collateral <?php echo "box-{$alias}"?>">
213
+ <?php if ($title = $this->getChildData($alias, 'title')):?>
214
+ <h2><?php echo $this->escapeHtml($title); ?></h2>
215
+ <?php endif;?>
216
+ <?php
217
+ echo str_replace('<h2>','<h2 class="tab-rev">',$html);
218
+ ?>
219
+ </div>
220
+ <?php endforeach;?>
221
+ </div>
222
+ </dd>
223
+ <dt id="tab_datasheet" class="tab"><span class="tab-title-view"><?php echo $this->__('DataSheet');?></span></dt>
224
+ <dd id="tab_datasheet_contents" class="tab-container">
225
+ <div class="tab-content-datasheet">
226
+ <?php echo $this->getLayout()->createBlock('catalog/product_view_attributes')->setTemplate('catalog/product/view/attributes.phtml')->toHtml(); ?>
227
+ </div>
228
+ </dd>
229
+ </dl>
230
+ </div>
231
+ <script type="text/javascript">
232
+ //<![CDATA[
233
+ var Ma2TabsDataSheet = new Ma2All.Tabs('tabsDataSheet');
234
+ Event.observe(window, 'load', function() {
235
+ Ma2TabsDataSheet.select();
236
+ });
237
+ //]]>
238
+ </script>
239
+ <?php echo $this->getChildHtml('product_additional_data') ?>
240
+ <?php echo $this->getChildHtml('upsell_products') ?>
241
  </div>
242
  </div>
app/design/frontend/ma2/ante/template/catalogsearch/form.mini.phtml CHANGED
@@ -28,16 +28,22 @@
28
  $catalogSearchHelper = $this->helper('catalogsearch');
29
  ?>
30
  <form id="search_mini_form" action="<?php echo $catalogSearchHelper->getResultUrl() ?>" method="get">
31
- <div class="form-search">
32
- <label for="search"><?php echo $this->__('Search:') ?></label>
33
- <input id="search" type="text" name="<?php echo $catalogSearchHelper->getQueryParamName() ?>" value="<?php echo $catalogSearchHelper->getEscapedQueryText() ?>" class="input-text" maxlength="<?php echo $catalogSearchHelper->getMaxQueryLength();?>" />
34
- <button type="submit" title="<?php echo $this->__('Search') ?>" class="button"><span><span><?php echo $this->__('') ?></span></span></button>
35
- <div id="search_autocomplete" class="search-autocomplete"></div>
36
- <script type="text/javascript">
37
- //<![CDATA[
38
- var searchForm = new Varien.searchForm('search_mini_form', 'search', '<?php echo $this->__('Search entire store here...') ?>');
39
- searchForm.initAutocomplete('<?php echo $catalogSearchHelper->getSuggestUrl() ?>', 'search_autocomplete');
40
- //]]>
41
- </script>
42
- </div>
 
 
 
 
 
 
43
  </form>
28
  $catalogSearchHelper = $this->helper('catalogsearch');
29
  ?>
30
  <form id="search_mini_form" action="<?php echo $catalogSearchHelper->getResultUrl() ?>" method="get">
31
+ <div class="form-search">
32
+ <label for="search"><?php echo $this->__('Search:') ?></label>
33
+ <input id="search" type="text" name="<?php echo $catalogSearchHelper->getQueryParamName() ?>" value="<?php echo $catalogSearchHelper->getEscapedQueryText() ?>" class="input-text input-text-mini-search" maxlength="<?php echo $catalogSearchHelper->getMaxQueryLength();?>" />
34
+ <button type="submit" title="<?php echo $this->__('Search') ?>" class="button button-mini-search">
35
+ <span>
36
+ <span>
37
+ <?php echo $this->__('') ?>
38
+ </span>
39
+ </span>
40
+ </button>
41
+ <div id="search_autocomplete" class="search-autocomplete"></div>
42
+ <script type="text/javascript">
43
+ //<![CDATA[
44
+ var searchForm = new Varien.searchForm('search_mini_form', 'search', '<?php echo $this->__('Search entire store here...') ?>');
45
+ searchForm.initAutocomplete('<?php echo $catalogSearchHelper->getSuggestUrl() ?>', 'search_autocomplete');
46
+ //]]>
47
+ </script>
48
+ </div>
49
  </form>
app/design/frontend/ma2/ante/template/checkout/cart/sidebar.phtml CHANGED
@@ -37,75 +37,75 @@
37
  ?>
38
  <?php if ($this->getIsNeedToDisplaySideBar()):?>
39
  <div class="block block-cart">
40
- <?php $_cartQty = $this->getSummaryCount() ?>
41
- <div class="block-title">
42
- <strong><span><?php echo $this->__('Shopping Cart') ?></span></strong>
43
- </div>
44
- <div class="block-content">
45
  <?php if ($_cartQty>0): ?>
46
- <div class="summary">
47
- <?php if ($_cartQty==1): ?>
48
- <p class="amount">
49
- <?php
50
- $str_color1 = '<a href="%s"><span '.$this->getColorShoppingCart().'>1 product</span></a>.';
51
- echo $this->__($str_color1, $this->getUrl('checkout/cart'))
52
- ?>
53
- </p>
54
- <?php else: ?>
55
- <p class="amount">
56
- <?php
57
- $str_color2 = '<a href="%s"><span '.$this->getColorShoppingCart().'>%s products</span></a>.';
58
- echo $this->__($str_color2, $this->getUrl('checkout/cart'), $_cartQty) ?>
59
- </p>
60
- <?php endif ?>
61
- <p class="subtotal">
62
- <?php if ($this->canApplyMsrp()): ?>
63
- <span class="map-cart-sidebar-total"><?php echo $this->__('ORDER TOTAL WILL BE DISPLAYED BEFORE YOU SUBMIT THE ORDER'); ?></span>
64
- <?php else: ?>
65
- <span class="label"><?php echo $this->__('Cart Subtotal:') ?></span> <?php echo Mage::helper('checkout')->formatPrice($this->getSubtotal()) ?>
66
- <?php if ($_subtotalInclTax = $this->getSubtotalInclTax()): ?>
67
- <br />(<?php echo Mage::helper('checkout')->formatPrice($_subtotalInclTax) ?> <?php echo Mage::helper('tax')->getIncExcText(true) ?>)
68
- <?php endif; ?>
69
- <?php endif; ?>
70
- </p>
71
- </div>
 
72
  <?php endif ?>
73
  <?php if($_cartQty && $this->isPossibleOnepageCheckout()): ?>
74
  <?php endif ?>
75
  <?php $_items = $this->getRecentItems() ?>
76
  <?php if(count($_items)): ?>
77
- <p class="block-subtitle"><?php echo $this->__('Recently added item(s)') ?></p>
78
- <ol id="cart-sidebar" class="mini-products-list">
79
- <?php foreach($_items as $_item): ?>
80
- <span <?php echo $this->getColorShoppingCart();?>>
81
- <?php echo $this->getItemHtml($_item) ?>
82
- </span>
83
- <?php endforeach; ?>
84
- </ol>
85
- <script>
86
- $('cart-sidebar').style.padding="0";
87
- </script>
88
- <script type="text/javascript">decorateList('cart-sidebar', 'none-recursive')</script>
89
  <?php else: ?>
90
- <div class="empty">
91
- <p class="cart-style">
92
- <?php echo '<span '.$this->getColorShoppingCart().'>';?><?php echo $this->__('No product.') ?></span>
93
- </p>
94
- </div>
95
- <div class="subtotal">
96
- <p class="cart-style">
97
- <span class="label"><?php echo $this->__('Total:') ?></span> <?php echo Mage::helper('checkout')->formatPrice($this->getSubtotal()) ?>
98
- </p>
99
- </div>
100
  <?php endif ?>
101
- <div class="button-shopping-cart">
102
- <span> Prices are tax excluded </span>
103
- <br /><br />
104
- <div style="margin-left: 0px;">
105
- <button type="button" title="<?php echo $this->__('cart') ?>" class="button" onclick="setLocation('<?php echo Mage::helper('checkout/cart')->getCartUrl(); ?>')"><span><span><?php echo $this->__('Cart') ?></span></span></button>
106
- <button type="button" title="<?php echo $this->__('Checkout') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getCheckoutUrl() ?>')"><span><span><?php echo $this->__('Checkout') ?></span></span></button>
107
  </div>
108
  </div>
109
- </div>
110
  </div>
111
  <?php endif;?>
37
  ?>
38
  <?php if ($this->getIsNeedToDisplaySideBar()):?>
39
  <div class="block block-cart">
40
+ <?php $_cartQty = $this->getSummaryCount() ?>
41
+ <div class="block-title">
42
+ <strong><span><?php echo $this->__('Shopping Cart') ?></span></strong>
43
+ </div>
44
+ <div class="block-content">
45
  <?php if ($_cartQty>0): ?>
46
+ <div class="summary">
47
+ <?php if ($_cartQty==1): ?>
48
+ <p class="amount">
49
+ <?php
50
+ $str_color1 = '<a href="%s"><span '.$this->getColorShoppingCart().'>1 product</span></a>.';
51
+ echo $this->__($str_color1, $this->getUrl('checkout/cart'));
52
+ ?>
53
+ </p>
54
+ <?php else: ?>
55
+ <p class="amount">
56
+ <?php
57
+ $str_color2 = '<a href="%s"><span '.$this->getColorShoppingCart().'>%s products</span></a>.';
58
+ echo $this->__($str_color2, $this->getUrl('checkout/cart'), $_cartQty);
59
+ ?>
60
+ </p>
61
+ <?php endif ?>
62
+ <p class="subtotal">
63
+ <?php if ($this->canApplyMsrp()): ?>
64
+ <span class="map-cart-sidebar-total"><?php echo $this->__('ORDER TOTAL WILL BE DISPLAYED BEFORE YOU SUBMIT THE ORDER'); ?></span>
65
+ <?php else: ?>
66
+ <span class="label"><?php echo $this->__('Cart Subtotal:') ?></span> <?php echo Mage::helper('checkout')->formatPrice($this->getSubtotal()) ?>
67
+ <?php if ($_subtotalInclTax = $this->getSubtotalInclTax()): ?>
68
+ <br />(<?php echo Mage::helper('checkout')->formatPrice($_subtotalInclTax) ?> <?php echo Mage::helper('tax')->getIncExcText(true) ?>)
69
+ <?php endif; ?>
70
+ <?php endif; ?>
71
+ </p>
72
+ </div>
73
  <?php endif ?>
74
  <?php if($_cartQty && $this->isPossibleOnepageCheckout()): ?>
75
  <?php endif ?>
76
  <?php $_items = $this->getRecentItems() ?>
77
  <?php if(count($_items)): ?>
78
+ <p class="block-subtitle"><?php echo $this->__('Recently added item(s)') ?></p>
79
+ <ol id="cart-sidebar" class="mini-products-list">
80
+ <?php foreach($_items as $_item): ?>
81
+ <span <?php echo $this->getColorShoppingCart();?>>
82
+ <?php echo $this->getItemHtml($_item) ?>
83
+ </span>
84
+ <?php endforeach; ?>
85
+ </ol>
86
+ <script>
87
+ $('cart-sidebar').style.padding="0";
88
+ </script>
89
+ <script type="text/javascript">decorateList('cart-sidebar', 'none-recursive')</script>
90
  <?php else: ?>
91
+ <div class="empty">
92
+ <p class="cart-style">
93
+ <?php echo '<span '.$this->getColorShoppingCart().'>';?><?php echo $this->__('No product.') ?></span>
94
+ </p>
95
+ </div>
96
+ <div class="subtotal">
97
+ <p class="cart-style">
98
+ <span class="label"><?php echo $this->__('Total:') ?></span> <?php echo Mage::helper('checkout')->formatPrice($this->getSubtotal()) ?>
99
+ </p>
100
+ </div>
101
  <?php endif ?>
102
+ <div class="button-shopping-cart">
103
+ <span> Prices are tax excluded </span><br /><br />
104
+ <div style="margin-left: 0px;">
105
+ <button type="button" title="<?php echo $this->__('cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo Mage::helper('checkout/cart')->getCartUrl(); ?>')"><span><span><?php echo $this->__('Cart') ?></span></span></button>
106
+ <button type="button" title="<?php echo $this->__('Checkout') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getCheckoutUrl() ?>')"><span><span><?php echo $this->__('Checkout') ?></span></span></button>
 
107
  </div>
108
  </div>
109
+ </div>
110
  </div>
111
  <?php endif;?>
app/design/frontend/ma2/ante/template/es_custommenu/menu.phtml DELETED
@@ -1,23 +0,0 @@
1
- <?php $menuLabel = $this->getMenuLabel(null); ?>
2
- <?php if ($menuLabel != null) { ?>
3
- <?php $menu = Mage::getModel('custommenu/custommenu')->load($menuLabel, 'label') ?>
4
- <?php $menuItems = $this->getMenuItems($menuLabel); ?>
5
- <?php if (count($menuItems) > 0) { ?>
6
- <ul class="es_custommenu <?php echo $menuLabel ?> <?php echo $this->getHtmlClass() ?>" id="<?php echo $this->getHtmlId() ?>">
7
- <?php $i = 0; ?>
8
- <?php foreach ($menuItems as $_menuItem) {
9
- $i++;
10
- ?>
11
- <?php if ($i == count($menuItems)) { ?>
12
- <?php $class = 'es_menu_tier0 last' ?>
13
- <?php } else if ($i == 1) { ?>
14
- <?php $class = 'es_menu_tier0 first' ?>
15
- <?php } ?>
16
- <li class="<?php echo $class ?>">
17
- <a href="<?php echo $_menuItem->getRealUrl() ?>" <?php echo $_menuItem->getTargetHtml() ?>><span><?php echo $_menuItem->getName() ?></span></a>
18
- <?php echo $this->getSubMenuBlock($_menuItem)->toHtml(); ?>
19
- </li>
20
- <?php } ?>
21
- </ul>
22
- <?php } ?>
23
- <?php } ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/ma2/ante/template/es_custommenu/submenu.phtml DELETED
@@ -1,22 +0,0 @@
1
- <?php $parentMenu = $this->getParentMenu() ?>
2
- <?php if ($parentMenu) { ?>
3
- <?php $subMenuItems = $this->getMenuSubItems($parentMenu); ?>
4
- <?php if (count($subMenuItems) > 0) { ?>
5
- <ul class="es_customsubmenu_tier<?php echo $parentMenu->getLevel() + 1 ?> <?php echo $parentMenu->getClass() ?>" <?php echo $parentMenu->getAttributes() ?>>
6
- <?php $i = 0; ?>
7
- <?php foreach ($subMenuItems as $_subMenuItem) {
8
- $i++;
9
- ?>
10
- <?php if($i == count($subMenuItems)){ ?>
11
- <?php $class = 'es_menu_tier' . $_subMenuItem->getLevel() . ' last' ?>
12
- <?php }else if($i == 1){ ?>
13
- <?php $class = 'es_menu_tier' . $_subMenuItem->getLevel() . ' first' ?>
14
- <?php } ?>
15
- <li class="<?php echo $class ?>">
16
- <a href="<?php echo $_subMenuItem->getRealUrl() ?>" <?php echo $_subMenuItem->getTargetHtml() ?>><span><?php echo $_subMenuItem->getName() ?></span></a>
17
- <?php echo $this->getSubMenuBlock($_subMenuItem)->toHtml(); ?>
18
- </li>
19
- <?php } ?>
20
- </ul>
21
- <?php } ?>
22
- <?php } ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/ma2/ante/template/ma2_featuredproducts/block.phtml ADDED
@@ -0,0 +1,114 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Extensions
17
+ * @package Ma2_FeaturedProducts
18
+ * @copyright Copyright (c) 2013 MagenMarket. (http://www.magenmarket.com)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: block.phtml 4 2013-11-05 07:31:07Z linhnt $ */
22
+ ?>
23
+ <?php
24
+ $_helper = $this->helper('catalog/output');
25
+ $uniqId = Mage::helper('core')->uniqHash("ma2-featuredproducts-");
26
+ ?>
27
+ <div class="ma2-featuredproducts block-featured-products <?php echo $list_type; ?>-view" id="<?php echo $uniqId; ?>">
28
+ <div class="block-inner">
29
+ <?php if (isset($show_heading) && (int)$show_heading == 1): ?>
30
+ <h3 class="block-title">
31
+ <span class="format-span">
32
+ <span><?php echo $heading;?></span>
33
+ </span>
34
+ </h3>
35
+ <?php endif; ?>
36
+
37
+ <?php if(!$FeaturedProductCollection->count()): ?>
38
+ <p class="note-msg"><?php echo $this->__('There are no products matching the selection.') ?></p>
39
+ <?php else: ?>
40
+
41
+ <div class="product-items">
42
+ <div class="product-items-inner">
43
+ <?php
44
+ $idx=0;
45
+ $_collectionSize = $FeaturedProductCollection->count();
46
+ $inlineStyle = ($list_type == 'grid') ? 'style="width:'.$item_width.'%;"' : '';
47
+ if ($list_type == 'grid' && ($column_count == null || (int)$column_count == 0)) $column_count = 3;
48
+ if ($list_type == 'list') $column_count = 1;
49
+ if (!intval($thumbnail_width)) $thumbnail_width = 135;
50
+ if (!intval($thumbnail_height)) $thumbnail_height = 135;
51
+ ?>
52
+ <?php foreach ($FeaturedProductCollection->getItems() as $pid => $_product): ?>
53
+ <div class="product-item product-<?php echo $pid; ?> <?php echo ($idx == 0) ? 'first' : (($idx+1) == $_collectionSize ? 'last' : ''); ?>" <?php echo $inlineStyle ?>>
54
+ <div class="product-item-inner">
55
+
56
+ <a class="product-image" href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>">
57
+ <img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(intval($thumbnail_width), intval($thumbnail_height)); ?>" width="<?php echo intval($thumbnail_width); ?>" height="<?php echo intval($thumbnail_height); ?>" alt="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" />
58
+ </a>
59
+ <div class="product-info">
60
+ <?php $_productNameStripped = $this->stripTags($_product->getName(), null, true); ?>
61
+ <h4 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $_productNameStripped; ?>"><?php echo $_helper->productAttribute($_product, $_product->getName() , 'name'); ?></a></h4>
62
+ <?php if($_product->getRatingSummary()): ?>
63
+ <?php echo $this->getReviewsSummaryHtml($_product); ?>
64
+ <?php endif; ?>
65
+
66
+ <?php if($show_short_description == 1):?>
67
+ <div class="product-desc std">
68
+ <?php
69
+ $desc = $_helper->productAttribute($_product, nl2br($_product->getShortDescription()), 'short_description');
70
+ if(isset($short_description_limit) && !empty($short_description_limit)):
71
+ $shortDesc = explode('|', wordwrap($desc, $short_description_limit, '|'));
72
+ else:
73
+ $shortDesc = explode('|', wordwrap($desc, 88, '|'));
74
+ endif;
75
+ echo $shortDesc[0] . '...';
76
+ ?>
77
+ <?php if($show_details == 1): ?>
78
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $_productNameStripped ?>" class="view-detail"><?php echo $this->__('Details') ?></a>
79
+ <?php endif;?>
80
+ </div>
81
+ <?php endif;?>
82
+ <?php if($show_price == 1): ?>
83
+ <?php echo $this->getPriceHtml($_product, true) ?>
84
+ <?php endif;?>
85
+ <div class="actions">
86
+ <ul class="add-to-links">
87
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
88
+ <li><a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
89
+ <?php endif; ?>
90
+ <?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
91
+ <li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
92
+ <?php endif; ?>
93
+ </ul>
94
+
95
+ <?php if($show_addtocart == 1): ?>
96
+ <?php if($_product->isSaleable()): ?>
97
+ <p><button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button></p>
98
+ <?php else: ?>
99
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
100
+ <?php endif; ?>
101
+ <?php endif; ?>
102
+ </div>
103
+ </div>
104
+ </div>
105
+ </div>
106
+ <?php if (($idx+1) % $column_count == 0 || ($idx+1) == $_collectionSize) echo '<div class="clear"></div>'; ?>
107
+ <?php $idx++; ?>
108
+ <?php endforeach; ?>
109
+
110
+ </div>
111
+ </div>
112
+ <?php endif; ?>
113
+ </div>
114
+ </div>
app/design/frontend/ma2/ante/template/ma2_featuredproducts/featuredproducts.phtml DELETED
@@ -1,127 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Academic Free License (AFL 3.0)
8
- * that is bundled with this package in the file LICENSE_AFL.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/afl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * DISCLAIMER
16
- *
17
- * Do not edit or add to this file if you wish to upgrade Magento to newer
18
- * versions in the future. If you wish to customize Magento for your
19
- * needs please refer to http://www.magentocommerce.com for more information.
20
- *
21
- * @category design
22
- * @package base_default
23
- * @copyright Copyright (c) 2013 Magento Inc. (http://www.magentocommerce.com)
24
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
- */
26
- ?>
27
- <?php
28
- /**
29
- * Product list template
30
- *
31
- * @see Mage_Catalog_Block_Product_List
32
- */
33
- ?>
34
- <?php
35
- $_helper = $this->helper('catalog/output');
36
- ?>
37
- <?php if(!$WidgetProductProductCollection->count()): ?>
38
- <p class="note-msg"><?php echo $this->__('There are no products matching the selection.') ?></p>
39
- <?php else: ?>
40
- <div class="category-products">
41
- <?php echo $this->getToolbarHtml() ?>
42
- <?php // List mode ?>
43
- <?php if($list_type!='grid'): ?>
44
- <?php $_iterator = 0; ?>
45
- <ol class="products-list" id="products-list">
46
- <?php foreach ($WidgetProductProductCollection as $_product): ?>
47
- <li class="item<?php if( ++$_iterator == sizeof($WidgetProductProductCollection) ): ?> last<?php endif; ?>">
48
- <?php // Product Image ?>
49
- <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(135); ?>" width="135" height="135" alt="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" /></a>
50
- <?php // Product description ?>
51
- <div class="product-shop">
52
- <div class="f-fix">
53
- <?php $_productNameStripped = $this->stripTags($_product->getName(), null, true); ?>
54
- <h2 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $_productNameStripped; ?>"><?php echo $_helper->productAttribute($_product, $_product->getName() , 'name'); ?></a></h2>
55
- <?php if($_product->getRatingSummary()): ?>
56
- <?php echo $this->getReviewsSummaryHtml($_product) ?>
57
- <?php endif; ?>
58
- <?php echo $this->getPriceHtml($_product, true) ?>
59
- <?php if($_product->isSaleable()): ?>
60
- <p><button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button></p>
61
- <?php else: ?>
62
- <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
63
- <?php endif; ?>
64
- <div class="desc std">
65
- <?php echo $_helper->productAttribute($_product, $_product->getShortDescription(), 'short_description') ?>
66
- <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $_productNameStripped ?>" class="link-learn"><?php echo $this->__('Learn More') ?></a>
67
- </div>
68
- <ul class="add-to-links">
69
- <?php if ($this->helper('wishlist')->isAllow()) : ?>
70
- <li><a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
71
- <?php endif; ?>
72
- <?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
73
- <li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
74
- <?php endif; ?>
75
- </ul>
76
- </div>
77
- </div>
78
- </li>
79
- <?php endforeach; ?>
80
- </ol>
81
- <script type="text/javascript">decorateList('products-list', 'none-recursive')</script>
82
-
83
- <?php else: ?>
84
-
85
- <?php // Grid Mode ?>
86
-
87
- <?php $_collectionSize = $WidgetProductProductCollection->count() ?>
88
- <?php $_columnCount = $this->getColumnCount(); ?>
89
- <?php $i=0; foreach ($WidgetProductProductCollection as $_product): ?>
90
- <?php if ($i++%$_columnCount==0): ?>
91
- <ul class="products-grid">
92
- <?php endif ?>
93
- <li class="item<?php if(($i-1)%$_columnCount==0): ?> first<?php elseif($i%$_columnCount==0): ?> last<?php endif; ?>">
94
- <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(135); ?>" width="135" height="135" alt="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" /></a>
95
- <h2 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>"><?php echo $_helper->productAttribute($_product, $_product->getName(), 'name') ?></a></h2>
96
- <?php if($_product->getRatingSummary()): ?>
97
- <?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
98
- <?php endif; ?>
99
- <?php echo $this->getPriceHtml($_product, true) ?>
100
- <div class="actions">
101
- <?php if($_product->isSaleable()): ?>
102
- <button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
103
- <?php else: ?>
104
- <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
105
- <?php endif; ?>
106
- <ul class="add-to-links">
107
- <?php if ($this->helper('wishlist')->isAllow()) : ?>
108
- <li><a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
109
- <?php endif; ?>
110
- <?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
111
- <li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
112
- <?php endif; ?>
113
- </ul>
114
- </div>
115
- </li>
116
- <?php if ($i%$_columnCount==0 || $i==$_collectionSize): ?>
117
- </ul>
118
- <?php endif ?>
119
- <?php endforeach ?>
120
- <script type="text/javascript">decorateGeneric($$('ul.products-grid'), ['odd','even','first','last'])</script>
121
- <?php endif; ?>
122
-
123
- <div class="toolbar-bottom">
124
- <?php echo $this->getToolbarHtml() ?>
125
- </div>
126
- </div>
127
- <?php endif; ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/ma2/ante/template/ma2_featuredproducts/standalone.phtml ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Extensions
17
+ * @package Ma2_FeaturedProducts
18
+ * @copyright Copyright (c) 2013 MagenMarket. (http://www.magenmarket.com)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: standalone.phtml 4 2013-11-05 07:31:07Z linhnt $ */
22
+ ?>
23
+
24
+ <?php echo $this->getChildHtml('featured_product_list');?>
app/design/frontend/ma2/ante/template/ma2_featuredproducts/standalone_list.phtml ADDED
@@ -0,0 +1,120 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Extensions
17
+ * @package Ma2_FeaturedProducts
18
+ * @copyright Copyright (c) 2013 MagenMarket. (http://www.magenmarket.com)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: standalone_list.phtml 4 2013-11-05 07:31:07Z linhnt $ */
22
+ ?>
23
+
24
+ <?php
25
+ $_helper = $this->helper('catalog/output');
26
+ $uniqId = Mage::helper('core')->uniqHash("ma2-featuredproducts-");
27
+
28
+ $list_type = $this->getMode();
29
+ ?>
30
+ <div class="ma2-featuredproducts block-featured-products <?php echo $list_type; ?>-view" id="<?php echo $uniqId; ?>">
31
+ <div class="block-inner">
32
+ <?php if (isset($show_heading) && (int)$show_heading == 1): ?>
33
+ <h3 class="block-title">
34
+ <span class="format-span">
35
+ <span><?php echo $heading;?></span>
36
+ </span>
37
+ </h3>
38
+ <?php endif; ?>
39
+
40
+ <?php if(!$FeaturedProductCollection->count()): ?>
41
+ <p class="note-msg"><?php echo $this->__('There are no products matching the selection.') ?></p>
42
+ <?php else: ?>
43
+ <?php echo $this->getToolbarHtml() ?>
44
+ <div class="product-items">
45
+ <div class="product-items-inner">
46
+ <?php
47
+ $idx=0;
48
+ $_collectionSize = $FeaturedProductCollection->count();
49
+ $inlineStyle = ($list_type == 'grid') ? 'style="width:'.$item_width.'%;"' : '';
50
+ if ($list_type == 'grid' && ($column_count == null || (int)$column_count == 0)) $column_count = 3;
51
+ if ($list_type == 'list') $column_count = 1;
52
+ if (!intval($thumbnail_width)) $thumbnail_width = 135;
53
+ if (!intval($thumbnail_height)) $thumbnail_height = 135;
54
+ ?>
55
+ <?php foreach ($FeaturedProductCollection->getItems() as $pid => $_product): ?>
56
+ <div class="product-item product-<?php echo $pid; ?> <?php echo ($idx == 0) ? 'first' : (($idx+1) == $_collectionSize ? 'last' : ''); ?>" <?php echo $inlineStyle ?>>
57
+ <div class="product-item-inner">
58
+
59
+ <a class="product-image" href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>">
60
+ <img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(intval($thumbnail_width), intval($thumbnail_height)); ?>" width="<?php echo intval($thumbnail_width); ?>" height="<?php echo intval($thumbnail_height); ?>" alt="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" />
61
+ </a>
62
+ <div class="product-info">
63
+ <?php $_productNameStripped = $this->stripTags($_product->getName(), null, true); ?>
64
+ <h4 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $_productNameStripped; ?>"><?php echo $_helper->productAttribute($_product, $_product->getName() , 'name'); ?></a></h4>
65
+ <?php if($_product->getRatingSummary()): ?>
66
+ <?php echo $this->getReviewsSummaryHtml($_product); ?>
67
+ <?php endif; ?>
68
+
69
+ <?php if($show_short_description == 1):?>
70
+ <div class="product-desc std">
71
+ <?php
72
+ $desc = $_helper->productAttribute($_product, nl2br($_product->getShortDescription()), 'short_description');
73
+ if(isset($short_description_limit) && !empty($short_description_limit)):
74
+ $shortDesc = explode('|', wordwrap($desc, $short_description_limit, '|'));
75
+ else:
76
+ $shortDesc = explode('|', wordwrap($desc, 88, '|'));
77
+ endif;
78
+ echo $shortDesc[0] . '...';
79
+ ?>
80
+ <?php if($show_details == 1): ?>
81
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $_productNameStripped ?>" class="view-detail"><?php echo $this->__('Details') ?></a>
82
+ <?php endif;?>
83
+ </div>
84
+ <?php endif;?>
85
+ <?php if($show_price == 1): ?>
86
+ <?php echo $this->getPriceHtml($_product, true) ?>
87
+ <?php endif;?>
88
+ <div class="actions">
89
+ <ul class="add-to-links">
90
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
91
+ <li><a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
92
+ <?php endif; ?>
93
+ <?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
94
+ <li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
95
+ <?php endif; ?>
96
+ </ul>
97
+
98
+ <?php if($show_addtocart == 1): ?>
99
+ <?php if($_product->isSaleable()): ?>
100
+ <p><button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button></p>
101
+ <?php else: ?>
102
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
103
+ <?php endif; ?>
104
+ <?php endif; ?>
105
+ </div>
106
+ </div>
107
+ </div>
108
+ </div>
109
+ <?php if (($idx+1) % $column_count == 0 || ($idx+1) == $_collectionSize) echo '<div class="clear"></div>'; ?>
110
+ <?php $idx++; ?>
111
+ <?php endforeach; ?>
112
+
113
+ </div>
114
+ </div>
115
+ <div class="toolbar-bottom">
116
+ <?php echo $this->getToolbarHtml() ?>
117
+ </div>
118
+ <?php endif; ?>
119
+ </div>
120
+ </div>
app/design/frontend/ma2/ante/template/ma2_featuredproducts/widget.phtml ADDED
@@ -0,0 +1,115 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Extensions
17
+ * @package Ma2_FeaturedProducts
18
+ * @copyright Copyright (c) 2013 MagenMarket. (http://www.magenmarket.com)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: widget.phtml 4 2013-11-05 07:31:07Z linhnt $ */
22
+ ?>
23
+
24
+ <?php
25
+ $_helper = $this->helper('catalog/output');
26
+ $uniqId = Mage::helper('core')->uniqHash("ma2-featuredproducts-");
27
+ ?>
28
+ <div class="ma2-featuredproducts widget widget-featured-products <?php echo $list_type; ?>-view" id="<?php echo $uniqId; ?>">
29
+ <div class="widget-inner">
30
+ <?php if (isset($show_widget_title) && (int)$show_widget_title == 1): ?>
31
+ <h3 class="widget-title">
32
+ <span class="format-span">
33
+ <span><?php echo $widget_title;?></span>
34
+ </span>
35
+ </h3>
36
+ <?php endif; ?>
37
+
38
+ <?php if(!$WidgetProductProductCollection->count()): ?>
39
+ <p class="note-msg"><?php echo $this->__('There are no products matching the selection.') ?></p>
40
+ <?php else: ?>
41
+
42
+ <div class="product-items">
43
+ <div class="product-items-inner">
44
+ <?php
45
+ $idx=0;
46
+ $_collectionSize = $WidgetProductProductCollection->count();
47
+ $inlineStyle = ($list_type == 'grid') ? 'style="width:'.$item_width.'%;"' : '';
48
+ if ($list_type == 'grid' && ($column_count == null || (int)$column_count == 0)) $column_count = 3;
49
+ if ($list_type == 'list') $column_count = 1;
50
+ if (!intval($thumbnail_width)) $thumbnail_width = 135;
51
+ if (!intval($thumbnail_height)) $thumbnail_height = 135;
52
+ ?>
53
+ <?php foreach ($WidgetProductProductCollection as $pid=> $_product): ?>
54
+ <div class="product-item product-<?php echo $pid; ?> <?php echo ($idx == 0) ? 'first' : (($idx+1) == $_collectionSize ? 'last' : ''); ?>" <?php echo $inlineStyle ?>>
55
+ <div class="product-item-inner">
56
+
57
+ <a class="product-image" href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>">
58
+ <img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(intval($thumbnail_width), intval($thumbnail_height)); ?>" width="<?php echo intval($thumbnail_width); ?>" height="<?php echo intval($thumbnail_height); ?>" alt="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" />
59
+ </a>
60
+ <div class="product-info">
61
+ <?php $_productNameStripped = $this->stripTags($_product->getName(), null, true); ?>
62
+ <h4 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $_productNameStripped; ?>"><?php echo $_helper->productAttribute($_product, $_product->getName() , 'name'); ?></a></h4>
63
+ <?php if($_product->getRatingSummary()): ?>
64
+ <?php echo $this->getReviewsSummaryHtml($_product); ?>
65
+ <?php endif; ?>
66
+
67
+ <?php if($show_short_description == 1):?>
68
+ <div class="product-desc std">
69
+ <?php
70
+ $desc = $_helper->productAttribute($_product, nl2br($_product->getShortDescription()), 'short_description');
71
+ if(isset($short_description_limit) && !empty($short_description_limit)):
72
+ $shortDesc = explode('|', wordwrap($desc, $short_description_limit, '|'));
73
+ else:
74
+ $shortDesc = explode('|', wordwrap($desc, 88, '|'));
75
+ endif;
76
+ echo $shortDesc[0] . '...';
77
+ ?>
78
+ <?php if($show_details == 1): ?>
79
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $_productNameStripped ?>" class="view-detail"><?php echo $this->__('Details') ?></a>
80
+ <?php endif;?>
81
+ </div>
82
+ <?php endif;?>
83
+ <?php if($show_price == 1): ?>
84
+ <?php echo $this->getPriceHtml($_product, true) ?>
85
+ <?php endif;?>
86
+ <div class="actions">
87
+ <ul class="add-to-links">
88
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
89
+ <li><a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
90
+ <?php endif; ?>
91
+ <?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
92
+ <li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
93
+ <?php endif; ?>
94
+ </ul>
95
+
96
+ <?php if($show_addtocart == 1): ?>
97
+ <?php if($_product->isSaleable()): ?>
98
+ <p><button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button></p>
99
+ <?php else: ?>
100
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
101
+ <?php endif; ?>
102
+ <?php endif; ?>
103
+ </div>
104
+ </div>
105
+ </div>
106
+ </div>
107
+ <?php if (($idx+1) % $column_count == 0 || ($idx+1) == $_collectionSize) echo '<div class="clear"></div>'; ?>
108
+ <?php $idx++; ?>
109
+ <?php endforeach; ?>
110
+
111
+ </div>
112
+ </div>
113
+ <?php endif; ?>
114
+ </div>
115
+ </div>
app/design/frontend/ma2/ante/template/ma2_manufacturers/default.phtml ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Extensions
17
+ * @package Ma2_Manufacturers Free
18
+ * @copyright Copyright (c) 2013 MagenMarket. (http://www.magenmarket.com)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: default.phtml 3 2014-01-13 09:15:57Z linhnt $ */
22
+
23
+ $manu_code = Mage::getStoreConfig('manufacturers/general/attr_code');
24
+ $manufacturers = $this->getManufacturers();
25
+ $thumbW = intval(Mage::getStoreConfig('manufacturers/general/thumb_w')) > 0 ? intval(Mage::getStoreConfig('manufacturers/general/thumb_w')) : 120;
26
+ $thumbH = intval(Mage::getStoreConfig('manufacturers/general/thumb_h')) > 0 ? intval(Mage::getStoreConfig('manufacturers/general/thumb_h')) : 60;
27
+ $dimension_spec = intval(Mage::getStoreConfig('manufacturers/general/dimension_spec')) == 1;
28
+ $showLogo = true;
29
+ if ($this->getShowLogo() != null && (int)$this->getShowLogo() == 0) $showLogo = false; // default is show
30
+ $showName = true;
31
+ if ($this->getShowName() != null && (int)$this->getShowName() == 0) $showName = false; // default is show
32
+ $showProductCount = false;
33
+ if ($this->getShowProductCount() != null && (int)$this->getShowProductCount() == 1) $showProductCount = true; // default is not show
34
+
35
+ if(is_array($manufacturers) && count($manufacturers)): ?>
36
+ <div class="ma2-manufacturers block">
37
+ <div class="block-inner">
38
+ <?php if ($this->getTitle()): ?>
39
+ <div class="brands-title">
40
+ <h3 class="block-title">
41
+ <span class="format-span">
42
+ <?php echo $this->getTitle(); ?>
43
+ </span>
44
+ </h3>
45
+ </div>
46
+ <?php else: ?>
47
+ <div class="brands-title">
48
+ <h3>
49
+ <span>
50
+ <?php echo $this->__('brands'); ?>
51
+ </span>
52
+ </h3>
53
+ </div>
54
+ <?php endif; ?>
55
+ <ul class="manufacturers list">
56
+ <?php
57
+ foreach($manufacturers as $manufacturer){
58
+ $link = '{{store url="catalogsearch/advanced/result" _query="' . $manu_code . '='.$manufacturer['value'].'"}}';
59
+ $link_text = '';
60
+ if ($showLogo) $link_text .= '<img class="manufacturer-logo" '. ($dimension_spec ? 'width="'.$thumbW.'" height="'.$thumbH.'"' : '') . 'src="'.Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA) . ($manufacturer['image'] != '' ? $manufacturer['image'] : 'manufacturers/noimage.jpg') . '" alt="'. $manufacturer['label'] .'" />';
61
+ if ($showName) $link_text .= '<span class="manufacturer-name">' . $manufacturer['label'];
62
+ $link_text .= $showProductCount ? ' (' . $manufacturer['product_count'] . ')' : '';
63
+ $link_text .= '</span>';
64
+ echo '<li class="manufacturer"><a href="'.Mage::helper('cms')->getPageTemplateProcessor()->filter($link).'" title="'.$this->escapeHtml($manufacturer['label']).'">'. $link_text . '</a></li>';
65
+ }
66
+ ?>
67
+ </ul>
68
+ </div>
69
+ </div>
70
+ <?php endif; ?>
app/design/frontend/ma2/ante/template/ma2_manufacturers/grid.phtml ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Extensions
17
+ * @package Ma2_Manufacturers Free
18
+ * @copyright Copyright (c) 2013 MagenMarket. (http://www.magenmarket.com)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: grid.phtml 3 2014-01-13 09:15:57Z linhnt $ */
22
+
23
+ $manu_code = Mage::getStoreConfig('manufacturers/general/attr_code');
24
+ $manufacturers = $this->getManufacturers();
25
+ $thumbW = intval(Mage::getStoreConfig('manufacturers/general/thumb_w')) > 0 ? intval(Mage::getStoreConfig('manufacturers/general/thumb_w')) : 120;
26
+ $thumbH = intval(Mage::getStoreConfig('manufacturers/general/thumb_h')) > 0 ? intval(Mage::getStoreConfig('manufacturers/general/thumb_h')) : 60;
27
+ $dimension_spec = intval(Mage::getStoreConfig('manufacturers/general/dimension_spec')) == 1;
28
+
29
+ $showLogo = true;
30
+ if ($this->getShowLogo() != null && (int)$this->getShowLogo() == 0) $showLogo = false; // default is show
31
+ $showName = true;
32
+ if ($this->getShowName() != null && (int)$this->getShowName() == 0) $showName = false; // default is show
33
+ $showProductCount = false;
34
+ if ($this->getShowProductCount() != null && (int)$this->getShowProductCount() == 1) $showProductCount = true; // default is not show
35
+
36
+ // grid
37
+ $gridColumn = 7;
38
+ if ($this->getGridCol() != null && (int)$this->getGridCol() > 0) $gridColumn = (int)$this->getGridCol();
39
+ $itemWidth = (100 / $gridColumn);
40
+
41
+ if(is_array($manufacturers) && count($manufacturers)): ?>
42
+ <div class="ma2-manufacturers block">
43
+ <div class="block-inner">
44
+ <div class="manufacturers grid">
45
+ <?php
46
+ $ij = 1; $last = '';
47
+ foreach($manufacturers as $idx => $manufacturer){
48
+ $link = '{{store url="catalogsearch/advanced/result" _query="' . $manu_code . '='.$manufacturer['value'].'"}}';
49
+ $link_text = '';
50
+ if ($showLogo) $link_text .= '<img class="manufacturer-logo" '. ($dimension_spec ? 'width="'.$thumbW.'" height="'.$thumbH.'"' : '') . 'src="'.Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA) . ($manufacturer['image'] != '' ? $manufacturer['image'] : 'manufacturers/noimage.jpg') . '" alt="'. $manufacturer['label'] .'" />';
51
+ if ($showName) $link_text .= '<span class="manufacturer-name">' . $manufacturer['label'];
52
+ $link_text .= $showProductCount ? ' (' . $manufacturer['product_count'] . ')' : '';
53
+ $link_text .= '</span>';
54
+ if ($idx % $gridColumn == 0) echo '<div class="row-separator clear"></div>';
55
+ if($ij == $gridColumn){ $last = 'last';}
56
+ echo '<div class="manufacturer '.$last.'" style="width: '.$itemWidth.'%;">
57
+ <div class="manufacturer-inner">
58
+ <a href="'.Mage::helper('cms')->getPageTemplateProcessor()->filter($link).'" title="'.$this->escapeHtml($manufacturer['label']).'">'. $link_text . '</a>
59
+ </div>
60
+ </div>';
61
+ $ij++;
62
+ }
63
+ ?>
64
+ </div>
65
+ <div class="clear"></div>
66
+ </div>
67
+ </div>
68
+ <?php endif; ?>
69
+ <?php
70
+ unset($showLogo, $showName, $showProductCount);
71
+ ?>
app/design/frontend/ma2/ante/template/ma2_manufacturers/slider.phtml ADDED
@@ -0,0 +1,137 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Extensions
17
+ * @package Ma2_Manufacturers Free
18
+ * @copyright Copyright (c) 2013 MagenMarket. (http://www.magenmarket.com)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: slider.phtml 3 2014-01-13 09:15:57Z linhnt $ */
22
+
23
+ $manu_code = Mage::getStoreConfig('manufacturers/general/attr_code');
24
+ $manufacturers = $this->getManufacturers();
25
+ $thumbW = intval(Mage::getStoreConfig('manufacturers/general/thumb_w')) > 0 ? intval(Mage::getStoreConfig('manufacturers/general/thumb_w')) : 120;
26
+ $thumbH = intval(Mage::getStoreConfig('manufacturers/general/thumb_h')) > 0 ? intval(Mage::getStoreConfig('manufacturers/general/thumb_h')) : 60;
27
+ $dimension_spec = intval(Mage::getStoreConfig('manufacturers/general/dimension_spec')) == 1;
28
+
29
+ $showLogo = true;
30
+ if ($this->getShowLogo() != null && (int)$this->getShowLogo() == 0) $showLogo = false; // default is show
31
+ $showName = true;
32
+ if ($this->getShowName() != null && (int)$this->getShowName() == 0) $showName = false; // default is show
33
+ $showProductCount = false;
34
+ if ($this->getShowProductCount() != null && (int)$this->getShowProductCount() == 1) $showProductCount = true; // default is not show
35
+
36
+ // grid
37
+ $gridColumn = 6;
38
+ if ($this->getGridCol() != null && (int)$this->getGridCol() > 0) $gridColumn = (int)$this->getGridCol();
39
+ $itemWidth = (100 / $gridColumn);
40
+
41
+ // uniq Id
42
+ $uniqId = Mage::helper('core')->uniqHash('manufacturers-slider-');
43
+
44
+
45
+ if(is_array($manufacturers) && count($manufacturers)): ?>
46
+ <div class="ma2-manufacturers block" id="<?php echo $uniqId; ?>">
47
+ <div class="block-inner">
48
+ <?php if ($this->getTitle()): ?>
49
+ <div class="brands-title">
50
+ <h3 class="block-title">
51
+ <span class="format-span">
52
+ <?php echo $this->getTitle(); ?>
53
+ </span>
54
+ </h3>
55
+ </div>
56
+ <?php else: ?>
57
+ <div class="brands-title">
58
+ <h3>
59
+ <span>
60
+ <?php echo $this->__('brands'); ?>
61
+ </span>
62
+ </h3>
63
+ </div>
64
+ <?php endif; ?>
65
+ <div class="controls">
66
+ <a rel="prev" class="carousel-control ico-prev" href="javascript:">&#8249;</a>
67
+ <a rel="next" class="carousel-control ico-next" href="javascript:">&#8250;</a>
68
+ </div>
69
+ <div class="manufacturers">
70
+ <div class="slider">
71
+ <div class="slider-inner">
72
+ <?php
73
+ foreach($manufacturers as $idx => $manufacturer){
74
+ $link = '{{store url="catalogsearch/advanced/result" _query="' . $manu_code . '='.$manufacturer['value'].'"}}';
75
+ $link_text = '';
76
+ if ($showLogo) $link_text .= '<img class="manufacturer-logo" '. ($dimension_spec ? 'width="'.$thumbW.'" height="'.$thumbH.'"' : '') . 'src="'.Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA) . ($manufacturer['image'] != '' ? $manufacturer['image'] : 'manufacturers/noimage.jpg') . '" alt="'. $manufacturer['label'] .'" />';
77
+ if ($showName) $link_text .= '<span class="manufacturer-name">' . $manufacturer['label'];
78
+ $link_text .= $showProductCount ? ' (' . $manufacturer['product_count'] . ')' : '';
79
+ $link_text .= '</span>';
80
+ if ($idx == 0){ echo '<div class="manufacturer-slide">';}
81
+ else if ($idx % $gridColumn == 0){ echo '</div><div class="manufacturer-slide">';}
82
+
83
+ echo '<div class="manufacturer" style="width: '.$itemWidth.'%;">
84
+ <div class="manufacturer-inner">
85
+ <a href="'.Mage::helper('cms')->getPageTemplateProcessor()->filter($link).'" title="'.$this->escapeHtml($manufacturer['label']).'">'. $link_text . '</a>
86
+ </div>
87
+ </div>';
88
+
89
+ if ($idx == count($manufacturers) - 1) echo '</div>';
90
+ }
91
+ ?>
92
+ </div>
93
+ </div>
94
+ </div>
95
+ <div class="clear"></div>
96
+ </div>
97
+ </div>
98
+ <script type="text/javascript">
99
+ //<![CDATA[
100
+ Event.observe(window, "load", function() {
101
+
102
+ var slideWidth = $('<?php echo $uniqId; ?>').down('.block-inner').getWidth();
103
+ $$('#<?php echo $uniqId; ?> .slider').each(function(element){
104
+ element.setStyle({
105
+ width : slideWidth + 'px'
106
+ });
107
+ });
108
+
109
+ $$('#<?php echo $uniqId; ?> .manufacturer').each(function(element){
110
+ element.setStyle({
111
+ width : (slideWidth * <?php echo $itemWidth ?> / 100) + 'px'
112
+ });
113
+ });
114
+
115
+ new Carousel(
116
+ $('<?php echo $uniqId; ?>').down('.slider'),
117
+ $('<?php echo $uniqId; ?>').select('.manufacturer-slide'),
118
+ $('<?php echo $uniqId; ?>').select('.controls a'),
119
+ {
120
+ duration: 0.4,
121
+ auto: false,
122
+ frequency: 3,
123
+ circular: false,
124
+ wheel: false,
125
+ visibleSlides: 1,
126
+ effect: "scroll",
127
+ transition: "sinoidal"
128
+ }
129
+ );
130
+ });
131
+
132
+ //]]>
133
+ </script>
134
+ <?php endif; ?>
135
+ <?php
136
+ unset($showLogo, $showName, $showProductCount);
137
+ ?>
app/design/frontend/ma2/ante/template/ma2_slideshow/slideshow.phtml ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div class="slideshow-maintop1">
2
+ <?php $uniqId = Mage::helper('core')->uniqHash('-'); ?>
3
+ <?php if(count($items)) : ?>
4
+ <div id="ma2-slideshow<?php echo $uniqId; ?>" class="ma2-slideshow protoshow" style="height: <?php echo $options->slide_height; ?>px">
5
+ <ul class="show" style="height: <?php echo $options->slide_height; ?>px">
6
+ <?php foreach ($items as $item) : ?>
7
+ <li class="slide">
8
+ <img class="img-slide" src="<?php echo Mage::getBaseUrl('media').'ma2slideshow/'.$item->getFilename(); ?>" alt="<?php echo $this->escapeHtml($item->getTitle()); ?>"/>
9
+ <?php if($options->display_title == 1 && $options->display_content == 1) : ?>
10
+ <div class="item-desc">
11
+ <?php if($options->display_title == 1) : ?>
12
+ <h1 class="title"><a href="<?php echo $item->getSlideshowUrl() ?>" title="<?php echo $this->escapeHtml($item->getTitle()); ?>" target="_blank"><?php echo $item->getTitle(); ?></a></h1>
13
+ <?php endif; ?>
14
+ <?php if($options->display_content == 1) : ?>
15
+ <div class="item-content"><?php echo $item->getContent(); ?></div>
16
+ <?php endif; ?>
17
+ </div>
18
+ <?php endif; ?>
19
+ </li>
20
+ <?php endforeach; ?>
21
+ </ul>
22
+ </div>
23
+ <?php
24
+ $auto_play = ($options->auto_play == 1) ? 'true' : 'false';
25
+ $navigation = ($options->navigation == 1) ? 'true' : 'false';
26
+ $controls = ($options->controls == 1) ? 'true' : 'false';
27
+ $pauseOnHover = ($options->pauseOnHover == 1) ? 'true' : 'false';
28
+ ?>
29
+ </div>
30
+ <script type="text/javascript">
31
+ <!--
32
+ Event.observe(window, "load", function() {
33
+ //ma2_js
34
+ var slideWidth = $('ma2-slideshow<?php echo $uniqId; ?>').getWidth();
35
+ $$('.show .slide').each(function(element){
36
+ element.setStyle({
37
+ width : slideWidth + 'px'
38
+ });
39
+ });
40
+ //options
41
+ $('ma2-slideshow<?php echo $uniqId; ?>') && $('ma2-slideshow<?php echo $uniqId; ?>').protoShow({
42
+ interval : <?php echo intval($options->interval); ?>,
43
+ autoPlay : <?php echo $auto_play; ?>,
44
+ transitionType : "<?php echo $options->transitionType; ?>",
45
+ transitionTime : <?php echo $options->transitionTime; ?>,
46
+ manTransitionTime : <?php echo $options->manTransitionTime; ?>,
47
+ navigation : <?php echo $navigation; ?>,
48
+ controls : <?php echo $controls; ?>,
49
+ stopText : "||",
50
+ playText : ">",
51
+ pauseOnHover : <?php echo $pauseOnHover; ?>
52
+ });
53
+
54
+ $('ma2-slideshow<?php echo $uniqId; ?>').observe('mouseover', function(e){
55
+ e.stop();
56
+ $$('.proto-controls').invoke('show');
57
+ }).observe('mouseout', function(e){
58
+ e.stop();
59
+ $$('.proto-controls').invoke('hide');
60
+ });
61
+ });
62
+
63
+ -->
64
+ </script>
65
+ <?php endif; ?>
app/design/frontend/ma2/ante/template/ma2_widgetproductlist/bestselling/default.phtml CHANGED
@@ -106,7 +106,7 @@
106
  <ul class="featured-grid" id="featured-grid-<?php echo $idx+1 ?>">
107
  <?php endif; ?>
108
  <li class="item<?php if($idx%$_columnCount==0): ?> first<?php elseif(($idx+1)%$_columnCount==0): ?> last<?php endif; ?>" <?php echo $inlineStyle; ?>>
109
- <div class="item-content">
110
  <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" class="product-image">
111
  <img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(158); ?>" alt="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" />
112
  </a>
@@ -172,18 +172,16 @@
172
  <div class="actions">
173
  <?php if($show_addtocart == 1): ?>
174
  <div class="ma2-addtocart">
175
- <?php if($_product->isSaleable()): ?>
176
- <button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
177
- <?php else: ?>
178
- <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
179
- <?php endif; ?>
180
  </div>
181
  <?php endif; ?>
182
  <?php if($show_details == 1):?>
183
  <div class="ma2-detail">
184
- <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>" class="btn-detail">
185
- <?php echo $this->__('Details');?>
186
- </a>
187
  </div>
188
  <?php endif;?>
189
  </div>
@@ -199,17 +197,16 @@
199
  <div class="toolbar-bottom">
200
  <?php echo $this->getToolbarHtml() ?>
201
  </div>
202
- <script type="text/javascript">
203
- Event.observe(window, 'load', function() {
204
  var tallest = 0;
205
- $$('.item-content').each(function(element){
206
  if (element.getHeight() > tallest) tallest = element.getHeight();
207
  });
208
- $$('.item-content').each(function(element){
209
  element.setStyle({height: tallest+'px'});
210
  });
211
- });
212
-
213
  decorateGeneric($$('ul.products-grid'), ['odd','even','first','last']);
214
  </script>
215
  </div>
106
  <ul class="featured-grid" id="featured-grid-<?php echo $idx+1 ?>">
107
  <?php endif; ?>
108
  <li class="item<?php if($idx%$_columnCount==0): ?> first<?php elseif(($idx+1)%$_columnCount==0): ?> last<?php endif; ?>" <?php echo $inlineStyle; ?>>
109
+ <div class="item-content-product">
110
  <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" class="product-image">
111
  <img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(158); ?>" alt="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" />
112
  </a>
172
  <div class="actions">
173
  <?php if($show_addtocart == 1): ?>
174
  <div class="ma2-addtocart">
175
+ <?php if($_product->isSaleable()): ?>
176
+ <button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
177
+ <?php else: ?>
178
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
179
+ <?php endif; ?>
180
  </div>
181
  <?php endif; ?>
182
  <?php if($show_details == 1):?>
183
  <div class="ma2-detail">
184
+ <button type="button" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>" class=" btn-detail" onclick="setLocation('<?php echo $_product->getProductUrl() ?>')"><span><span><?php echo $this->__('Details') ?></span></span></button>
 
 
185
  </div>
186
  <?php endif;?>
187
  </div>
197
  <div class="toolbar-bottom">
198
  <?php echo $this->getToolbarHtml() ?>
199
  </div>
200
+ <script type="text/javascript">
201
+ /* Event.observe(window, 'load', function() {
202
  var tallest = 0;
203
+ $$('.item-content-product').each(function(element){
204
  if (element.getHeight() > tallest) tallest = element.getHeight();
205
  });
206
+ $$('.item-content-product').each(function(element){
207
  element.setStyle({height: tallest+'px'});
208
  });
209
+ }); */
 
210
  decorateGeneric($$('ul.products-grid'), ['odd','even','first','last']);
211
  </script>
212
  </div>
app/design/frontend/ma2/ante/template/ma2_widgetproductlist/custom/default.phtml CHANGED
@@ -106,7 +106,7 @@
106
  <ul class="featured-grid" id="featured-grid-<?php echo $idx+1 ?>">
107
  <?php endif; ?>
108
  <li class="item<?php if($idx%$_columnCount==0): ?> first<?php elseif(($idx+1)%$_columnCount==0): ?> last<?php endif; ?>" <?php echo $inlineStyle; ?>>
109
- <div class="item-content">
110
  <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" class="product-image">
111
  <img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(158); ?>" alt="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" />
112
  <?php
@@ -207,9 +207,7 @@
207
  <?php endif; ?>
208
  <?php if($show_details == 1):?>
209
  <div class="ma2-detail">
210
- <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>" class="btn-detail">
211
- <?php echo $this->__('Details');?>
212
- </a>
213
  </div>
214
  <?php endif;?>
215
  </div>
@@ -225,16 +223,16 @@
225
  <div class="toolbar-bottom">
226
  <?php echo $this->getToolbarHtml() ?>
227
  </div>
228
- <script type="text/javascript">
229
- Event.observe(window, 'load', function() {
230
  var tallest = 0;
231
- $$('.item-content').each(function(element){
232
  if (element.getHeight() > tallest) tallest = element.getHeight();
233
  });
234
- $$('.item-content').each(function(element){
235
  element.setStyle({height: tallest+'px'});
236
  });
237
- });
238
 
239
  decorateGeneric($$('ul.products-grid'), ['odd','even','first','last']);
240
  </script>
106
  <ul class="featured-grid" id="featured-grid-<?php echo $idx+1 ?>">
107
  <?php endif; ?>
108
  <li class="item<?php if($idx%$_columnCount==0): ?> first<?php elseif(($idx+1)%$_columnCount==0): ?> last<?php endif; ?>" <?php echo $inlineStyle; ?>>
109
+ <div class="item-content item-content-product">
110
  <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" class="product-image">
111
  <img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(158); ?>" alt="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" />
112
  <?php
207
  <?php endif; ?>
208
  <?php if($show_details == 1):?>
209
  <div class="ma2-detail">
210
+ <button type="button" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>" class=" btn-detail" onclick="setLocation('<?php echo $_product->getProductUrl() ?>')"><span><span><?php echo $this->__('Details') ?></span></span></button>
 
 
211
  </div>
212
  <?php endif;?>
213
  </div>
223
  <div class="toolbar-bottom">
224
  <?php echo $this->getToolbarHtml() ?>
225
  </div>
226
+ <script type="text/javascript">
227
+ /* Event.observe(window, 'load', function() {
228
  var tallest = 0;
229
+ $$('.item-content-product').each(function(element){
230
  if (element.getHeight() > tallest) tallest = element.getHeight();
231
  });
232
+ $$('.item-content-product').each(function(element){
233
  element.setStyle({height: tallest+'px'});
234
  });
235
+ }); */
236
 
237
  decorateGeneric($$('ul.products-grid'), ['odd','even','first','last']);
238
  </script>
app/design/frontend/ma2/ante/template/ma2_widgetproductlist/featured/default.phtml CHANGED
@@ -106,7 +106,7 @@
106
  <ul class="featured-grid" id="featured-grid-<?php echo $idx+1 ?>">
107
  <?php endif; ?>
108
  <li class="item<?php if($idx%$_columnCount==0): ?> first<?php elseif(($idx+1)%$_columnCount==0): ?> last<?php endif; ?>" <?php echo $inlineStyle; ?>>
109
- <div class="item-content">
110
  <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" class="product-image">
111
  <img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(158); ?>" alt="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" />
112
  </a>
@@ -181,9 +181,7 @@
181
  <?php endif; ?>
182
  <?php if($show_details == 1):?>
183
  <div class="ma2-detail">
184
- <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>" class="btn-detail">
185
- <?php echo $this->__('Details');?>
186
- </a>
187
  </div>
188
  <?php endif;?>
189
  </div>
@@ -199,16 +197,16 @@
199
  <div class="toolbar-bottom">
200
  <?php echo $this->getToolbarHtml() ?>
201
  </div>
202
- <script type="text/javascript">
203
- Event.observe(window, 'load', function() {
204
  var tallest = 0;
205
- $$('.item-content').each(function(element){
206
  if (element.getHeight() > tallest) tallest = element.getHeight();
207
  });
208
- $$('.item-content').each(function(element){
209
  element.setStyle({height: tallest+'px'});
210
  });
211
- });
212
 
213
  decorateGeneric($$('ul.products-grid'), ['odd','even','first','last']);
214
  </script>
106
  <ul class="featured-grid" id="featured-grid-<?php echo $idx+1 ?>">
107
  <?php endif; ?>
108
  <li class="item<?php if($idx%$_columnCount==0): ?> first<?php elseif(($idx+1)%$_columnCount==0): ?> last<?php endif; ?>" <?php echo $inlineStyle; ?>>
109
+ <div class="item-content item-content-product">
110
  <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" class="product-image">
111
  <img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(158); ?>" alt="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" />
112
  </a>
181
  <?php endif; ?>
182
  <?php if($show_details == 1):?>
183
  <div class="ma2-detail">
184
+ <button type="button" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>" class=" btn-detail" onclick="setLocation('<?php echo $_product->getProductUrl() ?>')"><span><span><?php echo $this->__('Details') ?></span></span></button>
 
 
185
  </div>
186
  <?php endif;?>
187
  </div>
197
  <div class="toolbar-bottom">
198
  <?php echo $this->getToolbarHtml() ?>
199
  </div>
200
+ <script type="text/javascript">
201
+ /* Event.observe(window, 'load', function() {
202
  var tallest = 0;
203
+ $$('.item-content-product').each(function(element){
204
  if (element.getHeight() > tallest) tallest = element.getHeight();
205
  });
206
+ $$('.item-content-product').each(function(element){
207
  element.setStyle({height: tallest+'px'});
208
  });
209
+ }); */
210
 
211
  decorateGeneric($$('ul.products-grid'), ['odd','even','first','last']);
212
  </script>
app/design/frontend/ma2/ante/template/ma2_widgetproductlist/featured/sidebar.phtml CHANGED
@@ -106,7 +106,7 @@
106
  <ul class="featured-grid" id="featured-grid-<?php echo $idx+1 ?>">
107
  <?php endif; ?>
108
  <li class="item<?php if($idx%$_columnCount==0): ?> first<?php elseif(($idx+1)%$_columnCount==0): ?> last<?php endif; ?>" <?php echo $inlineStyle; ?>>
109
- <div class="item-content">
110
  <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" class="product-image">
111
  <img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(158); ?>" alt="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" />
112
  </a>
@@ -181,9 +181,7 @@
181
  <?php endif; ?>
182
  <?php if($show_details == 1):?>
183
  <div class="ma2-detail">
184
- <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>" class="btn-detail">
185
- <?php echo $this->__('Details');?>
186
- </a>
187
  </div>
188
  <?php endif;?>
189
  </div>
@@ -199,16 +197,16 @@
199
  <div class="toolbar-bottom">
200
  <?php echo $this->getToolbarHtml() ?>
201
  </div>
202
- <script type="text/javascript">
203
- Event.observe(window, 'load', function() {
204
  var tallest = 0;
205
- $$('.item-content').each(function(element){
206
  if (element.getHeight() > tallest) tallest = element.getHeight();
207
  });
208
- $$('.item-content').each(function(element){
209
  element.setStyle({height: tallest+'px'});
210
  });
211
- });
212
 
213
  decorateGeneric($$('ul.products-grid'), ['odd','even','first','last']);
214
  </script>
106
  <ul class="featured-grid" id="featured-grid-<?php echo $idx+1 ?>">
107
  <?php endif; ?>
108
  <li class="item<?php if($idx%$_columnCount==0): ?> first<?php elseif(($idx+1)%$_columnCount==0): ?> last<?php endif; ?>" <?php echo $inlineStyle; ?>>
109
+ <div class="item-content item-content-product">
110
  <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" class="product-image">
111
  <img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(158); ?>" alt="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" />
112
  </a>
181
  <?php endif; ?>
182
  <?php if($show_details == 1):?>
183
  <div class="ma2-detail">
184
+ <button type="button" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>" class=" btn-detail" onclick="setLocation('<?php echo $_product->getProductUrl() ?>')"><span><span><?php echo $this->__('Details') ?></span></span></button>
 
 
185
  </div>
186
  <?php endif;?>
187
  </div>
197
  <div class="toolbar-bottom">
198
  <?php echo $this->getToolbarHtml() ?>
199
  </div>
200
+ <script type="text/javascript">
201
+ /* Event.observe(window, 'load', function() {
202
  var tallest = 0;
203
+ $$('.item-content-product').each(function(element){
204
  if (element.getHeight() > tallest) tallest = element.getHeight();
205
  });
206
+ $$('.item-content-product').each(function(element){
207
  element.setStyle({height: tallest+'px'});
208
  });
209
+ }); */
210
 
211
  decorateGeneric($$('ul.products-grid'), ['odd','even','first','last']);
212
  </script>
app/design/frontend/ma2/ante/template/ma2_widgetproductlist/new/default.phtml CHANGED
@@ -106,7 +106,7 @@
106
  <ul class="featured-grid" id="featured-grid-<?php echo $idx+1 ?>">
107
  <?php endif; ?>
108
  <li class="item<?php if($idx%$_columnCount==0): ?> first<?php elseif(($idx+1)%$_columnCount==0): ?> last<?php endif; ?>" <?php echo $inlineStyle; ?>>
109
- <div class="item-content">
110
  <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" class="product-image">
111
  <img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(158); ?>" alt="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" />
112
  </a>
@@ -181,9 +181,7 @@
181
  <?php endif; ?>
182
  <?php if($show_details == 1):?>
183
  <div class="ma2-detail">
184
- <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>" class="btn-detail">
185
- <?php echo $this->__('Details');?>
186
- </a>
187
  </div>
188
  <?php endif;?>
189
  </div>
@@ -199,16 +197,16 @@
199
  <div class="toolbar-bottom">
200
  <?php echo $this->getToolbarHtml() ?>
201
  </div>
202
- <script type="text/javascript">
203
- Event.observe(window, 'load', function() {
204
  var tallest = 0;
205
- $$('.item-content').each(function(element){
206
  if (element.getHeight() > tallest) tallest = element.getHeight();
207
  });
208
- $$('.item-content').each(function(element){
209
  element.setStyle({height: tallest+'px'});
210
  });
211
- });
212
 
213
  decorateGeneric($$('ul.products-grid'), ['odd','even','first','last']);
214
  </script>
106
  <ul class="featured-grid" id="featured-grid-<?php echo $idx+1 ?>">
107
  <?php endif; ?>
108
  <li class="item<?php if($idx%$_columnCount==0): ?> first<?php elseif(($idx+1)%$_columnCount==0): ?> last<?php endif; ?>" <?php echo $inlineStyle; ?>>
109
+ <div class="item-content item-content-product">
110
  <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" class="product-image">
111
  <img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(158); ?>" alt="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" />
112
  </a>
181
  <?php endif; ?>
182
  <?php if($show_details == 1):?>
183
  <div class="ma2-detail">
184
+ <button type="button" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>" class=" btn-detail" onclick="setLocation('<?php echo $_product->getProductUrl() ?>')"><span><span><?php echo $this->__('Details') ?></span></span></button>
 
 
185
  </div>
186
  <?php endif;?>
187
  </div>
197
  <div class="toolbar-bottom">
198
  <?php echo $this->getToolbarHtml() ?>
199
  </div>
200
+ <script type="text/javascript">
201
+ /* Event.observe(window, 'load', function() {
202
  var tallest = 0;
203
+ $$('.item-content-product').each(function(element){
204
  if (element.getHeight() > tallest) tallest = element.getHeight();
205
  });
206
+ $$('.item-content-product').each(function(element){
207
  element.setStyle({height: tallest+'px'});
208
  });
209
+ }); */
210
 
211
  decorateGeneric($$('ul.products-grid'), ['odd','even','first','last']);
212
  </script>
app/design/frontend/ma2/ante/template/page/1column.phtml CHANGED
@@ -1,27 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->getLang() ?>" lang="<?php echo $this->getLang() ?>">
3
- <head>
4
- <?php echo $this->getChildHtml('head');?>
5
- </head>
6
- <body<?php echo $this->getBodyClass()?' class="'.$this->getBodyClass().'"':'' ?>>
7
- <?php echo $this->getChildHtml('after_body_start') ?>
8
- <div class="wrapper">
9
- <?php echo $this->getChildHtml('global_notices') ?>
10
- <div class="page">
 
 
11
  <?php echo $this->getChildHtml('header') ?>
12
- <div class="main-container col1-layout">
13
- <div class="main">
14
- <?php echo $this->getChildHtml('breadcrumbs') ?>
15
- <div class="col-main">
16
- <?php echo $this->getChildHtml('global_messages') ?>
17
- <?php echo $this->getChildHtml('content') ?>
 
 
 
 
 
 
 
18
  </div>
 
 
 
19
  </div>
 
 
 
 
20
  </div>
21
  <?php echo $this->getChildHtml('footer') ?>
22
  <?php echo $this->getChildHtml('before_body_end') ?>
 
23
  </div>
24
- </div>
25
- <?php echo $this->getAbsoluteFooter() ?>
26
- </body>
27
  </html>
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Themes
17
+ * @package Ma2_Default theme
18
+ * @copyright Copyright (coffee) 2013 MagenMarket, http://www.magenmarket.com
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: 1column.phtml 12 2013-11-05 10:00:22Z minhnv $ */
22
+ ?>
23
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
24
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->getLang() ?>" lang="<?php echo $this->getLang() ?>">
25
+ <head>
26
+ <?php
27
+ echo $this->getChildHtml('head');
28
+ ?>
29
+ </head>
30
+ <body <?php echo $this->getBodyClass() ? ' class="'.$this->getBodyClass().'"':'' ?>>
31
+ <?php echo $this->getChildHtml('after_body_start') ?>
32
+ <div class="wrapper">
33
+ <?php echo $this->getChildHtml('global_notices') ?>
34
+ <div class="page">
35
  <?php echo $this->getChildHtml('header') ?>
36
+ <div class="main col1-layout">
37
+ <div class="container container-inner">
38
+ <?php echo $this->getChildHtml('breadcrumbs') ?>
39
+ <?php echo $this->getChildHtml('maintop1Area') ?>
40
+ <?php echo $this->getChildHtml('maintop2Area') ?>
41
+ <?php echo $this->getChildHtml('maintop3Area') ?>
42
+ <div class="main-page">
43
+ <div class="col-main">
44
+ <?php echo $this->getChildHtml('global_messages') ?>
45
+ <?php echo $this->getChildHtml('contenttop1Area') ?>
46
+ <?php echo $this->getChildHtml('contenttop2Area') ?>
47
+ <div class="front-page">
48
+ <?php echo $this->getChildHtml('content') ?>
49
  </div>
50
+ <?php echo $this->getChildHtml('contentbottom1Area') ?>
51
+ <?php echo $this->getChildHtml('contentbottom2Area') ?>
52
+ </div>
53
  </div>
54
+ <?php echo $this->getChildHtml('mainbottom1Area') ?>
55
+ <?php echo $this->getChildHtml('mainbottom2Area') ?>
56
+ <?php echo $this->getChildHtml('mainbottom3Area') ?>
57
+ </div>
58
  </div>
59
  <?php echo $this->getChildHtml('footer') ?>
60
  <?php echo $this->getChildHtml('before_body_end') ?>
61
+ </div>
62
  </div>
63
+ <?php echo $this->getAbsoluteFooter() ?>
64
+ </body>
 
65
  </html>
app/design/frontend/ma2/ante/template/page/2columns-left.phtml CHANGED
@@ -1,59 +1,66 @@
1
  <?php
2
  /**
3
- * Magento
4
  *
5
  * NOTICE OF LICENSE
6
  *
7
- * This source file is subject to the Academic Free License (AFL 3.0)
8
- * that is bundled with this package in the file LICENSE_AFL.txt.
9
  * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/afl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
  *
15
  * DISCLAIMER
16
  *
17
- * Do not edit or add to this file if you wish to upgrade Magento to newer
18
- * versions in the future. If you wish to customize Magento for your
19
- * needs please refer to http://www.magentocommerce.com for more information.
20
  *
21
- * @category design
22
- * @package base_default
23
- * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
24
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
- */
26
- ?>
27
- <?php
28
- /**
29
- * Template for Mage_Page_Block_Html
30
- */
31
  ?>
32
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
33
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->getLang() ?>" lang="<?php echo $this->getLang() ?>">
34
- <head>
35
- <?php echo $this->getChildHtml('head');?>
36
- </head>
37
- <body<?php echo $this->getBodyClass()?' class="'.$this->getBodyClass().'"':'' ?>>
38
- <?php echo $this->getChildHtml('after_body_start') ?>
39
- <div class="wrapper">
40
- <?php echo $this->getChildHtml('global_notices') ?>
41
- <div class="page">
 
 
42
  <?php echo $this->getChildHtml('header') ?>
43
- <div class="main-container col2-left-layout">
44
- <div class="main">
45
- <?php echo $this->getChildHtml('breadcrumbs') ?>
46
- <div class="col-main">
47
- <?php echo $this->getChildHtml('global_messages') ?>
48
- <?php echo $this->getChildHtml('content') ?>
 
 
 
 
 
 
 
 
49
  </div>
50
- <div class="col-left sidebar"><?php echo $this->getChildHtml('left') ?></div>
 
 
51
  </div>
 
 
 
 
52
  </div>
53
  <?php echo $this->getChildHtml('footer') ?>
54
  <?php echo $this->getChildHtml('before_body_end') ?>
 
55
  </div>
56
- </div>
57
- <?php echo $this->getAbsoluteFooter() ?>
58
- </body>
59
- </html>
1
  <?php
2
  /**
3
+ * MagenMarket.com
4
  *
5
  * NOTICE OF LICENSE
6
  *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
  * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
 
 
 
11
  *
12
  * DISCLAIMER
13
  *
14
+ * Edit or modify this file with yourown risk.
 
 
15
  *
16
+ * @category Themes
17
+ * @package Ma2_Default theme
18
+ * @copyright Copyright (coffee) 2013 MagenMarket, http://www.magenmarket.com
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: 2columns-left.phtml 12 2013-11-05 10:00:22Z minhnv $ */
 
 
 
 
22
  ?>
23
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
24
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->getLang() ?>" lang="<?php echo $this->getLang() ?>">
25
+ <head>
26
+ <?php
27
+ echo $this->getChildHtml('head');
28
+ ?>
29
+ </head>
30
+ <body <?php echo $this->getBodyClass() ? ' class="'.$this->getBodyClass().'"':'' ?>>
31
+ <?php echo $this->getChildHtml('after_body_start') ?>
32
+ <div class="wrapper">
33
+ <?php echo $this->getChildHtml('global_notices') ?>
34
+ <div class="page">
35
  <?php echo $this->getChildHtml('header') ?>
36
+ <div class="main col2-left-layout">
37
+ <div class="container container-inner">
38
+ <?php echo $this->getChildHtml('breadcrumbs') ?>
39
+ <?php echo $this->getChildHtml('maintop1Area') ?>
40
+ <?php echo $this->getChildHtml('maintop2Area') ?>
41
+ <?php echo $this->getChildHtml('maintop3Area') ?>
42
+ <div class="main-page">
43
+ <div class="col-left sidebar"><?php echo $this->getChildHtml('left') ?></div>
44
+ <div class="col-main">
45
+ <?php echo $this->getChildHtml('global_messages') ?>
46
+ <?php echo $this->getChildHtml('contenttop1Area') ?>
47
+ <?php echo $this->getChildHtml('contenttop2Area') ?>
48
+ <div class="front-page">
49
+ <?php echo $this->getChildHtml('content') ?>
50
  </div>
51
+ <?php echo $this->getChildHtml('contentbottom1Area') ?>
52
+ <?php echo $this->getChildHtml('contentbottom2Area') ?>
53
+ </div>
54
  </div>
55
+ <?php echo $this->getChildHtml('mainbottom1Area') ?>
56
+ <?php echo $this->getChildHtml('mainbottom2Area') ?>
57
+ <?php echo $this->getChildHtml('mainbottom3Area') ?>
58
+ </div>
59
  </div>
60
  <?php echo $this->getChildHtml('footer') ?>
61
  <?php echo $this->getChildHtml('before_body_end') ?>
62
+ </div>
63
  </div>
64
+ <?php echo $this->getAbsoluteFooter() ?>
65
+ </body>
66
+ </html>
 
app/design/frontend/ma2/ante/template/page/2columns-right.phtml CHANGED
@@ -1,31 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->getLang() ?>" lang="<?php echo $this->getLang() ?>">
3
- <head>
4
- <?php echo $this->getChildHtml('head');?>
5
- </head>
6
- <body<?php echo $this->getBodyClass()?' class="'.$this->getBodyClass().'"':'' ?>>
7
- <?php echo $this->getChildHtml('after_body_start') ?>
8
- <div class="wrapper" id="wrapper">
9
- <?php echo $this->getChildHtml('global_notices') ?>
10
- <div class="page">
 
 
11
  <?php echo $this->getChildHtml('header') ?>
12
- <div class="main-container col2-right-layout">
13
- <div class="main">
14
- <?php echo $this->getChildHtml('breadcrumbs') ?>
15
- <div class="col-main">
16
- <?php echo $this->getChildHtml('global_messages') ?>
17
- <?php echo $this->getChildHtml('content') ?>
 
 
 
 
 
 
 
 
 
 
 
18
  </div>
19
- <div class="col-right sidebar">
20
- <?php echo $this->getChildHtml('right') ?>
21
- <?php echo $this->getChildHtml('ma2-right-bottom') ; ?>
22
- </div>
23
  </div>
 
 
 
 
24
  </div>
25
  <?php echo $this->getChildHtml('footer') ?>
26
  <?php echo $this->getChildHtml('before_body_end') ?>
 
27
  </div>
28
- </div>
29
- <?php echo $this->getAbsoluteFooter() ?>
30
- </body>
31
  </html>
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Themes
17
+ * @package Ma2_Default theme
18
+ * @copyright Copyright (coffee) 2013 MagenMarket, http://www.magenmarket.com
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: 2columns-right.phtml 12 2013-11-05 10:00:22Z minhnv $ */
22
+ ?>
23
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
24
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->getLang() ?>" lang="<?php echo $this->getLang() ?>">
25
+ <head>
26
+ <?php
27
+ echo $this->getChildHtml('head');
28
+ ?>
29
+ </head>
30
+ <body <?php echo $this->getBodyClass() ? ' class="'.$this->getBodyClass().'"':'' ?>>
31
+ <?php echo $this->getChildHtml('after_body_start') ?>
32
+ <div class="wrapper">
33
+ <?php echo $this->getChildHtml('global_notices') ?>
34
+ <div class="page">
35
  <?php echo $this->getChildHtml('header') ?>
36
+ <div class="main col2-right-layout">
37
+ <div class="container container-inner">
38
+ <?php echo $this->getChildHtml('breadcrumbs') ?>
39
+ <?php echo $this->getChildHtml('maintop1Area') ?>
40
+ <?php echo $this->getChildHtml('maintop2Area') ?>
41
+ <?php echo $this->getChildHtml('maintop3Area') ?>
42
+ <div class="main-page">
43
+ <div class="col-right sidebar">
44
+ <?php echo $this->getChildHtml('right') ?>
45
+ <?php echo $this->getChildHtml('rightbottom1Area') ; ?>
46
+ </div>
47
+ <div class="col-main">
48
+ <?php echo $this->getChildHtml('global_messages') ?>
49
+ <?php echo $this->getChildHtml('contenttop1Area') ?>
50
+ <?php echo $this->getChildHtml('contenttop2Area') ?>
51
+ <div class="front-page">
52
+ <?php echo $this->getChildHtml('content') ?>
53
  </div>
54
+ <?php echo $this->getChildHtml('contentbottom1Area') ?>
55
+ <?php echo $this->getChildHtml('contentbottom2Area') ?>
56
+ </div>
 
57
  </div>
58
+ <?php echo $this->getChildHtml('mainbottom1Area') ?>
59
+ <?php echo $this->getChildHtml('mainbottom2Area') ?>
60
+ <?php echo $this->getChildHtml('mainbottom3Area') ?>
61
+ </div>
62
  </div>
63
  <?php echo $this->getChildHtml('footer') ?>
64
  <?php echo $this->getChildHtml('before_body_end') ?>
65
+ </div>
66
  </div>
67
+ <?php echo $this->getAbsoluteFooter() ?>
68
+ </body>
 
69
  </html>
app/design/frontend/ma2/ante/template/page/3columns.phtml CHANGED
@@ -1,62 +1,70 @@
1
  <?php
2
  /**
3
- * Magento
4
  *
5
  * NOTICE OF LICENSE
6
  *
7
- * This source file is subject to the Academic Free License (AFL 3.0)
8
- * that is bundled with this package in the file LICENSE_AFL.txt.
9
  * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/afl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
  *
15
  * DISCLAIMER
16
  *
17
- * Do not edit or add to this file if you wish to upgrade Magento to newer
18
- * versions in the future. If you wish to customize Magento for your
19
- * needs please refer to http://www.magentocommerce.com for more information.
20
  *
21
- * @category design
22
- * @package base_default
23
- * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
24
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
- */
26
- ?>
27
- <?php
28
- /**
29
- * Template for Mage_Page_Block_Html
30
- */
31
  ?>
32
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
33
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->getLang() ?>" lang="<?php echo $this->getLang() ?>">
34
- <head>
35
- <?php echo $this->getChildHtml('head');?>
36
- </head>
37
- <body<?php echo $this->getBodyClass()?' class="'.$this->getBodyClass().'"':'' ?>>
38
- <?php echo $this->getChildHtml('after_body_start') ?>
39
- <div class="wrapper">
40
- <?php echo $this->getChildHtml('global_notices') ?>
41
- <div class="page">
 
 
42
  <?php echo $this->getChildHtml('header') ?>
43
- <div class="main-container col3-layout">
44
- <div class="main">
45
- <?php echo $this->getChildHtml('breadcrumbs') ?>
46
- <div class="col-wrapper">
47
- <div class="col-main">
48
- <?php echo $this->getChildHtml('global_messages') ?>
49
- <?php echo $this->getChildHtml('content') ?>
50
- </div>
51
- <div class="col-left sidebar"><?php echo $this->getChildHtml('left') ?></div>
 
 
 
 
 
 
 
 
 
52
  </div>
53
- <div class="col-right sidebar"><?php echo $this->getChildHtml('right') ?></div>
 
 
54
  </div>
 
 
 
 
55
  </div>
56
  <?php echo $this->getChildHtml('footer') ?>
57
  <?php echo $this->getChildHtml('before_body_end') ?>
 
58
  </div>
59
- </div>
60
- <?php echo $this->getAbsoluteFooter() ?>
61
- </body>
62
- </html>
1
  <?php
2
  /**
3
+ * MagenMarket.com
4
  *
5
  * NOTICE OF LICENSE
6
  *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
  * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
 
 
 
11
  *
12
  * DISCLAIMER
13
  *
14
+ * Edit or modify this file with yourown risk.
 
 
15
  *
16
+ * @category Themes
17
+ * @package Ma2_Default theme
18
+ * @copyright Copyright (coffee) 2013 MagenMarket, http://www.magenmarket.com
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: 3columns.phtml 12 2013-11-05 10:00:22Z minhnv $ */
 
 
 
 
22
  ?>
23
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
24
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->getLang() ?>" lang="<?php echo $this->getLang() ?>">
25
+ <head>
26
+ <?php
27
+ echo $this->getChildHtml('head');
28
+ ?>
29
+ </head>
30
+ <body <?php echo $this->getBodyClass() ? ' class="'.$this->getBodyClass().'"':'' ?>>
31
+ <?php echo $this->getChildHtml('after_body_start') ?>
32
+ <div class="wrapper">
33
+ <?php echo $this->getChildHtml('global_notices') ?>
34
+ <div class="page">
35
  <?php echo $this->getChildHtml('header') ?>
36
+ <div class="main col3-layout">
37
+ <div class="container container-inner">
38
+ <?php echo $this->getChildHtml('breadcrumbs') ?>
39
+ <?php echo $this->getChildHtml('maintop1Area') ?>
40
+ <?php echo $this->getChildHtml('maintop2Area') ?>
41
+ <?php echo $this->getChildHtml('maintop3Area') ?>
42
+ <div class="main-page">
43
+ <div class="col-left sidebar"><?php echo $this->getChildHtml('left') ?></div>
44
+ <div class="col-right sidebar">
45
+ <?php echo $this->getChildHtml('right') ?>
46
+ <?php echo $this->getChildHtml('rightbottom1Area') ; ?>
47
+ </div>
48
+ <div class="col-main">
49
+ <?php echo $this->getChildHtml('global_messages') ?>
50
+ <?php echo $this->getChildHtml('contenttop1Area') ?>
51
+ <?php echo $this->getChildHtml('contenttop2Area') ?>
52
+ <div class="front-page">
53
+ <?php echo $this->getChildHtml('content') ?>
54
  </div>
55
+ <?php echo $this->getChildHtml('contentbottom1Area') ?>
56
+ <?php echo $this->getChildHtml('contentbottom2Area') ?>
57
+ </div>
58
  </div>
59
+ <?php echo $this->getChildHtml('mainbottom1Area') ?>
60
+ <?php echo $this->getChildHtml('mainbottom2Area') ?>
61
+ <?php echo $this->getChildHtml('mainbottom3Area') ?>
62
+ </div>
63
  </div>
64
  <?php echo $this->getChildHtml('footer') ?>
65
  <?php echo $this->getChildHtml('before_body_end') ?>
66
+ </div>
67
  </div>
68
+ <?php echo $this->getAbsoluteFooter() ?>
69
+ </body>
70
+ </html>
 
app/design/frontend/ma2/ante/template/page/empty.phtml CHANGED
@@ -20,7 +20,7 @@
20
  *
21
  * @category design
22
  * @package base_default
23
- * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
24
  * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
  */
26
  ?>
20
  *
21
  * @category design
22
  * @package base_default
23
+ * @copyright Copyright (c) 2013 Magento Inc. (http://www.magentocommerce.com)
24
  * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
  */
26
  ?>
app/design/frontend/ma2/ante/template/page/html/{sampleblocks/banner-bottom.phtml → banner-bottom.phtml} RENAMED
File without changes
app/design/frontend/ma2/ante/template/page/html/{sampleblocks/bannerimg.phtml → bannerimg.phtml} RENAMED
File without changes
app/design/frontend/ma2/ante/template/page/html/{sampleblocks/block-right-adv.phtml → block-right-adv.phtml} RENAMED
@@ -16,7 +16,7 @@ if(!isset($i_right_adv) || $i_right_adv == ""):
16
  ?>
17
  <div class="right-adv">
18
  <a href="#">
19
- <img src="<?php echo $urlSocial;?>" alt="<?php echo 'advantures';?>" width="220" />
20
  </a>
21
  </div>
22
  <?php
16
  ?>
17
  <div class="right-adv">
18
  <a href="#">
19
+ <img src="<?php echo $urlSocial;?>" alt="<?php echo 'advantures';?>" class="max-width" />
20
  </a>
21
  </div>
22
  <?php
app/design/frontend/ma2/ante/template/page/html/footer.phtml CHANGED
@@ -1,47 +1,27 @@
1
  <?php
2
  /**
3
- * Magento
4
  *
5
  * NOTICE OF LICENSE
6
  *
7
- * This source file is subject to the Academic Free License (AFL 3.0)
8
- * that is bundled with this package in the file LICENSE_AFL.txt.
9
  * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/afl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
  *
15
  * DISCLAIMER
16
  *
17
- * Do not edit or add to this file if you wish to upgrade Magento to newer
18
- * versions in the future. If you wish to customize Magento for your
19
- * needs please refer to http://www.magentocommerce.com for more information.
20
  *
21
- * @category design
22
- * @package base_default
23
- * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
24
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
- */
 
26
  ?>
27
- <div class="footer-container">
28
- <div class="footer">
29
- <div class="footer-top">
30
- <div class="footer-top-top">
31
- <?php echo $this->getChildHtml('newsletter') ?>
32
- <?php echo $this->getChildHtml('call-toll-free') ?>
33
- <?php echo $this->getChildHtml('block-free-shipping') ?>
34
- </div>
35
- <div class="footer-top-bottom">
36
- <?php echo $this->getChildHtml('block-footer-social') ?>
37
- </div>
38
- </div>
39
- <div class="footer-bottom">
40
- <?php echo $this->getChildHtml('footer-block-one')?>
41
- <?php echo $this->getChildHtml('footer-block-two')?>
42
- <?php echo $this->getChildHtml('footer-block-three')?>
43
- <?php echo $this->getChildHtml('i-footer-right') ?>
44
- </div>
45
- </div>
46
- <div class="bottom-footer"></div>
47
  </div>
1
  <?php
2
  /**
3
+ * MagenMarket.com
4
  *
5
  * NOTICE OF LICENSE
6
  *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
  * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
 
 
 
11
  *
12
  * DISCLAIMER
13
  *
14
+ * Edit or modify this file with yourown risk.
 
 
15
  *
16
+ * @category Themes
17
+ * @package Ma2_Default theme
18
+ * @copyright Copyright (coffee) 2013 MagenMarket, http://www.magenmarket.com
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: footer.phtml 12 2013-11-05 10:00:22Z minhnv $ */
22
  ?>
23
+ <div class="footer">
24
+ <div class="container container-inner">
25
+ <?php echo $this->getChildHtml() ?>
26
+ </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
27
  </div>
app/design/frontend/ma2/ante/template/page/html/head.phtml CHANGED
@@ -220,11 +220,11 @@ endif;
220
  $PresetSession = Mage::getSingleton('core/session')->getData('PresetSession');
221
  if(isset($PresetSession) && !empty($PresetSession)):
222
  $faviSrc = $this->getSkinUrl('images/favicon-'.$PresetSession.'.png');
223
- $style = 'styles-'.$PresetSession.'.css';
224
  else:
225
  $preStyle = Mage::getStoreConfig("theme_options/general/preset_styles");
226
  if(isset($preStyle) && !empty($preStyle)):
227
- $style = 'styles-'.$preStyle.'.css';
228
  if($themeOptions->favicon != '') :
229
  $faviSrc = $mediaUrl.'ma2/images/'.$themeOptions->favicon;
230
  else:
220
  $PresetSession = Mage::getSingleton('core/session')->getData('PresetSession');
221
  if(isset($PresetSession) && !empty($PresetSession)):
222
  $faviSrc = $this->getSkinUrl('images/favicon-'.$PresetSession.'.png');
223
+ $style = $PresetSession.'.css';
224
  else:
225
  $preStyle = Mage::getStoreConfig("theme_options/general/preset_styles");
226
  if(isset($preStyle) && !empty($preStyle)):
227
+ $style = $preStyle.'.css';
228
  if($themeOptions->favicon != '') :
229
  $faviSrc = $mediaUrl.'ma2/images/'.$themeOptions->favicon;
230
  else:
app/design/frontend/ma2/ante/template/page/html/header.phtml CHANGED
@@ -1,122 +1,99 @@
1
  <?php
2
  /**
3
- * Magento
4
  *
5
  * NOTICE OF LICENSE
6
  *
7
- * This source file is subject to the Academic Free License (AFL 3.0)
8
- * that is bundled with this package in the file LICENSE_AFL.txt.
9
  * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/afl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
  *
15
  * DISCLAIMER
16
  *
17
- * Do not edit or add to this file if you wish to upgrade Magento to newer
18
- * versions in the future. If you wish to customize Magento for your
19
- * needs please refer to http://www.magentocommerce.com for more information.
20
  *
21
- * @category design
22
- * @package base_default
23
- * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
24
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
- *
26
- * @var Mage_Page_Block_Html_Header $this
27
- */
28
-
29
- $PresetSession = Mage::getSingleton('core/session')->getData('PresetSession');
 
 
 
 
 
30
  if(isset($PresetSession) && !empty($PresetSession)):
31
  $logoSrc = $this->getSkinUrl('images/logo-'.$PresetSession.'.png');
32
- else:
33
- $mediaUrl = Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA);
34
- $generalOptions = json_decode(json_encode(Mage::getStoreConfig('theme_options/general')));
35
- if ( $generalOptions->is_custom_logo == 1 && $generalOptions->logo_image != '' ):
36
- $logoSrc = $mediaUrl.'ma2/images/'.$generalOptions->logo_image;
37
- $logoWidth = ( trim($generalOptions->logo_width) != '' && intval($generalOptions->logo_width) > 0 ) ? 'width="'. $generalOptions->logo_width .'"' : '';
38
- $logoHeight = ( trim($generalOptions->logo_height) != '' && intval($generalOptions->logo_height) > 0 ) ? 'height="'. $generalOptions->logo_height .'"' : '';
39
- else:
40
- if(isset($generalOptions->preset_styles) && !empty($generalOptions->preset_styles)):
41
- $logoSrc = $this->getSkinUrl('images/logo-'.$generalOptions->preset_styles.'.png');
42
- else:
43
- $logoSrc = $this->getLogoSrc();
44
- endif;
45
- endif;
46
- endif;
47
- $slogan = trim($generalOptions->slogan) != '' ? $generalOptions->slogan : $this->getLogoAlt();
48
  ?>
49
  <div class="header-container">
50
- <div class="header">
51
- <?php if ($this->getIsHomePage()):?>
52
- <h1 class="logo"><strong><?php echo $slogan ?></strong><a href="<?php echo $this->getUrl('') ?>" title="<?php echo $slogan ?>" class="logo"><img src="<?php echo $logoSrc ?>" <?php echo $logoWidth; ?> <?php echo $logoHeight; ?> alt="<?php echo $slogan ?>" /></a></h1>
53
- <?php else:?>
54
- <a href="<?php echo $this->getUrl('') ?>" title="<?php echo $slogan ?>" class="logo"><strong><?php echo $slogan ?></strong><img src="<?php echo $logoSrc ?>" <?php echo $logoWidth; ?> <?php echo $logoHeight; ?> alt="<?php echo $slogan ?>" /></a>
55
- <?php endif?>
56
- <div class="header-top">
57
- <?php if ($tmp_html = $this->getChildHtml('i_block_header_top_links')):?>
58
- <div class="header-top-links"><?php echo $tmp_html; ?></div>
59
- <?php endif;?>
60
- <div class="netq-login">
61
- <?php if (Mage::getSingleton('customer/session')->isLoggedIn()==0): ?>
62
- <a href="<?php echo $this->getUrl('customer/account/login') ?>"><?php echo $this->__('Customer Login') ?></a>
63
- <span>|</span>
64
- <a href="<?php echo $this->getUrl('customer/account/create') ?>"><?php echo $this->__('Create new account') ?></a>
65
- <?php else: ?>
66
- <p class="welcome-msg"><?php echo $this->getWelcome() ?> <?php echo $this->getAdditionalHtml() ?></p>
67
- <?php endif ?>
68
- </div>
69
- </div>
70
- <div class="netq-search">
71
- <?php echo $this->getChildHtml('topSearch'); ?>
72
- </div>
73
- <div class="quick-access">
74
- <?php echo $this->getChildHtml('topLinks') ?>
 
 
 
 
 
 
 
 
 
75
  </div>
 
 
 
 
 
 
 
76
  </div>
 
 
 
 
 
77
  </div>
78
- <?php echo $this->getChildHtml('topMenu') ?>
79
- <?php if ($this->getIsHomePage()):?>
80
- <script type="text/javascript" src="<?php echo $this->getJsUrl('ma2_all/jquery-1.4.2.js') ?>"></script>
81
- <script type="text/javascript" src="<?php echo $this->getJsUrl('ma2_all/coin-slider.min.js') ?>"></script>
82
- <div id="banner-container">
83
- <div class="wrapper-container">
84
- <div class="netq-sileshown">
85
- <div id="games">
86
- <?php echo $this->getChildHtml('slideshow') ?>
87
- </div>
88
- <script>
89
- var j = jQuery.noConflict();
90
- j(document).ready(function() {
91
- j('#games').coinslider({ hoverPause: false });
92
- });
93
- </script>
94
- </div>
95
- <?php echo $this->getChildHtml('banner-img') ?>
96
- <div class="space-top"></div>
97
- <?php echo $this->getChildHtml('banner-bottom') ?>
98
- <div class="space-top"></div>
99
- </div>
100
- <?php
101
- $type_manufacturer = 'computer_manufacturers';
102
- $product = Mage::getModel('catalog/product');
103
- $attributes = Mage::getResourceModel('eav/entity_attribute_collection')
104
- ->setEntityTypeFilter($product->getResource()->getTypeId())
105
- ->addFieldToFilter('attribute_code', $type_manufacturer);
106
- $attribute = $attributes->getFirstItem()->setEntity($product->getResource());
107
- $manufacturers = $attribute->getSource()->getAllOptions(false);
108
- $_url_a = Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB).'catalogsearch/advanced/result/';
109
- ?>
110
- <div class="wrapper-container wrapper-manufacturer">
111
- <ul id="manufacturer_list">
112
- <?php foreach ($manufacturers as $manufacturer): $i++; ?>
113
- <li class="<?php if($i == 7){?> last <?php }?>">
114
- <a href="<?php echo $_url_a;?>?manufacturer[]=<?php echo $manufacturer['value'] ?>">
115
- <img src="<?php echo $this->getSkinUrl('images/'.$manufacturer['label'].'.png') ?>"/>
116
- </a>
117
- </li>
118
- <?php endforeach; ?>
119
- </ul>
120
- </div>
121
- </div>
122
- <?php endif; ?>
1
  <?php
2
  /**
3
+ * MagenMarket.com
4
  *
5
  * NOTICE OF LICENSE
6
  *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
  * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
 
 
 
11
  *
12
  * DISCLAIMER
13
  *
14
+ * Edit or modify this file with yourown risk.
 
 
15
  *
16
+ * @category Themes
17
+ * @package Ma2_Default theme
18
+ * @copyright Copyright (coffee) 2013 MagenMarket, http://www.magenmarket.com
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: header.phtml 12 2013-11-05 10:00:22Z linhnt $ */
22
+
23
+ $mediaUrl = Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA);
24
+ $generalOptions = json_decode(json_encode(Mage::getStoreConfig('theme_options/general')));
25
+
26
+ $logoWidth = '';
27
+ $logoHeight = '';
28
+ $PresetSession = Mage::getSingleton('core/session')->getData('PresetSession');
29
+
30
  if(isset($PresetSession) && !empty($PresetSession)):
31
  $logoSrc = $this->getSkinUrl('images/logo-'.$PresetSession.'.png');
32
+ else:
33
+ if ( $generalOptions->is_custom_logo == 1 && $generalOptions->logo_image != '' ) {
34
+ $logoSrc = $mediaUrl.'ma2/images/'.$generalOptions->logo_image;
35
+
36
+ //logo width
37
+ $logoWidth = ( trim($generalOptions->logo_width) != '' && intval($generalOptions->logo_width) > 0 ) ? 'width="'. $generalOptions->logo_width .'"' : '';
38
+
39
+ //logo height
40
+ $logoHeight = ( trim($generalOptions->logo_height) != '' && intval($generalOptions->logo_height) > 0 ) ? 'height="'. $generalOptions->logo_height .'"' : '';
41
+ }
42
+ else
43
+ {
44
+ $logoSrc = $this->getSkinUrl('images/logo.png');
45
+ }
46
+ endif;
47
+ $slogan = trim($generalOptions->slogan) != '' ? $generalOptions->slogan : $this->getLogoAlt();
48
  ?>
49
  <div class="header-container">
50
+ <div class="header">
51
+ <?php if ($generalOptions->display_preset_styles == 1) : ?>
52
+ <?php echo $this->getChildHtml('presetStylesBox'); ?>
53
+ <?php endif; ?>
54
+ <div class="container">
55
+ <?php if ($this->getIsHomePage()):?>
56
+ <h1 class="logo">
57
+ <strong><?php echo $slogan ?></strong>
58
+ <a href="<?php echo $this->getUrl('') ?>" title="<?php echo $slogan ?>" class="logo">
59
+ <img src="<?php echo $logoSrc ?>" <?php echo $logoWidth; ?> <?php echo $logoHeight; ?> alt="<?php echo $slogan ?>" />
60
+ </a>
61
+ </h1>
62
+ <?php else:?>
63
+ <a href="<?php echo $this->getUrl('') ?>" title="<?php echo $slogan ?>" class="logo">
64
+ <strong><?php echo $slogan ?></strong>
65
+ <img src="<?php echo $logoSrc ?>" <?php echo $logoWidth; ?> <?php echo $logoHeight; ?> alt="<?php echo $slogan ?>" />
66
+ </a>
67
+ <?php endif?>
68
+ <div class="header-top">
69
+ <?php if ($tmp_html = $this->getChildHtml('i_block_header_top_links')):?>
70
+ <div class="header-top-links"><?php echo $tmp_html; ?></div>
71
+ <?php endif;?>
72
+ <div class="netq-login">
73
+ <?php if (Mage::getSingleton('customer/session')->isLoggedIn()==0): ?>
74
+ <a href="<?php echo $this->getUrl('customer/account/login') ?>">
75
+ <?php echo $this->__('Customer Login') ?>
76
+ </a>
77
+ <span>|</span>
78
+ <a href="<?php echo $this->getUrl('customer/account/create') ?>">
79
+ <?php echo $this->__('Create new account') ?>
80
+ </a>
81
+ <?php else: ?>
82
+ <p class="welcome-msg"><?php echo $this->getWelcome() ?> <?php echo $this->getAdditionalHtml() ?></p>
83
+ <?php endif ?>
84
  </div>
85
+ </div>
86
+ <div class="netq-search">
87
+ <?php echo $this->getChildHtml('topSearch'); ?>
88
+ </div>
89
+ <div class="quick-access">
90
+ <?php echo $this->getChildHtml('topLinks') ?>
91
+ </div>
92
  </div>
93
+ </div>
94
+ </div>
95
+ <div class="top-blocks">
96
+ <?php echo $this->getChildHtml('top1Area') ?>
97
+ <?php echo $this->getChildHtml('top2Area') ?>
98
  </div>
99
+ <?php echo $this->getChildHtml('topMenu') ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/ma2/ante/template/page/html/{appendblocks/ie7ie8.phtml → ie7ie8.phtml} RENAMED
File without changes
app/design/frontend/ma2/ante/template/page/html/ma2blocks.phtml ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Themes
17
+ * @package Ma2_Default theme
18
+ * @copyright Copyright (coffee) 2013 MagenMarket, http://www.magenmarket.com
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: ma2blocks.phtml 12 2013-11-05 10:00:22Z minhnv $ */
22
+
23
+ $blocks = $this->getChild();
24
+ if(count($blocks) > 0) :
25
+
26
+ $_layouts = $this->getLayouts($this->getNameInLayout(), count($blocks));
27
+ ?>
28
+ <div class="<?php echo $this->getNameInLayout(); ?>Area blocks-wrapper">
29
+ <?php
30
+ $i = 0;
31
+ foreach ($blocks as $block){
32
+ $class = 'column';
33
+ if ($i == 0 && $_layouts[$i] != 100) {
34
+ $class .= ' block-first';
35
+ } else if ($i == (count($blocks)-1) && $_layouts[$i] != 100) {
36
+ $class .= ' block-last';
37
+ } else {
38
+ $class .= ' block-midle';
39
+ }
40
+ $class .= ' width'.$_layouts[$i];
41
+
42
+ echo '<div class="widget-block '.$class.'">'.$block->toHtml().'</div>';
43
+ $i++;
44
+ }
45
+ //echo $this->getChildHtml()
46
+ ?>
47
+ </div>
48
+ <?php endif; ?>
app/design/frontend/ma2/ante/template/page/html/ma2blocks_simple.phtml ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * MagenMarket.com
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Edit or modify this file with yourown risk.
15
+ *
16
+ * @category Themes
17
+ * @package Ma2_Default theme
18
+ * @copyright Copyright (coffee) 2013 MagenMarket, http://www.magenmarket.com
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ **/
21
+ /* $Id: ma2blocks_simple.phtml 12 2013-11-05 10:00:22Z minhnv $ */
22
+ ?>
23
+ <?php if(count($this->getChild()) > 0) : ?>
24
+ <div class="<?php echo $this->getNameInLayout(); ?>Area blocks-wrapper blocks-sample">
25
+ <?php
26
+ echo $this->getChildHtml();
27
+ ?>
28
+ </div>
29
+ <?php endif; ?>
app/design/frontend/ma2/ante/template/page/html/ma2head.phtml DELETED
@@ -1,178 +0,0 @@
1
- <?php
2
- $valueFields = array();
3
- $themeOptions = Mage::getStoreConfig('theme_options');
4
- foreach ($themeOptions as $group_key=>$group)
5
- {
6
- foreach ($group as $key=>$field)
7
- {
8
- $valueFields[$key] = $field;
9
- }
10
- }
11
- $themeOptions = json_decode(json_encode($valueFields));
12
- //echo '<pre>';var_dump($themeOptions);
13
-
14
- /* $savedFont = explode(':', $element->getValue());
15
- if (isset($savedFont[0]) && $savedFont[1] && $savedFont[0] == "w"){
16
- $css .= '
17
- #'.$previewId.' { font-family: "'.$savedFont[1].'";}
18
- ';
19
- }
20
- else{
21
- $css .= '
22
- #'.$previewId.' { font-family: '.str_replace(array('s:', 'w:'), '', $element->getValue()).';}
23
- ';
24
- } */
25
- /**
26
- *Typography - body font config
27
- */
28
- $body_change = '';
29
- if($themeOptions->body_font_family_change == 1)
30
- {
31
- $body_change .= 'font-family:"'.$themeOptions->body_font_family.'";';
32
- }
33
- if(!empty($themeOptions->body_font_size))
34
- {
35
- $body_change .= 'font-size: '.$themeOptions->body_font_size.';';
36
- }
37
- if($themeOptions->body_text_color_change == 1)
38
- {
39
- $body_change .= 'color:#'.$themeOptions->body_text_color.';';
40
- }
41
- if(!empty($themeOptions->body_line_height))
42
- {
43
- $body_change .= 'line-height: '.$themeOptions->body_line_height.';';
44
- }
45
-
46
- /**
47
- *Typography - custom font-family
48
- */
49
- if ($themeOptions->is_custom_font_1 == 1)
50
- {
51
- $custom_list_1 = $themeOptions->custom_list_1 .'{font-family:"'. $themeOptions->custom_font_family_1 .'";}';
52
- }
53
-
54
- if ($themeOptions->is_custom_font_2 == 1)
55
- {
56
- $custom_list_2 = $themeOptions->custom_list_2 .'{font-family:"'. $themeOptions->custom_font_family_2 .'";}';
57
- }
58
-
59
- /**
60
- *Background - body config
61
- */
62
- if($themeOptions->body_background_change == 1)
63
- {
64
- if($themeOptions->body_background_color_change == 1 && $themeOptions->body_background_image != null)
65
- {
66
- $body_change .= 'background: url("'. $themeOptions->body_background_image .'") '. $themeOptions->body_background_image_repeat .' '. $themeOptions->body_background_image_position .' #'.$themeOptions->body_background_color .';';
67
-
68
- }
69
- else if ($themeOptions->body_background_color_change == 1 && $themeOptions->body_background_image == null)
70
- {
71
- $body_change .= 'background-color:#'.$themeOptions->body_background_color .';';
72
-
73
- }
74
- else if ($themeOptions->body_background_color_change == 0 && $themeOptions->body_background_image != null)
75
- {
76
- $body_change .= 'background: url("'.$themeOptions->body_background_image .'") '. $themeOptions->body_background_image_repeat .' '. $themeOptions->body_background_image_position .';';
77
- }
78
- }
79
- /**
80
- *Background - header config
81
- */
82
- $header_change = '';
83
- if($themeOptions->header_background_change == 1)
84
- {
85
- if($themeOptions->header_background_color_change == 1 && $themeOptions->header_background_image != null)
86
- {
87
- $header_change .= 'background: url("'. $themeOptions->header_background_image .'") '. $themeOptions->header_background_image_repeat .' '. $themeOptions->header_background_image_position .' #'.$themeOptions->header_background_color .';';
88
-
89
- }
90
- else if ($themeOptions->header_background_color_change == 1 && $themeOptions->header_background_image == null)
91
- {
92
- $header_change .= 'background-color:#'.$themeOptions->header_background_color .';';
93
-
94
- }
95
- else if ($themeOptions->header_background_color_change == 0 && $themeOptions->header_background_image != null)
96
- {
97
- $header_change .= 'background: url("'.$themeOptions->header_background_image .'") '. $themeOptions->header_background_image_repeat .' '. $themeOptions->header_background_image_position .';';
98
- }
99
- }
100
- /**
101
- *Background - main config
102
- */
103
- $main_change = '';
104
- if($themeOptions->main_background_change == 1)
105
- {
106
- if($themeOptions->main_background_color_change == 1 && $themeOptions->main_background_image != null)
107
- {
108
- $main_change .= 'background: url("'. $themeOptions->main_background_image .'") '. $themeOptions->main_background_image_repeat .' '. $themeOptions->main_background_image_position .' #'.$themeOptions->main_background_color .';';
109
-
110
- }
111
- else if ($themeOptions->main_background_color_change == 1 && $themeOptions->main_background_image == null)
112
- {
113
- $main_change .= 'background-color:#'.$themeOptions->main_background_color .';';
114
-
115
- }
116
- else if ($themeOptions->main_background_color_change == 0 && $themeOptions->main_background_image != null)
117
- {
118
- $main_change .= 'background: url("'.$themeOptions->main_background_image .'") '. $themeOptions->main_background_image_repeat .' '. $themeOptions->main_background_image_position .';';
119
- }
120
- }
121
- /**
122
- *Background - footer config
123
- */
124
- $footer_change = '';
125
- if($themeOptions->footer_background_change == 1)
126
- {
127
- if($themeOptions->footer_background_color_change == 1 && $themeOptions->footer_background_image != null)
128
- {
129
- $footer_change .= 'background: url("'. $themeOptions->footer_background_image .'") '. $themeOptions->footer_background_image_repeat .' '. $themeOptions->footer_background_image_position .' #'.$themeOptions->footer_background_color .';';
130
-
131
- }
132
- else if ($themeOptions->footer_background_color_change == 1 && $themeOptions->footer_background_image == null)
133
- {
134
- $footer_change .= 'background-color:#'.$themeOptions->footer_background_color .';';
135
-
136
- }
137
- else if ($themeOptions->footer_background_color_change == 0 && $themeOptions->footer_background_image != null)
138
- {
139
- $footer_change .= 'background: url("'.$themeOptions->footer_background_image .'") '. $themeOptions->footer_background_image_repeat .' '. $themeOptions->footer_background_image_position .';';
140
- }
141
- }
142
- /**
143
- *Layouts - theme width
144
- */
145
- $theme_width = '';
146
- if(!empty($themeOptions->theme_width))
147
- {
148
- $theme_width .= 'width:'. $themeOptions->theme_width .';';
149
- }
150
- /**
151
- *Layouts - left width
152
- */
153
- $left_width = '';
154
- if(!empty($themeOptions->left_width))
155
- {
156
- $left_width .= 'width:'. $themeOptions->left_width .';';
157
- }
158
- /**
159
- *Layouts - right width
160
- */
161
- $right_width = '';
162
- if(!empty($themeOptions->right_width))
163
- {
164
- $right_width .= 'width:'. $themeOptions->right_width .';';
165
- }
166
-
167
- echo '<style type="text/css">'.
168
- 'body{'.$body_change.'}'.
169
- 'div.header{'.$header_change.'}'.
170
- 'div.main{'.$main_change.'}'.
171
- 'div.footer{'.$footer_change.'}'.
172
- $custom_list_1.
173
- $custom_list_2.
174
- 'div.theme_width{'.$theme_width.'}'.
175
- 'div.left_width{'.$left_width.'}'.
176
- 'div.right_width{'.$right_width.'}'.
177
- '</style>'
178
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/ma2/ante/template/page/html/notices.phtml DELETED
@@ -1,69 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Academic Free License (AFL 3.0)
8
- * that is bundled with this package in the file LICENSE_AFL.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/afl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * DISCLAIMER
16
- *
17
- * Do not edit or add to this file if you wish to upgrade Magento to newer
18
- * versions in the future. If you wish to customize Magento for your
19
- * needs please refer to http://www.magentocommerce.com for more information.
20
- *
21
- * @category design
22
- * @package base_default
23
- * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
24
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
- */
26
- ?>
27
- <?php
28
- /**
29
- * @var $this Mage_Page_Block_Html_Notices
30
- */
31
- ?>
32
- <?php if ($this->displayNoscriptNotice()): ?>
33
- <noscript>
34
- <div class="global-site-notice noscript">
35
- <div class="notice-inner">
36
- <p>
37
- <strong><?php echo $this->__('JavaScript seems to be disabled in your browser.'); ?></strong><br />
38
- <?php echo $this->__('You must have JavaScript enabled in your browser to utilize the functionality of this website.'); ?>
39
- </p>
40
- </div>
41
- </div>
42
- </noscript>
43
- <?php endif; ?>
44
- <?php if ($this->displayDemoNotice()): ?>
45
- <div class="global-site-notice demo-notice">
46
- <div class="notice-inner"><p><?php echo $this->__('This is a demo store. Any orders placed through this store will not be honored or fulfilled.') ?></p></div>
47
- </div>
48
- <?php endif; ?>
49
- <?php if (Mage::helper('core/cookie')->isUserNotAllowSaveCookie()): ?>
50
- <div class="global-site-notice notice-cookie" id="notice-cookie-block" style="display: none">
51
- <div class="notice-inner">
52
- <p><?php echo $this->__('This website requires cookies to provide all of its features. For more information on what data is contained in the cookies, please see our <a href="%s">Privacy Policy page</a>. To accept cookies from this site, please click the Allow button below.', $this->getPrivacyPolicyLink()) ?></p>
53
- <div class="actions"><button class="button" onclick="allowSaveCookie()"><span><span><?php echo $this->__('Allow');?></span></span></button></div>
54
- </div>
55
- </div>
56
- <script type="text/javascript">
57
- /* <![CDATA[ */
58
- function allowSaveCookie() {
59
- Mage.Cookies.set('<?php echo Mage_Core_Helper_Cookie::IS_USER_ALLOWED_SAVE_COOKIE; ?>', '<?php echo Mage::helper('core/cookie')->getAcceptedSaveCookiesWebsiteIds()?>', new Date(new Date().getTime() + <?php echo Mage::helper('core/cookie')->getCookieRestrictionLifetime() ?> * 1000));
60
- if (Mage.Cookies.get('<?php echo Mage_Core_Helper_Cookie::IS_USER_ALLOWED_SAVE_COOKIE; ?>')) {
61
- window.location.reload();
62
- } else {
63
- window.location.href = '<?php echo Mage::getUrl('cms/index/noCookies')?>';
64
- }
65
- }
66
- $('notice-cookie-block').show();
67
- /* ]]> */
68
- </script>
69
- <?php endif; ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/ma2/ante/template/page/html/pager.phtml DELETED
@@ -1,124 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Academic Free License (AFL 3.0)
8
- * that is bundled with this package in the file LICENSE_AFL.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/afl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * DISCLAIMER
16
- *
17
- * Do not edit or add to this file if you wish to upgrade Magento to newer
18
- * versions in the future. If you wish to customize Magento for your
19
- * needs please refer to http://www.magentocommerce.com for more information.
20
- *
21
- * @category design
22
- * @package base_default
23
- * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
24
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
- */
26
- ?>
27
- <?php
28
- /**
29
- * Pager template
30
- *
31
- * @see Mage_Page_Block_Html_Pager
32
- */
33
- ?>
34
- <?php if($this->getCollection()->getSize()): ?>
35
-
36
- <?php if($this->getUseContainer()): ?>
37
- <div class="pager">
38
- <?php endif ?>
39
-
40
- <?php if($this->getShowAmounts()): ?>
41
- <p class="amount">
42
- <?php if($this->getLastPageNum()>1): ?>
43
- <?php echo $this->__('Items %s to %s of %s total', $this->getFirstNum(), $this->getLastNum(), $this->getTotalNum()) ?>
44
- <?php else: ?>
45
- <strong><?php echo $this->__('%s Item(s)', $this->getTotalNum()) ?></strong>
46
- <?php endif; ?>
47
- </p>
48
- <?php endif ?>
49
-
50
- <?php if($this->getShowPerPage()): ?>
51
- <div class="limiter">
52
- <label><?php echo $this->__('Show') ?></label>
53
- <select onchange="setLocation(this.value)">
54
- <?php foreach ($this->getAvailableLimit() as $_key=>$_limit): ?>
55
- <option value="<?php echo $this->getLimitUrl($_key) ?>"<?php if($this->isLimitCurrent($_key)): ?> selected="selected"<?php endif ?>>
56
- <?php echo $_limit ?>
57
- </option>
58
- <?php endforeach; ?>
59
- </select> <?php echo $this->__('per page') ?>
60
- </div>
61
- <?php endif ?>
62
-
63
- <?php if($this->getLastPageNum()>1): ?>
64
- <div class="pages">
65
- <strong><?php echo $this->__('Page:') ?></strong>
66
- <ol>
67
- <?php if (!$this->isFirstPage()): ?>
68
- <li>
69
- <a class="previous<?php if(!$this->getAnchorTextForPrevious()): ?> i-previous<?php endif;?>" href="<?php echo $this->getPreviousPageUrl() ?>" title="<?php echo $this->__('Previous') ?>">
70
- <?php if(!$this->getAnchorTextForPrevious()): ?>
71
- <img src="<?php echo $this->getSkinUrl('images/pager_arrow_left.gif') ?>" alt="<?php echo $this->__('Previous') ?>" class="v-middle" />
72
- <?php else: ?>
73
- <?php echo $this->getAnchorTextForPrevious() ?>
74
- <?php endif;?>
75
- </a>
76
- </li>
77
- <?php endif;?>
78
-
79
- <?php if ($this->canShowFirst()): ?>
80
- <li><a class="first" href="<?php echo $this->getFirstPageUrl() ?>">1</a></li>
81
- <?php endif;?>
82
-
83
- <?php if ($this->canShowPreviousJump()): ?>
84
- <li><a class="previous_jump" title="" href="<?php echo $this->getPreviousJumpUrl() ?>">...</a></li>
85
- <?php endif;?>
86
-
87
- <?php foreach ($this->getFramePages() as $_page): ?>
88
- <?php if ($this->isPageCurrent($_page)): ?>
89
- <li class="current"><?php echo $_page ?></li>
90
- <?php else: ?>
91
- <li><a href="<?php echo $this->getPageUrl($_page) ?>"><?php echo $_page ?></a></li>
92
- <?php endif;?>
93
- <?php endforeach;?>
94
-
95
-
96
- <?php if ($this->canShowNextJump()): ?>
97
- <li><a class="next_jump" title="" href="<?php echo $this->getNextJumpUrl() ?>">...</a></li>
98
- <?php endif;?>
99
-
100
- <?php if ($this->canShowLast()): ?>
101
- <li><a class="last" href="<?php echo $this->getLastPageUrl() ?>"><?php echo $this->getLastPageNum() ?></a></li>
102
- <?php endif;?>
103
-
104
- <?php if (!$this->isLastPage()): ?>
105
- <li>
106
- <a class="next<?php if(!$this->getAnchorTextForNext()): ?> i-next<?php endif; ?>" href="<?php echo $this->getNextPageUrl() ?>" title="<?php echo $this->__('Next') ?>">
107
- <?php if(!$this->getAnchorTextForNext()): ?>
108
- <img src="<?php echo $this->getSkinUrl('images/pager_arrow_right.gif') ?>" alt="<?php echo $this->__('Next') ?>" class="v-middle" />
109
- <?php else: ?>
110
- <?php echo $this->getAnchorTextForNext() ?>
111
- <?php endif;?>
112
- </a>
113
- </li>
114
- <?php endif;?>
115
- </ol>
116
-
117
- </div>
118
- <?php endif; ?>
119
-
120
- <?php if($this->getUseContainer()): ?>
121
- </div>
122
- <?php endif ?>
123
-
124
- <?php endif ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/ma2/ante/template/page/html/{appendblocks/presetstyle.phtml → presetstyles.phtml} RENAMED
File without changes
app/design/frontend/ma2/ante/template/page/html/sampleblocks/block-call-toll-free.phtml DELETED
@@ -1,22 +0,0 @@
1
- <?php
2
- $i_call_toll_free = $this->getLayout()->createBlock("cms/block")->setBlockId("i_call_toll_free")->toHtml();
3
- if(!isset($i_call_toll_free) || $i_call_toll_free == ""):
4
- ?>
5
- <div class="call-toll-free">
6
- <div class="call-title">
7
- <span><?php echo $this->__('Call toll free');?></span>
8
- </div>
9
- <div class="number-call">
10
- <span>
11
- <?php
12
- echo '+0123-456-789-00';
13
- ?>
14
- </span>
15
- </div>
16
- <p><?php echo $this->__('Lorem ipsum dolor sit amet');?></p>
17
- </div>
18
- <?php
19
- else:
20
- echo $i_call_toll_free;
21
- endif;
22
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/ma2/ante/template/page/html/sampleblocks/block-free-shipping.phtml DELETED
@@ -1,29 +0,0 @@
1
- <?php
2
- $ma2_block_free_shipping = $this->getLayout()->createBlock("cms/block")->setBlockId("ma2_block_free_shipping")->toHtml();
3
- if(!isset($ma2_block_free_shipping) || $ma2_block_free_shipping == ""):
4
- ?>
5
- <div class="free_shipping">
6
- <div class="free_shipping-left">
7
- <div class="free_shipping_title">
8
- <span>
9
- <?php echo $this->__(' free shipping');?>
10
- </span>
11
- </div>
12
- <div class="free_shipping_onorder">
13
- <span>
14
- <?php echo $this->__('on order over');?>
15
- </span>
16
- </div>
17
- <p><?php echo $this->__('Lorem ipsum dolor sit'); ?></p>
18
- </div>
19
- <div class="free_shipping-right">
20
- <span>
21
- <?php echo '$99'; ?>
22
- </span>
23
- </div>
24
- </div>
25
- <?php
26
- else:
27
- echo $ma2_block_free_shipping;
28
- endif;
29
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/ma2/ante/template/page/html/sampleblocks/block-header-top-links.phtml DELETED
@@ -1,13 +0,0 @@
1
- <?php
2
- $block_header_top_links = $this->getLayout()->createBlock("cms/block")->setBlockId("block_header_top_links")->toHtml();
3
- if(!isset($block_header_top_links) || $block_header_top_links == ""):
4
- ?>
5
- <div class="header-top-link">
6
- Earn 3% back on purchases just for having an account! Data demo
7
- <a href="#">Learn more...</a>
8
- </div>
9
- <?php
10
- else:
11
- echo $block_header_top_links;
12
- endif;
13
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/ma2/ante/template/page/html/sampleblocks/footer-block-one.phtml DELETED
@@ -1,20 +0,0 @@
1
- <?php
2
- $block_footer_one = $this->getLayout()->createBlock("cms/block")->setBlockId("footer_block_one")->toHtml();
3
- if(!isset($block_footer_one) || $block_footer_one == ""):
4
- ?>
5
- <div class="footer-links-column-wrapper">
6
- <h6 class="heading">Lorem ipsum dolor 1</h6>
7
- <ul>
8
- <li>Proin sed odio</li>
9
- <li>Et ante adipiscing</li>
10
- <li>Lobortis Quisque</li>
11
- <li>eleLorem ipsum</li>
12
- <li>Dolor siting elit</li>
13
- <li>Data demo from template</li>
14
- </ul>
15
- </div>
16
- <?php
17
- else:
18
- echo $block_footer_one;
19
- endif;
20
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/ma2/ante/template/page/html/sampleblocks/footer-block-social.phtml DELETED
@@ -1,17 +0,0 @@
1
- <?php
2
- $block_footer_social = $this->getLayout()->createBlock("cms/block")->setBlockId("block_footer_social")->toHtml();
3
- if(!isset($block_footer_social) || $block_footer_social == ""):
4
- ?>
5
- <div class="box-demo-social">
6
- <a href="#" title="Find twitter">
7
- <img src="<?php echo $this->getSkinUrl('images/twitter.png');?>" alt="social" />
8
- </a>
9
- <a href="#" title="Find facebook">
10
- <img src="<?php echo $this->getSkinUrl('images/facebook.png');?>" alt="social" />
11
- </a>
12
- </div>
13
- <?php
14
- else:
15
- echo $block_footer_social;
16
- endif;
17
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/ma2/ante/template/page/html/sampleblocks/footer-block-three.phtml DELETED
@@ -1,20 +0,0 @@
1
- <?php
2
- $block_footer_three = $this->getLayout()->createBlock("cms/block")->setBlockId("footer_block_three")->toHtml();
3
- if(!isset($block_footer_three) || $block_footer_three == ""):
4
- ?>
5
- <div class="footer-links-column-wrapper">
6
- <h6 class="heading">Lorem ipsum dolor 3</h6>
7
- <ul>
8
- <li>Proin sed odio</li>
9
- <li>Et ante adipiscing</li>
10
- <li>Lobortis Quisque</li>
11
- <li>eleLorem ipsum</li>
12
- <li>Dolor siting elit</li>
13
- <li>Data demo from template</li>
14
- </ul>
15
- </div>
16
- <?php
17
- else:
18
- echo $block_footer_three;
19
- endif;
20
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/ma2/ante/template/page/html/sampleblocks/footer-block-two.phtml DELETED
@@ -1,20 +0,0 @@
1
- <?php
2
- $block_footer_two = $this->getLayout()->createBlock("cms/block")->setBlockId("footer_block_two")->toHtml();
3
- if(!isset($block_footer_two) || $block_footer_two == ""):
4
- ?>
5
- <div class="footer-links-column-wrapper">
6
- <h6 class="heading">Lorem ipsum dolor 2</h6>
7
- <ul>
8
- <li>Proin sed odio</li>
9
- <li>Et ante adipiscing</li>
10
- <li>Lobortis Quisque</li>
11
- <li>eleLorem ipsum</li>
12
- <li>Dolor siting elit</li>
13
- <li>Data demo from template</li>
14
- </ul>
15
- </div>
16
- <?php
17
- else:
18
- echo $block_footer_two;
19
- endif;
20
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/ma2/ante/template/page/html/sampleblocks/footer-right.phtml DELETED
@@ -1,21 +0,0 @@
1
- <?php
2
- $ma2_i_footer_right = $this->getLayout()->createBlock("cms/block")->setBlockId("ma2_i_footer_right")->toHtml();
3
- if(!isset($ma2_i_footer_right) || $ma2_i_footer_right == ""):
4
- ?>
5
- <div class="footer_right">
6
- <div class="footer_right_top">
7
- <img src="<?php echo $this->getSkinUrl('images/visa.png'); ?>" alt="visa" />
8
- <img src="<?php echo $this->getSkinUrl('images/master.png'); ?>" alt="master" />
9
- <img src="<?php echo $this->getSkinUrl('images/paypal.png'); ?>" alt="paypal" />
10
- <img src="<?php echo $this->getSkinUrl('images/cirrur.png'); ?>" alt="cirrur" />
11
- </div>
12
- <div class="footer_right_bottom">
13
- <span><?php echo $this->__('Copyright &copy; 2013 Your Company. All rights Reserved');?></span>
14
- <p>Designed by <a target="_blank" href="http://www.omegatheme.com">Omegatheme.com</a> and developed by <a target="_blank" href="http://www.magenmarket.com">Magenmarket.com</a></p>
15
- </div>
16
- </div>
17
- <?php
18
- else:
19
- echo $ma2_i_footer_right;
20
- endif;
21
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/ma2/ante/template/page/html/sampleblocks/i_datasheet.phtml DELETED
@@ -1,21 +0,0 @@
1
- <?php
2
- $i_data_sheet = $this->getLayout()->createBlock("cms/block")->setBlockId("i_data_sheet")->toHtml();
3
- if(!isset($i_data_sheet) || $i_data_sheet == ""):
4
- ?>
5
- <ul>
6
- <li>
7
- <a href="<?php echo $this->getSkinUrl('images/demo-datasheet.jpg');?>" title="Find datasheet">
8
- <img height="26" src="<?php echo $this->getSkinUrl('images/download-ante-yellow.png');?>" alt="download datasheet" />
9
- </a>
10
- </li>
11
- <li>
12
- <a href="<?php echo $this->getSkinUrl('images/demo-datasheet.jpg');?>" title="Find datasheet">
13
- <img src="<?php echo $this->getSkinUrl('images/demo-datasheet.jpg');?>" alt="datasheet" class="ma2-img-demo" />
14
- </a>
15
- </li>
16
- </ul>
17
- <?php
18
- else:
19
- echo $i_data_sheet;
20
- endif;
21
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/ma2/ante/template/page/html/sampleblocks/icon-link-to-social.phtml DELETED
@@ -1,17 +0,0 @@
1
- <?php
2
- $icon_link_to_social = $this->getLayout()->createBlock("cms/block")->setBlockId("i-icon-link-to-social")->toHtml();
3
- if(!isset($icon_link_to_social) || $icon_link_to_social == ""):
4
- ?>
5
- <div style="float: left;">
6
- <a href="#" title="Find twitter">
7
- <img src="<?php echo $this->getSkinUrl('images/Tweet.png');?>" alt="social" />
8
- </a>
9
- <a href="#" title="Find facebook">
10
- <img src="<?php echo $this->getSkinUrl('images/Share.png');?>" alt="social" />
11
- </a>
12
- </div>
13
- <?php
14
- else:
15
- echo $icon_link_to_social;
16
- endif;
17
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/ma2/ante/template/page/html/sampleblocks/slideshow.phtml DELETED
@@ -1,28 +0,0 @@
1
- <?php
2
- $i_slide_show = $this->getLayout()->createBlock("cms/block")->setBlockId("i_slide_show")->toHtml();
3
- if(!isset($i_slide_show) || $i_slide_show == ""):
4
- $pathSrc = '';
5
- ?>
6
- <a href="#" target="_blank">
7
- <img src="<?php echo $this->getSkinUrl('images/banner1.png');?>" alt="6 Styles new colors" />
8
- <span>
9
- <h1 class="slideshow-title slidetitle">6 Styles new colors</h1>
10
- <p>
11
- Lorem ipsum dolor sit amet, consectetue elit. Quisque eleLorem ipsum dolor sit amet
12
- </p>
13
- </span>
14
- </a>
15
- <a href="#" target="_blank">
16
- <img src="<?php echo $this->getSkinUrl('images/banner2.png');?>" alt="6 Styles new colors" />
17
- <span>
18
- <h1 class="slideshow-title slidetitle">6 Styles new colors</h1>
19
- <p>
20
- Lorem ipsum dolor sit amet, consectetue elit. Quisque eleLorem ipsum dolor sit amet
21
- </p>
22
- </span>
23
- </a>
24
- <?php
25
- else:
26
- echo $i_slide_show;
27
- endif;
28
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/ma2/ante/template/page/html/top.links.phtml DELETED
@@ -1,39 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Academic Free License (AFL 3.0)
8
- * that is bundled with this package in the file LICENSE_AFL.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/afl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * DISCLAIMER
16
- *
17
- * Do not edit or add to this file if you wish to upgrade Magento to newer
18
- * versions in the future. If you wish to customize Magento for your
19
- * needs please refer to http://www.magentocommerce.com for more information.
20
- *
21
- * @category design
22
- * @package base_default
23
- * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
24
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
- */
26
- ?>
27
- <?php
28
- /**
29
- * @deprecated after 1.4.0.1
30
- */
31
- ?>
32
- <?php if($toplinks && is_array($toplinks)): ?>
33
- <ul class="links">
34
- <?php echo $this->getChildHtml() ?>
35
- <?php foreach($toplinks as $_toplink): ?>
36
- <li<?php if($_toplink['first']||$_toplink['last']): ?> class="<?php if($_toplink['first']): ?>first<?php endif; ?><?php if($_toplink['last']): ?> last<?php endif; ?>"<?php endif; ?> <?php echo $_toplink['liParams'] ?>><?php echo $_toplink['beforeText'] ?><a <?php echo $_toplink['aParams'] ?>><?php echo $_toplink['innerText'] ?></a><?php echo $_toplink['afterText'] ?></li>
37
- <?php endforeach; ?>
38
- </ul>
39
- <?php endif; ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/ma2/ante/template/page/html/wrapper.phtml DELETED
@@ -1,50 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Academic Free License (AFL 3.0)
8
- * that is bundled with this package in the file LICENSE_AFL.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/afl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * DISCLAIMER
16
- *
17
- * Do not edit or add to this file if you wish to upgrade Magento to newer
18
- * versions in the future. If you wish to customize Magento for your
19
- * needs please refer to http://www.magentocommerce.com for more information.
20
- *
21
- * @category design
22
- * @package base_default
23
- * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
24
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
- */
26
- ?>
27
- <?php
28
- /**
29
- * @deprecated after 1.4.0.0-alpha3
30
- */
31
-
32
- /**
33
- * This template is for generic wrapper purposes, including ajax.updater loaded blocks
34
- *
35
- * Usage in layout xml files:
36
- * <block type="core/template" template="page/html/wrapper.phtml">
37
- * <action method="setId"><id>some-custom-identificator</id></action>
38
- *
39
- * <!-- optional -->
40
- * <action method="setTag"><tag>span</tag></action> <!-- div is used if not specified -->
41
- * <action method="setParams"><params>class="custom-class"</params></action>
42
- *
43
- * <!-- insert wrapped blocks here -->
44
- * </block>
45
- */
46
- ?>
47
- <?php $_tag = $this->hasTag() ? $this->getTag() : "div" ?>
48
- <<?php echo $_tag?> id="<?php echo $this->getId()?>" <?php echo $this->getParams()?>>
49
- <?php echo $this->getChildHtml()?>
50
- </<?php echo $_tag?>>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/ma2/ante/template/page/js/calendar.phtml CHANGED
@@ -20,7 +20,7 @@
20
  *
21
  * @category design
22
  * @package base_default
23
- * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
24
  * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
  */
26
  ?>
20
  *
21
  * @category design
22
  * @package base_default
23
+ * @copyright Copyright (c) 2013 Magento Inc. (http://www.magentocommerce.com)
24
  * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
  */
26
  ?>
app/design/frontend/ma2/ante/template/page/js/cookie.phtml CHANGED
@@ -20,7 +20,7 @@
20
  *
21
  * @category design
22
  * @package base_default
23
- * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
24
  * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
  */
26
  ?>
20
  *
21
  * @category design
22
  * @package base_default
23
+ * @copyright Copyright (c) 2013 Magento Inc. (http://www.magentocommerce.com)
24
  * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
  */
26
  ?>
app/design/frontend/ma2/ante/template/page/popup.phtml CHANGED
@@ -20,7 +20,7 @@
20
  *
21
  * @category design
22
  * @package base_default
23
- * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
24
  * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
  */
26
  ?>
20
  *
21
  * @category design
22
  * @package base_default
23
+ * @copyright Copyright (c) 2013 Magento Inc. (http://www.magentocommerce.com)
24
  * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
  */
26
  ?>
app/design/frontend/ma2/ante/template/page/print.phtml CHANGED
@@ -20,7 +20,7 @@
20
  *
21
  * @category design
22
  * @package base_default
23
- * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
24
  * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
  */
26
  ?>
@@ -39,7 +39,7 @@
39
  <div class="print-head">
40
  <img src="<?php echo $this->getPrintLogoUrl() ? $this->getPrintLogoUrl() : $this->getSkinUrl('images/logo_print.gif') ?>" class="logo" alt="" />
41
  <?php if ($this->getPrintLogoText()):?>
42
- <address><?php echo nl2br($this->htmlEscape($this->getPrintLogoText())) ?></address>
43
  <?php endif;?>
44
  </div>
45
  <?php echo $this->getChildHtml('content') ?>
20
  *
21
  * @category design
22
  * @package base_default
23
+ * @copyright Copyright (c) 2013 Magento Inc. (http://www.magentocommerce.com)
24
  * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
  */
26
  ?>
39
  <div class="print-head">
40
  <img src="<?php echo $this->getPrintLogoUrl() ? $this->getPrintLogoUrl() : $this->getSkinUrl('images/logo_print.gif') ?>" class="logo" alt="" />
41
  <?php if ($this->getPrintLogoText()):?>
42
+ <address><?php echo nl2br($this->escapeHtml($this->getPrintLogoText())) ?></address>
43
  <?php endif;?>
44
  </div>
45
  <?php echo $this->getChildHtml('content') ?>
app/design/frontend/ma2/ante/template/page/redirect.phtml CHANGED
@@ -20,7 +20,7 @@
20
  *
21
  * @category design
22
  * @package base_default
23
- * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
24
  * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
  */
26
  ?>
20
  *
21
  * @category design
22
  * @package base_default
23
+ * @copyright Copyright (c) 2013 Magento Inc. (http://www.magentocommerce.com)
24
  * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
  */
26
  ?>
app/design/frontend/ma2/ante/template/page/switch/flags.phtml CHANGED
@@ -20,7 +20,7 @@
20
  *
21
  * @category design
22
  * @package base_default
23
- * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
24
  * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
  */
26
  ?>
@@ -30,7 +30,7 @@
30
  <select id="select-language" title="<?php echo $this->__('Your Language') ?>" onchange="window.location.href=this.value" class="flags">
31
  <?php foreach ($this->getStores() as $_lang): ?>
32
  <?php $_selected = ($_lang->getId() == $this->getCurrentStoreId()) ? ' selected="selected"' : '' ?>
33
- <option value="<?php echo $_lang->getCurrentUrl() ?>" style="background-image:url('<?php echo $this->getSkinUrl('images/flags/flag_'.$_lang->getCode().'.gif') ?>');"<?php echo $_selected ?>><?php echo $this->htmlEscape($_lang->getName()) ?></option>
34
  <?php endforeach; ?>
35
  </select>
36
  </div>
20
  *
21
  * @category design
22
  * @package base_default
23
+ * @copyright Copyright (c) 2013 Magento Inc. (http://www.magentocommerce.com)
24
  * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
  */
26
  ?>
30
  <select id="select-language" title="<?php echo $this->__('Your Language') ?>" onchange="window.location.href=this.value" class="flags">
31
  <?php foreach ($this->getStores() as $_lang): ?>
32
  <?php $_selected = ($_lang->getId() == $this->getCurrentStoreId()) ? ' selected="selected"' : '' ?>
33
+ <option value="<?php echo $_lang->getCurrentUrl() ?>" style="background-image:url('<?php echo $this->getSkinUrl('images/flags/flag_'.$_lang->getCode().'.gif') ?>');"<?php echo $_selected ?>><?php echo $this->escapeHtml($_lang->getName()) ?></option>
34
  <?php endforeach; ?>
35
  </select>
36
  </div>
app/design/frontend/ma2/ante/template/page/switch/languages.phtml CHANGED
@@ -20,7 +20,7 @@
20
  *
21
  * @category design
22
  * @package base_default
23
- * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
24
  * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
  */
26
  ?>
@@ -37,7 +37,7 @@
37
  <select id="select-language" title="<?php echo $this->__('Your Language') ?>" onchange="window.location.href=this.value">
38
  <?php foreach ($this->getStores() as $_lang): ?>
39
  <?php $_selected = ($_lang->getId() == $this->getCurrentStoreId()) ? ' selected="selected"' : '' ?>
40
- <option value="<?php echo $_lang->getCurrentUrl() ?>"<?php echo $_selected ?>><?php echo $this->htmlEscape($_lang->getName()) ?></option>
41
  <?php endforeach; ?>
42
  </select>
43
  </div>
20
  *
21
  * @category design
22
  * @package base_default
23
+ * @copyright Copyright (c) 2013 Magento Inc. (http://www.magentocommerce.com)
24
  * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
  */
26
  ?>
37
  <select id="select-language" title="<?php echo $this->__('Your Language') ?>" onchange="window.location.href=this.value">
38
  <?php foreach ($this->getStores() as $_lang): ?>
39
  <?php $_selected = ($_lang->getId() == $this->getCurrentStoreId()) ? ' selected="selected"' : '' ?>
40
+ <option value="<?php echo $_lang->getCurrentUrl() ?>"<?php echo $_selected ?>><?php echo $this->escapeHtml($_lang->getName()) ?></option>
41
  <?php endforeach; ?>
42
  </select>
43
  </div>
app/design/frontend/ma2/ante/template/page/switch/stores.phtml CHANGED
@@ -20,11 +20,11 @@
20
  *
21
  * @category design
22
  * @package base_default
23
- * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
24
  * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
  */
26
  ?>
27
- <?php
28
  /**
29
  * Store switcher template
30
  *
@@ -40,7 +40,7 @@
40
  <?php endforeach;*/ ?>
41
  <?php foreach ($this->getGroups() as $_group): ?>
42
  <?php $_selected = ($_group->getId()==$this->getCurrentGroupId()) ? ' selected="selected"' : '' ?>
43
- <option value="<?php echo $_group->getHomeUrl() ?>"<?php echo $_selected ?>><?php echo $this->htmlEscape($_group->getName()) ?></option>
44
  <?php endforeach; ?>
45
  </select>
46
  </div>
20
  *
21
  * @category design
22
  * @package base_default
23
+ * @copyright Copyright (c) 2013 Magento Inc. (http://www.magentocommerce.com)
24
  * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
  */
26
  ?>
27
+ <?php
28
  /**
29
  * Store switcher template
30
  *
40
  <?php endforeach;*/ ?>
41
  <?php foreach ($this->getGroups() as $_group): ?>
42
  <?php $_selected = ($_group->getId()==$this->getCurrentGroupId()) ? ' selected="selected"' : '' ?>
43
+ <option value="<?php echo $_group->getHomeUrl() ?>"<?php echo $_selected ?>><?php echo $this->escapeHtml($_group->getName()) ?></option>
44
  <?php endforeach; ?>
45
  </select>
46
  </div>
app/design/frontend/ma2/ante/template/page/template/container.phtml CHANGED
@@ -20,7 +20,7 @@
20
  *
21
  * @category design
22
  * @package base_default
23
- * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
24
  * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
  */
26
  ?>
20
  *
21
  * @category design
22
  * @package base_default
23
+ * @copyright Copyright (c) 2013 Magento Inc. (http://www.magentocommerce.com)
24
  * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
  */
26
  ?>
app/design/frontend/ma2/ante/template/page/template/links.phtml CHANGED
@@ -20,69 +20,81 @@
20
  *
21
  * @category design
22
  * @package base_default
23
- * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
24
  * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
- *
 
26
  * @see Mage_Page_Block_Template_Links
27
- getColorCheckout getResultImgCart
28
  */
29
  ?>
30
- <?php $_links = $this->getLinks(); ?>
31
- <?php if(count($_links)>0): ?>
 
 
 
 
 
 
 
 
 
 
32
  <div class="omg-custom-link">
33
- <div class="omg-link">
34
- <ul class="links"<?php if($this->getName()): ?> id="<?php echo $this->getName() ?>"<?php endif;?>>
35
- <?php foreach($_links as $_link): $i++; ?>
36
- <?php if ($_link instanceof Mage_Core_Block_Abstract):?>
37
- <?php //echo $_link->toHtml() ?>
38
- <?php else: ?>
39
- <?php if((2 < $i) && ($i < 5)){?>
40
- <li<?php if($_link->getIsFirst()||$_link->getIsLast()): ?> class="<?php if($_link->getIsFirst()): ?>first<?php endif; ?><?php if($_link->getIsLast()): ?> last<?php endif; ?>"<?php endif; ?> <?php echo $_link->getLiParams() ?>><?php echo $_link->getBeforeText() ?>
41
- <?php
42
- $title_link = $_link->getTitle();
43
- $span_id = "";
44
- if($title_link == "Checkout"):
45
- $title_link = $_link->getTitle();
46
- $span_id = "ma2-checkout";
47
- else:
48
- $title_link = str_replace('</span>','',str_replace('<span>','',$_link->getTitle()));
49
- $span_id = "ma2-cart";
50
- endif;
51
- ?>
52
- <a href="<?php echo $_link->getUrl(); ?>" title="<?php echo $title_link; ?>" <?php echo $_link->getAParams(); ?>>
53
- <span id="<?php echo $span_id; ?>">
54
- <?php echo $_link->getLabel(); ?>
55
- </span>
56
- </a>
57
- <?php echo $_link->getAfterText(); ?>
58
- </li>
59
- <?php }?>
60
- <?php endif;?>
61
- <?php endforeach; ?>
62
- </ul>
63
- </div>
64
- <div class="omg-icon-link">
65
- <?php
66
- $srcIconCart = "";
67
- $preStyle = Mage::getStoreConfig("theme_options/general/preset_styles");
68
- $cssCart = 'ma2-cart';
69
- $PresetSession = Mage::getSingleton('core/session')->getData('PresetSession');
70
- if(isset($PresetSession) && !empty($PresetSession)):
71
- $srcIconCart = $this->getSkinUrl('images/cart-'.$PresetSession.'.png');
72
- $cssCart .= '-'.$PresetSession;
73
- else:
74
- if(isset($preStyle) && !empty($preStyle)):
75
- $srcIconCart = $this->getSkinUrl('images/cart-'.$preStyle.'.png');
76
- else:
77
- $srcIconCart = $this->getSkinUrl('images/cart.png');
78
- endif;
79
- endif;
80
- ?>
81
- <img src="<?php echo $srcIconCart;?>" alt="<?php echo $this->getResultImgCart('alt');?>" width="33" height="38" class="omg-icon-img" />
82
- </div>
 
 
83
  </div>
84
  <script>
85
- $('ma2-checkout').addClassName('ma2-checkout');
86
- $('ma2-cart').addClassName('ma2-cart');
87
- </script>
88
  <?php endif; ?>
20
  *
21
  * @category design
22
  * @package base_default
23
+ * @copyright Copyright (c) 2013 Magento Inc. (http://www.magentocommerce.com)
24
  * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ /**
27
  * @see Mage_Page_Block_Template_Links
 
28
  */
29
  ?>
30
+ <?php
31
+ $count = $this->getSummaryQty() ? $this->getSummaryQty() : $this->helper('checkout/cart')->getSummaryCount();
32
+ if(empty($count)){
33
+ $count = 0;
34
+ }
35
+ $text = '<span>Now in your cart</span> '.$count.$this->__(' item(s)');
36
+ $this->removeLinkByUrl($this->getUrl('checkout/cart'));
37
+ $this->removeLinkByUrl($this->getUrl('customer/account/login'));
38
+ $this->addLink($text, 'checkout/cart', $count.' item(s)', true, array(), 50, null, 'class="top-link-cart"');
39
+ $_links = $this->getLinks();
40
+ ?>
41
+ <?php if(count($_links)>0):?>
42
  <div class="omg-custom-link">
43
+ <div class="omg-link">
44
+ <ul class="links"<?php if($this->getName()): ?> id="<?php echo $this->getName() ?>"<?php endif;?>>
45
+ <?php foreach($_links as $_link): ?>
46
+ <?php if ($_link instanceof Mage_Core_Block_Abstract):?>
47
+ <?php else:
48
+ $title = $_link->getTitle();
49
+ ?>
50
+ <li<?php if($_link->getIsFirst()||$_link->getIsLast()): ?> class="<?php if($_link->getIsFirst()): ?>first<?php endif; ?><?php if($_link->getIsLast()): ?> last<?php endif; ?>"<?php endif; ?> <?php echo $_link->getLiParams() ?>>
51
+ <?php echo $_link->getBeforeText() ?>
52
+ <?php
53
+ $title_link = $_link->getTitle();
54
+ $span_id = "";
55
+ if($title_link == "Checkout"):
56
+ $title_link = $_link->getTitle();
57
+ $span_id = "ma2-checkout";
58
+ else:
59
+ $title_link = str_replace('</span>','',str_replace('<span>','',$_link->getTitle()));
60
+ $span_id = "ma2-cart";
61
+ endif;
62
+ ?>
63
+ <a href="<?php echo $_link->getUrl(); ?>" title="<?php echo $title_link; ?>" <?php echo $_link->getAParams(); ?>>
64
+ <span id="<?php echo $span_id; ?>">
65
+ <?php echo $_link->getLabel(); ?>
66
+ </span>
67
+ </a>
68
+ <?php echo $_link->getAfterText() ?>
69
+ </li>
70
+ <?php
71
+ endif;
72
+ ?>
73
+ <?php endforeach; ?>
74
+ </ul>
75
+ </div>
76
+ <div class="omg-icon-link">
77
+ <?php
78
+ $srcIconCart = "";
79
+ $preStyle = Mage::getStoreConfig("theme_options/general/preset_styles");
80
+ $cssCart = 'ma2-cart';
81
+ $PresetSession = Mage::getSingleton('core/session')->getData('PresetSession');
82
+ if(isset($PresetSession) && !empty($PresetSession)):
83
+ $srcIconCart = $this->getSkinUrl('images/cart-'.$PresetSession.'.png');
84
+ $cssCart .= '-'.$PresetSession;
85
+ else:
86
+ if(isset($preStyle) && !empty($preStyle)):
87
+ $srcIconCart = $this->getSkinUrl('images/cart-'.$preStyle.'.png');
88
+ else:
89
+ $srcIconCart = $this->getSkinUrl('images/cart.png');
90
+ endif;
91
+ endif;
92
+ ?>
93
+ <img src="<?php echo $srcIconCart;?>" alt="<?php echo $this->getResultImgCart('alt');?>" width="33" height="38" class="omg-icon-img" />
94
+ </div>
95
  </div>
96
  <script>
97
+ $('ma2-checkout').addClassName('ma2-checkout');
98
+ $('ma2-cart').addClassName('ma2-cart');
99
+ </script>
100
  <?php endif; ?>
app/design/frontend/ma2/ante/template/page/template/linksblock.phtml CHANGED
@@ -20,7 +20,7 @@
20
  *
21
  * @category design
22
  * @package base_default
23
- * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
24
  * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
  */
26
  ?>
20
  *
21
  * @category design
22
  * @package base_default
23
+ * @copyright Copyright (c) 2013 Magento Inc. (http://www.magentocommerce.com)
24
  * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
  */
26
  ?>
app/etc/modules/Ma2_All.xml ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <modules>
4
+ <Ma2_All>
5
+ <active>true</active>
6
+ <codePool>local</codePool>
7
+ </Ma2_All>
8
+ </modules>
9
+ </config>
app/etc/modules/Ma2_FeaturedProducts.xml CHANGED
@@ -1,9 +1,9 @@
1
- <?xml version="1.0"?>
2
- <config>
3
- <modules>
4
- <Ma2_FeaturedProducts>
5
- <active>true</active>
6
- <codePool>local</codePool>
7
- </Ma2_FeaturedProducts>
8
- </modules>
9
  </config>
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <modules>
4
+ <Ma2_FeaturedProducts>
5
+ <active>true</active>
6
+ <codePool>community</codePool>
7
+ </Ma2_FeaturedProducts>
8
+ </modules>
9
  </config>
app/etc/modules/Ma2_Manufacturers.xml ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <modules>
4
+ <Ma2_Manufacturers>
5
+ <active>true</active>
6
+ <codePool>community</codePool>
7
+ <version>0.1.0</version>
8
+ </Ma2_Manufacturers>
9
+ </modules>
10
+ </config>
app/etc/modules/Ma2_Slideshow.xml ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <modules>
4
+ <Ma2_Slideshow>
5
+ <active>true</active>
6
+ <codePool>community</codePool>
7
+ </Ma2_Slideshow>
8
+ </modules>
9
+ </config>
app/etc/modules/Ma2_ThemeOptions.xml CHANGED
@@ -1,9 +1,9 @@
1
- <?xml version="1.0"?>
2
- <config>
3
- <modules>
4
- <Ma2_ThemeOptions>
5
- <active>true</active>
6
- <codePool>local</codePool>
7
- </Ma2_ThemeOptions>
8
- </modules>
9
  </config>
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <modules>
4
+ <Ma2_ThemeOptions>
5
+ <active>true</active>
6
+ <codePool>local</codePool>
7
+ </Ma2_ThemeOptions>
8
+ </modules>
9
  </config>
app/etc/modules/Ma2_WidgetProductList.xml ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <modules>
4
+ <Ma2_WidgetProductList>
5
+ <active>true</active>
6
+ <codePool>local</codePool>
7
+ <depends>
8
+ <Mage_Catalog />
9
+ <Mage_Cms />
10
+ <Mage_Adminhtml />
11
+ <Mage_Widget />
12
+ </depends>
13
+ </Ma2_WidgetProductList>
14
+ </modules>
15
+ </config>
app/etc/modules/Wru_HomeTop.xml DELETED
@@ -1,9 +0,0 @@
1
- <?xml version="1.0"?>
2
- <config>
3
- <modules>
4
- <Wru_HomeTop>
5
- <active>true</active>
6
- <codePool>local</codePool>
7
- </Wru_HomeTop>
8
- </modules>
9
- </config>
 
 
 
 
 
 
 
 
 
js/ma2_all/coin-slider.min.js DELETED
@@ -1,51 +0,0 @@
1
- /**
2
- * Coin Slider - Unique jQuery Image Slider
3
- * @version: 1.0 - (2010/04/04)
4
- * @requires jQuery v1.2.2 or later
5
- * @author Ivan Lazarevic
6
- * Examples and documentation at: http://workshop.rs/projects/coin-slider/
7
-
8
- * Licensed under MIT licence:
9
- * http://www.opensource.org/licenses/mit-license.php
10
- **/
11
-
12
- (function($){var params=new Array;var order=new Array;var images=new Array;var links=new Array;var linksTarget=new Array;var titles=new Array;var interval=new Array;var imagePos=new Array;var appInterval=new Array;var squarePos=new Array;var reverse=new Array;$.fn.coinslider=$.fn.CoinSlider=function(options){init=function(el){order[el.id]=new Array();images[el.id]=new Array();links[el.id]=new Array();linksTarget[el.id]=new Array();titles[el.id]=new Array();imagePos[el.id]=0;squarePos[el.id]=0;reverse[el.id]=1;params[el.id]=$.extend({},$.fn.coinslider.defaults,options);$.each($('#'+el.id+' img'),function(i,item){images[el.id][i]=$(item).attr('src');links[el.id][i]=$(item).parent().is('a')?$(item).parent().attr('href'):'';linksTarget[el.id][i]=$(item).parent().is('a')?$(item).parent().attr('target'):'';titles[el.id][i]=$(item).next().is('span')?$(item).next().html():'';$(item).hide();$(item).next().hide();});$(el).css({'background-image':'url('+images[el.id][0]+')','width':params[el.id].width,'height':params[el.id].height,'position':'relative','background-position':'top left'}).wrap("<div class='coin-slider' id='coin-slider-"+el.id+"' />");$('#'+el.id).append("<div class='cs-title' id='cs-title-"+el.id+"' style='position: absolute; bottom:0; left: 0; z-index: 1000;'></div>");$.setFields(el);if(params[el.id].navigation)
13
- $.setNavigation(el);$.transition(el,0);$.transitionCall(el);}
14
- $.setFields=function(el){tWidth=sWidth=parseInt(params[el.id].width/params[el.id].spw);tHeight=sHeight=parseInt(params[el.id].height/params[el.id].sph);counter=sLeft=sTop=0;tgapx=gapx=params[el.id].width-params[el.id].spw*sWidth;tgapy=gapy=params[el.id].height-params[el.id].sph*sHeight;for(i=1;i<=params[el.id].sph;i++){gapx=tgapx;if(gapy>0){gapy--;sHeight=tHeight+1;}else{sHeight=tHeight;}
15
- for(j=1;j<=params[el.id].spw;j++){if(gapx>0){gapx--;sWidth=tWidth+1;}else{sWidth=tWidth;}
16
- order[el.id][counter]=i+''+j;counter++;if(params[el.id].links)
17
- $('#'+el.id).append("<a href='"+links[el.id][0]+"' class='cs-"+el.id+"' id='cs-"+el.id+i+j+"' style='width:"+sWidth+"px; height:"+sHeight+"px; float: left; position: absolute;'></a>");else
18
- $('#'+el.id).append("<div class='cs-"+el.id+"' id='cs-"+el.id+i+j+"' style='width:"+sWidth+"px; height:"+sHeight+"px; float: left; position: absolute;'></div>");$("#cs-"+el.id+i+j).css({'background-position':-sLeft+'px '+(-sTop+'px'),'left':sLeft,'top':sTop});sLeft+=sWidth;}
19
- sTop+=sHeight;sLeft=0;}
20
- $('.cs-'+el.id).mouseover(function(){$('#cs-navigation-'+el.id).show();});$('.cs-'+el.id).mouseout(function(){$('#cs-navigation-'+el.id).hide();});$('#cs-title-'+el.id).mouseover(function(){$('#cs-navigation-'+el.id).show();});$('#cs-title-'+el.id).mouseout(function(){$('#cs-navigation-'+el.id).hide();});if(params[el.id].hoverPause){$('.cs-'+el.id).mouseover(function(){params[el.id].pause=true;});$('.cs-'+el.id).mouseout(function(){params[el.id].pause=false;});$('#cs-title-'+el.id).mouseover(function(){params[el.id].pause=true;});$('#cs-title-'+el.id).mouseout(function(){params[el.id].pause=false;});}};$.transitionCall=function(el){clearInterval(interval[el.id]);delay=params[el.id].delay+params[el.id].spw*params[el.id].sph*params[el.id].sDelay;interval[el.id]=setInterval(function(){$.transition(el)},delay);}
21
- $.transition=function(el,direction){if(params[el.id].pause==true)return;$.effect(el);squarePos[el.id]=0;appInterval[el.id]=setInterval(function(){$.appereance(el,order[el.id][squarePos[el.id]])},params[el.id].sDelay);$(el).css({'background-image':'url('+images[el.id][imagePos[el.id]]+')'});if(typeof(direction)=="undefined")
22
- imagePos[el.id]++;else
23
- if(direction=='prev')
24
- imagePos[el.id]--;else
25
- imagePos[el.id]=direction;if(imagePos[el.id]==images[el.id].length){imagePos[el.id]=0;}
26
- if(imagePos[el.id]==-1){imagePos[el.id]=images[el.id].length-1;}
27
- $('.cs-button-'+el.id).removeClass('cs-active');$('#cs-button-'+el.id+"-"+(imagePos[el.id]+1)).addClass('cs-active');if(titles[el.id][imagePos[el.id]]){$('#cs-title-'+el.id).css({'opacity':0}).animate({'opacity':params[el.id].opacity},params[el.id].titleSpeed);$('#cs-title-'+el.id).html(titles[el.id][imagePos[el.id]]);}else{$('#cs-title-'+el.id).css('opacity',0);}};$.appereance=function(el,sid){$('.cs-'+el.id).attr('href',links[el.id][imagePos[el.id]]).attr('target',linksTarget[el.id][imagePos[el.id]]);if(squarePos[el.id]==params[el.id].spw*params[el.id].sph){clearInterval(appInterval[el.id]);return;}
28
- $('#cs-'+el.id+sid).css({opacity:0,'background-image':'url('+images[el.id][imagePos[el.id]]+')'});$('#cs-'+el.id+sid).animate({opacity:1},300);squarePos[el.id]++;};$.setNavigation=function(el){$(el).append("<div id='cs-navigation-"+el.id+"'></div>");$('#cs-navigation-'+el.id).hide();$('#cs-navigation-'+el.id).append("<a href='#' id='cs-prev-"+el.id+"' class='cs-prev'>prev</a>");$('#cs-navigation-'+el.id).append("<a href='#' id='cs-next-"+el.id+"' class='cs-next'>next</a>");$('#cs-prev-'+el.id).css({'position':'absolute','top':params[el.id].height/2-15,'left':0,'z-index':1001,'line-height':'30px','opacity':params[el.id].opacity}).click(function(e){e.preventDefault();$.transition(el,'prev');$.transitionCall(el);}).mouseover(function(){$('#cs-navigation-'+el.id).show()});$('#cs-next-'+el.id).css({'position':'absolute','top':params[el.id].height/2-15,'right':0,'z-index':1001,'line-height':'30px','opacity':params[el.id].opacity}).click(function(e){e.preventDefault();$.transition(el);$.transitionCall(el);}).mouseover(function(){$('#cs-navigation-'+el.id).show()});$("<div id='cs-buttons-"+el.id+"' class='cs-buttons'></div>").appendTo($('#coin-slider-'+el.id));for(k=1;k<images[el.id].length+1;k++){$('#cs-buttons-'+el.id).append("<a href='#' class='cs-button-"+el.id+"' id='cs-button-"+el.id+"-"+k+"'>"+k+"</a>");}
29
- $.each($('.cs-button-'+el.id),function(i,item){$(item).click(function(e){$('.cs-button-'+el.id).removeClass('cs-active');$(this).addClass('cs-active');e.preventDefault();$.transition(el,i);$.transitionCall(el);})});$('#cs-navigation-'+el.id+' a').mouseout(function(){$('#cs-navigation-'+el.id).hide();params[el.id].pause=false;});$("#cs-buttons-"+el.id).css({'float':'right','margin-right':0,'position':'relative'});}
30
- $.effect=function(el){effA=['random','swirl','rain','straight'];if(params[el.id].effect=='')
31
- eff=effA[Math.floor(Math.random()*(effA.length))];else
32
- eff=params[el.id].effect;order[el.id]=new Array();if(eff=='random'){counter=0;for(i=1;i<=params[el.id].sph;i++){for(j=1;j<=params[el.id].spw;j++){order[el.id][counter]=i+''+j;counter++;}}
33
- $.random(order[el.id]);}
34
- if(eff=='rain'){$.rain(el);}
35
- if(eff=='swirl')
36
- $.swirl(el);if(eff=='straight')
37
- $.straight(el);reverse[el.id]*=-1;if(reverse[el.id]>0){order[el.id].reverse();}}
38
- $.random=function(arr){var i=arr.length;if(i==0)return false;while(--i){var j=Math.floor(Math.random()*(i+1));var tempi=arr[i];var tempj=arr[j];arr[i]=tempj;arr[j]=tempi;}}
39
- $.swirl=function(el){var n=params[el.id].sph;var m=params[el.id].spw;var x=1;var y=1;var going=0;var num=0;var c=0;var dowhile=true;while(dowhile){num=(going==0||going==2)?m:n;for(i=1;i<=num;i++){order[el.id][c]=x+''+y;c++;if(i!=num){switch(going){case 0:y++;break;case 1:x++;break;case 2:y--;break;case 3:x--;break;}}}
40
- going=(going+1)%4;switch(going){case 0:m--;y++;break;case 1:n--;x++;break;case 2:m--;y--;break;case 3:n--;x--;break;}
41
- check=$.max(n,m)-$.min(n,m);if(m<=check&&n<=check)
42
- dowhile=false;}}
43
- $.rain=function(el){var n=params[el.id].sph;var m=params[el.id].spw;var c=0;var to=to2=from=1;var dowhile=true;while(dowhile){for(i=from;i<=to;i++){order[el.id][c]=i+''+parseInt(to2-i+1);c++;}
44
- to2++;if(to<n&&to2<m&&n<m){to++;}
45
- if(to<n&&n>=m){to++;}
46
- if(to2>m){from++;}
47
- if(from>to)dowhile=false;}}
48
- $.straight=function(el){counter=0;for(i=1;i<=params[el.id].sph;i++){for(j=1;j<=params[el.id].spw;j++){order[el.id][counter]=i+''+j;counter++;}}}
49
- $.min=function(n,m){if(n>m)return m;else return n;}
50
- $.max=function(n,m){if(n<m)return m;else return n;}
51
- this.each(function(){init(this);});};$.fn.coinslider.defaults={width:447,height:420,spw:7,sph:5,delay:3000,sDelay:30,opacity:1,titleSpeed:500,effect:'',navigation:true,links:true,hoverPause:true};})(jQuery);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
js/ma2_all/jquery-1.4.2.js DELETED
@@ -1,154 +0,0 @@
1
- /*!
2
- * jQuery JavaScript Library v1.4.2
3
- * http://jquery.com/
4
- *
5
- * Copyright 2010, John Resig
6
- * Dual licensed under the MIT or GPL Version 2 licenses.
7
- * http://jquery.org/license
8
- *
9
- * Includes Sizzle.js
10
- * http://sizzlejs.com/
11
- * Copyright 2010, The Dojo Foundation
12
- * Released under the MIT, BSD, and GPL Licenses.
13
- *
14
- * Date: Sat Feb 13 22:33:48 2010 -0500
15
- */
16
- (function(A,w){function ma(){if(!c.isReady){try{s.documentElement.doScroll("left")}catch(a){setTimeout(ma,1);return}c.ready()}}function Qa(a,b){b.src?c.ajax({url:b.src,async:false,dataType:"script"}):c.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function X(a,b,d,f,e,j){var i=a.length;if(typeof b==="object"){for(var o in b)X(a,o,b[o],f,e,d);return a}if(d!==w){f=!j&&f&&c.isFunction(d);for(o=0;o<i;o++)e(a[o],b,f?d.call(a[o],o,e(a[o],b)):d,j);return a}return i?
17
- e(a[0],b):w}function J(){return(new Date).getTime()}function Y(){return false}function Z(){return true}function na(a,b,d){d[0].type=a;return c.event.handle.apply(b,d)}function oa(a){var b,d=[],f=[],e=arguments,j,i,o,k,n,r;i=c.data(this,"events");if(!(a.liveFired===this||!i||!i.live||a.button&&a.type==="click")){a.liveFired=this;var u=i.live.slice(0);for(k=0;k<u.length;k++){i=u[k];i.origType.replace(O,"")===a.type?f.push(i.selector):u.splice(k--,1)}j=c(a.target).closest(f,a.currentTarget);n=0;for(r=
18
- j.length;n<r;n++)for(k=0;k<u.length;k++){i=u[k];if(j[n].selector===i.selector){o=j[n].elem;f=null;if(i.preType==="mouseenter"||i.preType==="mouseleave")f=c(a.relatedTarget).closest(i.selector)[0];if(!f||f!==o)d.push({elem:o,handleObj:i})}}n=0;for(r=d.length;n<r;n++){j=d[n];a.currentTarget=j.elem;a.data=j.handleObj.data;a.handleObj=j.handleObj;if(j.handleObj.origHandler.apply(j.elem,e)===false){b=false;break}}return b}}function pa(a,b){return"live."+(a&&a!=="*"?a+".":"")+b.replace(/\./g,"`").replace(/ /g,
19
- "&")}function qa(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function ra(a,b){var d=0;b.each(function(){if(this.nodeName===(a[d]&&a[d].nodeName)){var f=c.data(a[d++]),e=c.data(this,f);if(f=f&&f.events){delete e.handle;e.events={};for(var j in f)for(var i in f[j])c.event.add(this,j,f[j][i],f[j][i].data)}}})}function sa(a,b,d){var f,e,j;b=b&&b[0]?b[0].ownerDocument||b[0]:s;if(a.length===1&&typeof a[0]==="string"&&a[0].length<512&&b===s&&!ta.test(a[0])&&(c.support.checkClone||!ua.test(a[0]))){e=
20
- true;if(j=c.fragments[a[0]])if(j!==1)f=j}if(!f){f=b.createDocumentFragment();c.clean(a,b,f,d)}if(e)c.fragments[a[0]]=j?f:1;return{fragment:f,cacheable:e}}function K(a,b){var d={};c.each(va.concat.apply([],va.slice(0,b)),function(){d[this]=a});return d}function wa(a){return"scrollTo"in a&&a.document?a:a.nodeType===9?a.defaultView||a.parentWindow:false}var c=function(a,b){return new c.fn.init(a,b)},Ra=A.jQuery,Sa=A.$,s=A.document,T,Ta=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,Ua=/^.[^:#\[\.,]*$/,Va=/\S/,
21
- Wa=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,Xa=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,P=navigator.userAgent,xa=false,Q=[],L,$=Object.prototype.toString,aa=Object.prototype.hasOwnProperty,ba=Array.prototype.push,R=Array.prototype.slice,ya=Array.prototype.indexOf;c.fn=c.prototype={init:function(a,b){var d,f;if(!a)return this;if(a.nodeType){this.context=this[0]=a;this.length=1;return this}if(a==="body"&&!b){this.context=s;this[0]=s.body;this.selector="body";this.length=1;return this}if(typeof a==="string")if((d=Ta.exec(a))&&
22
- (d[1]||!b))if(d[1]){f=b?b.ownerDocument||b:s;if(a=Xa.exec(a))if(c.isPlainObject(b)){a=[s.createElement(a[1])];c.fn.attr.call(a,b,true)}else a=[f.createElement(a[1])];else{a=sa([d[1]],[f]);a=(a.cacheable?a.fragment.cloneNode(true):a.fragment).childNodes}return c.merge(this,a)}else{if(b=s.getElementById(d[2])){if(b.id!==d[2])return T.find(a);this.length=1;this[0]=b}this.context=s;this.selector=a;return this}else if(!b&&/^\w+$/.test(a)){this.selector=a;this.context=s;a=s.getElementsByTagName(a);return c.merge(this,
23
- a)}else return!b||b.jquery?(b||T).find(a):c(b).find(a);else if(c.isFunction(a))return T.ready(a);if(a.selector!==w){this.selector=a.selector;this.context=a.context}return c.makeArray(a,this)},selector:"",jquery:"1.4.2",length:0,size:function(){return this.length},toArray:function(){return R.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this.slice(a)[0]:this[a]},pushStack:function(a,b,d){var f=c();c.isArray(a)?ba.apply(f,a):c.merge(f,a);f.prevObject=this;f.context=this.context;if(b===
24
- "find")f.selector=this.selector+(this.selector?" ":"")+d;else if(b)f.selector=this.selector+"."+b+"("+d+")";return f},each:function(a,b){return c.each(this,a,b)},ready:function(a){c.bindReady();if(c.isReady)a.call(s,c);else Q&&Q.push(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(R.apply(this,arguments),"slice",R.call(arguments).join(","))},map:function(a){return this.pushStack(c.map(this,
25
- function(b,d){return a.call(b,d,b)}))},end:function(){return this.prevObject||c(null)},push:ba,sort:[].sort,splice:[].splice};c.fn.init.prototype=c.fn;c.extend=c.fn.extend=function(){var a=arguments[0]||{},b=1,d=arguments.length,f=false,e,j,i,o;if(typeof a==="boolean"){f=a;a=arguments[1]||{};b=2}if(typeof a!=="object"&&!c.isFunction(a))a={};if(d===b){a=this;--b}for(;b<d;b++)if((e=arguments[b])!=null)for(j in e){i=a[j];o=e[j];if(a!==o)if(f&&o&&(c.isPlainObject(o)||c.isArray(o))){i=i&&(c.isPlainObject(i)||
26
- c.isArray(i))?i:c.isArray(o)?[]:{};a[j]=c.extend(f,i,o)}else if(o!==w)a[j]=o}return a};c.extend({noConflict:function(a){A.$=Sa;if(a)A.jQuery=Ra;return c},isReady:false,ready:function(){if(!c.isReady){if(!s.body)return setTimeout(c.ready,13);c.isReady=true;if(Q){for(var a,b=0;a=Q[b++];)a.call(s,c);Q=null}c.fn.triggerHandler&&c(s).triggerHandler("ready")}},bindReady:function(){if(!xa){xa=true;if(s.readyState==="complete")return c.ready();if(s.addEventListener){s.addEventListener("DOMContentLoaded",
27
- L,false);A.addEventListener("load",c.ready,false)}else if(s.attachEvent){s.attachEvent("onreadystatechange",L);A.attachEvent("onload",c.ready);var a=false;try{a=A.frameElement==null}catch(b){}s.documentElement.doScroll&&a&&ma()}}},isFunction:function(a){return $.call(a)==="[object Function]"},isArray:function(a){return $.call(a)==="[object Array]"},isPlainObject:function(a){if(!a||$.call(a)!=="[object Object]"||a.nodeType||a.setInterval)return false;if(a.constructor&&!aa.call(a,"constructor")&&!aa.call(a.constructor.prototype,
28
- "isPrototypeOf"))return false;var b;for(b in a);return b===w||aa.call(a,b)},isEmptyObject:function(a){for(var b in a)return false;return true},error:function(a){throw a;},parseJSON:function(a){if(typeof a!=="string"||!a)return null;a=c.trim(a);if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return A.JSON&&A.JSON.parse?A.JSON.parse(a):(new Function("return "+
29
- a))();else c.error("Invalid JSON: "+a)},noop:function(){},globalEval:function(a){if(a&&Va.test(a)){var b=s.getElementsByTagName("head")[0]||s.documentElement,d=s.createElement("script");d.type="text/javascript";if(c.support.scriptEval)d.appendChild(s.createTextNode(a));else d.text=a;b.insertBefore(d,b.firstChild);b.removeChild(d)}},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,b,d){var f,e=0,j=a.length,i=j===w||c.isFunction(a);if(d)if(i)for(f in a){if(b.apply(a[f],
30
- d)===false)break}else for(;e<j;){if(b.apply(a[e++],d)===false)break}else if(i)for(f in a){if(b.call(a[f],f,a[f])===false)break}else for(d=a[0];e<j&&b.call(d,e,d)!==false;d=a[++e]);return a},trim:function(a){return(a||"").replace(Wa,"")},makeArray:function(a,b){b=b||[];if(a!=null)a.length==null||typeof a==="string"||c.isFunction(a)||typeof a!=="function"&&a.setInterval?ba.call(b,a):c.merge(b,a);return b},inArray:function(a,b){if(b.indexOf)return b.indexOf(a);for(var d=0,f=b.length;d<f;d++)if(b[d]===
31
- a)return d;return-1},merge:function(a,b){var d=a.length,f=0;if(typeof b.length==="number")for(var e=b.length;f<e;f++)a[d++]=b[f];else for(;b[f]!==w;)a[d++]=b[f++];a.length=d;return a},grep:function(a,b,d){for(var f=[],e=0,j=a.length;e<j;e++)!d!==!b(a[e],e)&&f.push(a[e]);return f},map:function(a,b,d){for(var f=[],e,j=0,i=a.length;j<i;j++){e=b(a[j],j,d);if(e!=null)f[f.length]=e}return f.concat.apply([],f)},guid:1,proxy:function(a,b,d){if(arguments.length===2)if(typeof b==="string"){d=a;a=d[b];b=w}else if(b&&
32
- !c.isFunction(b)){d=b;b=w}if(!b&&a)b=function(){return a.apply(d||this,arguments)};if(a)b.guid=a.guid=a.guid||b.guid||c.guid++;return b},uaMatch:function(a){a=a.toLowerCase();a=/(webkit)[ \/]([\w.]+)/.exec(a)||/(opera)(?:.*version)?[ \/]([\w.]+)/.exec(a)||/(msie) ([\w.]+)/.exec(a)||!/compatible/.test(a)&&/(mozilla)(?:.*? rv:([\w.]+))?/.exec(a)||[];return{browser:a[1]||"",version:a[2]||"0"}},browser:{}});P=c.uaMatch(P);if(P.browser){c.browser[P.browser]=true;c.browser.version=P.version}if(c.browser.webkit)c.browser.safari=
33
- true;if(ya)c.inArray=function(a,b){return ya.call(b,a)};T=c(s);if(s.addEventListener)L=function(){s.removeEventListener("DOMContentLoaded",L,false);c.ready()};else if(s.attachEvent)L=function(){if(s.readyState==="complete"){s.detachEvent("onreadystatechange",L);c.ready()}};(function(){c.support={};var a=s.documentElement,b=s.createElement("script"),d=s.createElement("div"),f="script"+J();d.style.display="none";d.innerHTML=" <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";
34
- var e=d.getElementsByTagName("*"),j=d.getElementsByTagName("a")[0];if(!(!e||!e.length||!j)){c.support={leadingWhitespace:d.firstChild.nodeType===3,tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/red/.test(j.getAttribute("style")),hrefNormalized:j.getAttribute("href")==="/a",opacity:/^0.55$/.test(j.style.opacity),cssFloat:!!j.style.cssFloat,checkOn:d.getElementsByTagName("input")[0].value==="on",optSelected:s.createElement("select").appendChild(s.createElement("option")).selected,
35
- parentNode:d.removeChild(d.appendChild(s.createElement("div"))).parentNode===null,deleteExpando:true,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null};b.type="text/javascript";try{b.appendChild(s.createTextNode("window."+f+"=1;"))}catch(i){}a.insertBefore(b,a.firstChild);if(A[f]){c.support.scriptEval=true;delete A[f]}try{delete b.test}catch(o){c.support.deleteExpando=false}a.removeChild(b);if(d.attachEvent&&d.fireEvent){d.attachEvent("onclick",function k(){c.support.noCloneEvent=
36
- false;d.detachEvent("onclick",k)});d.cloneNode(true).fireEvent("onclick")}d=s.createElement("div");d.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";a=s.createDocumentFragment();a.appendChild(d.firstChild);c.support.checkClone=a.cloneNode(true).cloneNode(true).lastChild.checked;c(function(){var k=s.createElement("div");k.style.width=k.style.paddingLeft="1px";s.body.appendChild(k);c.boxModel=c.support.boxModel=k.offsetWidth===2;s.body.removeChild(k).style.display="none"});a=function(k){var n=
37
- s.createElement("div");k="on"+k;var r=k in n;if(!r){n.setAttribute(k,"return;");r=typeof n[k]==="function"}return r};c.support.submitBubbles=a("submit");c.support.changeBubbles=a("change");a=b=d=e=j=null}})();c.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var G="jQuery"+J(),Ya=0,za={};c.extend({cache:{},expando:G,noData:{embed:true,object:true,
38
- applet:true},data:function(a,b,d){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=a==A?za:a;var f=a[G],e=c.cache;if(!f&&typeof b==="string"&&d===w)return null;f||(f=++Ya);if(typeof b==="object"){a[G]=f;e[f]=c.extend(true,{},b)}else if(!e[f]){a[G]=f;e[f]={}}a=e[f];if(d!==w)a[b]=d;return typeof b==="string"?a[b]:a}},removeData:function(a,b){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=a==A?za:a;var d=a[G],f=c.cache,e=f[d];if(b){if(e){delete e[b];c.isEmptyObject(e)&&c.removeData(a)}}else{if(c.support.deleteExpando)delete a[c.expando];
39
- else a.removeAttribute&&a.removeAttribute(c.expando);delete f[d]}}}});c.fn.extend({data:function(a,b){if(typeof a==="undefined"&&this.length)return c.data(this[0]);else if(typeof a==="object")return this.each(function(){c.data(this,a)});var d=a.split(".");d[1]=d[1]?"."+d[1]:"";if(b===w){var f=this.triggerHandler("getData"+d[1]+"!",[d[0]]);if(f===w&&this.length)f=c.data(this[0],a);return f===w&&d[1]?this.data(d[0]):f}else return this.trigger("setData"+d[1]+"!",[d[0],b]).each(function(){c.data(this,
40
- a,b)})},removeData:function(a){return this.each(function(){c.removeData(this,a)})}});c.extend({queue:function(a,b,d){if(a){b=(b||"fx")+"queue";var f=c.data(a,b);if(!d)return f||[];if(!f||c.isArray(d))f=c.data(a,b,c.makeArray(d));else f.push(d);return f}},dequeue:function(a,b){b=b||"fx";var d=c.queue(a,b),f=d.shift();if(f==="inprogress")f=d.shift();if(f){b==="fx"&&d.unshift("inprogress");f.call(a,function(){c.dequeue(a,b)})}}});c.fn.extend({queue:function(a,b){if(typeof a!=="string"){b=a;a="fx"}if(b===
41
- w)return c.queue(this[0],a);return this.each(function(){var d=c.queue(this,a,b);a==="fx"&&d[0]!=="inprogress"&&c.dequeue(this,a)})},dequeue:function(a){return this.each(function(){c.dequeue(this,a)})},delay:function(a,b){a=c.fx?c.fx.speeds[a]||a:a;b=b||"fx";return this.queue(b,function(){var d=this;setTimeout(function(){c.dequeue(d,b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])}});var Aa=/[\n\t]/g,ca=/\s+/,Za=/\r/g,$a=/href|src|style/,ab=/(button|input)/i,bb=/(button|input|object|select|textarea)/i,
42
- cb=/^(a|area)$/i,Ba=/radio|checkbox/;c.fn.extend({attr:function(a,b){return X(this,a,b,true,c.attr)},removeAttr:function(a){return this.each(function(){c.attr(this,a,"");this.nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(c.isFunction(a))return this.each(function(n){var r=c(this);r.addClass(a.call(this,n,r.attr("class")))});if(a&&typeof a==="string")for(var b=(a||"").split(ca),d=0,f=this.length;d<f;d++){var e=this[d];if(e.nodeType===1)if(e.className){for(var j=" "+e.className+" ",
43
- i=e.className,o=0,k=b.length;o<k;o++)if(j.indexOf(" "+b[o]+" ")<0)i+=" "+b[o];e.className=c.trim(i)}else e.className=a}return this},removeClass:function(a){if(c.isFunction(a))return this.each(function(k){var n=c(this);n.removeClass(a.call(this,k,n.attr("class")))});if(a&&typeof a==="string"||a===w)for(var b=(a||"").split(ca),d=0,f=this.length;d<f;d++){var e=this[d];if(e.nodeType===1&&e.className)if(a){for(var j=(" "+e.className+" ").replace(Aa," "),i=0,o=b.length;i<o;i++)j=j.replace(" "+b[i]+" ",
44
- " ");e.className=c.trim(j)}else e.className=""}return this},toggleClass:function(a,b){var d=typeof a,f=typeof b==="boolean";if(c.isFunction(a))return this.each(function(e){var j=c(this);j.toggleClass(a.call(this,e,j.attr("class"),b),b)});return this.each(function(){if(d==="string")for(var e,j=0,i=c(this),o=b,k=a.split(ca);e=k[j++];){o=f?o:!i.hasClass(e);i[o?"addClass":"removeClass"](e)}else if(d==="undefined"||d==="boolean"){this.className&&c.data(this,"__className__",this.className);this.className=
45
- this.className||a===false?"":c.data(this,"__className__")||""}})},hasClass:function(a){a=" "+a+" ";for(var b=0,d=this.length;b<d;b++)if((" "+this[b].className+" ").replace(Aa," ").indexOf(a)>-1)return true;return false},val:function(a){if(a===w){var b=this[0];if(b){if(c.nodeName(b,"option"))return(b.attributes.value||{}).specified?b.value:b.text;if(c.nodeName(b,"select")){var d=b.selectedIndex,f=[],e=b.options;b=b.type==="select-one";if(d<0)return null;var j=b?d:0;for(d=b?d+1:e.length;j<d;j++){var i=
46
- e[j];if(i.selected){a=c(i).val();if(b)return a;f.push(a)}}return f}if(Ba.test(b.type)&&!c.support.checkOn)return b.getAttribute("value")===null?"on":b.value;return(b.value||"").replace(Za,"")}return w}var o=c.isFunction(a);return this.each(function(k){var n=c(this),r=a;if(this.nodeType===1){if(o)r=a.call(this,k,n.val());if(typeof r==="number")r+="";if(c.isArray(r)&&Ba.test(this.type))this.checked=c.inArray(n.val(),r)>=0;else if(c.nodeName(this,"select")){var u=c.makeArray(r);c("option",this).each(function(){this.selected=
47
- c.inArray(c(this).val(),u)>=0});if(!u.length)this.selectedIndex=-1}else this.value=r}})}});c.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(a,b,d,f){if(!a||a.nodeType===3||a.nodeType===8)return w;if(f&&b in c.attrFn)return c(a)[b](d);f=a.nodeType!==1||!c.isXMLDoc(a);var e=d!==w;b=f&&c.props[b]||b;if(a.nodeType===1){var j=$a.test(b);if(b in a&&f&&!j){if(e){b==="type"&&ab.test(a.nodeName)&&a.parentNode&&c.error("type property can't be changed");
48
- a[b]=d}if(c.nodeName(a,"form")&&a.getAttributeNode(b))return a.getAttributeNode(b).nodeValue;if(b==="tabIndex")return(b=a.getAttributeNode("tabIndex"))&&b.specified?b.value:bb.test(a.nodeName)||cb.test(a.nodeName)&&a.href?0:w;return a[b]}if(!c.support.style&&f&&b==="style"){if(e)a.style.cssText=""+d;return a.style.cssText}e&&a.setAttribute(b,""+d);a=!c.support.hrefNormalized&&f&&j?a.getAttribute(b,2):a.getAttribute(b);return a===null?w:a}return c.style(a,b,d)}});var O=/\.(.*)$/,db=function(a){return a.replace(/[^\w\s\.\|`]/g,
49
- function(b){return"\\"+b})};c.event={add:function(a,b,d,f){if(!(a.nodeType===3||a.nodeType===8)){if(a.setInterval&&a!==A&&!a.frameElement)a=A;var e,j;if(d.handler){e=d;d=e.handler}if(!d.guid)d.guid=c.guid++;if(j=c.data(a)){var i=j.events=j.events||{},o=j.handle;if(!o)j.handle=o=function(){return typeof c!=="undefined"&&!c.event.triggered?c.event.handle.apply(o.elem,arguments):w};o.elem=a;b=b.split(" ");for(var k,n=0,r;k=b[n++];){j=e?c.extend({},e):{handler:d,data:f};if(k.indexOf(".")>-1){r=k.split(".");
50
- k=r.shift();j.namespace=r.slice(0).sort().join(".")}else{r=[];j.namespace=""}j.type=k;j.guid=d.guid;var u=i[k],z=c.event.special[k]||{};if(!u){u=i[k]=[];if(!z.setup||z.setup.call(a,f,r,o)===false)if(a.addEventListener)a.addEventListener(k,o,false);else a.attachEvent&&a.attachEvent("on"+k,o)}if(z.add){z.add.call(a,j);if(!j.handler.guid)j.handler.guid=d.guid}u.push(j);c.event.global[k]=true}a=null}}},global:{},remove:function(a,b,d,f){if(!(a.nodeType===3||a.nodeType===8)){var e,j=0,i,o,k,n,r,u,z=c.data(a),
51
- C=z&&z.events;if(z&&C){if(b&&b.type){d=b.handler;b=b.type}if(!b||typeof b==="string"&&b.charAt(0)==="."){b=b||"";for(e in C)c.event.remove(a,e+b)}else{for(b=b.split(" ");e=b[j++];){n=e;i=e.indexOf(".")<0;o=[];if(!i){o=e.split(".");e=o.shift();k=new RegExp("(^|\\.)"+c.map(o.slice(0).sort(),db).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(r=C[e])if(d){n=c.event.special[e]||{};for(B=f||0;B<r.length;B++){u=r[B];if(d.guid===u.guid){if(i||k.test(u.namespace)){f==null&&r.splice(B--,1);n.remove&&n.remove.call(a,u)}if(f!=
52
- null)break}}if(r.length===0||f!=null&&r.length===1){if(!n.teardown||n.teardown.call(a,o)===false)Ca(a,e,z.handle);delete C[e]}}else for(var B=0;B<r.length;B++){u=r[B];if(i||k.test(u.namespace)){c.event.remove(a,n,u.handler,B);r.splice(B--,1)}}}if(c.isEmptyObject(C)){if(b=z.handle)b.elem=null;delete z.events;delete z.handle;c.isEmptyObject(z)&&c.removeData(a)}}}}},trigger:function(a,b,d,f){var e=a.type||a;if(!f){a=typeof a==="object"?a[G]?a:c.extend(c.Event(e),a):c.Event(e);if(e.indexOf("!")>=0){a.type=
53
- e=e.slice(0,-1);a.exclusive=true}if(!d){a.stopPropagation();c.event.global[e]&&c.each(c.cache,function(){this.events&&this.events[e]&&c.event.trigger(a,b,this.handle.elem)})}if(!d||d.nodeType===3||d.nodeType===8)return w;a.result=w;a.target=d;b=c.makeArray(b);b.unshift(a)}a.currentTarget=d;(f=c.data(d,"handle"))&&f.apply(d,b);f=d.parentNode||d.ownerDocument;try{if(!(d&&d.nodeName&&c.noData[d.nodeName.toLowerCase()]))if(d["on"+e]&&d["on"+e].apply(d,b)===false)a.result=false}catch(j){}if(!a.isPropagationStopped()&&
54
- f)c.event.trigger(a,b,f,true);else if(!a.isDefaultPrevented()){f=a.target;var i,o=c.nodeName(f,"a")&&e==="click",k=c.event.special[e]||{};if((!k._default||k._default.call(d,a)===false)&&!o&&!(f&&f.nodeName&&c.noData[f.nodeName.toLowerCase()])){try{if(f[e]){if(i=f["on"+e])f["on"+e]=null;c.event.triggered=true;f[e]()}}catch(n){}if(i)f["on"+e]=i;c.event.triggered=false}}},handle:function(a){var b,d,f,e;a=arguments[0]=c.event.fix(a||A.event);a.currentTarget=this;b=a.type.indexOf(".")<0&&!a.exclusive;
55
- if(!b){d=a.type.split(".");a.type=d.shift();f=new RegExp("(^|\\.)"+d.slice(0).sort().join("\\.(?:.*\\.)?")+"(\\.|$)")}e=c.data(this,"events");d=e[a.type];if(e&&d){d=d.slice(0);e=0;for(var j=d.length;e<j;e++){var i=d[e];if(b||f.test(i.namespace)){a.handler=i.handler;a.data=i.data;a.handleObj=i;i=i.handler.apply(this,arguments);if(i!==w){a.result=i;if(i===false){a.preventDefault();a.stopPropagation()}}if(a.isImmediatePropagationStopped())break}}}return a.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),
56
- fix:function(a){if(a[G])return a;var b=a;a=c.Event(b);for(var d=this.props.length,f;d;){f=this.props[--d];a[f]=b[f]}if(!a.target)a.target=a.srcElement||s;if(a.target.nodeType===3)a.target=a.target.parentNode;if(!a.relatedTarget&&a.fromElement)a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement;if(a.pageX==null&&a.clientX!=null){b=s.documentElement;d=s.body;a.pageX=a.clientX+(b&&b.scrollLeft||d&&d.scrollLeft||0)-(b&&b.clientLeft||d&&d.clientLeft||0);a.pageY=a.clientY+(b&&b.scrollTop||
57
- d&&d.scrollTop||0)-(b&&b.clientTop||d&&d.clientTop||0)}if(!a.which&&(a.charCode||a.charCode===0?a.charCode:a.keyCode))a.which=a.charCode||a.keyCode;if(!a.metaKey&&a.ctrlKey)a.metaKey=a.ctrlKey;if(!a.which&&a.button!==w)a.which=a.button&1?1:a.button&2?3:a.button&4?2:0;return a},guid:1E8,proxy:c.proxy,special:{ready:{setup:c.bindReady,teardown:c.noop},live:{add:function(a){c.event.add(this,a.origType,c.extend({},a,{handler:oa}))},remove:function(a){var b=true,d=a.origType.replace(O,"");c.each(c.data(this,
58
- "events").live||[],function(){if(d===this.origType.replace(O,""))return b=false});b&&c.event.remove(this,a.origType,oa)}},beforeunload:{setup:function(a,b,d){if(this.setInterval)this.onbeforeunload=d;return false},teardown:function(a,b){if(this.onbeforeunload===b)this.onbeforeunload=null}}}};var Ca=s.removeEventListener?function(a,b,d){a.removeEventListener(b,d,false)}:function(a,b,d){a.detachEvent("on"+b,d)};c.Event=function(a){if(!this.preventDefault)return new c.Event(a);if(a&&a.type){this.originalEvent=
59
- a;this.type=a.type}else this.type=a;this.timeStamp=J();this[G]=true};c.Event.prototype={preventDefault:function(){this.isDefaultPrevented=Z;var a=this.originalEvent;if(a){a.preventDefault&&a.preventDefault();a.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=Z;var a=this.originalEvent;if(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=Z;this.stopPropagation()},isDefaultPrevented:Y,isPropagationStopped:Y,
60
- isImmediatePropagationStopped:Y};var Da=function(a){var b=a.relatedTarget;try{for(;b&&b!==this;)b=b.parentNode;if(b!==this){a.type=a.data;c.event.handle.apply(this,arguments)}}catch(d){}},Ea=function(a){a.type=a.data;c.event.handle.apply(this,arguments)};c.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){c.event.special[a]={setup:function(d){c.event.add(this,b,d&&d.selector?Ea:Da,a)},teardown:function(d){c.event.remove(this,b,d&&d.selector?Ea:Da)}}});if(!c.support.submitBubbles)c.event.special.submit=
61
- {setup:function(){if(this.nodeName.toLowerCase()!=="form"){c.event.add(this,"click.specialSubmit",function(a){var b=a.target,d=b.type;if((d==="submit"||d==="image")&&c(b).closest("form").length)return na("submit",this,arguments)});c.event.add(this,"keypress.specialSubmit",function(a){var b=a.target,d=b.type;if((d==="text"||d==="password")&&c(b).closest("form").length&&a.keyCode===13)return na("submit",this,arguments)})}else return false},teardown:function(){c.event.remove(this,".specialSubmit")}};
62
- if(!c.support.changeBubbles){var da=/textarea|input|select/i,ea,Fa=function(a){var b=a.type,d=a.value;if(b==="radio"||b==="checkbox")d=a.checked;else if(b==="select-multiple")d=a.selectedIndex>-1?c.map(a.options,function(f){return f.selected}).join("-"):"";else if(a.nodeName.toLowerCase()==="select")d=a.selectedIndex;return d},fa=function(a,b){var d=a.target,f,e;if(!(!da.test(d.nodeName)||d.readOnly)){f=c.data(d,"_change_data");e=Fa(d);if(a.type!=="focusout"||d.type!=="radio")c.data(d,"_change_data",
63
- e);if(!(f===w||e===f))if(f!=null||e){a.type="change";return c.event.trigger(a,b,d)}}};c.event.special.change={filters:{focusout:fa,click:function(a){var b=a.target,d=b.type;if(d==="radio"||d==="checkbox"||b.nodeName.toLowerCase()==="select")return fa.call(this,a)},keydown:function(a){var b=a.target,d=b.type;if(a.keyCode===13&&b.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(d==="checkbox"||d==="radio")||d==="select-multiple")return fa.call(this,a)},beforeactivate:function(a){a=a.target;c.data(a,
64
- "_change_data",Fa(a))}},setup:function(){if(this.type==="file")return false;for(var a in ea)c.event.add(this,a+".specialChange",ea[a]);return da.test(this.nodeName)},teardown:function(){c.event.remove(this,".specialChange");return da.test(this.nodeName)}};ea=c.event.special.change.filters}s.addEventListener&&c.each({focus:"focusin",blur:"focusout"},function(a,b){function d(f){f=c.event.fix(f);f.type=b;return c.event.handle.call(this,f)}c.event.special[b]={setup:function(){this.addEventListener(a,
65
- d,true)},teardown:function(){this.removeEventListener(a,d,true)}}});c.each(["bind","one"],function(a,b){c.fn[b]=function(d,f,e){if(typeof d==="object"){for(var j in d)this[b](j,f,d[j],e);return this}if(c.isFunction(f)){e=f;f=w}var i=b==="one"?c.proxy(e,function(k){c(this).unbind(k,i);return e.apply(this,arguments)}):e;if(d==="unload"&&b!=="one")this.one(d,f,e);else{j=0;for(var o=this.length;j<o;j++)c.event.add(this[j],d,i,f)}return this}});c.fn.extend({unbind:function(a,b){if(typeof a==="object"&&
66
- !a.preventDefault)for(var d in a)this.unbind(d,a[d]);else{d=0;for(var f=this.length;d<f;d++)c.event.remove(this[d],a,b)}return this},delegate:function(a,b,d,f){return this.live(b,d,f,a)},undelegate:function(a,b,d){return arguments.length===0?this.unbind("live"):this.die(b,null,d,a)},trigger:function(a,b){return this.each(function(){c.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0]){a=c.Event(a);a.preventDefault();a.stopPropagation();c.event.trigger(a,b,this[0]);return a.result}},
67
- toggle:function(a){for(var b=arguments,d=1;d<b.length;)c.proxy(a,b[d++]);return this.click(c.proxy(a,function(f){var e=(c.data(this,"lastToggle"+a.guid)||0)%d;c.data(this,"lastToggle"+a.guid,e+1);f.preventDefault();return b[e].apply(this,arguments)||false}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var Ga={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};c.each(["live","die"],function(a,b){c.fn[b]=function(d,f,e,j){var i,o=0,k,n,r=j||this.selector,
68
- u=j?this:c(this.context);if(c.isFunction(f)){e=f;f=w}for(d=(d||"").split(" ");(i=d[o++])!=null;){j=O.exec(i);k="";if(j){k=j[0];i=i.replace(O,"")}if(i==="hover")d.push("mouseenter"+k,"mouseleave"+k);else{n=i;if(i==="focus"||i==="blur"){d.push(Ga[i]+k);i+=k}else i=(Ga[i]||i)+k;b==="live"?u.each(function(){c.event.add(this,pa(i,r),{data:f,selector:r,handler:e,origType:i,origHandler:e,preType:n})}):u.unbind(pa(i,r),e)}}return this}});c.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),
69
- function(a,b){c.fn[b]=function(d){return d?this.bind(b,d):this.trigger(b)};if(c.attrFn)c.attrFn[b]=true});A.attachEvent&&!A.addEventListener&&A.attachEvent("onunload",function(){for(var a in c.cache)if(c.cache[a].handle)try{c.event.remove(c.cache[a].handle.elem)}catch(b){}});(function(){function a(g){for(var h="",l,m=0;g[m];m++){l=g[m];if(l.nodeType===3||l.nodeType===4)h+=l.nodeValue;else if(l.nodeType!==8)h+=a(l.childNodes)}return h}function b(g,h,l,m,q,p){q=0;for(var v=m.length;q<v;q++){var t=m[q];
70
- if(t){t=t[g];for(var y=false;t;){if(t.sizcache===l){y=m[t.sizset];break}if(t.nodeType===1&&!p){t.sizcache=l;t.sizset=q}if(t.nodeName.toLowerCase()===h){y=t;break}t=t[g]}m[q]=y}}}function d(g,h,l,m,q,p){q=0;for(var v=m.length;q<v;q++){var t=m[q];if(t){t=t[g];for(var y=false;t;){if(t.sizcache===l){y=m[t.sizset];break}if(t.nodeType===1){if(!p){t.sizcache=l;t.sizset=q}if(typeof h!=="string"){if(t===h){y=true;break}}else if(k.filter(h,[t]).length>0){y=t;break}}t=t[g]}m[q]=y}}}var f=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,
71
- e=0,j=Object.prototype.toString,i=false,o=true;[0,0].sort(function(){o=false;return 0});var k=function(g,h,l,m){l=l||[];var q=h=h||s;if(h.nodeType!==1&&h.nodeType!==9)return[];if(!g||typeof g!=="string")return l;for(var p=[],v,t,y,S,H=true,M=x(h),I=g;(f.exec(""),v=f.exec(I))!==null;){I=v[3];p.push(v[1]);if(v[2]){S=v[3];break}}if(p.length>1&&r.exec(g))if(p.length===2&&n.relative[p[0]])t=ga(p[0]+p[1],h);else for(t=n.relative[p[0]]?[h]:k(p.shift(),h);p.length;){g=p.shift();if(n.relative[g])g+=p.shift();
72
- t=ga(g,t)}else{if(!m&&p.length>1&&h.nodeType===9&&!M&&n.match.ID.test(p[0])&&!n.match.ID.test(p[p.length-1])){v=k.find(p.shift(),h,M);h=v.expr?k.filter(v.expr,v.set)[0]:v.set[0]}if(h){v=m?{expr:p.pop(),set:z(m)}:k.find(p.pop(),p.length===1&&(p[0]==="~"||p[0]==="+")&&h.parentNode?h.parentNode:h,M);t=v.expr?k.filter(v.expr,v.set):v.set;if(p.length>0)y=z(t);else H=false;for(;p.length;){var D=p.pop();v=D;if(n.relative[D])v=p.pop();else D="";if(v==null)v=h;n.relative[D](y,v,M)}}else y=[]}y||(y=t);y||k.error(D||
73
- g);if(j.call(y)==="[object Array]")if(H)if(h&&h.nodeType===1)for(g=0;y[g]!=null;g++){if(y[g]&&(y[g]===true||y[g].nodeType===1&&E(h,y[g])))l.push(t[g])}else for(g=0;y[g]!=null;g++)y[g]&&y[g].nodeType===1&&l.push(t[g]);else l.push.apply(l,y);else z(y,l);if(S){k(S,q,l,m);k.uniqueSort(l)}return l};k.uniqueSort=function(g){if(B){i=o;g.sort(B);if(i)for(var h=1;h<g.length;h++)g[h]===g[h-1]&&g.splice(h--,1)}return g};k.matches=function(g,h){return k(g,null,null,h)};k.find=function(g,h,l){var m,q;if(!g)return[];
74
- for(var p=0,v=n.order.length;p<v;p++){var t=n.order[p];if(q=n.leftMatch[t].exec(g)){var y=q[1];q.splice(1,1);if(y.substr(y.length-1)!=="\\"){q[1]=(q[1]||"").replace(/\\/g,"");m=n.find[t](q,h,l);if(m!=null){g=g.replace(n.match[t],"");break}}}}m||(m=h.getElementsByTagName("*"));return{set:m,expr:g}};k.filter=function(g,h,l,m){for(var q=g,p=[],v=h,t,y,S=h&&h[0]&&x(h[0]);g&&h.length;){for(var H in n.filter)if((t=n.leftMatch[H].exec(g))!=null&&t[2]){var M=n.filter[H],I,D;D=t[1];y=false;t.splice(1,1);if(D.substr(D.length-
75
- 1)!=="\\"){if(v===p)p=[];if(n.preFilter[H])if(t=n.preFilter[H](t,v,l,p,m,S)){if(t===true)continue}else y=I=true;if(t)for(var U=0;(D=v[U])!=null;U++)if(D){I=M(D,t,U,v);var Ha=m^!!I;if(l&&I!=null)if(Ha)y=true;else v[U]=false;else if(Ha){p.push(D);y=true}}if(I!==w){l||(v=p);g=g.replace(n.match[H],"");if(!y)return[];break}}}if(g===q)if(y==null)k.error(g);else break;q=g}return v};k.error=function(g){throw"Syntax error, unrecognized expression: "+g;};var n=k.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF-]|\\.)+)/,
76
- CLASS:/\.((?:[\w\u00c0-\uFFFF-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(g){return g.getAttribute("href")}},
77
- relative:{"+":function(g,h){var l=typeof h==="string",m=l&&!/\W/.test(h);l=l&&!m;if(m)h=h.toLowerCase();m=0;for(var q=g.length,p;m<q;m++)if(p=g[m]){for(;(p=p.previousSibling)&&p.nodeType!==1;);g[m]=l||p&&p.nodeName.toLowerCase()===h?p||false:p===h}l&&k.filter(h,g,true)},">":function(g,h){var l=typeof h==="string";if(l&&!/\W/.test(h)){h=h.toLowerCase();for(var m=0,q=g.length;m<q;m++){var p=g[m];if(p){l=p.parentNode;g[m]=l.nodeName.toLowerCase()===h?l:false}}}else{m=0;for(q=g.length;m<q;m++)if(p=g[m])g[m]=
78
- l?p.parentNode:p.parentNode===h;l&&k.filter(h,g,true)}},"":function(g,h,l){var m=e++,q=d;if(typeof h==="string"&&!/\W/.test(h)){var p=h=h.toLowerCase();q=b}q("parentNode",h,m,g,p,l)},"~":function(g,h,l){var m=e++,q=d;if(typeof h==="string"&&!/\W/.test(h)){var p=h=h.toLowerCase();q=b}q("previousSibling",h,m,g,p,l)}},find:{ID:function(g,h,l){if(typeof h.getElementById!=="undefined"&&!l)return(g=h.getElementById(g[1]))?[g]:[]},NAME:function(g,h){if(typeof h.getElementsByName!=="undefined"){var l=[];
79
- h=h.getElementsByName(g[1]);for(var m=0,q=h.length;m<q;m++)h[m].getAttribute("name")===g[1]&&l.push(h[m]);return l.length===0?null:l}},TAG:function(g,h){return h.getElementsByTagName(g[1])}},preFilter:{CLASS:function(g,h,l,m,q,p){g=" "+g[1].replace(/\\/g,"")+" ";if(p)return g;p=0;for(var v;(v=h[p])!=null;p++)if(v)if(q^(v.className&&(" "+v.className+" ").replace(/[\t\n]/g," ").indexOf(g)>=0))l||m.push(v);else if(l)h[p]=false;return false},ID:function(g){return g[1].replace(/\\/g,"")},TAG:function(g){return g[1].toLowerCase()},
80
- CHILD:function(g){if(g[1]==="nth"){var h=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(g[2]==="even"&&"2n"||g[2]==="odd"&&"2n+1"||!/\D/.test(g[2])&&"0n+"+g[2]||g[2]);g[2]=h[1]+(h[2]||1)-0;g[3]=h[3]-0}g[0]=e++;return g},ATTR:function(g,h,l,m,q,p){h=g[1].replace(/\\/g,"");if(!p&&n.attrMap[h])g[1]=n.attrMap[h];if(g[2]==="~=")g[4]=" "+g[4]+" ";return g},PSEUDO:function(g,h,l,m,q){if(g[1]==="not")if((f.exec(g[3])||"").length>1||/^\w/.test(g[3]))g[3]=k(g[3],null,null,h);else{g=k.filter(g[3],h,l,true^q);l||m.push.apply(m,
81
- g);return false}else if(n.match.POS.test(g[0])||n.match.CHILD.test(g[0]))return true;return g},POS:function(g){g.unshift(true);return g}},filters:{enabled:function(g){return g.disabled===false&&g.type!=="hidden"},disabled:function(g){return g.disabled===true},checked:function(g){return g.checked===true},selected:function(g){return g.selected===true},parent:function(g){return!!g.firstChild},empty:function(g){return!g.firstChild},has:function(g,h,l){return!!k(l[3],g).length},header:function(g){return/h\d/i.test(g.nodeName)},
82
- text:function(g){return"text"===g.type},radio:function(g){return"radio"===g.type},checkbox:function(g){return"checkbox"===g.type},file:function(g){return"file"===g.type},password:function(g){return"password"===g.type},submit:function(g){return"submit"===g.type},image:function(g){return"image"===g.type},reset:function(g){return"reset"===g.type},button:function(g){return"button"===g.type||g.nodeName.toLowerCase()==="button"},input:function(g){return/input|select|textarea|button/i.test(g.nodeName)}},
83
- setFilters:{first:function(g,h){return h===0},last:function(g,h,l,m){return h===m.length-1},even:function(g,h){return h%2===0},odd:function(g,h){return h%2===1},lt:function(g,h,l){return h<l[3]-0},gt:function(g,h,l){return h>l[3]-0},nth:function(g,h,l){return l[3]-0===h},eq:function(g,h,l){return l[3]-0===h}},filter:{PSEUDO:function(g,h,l,m){var q=h[1],p=n.filters[q];if(p)return p(g,l,h,m);else if(q==="contains")return(g.textContent||g.innerText||a([g])||"").indexOf(h[3])>=0;else if(q==="not"){h=
84
- h[3];l=0;for(m=h.length;l<m;l++)if(h[l]===g)return false;return true}else k.error("Syntax error, unrecognized expression: "+q)},CHILD:function(g,h){var l=h[1],m=g;switch(l){case "only":case "first":for(;m=m.previousSibling;)if(m.nodeType===1)return false;if(l==="first")return true;m=g;case "last":for(;m=m.nextSibling;)if(m.nodeType===1)return false;return true;case "nth":l=h[2];var q=h[3];if(l===1&&q===0)return true;h=h[0];var p=g.parentNode;if(p&&(p.sizcache!==h||!g.nodeIndex)){var v=0;for(m=p.firstChild;m;m=
85
- m.nextSibling)if(m.nodeType===1)m.nodeIndex=++v;p.sizcache=h}g=g.nodeIndex-q;return l===0?g===0:g%l===0&&g/l>=0}},ID:function(g,h){return g.nodeType===1&&g.getAttribute("id")===h},TAG:function(g,h){return h==="*"&&g.nodeType===1||g.nodeName.toLowerCase()===h},CLASS:function(g,h){return(" "+(g.className||g.getAttribute("class"))+" ").indexOf(h)>-1},ATTR:function(g,h){var l=h[1];g=n.attrHandle[l]?n.attrHandle[l](g):g[l]!=null?g[l]:g.getAttribute(l);l=g+"";var m=h[2];h=h[4];return g==null?m==="!=":m===
86
- "="?l===h:m==="*="?l.indexOf(h)>=0:m==="~="?(" "+l+" ").indexOf(h)>=0:!h?l&&g!==false:m==="!="?l!==h:m==="^="?l.indexOf(h)===0:m==="$="?l.substr(l.length-h.length)===h:m==="|="?l===h||l.substr(0,h.length+1)===h+"-":false},POS:function(g,h,l,m){var q=n.setFilters[h[2]];if(q)return q(g,l,h,m)}}},r=n.match.POS;for(var u in n.match){n.match[u]=new RegExp(n.match[u].source+/(?![^\[]*\])(?![^\(]*\))/.source);n.leftMatch[u]=new RegExp(/(^(?:.|\r|\n)*?)/.source+n.match[u].source.replace(/\\(\d+)/g,function(g,
87
- h){return"\\"+(h-0+1)}))}var z=function(g,h){g=Array.prototype.slice.call(g,0);if(h){h.push.apply(h,g);return h}return g};try{Array.prototype.slice.call(s.documentElement.childNodes,0)}catch(C){z=function(g,h){h=h||[];if(j.call(g)==="[object Array]")Array.prototype.push.apply(h,g);else if(typeof g.length==="number")for(var l=0,m=g.length;l<m;l++)h.push(g[l]);else for(l=0;g[l];l++)h.push(g[l]);return h}}var B;if(s.documentElement.compareDocumentPosition)B=function(g,h){if(!g.compareDocumentPosition||
88
- !h.compareDocumentPosition){if(g==h)i=true;return g.compareDocumentPosition?-1:1}g=g.compareDocumentPosition(h)&4?-1:g===h?0:1;if(g===0)i=true;return g};else if("sourceIndex"in s.documentElement)B=function(g,h){if(!g.sourceIndex||!h.sourceIndex){if(g==h)i=true;return g.sourceIndex?-1:1}g=g.sourceIndex-h.sourceIndex;if(g===0)i=true;return g};else if(s.createRange)B=function(g,h){if(!g.ownerDocument||!h.ownerDocument){if(g==h)i=true;return g.ownerDocument?-1:1}var l=g.ownerDocument.createRange(),m=
89
- h.ownerDocument.createRange();l.setStart(g,0);l.setEnd(g,0);m.setStart(h,0);m.setEnd(h,0);g=l.compareBoundaryPoints(Range.START_TO_END,m);if(g===0)i=true;return g};(function(){var g=s.createElement("div"),h="script"+(new Date).getTime();g.innerHTML="<a name='"+h+"'/>";var l=s.documentElement;l.insertBefore(g,l.firstChild);if(s.getElementById(h)){n.find.ID=function(m,q,p){if(typeof q.getElementById!=="undefined"&&!p)return(q=q.getElementById(m[1]))?q.id===m[1]||typeof q.getAttributeNode!=="undefined"&&
90
- q.getAttributeNode("id").nodeValue===m[1]?[q]:w:[]};n.filter.ID=function(m,q){var p=typeof m.getAttributeNode!=="undefined"&&m.getAttributeNode("id");return m.nodeType===1&&p&&p.nodeValue===q}}l.removeChild(g);l=g=null})();(function(){var g=s.createElement("div");g.appendChild(s.createComment(""));if(g.getElementsByTagName("*").length>0)n.find.TAG=function(h,l){l=l.getElementsByTagName(h[1]);if(h[1]==="*"){h=[];for(var m=0;l[m];m++)l[m].nodeType===1&&h.push(l[m]);l=h}return l};g.innerHTML="<a href='#'></a>";
91
- if(g.firstChild&&typeof g.firstChild.getAttribute!=="undefined"&&g.firstChild.getAttribute("href")!=="#")n.attrHandle.href=function(h){return h.getAttribute("href",2)};g=null})();s.querySelectorAll&&function(){var g=k,h=s.createElement("div");h.innerHTML="<p class='TEST'></p>";if(!(h.querySelectorAll&&h.querySelectorAll(".TEST").length===0)){k=function(m,q,p,v){q=q||s;if(!v&&q.nodeType===9&&!x(q))try{return z(q.querySelectorAll(m),p)}catch(t){}return g(m,q,p,v)};for(var l in g)k[l]=g[l];h=null}}();
92
- (function(){var g=s.createElement("div");g.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!g.getElementsByClassName||g.getElementsByClassName("e").length===0)){g.lastChild.className="e";if(g.getElementsByClassName("e").length!==1){n.order.splice(1,0,"CLASS");n.find.CLASS=function(h,l,m){if(typeof l.getElementsByClassName!=="undefined"&&!m)return l.getElementsByClassName(h[1])};g=null}}})();var E=s.compareDocumentPosition?function(g,h){return!!(g.compareDocumentPosition(h)&16)}:
93
- function(g,h){return g!==h&&(g.contains?g.contains(h):true)},x=function(g){return(g=(g?g.ownerDocument||g:0).documentElement)?g.nodeName!=="HTML":false},ga=function(g,h){var l=[],m="",q;for(h=h.nodeType?[h]:h;q=n.match.PSEUDO.exec(g);){m+=q[0];g=g.replace(n.match.PSEUDO,"")}g=n.relative[g]?g+"*":g;q=0;for(var p=h.length;q<p;q++)k(g,h[q],l);return k.filter(m,l)};c.find=k;c.expr=k.selectors;c.expr[":"]=c.expr.filters;c.unique=k.uniqueSort;c.text=a;c.isXMLDoc=x;c.contains=E})();var eb=/Until$/,fb=/^(?:parents|prevUntil|prevAll)/,
94
- gb=/,/;R=Array.prototype.slice;var Ia=function(a,b,d){if(c.isFunction(b))return c.grep(a,function(e,j){return!!b.call(e,j,e)===d});else if(b.nodeType)return c.grep(a,function(e){return e===b===d});else if(typeof b==="string"){var f=c.grep(a,function(e){return e.nodeType===1});if(Ua.test(b))return c.filter(b,f,!d);else b=c.filter(b,f)}return c.grep(a,function(e){return c.inArray(e,b)>=0===d})};c.fn.extend({find:function(a){for(var b=this.pushStack("","find",a),d=0,f=0,e=this.length;f<e;f++){d=b.length;
95
- c.find(a,this[f],b);if(f>0)for(var j=d;j<b.length;j++)for(var i=0;i<d;i++)if(b[i]===b[j]){b.splice(j--,1);break}}return b},has:function(a){var b=c(a);return this.filter(function(){for(var d=0,f=b.length;d<f;d++)if(c.contains(this,b[d]))return true})},not:function(a){return this.pushStack(Ia(this,a,false),"not",a)},filter:function(a){return this.pushStack(Ia(this,a,true),"filter",a)},is:function(a){return!!a&&c.filter(a,this).length>0},closest:function(a,b){if(c.isArray(a)){var d=[],f=this[0],e,j=
96
- {},i;if(f&&a.length){e=0;for(var o=a.length;e<o;e++){i=a[e];j[i]||(j[i]=c.expr.match.POS.test(i)?c(i,b||this.context):i)}for(;f&&f.ownerDocument&&f!==b;){for(i in j){e=j[i];if(e.jquery?e.index(f)>-1:c(f).is(e)){d.push({selector:i,elem:f});delete j[i]}}f=f.parentNode}}return d}var k=c.expr.match.POS.test(a)?c(a,b||this.context):null;return this.map(function(n,r){for(;r&&r.ownerDocument&&r!==b;){if(k?k.index(r)>-1:c(r).is(a))return r;r=r.parentNode}return null})},index:function(a){if(!a||typeof a===
97
- "string")return c.inArray(this[0],a?c(a):this.parent().children());return c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){a=typeof a==="string"?c(a,b||this.context):c.makeArray(a);b=c.merge(this.get(),a);return this.pushStack(qa(a[0])||qa(b[0])?b:c.unique(b))},andSelf:function(){return this.add(this.prevObject)}});c.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return c.dir(a,"parentNode")},parentsUntil:function(a,b,d){return c.dir(a,"parentNode",
98
- d)},next:function(a){return c.nth(a,2,"nextSibling")},prev:function(a){return c.nth(a,2,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},nextUntil:function(a,b,d){return c.dir(a,"nextSibling",d)},prevUntil:function(a,b,d){return c.dir(a,"previousSibling",d)},siblings:function(a){return c.sibling(a.parentNode.firstChild,a)},children:function(a){return c.sibling(a.firstChild)},contents:function(a){return c.nodeName(a,"iframe")?
99
- a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,b){c.fn[a]=function(d,f){var e=c.map(this,b,d);eb.test(a)||(f=d);if(f&&typeof f==="string")e=c.filter(f,e);e=this.length>1?c.unique(e):e;if((this.length>1||gb.test(f))&&fb.test(a))e=e.reverse();return this.pushStack(e,a,R.call(arguments).join(","))}});c.extend({filter:function(a,b,d){if(d)a=":not("+a+")";return c.find.matches(a,b)},dir:function(a,b,d){var f=[];for(a=a[b];a&&a.nodeType!==9&&(d===w||a.nodeType!==1||!c(a).is(d));){a.nodeType===
100
- 1&&f.push(a);a=a[b]}return f},nth:function(a,b,d){b=b||1;for(var f=0;a;a=a[d])if(a.nodeType===1&&++f===b)break;return a},sibling:function(a,b){for(var d=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&d.push(a);return d}});var Ja=/ jQuery\d+="(?:\d+|null)"/g,V=/^\s+/,Ka=/(<([\w:]+)[^>]*?)\/>/g,hb=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,La=/<([\w:]+)/,ib=/<tbody/i,jb=/<|&#?\w+;/,ta=/<script|<object|<embed|<option|<style/i,ua=/checked\s*(?:[^=]|=\s*.checked.)/i,Ma=function(a,b,d){return hb.test(d)?
101
- a:b+"></"+d+">"},F={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};F.optgroup=F.option;F.tbody=F.tfoot=F.colgroup=F.caption=F.thead;F.th=F.td;if(!c.support.htmlSerialize)F._default=[1,"div<div>","</div>"];c.fn.extend({text:function(a){if(c.isFunction(a))return this.each(function(b){var d=
102
- c(this);d.text(a.call(this,b,d.text()))});if(typeof a!=="object"&&a!==w)return this.empty().append((this[0]&&this[0].ownerDocument||s).createTextNode(a));return c.text(this)},wrapAll:function(a){if(c.isFunction(a))return this.each(function(d){c(this).wrapAll(a.call(this,d))});if(this[0]){var b=c(a,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var d=this;d.firstChild&&d.firstChild.nodeType===1;)d=d.firstChild;return d}).append(this)}return this},
103
- wrapInner:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapInner(a.call(this,b))});return this.each(function(){var b=c(this),d=b.contents();d.length?d.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){c(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){c.nodeName(this,"body")||c(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.appendChild(a)})},
104
- prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this)});else if(arguments.length){var a=c(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,
105
- this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,c(arguments[0]).toArray());return a}},remove:function(a,b){for(var d=0,f;(f=this[d])!=null;d++)if(!a||c.filter(a,[f]).length){if(!b&&f.nodeType===1){c.cleanData(f.getElementsByTagName("*"));c.cleanData([f])}f.parentNode&&f.parentNode.removeChild(f)}return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++)for(b.nodeType===1&&c.cleanData(b.getElementsByTagName("*"));b.firstChild;)b.removeChild(b.firstChild);
106
- return this},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&&!c.isXMLDoc(this)){var d=this.outerHTML,f=this.ownerDocument;if(!d){d=f.createElement("div");d.appendChild(this.cloneNode(true));d=d.innerHTML}return c.clean([d.replace(Ja,"").replace(/=([^="'>\s]+\/)>/g,'="$1">').replace(V,"")],f)[0]}else return this.cloneNode(true)});if(a===true){ra(this,b);ra(this.find("*"),b.find("*"))}return b},html:function(a){if(a===w)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(Ja,
107
- ""):null;else if(typeof a==="string"&&!ta.test(a)&&(c.support.leadingWhitespace||!V.test(a))&&!F[(La.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Ka,Ma);try{for(var b=0,d=this.length;b<d;b++)if(this[b].nodeType===1){c.cleanData(this[b].getElementsByTagName("*"));this[b].innerHTML=a}}catch(f){this.empty().append(a)}}else c.isFunction(a)?this.each(function(e){var j=c(this),i=j.html();j.empty().append(function(){return a.call(this,e,i)})}):this.empty().append(a);return this},replaceWith:function(a){if(this[0]&&
108
- this[0].parentNode){if(c.isFunction(a))return this.each(function(b){var d=c(this),f=d.html();d.replaceWith(a.call(this,b,f))});if(typeof a!=="string")a=c(a).detach();return this.each(function(){var b=this.nextSibling,d=this.parentNode;c(this).remove();b?c(b).before(a):c(d).append(a)})}else return this.pushStack(c(c.isFunction(a)?a():a),"replaceWith",a)},detach:function(a){return this.remove(a,true)},domManip:function(a,b,d){function f(u){return c.nodeName(u,"table")?u.getElementsByTagName("tbody")[0]||
109
- u.appendChild(u.ownerDocument.createElement("tbody")):u}var e,j,i=a[0],o=[],k;if(!c.support.checkClone&&arguments.length===3&&typeof i==="string"&&ua.test(i))return this.each(function(){c(this).domManip(a,b,d,true)});if(c.isFunction(i))return this.each(function(u){var z=c(this);a[0]=i.call(this,u,b?z.html():w);z.domManip(a,b,d)});if(this[0]){e=i&&i.parentNode;e=c.support.parentNode&&e&&e.nodeType===11&&e.childNodes.length===this.length?{fragment:e}:sa(a,this,o);k=e.fragment;if(j=k.childNodes.length===
110
- 1?(k=k.firstChild):k.firstChild){b=b&&c.nodeName(j,"tr");for(var n=0,r=this.length;n<r;n++)d.call(b?f(this[n],j):this[n],n>0||e.cacheable||this.length>1?k.cloneNode(true):k)}o.length&&c.each(o,Qa)}return this}});c.fragments={};c.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(d){var f=[];d=c(d);var e=this.length===1&&this[0].parentNode;if(e&&e.nodeType===11&&e.childNodes.length===1&&d.length===1){d[b](this[0]);
111
- return this}else{e=0;for(var j=d.length;e<j;e++){var i=(e>0?this.clone(true):this).get();c.fn[b].apply(c(d[e]),i);f=f.concat(i)}return this.pushStack(f,a,d.selector)}}});c.extend({clean:function(a,b,d,f){b=b||s;if(typeof b.createElement==="undefined")b=b.ownerDocument||b[0]&&b[0].ownerDocument||s;for(var e=[],j=0,i;(i=a[j])!=null;j++){if(typeof i==="number")i+="";if(i){if(typeof i==="string"&&!jb.test(i))i=b.createTextNode(i);else if(typeof i==="string"){i=i.replace(Ka,Ma);var o=(La.exec(i)||["",
112
- ""])[1].toLowerCase(),k=F[o]||F._default,n=k[0],r=b.createElement("div");for(r.innerHTML=k[1]+i+k[2];n--;)r=r.lastChild;if(!c.support.tbody){n=ib.test(i);o=o==="table"&&!n?r.firstChild&&r.firstChild.childNodes:k[1]==="<table>"&&!n?r.childNodes:[];for(k=o.length-1;k>=0;--k)c.nodeName(o[k],"tbody")&&!o[k].childNodes.length&&o[k].parentNode.removeChild(o[k])}!c.support.leadingWhitespace&&V.test(i)&&r.insertBefore(b.createTextNode(V.exec(i)[0]),r.firstChild);i=r.childNodes}if(i.nodeType)e.push(i);else e=
113
- c.merge(e,i)}}if(d)for(j=0;e[j];j++)if(f&&c.nodeName(e[j],"script")&&(!e[j].type||e[j].type.toLowerCase()==="text/javascript"))f.push(e[j].parentNode?e[j].parentNode.removeChild(e[j]):e[j]);else{e[j].nodeType===1&&e.splice.apply(e,[j+1,0].concat(c.makeArray(e[j].getElementsByTagName("script"))));d.appendChild(e[j])}return e},cleanData:function(a){for(var b,d,f=c.cache,e=c.event.special,j=c.support.deleteExpando,i=0,o;(o=a[i])!=null;i++)if(d=o[c.expando]){b=f[d];if(b.events)for(var k in b.events)e[k]?
114
- c.event.remove(o,k):Ca(o,k,b.handle);if(j)delete o[c.expando];else o.removeAttribute&&o.removeAttribute(c.expando);delete f[d]}}});var kb=/z-?index|font-?weight|opacity|zoom|line-?height/i,Na=/alpha\([^)]*\)/,Oa=/opacity=([^)]*)/,ha=/float/i,ia=/-([a-z])/ig,lb=/([A-Z])/g,mb=/^-?\d+(?:px)?$/i,nb=/^-?\d/,ob={position:"absolute",visibility:"hidden",display:"block"},pb=["Left","Right"],qb=["Top","Bottom"],rb=s.defaultView&&s.defaultView.getComputedStyle,Pa=c.support.cssFloat?"cssFloat":"styleFloat",ja=
115
- function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){return X(this,a,b,true,function(d,f,e){if(e===w)return c.curCSS(d,f);if(typeof e==="number"&&!kb.test(f))e+="px";c.style(d,f,e)})};c.extend({style:function(a,b,d){if(!a||a.nodeType===3||a.nodeType===8)return w;if((b==="width"||b==="height")&&parseFloat(d)<0)d=w;var f=a.style||a,e=d!==w;if(!c.support.opacity&&b==="opacity"){if(e){f.zoom=1;b=parseInt(d,10)+""==="NaN"?"":"alpha(opacity="+d*100+")";a=f.filter||c.curCSS(a,"filter")||"";f.filter=
116
- Na.test(a)?a.replace(Na,b):b}return f.filter&&f.filter.indexOf("opacity=")>=0?parseFloat(Oa.exec(f.filter)[1])/100+"":""}if(ha.test(b))b=Pa;b=b.replace(ia,ja);if(e)f[b]=d;return f[b]},css:function(a,b,d,f){if(b==="width"||b==="height"){var e,j=b==="width"?pb:qb;function i(){e=b==="width"?a.offsetWidth:a.offsetHeight;f!=="border"&&c.each(j,function(){f||(e-=parseFloat(c.curCSS(a,"padding"+this,true))||0);if(f==="margin")e+=parseFloat(c.curCSS(a,"margin"+this,true))||0;else e-=parseFloat(c.curCSS(a,
117
- "border"+this+"Width",true))||0})}a.offsetWidth!==0?i():c.swap(a,ob,i);return Math.max(0,Math.round(e))}return c.curCSS(a,b,d)},curCSS:function(a,b,d){var f,e=a.style;if(!c.support.opacity&&b==="opacity"&&a.currentStyle){f=Oa.test(a.currentStyle.filter||"")?parseFloat(RegExp.$1)/100+"":"";return f===""?"1":f}if(ha.test(b))b=Pa;if(!d&&e&&e[b])f=e[b];else if(rb){if(ha.test(b))b="float";b=b.replace(lb,"-$1").toLowerCase();e=a.ownerDocument.defaultView;if(!e)return null;if(a=e.getComputedStyle(a,null))f=
118
- a.getPropertyValue(b);if(b==="opacity"&&f==="")f="1"}else if(a.currentStyle){d=b.replace(ia,ja);f=a.currentStyle[b]||a.currentStyle[d];if(!mb.test(f)&&nb.test(f)){b=e.left;var j=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;e.left=d==="fontSize"?"1em":f||0;f=e.pixelLeft+"px";e.left=b;a.runtimeStyle.left=j}}return f},swap:function(a,b,d){var f={};for(var e in b){f[e]=a.style[e];a.style[e]=b[e]}d.call(a);for(e in b)a.style[e]=f[e]}});if(c.expr&&c.expr.filters){c.expr.filters.hidden=function(a){var b=
119
- a.offsetWidth,d=a.offsetHeight,f=a.nodeName.toLowerCase()==="tr";return b===0&&d===0&&!f?true:b>0&&d>0&&!f?false:c.curCSS(a,"display")==="none"};c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)}}var sb=J(),tb=/<script(.|\s)*?\/script>/gi,ub=/select|textarea/i,vb=/color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i,N=/=\?(&|$)/,ka=/\?/,wb=/(\?|&)_=.*?(&|$)/,xb=/^(\w+:)?\/\/([^\/?#]+)/,yb=/%20/g,zb=c.fn.load;c.fn.extend({load:function(a,b,d){if(typeof a!==
120
- "string")return zb.call(this,a);else if(!this.length)return this;var f=a.indexOf(" ");if(f>=0){var e=a.slice(f,a.length);a=a.slice(0,f)}f="GET";if(b)if(c.isFunction(b)){d=b;b=null}else if(typeof b==="object"){b=c.param(b,c.ajaxSettings.traditional);f="POST"}var j=this;c.ajax({url:a,type:f,dataType:"html",data:b,complete:function(i,o){if(o==="success"||o==="notmodified")j.html(e?c("<div />").append(i.responseText.replace(tb,"")).find(e):i.responseText);d&&j.each(d,[i.responseText,o,i])}});return this},
121
- serialize:function(){return c.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?c.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||ub.test(this.nodeName)||vb.test(this.type))}).map(function(a,b){a=c(this).val();return a==null?null:c.isArray(a)?c.map(a,function(d){return{name:b.name,value:d}}):{name:b.name,value:a}}).get()}});c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),
122
- function(a,b){c.fn[b]=function(d){return this.bind(b,d)}});c.extend({get:function(a,b,d,f){if(c.isFunction(b)){f=f||d;d=b;b=null}return c.ajax({type:"GET",url:a,data:b,success:d,dataType:f})},getScript:function(a,b){return c.get(a,null,b,"script")},getJSON:function(a,b,d){return c.get(a,b,d,"json")},post:function(a,b,d,f){if(c.isFunction(b)){f=f||d;d=b;b={}}return c.ajax({type:"POST",url:a,data:b,success:d,dataType:f})},ajaxSetup:function(a){c.extend(c.ajaxSettings,a)},ajaxSettings:{url:location.href,
123
- global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:A.XMLHttpRequest&&(A.location.protocol!=="file:"||!A.ActiveXObject)?function(){return new A.XMLHttpRequest}:function(){try{return new A.ActiveXObject("Microsoft.XMLHTTP")}catch(a){}},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},etag:{},ajax:function(a){function b(){e.success&&
124
- e.success.call(k,o,i,x);e.global&&f("ajaxSuccess",[x,e])}function d(){e.complete&&e.complete.call(k,x,i);e.global&&f("ajaxComplete",[x,e]);e.global&&!--c.active&&c.event.trigger("ajaxStop")}function f(q,p){(e.context?c(e.context):c.event).trigger(q,p)}var e=c.extend(true,{},c.ajaxSettings,a),j,i,o,k=a&&a.context||e,n=e.type.toUpperCase();if(e.data&&e.processData&&typeof e.data!=="string")e.data=c.param(e.data,e.traditional);if(e.dataType==="jsonp"){if(n==="GET")N.test(e.url)||(e.url+=(ka.test(e.url)?
125
- "&":"?")+(e.jsonp||"callback")+"=?");else if(!e.data||!N.test(e.data))e.data=(e.data?e.data+"&":"")+(e.jsonp||"callback")+"=?";e.dataType="json"}if(e.dataType==="json"&&(e.data&&N.test(e.data)||N.test(e.url))){j=e.jsonpCallback||"jsonp"+sb++;if(e.data)e.data=(e.data+"").replace(N,"="+j+"$1");e.url=e.url.replace(N,"="+j+"$1");e.dataType="script";A[j]=A[j]||function(q){o=q;b();d();A[j]=w;try{delete A[j]}catch(p){}z&&z.removeChild(C)}}if(e.dataType==="script"&&e.cache===null)e.cache=false;if(e.cache===
126
- false&&n==="GET"){var r=J(),u=e.url.replace(wb,"$1_="+r+"$2");e.url=u+(u===e.url?(ka.test(e.url)?"&":"?")+"_="+r:"")}if(e.data&&n==="GET")e.url+=(ka.test(e.url)?"&":"?")+e.data;e.global&&!c.active++&&c.event.trigger("ajaxStart");r=(r=xb.exec(e.url))&&(r[1]&&r[1]!==location.protocol||r[2]!==location.host);if(e.dataType==="script"&&n==="GET"&&r){var z=s.getElementsByTagName("head")[0]||s.documentElement,C=s.createElement("script");C.src=e.url;if(e.scriptCharset)C.charset=e.scriptCharset;if(!j){var B=
127
- false;C.onload=C.onreadystatechange=function(){if(!B&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){B=true;b();d();C.onload=C.onreadystatechange=null;z&&C.parentNode&&z.removeChild(C)}}}z.insertBefore(C,z.firstChild);return w}var E=false,x=e.xhr();if(x){e.username?x.open(n,e.url,e.async,e.username,e.password):x.open(n,e.url,e.async);try{if(e.data||a&&a.contentType)x.setRequestHeader("Content-Type",e.contentType);if(e.ifModified){c.lastModified[e.url]&&x.setRequestHeader("If-Modified-Since",
128
- c.lastModified[e.url]);c.etag[e.url]&&x.setRequestHeader("If-None-Match",c.etag[e.url])}r||x.setRequestHeader("X-Requested-With","XMLHttpRequest");x.setRequestHeader("Accept",e.dataType&&e.accepts[e.dataType]?e.accepts[e.dataType]+", */*":e.accepts._default)}catch(ga){}if(e.beforeSend&&e.beforeSend.call(k,x,e)===false){e.global&&!--c.active&&c.event.trigger("ajaxStop");x.abort();return false}e.global&&f("ajaxSend",[x,e]);var g=x.onreadystatechange=function(q){if(!x||x.readyState===0||q==="abort"){E||
129
- d();E=true;if(x)x.onreadystatechange=c.noop}else if(!E&&x&&(x.readyState===4||q==="timeout")){E=true;x.onreadystatechange=c.noop;i=q==="timeout"?"timeout":!c.httpSuccess(x)?"error":e.ifModified&&c.httpNotModified(x,e.url)?"notmodified":"success";var p;if(i==="success")try{o=c.httpData(x,e.dataType,e)}catch(v){i="parsererror";p=v}if(i==="success"||i==="notmodified")j||b();else c.handleError(e,x,i,p);d();q==="timeout"&&x.abort();if(e.async)x=null}};try{var h=x.abort;x.abort=function(){x&&h.call(x);
130
- g("abort")}}catch(l){}e.async&&e.timeout>0&&setTimeout(function(){x&&!E&&g("timeout")},e.timeout);try{x.send(n==="POST"||n==="PUT"||n==="DELETE"?e.data:null)}catch(m){c.handleError(e,x,null,m);d()}e.async||g();return x}},handleError:function(a,b,d,f){if(a.error)a.error.call(a.context||a,b,d,f);if(a.global)(a.context?c(a.context):c.event).trigger("ajaxError",[b,a,f])},active:0,httpSuccess:function(a){try{return!a.status&&location.protocol==="file:"||a.status>=200&&a.status<300||a.status===304||a.status===
131
- 1223||a.status===0}catch(b){}return false},httpNotModified:function(a,b){var d=a.getResponseHeader("Last-Modified"),f=a.getResponseHeader("Etag");if(d)c.lastModified[b]=d;if(f)c.etag[b]=f;return a.status===304||a.status===0},httpData:function(a,b,d){var f=a.getResponseHeader("content-type")||"",e=b==="xml"||!b&&f.indexOf("xml")>=0;a=e?a.responseXML:a.responseText;e&&a.documentElement.nodeName==="parsererror"&&c.error("parsererror");if(d&&d.dataFilter)a=d.dataFilter(a,b);if(typeof a==="string")if(b===
132
- "json"||!b&&f.indexOf("json")>=0)a=c.parseJSON(a);else if(b==="script"||!b&&f.indexOf("javascript")>=0)c.globalEval(a);return a},param:function(a,b){function d(i,o){if(c.isArray(o))c.each(o,function(k,n){b||/\[\]$/.test(i)?f(i,n):d(i+"["+(typeof n==="object"||c.isArray(n)?k:"")+"]",n)});else!b&&o!=null&&typeof o==="object"?c.each(o,function(k,n){d(i+"["+k+"]",n)}):f(i,o)}function f(i,o){o=c.isFunction(o)?o():o;e[e.length]=encodeURIComponent(i)+"="+encodeURIComponent(o)}var e=[];if(b===w)b=c.ajaxSettings.traditional;
133
- if(c.isArray(a)||a.jquery)c.each(a,function(){f(this.name,this.value)});else for(var j in a)d(j,a[j]);return e.join("&").replace(yb,"+")}});var la={},Ab=/toggle|show|hide/,Bb=/^([+-]=)?([\d+-.]+)(.*)$/,W,va=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];c.fn.extend({show:function(a,b){if(a||a===0)return this.animate(K("show",3),a,b);else{a=0;for(b=this.length;a<b;a++){var d=c.data(this[a],"olddisplay");
134
- this[a].style.display=d||"";if(c.css(this[a],"display")==="none"){d=this[a].nodeName;var f;if(la[d])f=la[d];else{var e=c("<"+d+" />").appendTo("body");f=e.css("display");if(f==="none")f="block";e.remove();la[d]=f}c.data(this[a],"olddisplay",f)}}a=0;for(b=this.length;a<b;a++)this[a].style.display=c.data(this[a],"olddisplay")||"";return this}},hide:function(a,b){if(a||a===0)return this.animate(K("hide",3),a,b);else{a=0;for(b=this.length;a<b;a++){var d=c.data(this[a],"olddisplay");!d&&d!=="none"&&c.data(this[a],
135
- "olddisplay",c.css(this[a],"display"))}a=0;for(b=this.length;a<b;a++)this[a].style.display="none";return this}},_toggle:c.fn.toggle,toggle:function(a,b){var d=typeof a==="boolean";if(c.isFunction(a)&&c.isFunction(b))this._toggle.apply(this,arguments);else a==null||d?this.each(function(){var f=d?a:c(this).is(":hidden");c(this)[f?"show":"hide"]()}):this.animate(K("toggle",3),a,b);return this},fadeTo:function(a,b,d){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,d)},
136
- animate:function(a,b,d,f){var e=c.speed(b,d,f);if(c.isEmptyObject(a))return this.each(e.complete);return this[e.queue===false?"each":"queue"](function(){var j=c.extend({},e),i,o=this.nodeType===1&&c(this).is(":hidden"),k=this;for(i in a){var n=i.replace(ia,ja);if(i!==n){a[n]=a[i];delete a[i];i=n}if(a[i]==="hide"&&o||a[i]==="show"&&!o)return j.complete.call(this);if((i==="height"||i==="width")&&this.style){j.display=c.css(this,"display");j.overflow=this.style.overflow}if(c.isArray(a[i])){(j.specialEasing=
137
- j.specialEasing||{})[i]=a[i][1];a[i]=a[i][0]}}if(j.overflow!=null)this.style.overflow="hidden";j.curAnim=c.extend({},a);c.each(a,function(r,u){var z=new c.fx(k,j,r);if(Ab.test(u))z[u==="toggle"?o?"show":"hide":u](a);else{var C=Bb.exec(u),B=z.cur(true)||0;if(C){u=parseFloat(C[2]);var E=C[3]||"px";if(E!=="px"){k.style[r]=(u||1)+E;B=(u||1)/z.cur(true)*B;k.style[r]=B+E}if(C[1])u=(C[1]==="-="?-1:1)*u+B;z.custom(B,u,E)}else z.custom(B,u,"")}});return true})},stop:function(a,b){var d=c.timers;a&&this.queue([]);
138
- this.each(function(){for(var f=d.length-1;f>=0;f--)if(d[f].elem===this){b&&d[f](true);d.splice(f,1)}});b||this.dequeue();return this}});c.each({slideDown:K("show",1),slideUp:K("hide",1),slideToggle:K("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(a,b){c.fn[a]=function(d,f){return this.animate(b,d,f)}});c.extend({speed:function(a,b,d){var f=a&&typeof a==="object"?a:{complete:d||!d&&b||c.isFunction(a)&&a,duration:a,easing:d&&b||b&&!c.isFunction(b)&&b};f.duration=c.fx.off?0:typeof f.duration===
139
- "number"?f.duration:c.fx.speeds[f.duration]||c.fx.speeds._default;f.old=f.complete;f.complete=function(){f.queue!==false&&c(this).dequeue();c.isFunction(f.old)&&f.old.call(this)};return f},easing:{linear:function(a,b,d,f){return d+f*a},swing:function(a,b,d,f){return(-Math.cos(a*Math.PI)/2+0.5)*f+d}},timers:[],fx:function(a,b,d){this.options=b;this.elem=a;this.prop=d;if(!b.orig)b.orig={}}});c.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(c.fx.step[this.prop]||
140
- c.fx.step._default)(this);if((this.prop==="height"||this.prop==="width")&&this.elem.style)this.elem.style.display="block"},cur:function(a){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];return(a=parseFloat(c.css(this.elem,this.prop,a)))&&a>-10000?a:parseFloat(c.curCSS(this.elem,this.prop))||0},custom:function(a,b,d){function f(j){return e.step(j)}this.startTime=J();this.start=a;this.end=b;this.unit=d||this.unit||"px";this.now=this.start;
141
- this.pos=this.state=0;var e=this;f.elem=this.elem;if(f()&&c.timers.push(f)&&!W)W=setInterval(c.fx.tick,13)},show:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(a){var b=J(),d=true;if(a||b>=this.options.duration+this.startTime){this.now=
142
- this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var f in this.options.curAnim)if(this.options.curAnim[f]!==true)d=false;if(d){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;a=c.data(this.elem,"olddisplay");this.elem.style.display=a?a:this.options.display;if(c.css(this.elem,"display")==="none")this.elem.style.display="block"}this.options.hide&&c(this.elem).hide();if(this.options.hide||this.options.show)for(var e in this.options.curAnim)c.style(this.elem,
143
- e,this.options.orig[e]);this.options.complete.call(this.elem)}return false}else{e=b-this.startTime;this.state=e/this.options.duration;a=this.options.easing||(c.easing.swing?"swing":"linear");this.pos=c.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||a](this.state,e,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};c.extend(c.fx,{tick:function(){for(var a=c.timers,b=0;b<a.length;b++)a[b]()||a.splice(b--,1);a.length||
144
- c.fx.stop()},stop:function(){clearInterval(W);W=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){c.style(a.elem,"opacity",a.now)},_default:function(a){if(a.elem.style&&a.elem.style[a.prop]!=null)a.elem.style[a.prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit;else a.elem[a.prop]=a.now}}});if(c.expr&&c.expr.filters)c.expr.filters.animated=function(a){return c.grep(c.timers,function(b){return a===b.elem}).length};c.fn.offset="getBoundingClientRect"in s.documentElement?
145
- function(a){var b=this[0];if(a)return this.each(function(e){c.offset.setOffset(this,a,e)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);var d=b.getBoundingClientRect(),f=b.ownerDocument;b=f.body;f=f.documentElement;return{top:d.top+(self.pageYOffset||c.support.boxModel&&f.scrollTop||b.scrollTop)-(f.clientTop||b.clientTop||0),left:d.left+(self.pageXOffset||c.support.boxModel&&f.scrollLeft||b.scrollLeft)-(f.clientLeft||b.clientLeft||0)}}:function(a){var b=
146
- this[0];if(a)return this.each(function(r){c.offset.setOffset(this,a,r)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);c.offset.initialize();var d=b.offsetParent,f=b,e=b.ownerDocument,j,i=e.documentElement,o=e.body;f=(e=e.defaultView)?e.getComputedStyle(b,null):b.currentStyle;for(var k=b.offsetTop,n=b.offsetLeft;(b=b.parentNode)&&b!==o&&b!==i;){if(c.offset.supportsFixedPosition&&f.position==="fixed")break;j=e?e.getComputedStyle(b,null):b.currentStyle;
147
- k-=b.scrollTop;n-=b.scrollLeft;if(b===d){k+=b.offsetTop;n+=b.offsetLeft;if(c.offset.doesNotAddBorder&&!(c.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(b.nodeName))){k+=parseFloat(j.borderTopWidth)||0;n+=parseFloat(j.borderLeftWidth)||0}f=d;d=b.offsetParent}if(c.offset.subtractsBorderForOverflowNotVisible&&j.overflow!=="visible"){k+=parseFloat(j.borderTopWidth)||0;n+=parseFloat(j.borderLeftWidth)||0}f=j}if(f.position==="relative"||f.position==="static"){k+=o.offsetTop;n+=o.offsetLeft}if(c.offset.supportsFixedPosition&&
148
- f.position==="fixed"){k+=Math.max(i.scrollTop,o.scrollTop);n+=Math.max(i.scrollLeft,o.scrollLeft)}return{top:k,left:n}};c.offset={initialize:function(){var a=s.body,b=s.createElement("div"),d,f,e,j=parseFloat(c.curCSS(a,"marginTop",true))||0;c.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});b.innerHTML="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";
149
- a.insertBefore(b,a.firstChild);d=b.firstChild;f=d.firstChild;e=d.nextSibling.firstChild.firstChild;this.doesNotAddBorder=f.offsetTop!==5;this.doesAddBorderForTableAndCells=e.offsetTop===5;f.style.position="fixed";f.style.top="20px";this.supportsFixedPosition=f.offsetTop===20||f.offsetTop===15;f.style.position=f.style.top="";d.style.overflow="hidden";d.style.position="relative";this.subtractsBorderForOverflowNotVisible=f.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==j;a.removeChild(b);
150
- c.offset.initialize=c.noop},bodyOffset:function(a){var b=a.offsetTop,d=a.offsetLeft;c.offset.initialize();if(c.offset.doesNotIncludeMarginInBodyOffset){b+=parseFloat(c.curCSS(a,"marginTop",true))||0;d+=parseFloat(c.curCSS(a,"marginLeft",true))||0}return{top:b,left:d}},setOffset:function(a,b,d){if(/static/.test(c.curCSS(a,"position")))a.style.position="relative";var f=c(a),e=f.offset(),j=parseInt(c.curCSS(a,"top",true),10)||0,i=parseInt(c.curCSS(a,"left",true),10)||0;if(c.isFunction(b))b=b.call(a,
151
- d,e);d={top:b.top-e.top+j,left:b.left-e.left+i};"using"in b?b.using.call(a,d):f.css(d)}};c.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),d=this.offset(),f=/^body|html$/i.test(b[0].nodeName)?{top:0,left:0}:b.offset();d.top-=parseFloat(c.curCSS(a,"marginTop",true))||0;d.left-=parseFloat(c.curCSS(a,"marginLeft",true))||0;f.top+=parseFloat(c.curCSS(b[0],"borderTopWidth",true))||0;f.left+=parseFloat(c.curCSS(b[0],"borderLeftWidth",true))||0;return{top:d.top-
152
- f.top,left:d.left-f.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||s.body;a&&!/^body|html$/i.test(a.nodeName)&&c.css(a,"position")==="static";)a=a.offsetParent;return a})}});c.each(["Left","Top"],function(a,b){var d="scroll"+b;c.fn[d]=function(f){var e=this[0],j;if(!e)return null;if(f!==w)return this.each(function(){if(j=wa(this))j.scrollTo(!a?f:c(j).scrollLeft(),a?f:c(j).scrollTop());else this[d]=f});else return(j=wa(e))?"pageXOffset"in j?j[a?"pageYOffset":
153
- "pageXOffset"]:c.support.boxModel&&j.document.documentElement[d]||j.document.body[d]:e[d]}});c.each(["Height","Width"],function(a,b){var d=b.toLowerCase();c.fn["inner"+b]=function(){return this[0]?c.css(this[0],d,false,"padding"):null};c.fn["outer"+b]=function(f){return this[0]?c.css(this[0],d,false,f?"margin":"border"):null};c.fn[d]=function(f){var e=this[0];if(!e)return f==null?null:this;if(c.isFunction(f))return this.each(function(j){var i=c(this);i[d](f.call(this,j,i[d]()))});return"scrollTo"in
154
- e&&e.document?e.document.compatMode==="CSS1Compat"&&e.document.documentElement["client"+b]||e.document.body["client"+b]:e.nodeType===9?Math.max(e.documentElement["client"+b],e.body["scroll"+b],e.documentElement["scroll"+b],e.body["offset"+b],e.documentElement["offset"+b]):f===w?c.css(e,d):this.css(d,typeof f==="string"?f:f+"px")}});A.jQuery=A.$=c})(window);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
js/ma2_all/jquery.min.js DELETED
@@ -1,152 +0,0 @@
1
- /*!
2
- * jQuery JavaScript Library v1.4.1
3
- * http://jquery.com/
4
- *
5
- * Copyright 2010, John Resig
6
- * Dual licensed under the MIT or GPL Version 2 licenses.
7
- * http://jquery.org/license
8
- *
9
- * Includes Sizzle.js
10
- * http://sizzlejs.com/
11
- * Copyright 2010, The Dojo Foundation
12
- * Released under the MIT, BSD, and GPL Licenses.
13
- *
14
- * Date: Mon Jan 25 19:43:33 2010 -0500
15
- */
16
- (function(z,v){function la(){if(!c.isReady){try{r.documentElement.doScroll("left")}catch(a){setTimeout(la,1);return}c.ready()}}function Ma(a,b){b.src?c.ajax({url:b.src,async:false,dataType:"script"}):c.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function X(a,b,d,f,e,i){var j=a.length;if(typeof b==="object"){for(var n in b)X(a,n,b[n],f,e,d);return a}if(d!==v){f=!i&&f&&c.isFunction(d);for(n=0;n<j;n++)e(a[n],b,f?d.call(a[n],n,e(a[n],b)):d,i);return a}return j?
17
- e(a[0],b):null}function J(){return(new Date).getTime()}function Y(){return false}function Z(){return true}function ma(a,b,d){d[0].type=a;return c.event.handle.apply(b,d)}function na(a){var b,d=[],f=[],e=arguments,i,j,n,o,m,s,x=c.extend({},c.data(this,"events").live);if(!(a.button&&a.type==="click")){for(o in x){j=x[o];if(j.live===a.type||j.altLive&&c.inArray(a.type,j.altLive)>-1){i=j.data;i.beforeFilter&&i.beforeFilter[a.type]&&!i.beforeFilter[a.type](a)||f.push(j.selector)}else delete x[o]}i=c(a.target).closest(f,
18
- a.currentTarget);m=0;for(s=i.length;m<s;m++)for(o in x){j=x[o];n=i[m].elem;f=null;if(i[m].selector===j.selector){if(j.live==="mouseenter"||j.live==="mouseleave")f=c(a.relatedTarget).closest(j.selector)[0];if(!f||f!==n)d.push({elem:n,fn:j})}}m=0;for(s=d.length;m<s;m++){i=d[m];a.currentTarget=i.elem;a.data=i.fn.data;if(i.fn.apply(i.elem,e)===false){b=false;break}}return b}}function oa(a,b){return"live."+(a?a+".":"")+b.replace(/\./g,"`").replace(/ /g,"&")}function pa(a){return!a||!a.parentNode||a.parentNode.nodeType===
19
- 11}function qa(a,b){var d=0;b.each(function(){if(this.nodeName===(a[d]&&a[d].nodeName)){var f=c.data(a[d++]),e=c.data(this,f);if(f=f&&f.events){delete e.handle;e.events={};for(var i in f)for(var j in f[i])c.event.add(this,i,f[i][j],f[i][j].data)}}})}function ra(a,b,d){var f,e,i;if(a.length===1&&typeof a[0]==="string"&&a[0].length<512&&a[0].indexOf("<option")<0&&(c.support.checkClone||!sa.test(a[0]))){e=true;if(i=c.fragments[a[0]])if(i!==1)f=i}if(!f){b=b&&b[0]?b[0].ownerDocument||b[0]:r;f=b.createDocumentFragment();
20
- c.clean(a,b,f,d)}if(e)c.fragments[a[0]]=i?f:1;return{fragment:f,cacheable:e}}function K(a,b){var d={};c.each(ta.concat.apply([],ta.slice(0,b)),function(){d[this]=a});return d}function ua(a){return"scrollTo"in a&&a.document?a:a.nodeType===9?a.defaultView||a.parentWindow:false}var c=function(a,b){return new c.fn.init(a,b)},Na=z.jQuery,Oa=z.$,r=z.document,S,Pa=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,Qa=/^.[^:#\[\.,]*$/,Ra=/\S/,Sa=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,Ta=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,O=navigator.userAgent,
21
- va=false,P=[],L,$=Object.prototype.toString,aa=Object.prototype.hasOwnProperty,ba=Array.prototype.push,Q=Array.prototype.slice,wa=Array.prototype.indexOf;c.fn=c.prototype={init:function(a,b){var d,f;if(!a)return this;if(a.nodeType){this.context=this[0]=a;this.length=1;return this}if(typeof a==="string")if((d=Pa.exec(a))&&(d[1]||!b))if(d[1]){f=b?b.ownerDocument||b:r;if(a=Ta.exec(a))if(c.isPlainObject(b)){a=[r.createElement(a[1])];c.fn.attr.call(a,b,true)}else a=[f.createElement(a[1])];else{a=ra([d[1]],
22
- [f]);a=(a.cacheable?a.fragment.cloneNode(true):a.fragment).childNodes}}else{if(b=r.getElementById(d[2])){if(b.id!==d[2])return S.find(a);this.length=1;this[0]=b}this.context=r;this.selector=a;return this}else if(!b&&/^\w+$/.test(a)){this.selector=a;this.context=r;a=r.getElementsByTagName(a)}else return!b||b.jquery?(b||S).find(a):c(b).find(a);else if(c.isFunction(a))return S.ready(a);if(a.selector!==v){this.selector=a.selector;this.context=a.context}return c.isArray(a)?this.setArray(a):c.makeArray(a,
23
- this)},selector:"",jquery:"1.4.1",length:0,size:function(){return this.length},toArray:function(){return Q.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this.slice(a)[0]:this[a]},pushStack:function(a,b,d){a=c(a||null);a.prevObject=this;a.context=this.context;if(b==="find")a.selector=this.selector+(this.selector?" ":"")+d;else if(b)a.selector=this.selector+"."+b+"("+d+")";return a},setArray:function(a){this.length=0;ba.apply(this,a);return this},each:function(a,b){return c.each(this,
24
- a,b)},ready:function(a){c.bindReady();if(c.isReady)a.call(r,c);else P&&P.push(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(Q.apply(this,arguments),"slice",Q.call(arguments).join(","))},map:function(a){return this.pushStack(c.map(this,function(b,d){return a.call(b,d,b)}))},end:function(){return this.prevObject||c(null)},push:ba,sort:[].sort,splice:[].splice};
25
- c.fn.init.prototype=c.fn;c.extend=c.fn.extend=function(){var a=arguments[0]||{},b=1,d=arguments.length,f=false,e,i,j,n;if(typeof a==="boolean"){f=a;a=arguments[1]||{};b=2}if(typeof a!=="object"&&!c.isFunction(a))a={};if(d===b){a=this;--b}for(;b<d;b++)if((e=arguments[b])!=null)for(i in e){j=a[i];n=e[i];if(a!==n)if(f&&n&&(c.isPlainObject(n)||c.isArray(n))){j=j&&(c.isPlainObject(j)||c.isArray(j))?j:c.isArray(n)?[]:{};a[i]=c.extend(f,j,n)}else if(n!==v)a[i]=n}return a};c.extend({noConflict:function(a){z.$=
26
- Oa;if(a)z.jQuery=Na;return c},isReady:false,ready:function(){if(!c.isReady){if(!r.body)return setTimeout(c.ready,13);c.isReady=true;if(P){for(var a,b=0;a=P[b++];)a.call(r,c);P=null}c.fn.triggerHandler&&c(r).triggerHandler("ready")}},bindReady:function(){if(!va){va=true;if(r.readyState==="complete")return c.ready();if(r.addEventListener){r.addEventListener("DOMContentLoaded",L,false);z.addEventListener("load",c.ready,false)}else if(r.attachEvent){r.attachEvent("onreadystatechange",L);z.attachEvent("onload",
27
- c.ready);var a=false;try{a=z.frameElement==null}catch(b){}r.documentElement.doScroll&&a&&la()}}},isFunction:function(a){return $.call(a)==="[object Function]"},isArray:function(a){return $.call(a)==="[object Array]"},isPlainObject:function(a){if(!a||$.call(a)!=="[object Object]"||a.nodeType||a.setInterval)return false;if(a.constructor&&!aa.call(a,"constructor")&&!aa.call(a.constructor.prototype,"isPrototypeOf"))return false;var b;for(b in a);return b===v||aa.call(a,b)},isEmptyObject:function(a){for(var b in a)return false;
28
- return true},error:function(a){throw a;},parseJSON:function(a){if(typeof a!=="string"||!a)return null;if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return z.JSON&&z.JSON.parse?z.JSON.parse(a):(new Function("return "+a))();else c.error("Invalid JSON: "+a)},noop:function(){},globalEval:function(a){if(a&&Ra.test(a)){var b=r.getElementsByTagName("head")[0]||
29
- r.documentElement,d=r.createElement("script");d.type="text/javascript";if(c.support.scriptEval)d.appendChild(r.createTextNode(a));else d.text=a;b.insertBefore(d,b.firstChild);b.removeChild(d)}},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,b,d){var f,e=0,i=a.length,j=i===v||c.isFunction(a);if(d)if(j)for(f in a){if(b.apply(a[f],d)===false)break}else for(;e<i;){if(b.apply(a[e++],d)===false)break}else if(j)for(f in a){if(b.call(a[f],f,a[f])===false)break}else for(d=
30
- a[0];e<i&&b.call(d,e,d)!==false;d=a[++e]);return a},trim:function(a){return(a||"").replace(Sa,"")},makeArray:function(a,b){b=b||[];if(a!=null)a.length==null||typeof a==="string"||c.isFunction(a)||typeof a!=="function"&&a.setInterval?ba.call(b,a):c.merge(b,a);return b},inArray:function(a,b){if(b.indexOf)return b.indexOf(a);for(var d=0,f=b.length;d<f;d++)if(b[d]===a)return d;return-1},merge:function(a,b){var d=a.length,f=0;if(typeof b.length==="number")for(var e=b.length;f<e;f++)a[d++]=b[f];else for(;b[f]!==
31
- v;)a[d++]=b[f++];a.length=d;return a},grep:function(a,b,d){for(var f=[],e=0,i=a.length;e<i;e++)!d!==!b(a[e],e)&&f.push(a[e]);return f},map:function(a,b,d){for(var f=[],e,i=0,j=a.length;i<j;i++){e=b(a[i],i,d);if(e!=null)f[f.length]=e}return f.concat.apply([],f)},guid:1,proxy:function(a,b,d){if(arguments.length===2)if(typeof b==="string"){d=a;a=d[b];b=v}else if(b&&!c.isFunction(b)){d=b;b=v}if(!b&&a)b=function(){return a.apply(d||this,arguments)};if(a)b.guid=a.guid=a.guid||b.guid||c.guid++;return b},
32
- uaMatch:function(a){a=a.toLowerCase();a=/(webkit)[ \/]([\w.]+)/.exec(a)||/(opera)(?:.*version)?[ \/]([\w.]+)/.exec(a)||/(msie) ([\w.]+)/.exec(a)||!/compatible/.test(a)&&/(mozilla)(?:.*? rv:([\w.]+))?/.exec(a)||[];return{browser:a[1]||"",version:a[2]||"0"}},browser:{}});O=c.uaMatch(O);if(O.browser){c.browser[O.browser]=true;c.browser.version=O.version}if(c.browser.webkit)c.browser.safari=true;if(wa)c.inArray=function(a,b){return wa.call(b,a)};S=c(r);if(r.addEventListener)L=function(){r.removeEventListener("DOMContentLoaded",
33
- L,false);c.ready()};else if(r.attachEvent)L=function(){if(r.readyState==="complete"){r.detachEvent("onreadystatechange",L);c.ready()}};(function(){c.support={};var a=r.documentElement,b=r.createElement("script"),d=r.createElement("div"),f="script"+J();d.style.display="none";d.innerHTML=" <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var e=d.getElementsByTagName("*"),i=d.getElementsByTagName("a")[0];if(!(!e||!e.length||!i)){c.support=
34
- {leadingWhitespace:d.firstChild.nodeType===3,tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/red/.test(i.getAttribute("style")),hrefNormalized:i.getAttribute("href")==="/a",opacity:/^0.55$/.test(i.style.opacity),cssFloat:!!i.style.cssFloat,checkOn:d.getElementsByTagName("input")[0].value==="on",optSelected:r.createElement("select").appendChild(r.createElement("option")).selected,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null};
35
- b.type="text/javascript";try{b.appendChild(r.createTextNode("window."+f+"=1;"))}catch(j){}a.insertBefore(b,a.firstChild);if(z[f]){c.support.scriptEval=true;delete z[f]}a.removeChild(b);if(d.attachEvent&&d.fireEvent){d.attachEvent("onclick",function n(){c.support.noCloneEvent=false;d.detachEvent("onclick",n)});d.cloneNode(true).fireEvent("onclick")}d=r.createElement("div");d.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";a=r.createDocumentFragment();a.appendChild(d.firstChild);
36
- c.support.checkClone=a.cloneNode(true).cloneNode(true).lastChild.checked;c(function(){var n=r.createElement("div");n.style.width=n.style.paddingLeft="1px";r.body.appendChild(n);c.boxModel=c.support.boxModel=n.offsetWidth===2;r.body.removeChild(n).style.display="none"});a=function(n){var o=r.createElement("div");n="on"+n;var m=n in o;if(!m){o.setAttribute(n,"return;");m=typeof o[n]==="function"}return m};c.support.submitBubbles=a("submit");c.support.changeBubbles=a("change");a=b=d=e=i=null}})();c.props=
37
- {"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var G="jQuery"+J(),Ua=0,xa={},Va={};c.extend({cache:{},expando:G,noData:{embed:true,object:true,applet:true},data:function(a,b,d){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=a==z?xa:a;var f=a[G],e=c.cache;if(!b&&!f)return null;f||(f=++Ua);if(typeof b==="object"){a[G]=f;e=e[f]=c.extend(true,
38
- {},b)}else e=e[f]?e[f]:typeof d==="undefined"?Va:(e[f]={});if(d!==v){a[G]=f;e[b]=d}return typeof b==="string"?e[b]:e}},removeData:function(a,b){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=a==z?xa:a;var d=a[G],f=c.cache,e=f[d];if(b){if(e){delete e[b];c.isEmptyObject(e)&&c.removeData(a)}}else{try{delete a[G]}catch(i){a.removeAttribute&&a.removeAttribute(G)}delete f[d]}}}});c.fn.extend({data:function(a,b){if(typeof a==="undefined"&&this.length)return c.data(this[0]);else if(typeof a==="object")return this.each(function(){c.data(this,
39
- a)});var d=a.split(".");d[1]=d[1]?"."+d[1]:"";if(b===v){var f=this.triggerHandler("getData"+d[1]+"!",[d[0]]);if(f===v&&this.length)f=c.data(this[0],a);return f===v&&d[1]?this.data(d[0]):f}else return this.trigger("setData"+d[1]+"!",[d[0],b]).each(function(){c.data(this,a,b)})},removeData:function(a){return this.each(function(){c.removeData(this,a)})}});c.extend({queue:function(a,b,d){if(a){b=(b||"fx")+"queue";var f=c.data(a,b);if(!d)return f||[];if(!f||c.isArray(d))f=c.data(a,b,c.makeArray(d));else f.push(d);
40
- return f}},dequeue:function(a,b){b=b||"fx";var d=c.queue(a,b),f=d.shift();if(f==="inprogress")f=d.shift();if(f){b==="fx"&&d.unshift("inprogress");f.call(a,function(){c.dequeue(a,b)})}}});c.fn.extend({queue:function(a,b){if(typeof a!=="string"){b=a;a="fx"}if(b===v)return c.queue(this[0],a);return this.each(function(){var d=c.queue(this,a,b);a==="fx"&&d[0]!=="inprogress"&&c.dequeue(this,a)})},dequeue:function(a){return this.each(function(){c.dequeue(this,a)})},delay:function(a,b){a=c.fx?c.fx.speeds[a]||
41
- a:a;b=b||"fx";return this.queue(b,function(){var d=this;setTimeout(function(){c.dequeue(d,b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])}});var ya=/[\n\t]/g,ca=/\s+/,Wa=/\r/g,Xa=/href|src|style/,Ya=/(button|input)/i,Za=/(button|input|object|select|textarea)/i,$a=/^(a|area)$/i,za=/radio|checkbox/;c.fn.extend({attr:function(a,b){return X(this,a,b,true,c.attr)},removeAttr:function(a){return this.each(function(){c.attr(this,a,"");this.nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(c.isFunction(a))return this.each(function(o){var m=
42
- c(this);m.addClass(a.call(this,o,m.attr("class")))});if(a&&typeof a==="string")for(var b=(a||"").split(ca),d=0,f=this.length;d<f;d++){var e=this[d];if(e.nodeType===1)if(e.className)for(var i=" "+e.className+" ",j=0,n=b.length;j<n;j++){if(i.indexOf(" "+b[j]+" ")<0)e.className+=" "+b[j]}else e.className=a}return this},removeClass:function(a){if(c.isFunction(a))return this.each(function(o){var m=c(this);m.removeClass(a.call(this,o,m.attr("class")))});if(a&&typeof a==="string"||a===v)for(var b=(a||"").split(ca),
43
- d=0,f=this.length;d<f;d++){var e=this[d];if(e.nodeType===1&&e.className)if(a){for(var i=(" "+e.className+" ").replace(ya," "),j=0,n=b.length;j<n;j++)i=i.replace(" "+b[j]+" "," ");e.className=i.substring(1,i.length-1)}else e.className=""}return this},toggleClass:function(a,b){var d=typeof a,f=typeof b==="boolean";if(c.isFunction(a))return this.each(function(e){var i=c(this);i.toggleClass(a.call(this,e,i.attr("class"),b),b)});return this.each(function(){if(d==="string")for(var e,i=0,j=c(this),n=b,o=
44
- a.split(ca);e=o[i++];){n=f?n:!j.hasClass(e);j[n?"addClass":"removeClass"](e)}else if(d==="undefined"||d==="boolean"){this.className&&c.data(this,"__className__",this.className);this.className=this.className||a===false?"":c.data(this,"__className__")||""}})},hasClass:function(a){a=" "+a+" ";for(var b=0,d=this.length;b<d;b++)if((" "+this[b].className+" ").replace(ya," ").indexOf(a)>-1)return true;return false},val:function(a){if(a===v){var b=this[0];if(b){if(c.nodeName(b,"option"))return(b.attributes.value||
45
- {}).specified?b.value:b.text;if(c.nodeName(b,"select")){var d=b.selectedIndex,f=[],e=b.options;b=b.type==="select-one";if(d<0)return null;var i=b?d:0;for(d=b?d+1:e.length;i<d;i++){var j=e[i];if(j.selected){a=c(j).val();if(b)return a;f.push(a)}}return f}if(za.test(b.type)&&!c.support.checkOn)return b.getAttribute("value")===null?"on":b.value;return(b.value||"").replace(Wa,"")}return v}var n=c.isFunction(a);return this.each(function(o){var m=c(this),s=a;if(this.nodeType===1){if(n)s=a.call(this,o,m.val());
46
- if(typeof s==="number")s+="";if(c.isArray(s)&&za.test(this.type))this.checked=c.inArray(m.val(),s)>=0;else if(c.nodeName(this,"select")){var x=c.makeArray(s);c("option",this).each(function(){this.selected=c.inArray(c(this).val(),x)>=0});if(!x.length)this.selectedIndex=-1}else this.value=s}})}});c.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(a,b,d,f){if(!a||a.nodeType===3||a.nodeType===8)return v;if(f&&b in c.attrFn)return c(a)[b](d);
47
- f=a.nodeType!==1||!c.isXMLDoc(a);var e=d!==v;b=f&&c.props[b]||b;if(a.nodeType===1){var i=Xa.test(b);if(b in a&&f&&!i){if(e){b==="type"&&Ya.test(a.nodeName)&&a.parentNode&&c.error("type property can't be changed");a[b]=d}if(c.nodeName(a,"form")&&a.getAttributeNode(b))return a.getAttributeNode(b).nodeValue;if(b==="tabIndex")return(b=a.getAttributeNode("tabIndex"))&&b.specified?b.value:Za.test(a.nodeName)||$a.test(a.nodeName)&&a.href?0:v;return a[b]}if(!c.support.style&&f&&b==="style"){if(e)a.style.cssText=
48
- ""+d;return a.style.cssText}e&&a.setAttribute(b,""+d);a=!c.support.hrefNormalized&&f&&i?a.getAttribute(b,2):a.getAttribute(b);return a===null?v:a}return c.style(a,b,d)}});var ab=function(a){return a.replace(/[^\w\s\.\|`]/g,function(b){return"\\"+b})};c.event={add:function(a,b,d,f){if(!(a.nodeType===3||a.nodeType===8)){if(a.setInterval&&a!==z&&!a.frameElement)a=z;if(!d.guid)d.guid=c.guid++;if(f!==v){d=c.proxy(d);d.data=f}var e=c.data(a,"events")||c.data(a,"events",{}),i=c.data(a,"handle"),j;if(!i){j=
49
- function(){return typeof c!=="undefined"&&!c.event.triggered?c.event.handle.apply(j.elem,arguments):v};i=c.data(a,"handle",j)}if(i){i.elem=a;b=b.split(/\s+/);for(var n,o=0;n=b[o++];){var m=n.split(".");n=m.shift();if(o>1){d=c.proxy(d);if(f!==v)d.data=f}d.type=m.slice(0).sort().join(".");var s=e[n],x=this.special[n]||{};if(!s){s=e[n]={};if(!x.setup||x.setup.call(a,f,m,d)===false)if(a.addEventListener)a.addEventListener(n,i,false);else a.attachEvent&&a.attachEvent("on"+n,i)}if(x.add)if((m=x.add.call(a,
50
- d,f,m,s))&&c.isFunction(m)){m.guid=m.guid||d.guid;m.data=m.data||d.data;m.type=m.type||d.type;d=m}s[d.guid]=d;this.global[n]=true}a=null}}},global:{},remove:function(a,b,d){if(!(a.nodeType===3||a.nodeType===8)){var f=c.data(a,"events"),e,i,j;if(f){if(b===v||typeof b==="string"&&b.charAt(0)===".")for(i in f)this.remove(a,i+(b||""));else{if(b.type){d=b.handler;b=b.type}b=b.split(/\s+/);for(var n=0;i=b[n++];){var o=i.split(".");i=o.shift();var m=!o.length,s=c.map(o.slice(0).sort(),ab);s=new RegExp("(^|\\.)"+
51
- s.join("\\.(?:.*\\.)?")+"(\\.|$)");var x=this.special[i]||{};if(f[i]){if(d){j=f[i][d.guid];delete f[i][d.guid]}else for(var A in f[i])if(m||s.test(f[i][A].type))delete f[i][A];x.remove&&x.remove.call(a,o,j);for(e in f[i])break;if(!e){if(!x.teardown||x.teardown.call(a,o)===false)if(a.removeEventListener)a.removeEventListener(i,c.data(a,"handle"),false);else a.detachEvent&&a.detachEvent("on"+i,c.data(a,"handle"));e=null;delete f[i]}}}}for(e in f)break;if(!e){if(A=c.data(a,"handle"))A.elem=null;c.removeData(a,
52
- "events");c.removeData(a,"handle")}}}},trigger:function(a,b,d,f){var e=a.type||a;if(!f){a=typeof a==="object"?a[G]?a:c.extend(c.Event(e),a):c.Event(e);if(e.indexOf("!")>=0){a.type=e=e.slice(0,-1);a.exclusive=true}if(!d){a.stopPropagation();this.global[e]&&c.each(c.cache,function(){this.events&&this.events[e]&&c.event.trigger(a,b,this.handle.elem)})}if(!d||d.nodeType===3||d.nodeType===8)return v;a.result=v;a.target=d;b=c.makeArray(b);b.unshift(a)}a.currentTarget=d;(f=c.data(d,"handle"))&&f.apply(d,
53
- b);f=d.parentNode||d.ownerDocument;try{if(!(d&&d.nodeName&&c.noData[d.nodeName.toLowerCase()]))if(d["on"+e]&&d["on"+e].apply(d,b)===false)a.result=false}catch(i){}if(!a.isPropagationStopped()&&f)c.event.trigger(a,b,f,true);else if(!a.isDefaultPrevented()){d=a.target;var j;if(!(c.nodeName(d,"a")&&e==="click")&&!(d&&d.nodeName&&c.noData[d.nodeName.toLowerCase()])){try{if(d[e]){if(j=d["on"+e])d["on"+e]=null;this.triggered=true;d[e]()}}catch(n){}if(j)d["on"+e]=j;this.triggered=false}}},handle:function(a){var b,
54
- d;a=arguments[0]=c.event.fix(a||z.event);a.currentTarget=this;d=a.type.split(".");a.type=d.shift();b=!d.length&&!a.exclusive;var f=new RegExp("(^|\\.)"+d.slice(0).sort().join("\\.(?:.*\\.)?")+"(\\.|$)");d=(c.data(this,"events")||{})[a.type];for(var e in d){var i=d[e];if(b||f.test(i.type)){a.handler=i;a.data=i.data;i=i.apply(this,arguments);if(i!==v){a.result=i;if(i===false){a.preventDefault();a.stopPropagation()}}if(a.isImmediatePropagationStopped())break}}return a.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),
55
- fix:function(a){if(a[G])return a;var b=a;a=c.Event(b);for(var d=this.props.length,f;d;){f=this.props[--d];a[f]=b[f]}if(!a.target)a.target=a.srcElement||r;if(a.target.nodeType===3)a.target=a.target.parentNode;if(!a.relatedTarget&&a.fromElement)a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement;if(a.pageX==null&&a.clientX!=null){b=r.documentElement;d=r.body;a.pageX=a.clientX+(b&&b.scrollLeft||d&&d.scrollLeft||0)-(b&&b.clientLeft||d&&d.clientLeft||0);a.pageY=a.clientY+(b&&b.scrollTop||
56
- d&&d.scrollTop||0)-(b&&b.clientTop||d&&d.clientTop||0)}if(!a.which&&(a.charCode||a.charCode===0?a.charCode:a.keyCode))a.which=a.charCode||a.keyCode;if(!a.metaKey&&a.ctrlKey)a.metaKey=a.ctrlKey;if(!a.which&&a.button!==v)a.which=a.button&1?1:a.button&2?3:a.button&4?2:0;return a},guid:1E8,proxy:c.proxy,special:{ready:{setup:c.bindReady,teardown:c.noop},live:{add:function(a,b){c.extend(a,b||{});a.guid+=b.selector+b.live;b.liveProxy=a;c.event.add(this,b.live,na,b)},remove:function(a){if(a.length){var b=
57
- 0,d=new RegExp("(^|\\.)"+a[0]+"(\\.|$)");c.each(c.data(this,"events").live||{},function(){d.test(this.type)&&b++});b<1&&c.event.remove(this,a[0],na)}},special:{}},beforeunload:{setup:function(a,b,d){if(this.setInterval)this.onbeforeunload=d;return false},teardown:function(a,b){if(this.onbeforeunload===b)this.onbeforeunload=null}}}};c.Event=function(a){if(!this.preventDefault)return new c.Event(a);if(a&&a.type){this.originalEvent=a;this.type=a.type}else this.type=a;this.timeStamp=J();this[G]=true};
58
- c.Event.prototype={preventDefault:function(){this.isDefaultPrevented=Z;var a=this.originalEvent;if(a){a.preventDefault&&a.preventDefault();a.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=Z;var a=this.originalEvent;if(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=Z;this.stopPropagation()},isDefaultPrevented:Y,isPropagationStopped:Y,isImmediatePropagationStopped:Y};var Aa=function(a){for(var b=
59
- a.relatedTarget;b&&b!==this;)try{b=b.parentNode}catch(d){break}if(b!==this){a.type=a.data;c.event.handle.apply(this,arguments)}},Ba=function(a){a.type=a.data;c.event.handle.apply(this,arguments)};c.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){c.event.special[a]={setup:function(d){c.event.add(this,b,d&&d.selector?Ba:Aa,a)},teardown:function(d){c.event.remove(this,b,d&&d.selector?Ba:Aa)}}});if(!c.support.submitBubbles)c.event.special.submit={setup:function(a,b,d){if(this.nodeName.toLowerCase()!==
60
- "form"){c.event.add(this,"click.specialSubmit."+d.guid,function(f){var e=f.target,i=e.type;if((i==="submit"||i==="image")&&c(e).closest("form").length)return ma("submit",this,arguments)});c.event.add(this,"keypress.specialSubmit."+d.guid,function(f){var e=f.target,i=e.type;if((i==="text"||i==="password")&&c(e).closest("form").length&&f.keyCode===13)return ma("submit",this,arguments)})}else return false},remove:function(a,b){c.event.remove(this,"click.specialSubmit"+(b?"."+b.guid:""));c.event.remove(this,
61
- "keypress.specialSubmit"+(b?"."+b.guid:""))}};if(!c.support.changeBubbles){var da=/textarea|input|select/i;function Ca(a){var b=a.type,d=a.value;if(b==="radio"||b==="checkbox")d=a.checked;else if(b==="select-multiple")d=a.selectedIndex>-1?c.map(a.options,function(f){return f.selected}).join("-"):"";else if(a.nodeName.toLowerCase()==="select")d=a.selectedIndex;return d}function ea(a,b){var d=a.target,f,e;if(!(!da.test(d.nodeName)||d.readOnly)){f=c.data(d,"_change_data");e=Ca(d);if(a.type!=="focusout"||
62
- d.type!=="radio")c.data(d,"_change_data",e);if(!(f===v||e===f))if(f!=null||e){a.type="change";return c.event.trigger(a,b,d)}}}c.event.special.change={filters:{focusout:ea,click:function(a){var b=a.target,d=b.type;if(d==="radio"||d==="checkbox"||b.nodeName.toLowerCase()==="select")return ea.call(this,a)},keydown:function(a){var b=a.target,d=b.type;if(a.keyCode===13&&b.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(d==="checkbox"||d==="radio")||d==="select-multiple")return ea.call(this,a)},beforeactivate:function(a){a=
63
- a.target;a.nodeName.toLowerCase()==="input"&&a.type==="radio"&&c.data(a,"_change_data",Ca(a))}},setup:function(a,b,d){for(var f in T)c.event.add(this,f+".specialChange."+d.guid,T[f]);return da.test(this.nodeName)},remove:function(a,b){for(var d in T)c.event.remove(this,d+".specialChange"+(b?"."+b.guid:""),T[d]);return da.test(this.nodeName)}};var T=c.event.special.change.filters}r.addEventListener&&c.each({focus:"focusin",blur:"focusout"},function(a,b){function d(f){f=c.event.fix(f);f.type=b;return c.event.handle.call(this,
64
- f)}c.event.special[b]={setup:function(){this.addEventListener(a,d,true)},teardown:function(){this.removeEventListener(a,d,true)}}});c.each(["bind","one"],function(a,b){c.fn[b]=function(d,f,e){if(typeof d==="object"){for(var i in d)this[b](i,f,d[i],e);return this}if(c.isFunction(f)){e=f;f=v}var j=b==="one"?c.proxy(e,function(n){c(this).unbind(n,j);return e.apply(this,arguments)}):e;return d==="unload"&&b!=="one"?this.one(d,f,e):this.each(function(){c.event.add(this,d,j,f)})}});c.fn.extend({unbind:function(a,
65
- b){if(typeof a==="object"&&!a.preventDefault){for(var d in a)this.unbind(d,a[d]);return this}return this.each(function(){c.event.remove(this,a,b)})},trigger:function(a,b){return this.each(function(){c.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0]){a=c.Event(a);a.preventDefault();a.stopPropagation();c.event.trigger(a,b,this[0]);return a.result}},toggle:function(a){for(var b=arguments,d=1;d<b.length;)c.proxy(a,b[d++]);return this.click(c.proxy(a,function(f){var e=(c.data(this,"lastToggle"+
66
- a.guid)||0)%d;c.data(this,"lastToggle"+a.guid,e+1);f.preventDefault();return b[e].apply(this,arguments)||false}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});c.each(["live","die"],function(a,b){c.fn[b]=function(d,f,e){var i,j=0;if(c.isFunction(f)){e=f;f=v}for(d=(d||"").split(/\s+/);(i=d[j++])!=null;){i=i==="focus"?"focusin":i==="blur"?"focusout":i==="hover"?d.push("mouseleave")&&"mouseenter":i;b==="live"?c(this.context).bind(oa(i,this.selector),{data:f,selector:this.selector,
67
- live:i},e):c(this.context).unbind(oa(i,this.selector),e?{guid:e.guid+this.selector+i}:null)}return this}});c.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),function(a,b){c.fn[b]=function(d){return d?this.bind(b,d):this.trigger(b)};if(c.attrFn)c.attrFn[b]=true});z.attachEvent&&!z.addEventListener&&z.attachEvent("onunload",function(){for(var a in c.cache)if(c.cache[a].handle)try{c.event.remove(c.cache[a].handle.elem)}catch(b){}});
68
- (function(){function a(g){for(var h="",k,l=0;g[l];l++){k=g[l];if(k.nodeType===3||k.nodeType===4)h+=k.nodeValue;else if(k.nodeType!==8)h+=a(k.childNodes)}return h}function b(g,h,k,l,q,p){q=0;for(var u=l.length;q<u;q++){var t=l[q];if(t){t=t[g];for(var y=false;t;){if(t.sizcache===k){y=l[t.sizset];break}if(t.nodeType===1&&!p){t.sizcache=k;t.sizset=q}if(t.nodeName.toLowerCase()===h){y=t;break}t=t[g]}l[q]=y}}}function d(g,h,k,l,q,p){q=0;for(var u=l.length;q<u;q++){var t=l[q];if(t){t=t[g];for(var y=false;t;){if(t.sizcache===
69
- k){y=l[t.sizset];break}if(t.nodeType===1){if(!p){t.sizcache=k;t.sizset=q}if(typeof h!=="string"){if(t===h){y=true;break}}else if(o.filter(h,[t]).length>0){y=t;break}}t=t[g]}l[q]=y}}}var f=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,e=0,i=Object.prototype.toString,j=false,n=true;[0,0].sort(function(){n=false;return 0});var o=function(g,h,k,l){k=k||[];var q=h=h||r;if(h.nodeType!==1&&h.nodeType!==9)return[];if(!g||
70
- typeof g!=="string")return k;for(var p=[],u,t,y,R,H=true,M=w(h),I=g;(f.exec(""),u=f.exec(I))!==null;){I=u[3];p.push(u[1]);if(u[2]){R=u[3];break}}if(p.length>1&&s.exec(g))if(p.length===2&&m.relative[p[0]])t=fa(p[0]+p[1],h);else for(t=m.relative[p[0]]?[h]:o(p.shift(),h);p.length;){g=p.shift();if(m.relative[g])g+=p.shift();t=fa(g,t)}else{if(!l&&p.length>1&&h.nodeType===9&&!M&&m.match.ID.test(p[0])&&!m.match.ID.test(p[p.length-1])){u=o.find(p.shift(),h,M);h=u.expr?o.filter(u.expr,u.set)[0]:u.set[0]}if(h){u=
71
- l?{expr:p.pop(),set:A(l)}:o.find(p.pop(),p.length===1&&(p[0]==="~"||p[0]==="+")&&h.parentNode?h.parentNode:h,M);t=u.expr?o.filter(u.expr,u.set):u.set;if(p.length>0)y=A(t);else H=false;for(;p.length;){var D=p.pop();u=D;if(m.relative[D])u=p.pop();else D="";if(u==null)u=h;m.relative[D](y,u,M)}}else y=[]}y||(y=t);y||o.error(D||g);if(i.call(y)==="[object Array]")if(H)if(h&&h.nodeType===1)for(g=0;y[g]!=null;g++){if(y[g]&&(y[g]===true||y[g].nodeType===1&&E(h,y[g])))k.push(t[g])}else for(g=0;y[g]!=null;g++)y[g]&&
72
- y[g].nodeType===1&&k.push(t[g]);else k.push.apply(k,y);else A(y,k);if(R){o(R,q,k,l);o.uniqueSort(k)}return k};o.uniqueSort=function(g){if(C){j=n;g.sort(C);if(j)for(var h=1;h<g.length;h++)g[h]===g[h-1]&&g.splice(h--,1)}return g};o.matches=function(g,h){return o(g,null,null,h)};o.find=function(g,h,k){var l,q;if(!g)return[];for(var p=0,u=m.order.length;p<u;p++){var t=m.order[p];if(q=m.leftMatch[t].exec(g)){var y=q[1];q.splice(1,1);if(y.substr(y.length-1)!=="\\"){q[1]=(q[1]||"").replace(/\\/g,"");l=m.find[t](q,
73
- h,k);if(l!=null){g=g.replace(m.match[t],"");break}}}}l||(l=h.getElementsByTagName("*"));return{set:l,expr:g}};o.filter=function(g,h,k,l){for(var q=g,p=[],u=h,t,y,R=h&&h[0]&&w(h[0]);g&&h.length;){for(var H in m.filter)if((t=m.leftMatch[H].exec(g))!=null&&t[2]){var M=m.filter[H],I,D;D=t[1];y=false;t.splice(1,1);if(D.substr(D.length-1)!=="\\"){if(u===p)p=[];if(m.preFilter[H])if(t=m.preFilter[H](t,u,k,p,l,R)){if(t===true)continue}else y=I=true;if(t)for(var U=0;(D=u[U])!=null;U++)if(D){I=M(D,t,U,u);var Da=
74
- l^!!I;if(k&&I!=null)if(Da)y=true;else u[U]=false;else if(Da){p.push(D);y=true}}if(I!==v){k||(u=p);g=g.replace(m.match[H],"");if(!y)return[];break}}}if(g===q)if(y==null)o.error(g);else break;q=g}return u};o.error=function(g){throw"Syntax error, unrecognized expression: "+g;};var m=o.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,
75
- TAG:/^((?:[\w\u00c0-\uFFFF\*-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(g){return g.getAttribute("href")}},relative:{"+":function(g,h){var k=typeof h==="string",l=k&&!/\W/.test(h);k=k&&!l;if(l)h=h.toLowerCase();l=0;for(var q=g.length,
76
- p;l<q;l++)if(p=g[l]){for(;(p=p.previousSibling)&&p.nodeType!==1;);g[l]=k||p&&p.nodeName.toLowerCase()===h?p||false:p===h}k&&o.filter(h,g,true)},">":function(g,h){var k=typeof h==="string";if(k&&!/\W/.test(h)){h=h.toLowerCase();for(var l=0,q=g.length;l<q;l++){var p=g[l];if(p){k=p.parentNode;g[l]=k.nodeName.toLowerCase()===h?k:false}}}else{l=0;for(q=g.length;l<q;l++)if(p=g[l])g[l]=k?p.parentNode:p.parentNode===h;k&&o.filter(h,g,true)}},"":function(g,h,k){var l=e++,q=d;if(typeof h==="string"&&!/\W/.test(h)){var p=
77
- h=h.toLowerCase();q=b}q("parentNode",h,l,g,p,k)},"~":function(g,h,k){var l=e++,q=d;if(typeof h==="string"&&!/\W/.test(h)){var p=h=h.toLowerCase();q=b}q("previousSibling",h,l,g,p,k)}},find:{ID:function(g,h,k){if(typeof h.getElementById!=="undefined"&&!k)return(g=h.getElementById(g[1]))?[g]:[]},NAME:function(g,h){if(typeof h.getElementsByName!=="undefined"){var k=[];h=h.getElementsByName(g[1]);for(var l=0,q=h.length;l<q;l++)h[l].getAttribute("name")===g[1]&&k.push(h[l]);return k.length===0?null:k}},
78
- TAG:function(g,h){return h.getElementsByTagName(g[1])}},preFilter:{CLASS:function(g,h,k,l,q,p){g=" "+g[1].replace(/\\/g,"")+" ";if(p)return g;p=0;for(var u;(u=h[p])!=null;p++)if(u)if(q^(u.className&&(" "+u.className+" ").replace(/[\t\n]/g," ").indexOf(g)>=0))k||l.push(u);else if(k)h[p]=false;return false},ID:function(g){return g[1].replace(/\\/g,"")},TAG:function(g){return g[1].toLowerCase()},CHILD:function(g){if(g[1]==="nth"){var h=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(g[2]==="even"&&"2n"||g[2]==="odd"&&
79
- "2n+1"||!/\D/.test(g[2])&&"0n+"+g[2]||g[2]);g[2]=h[1]+(h[2]||1)-0;g[3]=h[3]-0}g[0]=e++;return g},ATTR:function(g,h,k,l,q,p){h=g[1].replace(/\\/g,"");if(!p&&m.attrMap[h])g[1]=m.attrMap[h];if(g[2]==="~=")g[4]=" "+g[4]+" ";return g},PSEUDO:function(g,h,k,l,q){if(g[1]==="not")if((f.exec(g[3])||"").length>1||/^\w/.test(g[3]))g[3]=o(g[3],null,null,h);else{g=o.filter(g[3],h,k,true^q);k||l.push.apply(l,g);return false}else if(m.match.POS.test(g[0])||m.match.CHILD.test(g[0]))return true;return g},POS:function(g){g.unshift(true);
80
- return g}},filters:{enabled:function(g){return g.disabled===false&&g.type!=="hidden"},disabled:function(g){return g.disabled===true},checked:function(g){return g.checked===true},selected:function(g){return g.selected===true},parent:function(g){return!!g.firstChild},empty:function(g){return!g.firstChild},has:function(g,h,k){return!!o(k[3],g).length},header:function(g){return/h\d/i.test(g.nodeName)},text:function(g){return"text"===g.type},radio:function(g){return"radio"===g.type},checkbox:function(g){return"checkbox"===
81
- g.type},file:function(g){return"file"===g.type},password:function(g){return"password"===g.type},submit:function(g){return"submit"===g.type},image:function(g){return"image"===g.type},reset:function(g){return"reset"===g.type},button:function(g){return"button"===g.type||g.nodeName.toLowerCase()==="button"},input:function(g){return/input|select|textarea|button/i.test(g.nodeName)}},setFilters:{first:function(g,h){return h===0},last:function(g,h,k,l){return h===l.length-1},even:function(g,h){return h%2===
82
- 0},odd:function(g,h){return h%2===1},lt:function(g,h,k){return h<k[3]-0},gt:function(g,h,k){return h>k[3]-0},nth:function(g,h,k){return k[3]-0===h},eq:function(g,h,k){return k[3]-0===h}},filter:{PSEUDO:function(g,h,k,l){var q=h[1],p=m.filters[q];if(p)return p(g,k,h,l);else if(q==="contains")return(g.textContent||g.innerText||a([g])||"").indexOf(h[3])>=0;else if(q==="not"){h=h[3];k=0;for(l=h.length;k<l;k++)if(h[k]===g)return false;return true}else o.error("Syntax error, unrecognized expression: "+
83
- q)},CHILD:function(g,h){var k=h[1],l=g;switch(k){case "only":case "first":for(;l=l.previousSibling;)if(l.nodeType===1)return false;if(k==="first")return true;l=g;case "last":for(;l=l.nextSibling;)if(l.nodeType===1)return false;return true;case "nth":k=h[2];var q=h[3];if(k===1&&q===0)return true;h=h[0];var p=g.parentNode;if(p&&(p.sizcache!==h||!g.nodeIndex)){var u=0;for(l=p.firstChild;l;l=l.nextSibling)if(l.nodeType===1)l.nodeIndex=++u;p.sizcache=h}g=g.nodeIndex-q;return k===0?g===0:g%k===0&&g/k>=
84
- 0}},ID:function(g,h){return g.nodeType===1&&g.getAttribute("id")===h},TAG:function(g,h){return h==="*"&&g.nodeType===1||g.nodeName.toLowerCase()===h},CLASS:function(g,h){return(" "+(g.className||g.getAttribute("class"))+" ").indexOf(h)>-1},ATTR:function(g,h){var k=h[1];g=m.attrHandle[k]?m.attrHandle[k](g):g[k]!=null?g[k]:g.getAttribute(k);k=g+"";var l=h[2];h=h[4];return g==null?l==="!=":l==="="?k===h:l==="*="?k.indexOf(h)>=0:l==="~="?(" "+k+" ").indexOf(h)>=0:!h?k&&g!==false:l==="!="?k!==h:l==="^="?
85
- k.indexOf(h)===0:l==="$="?k.substr(k.length-h.length)===h:l==="|="?k===h||k.substr(0,h.length+1)===h+"-":false},POS:function(g,h,k,l){var q=m.setFilters[h[2]];if(q)return q(g,k,h,l)}}},s=m.match.POS;for(var x in m.match){m.match[x]=new RegExp(m.match[x].source+/(?![^\[]*\])(?![^\(]*\))/.source);m.leftMatch[x]=new RegExp(/(^(?:.|\r|\n)*?)/.source+m.match[x].source.replace(/\\(\d+)/g,function(g,h){return"\\"+(h-0+1)}))}var A=function(g,h){g=Array.prototype.slice.call(g,0);if(h){h.push.apply(h,g);return h}return g};
86
- try{Array.prototype.slice.call(r.documentElement.childNodes,0)}catch(B){A=function(g,h){h=h||[];if(i.call(g)==="[object Array]")Array.prototype.push.apply(h,g);else if(typeof g.length==="number")for(var k=0,l=g.length;k<l;k++)h.push(g[k]);else for(k=0;g[k];k++)h.push(g[k]);return h}}var C;if(r.documentElement.compareDocumentPosition)C=function(g,h){if(!g.compareDocumentPosition||!h.compareDocumentPosition){if(g==h)j=true;return g.compareDocumentPosition?-1:1}g=g.compareDocumentPosition(h)&4?-1:g===
87
- h?0:1;if(g===0)j=true;return g};else if("sourceIndex"in r.documentElement)C=function(g,h){if(!g.sourceIndex||!h.sourceIndex){if(g==h)j=true;return g.sourceIndex?-1:1}g=g.sourceIndex-h.sourceIndex;if(g===0)j=true;return g};else if(r.createRange)C=function(g,h){if(!g.ownerDocument||!h.ownerDocument){if(g==h)j=true;return g.ownerDocument?-1:1}var k=g.ownerDocument.createRange(),l=h.ownerDocument.createRange();k.setStart(g,0);k.setEnd(g,0);l.setStart(h,0);l.setEnd(h,0);g=k.compareBoundaryPoints(Range.START_TO_END,
88
- l);if(g===0)j=true;return g};(function(){var g=r.createElement("div"),h="script"+(new Date).getTime();g.innerHTML="<a name='"+h+"'/>";var k=r.documentElement;k.insertBefore(g,k.firstChild);if(r.getElementById(h)){m.find.ID=function(l,q,p){if(typeof q.getElementById!=="undefined"&&!p)return(q=q.getElementById(l[1]))?q.id===l[1]||typeof q.getAttributeNode!=="undefined"&&q.getAttributeNode("id").nodeValue===l[1]?[q]:v:[]};m.filter.ID=function(l,q){var p=typeof l.getAttributeNode!=="undefined"&&l.getAttributeNode("id");
89
- return l.nodeType===1&&p&&p.nodeValue===q}}k.removeChild(g);k=g=null})();(function(){var g=r.createElement("div");g.appendChild(r.createComment(""));if(g.getElementsByTagName("*").length>0)m.find.TAG=function(h,k){k=k.getElementsByTagName(h[1]);if(h[1]==="*"){h=[];for(var l=0;k[l];l++)k[l].nodeType===1&&h.push(k[l]);k=h}return k};g.innerHTML="<a href='#'></a>";if(g.firstChild&&typeof g.firstChild.getAttribute!=="undefined"&&g.firstChild.getAttribute("href")!=="#")m.attrHandle.href=function(h){return h.getAttribute("href",
90
- 2)};g=null})();r.querySelectorAll&&function(){var g=o,h=r.createElement("div");h.innerHTML="<p class='TEST'></p>";if(!(h.querySelectorAll&&h.querySelectorAll(".TEST").length===0)){o=function(l,q,p,u){q=q||r;if(!u&&q.nodeType===9&&!w(q))try{return A(q.querySelectorAll(l),p)}catch(t){}return g(l,q,p,u)};for(var k in g)o[k]=g[k];h=null}}();(function(){var g=r.createElement("div");g.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!g.getElementsByClassName||g.getElementsByClassName("e").length===
91
- 0)){g.lastChild.className="e";if(g.getElementsByClassName("e").length!==1){m.order.splice(1,0,"CLASS");m.find.CLASS=function(h,k,l){if(typeof k.getElementsByClassName!=="undefined"&&!l)return k.getElementsByClassName(h[1])};g=null}}})();var E=r.compareDocumentPosition?function(g,h){return g.compareDocumentPosition(h)&16}:function(g,h){return g!==h&&(g.contains?g.contains(h):true)},w=function(g){return(g=(g?g.ownerDocument||g:0).documentElement)?g.nodeName!=="HTML":false},fa=function(g,h){var k=[],
92
- l="",q;for(h=h.nodeType?[h]:h;q=m.match.PSEUDO.exec(g);){l+=q[0];g=g.replace(m.match.PSEUDO,"")}g=m.relative[g]?g+"*":g;q=0;for(var p=h.length;q<p;q++)o(g,h[q],k);return o.filter(l,k)};c.find=o;c.expr=o.selectors;c.expr[":"]=c.expr.filters;c.unique=o.uniqueSort;c.getText=a;c.isXMLDoc=w;c.contains=E})();var bb=/Until$/,cb=/^(?:parents|prevUntil|prevAll)/,db=/,/;Q=Array.prototype.slice;var Ea=function(a,b,d){if(c.isFunction(b))return c.grep(a,function(e,i){return!!b.call(e,i,e)===d});else if(b.nodeType)return c.grep(a,
93
- function(e){return e===b===d});else if(typeof b==="string"){var f=c.grep(a,function(e){return e.nodeType===1});if(Qa.test(b))return c.filter(b,f,!d);else b=c.filter(b,f)}return c.grep(a,function(e){return c.inArray(e,b)>=0===d})};c.fn.extend({find:function(a){for(var b=this.pushStack("","find",a),d=0,f=0,e=this.length;f<e;f++){d=b.length;c.find(a,this[f],b);if(f>0)for(var i=d;i<b.length;i++)for(var j=0;j<d;j++)if(b[j]===b[i]){b.splice(i--,1);break}}return b},has:function(a){var b=c(a);return this.filter(function(){for(var d=
94
- 0,f=b.length;d<f;d++)if(c.contains(this,b[d]))return true})},not:function(a){return this.pushStack(Ea(this,a,false),"not",a)},filter:function(a){return this.pushStack(Ea(this,a,true),"filter",a)},is:function(a){return!!a&&c.filter(a,this).length>0},closest:function(a,b){if(c.isArray(a)){var d=[],f=this[0],e,i={},j;if(f&&a.length){e=0;for(var n=a.length;e<n;e++){j=a[e];i[j]||(i[j]=c.expr.match.POS.test(j)?c(j,b||this.context):j)}for(;f&&f.ownerDocument&&f!==b;){for(j in i){e=i[j];if(e.jquery?e.index(f)>
95
- -1:c(f).is(e)){d.push({selector:j,elem:f});delete i[j]}}f=f.parentNode}}return d}var o=c.expr.match.POS.test(a)?c(a,b||this.context):null;return this.map(function(m,s){for(;s&&s.ownerDocument&&s!==b;){if(o?o.index(s)>-1:c(s).is(a))return s;s=s.parentNode}return null})},index:function(a){if(!a||typeof a==="string")return c.inArray(this[0],a?c(a):this.parent().children());return c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){a=typeof a==="string"?c(a,b||this.context):c.makeArray(a);b=c.merge(this.get(),
96
- a);return this.pushStack(pa(a[0])||pa(b[0])?b:c.unique(b))},andSelf:function(){return this.add(this.prevObject)}});c.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return c.dir(a,"parentNode")},parentsUntil:function(a,b,d){return c.dir(a,"parentNode",d)},next:function(a){return c.nth(a,2,"nextSibling")},prev:function(a){return c.nth(a,2,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},
97
- nextUntil:function(a,b,d){return c.dir(a,"nextSibling",d)},prevUntil:function(a,b,d){return c.dir(a,"previousSibling",d)},siblings:function(a){return c.sibling(a.parentNode.firstChild,a)},children:function(a){return c.sibling(a.firstChild)},contents:function(a){return c.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,b){c.fn[a]=function(d,f){var e=c.map(this,b,d);bb.test(a)||(f=d);if(f&&typeof f==="string")e=c.filter(f,e);e=this.length>1?c.unique(e):
98
- e;if((this.length>1||db.test(f))&&cb.test(a))e=e.reverse();return this.pushStack(e,a,Q.call(arguments).join(","))}});c.extend({filter:function(a,b,d){if(d)a=":not("+a+")";return c.find.matches(a,b)},dir:function(a,b,d){var f=[];for(a=a[b];a&&a.nodeType!==9&&(d===v||a.nodeType!==1||!c(a).is(d));){a.nodeType===1&&f.push(a);a=a[b]}return f},nth:function(a,b,d){b=b||1;for(var f=0;a;a=a[d])if(a.nodeType===1&&++f===b)break;return a},sibling:function(a,b){for(var d=[];a;a=a.nextSibling)a.nodeType===1&&a!==
99
- b&&d.push(a);return d}});var Fa=/ jQuery\d+="(?:\d+|null)"/g,V=/^\s+/,Ga=/(<([\w:]+)[^>]*?)\/>/g,eb=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,Ha=/<([\w:]+)/,fb=/<tbody/i,gb=/<|&\w+;/,sa=/checked\s*(?:[^=]|=\s*.checked.)/i,Ia=function(a,b,d){return eb.test(d)?a:b+"></"+d+">"},F={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],
100
- col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};F.optgroup=F.option;F.tbody=F.tfoot=F.colgroup=F.caption=F.thead;F.th=F.td;if(!c.support.htmlSerialize)F._default=[1,"div<div>","</div>"];c.fn.extend({text:function(a){if(c.isFunction(a))return this.each(function(b){var d=c(this);d.text(a.call(this,b,d.text()))});if(typeof a!=="object"&&a!==v)return this.empty().append((this[0]&&this[0].ownerDocument||r).createTextNode(a));return c.getText(this)},
101
- wrapAll:function(a){if(c.isFunction(a))return this.each(function(d){c(this).wrapAll(a.call(this,d))});if(this[0]){var b=c(a,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var d=this;d.firstChild&&d.firstChild.nodeType===1;)d=d.firstChild;return d}).append(this)}return this},wrapInner:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapInner(a.call(this,b))});return this.each(function(){var b=c(this),d=b.contents();d.length?
102
- d.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){c(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){c.nodeName(this,"body")||c(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,
103
- false,function(b){this.parentNode.insertBefore(b,this)});else if(arguments.length){var a=c(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,c(arguments[0]).toArray());return a}},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&&
104
- !c.isXMLDoc(this)){var d=this.outerHTML,f=this.ownerDocument;if(!d){d=f.createElement("div");d.appendChild(this.cloneNode(true));d=d.innerHTML}return c.clean([d.replace(Fa,"").replace(V,"")],f)[0]}else return this.cloneNode(true)});if(a===true){qa(this,b);qa(this.find("*"),b.find("*"))}return b},html:function(a){if(a===v)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(Fa,""):null;else if(typeof a==="string"&&!/<script/i.test(a)&&(c.support.leadingWhitespace||!V.test(a))&&!F[(Ha.exec(a)||
105
- ["",""])[1].toLowerCase()]){a=a.replace(Ga,Ia);try{for(var b=0,d=this.length;b<d;b++)if(this[b].nodeType===1){c.cleanData(this[b].getElementsByTagName("*"));this[b].innerHTML=a}}catch(f){this.empty().append(a)}}else c.isFunction(a)?this.each(function(e){var i=c(this),j=i.html();i.empty().append(function(){return a.call(this,e,j)})}):this.empty().append(a);return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(c.isFunction(a))return this.each(function(b){var d=c(this),f=d.html();d.replaceWith(a.call(this,
106
- b,f))});else a=c(a).detach();return this.each(function(){var b=this.nextSibling,d=this.parentNode;c(this).remove();b?c(b).before(a):c(d).append(a)})}else return this.pushStack(c(c.isFunction(a)?a():a),"replaceWith",a)},detach:function(a){return this.remove(a,true)},domManip:function(a,b,d){function f(s){return c.nodeName(s,"table")?s.getElementsByTagName("tbody")[0]||s.appendChild(s.ownerDocument.createElement("tbody")):s}var e,i,j=a[0],n=[];if(!c.support.checkClone&&arguments.length===3&&typeof j===
107
- "string"&&sa.test(j))return this.each(function(){c(this).domManip(a,b,d,true)});if(c.isFunction(j))return this.each(function(s){var x=c(this);a[0]=j.call(this,s,b?x.html():v);x.domManip(a,b,d)});if(this[0]){e=a[0]&&a[0].parentNode&&a[0].parentNode.nodeType===11?{fragment:a[0].parentNode}:ra(a,this,n);if(i=e.fragment.firstChild){b=b&&c.nodeName(i,"tr");for(var o=0,m=this.length;o<m;o++)d.call(b?f(this[o],i):this[o],e.cacheable||this.length>1||o>0?e.fragment.cloneNode(true):e.fragment)}n&&c.each(n,
108
- Ma)}return this}});c.fragments={};c.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(d){var f=[];d=c(d);for(var e=0,i=d.length;e<i;e++){var j=(e>0?this.clone(true):this).get();c.fn[b].apply(c(d[e]),j);f=f.concat(j)}return this.pushStack(f,a,d.selector)}});c.each({remove:function(a,b){if(!a||c.filter(a,[this]).length){if(!b&&this.nodeType===1){c.cleanData(this.getElementsByTagName("*"));c.cleanData([this])}this.parentNode&&
109
- this.parentNode.removeChild(this)}},empty:function(){for(this.nodeType===1&&c.cleanData(this.getElementsByTagName("*"));this.firstChild;)this.removeChild(this.firstChild)}},function(a,b){c.fn[a]=function(){return this.each(b,arguments)}});c.extend({clean:function(a,b,d,f){b=b||r;if(typeof b.createElement==="undefined")b=b.ownerDocument||b[0]&&b[0].ownerDocument||r;var e=[];c.each(a,function(i,j){if(typeof j==="number")j+="";if(j){if(typeof j==="string"&&!gb.test(j))j=b.createTextNode(j);else if(typeof j===
110
- "string"){j=j.replace(Ga,Ia);var n=(Ha.exec(j)||["",""])[1].toLowerCase(),o=F[n]||F._default,m=o[0];i=b.createElement("div");for(i.innerHTML=o[1]+j+o[2];m--;)i=i.lastChild;if(!c.support.tbody){m=fb.test(j);n=n==="table"&&!m?i.firstChild&&i.firstChild.childNodes:o[1]==="<table>"&&!m?i.childNodes:[];for(o=n.length-1;o>=0;--o)c.nodeName(n[o],"tbody")&&!n[o].childNodes.length&&n[o].parentNode.removeChild(n[o])}!c.support.leadingWhitespace&&V.test(j)&&i.insertBefore(b.createTextNode(V.exec(j)[0]),i.firstChild);
111
- j=c.makeArray(i.childNodes)}if(j.nodeType)e.push(j);else e=c.merge(e,j)}});if(d)for(a=0;e[a];a++)if(f&&c.nodeName(e[a],"script")&&(!e[a].type||e[a].type.toLowerCase()==="text/javascript"))f.push(e[a].parentNode?e[a].parentNode.removeChild(e[a]):e[a]);else{e[a].nodeType===1&&e.splice.apply(e,[a+1,0].concat(c.makeArray(e[a].getElementsByTagName("script"))));d.appendChild(e[a])}return e},cleanData:function(a){for(var b=0,d;(d=a[b])!=null;b++){c.event.remove(d);c.removeData(d)}}});var hb=/z-?index|font-?weight|opacity|zoom|line-?height/i,
112
- Ja=/alpha\([^)]*\)/,Ka=/opacity=([^)]*)/,ga=/float/i,ha=/-([a-z])/ig,ib=/([A-Z])/g,jb=/^-?\d+(?:px)?$/i,kb=/^-?\d/,lb={position:"absolute",visibility:"hidden",display:"block"},mb=["Left","Right"],nb=["Top","Bottom"],ob=r.defaultView&&r.defaultView.getComputedStyle,La=c.support.cssFloat?"cssFloat":"styleFloat",ia=function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){return X(this,a,b,true,function(d,f,e){if(e===v)return c.curCSS(d,f);if(typeof e==="number"&&!hb.test(f))e+="px";c.style(d,f,e)})};
113
- c.extend({style:function(a,b,d){if(!a||a.nodeType===3||a.nodeType===8)return v;if((b==="width"||b==="height")&&parseFloat(d)<0)d=v;var f=a.style||a,e=d!==v;if(!c.support.opacity&&b==="opacity"){if(e){f.zoom=1;b=parseInt(d,10)+""==="NaN"?"":"alpha(opacity="+d*100+")";a=f.filter||c.curCSS(a,"filter")||"";f.filter=Ja.test(a)?a.replace(Ja,b):b}return f.filter&&f.filter.indexOf("opacity=")>=0?parseFloat(Ka.exec(f.filter)[1])/100+"":""}if(ga.test(b))b=La;b=b.replace(ha,ia);if(e)f[b]=d;return f[b]},css:function(a,
114
- b,d,f){if(b==="width"||b==="height"){var e,i=b==="width"?mb:nb;function j(){e=b==="width"?a.offsetWidth:a.offsetHeight;f!=="border"&&c.each(i,function(){f||(e-=parseFloat(c.curCSS(a,"padding"+this,true))||0);if(f==="margin")e+=parseFloat(c.curCSS(a,"margin"+this,true))||0;else e-=parseFloat(c.curCSS(a,"border"+this+"Width",true))||0})}a.offsetWidth!==0?j():c.swap(a,lb,j);return Math.max(0,Math.round(e))}return c.curCSS(a,b,d)},curCSS:function(a,b,d){var f,e=a.style;if(!c.support.opacity&&b==="opacity"&&
115
- a.currentStyle){f=Ka.test(a.currentStyle.filter||"")?parseFloat(RegExp.$1)/100+"":"";return f===""?"1":f}if(ga.test(b))b=La;if(!d&&e&&e[b])f=e[b];else if(ob){if(ga.test(b))b="float";b=b.replace(ib,"-$1").toLowerCase();e=a.ownerDocument.defaultView;if(!e)return null;if(a=e.getComputedStyle(a,null))f=a.getPropertyValue(b);if(b==="opacity"&&f==="")f="1"}else if(a.currentStyle){d=b.replace(ha,ia);f=a.currentStyle[b]||a.currentStyle[d];if(!jb.test(f)&&kb.test(f)){b=e.left;var i=a.runtimeStyle.left;a.runtimeStyle.left=
116
- a.currentStyle.left;e.left=d==="fontSize"?"1em":f||0;f=e.pixelLeft+"px";e.left=b;a.runtimeStyle.left=i}}return f},swap:function(a,b,d){var f={};for(var e in b){f[e]=a.style[e];a.style[e]=b[e]}d.call(a);for(e in b)a.style[e]=f[e]}});if(c.expr&&c.expr.filters){c.expr.filters.hidden=function(a){var b=a.offsetWidth,d=a.offsetHeight,f=a.nodeName.toLowerCase()==="tr";return b===0&&d===0&&!f?true:b>0&&d>0&&!f?false:c.curCSS(a,"display")==="none"};c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)}}var pb=
117
- J(),qb=/<script(.|\s)*?\/script>/gi,rb=/select|textarea/i,sb=/color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i,N=/=\?(&|$)/,ja=/\?/,tb=/(\?|&)_=.*?(&|$)/,ub=/^(\w+:)?\/\/([^\/?#]+)/,vb=/%20/g;c.fn.extend({_load:c.fn.load,load:function(a,b,d){if(typeof a!=="string")return this._load(a);else if(!this.length)return this;var f=a.indexOf(" ");if(f>=0){var e=a.slice(f,a.length);a=a.slice(0,f)}f="GET";if(b)if(c.isFunction(b)){d=b;b=null}else if(typeof b==="object"){b=
118
- c.param(b,c.ajaxSettings.traditional);f="POST"}var i=this;c.ajax({url:a,type:f,dataType:"html",data:b,complete:function(j,n){if(n==="success"||n==="notmodified")i.html(e?c("<div />").append(j.responseText.replace(qb,"")).find(e):j.responseText);d&&i.each(d,[j.responseText,n,j])}});return this},serialize:function(){return c.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?c.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&
119
- (this.checked||rb.test(this.nodeName)||sb.test(this.type))}).map(function(a,b){a=c(this).val();return a==null?null:c.isArray(a)?c.map(a,function(d){return{name:b.name,value:d}}):{name:b.name,value:a}}).get()}});c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){c.fn[b]=function(d){return this.bind(b,d)}});c.extend({get:function(a,b,d,f){if(c.isFunction(b)){f=f||d;d=b;b=null}return c.ajax({type:"GET",url:a,data:b,success:d,dataType:f})},getScript:function(a,
120
- b){return c.get(a,null,b,"script")},getJSON:function(a,b,d){return c.get(a,b,d,"json")},post:function(a,b,d,f){if(c.isFunction(b)){f=f||d;d=b;b={}}return c.ajax({type:"POST",url:a,data:b,success:d,dataType:f})},ajaxSetup:function(a){c.extend(c.ajaxSettings,a)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:z.XMLHttpRequest&&(z.location.protocol!=="file:"||!z.ActiveXObject)?function(){return new z.XMLHttpRequest}:
121
- function(){try{return new z.ActiveXObject("Microsoft.XMLHTTP")}catch(a){}},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},etag:{},ajax:function(a){function b(){e.success&&e.success.call(o,n,j,w);e.global&&f("ajaxSuccess",[w,e])}function d(){e.complete&&e.complete.call(o,w,j);e.global&&f("ajaxComplete",[w,e]);e.global&&!--c.active&&c.event.trigger("ajaxStop")}
122
- function f(q,p){(e.context?c(e.context):c.event).trigger(q,p)}var e=c.extend(true,{},c.ajaxSettings,a),i,j,n,o=a&&a.context||e,m=e.type.toUpperCase();if(e.data&&e.processData&&typeof e.data!=="string")e.data=c.param(e.data,e.traditional);if(e.dataType==="jsonp"){if(m==="GET")N.test(e.url)||(e.url+=(ja.test(e.url)?"&":"?")+(e.jsonp||"callback")+"=?");else if(!e.data||!N.test(e.data))e.data=(e.data?e.data+"&":"")+(e.jsonp||"callback")+"=?";e.dataType="json"}if(e.dataType==="json"&&(e.data&&N.test(e.data)||
123
- N.test(e.url))){i=e.jsonpCallback||"jsonp"+pb++;if(e.data)e.data=(e.data+"").replace(N,"="+i+"$1");e.url=e.url.replace(N,"="+i+"$1");e.dataType="script";z[i]=z[i]||function(q){n=q;b();d();z[i]=v;try{delete z[i]}catch(p){}A&&A.removeChild(B)}}if(e.dataType==="script"&&e.cache===null)e.cache=false;if(e.cache===false&&m==="GET"){var s=J(),x=e.url.replace(tb,"$1_="+s+"$2");e.url=x+(x===e.url?(ja.test(e.url)?"&":"?")+"_="+s:"")}if(e.data&&m==="GET")e.url+=(ja.test(e.url)?"&":"?")+e.data;e.global&&!c.active++&&
124
- c.event.trigger("ajaxStart");s=(s=ub.exec(e.url))&&(s[1]&&s[1]!==location.protocol||s[2]!==location.host);if(e.dataType==="script"&&m==="GET"&&s){var A=r.getElementsByTagName("head")[0]||r.documentElement,B=r.createElement("script");B.src=e.url;if(e.scriptCharset)B.charset=e.scriptCharset;if(!i){var C=false;B.onload=B.onreadystatechange=function(){if(!C&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){C=true;b();d();B.onload=B.onreadystatechange=null;A&&B.parentNode&&
125
- A.removeChild(B)}}}A.insertBefore(B,A.firstChild);return v}var E=false,w=e.xhr();if(w){e.username?w.open(m,e.url,e.async,e.username,e.password):w.open(m,e.url,e.async);try{if(e.data||a&&a.contentType)w.setRequestHeader("Content-Type",e.contentType);if(e.ifModified){c.lastModified[e.url]&&w.setRequestHeader("If-Modified-Since",c.lastModified[e.url]);c.etag[e.url]&&w.setRequestHeader("If-None-Match",c.etag[e.url])}s||w.setRequestHeader("X-Requested-With","XMLHttpRequest");w.setRequestHeader("Accept",
126
- e.dataType&&e.accepts[e.dataType]?e.accepts[e.dataType]+", */*":e.accepts._default)}catch(fa){}if(e.beforeSend&&e.beforeSend.call(o,w,e)===false){e.global&&!--c.active&&c.event.trigger("ajaxStop");w.abort();return false}e.global&&f("ajaxSend",[w,e]);var g=w.onreadystatechange=function(q){if(!w||w.readyState===0||q==="abort"){E||d();E=true;if(w)w.onreadystatechange=c.noop}else if(!E&&w&&(w.readyState===4||q==="timeout")){E=true;w.onreadystatechange=c.noop;j=q==="timeout"?"timeout":!c.httpSuccess(w)?
127
- "error":e.ifModified&&c.httpNotModified(w,e.url)?"notmodified":"success";var p;if(j==="success")try{n=c.httpData(w,e.dataType,e)}catch(u){j="parsererror";p=u}if(j==="success"||j==="notmodified")i||b();else c.handleError(e,w,j,p);d();q==="timeout"&&w.abort();if(e.async)w=null}};try{var h=w.abort;w.abort=function(){w&&h.call(w);g("abort")}}catch(k){}e.async&&e.timeout>0&&setTimeout(function(){w&&!E&&g("timeout")},e.timeout);try{w.send(m==="POST"||m==="PUT"||m==="DELETE"?e.data:null)}catch(l){c.handleError(e,
128
- w,null,l);d()}e.async||g();return w}},handleError:function(a,b,d,f){if(a.error)a.error.call(a.context||a,b,d,f);if(a.global)(a.context?c(a.context):c.event).trigger("ajaxError",[b,a,f])},active:0,httpSuccess:function(a){try{return!a.status&&location.protocol==="file:"||a.status>=200&&a.status<300||a.status===304||a.status===1223||a.status===0}catch(b){}return false},httpNotModified:function(a,b){var d=a.getResponseHeader("Last-Modified"),f=a.getResponseHeader("Etag");if(d)c.lastModified[b]=d;if(f)c.etag[b]=
129
- f;return a.status===304||a.status===0},httpData:function(a,b,d){var f=a.getResponseHeader("content-type")||"",e=b==="xml"||!b&&f.indexOf("xml")>=0;a=e?a.responseXML:a.responseText;e&&a.documentElement.nodeName==="parsererror"&&c.error("parsererror");if(d&&d.dataFilter)a=d.dataFilter(a,b);if(typeof a==="string")if(b==="json"||!b&&f.indexOf("json")>=0)a=c.parseJSON(a);else if(b==="script"||!b&&f.indexOf("javascript")>=0)c.globalEval(a);return a},param:function(a,b){function d(j,n){if(c.isArray(n))c.each(n,
130
- function(o,m){b?f(j,m):d(j+"["+(typeof m==="object"||c.isArray(m)?o:"")+"]",m)});else!b&&n!=null&&typeof n==="object"?c.each(n,function(o,m){d(j+"["+o+"]",m)}):f(j,n)}function f(j,n){n=c.isFunction(n)?n():n;e[e.length]=encodeURIComponent(j)+"="+encodeURIComponent(n)}var e=[];if(b===v)b=c.ajaxSettings.traditional;if(c.isArray(a)||a.jquery)c.each(a,function(){f(this.name,this.value)});else for(var i in a)d(i,a[i]);return e.join("&").replace(vb,"+")}});var ka={},wb=/toggle|show|hide/,xb=/^([+-]=)?([\d+-.]+)(.*)$/,
131
- W,ta=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];c.fn.extend({show:function(a,b){if(a||a===0)return this.animate(K("show",3),a,b);else{a=0;for(b=this.length;a<b;a++){var d=c.data(this[a],"olddisplay");this[a].style.display=d||"";if(c.css(this[a],"display")==="none"){d=this[a].nodeName;var f;if(ka[d])f=ka[d];else{var e=c("<"+d+" />").appendTo("body");f=e.css("display");if(f==="none")f="block";e.remove();
132
- ka[d]=f}c.data(this[a],"olddisplay",f)}}a=0;for(b=this.length;a<b;a++)this[a].style.display=c.data(this[a],"olddisplay")||"";return this}},hide:function(a,b){if(a||a===0)return this.animate(K("hide",3),a,b);else{a=0;for(b=this.length;a<b;a++){var d=c.data(this[a],"olddisplay");!d&&d!=="none"&&c.data(this[a],"olddisplay",c.css(this[a],"display"))}a=0;for(b=this.length;a<b;a++)this[a].style.display="none";return this}},_toggle:c.fn.toggle,toggle:function(a,b){var d=typeof a==="boolean";if(c.isFunction(a)&&
133
- c.isFunction(b))this._toggle.apply(this,arguments);else a==null||d?this.each(function(){var f=d?a:c(this).is(":hidden");c(this)[f?"show":"hide"]()}):this.animate(K("toggle",3),a,b);return this},fadeTo:function(a,b,d){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,d)},animate:function(a,b,d,f){var e=c.speed(b,d,f);if(c.isEmptyObject(a))return this.each(e.complete);return this[e.queue===false?"each":"queue"](function(){var i=c.extend({},e),j,n=this.nodeType===1&&c(this).is(":hidden"),
134
- o=this;for(j in a){var m=j.replace(ha,ia);if(j!==m){a[m]=a[j];delete a[j];j=m}if(a[j]==="hide"&&n||a[j]==="show"&&!n)return i.complete.call(this);if((j==="height"||j==="width")&&this.style){i.display=c.css(this,"display");i.overflow=this.style.overflow}if(c.isArray(a[j])){(i.specialEasing=i.specialEasing||{})[j]=a[j][1];a[j]=a[j][0]}}if(i.overflow!=null)this.style.overflow="hidden";i.curAnim=c.extend({},a);c.each(a,function(s,x){var A=new c.fx(o,i,s);if(wb.test(x))A[x==="toggle"?n?"show":"hide":x](a);
135
- else{var B=xb.exec(x),C=A.cur(true)||0;if(B){x=parseFloat(B[2]);var E=B[3]||"px";if(E!=="px"){o.style[s]=(x||1)+E;C=(x||1)/A.cur(true)*C;o.style[s]=C+E}if(B[1])x=(B[1]==="-="?-1:1)*x+C;A.custom(C,x,E)}else A.custom(C,x,"")}});return true})},stop:function(a,b){var d=c.timers;a&&this.queue([]);this.each(function(){for(var f=d.length-1;f>=0;f--)if(d[f].elem===this){b&&d[f](true);d.splice(f,1)}});b||this.dequeue();return this}});c.each({slideDown:K("show",1),slideUp:K("hide",1),slideToggle:K("toggle",
136
- 1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(a,b){c.fn[a]=function(d,f){return this.animate(b,d,f)}});c.extend({speed:function(a,b,d){var f=a&&typeof a==="object"?a:{complete:d||!d&&b||c.isFunction(a)&&a,duration:a,easing:d&&b||b&&!c.isFunction(b)&&b};f.duration=c.fx.off?0:typeof f.duration==="number"?f.duration:c.fx.speeds[f.duration]||c.fx.speeds._default;f.old=f.complete;f.complete=function(){f.queue!==false&&c(this).dequeue();c.isFunction(f.old)&&f.old.call(this)};return f},easing:{linear:function(a,
137
- b,d,f){return d+f*a},swing:function(a,b,d,f){return(-Math.cos(a*Math.PI)/2+0.5)*f+d}},timers:[],fx:function(a,b,d){this.options=b;this.elem=a;this.prop=d;if(!b.orig)b.orig={}}});c.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(c.fx.step[this.prop]||c.fx.step._default)(this);if((this.prop==="height"||this.prop==="width")&&this.elem.style)this.elem.style.display="block"},cur:function(a){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==
138
- null))return this.elem[this.prop];return(a=parseFloat(c.css(this.elem,this.prop,a)))&&a>-10000?a:parseFloat(c.curCSS(this.elem,this.prop))||0},custom:function(a,b,d){function f(i){return e.step(i)}this.startTime=J();this.start=a;this.end=b;this.unit=d||this.unit||"px";this.now=this.start;this.pos=this.state=0;var e=this;f.elem=this.elem;if(f()&&c.timers.push(f)&&!W)W=setInterval(c.fx.tick,13)},show:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop===
139
- "width"||this.prop==="height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(a){var b=J(),d=true;if(a||b>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var f in this.options.curAnim)if(this.options.curAnim[f]!==true)d=false;if(d){if(this.options.display!=null){this.elem.style.overflow=
140
- this.options.overflow;a=c.data(this.elem,"olddisplay");this.elem.style.display=a?a:this.options.display;if(c.css(this.elem,"display")==="none")this.elem.style.display="block"}this.options.hide&&c(this.elem).hide();if(this.options.hide||this.options.show)for(var e in this.options.curAnim)c.style(this.elem,e,this.options.orig[e]);this.options.complete.call(this.elem)}return false}else{e=b-this.startTime;this.state=e/this.options.duration;a=this.options.easing||(c.easing.swing?"swing":"linear");this.pos=
141
- c.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||a](this.state,e,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};c.extend(c.fx,{tick:function(){for(var a=c.timers,b=0;b<a.length;b++)a[b]()||a.splice(b--,1);a.length||c.fx.stop()},stop:function(){clearInterval(W);W=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){c.style(a.elem,"opacity",a.now)},_default:function(a){if(a.elem.style&&a.elem.style[a.prop]!=
142
- null)a.elem.style[a.prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit;else a.elem[a.prop]=a.now}}});if(c.expr&&c.expr.filters)c.expr.filters.animated=function(a){return c.grep(c.timers,function(b){return a===b.elem}).length};c.fn.offset="getBoundingClientRect"in r.documentElement?function(a){var b=this[0];if(a)return this.each(function(e){c.offset.setOffset(this,a,e)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);var d=b.getBoundingClientRect(),
143
- f=b.ownerDocument;b=f.body;f=f.documentElement;return{top:d.top+(self.pageYOffset||c.support.boxModel&&f.scrollTop||b.scrollTop)-(f.clientTop||b.clientTop||0),left:d.left+(self.pageXOffset||c.support.boxModel&&f.scrollLeft||b.scrollLeft)-(f.clientLeft||b.clientLeft||0)}}:function(a){var b=this[0];if(a)return this.each(function(s){c.offset.setOffset(this,a,s)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);c.offset.initialize();var d=b.offsetParent,f=
144
- b,e=b.ownerDocument,i,j=e.documentElement,n=e.body;f=(e=e.defaultView)?e.getComputedStyle(b,null):b.currentStyle;for(var o=b.offsetTop,m=b.offsetLeft;(b=b.parentNode)&&b!==n&&b!==j;){if(c.offset.supportsFixedPosition&&f.position==="fixed")break;i=e?e.getComputedStyle(b,null):b.currentStyle;o-=b.scrollTop;m-=b.scrollLeft;if(b===d){o+=b.offsetTop;m+=b.offsetLeft;if(c.offset.doesNotAddBorder&&!(c.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(b.nodeName))){o+=parseFloat(i.borderTopWidth)||
145
- 0;m+=parseFloat(i.borderLeftWidth)||0}f=d;d=b.offsetParent}if(c.offset.subtractsBorderForOverflowNotVisible&&i.overflow!=="visible"){o+=parseFloat(i.borderTopWidth)||0;m+=parseFloat(i.borderLeftWidth)||0}f=i}if(f.position==="relative"||f.position==="static"){o+=n.offsetTop;m+=n.offsetLeft}if(c.offset.supportsFixedPosition&&f.position==="fixed"){o+=Math.max(j.scrollTop,n.scrollTop);m+=Math.max(j.scrollLeft,n.scrollLeft)}return{top:o,left:m}};c.offset={initialize:function(){var a=r.body,b=r.createElement("div"),
146
- d,f,e,i=parseFloat(c.curCSS(a,"marginTop",true))||0;c.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});b.innerHTML="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";a.insertBefore(b,a.firstChild);
147
- d=b.firstChild;f=d.firstChild;e=d.nextSibling.firstChild.firstChild;this.doesNotAddBorder=f.offsetTop!==5;this.doesAddBorderForTableAndCells=e.offsetTop===5;f.style.position="fixed";f.style.top="20px";this.supportsFixedPosition=f.offsetTop===20||f.offsetTop===15;f.style.position=f.style.top="";d.style.overflow="hidden";d.style.position="relative";this.subtractsBorderForOverflowNotVisible=f.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==i;a.removeChild(b);c.offset.initialize=c.noop},
148
- bodyOffset:function(a){var b=a.offsetTop,d=a.offsetLeft;c.offset.initialize();if(c.offset.doesNotIncludeMarginInBodyOffset){b+=parseFloat(c.curCSS(a,"marginTop",true))||0;d+=parseFloat(c.curCSS(a,"marginLeft",true))||0}return{top:b,left:d}},setOffset:function(a,b,d){if(/static/.test(c.curCSS(a,"position")))a.style.position="relative";var f=c(a),e=f.offset(),i=parseInt(c.curCSS(a,"top",true),10)||0,j=parseInt(c.curCSS(a,"left",true),10)||0;if(c.isFunction(b))b=b.call(a,d,e);d={top:b.top-e.top+i,left:b.left-
149
- e.left+j};"using"in b?b.using.call(a,d):f.css(d)}};c.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),d=this.offset(),f=/^body|html$/i.test(b[0].nodeName)?{top:0,left:0}:b.offset();d.top-=parseFloat(c.curCSS(a,"marginTop",true))||0;d.left-=parseFloat(c.curCSS(a,"marginLeft",true))||0;f.top+=parseFloat(c.curCSS(b[0],"borderTopWidth",true))||0;f.left+=parseFloat(c.curCSS(b[0],"borderLeftWidth",true))||0;return{top:d.top-f.top,left:d.left-f.left}},offsetParent:function(){return this.map(function(){for(var a=
150
- this.offsetParent||r.body;a&&!/^body|html$/i.test(a.nodeName)&&c.css(a,"position")==="static";)a=a.offsetParent;return a})}});c.each(["Left","Top"],function(a,b){var d="scroll"+b;c.fn[d]=function(f){var e=this[0],i;if(!e)return null;if(f!==v)return this.each(function(){if(i=ua(this))i.scrollTo(!a?f:c(i).scrollLeft(),a?f:c(i).scrollTop());else this[d]=f});else return(i=ua(e))?"pageXOffset"in i?i[a?"pageYOffset":"pageXOffset"]:c.support.boxModel&&i.document.documentElement[d]||i.document.body[d]:e[d]}});
151
- c.each(["Height","Width"],function(a,b){var d=b.toLowerCase();c.fn["inner"+b]=function(){return this[0]?c.css(this[0],d,false,"padding"):null};c.fn["outer"+b]=function(f){return this[0]?c.css(this[0],d,false,f?"margin":"border"):null};c.fn[d]=function(f){var e=this[0];if(!e)return f==null?null:this;if(c.isFunction(f))return this.each(function(i){var j=c(this);j[d](f.call(this,i,j[d]()))});return"scrollTo"in e&&e.document?e.document.compatMode==="CSS1Compat"&&e.document.documentElement["client"+b]||
152
- e.document.body["client"+b]:e.nodeType===9?Math.max(e.documentElement["client"+b],e.body["scroll"+b],e.documentElement["scroll"+b],e.body["offset"+b],e.documentElement["offset"+b]):f===v?c.css(e,d):this.css(d,typeof f==="string"?f:f+"px")}});z.jQuery=z.$=c})(window);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
js/ma2_all/ma2all.css ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ /*# TABS - Default pure style #######################################*/
3
+ .tab-list { position:relative; }
4
+ .tab-list .tab { float:left; cursor:pointer; }
5
+ .tab-list .last {}
6
+ .tab-list .active { cursor:default }
7
+ .tab-list .tab-container { position:absolute; left:0; width:100%; }
8
+ .tab-list .tab-content {overflow: hidden;}
9
+
10
+ .tab-list { padding-bottom:15px; margin:0 0 15px; }
11
+ .tab-list .tab { position:relative; z-index:2; margin-right:3px; background:#EEE; border: 1px solid #C4C4C4; color:#888; padding:0 0 0 10px; font-size:14px; }
12
+ .tab-list .tab span { padding:0 10px 0 0; line-height:24px; float:left; font-weight: bold;}
13
+ .tab-list .last {}
14
+ .tab-list .active { color:#000; font-weight:bold; z-index:3; border-bottom:0; background:#fff;
15
+ background-image: -moz-linear-gradient(top, #CDCDCD, #FFFFFF);
16
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#CDCDCD), to(#FFFFFF));
17
+ background-image: -webkit-linear-gradient(top, #CDCDCD, #FFFFFF);
18
+ background-image: -o-linear-gradient(top, #CDCDCD, #FFFFFF);
19
+ background-image: linear-gradient(to bottom, #CDCDCD, #FFFFFF);
20
+
21
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFCDCDCD', endColorstr='#FFFFFFFF', GradientType=0);
22
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
23
+ }
24
+ .tab-list .active span { background-position:100% 0; padding-bottom:1px; }
25
+ .tab-list .tab-container { z-index:1; top:25px; background:#fff; }
26
+ .tab-list .tab-content { padding: 1.2em 1em; background:#fff; border:1px solid #c4c4c4; font-size:12px; }
27
+ .tab-list .tab-content object,
28
+ .tab-list .tab-content embed { width:100% !important; height:auto !important; }
29
+
30
+ /*# #######################################*/
js/ma2_all/{widgettabs.js → ma2all.js} RENAMED
File without changes
js/ma2_all/readmore.js DELETED
@@ -1,68 +0,0 @@
1
- jQuery.noConflict();
2
-
3
- jQuery(function ($) {
4
-
5
- // Grab all the excerpt class
6
- $('.excerpt').each(function () {
7
-
8
- // Run formatWord function and specify the length of words display to viewer
9
- $(this).html(formatWords($(this).html(), 30));
10
-
11
- // Hide the extra words
12
- $(this).children('span').hide();
13
-
14
- // Apply click event to read more link
15
- }).click(function () {
16
-
17
- // Grab the hidden span and anchor
18
- var more_text = $(this).children('span.more_text');
19
- var more_link = $(this).children('a.more_link');
20
-
21
- // Toggle visibility using hasClass
22
- // I know you can use is(':visible') but it doesn't work in IE8 somehow...
23
- if (more_text.hasClass('hide')) {
24
- more_text.show();
25
- more_link.html(' &raquo; hide');
26
- more_text.removeClass('hide');
27
- } else {
28
- more_text.hide();
29
- more_link.html(' &laquo; more');
30
- more_text.addClass('hide');
31
- }
32
-
33
- return false;
34
-
35
- });
36
- });
37
-
38
- // Accept a paragraph and return a formatted paragraph with additional html tags
39
- function formatWords(sentence, show) {
40
-
41
- // split all the words and store it in an array
42
- var words = sentence.split(' ');
43
- var new_sentence = '';
44
-
45
- // loop through each word
46
- for (i = 0; i < words.length; i++) {
47
-
48
- // process words that will visible to viewer
49
- if (i <= show) {
50
- new_sentence += words[i] + ' ';
51
-
52
- // process the rest of the words
53
- } else {
54
-
55
- // add a span at start
56
- if (i == (show + 1)) new_sentence += '... <span class="more_text hide">';
57
-
58
- new_sentence += words[i] + ' ';
59
-
60
- // close the span tag and add read more link in the very end
61
- if (words[i+1] == null) new_sentence += '</span><a href="#" class="more_link"> &raquo; more</a>';
62
- }
63
- }
64
-
65
- return new_sentence;
66
-
67
- }
68
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
media/ma2/images/default/favicon-blue.png ADDED
Binary file
media/ma2/images/default/favicon-blue_1.png ADDED
Binary file
media/ma2/images/default/favicon-green.png ADDED
Binary file
media/ma2/images/default/favicon-yellow.png ADDED
Binary file
media/ma2/images/default/logo-blue.png ADDED
Binary file
media/ma2/images/default/logo-blue_1.png ADDED
Binary file
media/ma2/images/default/logo-blue_2.png ADDED
Binary file
media/ma2/images/default/logo-green.png ADDED
Binary file
media/ma2/images/default/logo-green_1.png ADDED
Binary file
media/ma2/images/default/logo-yellow.png ADDED
Binary file
skin/frontend/ma2/ante/images/bane1.png → media/ma2slideshow/banner120140226061703.png RENAMED
File without changes
skin/frontend/ma2/ante/images/bane2.png → media/ma2slideshow/banner220140226061852.png RENAMED
File without changes
media/ma2slideshow/thumbnail/banner120140226061703.png ADDED
Binary file
media/ma2slideshow/thumbnail/banner220140226061852.png ADDED
Binary file
{skin/frontend/ma2/ante/images → media/manufacturers}/Adidas.png RENAMED
File without changes
{skin/frontend/ma2/ante/images → media/manufacturers}/Cabelas.png RENAMED
File without changes
{skin/frontend/ma2/ante/images → media/manufacturers}/Levis.png RENAMED
File without changes
{skin/frontend/ma2/ante/images → media/manufacturers}/PaylorMade.png RENAMED
File without changes
{skin/frontend/ma2/ante/images → media/manufacturers}/Reebok.png RENAMED
File without changes
{skin/frontend/ma2/ante/images → media/manufacturers}/TCMMY.png RENAMED
File without changes
skin/frontend/ma2/ante/images/xmlconnect/catalog/category/placeholder/image.jpg → media/manufacturers/noimage.jpg RENAMED
File without changes
media/manufacturers/resized/Adidas.png ADDED
Binary file
media/manufacturers/resized/Cabelas.png ADDED
Binary file
media/manufacturers/resized/Levis.png ADDED
Binary file
media/manufacturers/resized/PaylorMade.png ADDED
Binary file
media/manufacturers/resized/Reebok.png ADDED
Binary file
media/manufacturers/resized/TCMMY.png ADDED
Binary file
media/manufacturers/resized/noimage.jpg ADDED
Binary file
media/wysiwyg/.thumbs/wysiwyg/ante/banner1.png ADDED
Binary file
media/wysiwyg/.thumbs/wysiwyg/ante/banner2.png ADDED
Binary file
media/wysiwyg/.thumbs/wysiwyg/ante/banner3-blue.png ADDED
Binary file
media/wysiwyg/.thumbs/wysiwyg/ante/banner3-green.png ADDED
Binary file
media/wysiwyg/.thumbs/wysiwyg/ante/banner3-yellow.png ADDED
Binary file
media/wysiwyg/.thumbs/wysiwyg/ante/banner3.png ADDED
Binary file
media/wysiwyg/.thumbs/wysiwyg/ante/banner4-blue.png ADDED
Binary file
media/wysiwyg/.thumbs/wysiwyg/ante/banner4-green.png ADDED
Binary file
media/wysiwyg/.thumbs/wysiwyg/ante/banner4-yellow.png ADDED
Binary file
media/wysiwyg/.thumbs/wysiwyg/ante/banner4.png ADDED
Binary file
media/wysiwyg/.thumbs/wysiwyg/ante/btn_paypal_checkout.gif ADDED
Binary file
media/wysiwyg/.thumbs/wysiwyg/ante/cirrur.png ADDED
Binary file
media/wysiwyg/.thumbs/wysiwyg/ante/facebook.png ADDED
Binary file
media/wysiwyg/.thumbs/wysiwyg/ante/master.png ADDED
Binary file
media/wysiwyg/.thumbs/wysiwyg/ante/paypal.png ADDED
Binary file
media/wysiwyg/.thumbs/wysiwyg/ante/right-adv-blue.png ADDED
Binary file
media/wysiwyg/.thumbs/wysiwyg/ante/right-adv-green.png ADDED
Binary file
media/wysiwyg/.thumbs/wysiwyg/ante/right-adv-yellow.png ADDED
Binary file
media/wysiwyg/.thumbs/wysiwyg/ante/right-adv.png ADDED
Binary file
media/wysiwyg/.thumbs/wysiwyg/ante/twitter.png ADDED
Binary file
media/wysiwyg/.thumbs/wysiwyg/ante/visa.png ADDED
Binary file
{skin/frontend/ma2/ante/images → media/wysiwyg/ante}/banner1.png RENAMED
File without changes
{skin/frontend/ma2/ante/images → media/wysiwyg/ante}/banner2.png RENAMED
File without changes
media/wysiwyg/ante/banner3-blue.png ADDED
Binary file
media/wysiwyg/ante/banner3-green.png ADDED
Binary file
media/wysiwyg/ante/banner3-yellow.png ADDED
Binary file
media/wysiwyg/ante/banner3.png ADDED
Binary file
media/wysiwyg/ante/banner4-blue.png ADDED
Binary file
media/wysiwyg/ante/banner4-green.png ADDED
Binary file
media/wysiwyg/ante/banner4-yellow.png ADDED
Binary file
media/wysiwyg/ante/banner4.png ADDED
Binary file
{skin/frontend/ma2/ante/images → media/wysiwyg/ante}/btn_paypal_checkout.gif RENAMED
File without changes
{skin/frontend/ma2/ante/images → media/wysiwyg/ante}/cirrur.png RENAMED
File without changes
{skin/frontend/ma2/ante/images → media/wysiwyg/ante}/facebook.png RENAMED
File without changes
{skin/frontend/ma2/ante/images → media/wysiwyg/ante}/master.png RENAMED
File without changes
{skin/frontend/ma2/ante/images → media/wysiwyg/ante}/paypal.png RENAMED
File without changes
media/wysiwyg/ante/right-adv-blue.png ADDED
Binary file
media/wysiwyg/ante/right-adv-green.png ADDED
Binary file
media/wysiwyg/ante/right-adv-yellow.png ADDED
Binary file
media/wysiwyg/ante/right-adv.png ADDED
Binary file
{skin/frontend/ma2/ante/images → media/wysiwyg/ante}/twitter.png RENAMED
File without changes
{skin/frontend/ma2/ante/images → media/wysiwyg/ante}/visa.png RENAMED
File without changes
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Ma2_Ante_Theme</name>
4
- <version>1.0.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>MA2 Ante free theme for Magento is a nice theme for any kind of eCommerce store with modern and clean design.</summary>
10
  <description>MA2 Ante free theme for Magento is a nice theme for any kind of eCommerce store with modern and clean design. This theme introduces many innovative features and offers tons of customizable options, giving you total control over your store's look and feel.</description>
11
- <notes>Version number: 1.0.0 Stability: Stable Compatibility: 1.7, 1.8</notes>
12
  <authors><author><name>Magenmarket.com</name><user>taxzin</user><email>trungdt@omegatheme.com</email></author></authors>
13
- <date>2013-11-13</date>
14
- <time>03:18:06</time>
15
- <contents><target name="magelocal"><dir name="Ma2"><dir name="FeaturedProducts"><dir name="Block"><dir name="Adminhtml"><dir name="Edit"><file name="Edit.php" hash="361a0866dea7c70653f141e8301e4c72"/><file name="Grid.php" hash="44b477757222f4cf53586a2a5be408e1"/><dir name="Renderer"><file name="Name.php" hash="0c1fa943510dbd1d6f1b6c2c80bc6cf7"/><file name="Visibility.php" hash="f15d9b19372efc821f925cc39621b630"/></dir></dir><file name="Edit.php" hash="42cb75ec9a2bcd7ede41299d84e69829"/></dir><dir name="Product"><file name="List.php" hash="dec4a55f7fefeeaea39852caa18fa64a"/></dir><file name="Product.php" hash="78814e7beff1d73169597b54aef5d802"/></dir><dir name="Helper"><file name="Data.php" hash="e5ccd9f022ea6bc9e9ce25ef863a9180"/></dir><dir name="Model"><dir name="Mysql4"><dir name="FeaturedProducts"><file name="Collection.php" hash="519cc690b7f6d207ad34c2f51409ac62"/></dir><file name="FeaturedProducts.php" hash="8af5f7313d8cfca5e5506d1d6bae763f"/></dir><dir name="System"><dir name="Config"><dir name="Source"><file name="Sort.php" hash="e185ef98c14572725faad52a9fefc706"/></dir></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="FeaturedController.php" hash="55e1129bd98d0392c48a84fa9c02efd1"/></dir><file name="IndexController.php" hash="cd005b04c47fa52192aa78a165440e31"/></dir><dir name="etc"><file name="adminhtml.xml" hash="2157f3fa0991f018b9175aac31d42837"/><file name="config.xml" hash="45579bce0aa0c4070520fb11f0136d15"/></dir><dir name="sql"><dir name="FeaturedProducts_setup"><file name="mysql4-install-1.0.1.php" hash="9969866f925d6854f1bcdb347a982085"/><file name="mysql4-upgrade-1.0.1-1.1.1.php" hash="2a5cebf9de1fada5b5eca90f4b467dd7"/><file name="mysql4-upgrade-1.1.1-1.2.3.php" hash="e922f787c280b8dcd12a1e7108c6fb1b"/><file name="upgrade-1.2.3-2.0.0.php" hash="ba2de48be025d6e4cdd0c698d38d83b1"/></dir></dir></dir><dir name="ThemeOptions"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><file name="Font_unused.php" hash="df1d62269f3896fcbfce5e3aa90979e8"/><file name="Fontpreview.php" hash="8bbd6a0695d30c87fdab91d528c9168e"/><file name="Fonts_unused.php" hash="1e6343060ac0f67dab966ad936eaa379"/><file name="Fontscript_unused.php" hash="492b56fd79790b99ef4a56983b12a153"/><file name="Heading.php" hash="2548a96c64d2a1fc2f399191d5e85bbd"/><file name="Images.php" hash="031eac3b127e2a466ca8c95dbf64ecaa"/><file name="Imagessmall.php" hash="6b1bd276341ee7e16f9a37c442812069"/><file name="OColor.php" hash="6151aa6e2f9788ebc324c5426c44ffa1"/><file name="Patern.php" hash="c1c92da2062c095d0b62dd6c32b918de"/></dir></dir></dir></dir></dir><file name="ThemeOptions.php" hash="0cd2a076e729320a06fa58c7ce1a4908"/></dir><dir name="Controller"><file name="Observer.php" hash="ae713414d39e6ab08800ffe8d3da2060"/></dir><file name="Exception.php" hash="70915855d1b597d960e198c85d4d798d"/><dir name="Helper"><file name="Data.php" hash="aa7cf70a764649d2904cceedb8a269d7"/></dir><dir name="Model"><file name="Backgroundposition.php" hash="e6b8c34b133240ad83c09b6d19c406c3"/><file name="Backgroundrepeat.php" hash="09c675416194a506ccbc950f0f7267a6"/><file name="Fontreplacement.php" hash="c2bef8f9278ec9cfa78bf8e9a7c77fdf"/><file name="Fonts.php" hash="5f11d90d8a56e0f060e21d86b1cabd47"/><file name="Gfont_unused.php" hash="3a91e431bcdf7e43fc11fed70bd163bd"/><file name="Presetstyles.php" hash="13f855b4b8be4102b68973449336d177"/><file name="Productpagelayout.php" hash="8895701053caf4b908935e1c7a9569ab"/></dir><dir name="etc"><file name="adminhtml.xml" hash="d86ba96227c79ed5ab13d68bfa7ef62a"/><file name="config.xml" hash="ec6afad94309786755a542e1a47177dc"/><file name="system.xml" hash="0bc6778d558674ae55a9deb859c3362f"/></dir></dir><dir name="WidgetProductList"><dir name="Block"><dir name="Adminhtml"><dir name="Catalog"><dir name="Product"><dir name="Widget"><file name="Chooser.php" hash="1e360a9c2bda2d983ddbdb7ae49f5c17"/></dir></dir></dir></dir><file name="BestSelling.php" hash="697ef437a6e6c5d95c1956a9d529bc3f"/><file name="Custom.php" hash="dd45ad2c86f0d1c75ba9ef1f1ea69a8f"/><file name="Featured.php" hash="836390ff87314459f7ae6259471e978d"/><file name="New.php" hash="aefa65eb60beb1ed8aff4c24d55afec4"/></dir><dir name="Helper"><file name="Data.php" hash="3caaab0f90368a5553340cd34c4a1da2"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="WidgetProductListController.php" hash="f35424c63f52326c58492d5415c0e60c"/></dir></dir><dir name="etc"><file name="config.xml" hash="6904e011ddc3774557523948ef4ac632"/><file name="widget.xml" hash="1324551255bb9b1c3e7a7f5894a51066"/></dir></dir></dir><dir name="modules"><file name="Ma2_WidgetProductList.xml" hash=""/></dir><dir name="Wru"><dir name="HomeTop"><dir name="Block"><file name="Links.php" hash="eddc3376b482c107be89d27dc7f29ceb"/></dir><dir name="etc"><file name="config.xml" hash="18d70f4432664ed629f6e2bbf66047af"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="ma2_options.xml" hash="d7df84aa3d6b7d957c686b351a280ef1"/></dir></dir></dir></dir><dir name="frontend"><dir name="ma2"><dir name="ante"><dir name="layout"><file name="es_custommenu.xml" hash="19322f67018e509de839978a726a065e"/><file name="local.xml" hash="bce620eed18eb4f3dca9e30fe39b94c0"/><file name="ma2_featuredproducts.xml" hash="f15a998d974e15a53d411b8cb75da522"/><file name="ma2_widgetproductlist.xml" hash="16a6d50bcbdff7fe3b3d17ca03c8d7f6"/></dir><dir name="template"><dir name="bundle"><dir name="catalog"><dir name="product"><file name="price.phtml" hash="e60f8e05e59160cc27a6dbbc10f5eeef"/><dir name="view"><file name="price.phtml" hash="6ae1d98411fc1e3569904b074422f743"/><file name="tierprices.phtml" hash="764aff5162dcd21af0b5e51b8629e5aa"/></dir></dir></dir></dir><dir name="catalog"><dir name="category"><file name="view.phtml" hash="6aaaa457e2b77c3cf5a5f6541453f9ff"/></dir><dir name="navigation"><file name="top.phtml" hash="b8ee448f5a2b4f675bfc72d7426a6829"/></dir><dir name="product"><dir name="list"><file name="related.phtml" hash="3f6791eefc741b56341f6f6500b6943e"/></dir><file name="list.phtml" hash="84505aefaa9f455d9703ce6c30ec2d28"/><file name="price.phtml" hash="84de204d42492571a44a24ddb800f150"/><dir name="view"><file name="additional.phtml" hash="7bab9dbcc43d46b0aa057dd92547e49e"/><file name="addto.phtml" hash="f2efe1b27846df5dd5b499b9ee586137"/><file name="addtocart.phtml" hash="46193d167fe2492dd843bfb3c1ebc4e6"/><file name="price.phtml" hash="9079642ba52c32d0ec2cfbe77b1f855d"/><file name="price_clone.phtml" hash="6f2c18e5997c74f9dd30ab80dbfdf7c5"/><file name="tierprices.phtml" hash="84ac36aacec5395338ce0e98f97789bd"/><dir name="type"><file name="default.phtml" hash="82627a4a59f05968fec3ae25f33b5201"/><file name="onlyprice.phtml" hash="bb9370c6815ab3252c98ceb371faeccf"/></dir></dir><file name="view.phtml" hash="8b25f801d94beaa3e3edbfcf4ac8c8cd"/></dir></dir><dir name="catalogsearch"><dir name="advanced"><file name="form.phtml" hash="b1a507b1f7a7cb832b068647599b798d"/><file name="result.phtml" hash="b1e4ce41e5e31f0e9295030aab77f2f1"/></dir><file name="form.mini.phtml" hash="ecbc9c1ef8a2faf64c17996d5358a7e2"/><file name="result.phtml" hash="c2bdfc4b0599094a83456dd6f17d4c77"/><file name="term.phtml" hash="d5d0883f5f685228ad5e87ce294b5821"/></dir><dir name="checkout"><dir name="cart"><file name="sidebar.phtml" hash="023e7129f865a8197206b0d198246c5e"/></dir></dir><dir name="es_custommenu"><file name="menu.phtml" hash="84f8c24f5fccd72dabf8b2eabb4f2f03"/><file name="submenu.phtml" hash="4671bb5cfaa26e9344299b5282c2a520"/></dir><dir name="ma2_featuredproducts"><file name="featuredproducts.phtml" hash="8d05b26835de28bd1dd072c8757bbf4f"/></dir><dir name="ma2_widgetproductlist"><dir name="bestselling"><file name="default.phtml" hash="abc22c7a7458b9593da3b5fa830b2353"/></dir><dir name="custom"><file name="default.phtml" hash="db909f49b9455ad36734c0820e024a06"/></dir><dir name="featured"><file name="default.phtml" hash="abc22c7a7458b9593da3b5fa830b2353"/><file name="sidebar.phtml" hash="abc22c7a7458b9593da3b5fa830b2353"/></dir><dir name="new"><file name="default.phtml" hash="d14c8e3991926edba3a12d9f929a5d9d"/></dir></dir><dir name="newsletter"><file name="subscribe.phtml" hash="a7a0f3e165b3ee606791ffe72aade076"/></dir><dir name="page"><file name="1column.phtml" hash="d28dc60b1257c943c801f3ac06200d20"/><file name="2columns-left.phtml" hash="8c1544cc2978de0254ae36d494616284"/><file name="2columns-right.phtml" hash="3c2fd4bfe416edd95b79581c811e5af3"/><file name="3columns.phtml" hash="2b33ce7476e0dd0a9a056bb1c66d427d"/><file name="empty.phtml" hash="7fde585927f37e76338ae967da54df70"/><dir name="html"><dir name="appendblocks"><file name="ie7ie8.phtml" hash="b7bb5e230deb759e406c9ac334d4bb1d"/><file name="presetstyle.phtml" hash="0a5e771d3353ad9275b0af2bc52665e7"/></dir><file name="breadcrumbs.phtml" hash="e59769a867b9610f8b8a613f47cf3d87"/><file name="footer.phtml" hash="b20ec04bc4be9300314870ab0b4b2054"/><file name="head.phtml" hash="3fc0604b09fae0d8cc692d1dd2e823ee"/><file name="header.phtml" hash="04c57bfae5a0970e18940b367f4ef468"/><file name="ma2head.phtml" hash="833b038076ad10679a0daea01857ef3a"/><file name="notices.phtml" hash="727736b58612fac30cef87552368f057"/><file name="pager.phtml" hash="bb14f7c7fe337f98c5a50453ac933f31"/><dir name="sampleblocks"><file name="banner-bottom.phtml" hash="52935f89641f964d22ad830dab7319bf"/><file name="bannerimg.phtml" hash="3d4201d62a169ca6cf06a1dff941636e"/><file name="block-call-toll-free.phtml" hash="9364909eef84fab3e2d492a202e6d287"/><file name="block-free-shipping.phtml" hash="80fd78034be8db2504cd1bb09b782985"/><file name="block-header-top-links.phtml" hash="bea40f0cceeb29ae17e60fd0acc0251b"/><file name="block-right-adv.phtml" hash="0a3f9ca4c3da79933055fbd5f3e07595"/><file name="footer-block-one.phtml" hash="83633ad844ed0500e426591fd325a1fa"/><file name="footer-block-social.phtml" hash="98cb34d1c0271c87982e576b070e65fe"/><file name="footer-block-three.phtml" hash="1c08011ac7161618be263646590a6e53"/><file name="footer-block-two.phtml" hash="4a75354cc6c373432ace0db23589f390"/><file name="footer-right.phtml" hash="32be949500072af19bc09f732de8eb7d"/><file name="i_datasheet.phtml" hash="d3bd9b7348bf5ada38920a6b637a957d"/><file name="icon-link-to-social.phtml" hash="6498c0d2fc90ab748fee603513165baa"/><file name="slideshow.phtml" hash="925b0337f44c9d7ebb718f828710b2b2"/></dir><file name="top.links.phtml" hash="156bf2c82e02940a392398b81df00d73"/><file name="topmenu.phtml" hash="4e2a7711ce9b708980c6974e1507a3ed"/><file name="wrapper.phtml" hash="c7f2c8566d851246535a80f108c865e6"/></dir><dir name="js"><file name="calendar.phtml" hash="96f726bb09b2c29177cb1c0d10997b1e"/><file name="cookie.phtml" hash="b6584923913a80e459124f73d0383779"/></dir><file name="popup.phtml" hash="fae1be35fbf71175f5394864792d2f12"/><file name="print.phtml" hash="208ada6325841aec23c08c29a1c60ea6"/><file name="redirect.phtml" hash="26f1c196a8cdf5d939434acf3886bc9b"/><dir name="switch"><file name="flags.phtml" hash="9c65d3837dfd3c7bb7ea81cad1177a20"/><file name="languages.phtml" hash="d67cb29ce01372828cbaa17d7415d3ad"/><file name="stores.phtml" hash="17cc715b034711f18982fd15c7a49285"/></dir><dir name="template"><file name="container.phtml" hash="5ddcc4abda0f7d063e6b60bdb9a46008"/><file name="links.phtml" hash="86026306a670f45f24b106709f403da7"/><file name="linksblock.phtml" hash="ca9e3d358dce2158f8bcf3fc53e87bcd"/></dir></dir><dir name="review"><dir name="helper"><file name="summary_nolinks.phtml" hash="2837e9929d4ec3ba004d0d5096d5d0e2"/><file name="summary_short.phtml" hash="149f172811db8865ceff577fd54562e5"/></dir><dir name="product"><dir name="view"><file name="list.phtml" hash="a1e006344a6eab3e5fdcc4cb4fa26243"/></dir></dir></dir><dir name="sales"><dir name="order"><file name="info.phtml" hash="9c7acf3910d7975fd59aaee43791cc67"/></dir></dir><dir name="tag"><file name="cloud.phtml" hash="c43e7720cabe7eed43cdadb73272f708"/><dir name="customer"><file name="recent.phtml" hash="5a0e8df1c878a4af48851f4195b8b963"/><file name="tags.phtml" hash="d89db268db068c59176954a8e4a31320"/><file name="view.phtml" hash="9f2ded5cb70ee9110550418e72074b38"/></dir><file name="list.phtml" hash="295239afaff72eae47790cfdaf93bd1d"/><file name="popular.phtml" hash="97e200f2a189c5902de455d1d62eeeab"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Ma2_FeaturedProducts.xml" hash="fbf670835f37eaf5f0a9a466e9f0d954"/><file name="Ma2_ThemeOptions.xml" hash="003cce1e867f327a76a2d8d50d2b30da"/><file name="Wru_HomeTop.xml" hash="02fe0eeda338f82b06e9c5a0c6ca97d0"/></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="ma2"><dir name="js"><dir name="colorchooser"><file name="arrow.gif" hash="5034704a76cd55c1cbcbc58ea6bf523f"/><file name="cross.gif" hash="ba9a274b9323753cd95bc3b1eb2f4e5f"/><file name="hs.png" hash="fefa1a03d92ebad25c88dca94a0b63db"/><file name="hv.png" hash="990d71cada17da100653636cf8490884"/><file name="index.html" hash="1c7b413c3fa39d0fed40556d2658ac73"/><file name="jscolor.js" hash="619885c5c4e1051c891456349033838e"/></dir><dir name="webfonts"><file name="gwebfonts.json" hash="ad404c3742482d806be07d839a62528c"/><file name="gwebfonts.seri" hash="6b9de260ce8bfb8e91f2add5c7b07950"/><file name="index.html" hash="8a3edb0428f11a404535d9134c90063f"/><file name="webfont.js" hash="9e088b08f277b45164e0e10b79d6a99c"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="ma2"><dir name="ante"><dir name="css"><file name="coin-slider-styles.css" hash="2217966ee2354a9edaeea8c6fc250cf5"/><file name="custom.css" hash="91af05b223a1099e435e180e61d22e1a"/><dir name="images"><file name="btn_bg.gif" hash="37c51a4d48a92da9648dcd3ca011039f"/><file name="content_bg.gif" hash="21278ea0da2d4256f4ced96b6080ba2e"/><file name="top_bg.gif" hash="26f28090de87d64f9b01bf624f89bfe2"/><file name="window_close.png" hash="3af14f053f360bf31f8ba2df73ec7f1e"/></dir><dir name="lib"><dir name="prototype"><dir name="windows"><dir name="themes"><dir name="magento"><file name="btn_bg.gif" hash="37c51a4d48a92da9648dcd3ca011039f"/><file name="content_bg.gif" hash="21278ea0da2d4256f4ced96b6080ba2e"/><file name="top_bg.gif" hash="26f28090de87d64f9b01bf624f89bfe2"/><file name="window_close.png" hash="3af14f053f360bf31f8ba2df73ec7f1e"/></dir><file name="magento.css" hash="b69d765373769ce7e64b7f220bb2629c"/></dir></dir></dir></dir><dir name="ma2_widgetproductlists"><dir name="images"><file name="bg-btn-details.gif" hash="02a5d0f00efe5a5bdc1435ed97548492"/><file name="blank.gif" hash="fc94fb0c3ed8a8f909dbc7630a0987ff"/><file name="closelabel.gif" hash="54aaeb7f166c6d731a49aee2212521fa"/><file name="loading.gif" hash="7e99e1159a3686f6aa4f90043c554483"/><file name="nextlabel.gif" hash="870ceef6bffe67dec9aa6b112eb4561b"/><file name="prevlabel.gif" hash="2d845a54233d8d4fecb0c337505e0d1e"/><file name="sale.png" hash="8b3167ea472d905b498fb6561c718dee"/></dir><file name="lightbox.css" hash="88742dc4485b0074ee5fdb41ef959094"/><file name="ma2_widgetproductlists.css" hash="430af57ca4f1104d2b72d1b211528adf"/></dir><dir name="ma2selectscreen"><dir name="images"><file name="blue.gif" hash="2ad6457d69124be85889d55efcd36046"/><file name="desktop.gif" hash="15152b4d83a1e45e742267ce31bc3b53"/><file name="green.gif" hash="fbf04deb7ef4963ee228b01ab0ac70d0"/><file name="nav-item-blue.gif" hash="1a0b6b7a18f3337a7f740d3bb041efd8"/><file name="nav-item-none.gif" hash="4b0b990c9e36b7e793831edba6665f5a"/><file name="nav-item.gif" hash="8d6dca34a87abaabcb1305fb27b98e6c"/><file name="screens.png" hash="028d0c53e0701d6984968bfc2b319ac6"/><file name="smartphone-landspace.gif" hash="ccf2ffa198094a29a9cbdf33f4a09936"/><file name="smartphone-portraint.gif" hash="cb1a66b98f14cf5080a9c4a1901b2ef1"/><file name="tablet-landscape.jpg" hash="b359efb229a7a50cf16da341aea2ea2f"/><file name="tablet-landspace.gif" hash="a0bfc89b8f3a604ef74483dbf4bb2d48"/><file name="tablet-portraint.gif" hash="13be5373d2e203efc2a6a3e5e43e09fe"/><file name="tablet-portrait.jpg" hash="eb6ffaf87607b44c8b153c078debda56"/><file name="yellow.gif" hash="e43ad05bb7adc950b28bbe20d25bf7c6"/></dir><file name="screen.css" hash="5639d9b998b165681950107a5d94af83"/></dir><file name="menu_standard.css" hash="fbfdb6fd89f3a42f0f222ab6a4244b9a"/><file name="navmain.css" hash="2f088e90261cdc3212819e472854a934"/><file name="oauth-simple.css" hash="f276fd547dce3737e6b53a98c4d2d94d"/><file name="print.css" hash="aafa75a7a320ecf563e63b9098beba05"/><file name="styles-blue.css" hash="2be00cb5293d6aba91d6637fac1840d2"/><file name="styles-green.css" hash="5ff827fdb546af8ef5a8aa2d9afc554a"/><file name="styles-ie-7-blue.css" hash="35c499753a0c91942c7dde994b789d25"/><file name="styles-ie-7-green.css" hash="c50a1852c8013b65e83c63e0526c87ea"/><file name="styles-ie-7-yellow.css" hash="2020d4b2838c7a449f4b4cdaa91070f0"/><file name="styles-ie-7.css" hash="7d97a63bf19782ab1f70ce489611241a"/><file name="styles-ie-8-blue.css" hash="5eedfd4feaa2dfa00503328dc185bd6a"/><file name="styles-ie-8-green.css" hash="37c33452ebe7ebd3544e862ae6d30d32"/><file name="styles-ie-8-yellow.css" hash="127fc242ac2ece099df5412c5724b86f"/><file name="styles-ie-8.css" hash="67d209d9d0180b169068e19d95311d39"/><file name="styles-ie.css" hash="fa128b126aff20c8cf7d0ea56419ec7c"/><file name="styles-yellow.css" hash="bdebf57017a148f0212cb5380b89fcb1"/><file name="styles.css" hash="10337f3165c9084c1369373f42a73d8c"/><file name="template.css" hash="d65474562bdd5a82daf543992e4cea08"/><file name="widgettabs.css" hash="c1c42bb7d55752c4d86fa6dad867d6c9"/></dir><file name="favicon.ico" hash="88733ee53676a47fc354a61c32516e82"/><dir name="images"><file name="Acer.png" hash="f5471e608101681dff7bf075cc7bf338"/><file name="Adidas.png" hash="6ebd7271162dd7ab1c925aef8cfee354"/><file name="Cabelas.png" hash="ce0b59c914c987f99ab5e193c5683085"/><file name="Levis.png" hash="972f2d4553dd278fa67955c497c2dff3"/><file name="Ot-Ante-Yellow.png" hash="94d7dcf75c115e8b196a1c551f388532"/><file name="PaylorMade.png" hash="f484c3590e925dec460ac496ad69a91c"/><file name="Reebok.png" hash="a064846c40025119341d02b5ec2fb413"/><file name="Share.png" hash="40c9facb3495309c33de6f4f2aeaa997"/><file name="TCMMY.png" hash="1894dd0f2ed157a0c07e12377bbc0ce2"/><file name="Tweet.png" hash="9e62a43bcf11bf8f6b3bebd902ee7d57"/><file name="apptocart-blue.png" hash="fed816cde039602bbb49f58fea5e0b0e"/><file name="apptocart-green.png" hash="c4c2be61f7b2f17940d945ce56ecafd9"/><file name="apptocart-yellow.png" hash="ba439b900b1a3847c6f18db2872a4cbd"/><file name="apptocart.png" hash="ba439b900b1a3847c6f18db2872a4cbd"/><file name="apptocarthover-yellow.png" hash="72f80bf1cff694c5ae7174b731823ab3"/><file name="apptocarthover.png" hash="72f80bf1cff694c5ae7174b731823ab3"/><file name="bane1.png" hash="8eda2cc830a3c984496732a579651d16"/><file name="bane2.png" hash="2f1d8ad17ca76646ffc36455a849f51c"/><file name="banner-bottom.png" hash="1cfa8aaa663ac575fbca920f39a4adc9"/><file name="banner-demo.jpg" hash="8e760901df6609a079972271ad7dbfad"/><file name="banner-demo2.jpg" hash="14b1530e56ffcf42c3c97a4799722090"/><file name="banner1.png" hash="8eda2cc830a3c984496732a579651d16"/><file name="banner2.png" hash="2f1d8ad17ca76646ffc36455a849f51c"/><file name="banner3-blue.png" hash="0a51d5d8808823d7fe2aa0c22ac93769"/><file name="banner3-green.png" hash="cee63c4dda4b13fe10b4a480fe09053d"/><file name="banner3-yellow.png" hash="f5ebc5a8e37a7c708449e962a22b1060"/><file name="banner3.png" hash="f5ebc5a8e37a7c708449e962a22b1060"/><file name="banner4-blue.png" hash="9af834aac53a8b7ebb4e94689e7305f8"/><file name="banner4-green.png" hash="af96247b461856963b0fc4d89879242e"/><file name="banner4-yellow.png" hash="ddcce59b81cf5c92038f6595ca8f723b"/><file name="banner4.png" hash="ddcce59b81cf5c92038f6595ca8f723b"/><file name="best_selling_tr_even_bg.gif" hash="5022d648379090e306f00cd64738b146"/><file name="best_selling_tr_odd_bg.gif" hash="926622704f53796801bb5d097e116c8e"/><file name="bg-body.jpg" hash="c24f6f50ea0d046bb238e2f29c8c6518"/><file name="bg-btn-details.gif" hash="02a5d0f00efe5a5bdc1435ed97548492"/><file name="bg-center.png" hash="13d8a031bae542313dafee0da45f1978"/><file name="bg-left.png" hash="e22dd78a1e499361ca6fdcac31d3355f"/><file name="bg-right.png" hash="585051be2b6d8ee6c1eea2733dda4db2"/><file name="bg.png" hash="c52c888bebb45b9a45f6dac40febe8d6"/><file name="bgcontent.png" hash="78912e616761978ab5d37a9be6e9bba4"/><file name="bkg_account_box.gif" hash="dd98174b6e3e5605a3f9551a59c66841"/><file name="bkg_block-actions.gif" hash="da2970eac0a22c850b19ee3680475d51"/><file name="bkg_block-currency.gif" hash="bfaad1b64557c05ad6f4b124ad3d3532"/><file name="bkg_block-layered-dd.gif" hash="6ae6f8184e87de496fb74eeec65737c9"/><file name="bkg_block-layered-dt.gif" hash="ba8229068657b80f2c42111c5a1a307e"/><file name="bkg_block-layered-label.gif" hash="14687dfa3921cfd12d2149c1497d9765"/><file name="bkg_block-layered-li.gif" hash="753ebb76a4fc2b5b6915c536fcf4d487"/><file name="bkg_block-layered-title.gif" hash="c92e29b30af7abf4e0bc3f714a246f55"/><file name="bkg_block-layered1.gif" hash="607167f198572e83a0e728b6b9383a70"/><file name="bkg_block-title-account.gif" hash="a64f1df5a7e3d0f6a58b017f74311cb1"/><file name="bkg_block-title.gif" hash="f8c1f130ad69464fe7aff2f589b2ec75"/><file name="bkg_body.gif" hash="82bfc5bfe346c8e974cd33b1314b0acf"/><file name="bkg_buttons-set1.gif" hash="2c641e927bc83156b7004ea37920513c"/><file name="bkg_checkout.gif" hash="11258fe49feff5513c9608f2ea486776"/><file name="bkg_collapse-gm.gif" hash="37418f23e65006dcfde07ce9b249e057"/><file name="bkg_collapse.gif" hash="2333c68e38163ed4656da82b9bcf362b"/><file name="bkg_divider1.gif" hash="260ebae91ffb1b7c663906b29a069925"/><file name="bkg_form-search.gif" hash="2ca36eb80ea705e063409153f3821f78"/><file name="bkg_grand-total.gif" hash="10f1c3d82d78170706fa3e9c4baa7e04"/><file name="bkg_grid.gif" hash="a6f64fedbac51fb1b86184cd488cc4e6"/><file name="bkg_header.jpg" hash="0211c47be1493bd0ec72949c47932b81"/><file name="bkg_login-box.gif" hash="5538675d7f1c35d96a2b8013948f42a6"/><file name="bkg_main1.gif" hash="a8f5717873dc6cf8f6bd22924b5838fe"/><file name="bkg_main2.gif" hash="cf18ba9f7c7e6b058b439cde1a897e9c"/><file name="bkg_nav0.jpg" hash="f9ac3f31e293cf075471d2d3fe07353a"/><file name="bkg_nav1.gif" hash="f4e26840c8cca0e74aba5b810341c5c0"/><file name="bkg_nav2.gif" hash="a64c8f5165b239e432d26a62ae5f79b6"/><file name="bkg_opc-title-off.gif" hash="f69b40b5331ab3760f54d038daf287eb"/><file name="bkg_pipe1.gif" hash="7852290f6a443000ead96b8cec5cd7c7"/><file name="bkg_pipe2.gif" hash="7da64eefaf4da3855ab6ee76dbced0c2"/><file name="bkg_pipe3.gif" hash="11bfac1e590f0c77fb12f37d7f05cd3c"/><file name="bkg_product-view.gif" hash="7078a7f2827156d5ae0a1cb59da3c418"/><file name="bkg_product_collateral.gif" hash="1d4d6b22e5108aefae52709d3934f397"/><file name="bkg_rating.gif" hash="0a8777c815350ddf1e316a537ad0c335"/><file name="bkg_sp-methods.gif" hash="17d68b5449adaa87dafc62ae0afa1b9a"/><file name="bkg_tfoot.gif" hash="da2970eac0a22c850b19ee3680475d51"/><file name="bkg_th-v.gif" hash="b0d17555dfc6060941e0c067718189df"/><file name="bkg_th.gif" hash="f249911b08f2822fc0b561b7f98575d2"/><file name="bkg_toolbar.gif" hash="fb7ed019476eaa1643af922b59ede4fb"/><file name="blue.gif" hash="2ad6457d69124be85889d55efcd36046"/><file name="btn_checkout.gif" hash="d2060501e14e86c29e28137130e5726e"/><file name="btn_edit.gif" hash="df3565eb4e4d0dc578201df60de54b47"/><file name="btn_gm-close.gif" hash="346e26eece27449a2f224aef76ae372e"/><file name="btn_google_checkout.gif" hash="843d75249ce05b5d87ca5419f37b1c3b"/><file name="btn_paypal_checkout.gif" hash="6edd61270b7b5632eafad10557129114"/><file name="btn_place_order.gif" hash="d35219f86ae2c983ee1a31557e37b612"/><file name="btn_previous.gif" hash="63473a1520a73bb0c9b47b685d17cd21"/><file name="btn_proceed_to_checkout.gif" hash="4daac687b514fecfd1068539500ac3d7"/><file name="btn_proceed_to_checkout_dis.gif" hash="9e152c01d5d88f690dc52cb62428f3b6"/><file name="btn_remove.gif" hash="6182e723aa2a253dc6cf334a3dfaaa84"/><file name="btn_remove2.gif" hash="234bddc4c5878c5ef16407a944824236"/><file name="btn_search.gif" hash="2d93b43c0a1c1182358677661e26a978"/><file name="btn_search.png" hash="69325391e13df8fcdf5f9f3166aa8eeb"/><file name="btn_trash.gif" hash="bcb22f558a0eb32243a2a36645189e9f"/><file name="btn_window_close.gif" hash="c83f3cbbb2aedfc580dff78d5cfb63ed"/><file name="buttonshopcart.png" hash="58934c32cb9a60716ab6d469e6689dcc"/><file name="buttonshopcartgreenblue.png" hash="ecc7f5dcce6b46b99959334014238116"/><file name="calendar.gif" hash="b1468e5239504974c689eea5d93f86d4"/><file name="cart-blue.png" hash="413e5e3898748fbb96c33fdfdeda5439"/><file name="cart-green.png" hash="05e626d6f75220a41b6e3e245b55dff4"/><file name="cart-yellow.png" hash="570624ac421c8dd92e4a35673cce7eb2"/><file name="cart.png" hash="570624ac421c8dd92e4a35673cce7eb2"/><dir name="catalog"><dir name="product"><dir name="placeholder"><file name="image.jpg" hash="097ab8a3051bc037ea3de0e17f440540"/><file name="small_image.jpg" hash="f825d16f97a640453553c79c48ebaa73"/><file name="thumbnail.jpg" hash="b2b682d28a08a748a73d2cda70ab5a57"/></dir></dir></dir><file name="cirrur.png" hash="f2f1edabb32094cdd4afe428da72a1d8"/><file name="cvv.gif" hash="83cdd38bf110b0f9c52fe84b56f45298"/><file name="cvv.jpg" hash="e27210d810bbab732935d9410936ef87"/><file name="demo-datasheet.jpg" hash="e89a07f7cf6e93f8b67074b687f61188"/><file name="desktop.gif" hash="15152b4d83a1e45e742267ce31bc3b53"/><file name="detail.png" hash="7f869c15ba805080d9c6a2d7fb1eeced"/><file name="download-ante-yellow.png" hash="5440bba1350854c112113b021ab66955"/><file name="entry_edit_head_arrow_down.gif" hash="fb306fdc333999393f1c3d4894f2e311"/><file name="entry_edit_head_arrow_up.gif" hash="7f2505a592e818a09fbae437200ec88e"/><file name="facebook (2).png" hash="a6eb5249c21bc9103204cf3cfc1e1a9c"/><file name="facebook.png" hash="d24d59d9150704969b63c5cd1b4acffe"/><file name="fam_book_open.png" hash="0ba89b9fbe7e88d4c6896ed0a1f495aa"/><file name="favicon-blue.png" hash="7c858117b343a5c5a870cdd9afe55b0c"/><file name="favicon-green.png" hash="10d108ad86aad2e7a3e44219c4fb548c"/><file name="favicon-yellow.png" hash="fb19269aa6c0764e0a518aa06036cac6"/><file name="favicon.png" hash="fb19269aa6c0764e0a518aa06036cac6"/><file name="footer_social.png" hash="da5130e742032e4796f66748abc12956"/><file name="fotter_bottom.png" hash="25a0b4df1bf3722159da1851c61b6730"/><file name="free_shipping_callout.jpg" hash="cbf2e494ef7ca50acf8826321d739559"/><file name="god_of_w.jpg" hash="659bd4c50f65c5dbf386d51c503c3acd"/><file name="golden_star.png" hash="b57794d2cc8837c1b35f2e8f6df49922"/><file name="green.gif" hash="fbf04deb7ef4963ee228b01ab0ac70d0"/><file name="grid-cal.gif" hash="b1468e5239504974c689eea5d93f86d4"/><file name="header-container-top.png" hash="118de39c842d9d5677649f18a95d6d89"/><file name="home_left_callout.jpg" hash="ee99a5586cf52e85c986d1275958a7da"/><file name="home_main_callout.jpg" hash="e6d1c119d5b24a5916fe394cb4b5cdc3"/><file name="i_arrow-top.gif" hash="3dbb0584e8eb1d96cc3d3c40c17d7aaf"/><file name="i_asc_arrow.gif" hash="40aa554212d6a1f60593c27d78d85fa3"/><file name="i_availability_only.gif" hash="bca1f00a50864171ad98317b778e869c"/><file name="i_availability_only_arrow.gif" hash="0cf32b72fefc94b89b74e4f3f02c2e93"/><file name="i_block-cart.gif" hash="cc19e21f9c89b70cc10354ff588ca8ab"/><file name="i_block-currency.gif" hash="643024bcae5ece554fdbbc041aeb297c"/><file name="i_block-list.gif" hash="fe8424127ecbe4b0d893bcf6f253dc1a"/><file name="i_block-poll.gif" hash="52d778dddbf48b8d04226bee9370a7ef"/><file name="i_block-related.gif" hash="4e277173b6372b1a90b0f19e0388ad54"/><file name="i_block-subscribe.gif" hash="9e5fee06a543742045118a95f2debcb8"/><file name="i_block-tags.gif" hash="67d1255c2c3e9ed1a5c845f8d4e4a3ba"/><file name="i_block-viewed.gif" hash="67d1255c2c3e9ed1a5c845f8d4e4a3ba"/><file name="i_block-wishlist.gif" hash="8f8cda89ca20ba4a9b2f8c91f73fdff9"/><file name="i_desc_arrow.gif" hash="92fd194bfae4ce5ae3354e1e47d7ac7d"/><file name="i_discount.gif" hash="908d44da90de5e54185764d093bbdb77"/><file name="i_folder-table.gif" hash="bf006ddb591d8ac95d2e895bf2fdbc8d"/><file name="i_ma-info.gif" hash="91259557447ee80eb1110fe0c85cb3b5"/><file name="i_ma-reviews.gif" hash="859c97695ec396c0b284a0c3c7c416ad"/><file name="i_ma-tags.gif" hash="1e83e3b0b677c92b3aa8a252268f7b86"/><file name="i_msg-error.gif" hash="e4f28607f075a105e53fa3113d84bd26"/><file name="i_msg-note.gif" hash="e774ee481a2820789c1a77112377c4e0"/><file name="i_msg-success.gif" hash="834dfafd5f8b44c4b24a4c00add56fcf"/><file name="i_notice.gif" hash="ebd56dc80b8346e10e93628bc0e6c372"/><file name="i_page1.gif" hash="704f7d4eccbdf9cabbad7770f18856ff"/><file name="i_page2.gif" hash="57a04ca584e05e28dc94c7e68f0af62e"/><file name="i_pager-next.gif" hash="ed4d6640624c2b6edeab4c212314bd6d"/><file name="i_pager-prev.gif" hash="75973b020105dccbaf34e49d7852552d"/><file name="i_print.gif" hash="0aed138181495642e9ab29e55d194d40"/><file name="i_rss-big.png" hash="6cf70e7c52a3f3d7b833ccadb041a555"/><file name="i_rss.gif" hash="e5bbc388d818c142868b4a1df0b48793"/><file name="i_search_criteria.gif" hash="cf67b9cc5c311ae3f99e68cd29ae17be"/><file name="i_shipping.gif" hash="91a0d2cc2eb2391f90ec8a75c04b3183"/><file name="i_tag_add.gif" hash="a736baa992aa55b6fb71e8742a04dc82"/><file name="i_tier.gif" hash="c5189e25afeb7c1a8c4902a42832593e"/><file name="i_type_grid.gif" hash="a1e5d8ac36fb2891ea16e729b95c552c"/><file name="i_type_list.gif" hash="61333d383ec142b8d270abe77324aa5d"/><file name="icon-nav-sub.png" hash="568517a5a8cce94597b17fad8247fc59"/><file name="itembane.png" hash="bf3c54cfbf82d45d2ba1362864aa3a16"/><file name="itembaneactive-blue.png" hash="de110095e0055e8146ca93112b109d38"/><file name="itembaneactive-green.png" hash="1ea1634662747f27484ea09b946a9521"/><file name="itembaneactive-yellow.png" hash="ea0def48d306f235fdbdcc6f9695e196"/><file name="itembaneactive.png" hash="883197b68e68b7f1f41eb593407035d3"/><file name="linebottom.png" hash="44a283cb4a8a7d4de12b9402f1d54720"/><file name="loginleft.png" hash="04c885fe7c80b6739beab94ed8ac1888"/><file name="logo-blue.png" hash="7c858117b343a5c5a870cdd9afe55b0c"/><file name="logo-green.png" hash="10d108ad86aad2e7a3e44219c4fb548c"/><file name="logo-yellow.png" hash="fb19269aa6c0764e0a518aa06036cac6"/><file name="logo.gif" hash="48b7eb03807fdf80bdfb19b872cf84b8"/><file name="logo.png" hash="fb19269aa6c0764e0a518aa06036cac6"/><file name="logo_email.gif" hash="8de347192e0524cff7a69e4020182dbd"/><file name="logo_print.gif" hash="8de347192e0524cff7a69e4020182dbd"/><file name="ma2-navigation-icon.gif" hash="8200ed9196ae9e131f55ee90459f20bf"/><file name="magnifier_handle.gif" hash="238fbdd7959f517db11c6f57ee4daaf4"/><file name="mainbottom.png" hash="389f5fa5b64e1c76a0a80e6610fa5cdb"/><file name="manufacturers.png" hash="a5573e522f98fe24b75b4f048d5ed9e2"/><file name="manufacturersright.png" hash="71a67414b6e70a4f621e768f687f3762"/><file name="map_popup_arrow.gif" hash="6383b40a9e7bd3c95260bef4fbb1b163"/><file name="master.png" hash="8f5c499dd749cc2ad51d99c75390835b"/><dir name="media"><file name="404_callout1.jpg" hash="834e53a03e2921a2fd3c135c0c7189df"/><file name="404_callout2.jpg" hash="016984b4a1579df34147f9407098db73"/><file name="about_us_img.jpg" hash="726f36dd75b5a709a1a14acab1660188"/><file name="best_selling_img01.jpg" hash="5e7337a4061a636df8ee4bf979a092ac"/><file name="best_selling_img02.jpg" hash="b9a49c0964938ec72fb834cb166b9352"/><file name="best_selling_img03.jpg" hash="e3581487fb4589baecc553f2ce8d5247"/><file name="best_selling_img04.jpg" hash="7e59bf99f5f813e327595c52d3320174"/><file name="best_selling_img05.jpg" hash="e396892daec7ffcf7244082b3e596911"/><file name="best_selling_img06.jpg" hash="2702839637efbe0fd0a4bad41cd6a551"/><file name="cell_phone_landing_banner1.jpg" hash="b25562360fc470f1091ca7ea014a3290"/><file name="col_left_callout.jpg" hash="5f762006021e046f9bd536f37ea7c463"/><file name="col_right_callout.jpg" hash="dae22f37a542da272a35195ec286ec25"/><file name="electronics_cellphones.jpg" hash="8f6badbc32ce806c6109c788df6ef5e9"/><file name="electronics_digitalcameras.jpg" hash="953b8d7db6f0bdcd53b1d6b1386962b9"/><file name="electronics_laptops.jpg" hash="e050e92d72000e6bdc763a7b5888ec8a"/><file name="furniture_callout_spot.jpg" hash="28edc7d72486ab2362324995550d87af"/><file name="furnitures_bed_room.jpg" hash="b8616c5bffc23a92d2a1c97dae57b262"/><file name="furnitures_living_room.jpg" hash="2663737f3997cb1a49ce24d07dc8aefb"/><file name="head_electronics_cellphones.gif" hash="a69425966444ea597fb7c629114d5165"/><file name="head_electronics_digicamera.gif" hash="bde3cec3fc16b2d0ae57e7783eb00652"/><file name="head_electronics_laptops.gif" hash="b2c55387ffa92277315bdedeb4cb9b8f"/><file name="laptop_callout_mid1.jpg" hash="4ffb50bd3b7b32a78fd059b1571c202e"/><file name="laptop_callout_mid2.jpg" hash="662cf3881b06b090e9500496b19b03e4"/><file name="laptop_callout_mid3.jpg" hash="22aa71ecfe0aa9b6936a1eddb62d889e"/><file name="laptop_callout_spot.jpg" hash="2e469d1bd871355eaef6076487a973db"/><file name="shirts_landing_banner1.jpg" hash="4acc8620b009d835e5c25587671ea25d"/></dir><file name="menuactive-blue.png" hash="475b761123161a4eb3dc3448bb73ee31"/><file name="menuactive-green.png" hash="07fe28b15a5a354d99eefe4e1e11bb86"/><file name="menuactive-yellow.png" hash="c324b358f1bd457930e9ec40e59c7f15"/><file name="menuactive.png" hash="c324b358f1bd457930e9ec40e59c7f15"/><file name="mini_nin.jpg" hash="d441d386630b7831be50c3f6c5fece4a"/><file name="mobile-landscape.jpg" hash="baa1f962bbcc24501307074fac5044bb"/><file name="mobile-portrait.jpg" hash="2c9fb243270960d8d975fb2c3b69c9e8"/><file name="nav-item-blue.gif" hash="abc3cf6c7f2193d3b18470772ca87996"/><file name="nav-item.gif" hash="690844b875ce1fe1687079dd389e1047"/><file name="nav.png" hash="c7ee632ffd5db350a30ffeb0eb1be8dd"/><file name="np_cart_thumb.gif" hash="e9fdd943e0947e15f0638506f477e358"/><file name="np_more_img.gif" hash="ace357bfe3e81ffb62137cd5b25ae5e1"/><file name="np_product_main.gif" hash="d0cccda76de50efa025215ce85dacb1c"/><file name="np_thumb.gif" hash="e46270c89358ecc8341d1565c14644b8"/><file name="np_thumb2.gif" hash="8502866cdabc5c74aca7d7bd32a06a03"/><file name="omega-logo.png" hash="65f4de0adc63b3e6041842916fe2c03d"/><file name="opc-ajax-loader.gif" hash="e805ea7eca1f34c75ba0f93780d32d38"/><file name="pager_arrow_left.gif" hash="939f4f4f4bf054654614f2f9e2014215"/><file name="pager_arrow_right.gif" hash="5d40cf1bb220a64c5e7c20cc868caabc"/><file name="paypal.png" hash="c91ce224604ca2952df599defe85d8ee"/><file name="ph_callout_left_rebel.jpg" hash="0ce8ad0026d8b8a83ed7acdf6209129b"/><file name="ph_callout_left_top.gif" hash="f17a036d75e5065eb76bafbb2c8ad7ff"/><file name="product_zoom_overlay_magnif.gif" hash="83834893e162221d6d9257fe67847370"/><file name="right-adv-blue.png" hash="8c565958cb26d2cb55de7ae47368b920"/><file name="right-adv-green.png" hash="9d6dca6863def30a9ba475103445950c"/><file name="right-adv-yellow.png" hash="b8b6caaaa7fd386899eac237f5509b3f"/><file name="right-adv.png" hash="b8b6caaaa7fd386899eac237f5509b3f"/><file name="sale-blue.png" hash="8b3167ea472d905b498fb6561c718dee"/><file name="sale-green.png" hash="7a546b174758fab03f6e15508d3c100d"/><file name="sale-yellow.png" hash="9d48cbef20a4e7ef792668a3e21a0439"/><file name="sale.png" hash="9d48cbef20a4e7ef792668a3e21a0439"/><file name="screens.png" hash="028d0c53e0701d6984968bfc2b319ac6"/><file name="shadow.png" hash="a52704cc971b420b5ee1127d5130d25b"/><file name="shoppingcart.png" hash="1743aaee53804573439030b18e2a5784"/><file name="slider_bg.gif" hash="87bc1b46d87de4f6252c7216216627c3"/><file name="slider_btn_zoom_in.gif" hash="ef0fc67f77f30827ee67f4e744b60781"/><file name="slider_btn_zoom_out.gif" hash="68b3d1c28dc5aec4f6b64d70a6996b6f"/><file name="smartphone-landspace.gif" hash="ccf2ffa198094a29a9cbdf33f4a09936"/><file name="smartphone-portraint.gif" hash="cb1a66b98f14cf5080a9c4a1901b2ef1"/><file name="spacer.gif" hash="df3e567d6f16d040326c7a0ea29a4f41"/><file name="spanactive.png" hash="23fe130f35458cbc0796e746f143b2d9"/><file name="submit.png" hash="82ae42e4a62ffe6c806304e39bc44496"/><file name="tablet-landscape.jpg" hash="b359efb229a7a50cf16da341aea2ea2f"/><file name="tablet-landspace.gif" hash="a0bfc89b8f3a604ef74483dbf4bb2d48"/><file name="tablet-portraint.gif" hash="13be5373d2e203efc2a6a3e5e43e09fe"/><file name="tablet-portrait.jpg" hash="eb6ffaf87607b44c8b153c078debda56"/><file name="titlebane.png" hash="16cfa48230bb7f43f8d3d0d9191a5246"/><file name="twitter.png" hash="d9c1dd598f2ab66dd3f8ea3ac38dfd9b"/><file name="validation_advice_bg.gif" hash="b85432906de8985a8b14eeb2dc652d3c"/><file name="visa.png" hash="63ab222907aaeab6402b3d6e3ad0c9e3"/><dir name="xmlconnect"><dir name="catalog"><dir name="category"><dir name="placeholder"><file name="image.jpg" hash="097ab8a3051bc037ea3de0e17f440540"/><file name="small_image.jpg" hash="f825d16f97a640453553c79c48ebaa73"/><file name="thumbnail.jpg" hash="b2b682d28a08a748a73d2cda70ab5a57"/></dir></dir></dir><file name="tab_account.png" hash="0498d73e47ed47179e5546dc15c17dc7"/><file name="tab_cart.png" hash="9055ba76e256a51d3fee53a8c41d5226"/><file name="tab_home.png" hash="07d0af93e167b9366d3d4fb3d6cdb31c"/><file name="tab_more.png" hash="b9fc21feb8d7655bc9c2985c37b0de2f"/><file name="tab_page.png" hash="ca05dbc42f944b8d4255f6675f6dd93a"/><file name="tab_search.png" hash="25e880eb2a4d06828e2e1c3f32d22400"/><file name="tab_shop.png" hash="fe602fc2e7093efef5ecc0b027a32d91"/></dir><file name="yellow.gif" hash="e43ad05bb7adc950b28bbe20d25bf7c6"/></dir><dir name="js"><file name="ma2function.js" hash="478736b49a610a9703c8a818697390cf"/></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="ma2_all"><file name="coin-slider.min.js" hash="8a589500073fb5ff1c9dc263c18aa267"/><file name="jquery-1.4.2.js" hash="10092eee563dec2dca82b77d2cf5a1ae"/><file name="jquery.min.js" hash="9eb33df93b21325142088527103882d2"/><file name="readmore.js" hash="db51b3192c35fc3ce2e81b9a917d2820"/><file name="widgettabs.js" hash="a0e4d21d363f5b9cdfc4c6c0731f6b69"/></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Ma2_Ante_Theme</name>
4
+ <version>1.0.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>MA2 Ante free theme for Magento is a nice theme for any kind of eCommerce store with modern and clean design.</summary>
10
  <description>MA2 Ante free theme for Magento is a nice theme for any kind of eCommerce store with modern and clean design. This theme introduces many innovative features and offers tons of customizable options, giving you total control over your store's look and feel.</description>
11
+ <notes>Version number: 1.0.1 Stability: Stable Compatibility: 1.7, 1.8</notes>
12
  <authors><author><name>Magenmarket.com</name><user>taxzin</user><email>trungdt@omegatheme.com</email></author></authors>
13
+ <date>2014-03-07</date>
14
+ <time>04:23:51</time>
15
+ <contents><target name="magelocal"><dir name="Ma2"><dir name="All"><dir name="Helper"><file name="Data.php" hash="ab1acb8c7140df61e0cc1c19bda7a1d6"/></dir><dir name="etc"><file name="adminhtml.xml" hash="9e1f55ce0e5915b7b22d87e94d4da9ea"/><file name="config.xml" hash="4d746930c0b268e9f4553498807507fa"/><file name="system.xml" hash="1305d4780b1b3f9fabeeda54d5151896"/></dir></dir><dir name="ThemeOptions"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><file name="Font_unused.php" hash="d306d85d31b426dbc60f706587f6984a"/><file name="Fontpreview.php" hash="41ec7e5b1e7e205093187a14fd62aafa"/><file name="Fonts_unused.php" hash="aa93f5db892b4f63c947aac66aee16fb"/><file name="Fontscript_unused.php" hash="7647b3a9b3a76dbbf258fb696cf7faea"/><file name="Heading.php" hash="96242f17c716d4b26cb87080c22c5b8d"/><file name="Images.php" hash="4b930da483317804ba0eb6607143a333"/><file name="Imagessmall.php" hash="ebc3842056043627df531d536f7b915d"/><file name="OColor.php" hash="9aa3adbe2d507aaacd00225f6a63392f"/><file name="Patern.php" hash="05e73cbb62a73f4fde4a30e0e18324ac"/></dir></dir></dir></dir></dir><dir name="Html"><file name="Ma2blocks.php" hash="0266716f84c4b6b79e2431dce53de532"/></dir><file name="ThemeOptions.php" hash="41feb3d850405fabbe008ed78a94b8a1"/></dir><dir name="Controller"><file name="Observer.php" hash="b3cbe5f66d2833e0b756b4aca442cb67"/></dir><file name="Exception.php" hash="792000965cba28739e331b41e7a28f28"/><dir name="Helper"><file name="Data.php" hash="e4afe15fffa622b111c891b46fa0231e"/></dir><dir name="Model"><file name="Backgroundposition.php" hash="e63863c290c00f15e433fa60b9839410"/><file name="Backgroundrepeat.php" hash="361da05c8ed2a5e90635f58d1dbe355f"/><file name="Fontreplacement.php" hash="89dcbbad8af505d96217bfa1b19fde21"/><file name="Fonts.php" hash="e31d4eefa19760bf9599756f9f1154f3"/><file name="Gfont_unused.php" hash="d26aa89981f112cae6c0cf0b4402494a"/><file name="Presetstyles.php" hash="71badc0d99596c9746fcceb71fbe20ba"/><file name="Productpagelayout.php" hash="d856b16c3ff421f998f3e4d0c019cbef"/></dir><dir name="etc"><file name="adminhtml.xml" hash="1d4848c2af44b13a5c857cbe8b38711b"/><file name="config.xml" hash="a45e84deb41bb6cd66489f6c8427eb06"/><file name="system.xml" hash="f3fd3e2288f24f741fecd10832cc3aa9"/></dir></dir><dir name="WidgetProductList"><dir name="Block"><dir name="Adminhtml"><dir name="Catalog"><dir name="Product"><dir name="Widget"><file name="Chooser.php" hash="1e360a9c2bda2d983ddbdb7ae49f5c17"/></dir></dir></dir></dir><file name="BestSelling.php" hash="697ef437a6e6c5d95c1956a9d529bc3f"/><file name="Custom.php" hash="dd45ad2c86f0d1c75ba9ef1f1ea69a8f"/><file name="Featured.php" hash="836390ff87314459f7ae6259471e978d"/><file name="New.php" hash="6ac3dfea53a5af6362e87ca8d5b5a0fd"/></dir><dir name="Helper"><file name="Data.php" hash="3caaab0f90368a5553340cd34c4a1da2"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="WidgetProductListController.php" hash="f35424c63f52326c58492d5415c0e60c"/></dir></dir><dir name="etc"><file name="config.xml" hash="6904e011ddc3774557523948ef4ac632"/><file name="widget.xml" hash="1324551255bb9b1c3e7a7f5894a51066"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="ma2"><dir name="ante"><dir name="layout"><file name="local.xml" hash="98bdf604f7034ba976ea65ebc50aa7ce"/><file name="ma2_all.xml" hash="60da2a96f1c431e35c409190c269af68"/><file name="ma2_featuredproducts.xml" hash="108241eff2765bc7ad26d91b3e1f6a52"/><file name="ma2_manufacturers.xml" hash="3f8d91a399743d36d6be63b691af4a21"/><file name="ma2_slideshow.xml" hash="54262d771569e94d95f8c88e43ae794c"/><file name="ma2_widgetproductlist.xml" hash="7b6b844308092196474568315a4cb5bf"/></dir><dir name="locale"><dir name="en_US"><file name="translate.csv" hash="793e1ff86039f24caff6fad87a094fa1"/></dir></dir><dir name="template"><dir name="bundle"><dir name="catalog"><dir name="product"><file name="price.phtml" hash="e60f8e05e59160cc27a6dbbc10f5eeef"/><dir name="view"><file name="price.phtml" hash="6ae1d98411fc1e3569904b074422f743"/><file name="tierprices.phtml" hash="764aff5162dcd21af0b5e51b8629e5aa"/></dir></dir></dir></dir><dir name="catalog"><dir name="category"><file name="view.phtml" hash="0b1f0494bb1000e68efb69b5251b5d24"/></dir><dir name="navigation"><file name="category_list.phtml" hash="188e208962ac4f13c63f6bbd2874bdac"/></dir><dir name="product"><dir name="list"><file name="related.phtml" hash="6f80db9d16332aa14edbb661969e28bd"/></dir><file name="list.phtml" hash="a691662c3bafab02458ca244a4630a77"/><file name="price.phtml" hash="84de204d42492571a44a24ddb800f150"/><dir name="view"><file name="additional.phtml" hash="7bab9dbcc43d46b0aa057dd92547e49e"/><file name="addto.phtml" hash="f2efe1b27846df5dd5b499b9ee586137"/><file name="addtocart.phtml" hash="46193d167fe2492dd843bfb3c1ebc4e6"/><file name="price.phtml" hash="9079642ba52c32d0ec2cfbe77b1f855d"/><file name="price_clone.phtml" hash="6f2c18e5997c74f9dd30ab80dbfdf7c5"/><file name="tierprices.phtml" hash="84ac36aacec5395338ce0e98f97789bd"/><dir name="type"><file name="default.phtml" hash="82627a4a59f05968fec3ae25f33b5201"/><file name="onlyprice.phtml" hash="bb9370c6815ab3252c98ceb371faeccf"/></dir></dir><file name="view.phtml" hash="fde8df2b1698a3d17cf895f1d20598cc"/></dir></dir><dir name="catalogsearch"><dir name="advanced"><file name="form.phtml" hash="b1a507b1f7a7cb832b068647599b798d"/><file name="result.phtml" hash="b1e4ce41e5e31f0e9295030aab77f2f1"/></dir><file name="form.mini.phtml" hash="0462885994fb6012ea7807885516c89e"/><file name="result.phtml" hash="c2bdfc4b0599094a83456dd6f17d4c77"/><file name="term.phtml" hash="d5d0883f5f685228ad5e87ce294b5821"/></dir><dir name="checkout"><dir name="cart"><file name="sidebar.phtml" hash="60ba33198d00a949296c7e06c2b854f7"/></dir></dir><dir name="ma2_featuredproducts"><file name="block.phtml" hash="6cbeaaddae374641a7bbe0b3907c4890"/><file name="standalone.phtml" hash="5609584b7ea61686d0e04f33cbd7b93c"/><file name="standalone_list.phtml" hash="9c6977d451b5e83d36099c8a2bbf352e"/><file name="widget.phtml" hash="1452f66b5d2ec6c59661914c4c2652a3"/></dir><dir name="ma2_manufacturers"><file name="default.phtml" hash="9173f3418ff5ed7bbfd704faf2c72c33"/><file name="grid.phtml" hash="08d52968fee8932a2e12d237460fc416"/><file name="slider.phtml" hash="697658f0d16b3cd507885a2c51ff3d1c"/></dir><dir name="ma2_slideshow"><file name="slideshow.phtml" hash="0c9835e74f8b25af16044c6793a0c57e"/></dir><dir name="ma2_widgetproductlist"><dir name="bestselling"><file name="default.phtml" hash="fecf11d449d5ce39a2ce9031cca0b05f"/></dir><dir name="custom"><file name="default.phtml" hash="f354342adf8f39f5b641405154fbaf07"/></dir><dir name="featured"><file name="default.phtml" hash="47d4c188d9be486e6e68de54e20afe3f"/><file name="sidebar.phtml" hash="47d4c188d9be486e6e68de54e20afe3f"/></dir><dir name="new"><file name="default.phtml" hash="2939d101e9ecdb3a7c1608dab3b5331c"/></dir></dir><dir name="newsletter"><file name="subscribe.phtml" hash="a7a0f3e165b3ee606791ffe72aade076"/></dir><dir name="page"><file name="1column.phtml" hash="38f77211c7a81bdc015475c8576ddeee"/><file name="2columns-left.phtml" hash="2a80e033fdab5ae23d04d7bc7cbb9f77"/><file name="2columns-right.phtml" hash="ad942aba544d24ac06edf92547406179"/><file name="3columns.phtml" hash="04d301eb035a5a119dcdc86b91cbdc35"/><file name="empty.phtml" hash="11d6841d6dfa2ad0c366fb11c26068af"/><dir name="html"><file name="banner-bottom.phtml" hash="52935f89641f964d22ad830dab7319bf"/><file name="bannerimg.phtml" hash="3d4201d62a169ca6cf06a1dff941636e"/><file name="block-right-adv.phtml" hash="97264c7c3cf240238ea0d476cbb5cedc"/><file name="breadcrumbs.phtml" hash="e59769a867b9610f8b8a613f47cf3d87"/><file name="footer.phtml" hash="bdd5351d41d06b6591af8ab915be0c46"/><file name="head.phtml" hash="fd9156b79d1b3154ec60cecd992f291c"/><file name="header.phtml" hash="26fd7adb17f94aa5f1ad60d7c488bc6d"/><file name="ie7ie8.phtml" hash="b7bb5e230deb759e406c9ac334d4bb1d"/><file name="ma2blocks.phtml" hash="604d4fc10f45a8733d6e728c921effeb"/><file name="ma2blocks_simple.phtml" hash="f1692a60fc2171de781b4757f66e3a20"/><file name="presetstyles.phtml" hash="0a5e771d3353ad9275b0af2bc52665e7"/><file name="topmenu.phtml" hash="4e2a7711ce9b708980c6974e1507a3ed"/></dir><dir name="js"><file name="calendar.phtml" hash="9461fd7deda2495b743ce17d405ecb28"/><file name="cookie.phtml" hash="ad57ca0a6409b2ce90448ae7c548e83f"/></dir><file name="popup.phtml" hash="97e855dcb940403ba9d3bcd64aa548de"/><file name="print.phtml" hash="e64d12aab7f325867fbaa303b8517307"/><file name="redirect.phtml" hash="8c3df16330cc29e52af3e13f32362e0c"/><dir name="switch"><file name="flags.phtml" hash="3d6dc469f573506ff0ed3b7258b23dbc"/><file name="languages.phtml" hash="f6c946bedc1e648efd462a8d7c029df4"/><file name="stores.phtml" hash="8d267ab0070362e52e37e5673bddf2c2"/></dir><dir name="template"><file name="container.phtml" hash="78db3f910f9f854d543cc803d72ca46c"/><file name="links.phtml" hash="635b0c8988769a600bdef89b9c7225d3"/><file name="linksblock.phtml" hash="162aa23949d5aafa5b97ee383a59a102"/></dir></dir><dir name="review"><dir name="helper"><file name="summary_nolinks.phtml" hash="2837e9929d4ec3ba004d0d5096d5d0e2"/><file name="summary_short.phtml" hash="149f172811db8865ceff577fd54562e5"/></dir><dir name="product"><dir name="view"><file name="list.phtml" hash="a1e006344a6eab3e5fdcc4cb4fa26243"/></dir></dir></dir><dir name="sales"><dir name="order"><file name="info.phtml" hash="9c7acf3910d7975fd59aaee43791cc67"/></dir></dir><dir name="tag"><file name="cloud.phtml" hash="c43e7720cabe7eed43cdadb73272f708"/><dir name="customer"><file name="recent.phtml" hash="5a0e8df1c878a4af48851f4195b8b963"/><file name="tags.phtml" hash="d89db268db068c59176954a8e4a31320"/><file name="view.phtml" hash="9f2ded5cb70ee9110550418e72074b38"/></dir><file name="list.phtml" hash="295239afaff72eae47790cfdaf93bd1d"/><file name="popular.phtml" hash="97e200f2a189c5902de455d1d62eeeab"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="ma2_all.xml" hash="59880296e6923687e89609aed7b59c31"/><file name="ma2_manufacturers.xml" hash="69cc11ed5c2071515fec633a32bb31da"/><file name="ma2_slideshow.xml" hash="4639f81b3c9940886de9728d1ca7fd0e"/><file name="ma2themeoptions.xml" hash="d7df84aa3d6b7d957c686b351a280ef1"/></dir><dir name="template"><dir name="ma2_manufacturers"><file name="default.phtml" hash="7601d2a952f365fde9ddb4e1fb40d82a"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Ma2_FeaturedProducts.xml" hash="16d387ab5054356fbd463c53f66ac517"/><file name="Ma2_ThemeOptions.xml" hash="4af215fb95222a691c8dd6c8cab22da6"/><file name="Ma2_WidgetProductList.xml" hash="0f48525be76ad4040b110ce4b625d24f"/><file name="Ma2_All.xml" hash="1f6125faeadf108fc81b1a03b4574d59"/><file name="Ma2_Slideshow.xml" hash="e3710f123f60a3ff4b14a66f8daab002"/><file name="Ma2_Manufacturers.xml" hash="fe2286cf7cebd98749e60304714b4aaa"/></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="ma2"><dir name="js"><dir name="colorchooser"><file name="arrow.gif" hash="5034704a76cd55c1cbcbc58ea6bf523f"/><file name="cross.gif" hash="ba9a274b9323753cd95bc3b1eb2f4e5f"/><file name="hs.png" hash="fefa1a03d92ebad25c88dca94a0b63db"/><file name="hv.png" hash="990d71cada17da100653636cf8490884"/><file name="index.html" hash="1c7b413c3fa39d0fed40556d2658ac73"/><file name="jscolor.js" hash="619885c5c4e1051c891456349033838e"/></dir><dir name="webfonts"><file name="gwebfonts.json" hash="ad404c3742482d806be07d839a62528c"/><file name="gwebfonts.seri" hash="6b9de260ce8bfb8e91f2add5c7b07950"/><file name="index.html" hash="8a3edb0428f11a404535d9134c90063f"/><file name="webfont.js" hash="9e088b08f277b45164e0e10b79d6a99c"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="ma2"><dir name="ante"><dir name="css"><file name="blue.css" hash="b9854cf2b48dbca70a041d2f33c555d7"/><file name="custom.css" hash="ce7facd881e00888469aac795a1aa181"/><file name="green.css" hash="6f33a806adc777b50ad0115efd2f83d3"/><dir name="ma2_featuredproducts"><file name="ma2_featuredproducts.css" hash="66a245ed5084280d1bda992bfef31263"/></dir><dir name="ma2_manufacturers"><dir name="css"><file name="frontend.css" hash="9cd840ae745f165b34527eddfe700515"/></dir><dir name="images"><file name="btn-brand-next.png" hash="4f5e06a71474bb200e368dc316461547"/><file name="btn-brand-prevous.png" hash="08c432929a551f6f0a587bc964086c27"/></dir><dir name="js"><file name="carousel-min.js" hash="cfd7a8d08a6dca87e4211a400877716e"/></dir></dir><dir name="ma2_widgetproductlists"><dir name="images"><file name="bg-btn-details.gif" hash="02a5d0f00efe5a5bdc1435ed97548492"/><file name="blank.gif" hash="fc94fb0c3ed8a8f909dbc7630a0987ff"/><file name="closelabel.gif" hash="54aaeb7f166c6d731a49aee2212521fa"/><file name="loading.gif" hash="7e99e1159a3686f6aa4f90043c554483"/><file name="nextlabel.gif" hash="870ceef6bffe67dec9aa6b112eb4561b"/><file name="prevlabel.gif" hash="2d845a54233d8d4fecb0c337505e0d1e"/><file name="sale.png" hash="8b3167ea472d905b498fb6561c718dee"/></dir><file name="lightbox.css" hash="88742dc4485b0074ee5fdb41ef959094"/><file name="ma2_widgetproductlists.css" hash="20ba371b156249877220b321eecd71a7"/></dir><dir name="ma2slideshow"><dir name="images"><file name="desc-bg.png" hash="a8d7cb13b2dc537225c780ad5837c3d0"/><file name="next-prev.png" hash="a462e72c9445fe8c31bfbfde9943df80"/><file name="pix.gif" hash="7ad866406509775de63f33224decc101"/><file name="proto_controls_bg.png" hash="617e2194cfc44442c2fefabc6efe5399"/><file name="proto_controls_pause_play_bg.png" hash="d7b80e3375a34dd657e4b1eddf38b2e0"/></dir><file name="protoshow.css" hash="a509d98ff34b9b5d7edf8eb4aa77c828"/><file name="styles.css" hash="a8df639757b8fea7e433738806bcfbd3"/></dir><file name="print.css" hash="004c7755dd6c046f22a4f4db5825d449"/><file name="styles-ie-7-blue.css" hash="e017adaa0a0e351bf4627a850ff30a1f"/><file name="styles-ie-7-green.css" hash="bbc8bd2695677a742a9a7374e3d370da"/><file name="styles-ie-7-yellow.css" hash="c38d9f84bad2623752babb498e9b03cb"/><file name="styles-ie-7.css" hash="7d97a63bf19782ab1f70ce489611241a"/><file name="styles-ie-8-blue.css" hash="a79202f985b8d71908cf87b31a4661e9"/><file name="styles-ie-8-green.css" hash="8bff59adfbb7042687768896838ca9d4"/><file name="styles-ie-8-yellow.css" hash="23f85b75635b2fc87ac91c68d76cbc5d"/><file name="styles-ie-8.css" hash="96e1059f7ec61c387b341f1601eb435a"/><file name="styles-ie.css" hash="40436c3301a2028f55e6dcbf8a88ed11"/><file name="styles.css" hash="7d75f39b6ddb1c5f07a90fa20b85dcdc"/><file name="template.css" hash="980ed47074d01648848d12918183aea2"/><file name="yellow.css" hash="c1f748fbbc35d4d98796f1c5b1e8fa95"/></dir><file name="favicon.ico" hash="88733ee53676a47fc354a61c32516e82"/><dir name="images"><file name="apptocart-blue.png" hash="fed816cde039602bbb49f58fea5e0b0e"/><file name="apptocart-green.png" hash="c4c2be61f7b2f17940d945ce56ecafd9"/><file name="apptocart-yellow.png" hash="ba439b900b1a3847c6f18db2872a4cbd"/><file name="apptocart.png" hash="ba439b900b1a3847c6f18db2872a4cbd"/><file name="apptocarthover-yellow.png" hash="72f80bf1cff694c5ae7174b731823ab3"/><file name="apptocarthover.png" hash="72f80bf1cff694c5ae7174b731823ab3"/><file name="banner-bottom.png" hash="1cfa8aaa663ac575fbca920f39a4adc9"/><file name="banner3-blue.png" hash="0a51d5d8808823d7fe2aa0c22ac93769"/><file name="banner3-green.png" hash="cee63c4dda4b13fe10b4a480fe09053d"/><file name="banner3-yellow.png" hash="f5ebc5a8e37a7c708449e962a22b1060"/><file name="banner3.png" hash="f5ebc5a8e37a7c708449e962a22b1060"/><file name="banner4-blue.png" hash="9af834aac53a8b7ebb4e94689e7305f8"/><file name="banner4-green.png" hash="af96247b461856963b0fc4d89879242e"/><file name="banner4-yellow.png" hash="ddcce59b81cf5c92038f6595ca8f723b"/><file name="banner4.png" hash="ddcce59b81cf5c92038f6595ca8f723b"/><file name="bg-btn-details.gif" hash="02a5d0f00efe5a5bdc1435ed97548492"/><file name="bg-center.png" hash="13d8a031bae542313dafee0da45f1978"/><file name="bg.png" hash="c52c888bebb45b9a45f6dac40febe8d6"/><file name="bgcontent.png" hash="78912e616761978ab5d37a9be6e9bba4"/><file name="bkg_button.gif" hash="d9a8166e5528755a2fd994a032d4989e"/><file name="bkg_collapse.gif" hash="2333c68e38163ed4656da82b9bcf362b"/><file name="bkg_nav2.gif" hash="a64c8f5165b239e432d26a62ae5f79b6"/><file name="bkg_rating.gif" hash="0a8777c815350ddf1e316a537ad0c335"/><file name="blue.gif" hash="2ad6457d69124be85889d55efcd36046"/><file name="btn_edit.gif" hash="df3565eb4e4d0dc578201df60de54b47"/><file name="btn_remove.gif" hash="6182e723aa2a253dc6cf334a3dfaaa84"/><file name="btn_search.png" hash="69325391e13df8fcdf5f9f3166aa8eeb"/><file name="btn_trash.gif" hash="bcb22f558a0eb32243a2a36645189e9f"/><file name="btn_window_close.gif" hash="c83f3cbbb2aedfc580dff78d5cfb63ed"/><file name="buttonshopcart.png" hash="58934c32cb9a60716ab6d469e6689dcc"/><file name="buttonshopcartgreenblue.png" hash="ecc7f5dcce6b46b99959334014238116"/><file name="cart-blue.png" hash="413e5e3898748fbb96c33fdfdeda5439"/><file name="cart-green.png" hash="05e626d6f75220a41b6e3e245b55dff4"/><file name="cart-yellow.png" hash="570624ac421c8dd92e4a35673cce7eb2"/><file name="cart.png" hash="570624ac421c8dd92e4a35673cce7eb2"/><dir name="catalog"><dir name="product"><dir name="placeholder"><file name="image.jpg" hash="097ab8a3051bc037ea3de0e17f440540"/><file name="small_image.jpg" hash="f825d16f97a640453553c79c48ebaa73"/><file name="thumbnail.jpg" hash="b2b682d28a08a748a73d2cda70ab5a57"/></dir></dir></dir><file name="cvv.gif" hash="83cdd38bf110b0f9c52fe84b56f45298"/><file name="desktop.gif" hash="15152b4d83a1e45e742267ce31bc3b53"/><file name="entry_edit_head_arrow_down.gif" hash="fb306fdc333999393f1c3d4894f2e311"/><file name="entry_edit_head_arrow_up.gif" hash="7f2505a592e818a09fbae437200ec88e"/><file name="fam_book_open.png" hash="0ba89b9fbe7e88d4c6896ed0a1f495aa"/><file name="favicon-blue.png" hash="7c858117b343a5c5a870cdd9afe55b0c"/><file name="favicon-green.png" hash="10d108ad86aad2e7a3e44219c4fb548c"/><file name="favicon-yellow.png" hash="fb19269aa6c0764e0a518aa06036cac6"/><file name="favicon.png" hash="fb19269aa6c0764e0a518aa06036cac6"/><file name="fotter_bottom.png" hash="25a0b4df1bf3722159da1851c61b6730"/><file name="green.gif" hash="fbf04deb7ef4963ee228b01ab0ac70d0"/><file name="header-container-top.png" hash="118de39c842d9d5677649f18a95d6d89"/><file name="i_asc_arrow.gif" hash="40aa554212d6a1f60593c27d78d85fa3"/><file name="i_availability_only_arrow.gif" hash="0cf32b72fefc94b89b74e4f3f02c2e93"/><file name="i_desc_arrow.gif" hash="92fd194bfae4ce5ae3354e1e47d7ac7d"/><file name="i_msg-error.gif" hash="e4f28607f075a105e53fa3113d84bd26"/><file name="i_msg-note.gif" hash="e774ee481a2820789c1a77112377c4e0"/><file name="i_msg-success.gif" hash="834dfafd5f8b44c4b24a4c00add56fcf"/><file name="i_notice.gif" hash="ebd56dc80b8346e10e93628bc0e6c372"/><file name="i_pager-next.gif" hash="ed4d6640624c2b6edeab4c212314bd6d"/><file name="i_pager-prev.gif" hash="75973b020105dccbaf34e49d7852552d"/><file name="i_print.gif" hash="0aed138181495642e9ab29e55d194d40"/><file name="i_rss-big.png" hash="6cf70e7c52a3f3d7b833ccadb041a555"/><file name="i_rss.gif" hash="e5bbc388d818c142868b4a1df0b48793"/><file name="icon-nav-sub.png" hash="568517a5a8cce94597b17fad8247fc59"/><file name="itembane.png" hash="bf3c54cfbf82d45d2ba1362864aa3a16"/><file name="itembaneactive-blue.png" hash="de110095e0055e8146ca93112b109d38"/><file name="itembaneactive-green.png" hash="1ea1634662747f27484ea09b946a9521"/><file name="itembaneactive-yellow.png" hash="ea0def48d306f235fdbdcc6f9695e196"/><file name="itembaneactive.png" hash="883197b68e68b7f1f41eb593407035d3"/><file name="loginleft.png" hash="04c885fe7c80b6739beab94ed8ac1888"/><file name="logo-blue.png" hash="c164d77b7ef90cb1c7a8de05c1f74813"/><file name="logo-green.png" hash="2071e4cfd5e4e0fd5bd61789f84c80d5"/><file name="logo-yellow.png" hash="fb19269aa6c0764e0a518aa06036cac6"/><file name="logo.gif" hash="c4b38c73c19a1dcf1488838795c26031"/><file name="logo.png" hash="fb19269aa6c0764e0a518aa06036cac6"/><file name="logo_email.gif" hash="c4b38c73c19a1dcf1488838795c26031"/><file name="logo_print.gif" hash="c4b38c73c19a1dcf1488838795c26031"/><file name="ma2-navigation-icon.gif" hash="8200ed9196ae9e131f55ee90459f20bf"/><file name="magnifier_handle.gif" hash="238fbdd7959f517db11c6f57ee4daaf4"/><file name="mainbottom.png" hash="389f5fa5b64e1c76a0a80e6610fa5cdb"/><file name="manufacturers.png" hash="a5573e522f98fe24b75b4f048d5ed9e2"/><file name="manufacturersright.png" hash="71a67414b6e70a4f621e768f687f3762"/><dir name="media"><file name="col_left_callout.jpg" hash="5f762006021e046f9bd536f37ea7c463"/><file name="col_right_callout.jpg" hash="dae22f37a542da272a35195ec286ec25"/></dir><file name="menuactive-blue.png" hash="475b761123161a4eb3dc3448bb73ee31"/><file name="menuactive-green.png" hash="07fe28b15a5a354d99eefe4e1e11bb86"/><file name="menuactive-yellow.png" hash="c324b358f1bd457930e9ec40e59c7f15"/><file name="menuactive.png" hash="c324b358f1bd457930e9ec40e59c7f15"/><file name="nav-item-blue.gif" hash="1a0b6b7a18f3337a7f740d3bb041efd8"/><file name="nav-item-none.gif" hash="4b0b990c9e36b7e793831edba6665f5a"/><file name="nav-item.gif" hash="8d6dca34a87abaabcb1305fb27b98e6c"/><file name="nav.png" hash="c7ee632ffd5db350a30ffeb0eb1be8dd"/><file name="opc-ajax-loader.gif" hash="e805ea7eca1f34c75ba0f93780d32d38"/><file name="pager_arrow_left.gif" hash="75973b020105dccbaf34e49d7852552d"/><file name="pager_arrow_right.gif" hash="ed4d6640624c2b6edeab4c212314bd6d"/><file name="presetstyles-btn.png" hash="cf44291afc5e350cb43e1434d646988e"/><file name="right-adv-blue.png" hash="8c565958cb26d2cb55de7ae47368b920"/><file name="right-adv-green.png" hash="9d6dca6863def30a9ba475103445950c"/><file name="right-adv-yellow.png" hash="b8b6caaaa7fd386899eac237f5509b3f"/><file name="right-adv.png" hash="b8b6caaaa7fd386899eac237f5509b3f"/><file name="sale-blue.png" hash="8b3167ea472d905b498fb6561c718dee"/><file name="sale-green.png" hash="7a546b174758fab03f6e15508d3c100d"/><file name="sale-yellow.png" hash="9d48cbef20a4e7ef792668a3e21a0439"/><file name="sale.png" hash="9d48cbef20a4e7ef792668a3e21a0439"/><file name="screens.png" hash="028d0c53e0701d6984968bfc2b319ac6"/><file name="shoppingcart.png" hash="1743aaee53804573439030b18e2a5784"/><file name="slider_bg.gif" hash="87bc1b46d87de4f6252c7216216627c3"/><file name="slider_btn_zoom_in.gif" hash="ef0fc67f77f30827ee67f4e744b60781"/><file name="slider_btn_zoom_out.gif" hash="68b3d1c28dc5aec4f6b64d70a6996b6f"/><file name="smartphone-landspace.gif" hash="ccf2ffa198094a29a9cbdf33f4a09936"/><file name="smartphone-portraint.gif" hash="cb1a66b98f14cf5080a9c4a1901b2ef1"/><file name="spacer.gif" hash="df3e567d6f16d040326c7a0ea29a4f41"/><file name="submit.png" hash="82ae42e4a62ffe6c806304e39bc44496"/><file name="tablet-landscape.jpg" hash="b359efb229a7a50cf16da341aea2ea2f"/><file name="tablet-landspace.gif" hash="a0bfc89b8f3a604ef74483dbf4bb2d48"/><file name="tablet-portraint.gif" hash="13be5373d2e203efc2a6a3e5e43e09fe"/><file name="tablet-portrait.jpg" hash="eb6ffaf87607b44c8b153c078debda56"/><file name="titlebane.png" hash="16cfa48230bb7f43f8d3d0d9191a5246"/><file name="validation_advice_bg.gif" hash="b85432906de8985a8b14eeb2dc652d3c"/><file name="yellow.gif" hash="e43ad05bb7adc950b28bbe20d25bf7c6"/></dir><dir name="js"><file name="ma2function.js" hash="478736b49a610a9703c8a818697390cf"/><dir name="ma2slideshow"><file name="protoshow.js" hash="4769c205951e10b7a7c8c9ff8bcfc773"/></dir></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="ma2_all"><file name="ma2all.css" hash="9c4db2cea69d0b7e2a03c149dc21749e"/><file name="ma2all.js" hash="a0e4d21d363f5b9cdfc4c6c0731f6b69"/></dir></dir></target><target name="magecommunity"><dir name="Ma2"><dir name="FeaturedProducts"><dir name="Block"><dir name="Adminhtml"><dir name="Edit"><file name="Grid.php" hash="ae37f45312fd41c2d5843e5181037181"/><dir name="Renderer"><file name="Name.php" hash="b364c639fd67541f58511d11e128d898"/><file name="Thumbnail.php" hash="755157f8b86d20d43a0fbd023cdea935"/><file name="Visibility.php" hash="d62bcb50131cfdf7eed8ca0b23a1417e"/></dir></dir><file name="Edit.php" hash="601249772cb0d7380388b4c8b944898b"/></dir><file name="Block.php" hash="cee7eaa42ed2de8e9af9d0bf50b1a8ef"/><dir name="Standalone"><file name="List.php" hash="8c90d09df75da709d4428764fe4a820a"/></dir><file name="Widget.php" hash="8a87807d73180e1d6773ba20660f61fb"/></dir><dir name="Helper"><file name="Data.php" hash="9c30a8cd6b4fbba1bdeda4df047ef0e7"/></dir><dir name="Model"><dir name="System"><dir name="Config"><dir name="Source"><file name="Listtype.php" hash="c514edef11b62b3d87473db7c66c95a1"/><file name="Sortby.php" hash="177f9e2760c3fdb53061480b33160ed3"/><file name="Sortdir.php" hash="bc6ebbfbab6a38b114f7f5ae08fa78aa"/></dir></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="FeaturedController.php" hash="4f942bb642e8a6c5a9b4d51c980746a6"/></dir><file name="IndexController.php" hash="3541706337d4d872e928bc8ca702e896"/></dir><dir name="etc"><file name="adminhtml.xml" hash="bc2752c6656df2f59228bf1b4282ce05"/><file name="config.xml" hash="759309e4a8ef710aac34344ffc23ebbc"/><file name="system.xml" hash="bd735f0377c40a316a1de65699b0bbf9"/><file name="widget.xml" hash="51be9caa9175d68586d1b7264bba44d5"/></dir><dir name="sql"><dir name="featuredproducts_setup"><file name="mysql4-install-1.0.0.php" hash="f7e8e84dec381087c97ef09cf9b2cca8"/></dir></dir></dir><dir name="Manufacturers"><dir name="Block"><dir name="Adminhtml"><dir name="Default"><file name="Form.php" hash="259359860587e7637f39f6a80262e6b9"/></dir><file name="Default.php" hash="75cef7a35e97e716e4670da7ca362fc6"/></dir><file name="List.php" hash="ba74d9da21126087f47fc0e848f90460"/></dir><dir name="Helper"><file name="Data.php" hash="0fa59568787759b6a1f85a3a09353765"/></dir><dir name="Model"><dir name="System"><dir name="Config"><dir name="Source"><file name="Manuid.php" hash="d2e704aee5eb328c8b3a89dbed7bf148"/></dir></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="DefaultController.php" hash="3de8f10797848bc9cb423e007be28e2b"/></dir><file name="IndexController.php" hash="fe162badc87a69efd9f97f276e2045af"/></dir><dir name="etc"><file name="adminhtml.xml" hash="a5d6652dab7bb42f4a968cf2e73d330c"/><file name="config.xml" hash="5e5500414fcade1186829c8eb28ba54b"/><file name="system.xml" hash="a60ab0ea94b79d56884a768aba7e41a5"/></dir></dir><dir name="Slideshow"><dir name="Block"><dir name="Adminhtml"><dir name="Slideshow"><dir name="Edit"><file name="Form.php" hash="48efe58baedc4b5ad199926319371c07"/><dir name="Tab"><file name="Form.php" hash="4ad8476192edc6d54409505c993ab755"/></dir><file name="Tabs.php" hash="296aaa24916f76d515f6f84b77d4baa0"/></dir><file name="Edit.php" hash="18b7220c936d0af1b9ac7f957e35dcef"/><file name="Grid.php" hash="1024a833339d728c48bae7530a0e2f29"/></dir><file name="Slideshow.php" hash="51008276205ecdd1effeaa006dc3a096"/></dir><file name="Slideshow.php" hash="11e1b8339b2124e6975b49071c1af87d"/></dir><dir name="Helper"><file name="Data.php" hash="d6f056ba406477f0f3fd06db8fbe7bb1"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Slideshow"><file name="Collection.php" hash="23e5387ec52cbc6ddbafbd4a8dcf7912"/></dir><file name="Slideshow.php" hash="7fc0c08f1efc2836e1d9aef8e42949e0"/></dir><file name="Slideshow.php" hash="a64edb9ce39e79891fd09ee523d213ee"/><file name="Slideshowselect.php" hash="d142f4eab50c70a162e65f3ab725da30"/><file name="Status.php" hash="77be19eaa7631125af8ddf7d181f3c15"/><file name="Transitiontype.php" hash="fd7e78def47ccd1f400345232f27bcde"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="SlideshowController.php" hash="61812050476fe2cfbf78b4189d238eea"/></dir><file name="IndexController.php" hash="64297a33eaafd7bf79ff1d7a688a830e"/></dir><dir name="etc"><file name="config.xml" hash="dffd62699f267c1d904c109e9b7763b8"/><file name="system.xml" hash="e0e535833f49d6647b92fd2a9c13792a"/><file name="widget.xml" hash="6f9e816d407fc37a8ab25df894ea5ade"/></dir><dir name="sql"><dir name="slideshow_setup"><file name="mysql4-install-0.1.0.php" hash="30af78f191ad28f86c1da9de1eeb3cbf"/></dir></dir></dir></dir></target><target name="magemedia"><dir name="ma2"><dir name="images"><dir name="default"><file name="favicon-blue.png" hash="7c858117b343a5c5a870cdd9afe55b0c"/><file name="favicon-blue_1.png" hash="7c858117b343a5c5a870cdd9afe55b0c"/><file name="favicon-green.png" hash="10d108ad86aad2e7a3e44219c4fb548c"/><file name="favicon-yellow.png" hash="fb19269aa6c0764e0a518aa06036cac6"/><file name="logo-blue.png" hash="7c858117b343a5c5a870cdd9afe55b0c"/><file name="logo-blue_1.png" hash="7c858117b343a5c5a870cdd9afe55b0c"/><file name="logo-blue_2.png" hash="c164d77b7ef90cb1c7a8de05c1f74813"/><file name="logo-green.png" hash="10d108ad86aad2e7a3e44219c4fb548c"/><file name="logo-green_1.png" hash="2071e4cfd5e4e0fd5bd61789f84c80d5"/><file name="logo-yellow.png" hash="fb19269aa6c0764e0a518aa06036cac6"/></dir></dir></dir><dir name="ma2slideshow"><file name="banner120140226061703.png" hash="8eda2cc830a3c984496732a579651d16"/><file name="banner220140226061852.png" hash="2f1d8ad17ca76646ffc36455a849f51c"/><dir name="thumbnail"><file name="banner120140226061703.png" hash="0f0fa919275aa19c2db66ee528a52b92"/><file name="banner220140226061852.png" hash="fc5ce44b42987bc69b96b2a83b234a84"/></dir></dir><dir name="manufacturers"><file name="Adidas.png" hash="6ebd7271162dd7ab1c925aef8cfee354"/><file name="Cabelas.png" hash="ce0b59c914c987f99ab5e193c5683085"/><file name="Levis.png" hash="972f2d4553dd278fa67955c497c2dff3"/><file name="PaylorMade.png" hash="f484c3590e925dec460ac496ad69a91c"/><file name="Reebok.png" hash="a064846c40025119341d02b5ec2fb413"/><file name="TCMMY.png" hash="1894dd0f2ed157a0c07e12377bbc0ce2"/><file name="noimage.jpg" hash="097ab8a3051bc037ea3de0e17f440540"/><dir name="resized"><file name="Adidas.png" hash="a5f4b2ac01434cc4ce584604ac6f719a"/><file name="Cabelas.png" hash="36bfb71504209efe91b6b6bc9562e2f0"/><file name="Levis.png" hash="ca3d6e046b57ba12881986a4e07460d4"/><file name="PaylorMade.png" hash="be444868d98cdadd905818999b271c2f"/><file name="Reebok.png" hash="e90c84baf1eb79c96ea6e55def9a913d"/><file name="TCMMY.png" hash="e506ea6b936ab4851c1007543fea501f"/><file name="noimage.jpg" hash="93040423df30fc0be299db2263148a26"/></dir></dir><dir name="wysiwyg"><dir name="ante"><file name="banner1.png" hash="8eda2cc830a3c984496732a579651d16"/><file name="banner2.png" hash="2f1d8ad17ca76646ffc36455a849f51c"/><file name="banner3-blue.png" hash="0a51d5d8808823d7fe2aa0c22ac93769"/><file name="banner3-green.png" hash="cee63c4dda4b13fe10b4a480fe09053d"/><file name="banner3-yellow.png" hash="f5ebc5a8e37a7c708449e962a22b1060"/><file name="banner3.png" hash="f5ebc5a8e37a7c708449e962a22b1060"/><file name="banner4-blue.png" hash="9af834aac53a8b7ebb4e94689e7305f8"/><file name="banner4-green.png" hash="af96247b461856963b0fc4d89879242e"/><file name="banner4-yellow.png" hash="ddcce59b81cf5c92038f6595ca8f723b"/><file name="banner4.png" hash="ddcce59b81cf5c92038f6595ca8f723b"/><file name="btn_paypal_checkout.gif" hash="6edd61270b7b5632eafad10557129114"/><file name="cirrur.png" hash="f2f1edabb32094cdd4afe428da72a1d8"/><file name="facebook.png" hash="d24d59d9150704969b63c5cd1b4acffe"/><file name="master.png" hash="8f5c499dd749cc2ad51d99c75390835b"/><file name="paypal.png" hash="c91ce224604ca2952df599defe85d8ee"/><file name="right-adv-blue.png" hash="8c565958cb26d2cb55de7ae47368b920"/><file name="right-adv-green.png" hash="9d6dca6863def30a9ba475103445950c"/><file name="right-adv-yellow.png" hash="b8b6caaaa7fd386899eac237f5509b3f"/><file name="right-adv.png" hash="b8b6caaaa7fd386899eac237f5509b3f"/><file name="twitter.png" hash="d9c1dd598f2ab66dd3f8ea3ac38dfd9b"/><file name="visa.png" hash="63ab222907aaeab6402b3d6e3ad0c9e3"/></dir><dir name=".thumbs"><dir name="wysiwyg"><dir name="ante"><file name="banner1.png" hash="a6a75a37fa1791ddd080801b81b847e5"/><file name="banner2.png" hash="6c827954082b3e3b4cf7002886264e67"/><file name="banner3-blue.png" hash="9e69e389a4177cf5aedfe92bdfa07ca6"/><file name="banner3-green.png" hash="53ff1169a0fc242c84290dd857b0a6f7"/><file name="banner3-yellow.png" hash="60561b93b3b43f0487dc78f6f7ac7d4f"/><file name="banner3.png" hash="60561b93b3b43f0487dc78f6f7ac7d4f"/><file name="banner4-blue.png" hash="bafca15d8aa207909772364235b4c13a"/><file name="banner4-green.png" hash="64ce29e9867b3d5b8b0c586d23cbb714"/><file name="banner4-yellow.png" hash="8b5186519f7eab47bea86d88e3dbba20"/><file name="banner4.png" hash="8b5186519f7eab47bea86d88e3dbba20"/><file name="btn_paypal_checkout.gif" hash="a20d7c4917a3a52ef2aeee9e9d87a9a5"/><file name="cirrur.png" hash="296ab7276e78c01ca06448baeb98daae"/><file name="facebook.png" hash="d61ef81c9f8af70f59c2221987c97302"/><file name="master.png" hash="b5c6ca0d237ab69f221d20d23f52a7ed"/><file name="paypal.png" hash="51551afa26ade28fa2b8af728195af3b"/><file name="right-adv-blue.png" hash="12fdb578c3095212401a4f026d6c6618"/><file name="right-adv-green.png" hash="6e34f321fd17dc1bbde01f44e3bd96c4"/><file name="right-adv-yellow.png" hash="55c249cbeacd5c4035cec34a61518b85"/><file name="right-adv.png" hash="55c249cbeacd5c4035cec34a61518b85"/><file name="twitter.png" hash="95b2142cca3e1929274a3dde42ef48fe"/><file name="visa.png" hash="c61660cd1bea329b972fd15a5b98567b"/></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>
skin/frontend/ma2/ante/css/{styles-blue.css → blue.css} RENAMED
@@ -110,8 +110,8 @@ ul#nav li.parent ul li.parent a:hover { background: url("../images/titlebane.png
110
  /* =============== */
111
  .ma2-preset-style-blue .header .links li a span.ma2-cart { font-weight: none; color: #ff4c29; }
112
  .ma2-preset-style-blue .header .links li a span.ma2-cart { font-weight: none; color: #00b2f6; }
113
- .ma2-preset-style-blue button.button:hover { background:url("../images/menuactive-blue.png") repeat-x scroll 0 0 transparent; }
114
- .ma2-preset-style-blue button.button { background:url("../images/apptocart-blue.png") repeat-x scroll 0 0 transparent; }
115
  .ma2-preset-style-blue .button-shopping-cart button.button span { background:url("../images/buttonshopcartgreenblue.png") repeat scroll 0 0 transparent; }
116
  .ma2-preset-style-blue .slideshow-title,
117
  .ma2-preset-style-blue .block-cart .empty,
@@ -131,7 +131,7 @@ ul#nav li.parent ul li.parent a:hover { background: url("../images/titlebane.png
131
  .ma2-preset-style-blue .catalog-product-title .heading-box-product .format-span span,
132
  .ma2-preset-style-blue .page-title h1, .ma2-preset-style-blue .page-title h2,
133
  .ma2-preset-style-blue .summary .amount a span,
134
- .ma2-preset-style-blue .products-right .heading-box-product .format-span span { color:#00B2F6; }
135
  /* preset-style color for breadcrum */
136
  /* ================================== */
137
  .ma2-preset-style-blue li.home a,
@@ -164,28 +164,6 @@ ul#nav li.parent ul li.parent a:hover { background: url("../images/titlebane.png
164
  .ma2-preset-style-blue .footer-top-top,
165
  .ma2-preset-style-blue .footer-top-bottom { float:left; width:100%; text-align:left; }
166
  /* banner bottom ship next day */
167
- .ma2-preset-style-blue .banner-bottom-blue { width: 100%; background:url("../images/bg-center.png") repeat-x scroll 0 0px transparent; height: 51px; float: left; color: #FFF; font-family: Arial; font-size: 24px; text-transform: uppercase; font-weight: bold; font-style: italic; line-height: 50px; }
168
  .ma2-preset-style-blue .banner-bottom-blue a { text-transform: capitalize; text-decoration: none; color: #FFF; font-size: 12px; }
169
-
170
-
171
-
172
-
173
-
174
-
175
-
176
-
177
-
178
-
179
-
180
-
181
-
182
-
183
-
184
-
185
-
186
-
187
-
188
-
189
-
190
-
191
-
110
  /* =============== */
111
  .ma2-preset-style-blue .header .links li a span.ma2-cart { font-weight: none; color: #ff4c29; }
112
  .ma2-preset-style-blue .header .links li a span.ma2-cart { font-weight: none; color: #00b2f6; }
113
+ .ma2-preset-style-blue button.button:hover { background:url("../images/menuactive-blue.png") repeat scroll 0 0 transparent; }
114
+ .ma2-preset-style-blue button.button { background:url("../images/apptocart-blue.png") repeat scroll 0 0 transparent; }
115
  .ma2-preset-style-blue .button-shopping-cart button.button span { background:url("../images/buttonshopcartgreenblue.png") repeat scroll 0 0 transparent; }
116
  .ma2-preset-style-blue .slideshow-title,
117
  .ma2-preset-style-blue .block-cart .empty,
131
  .ma2-preset-style-blue .catalog-product-title .heading-box-product .format-span span,
132
  .ma2-preset-style-blue .page-title h1, .ma2-preset-style-blue .page-title h2,
133
  .ma2-preset-style-blue .summary .amount a span,
134
+ .ma2-preset-style-blue .item-title-view .heading-box-product .format-span span { color:#00B2F6; }
135
  /* preset-style color for breadcrum */
136
  /* ================================== */
137
  .ma2-preset-style-blue li.home a,
164
  .ma2-preset-style-blue .footer-top-top,
165
  .ma2-preset-style-blue .footer-top-bottom { float:left; width:100%; text-align:left; }
166
  /* banner bottom ship next day */
167
+ .ma2-preset-style-blue .banner-bottom-blue { width: 100%; background:url("../images/bg-center.png") repeat-x scroll 0 0px transparent; height: 51px; color: #FFF; font-family: Arial; font-size: 24px; text-transform: uppercase; font-weight: bold; font-style: italic; line-height: 50px; text-align: center; }
168
  .ma2-preset-style-blue .banner-bottom-blue a { text-transform: capitalize; text-decoration: none; color: #FFF; font-size: 12px; }
169
+ .ma2-preset-style-blue .footer a { color: #00B2F6; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
skin/frontend/ma2/ante/css/coin-slider-styles.css DELETED
@@ -1,23 +0,0 @@
1
- /**
2
- * Coin Slider jQuery plugin CSS styles
3
- **/
4
- .coin-slider { overflow: hidden; zoom: 1; position: relative; }
5
- .coin-slider a{ text-decoration: none; outline: none; border: none; text-align: left; }
6
- .cs-buttons { font-size: 0px; padding: 10px; margin-top: -45px; z-index: 99999; }
7
- .cs-buttons a { margin-left: 5px; height: 22px; width: 20px; float: left; text-indent: -1000px; background:url("../images/itembane.png") no-repeat scroll 0 0px transparent; }
8
- .cs-buttons a.cs-active { background:url("../images/itembaneactive.png") no-repeat scroll 0 0px transparent; }
9
- .cs-title { width: 390px; padding: 25px; background:url("../images/titlebane.png") repeat scroll 0 0px transparent; color: #FFFFFF; height: 60px; text-align: left; }
10
- .cs-title p { width: 300px; height: 70px; overflow: hidden; text-align: left; }
11
- .cs-title p b { color: #f4a910; text-transform: uppercase; float: left; font-size: 20px; width: 100%; text-align: left; }
12
- .cs-prev, .cs-next { display: none; }
13
- /**
14
- * preset style
15
- * custom css for add-to-cart
16
- **/
17
- .add-to-cart-yellow .cs-buttons a.cs-active { background:url("../images/itembaneactive-yellow.png") no-repeat scroll 0 0px transparent; }
18
- .add-to-cart-blue .cs-buttons a.cs-active { background:url("../images/itembaneactive-blue.png") no-repeat scroll 0 0px transparent; }
19
- .add-to-cart-green .cs-buttons a.cs-active { background:url("../images/itembaneactive-green.png") no-repeat scroll 0 0px transparent; }
20
- .add-to-cart-yellow .title-slideshow,.add-to-cart-green .title-slideshow,.add-to-cart-blue .title-slideshow { font-size:18px; }
21
- .add-to-cart-yellow .title-slideshow { color:#f4a810; }
22
- .add-to-cart-green .title-slideshow { color:#679027; }
23
- .add-to-cart-blue .title-slideshow { color: #039DE6; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
skin/frontend/ma2/ante/css/custom.css CHANGED
@@ -1,266 +1,1029 @@
1
- @import url(http://fonts.googleapis.com/css?family=Oswald);
2
- body { background: url("../images/bg.png") ; }
3
- .wrapper-container, .main, .footer { width: 906px; padding-top:8px; padding-right: 20px; padding-bottom: 0px; padding-left: 20px; float: left; background: url("../images/bgcontent.png") repeat-y scroll 1px 0 transparent; }
4
- /* Custom Header */
5
- /* ============================================================ */
6
- .header-container, .nav-container, .main-container { background: none; }
7
- .header-container { background: url("../images/header-container-top.png") repeat-x scroll 0 0 transparent; border: none; }
8
- .header { padding: 0px; margin: 0 auto; width: 940px; }
9
- .header .logo { margin: 0px; }
10
- .header-top-links { float: left; line-height: 35px; font-size: 12px; color: #FFF; }
11
- .header-top-link a { font-weight: bold; text-decoration: none; color: #FFF; }
12
- .header-top-link a:hover { text-decoration: underline; }
13
- .header-top { float: right; width: 740px; }
14
- .header .form-search { background: none; float: left; position:relative; height: 35px; top: 50px; right: 0px; left: 50px; width: 458px; }
15
- .header .form-search input.input-text { height: 25px; width: 350px; margin-right: 0px; }
16
- .header .form-search label { display: none; }
17
- .header .form-search button.button span { background: none; height: 33px; padding: 0; }
18
- .header .form-search button.button span span { background:url("../images/btn_search.png") no-repeat scroll 0 0 transparent; font-size: 0; height: 31px; width: 96px; margin: 0; padding: 0; }
19
- .header .quick-access { padding-right: 0px; }
20
- .header .quick-access { margin:0px; width: 220px; }
21
- .header .form-search input.input-text { border: 1px solid #dfdede; border-right: none; }
22
- .netq-login { float:right; width: 255px; height: 34px; background: url("../images/loginleft.png") no-repeat scroll 0 0 transparent; line-height: 34px; height: 34px; text-align: center; }
23
- .netq-login a, .netq-login span { color: #FFF; }
24
- .netq-login .welcome-msg { font-size: 12px; text-align: center; }
25
- .quick-access .links { width: 100%; height:35px; padding-top: 10px; padding-right: 0px; margin-top: 8px; }
26
- /* ================================================================= */
27
- .footer-container { }
28
- /*omg custom*/
29
- /* ================================================================= */
30
- .omg-custom-link { width: 100%; }
31
- .omg-link { width: 75%; float: left; }
32
- .omg-icon-link { width: 25%; float: left; }
33
- .omg-icon-img { margin-top: 14px; margin-right: 18px; }
34
- /* ================================================================= */
35
- input, select, textarea, button { color: #a4a4a4; }
36
- .netq-sileshown { width: 440px; height: 420px; margin-top: 10px; float: left; }
37
- .netq-img { float: right; height: 406px; margin-right: 2px; margin-top: 10px; width: 446px; }
38
- .page-title { border-bottom: none; text-transform: uppercase; }
39
- .space-top { margin-top: 15px; float: left; width: 100%; }
40
- #banner-container { margin: 0 auto ; margin-top: -2px; width: 945px; }
41
- .banner-bottom { width: 100%; background:url("../images/banner-bottom.png") repeat-x scroll 0 0px transparent; height: 51px; float: left; color: #FFF; font-family: Arial; font-size: 24px; text-transform: uppercase; font-weight: bold; font-style: italic; line-height: 50px; }
42
- .banner-bottom a { text-transform: capitalize; text-decoration: none; color: #FFF; font-size: 12px; }
43
- .wrapper-manufacturer { padding: 0; padding-bottom: 2px; width: 960px; }
44
- #manufacturer_list { float: left; width: 924px; padding-left:15px; margin-left: 3px; height: 80px; background:url("../images/manufacturers.png") repeat-x scroll 0px 0px transparent; }
45
- #manufacturer_list li { float: left; background:url("../images/manufacturersright.png") no-repeat scroll right 0px transparent; margin-top: 20px; height: 55px; }
46
- #manufacturer_list li a { float: left; margin-top:8px; margin-left: 25px; margin-right: 25px; }
47
- #manufacturer_list li.last { background: none; }
48
- .main-container, .footer-container { width: 945px; margin: 0 auto; }
49
- .footer-container { border: none; }
50
- .col-right { margin-right: 6px; width: 220px; }
51
- .block { border: none; }
52
- .block .block-title { background: #999; }
53
- .block-cart .block-title strong { background-image: none; padding-left: 5px; }
54
- .block .block-title strong span { line-height: 40px; color: #eae9e9; font-family: oswald; font-size: 14pt; font-weight: normal; }
55
- .block-cart .block-content { background: url("../images/shoppingcart.png") no-repeat scroll right 0 #f9f9f9; padding-bottom: 15px; width: 100%; }
56
- .block-cart .empty { color: #F4A910; font-weight: bold; }
57
- .block-cart .subtotal { background: none repeat scroll 0 0 transparent; float: left; padding: 6px 12px 6px 10px; width: 90%; }
58
- .img-product { width:100%; float:left; text-align:left; }
59
- .block-cart .label { float: left; }
60
- .block-cart .subtotal .price { font-weight: normal; float: right; }
61
- .style-border-ie{}
62
- .border-bottom{}
63
- .pro-cus-titl{min-height:18px;}
64
- .button-shopping-cart { float: left; margin-top: 10px; padding-left: 13px; width: 94%; }
65
- .button-shopping-cart span { margin-bottom: 25px; }
66
- .button-shopping-cart span, .block-cart .label { font-size: 12px; color: #666; }
67
- .button-shopping-cart button.button { float: left; background: none; padding-left: 0px; }
68
- .button-shopping-cart button.button span { background:url("../images/buttonshopcart.png") repeat scroll 0 0 transparent; border: none; padding: 0px; }
69
- .button-shopping-cart button.button span span { height: 28px; line-height: 28px; padding-left: 32px; padding-right: 8px; }
70
- .button-shopping-cart .btn-cart { margin-left: 10px; }
71
- button.button{ text-transform: uppercase; }
72
- .products-right { float: left; width: 98%; border-top: 1px solid #ededed; border-bottom: 1px solid #ededed; color: #6f5651; text-transform: uppercase; margin-bottom: 6px; font-family:Arial; font-size: 26px; }
73
- .category-products-right .products-list .product-image { width: 159px; height: 152px; }
74
- .category-products-right .sticker-top-right { float: right; position: absolute; top: 20px; right: 23px; }
75
- .category-products-right .products-list li.item { padding: 0px; }
76
- .category-products-right .item { float: left; width: 100%; position: relative; }
77
- .category-products-right .products-list .product-shop { margin-left: 0px; width: 100%; float: left; }
78
- .products-list .product-name a { text-decoration: none; text-transform: capitalize; font-family:Arial; font-size: 12px; }
79
- .products-list .desc, .product-feature .desc { overflow: hidden; margin: 0 0 6px; }
80
- .products-list .desc{ font-family:Arial; font-size: 12px; }
81
- .short-description { overflow: hidden; padding-bottom: 20px; padding-top: 5px; }
82
- .short-description-pro { height: 80px; overflow: hidden; padding-bottom: 18px; padding-top: 0px; }
83
- .short-description-related { overflow: hidden; padding-bottom: 0px; padding-top: 5px; }
84
- .price-box { float: left; width: 100%; padding-top: 0px; margin-top: 10px; }
85
- .price-box p { float: left; }
86
- .products-list .price-box { line-height: 20px; }
87
- .old-price { margin-right: 20px; }
88
- .old-price .price { color: #CCCCCC; font-size: 13px; font-weight: bold; }
89
- .price-box .price-label { display: inline-block; }
90
- .special-price .price, .regular-price .price,.price-box .price { color: #6f5651; font-family: oswald; font-size: 13pt; font-weight: normal; }
91
- .products-list .old-price .price { font-size: 12px; }
92
- .product-list .price-box .price-to { float: right; }
93
- .category-products-right .product-shop .button,.category-products-right .product-shop .add-to-links { display: none; }
94
- .right-adv { float: left; }
95
- .col-main { width: 666px; margin-left: 6px;}
96
- .main-bottom { background-image: url("../images/mainbottom.png"); background-repeat:repeat-x; float: left; width: 940px; height: 40px; margin-left: -19px; }
97
- .product-feature h3 { border-bottom: 1px solid #ededed; border-top: 1px solid #ededed; color: #6f5651; font-family: Arial; font-size: 24px; text-transform: uppercase; font-weight: normal; }
98
- .product-feature ul { padding: 0px; }
99
- .product-feature ul li { list-style: none; }
100
- .product-feature .item { float: left; width: 205px; margin-right: 25px; margin-bottom: 45px; }
101
- .product-feature .item.last { margin-right: 0px; }
102
- .product-feature .item .product-img { width: 205px; height: 150px; }
103
- .product-feature .product-name { width: 100%; height: 40px; overflow: hidden; }
104
- .product-feature .product-name a { color: #666666; text-decoration: none; font-size: 12px; font-weight: bold; font-family:arial; }
105
- .product-feature .desc { color: #666666; text-decoration: none; font-size: 12px; font-family:arial; }
106
- button.button span { background: none; border: none; }
107
- button.button { background:url("../images/apptocart.png") repeat-x scroll 0 0 transparent; border: none; line-height: 16px; padding-left: 23px; }
108
- button.button:hover { background:url("../images/apptocarthover.png") repeat-x scroll 0 0 transparent; }
109
- .info-tech-product{ width:99%; margin-top:0px; }
110
- .btn-detail { background-color: #CACDD1; background-image: url("../images/bg-btn-details.gif"); border: 1px solid #DDDDDD; color: #6D6D6D; display: inline-block; font-family: oswald; font-size: 12pt; font-weight: normal; padding: 0 10px 0 36px; text-decoration: none; text-transform: uppercase; margin-top:4px; }
111
- /* =================================================== */
112
- .set-status-enable { display: block; }
113
- .set-status-disable { display: none; }
114
- /* Custom detail button */
115
- /* =================================================== */
116
- .product-feature .btn-detail { float: left; margin-top: 5px; background:url("../images/detail.png") no-repeat scroll 0 0 transparent; height: 30px; width: 89px; }
117
- .product-feature .btn-detail:hover { background:url("../images/detail.png") no-repeat scroll 0 0 transparent; }
118
- .product-feature .btn-detail span, .block-viewed { display: none; }
119
- /* =================================================== */
120
- /* Custom footer blocks */
121
- /* =================================================== */
122
- .footer-top { float: left; margin-left: -17px; width: 940px; background:url("../images/mainbottom.png") repeat-x scroll 0 50px transparent; border-bottom: 1px solid #EBEBEB; }
123
- .block-subscribe { float: left; margin-top: 10px; margin-left: 20px; width: 290px; }
124
- .footer .block .block-title,.footer .block-subscribe .block-title strong,.footer .block-content { background: none; padding: 0px; text-align: left; border: none; }
125
- .footer .block .block-title strong span, .call-toll-free .call-title { font-size: 14pt; color: #f4a910; text-transform: uppercase; font-family:Oswald; }
126
- .block-title-subscribe { font-size: 14pt; color: #f4a910; text-transform: uppercase; font-family:Oswald; font-weight: normal; text-align: left; }
127
- .free_shipping .free_shipping-left .free_shipping_title { color: #6f5651; font-size: 14pt; text-transform: uppercase; font-family:oswald; font-weight:normal; }
128
- .form-subscribe-header label { display: none; }
129
- .block-subscribe input.input-text { float: left; width: 216px; height: 22px; margin-right: 5px; }
130
- .btn-submit { background-color: #000000; background-image: url("../images/submit.png"); border: 0px solid #333333; color: #FFFFFF; display: inline-block; font-family: arial; font-size: 12px; font-weight: normal; padding: 5px 10px; text-decoration: none; text-transform: capitalize; }
131
- .footer .block-content { width:295px; }
132
- .footer .validation-advice,.footer .input-box { width: 210px; float: left; }
133
- .footer .block-content .actions { float: right; }
134
- .footer button.button { font-weight: bold; color: #fff; padding: 0px; height: 28px; width: 69px; background:url("../images/submit.png") no-repeat scroll 0 0 transparent; }
135
- .footer button.button span { display: none; }
136
- .netq-search button.button { background: none; padding-left: 0px; }
137
- .call-toll-free { float: left; margin-left: 90px; margin-top: 8px; text-align: left; }
138
- .call-toll-free .number-call { font-size: 24px; color: #6f5651; line-height: 24px; font-family: Georgia; }
139
- .call-toll-free p, .free_shipping-left p { color: #6e6e6e; }
140
- .block-subscribe .block-content { float: left; margin-top: 1px; }
141
- .free_shipping { float: right; margin-right: 15px; }
142
- .free_shipping-left { float: left; width: 133px; text-align: left; margin-top: 7px; }
143
- .free_shipping-right { float: right; color: #f4a910; font-size: 55px; line-height: 65px; font-family: Georgia; }
144
- .free_shipping_onorder { color: #6f5651; font-size: 15px; font-family: oswald; text-transform: uppercase; }
145
- .footer_social { float: left; width: 910px; text-align: right; padding-right: 30px; padding-bottom: 5px; margin-top: 5px; border-bottom:1px solid #ededed; }
146
- .footer_right { float: right; width: 315px; text-align: left; margin-top: 60px; }
147
- .footer_right_bottom span { margin-top: 20px; float: left; width: 100%; color: #6e6e6e; font-family:Arial; font-size: 12px; }
148
- .footer-links-column-wrapper { float: left; width: 190px; text-align: left; margin-top:20px; }
149
- .footer-links-column-wrapper .heading { font-size: 12px; margin-bottom: 0px; color: #6e6e6e; }
150
- .footer-links-column-wrapper ul li { float: left; width: 100%; color: #969595; }
151
- .bottom-footer { float: left; width: 945px; background:url("../images/fotter_bottom.png") no-repeat scroll 0 0 transparent; height: 20px; margin-bottom: 20px; }
152
- .footer { padding-bottom: 20px; }
153
- /* =================================================== */
154
- /* Custom infor products style */
155
- /* =================================================== */
156
- .box-product { border-bottom: 1px dotted #EDEDED; height: 166px; margin-bottom: 25px; padding-bottom: 20px; width: 98%; }
157
- .img-product { border: 0 solid #EDEDED; float: left; padding: 5px 25px 5px 0; width: 23%; }
158
- .img-product-related { float: left; padding: 2px 2px 20px; width: 99%; }
159
- .content-product { border: 0 solid #EDEDED; float: left; padding: 0 15px 0 10px; width: 46%; }
160
- .content-product-related { border: 0px solid #ededed; float: left; padding: 2px; width: 100%; }
161
- .button-new-available { border: 0 solid #ededed; height: 38px; width: 100%; }
162
- .title-description { border: 0px solid #ededed; width: 100%; height:90px; }
163
- .cart-detail { border: 0 solid #EDEDED; float: left; padding: 25px 2px 2px; width: 22%; }
164
- .box-products-related { float: left; width: 33%; }
165
- .similar-products { border-bottom: 1px solid #ededed; border-top: 1px solid #ededed; color: #634D48; margin-bottom: 20px; margin-top: 30px; padding-bottom: 3px; padding-top: 3px; width: 100%; }
166
- .label-new, .label-available { font-family: Arial; font-size: 12px; font-weight: bold; padding: 3px 11px; text-align: center; float: left; }
167
- .label-new { width: 38px; background-color: #6F5651; color: #FFFFFF; margin-right:10px; }
168
- .header-text-hidden { width: 168px; height:18px; overflow: hidden; }
169
- /* =================================================== */
170
- /* Custom label add to cart */
171
- /* =================================================== */
172
- .add-to-cart-blue .label-new { width: 38px; background-color: #ff4c29; color: #FFFFFF; margin-right:10px; }
173
- .add-to-cart-green .label-new { width: 38px; background-color: #f36d00; color: #FFFFFF; margin-right:10px; }
174
- /* =================================================== */
175
- .label-available { width: 68px; background-color: #e7e7e7; color: #666666; }
176
- .part1-price-bundle { width: 100%; height: 90px; }
177
- .ma2-addtocart { width: 100%; }
178
- .ma2-detail { width: 100%; }
179
- .box-demo-social { float: right; padding-top:0px; padding-right:10px; padding-bottom:10px; }
180
- .total-items-view { color: #666666; font-size: 12px; text-transform: capitalize; font-family: Arial; padding-top: 10px; padding-right: 5px; float:right; }
181
- .box-review1, .box-review4, .box-review5, .box-review6, .box-viewmore, .btn-viewmore { width: 100%; }
182
- .box-review2, .box-review3 { width: 50%; }
183
- .box-review2, .box-review3, .box-review4, .box-review5 { float: left; }
184
- .box-review3 { padding-top: 0px; }
185
- .box-review5 { margin-top: 6px; }
186
- .box-review6 { padding-top: 15px; }
187
- .box-view { width: 100%; text-align: justify; }
188
- .box-view-btn { width: 123px; text-align: center; }
189
- .btn-viewmore { color:#666666; font-weight: bold; font-size: 12px; text-align: center; background: url("../images/entry_edit_head_arrow_up.gif") no-repeat scroll 96% 38% transparent; background-size: 19px; display: block; list-style: none outside none; height:20px; padding-top:3px; }
190
- .btn-viewless { color:#666666; font-weight: bold; font-size: 12px; text-align: center; background: url("../images/entry_edit_head_arrow_down.gif") no-repeat scroll 96% 38% transparent; background-size: 19px; display: block; list-style: none outside none; height:20px; padding-top:3px; }
191
- .title-list-category { border-bottom: 1px solid #EDEDED; border-top: 1px solid #EDEDED; height: 33px; padding-bottom: 5px; padding-top: 2px; width: 98%; }
192
- .title-category-page { float: left; width: 38%; font-size: 26px; }
193
- .button-view-more { float: left; width: 22%; padding-top:6px; }
194
- .total-products-view { float: left; width: 36%; }
195
- .footer-newreference { width:945px ; margin:0 auto; }
196
- option[-moz-option-selected] { color: red !important; background-color: #EBEBEB !important; }
197
- .item-selected-option { color:Red; font-weight:bold; background-color:yellow; }
198
- .item-option { color:#333; background-color:#EBEBEB; }
199
- .format-span { font-family: oswald; font-size: 24px; font-weight: normal; }
200
- .template-box-product-grid, .template-box-product-list { padding-top: 2px; float:left; }
201
- .template-box-product-grid { margin-right:6px; margin-bottom:8px; width: 32%; text-align: left !important; }
202
- .template-box-product-list { margin-bottom: 10px; margin-right: 6px; padding-top: 10px; width: 48%; }
203
- .box-image { float: right; width: 100%; }
204
- .box-image-list { width: 30%; float: left; }
205
- .box-name { border-bottom: 1px solid #EBEBEB; width: 100%; }
206
- .box-name-list { float: right; border-bottom: 1px solid #EBEBEB; float: left; margin-bottom: 6px; margin-top: 6px; padding-top: 2px; width: 69%; }
207
- .box-add-to-cart-list { float: right; margin-top: 10px; width: 100%; }
208
- .box-price { width: 100%; }
209
- .box-price-list { float: left; padding-bottom: 10px; width: 69%; }
210
- .format-span-price1 { text-decoration: line-through; color:#ccc; }
211
- .format-span-price2 { font-family: oswald; font-size: 13pt; font-weight: normal; }
212
- .slideshow-title { color:#f4a810; }
213
- /* edit breadcrumb */
214
- #ma2-icon-nav-breadcrum { border: 0 none; height: 23px; margin-left: -2px; margin-right: -2px; margin-top: -5px; vertical-align: top; width: 18px; }
215
- .block-related { margin-top:1px; }
216
- body.catalog-category-view .main #breadcrumbs ul.ma2-nav-breadcrum,
217
- body.catalogsearch-result-index .main #breadcrumbs ul.ma2-nav-breadcrum ,
218
- body.catalog-product-view .main #breadcrumbs ul.ma2-nav-breadcrum { margin:0px; padding:0px; padding-left:6px; }
219
- body.catalog-category-view .main #breadcrumbs div.breadcrumbs,
220
- body.catalog-product-view .main #breadcrumbs div.breadcrumbs { padding:0px; }
221
- /* stylesheet custom for sale */
222
- /* ============================================================= */
223
- img.sticker-top-right { position: absolute; right: 9px; z-index:6; }
224
- .ma2-actions { /* bottom: -68px; position: absolute; */ }
225
- ul.products-grid-bar { margin: 0 auto; width: 100%; padding:0; }
226
- /* stylesheet custom for datasheet */
227
- /* ============================================================= */
228
- dd.tab-container { margin:0px; }
229
- span.tab-title-view { color: #E26703; font-size: 12px; font-weight: bold; padding: 0 0 1px; }
230
- .tab-rev { display:none; }
231
- .tab-content-datasheet { background: none repeat scroll 0 0 #f5f5f5; font-size: 12px; padding: 1.2em 1em; border:1px solid #eee; }
232
- .tab-list .tab-content-datasheet { overflow:hidden; }
233
- .ma2-img-demo { width:93%; }
234
- div.product-collateral { padding-top:0px; }
235
- /* stylesheet custom for product list */
236
- /* ========================================================== */
237
- .f-fix-first{ width:68%; float:left; padding-right:15px; }
238
- .f-fix-last { width:28%; float:left; }
239
- ul.add-to-links { padding:0px; }
240
- ol.products-list { padding:0px; }
241
- /*preset style for the text-color of cart*/
242
- /* ========================================= */
243
- .header .links li { background: none; float: right; font-size: 12px; font-weight: bold; }
244
- .header .links li a { text-decoration: none; }
245
- .header .links li a span.ma2-cart span { font-weight: none; color: #7e7e7e; }
246
- /* color for text-cart */
247
- .header .links li a span.ma2-cart,
248
- .header .links li a span.ma2-checkout { font-weight: none; color: #FF4000; }
249
- /* preset style for button addToCart */
250
- .ma2-detail a:hover { text-decoration:none; font-family: oswald; font-weight:normal;}
251
- /* ====================================== */
252
- .slideshow-title { text-transform: uppercase; }
253
- /* preset-style color to text of product */
254
- /* ============================================== */
255
- .product-title{ min-height:33px; }
256
- .product-title-relative { min-height:22px; }
257
- .product-title h5 a,
258
- .product-title-relative h5 a,
259
- .item-content .short-description-product { color:#666666; padding-bottom: 10px;}
260
- .rating-links,
261
- .rating-links .amount a,
262
- .box-Email .email-friend a { color:#888888; }
263
- /* style for footer */
264
- /* =========================================== */
265
- .footer-top-top,
266
- .footer-top-bottom { float:left; width:100%; text-align:left; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * MagenMarket.com
3
+ *
4
+ * NOTICE OF LICENSE
5
+ *
6
+ * This source file is subject to the Open Software License (OSL 3.0)
7
+ * that is bundled with this package in the file LICENSE.txt.
8
+ * It is also available through the world-wide-web at this URL:
9
+ * http://opensource.org/licenses/osl-3.0.php
10
+ *
11
+ * DISCLAIMER
12
+ *
13
+ * Edit or modify this file with yourown risk.
14
+ *
15
+ * @category Themes
16
+ * @package Ma2_Default theme
17
+ * @copyright Copyright (coffee) 2013 MagenMarket, http://www.magenmarket.com
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ **/
20
+ /* $Id: custom.css 15 2013-12-25 04:31:20Z minhnv $ */
21
+
22
+ * {
23
+ margin: 0;
24
+ padding: 0;
25
+ }
26
+
27
+ /* PresetStyles Control box */
28
+ #ma2styles-control-box{
29
+ left: 0;
30
+ position: fixed;
31
+ top: 0px;
32
+ z-index: 35101;
33
+ }
34
+ a.presetstyles-btn{
35
+ background: url("../images/presetstyles-btn.png") no-repeat;
36
+ width: 40px;
37
+ height: 30px;
38
+ display: block;
39
+ }
40
+ #ma2-theme-styles{
41
+ background: #F5F5F5;
42
+ border: 1px solid #ddd;
43
+ left: 0;
44
+ padding: 10px;
45
+ position: fixed;
46
+ top: 30px;
47
+ z-index: 35101;
48
+ }
49
+ label#params_demo_preset-lbl{
50
+ font-size: 14px;
51
+ font-weight: normal;
52
+ line-height: 20px;
53
+ }
54
+ fieldset#params_demo_preset input[type="radio"]{
55
+ float: left;
56
+ margin-right: 5px;
57
+ margin-top: 2px;
58
+ width: auto;
59
+ }
60
+ button.apply-btn{
61
+ cursor: pointer;
62
+ }
63
+ fieldset#params_demo_preset label{
64
+ display: block;
65
+ margin-bottom: 5px;
66
+ font-size: 14px;
67
+ font-weight: normal;
68
+ line-height: 20px;
69
+ }
70
+
71
+ /* MA2 BLOCKS */
72
+ .blocks-wrapper{
73
+
74
+ }
75
+ .blocks-wrapper .block{
76
+ margin-bottom: 20px;
77
+ overflow: hidden;
78
+ }
79
+ .blocks-wrapper .block-first{
80
+
81
+ }
82
+ .blocks-wrapper .block-midle{
83
+
84
+ }
85
+ .blocks-wrapper .block-last{
86
+
87
+ }
88
+ .blocks-sample .block,
89
+ .blocks-sample .widget{
90
+ margin-bottom: 20px;
91
+ clear: both;
92
+ }
93
+ /* MA2 BLOCKS END */
94
+
95
+ /* CUSTOM WIDTH */
96
+ .width1 {
97
+ width: 1%;
98
+ }
99
+ .width2 {
100
+ width: 2%;
101
+ }
102
+ .width3 {
103
+ width: 3%;
104
+ }
105
+ .width4 {
106
+ width: 4%;
107
+ }
108
+ .width5 {
109
+ width: 5%;
110
+ }
111
+ .width6 {
112
+ width: 6%;
113
+ }
114
+ .width7 {
115
+ width: 7%;
116
+ }
117
+ .width8 {
118
+ width: 8%;
119
+ }
120
+ .width9 {
121
+ width: 9%;
122
+ }
123
+ .width10 {
124
+ width: 10%;
125
+ }
126
+ .width11 {
127
+ width: 11%;
128
+ }
129
+ .width12 {
130
+ width: 12%;
131
+ }
132
+ .width13 {
133
+ width: 13%;
134
+ }
135
+ .width14 {
136
+ width: 14%;
137
+ }
138
+ .width15 {
139
+ width: 15%;
140
+ }
141
+ .width16 {
142
+ width: 16%;
143
+ }
144
+ .width17 {
145
+ width: 17%;
146
+ }
147
+ .width18 {
148
+ width: 18%;
149
+ }
150
+ .width19 {
151
+ width: 19%;
152
+ }
153
+ .width20 {
154
+ width: 20%;
155
+ }
156
+ .width21 {
157
+ width: 21%;
158
+ }
159
+ .width22 {
160
+ width: 22%;
161
+ }
162
+ .width23 {
163
+ width: 23%;
164
+ }
165
+ .width24 {
166
+ width: 24%;
167
+ }
168
+ .width25 {
169
+ width: 25%;
170
+ }
171
+ .width26 {
172
+ width: 26%;
173
+ }
174
+ .width27 {
175
+ width: 27%;
176
+ }
177
+ .width28 {
178
+ width: 28%;
179
+ }
180
+ .width29 {
181
+ width: 29%;
182
+ }
183
+ .width30 {
184
+ width: 30%;
185
+ }
186
+ .width31 {
187
+ width: 31%;
188
+ }
189
+ .width32 {
190
+ width: 32%;
191
+ }
192
+ .width33 {
193
+ width: 33.3333333333%;
194
+ }
195
+ .width34 {
196
+ width: 34%;
197
+ }
198
+ .width35 {
199
+ width: 35%;
200
+ }
201
+ .width36 {
202
+ width: 36%;
203
+ }
204
+ .width37 {
205
+ width: 37%;
206
+ }
207
+ .width38 {
208
+ width: 38%;
209
+ }
210
+ .width39 {
211
+ width: 39%;
212
+ }
213
+ .width40 {
214
+ width: 40%;
215
+ }
216
+ .width41 {
217
+ width: 41%;
218
+ }
219
+ .width42 {
220
+ width: 42%;
221
+ }
222
+ .width43 {
223
+ width: 43%;
224
+ }
225
+ .width44 {
226
+ width: 44%;
227
+ }
228
+ .width45 {
229
+ width: 45%;
230
+ }
231
+ .width46 {
232
+ width: 46%;
233
+ }
234
+ .width47 {
235
+ width: 47%;
236
+ }
237
+ .width48 {
238
+ width: 48%;
239
+ }
240
+ .width49 {
241
+ width: 49%;
242
+ }
243
+ .width50 {
244
+ width: 50%;
245
+ }
246
+ .width51 {
247
+ width: 51%;
248
+ }
249
+ .width52 {
250
+ width: 52%;
251
+ }
252
+ .width53 {
253
+ width: 53%;
254
+ }
255
+ .width54 {
256
+ width: 54%;
257
+ }
258
+ .width55 {
259
+ width: 55%;
260
+ }
261
+ .width56 {
262
+ width: 56%;
263
+ }
264
+ .width57 {
265
+ width: 57%;
266
+ }
267
+ .width58 {
268
+ width: 58%;
269
+ }
270
+ .width59 {
271
+ width: 59%;
272
+ }
273
+ .width60 {
274
+ width: 60%;
275
+ }
276
+ .width61 {
277
+ width: 61%;
278
+ }
279
+ .width62 {
280
+ width: 62%;
281
+ }
282
+ .width63 {
283
+ width: 63%;
284
+ }
285
+ .width64 {
286
+ width: 64%;
287
+ }
288
+ .width65 {
289
+ width: 65%;
290
+ }
291
+ .width66 {
292
+ width: 66%;
293
+ }
294
+ .width67 {
295
+ width: 67%;
296
+ }
297
+ .width68 {
298
+ width: 68%;
299
+ }
300
+ .width69 {
301
+ width: 69%;
302
+ }
303
+ .width70 {
304
+ width: 70%;
305
+ }
306
+ .width71 {
307
+ width: 71%;
308
+ }
309
+ .width72 {
310
+ width: 72%;
311
+ }
312
+ .width73 {
313
+ width: 73%;
314
+ }
315
+ .width74 {
316
+ width: 74%;
317
+ }
318
+ .width75 {
319
+ width: 75%;
320
+ }
321
+ .width76 {
322
+ width: 76%;
323
+ }
324
+ .width77 {
325
+ width: 77%;
326
+ }
327
+ .width78 {
328
+ width: 78%;
329
+ }
330
+ .width79 {
331
+ width: 79%;
332
+ }
333
+ .width81 {
334
+ width: 81%;
335
+ }
336
+ .width82 {
337
+ width: 82%;
338
+ }
339
+ .width83 {
340
+ width: 83%;
341
+ }
342
+ .width84 {
343
+ width: 84%;
344
+ }
345
+ .width85 {
346
+ width: 85%;
347
+ }
348
+ .width86 {
349
+ width: 86%;
350
+ }
351
+ .width87 {
352
+ width: 87%;
353
+ }
354
+ .width88 {
355
+ width: 88%;
356
+ }
357
+ .width89 {
358
+ width: 89%;
359
+ }
360
+ .width90 {
361
+ width: 90%;
362
+ }
363
+ .width91 {
364
+ width: 91%;
365
+ }
366
+ .width92 {
367
+ width: 92%;
368
+ }
369
+ .width93 {
370
+ width: 93%;
371
+ }
372
+ .width94 {
373
+ width: 94%;
374
+ }
375
+ .width95 {
376
+ width: 95%;
377
+ }
378
+ .width96 {
379
+ width: 96%;
380
+ }
381
+ .width97 {
382
+ width: 97%;
383
+ }
384
+ .width98 {
385
+ width: 98%;
386
+ }
387
+ .width99 {
388
+ width: 99%;
389
+ }
390
+ .width100 {
391
+ width: 100%;
392
+ }
393
+
394
+
395
+ /*================== Custom Css ================== */
396
+ /* ============================================================ */
397
+ .clear {
398
+ clear: both;
399
+ }
400
+
401
+ .max-width {
402
+ max-width: 100%;
403
+ }
404
+
405
+ button.button span {
406
+ background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
407
+ border: medium none;
408
+ }
409
+
410
+ button.button { text-transform: uppercase; }
411
+ button.btn-cart { padding-left: 23px; line-height: 16px; }
412
+ button.btn-cart span {
413
+ display: block;
414
+ font-family: oswald;
415
+ font-size: 12pt;
416
+ font-weight: normal;
417
+ padding: 3px 8px;
418
+ text-align: center;
419
+ white-space: nowrap;
420
+ }
421
+ button.btn-submit {
422
+ background-color: #000000;
423
+ background-image: url("../images/submit.png");
424
+ border: 0 solid #333333;
425
+ color: #FFFFFF;
426
+ display: inline-block;
427
+ font-family: arial;
428
+ font-size: 12px;
429
+ font-weight: normal;
430
+ padding: 5px 10px;
431
+ text-decoration: none;
432
+ text-transform: capitalize;
433
+ }
434
+ .btn-detail {
435
+ background-color: #CACDD1;
436
+ background-image: url("../images/bg-btn-details.gif");
437
+ border: 1px solid #DDDDDD;
438
+ color: #333333;
439
+ display: inline-block;
440
+ font-family: oswald;
441
+ font-size: 12pt;
442
+ font-weight: normal;
443
+ margin-top: 4px;
444
+ padding: 0 10px 0 36px;
445
+ text-decoration: none;
446
+ text-transform: uppercase;
447
+ cursor: pointer;
448
+ }
449
+
450
+ /*========= CSS Preset Styles ========= */
451
+ /* ============================================================ */
452
+ #smenu{ position:fixed; right: -40px; top: 26%; z-index:9999; padding-top:4px; padding-bottom:4px; background-color: #FFFFF2; border-radius: 5px 0 0 5px; -o-border-radius: 5px 0 0 5px; -moz-border-radius: 5px 0 0 5px; -webkit-border-radius: 5px 0 0 5px; box-shadow: 5px 5px 5px 0 rgba(0, 0, 0, 0.1); -o-box-shadow: 5px 5px 5px 0 rgba(0, 0, 0, 0.1); -moz-box-shadow: 5px 5px 5px 0 rgba(0, 0, 0, 0.1); -webkit-box-shadow: 5px 5px 5px 0 rgba(0, 0, 0, 0.1); }
453
+ #smenu:hover { position:fixed; right: 0px; top: 26%; z-index:9999; transition: all 0.5s ease; -o-transition: all 0.5s ease; -webkit-transition: all 0.5s ease; -moz-transition: all 0.5s ease; }
454
+ .below-menu { display:none; position:relative; width:99%; background-color:#EBEBEB; }
455
+
456
+ ul#devices { list-style: none outside none; position: relative; padding-left:40px; padding-top:20px; padding-bottom:20px; background:url("../images/nav-item.gif") no-repeat 0 0 transparent; }
457
+ ul#devices li a { display: inline-block; height: 28px; padding-left: 2px; text-decoration: none; }
458
+ ul#devices li#item-yellow a,
459
+ ul#devices li#item-blue a,
460
+ ul#devices li#item-green a { font-family:Arial: font-size:12px; font-weight:bold; }
461
+ ul#devices li#item-yellow a { color:#e96b07; }
462
+ ul#devices li#item-blue a { color:#00468C; }
463
+ ul#devices li#item-green a { color:#7ba62f; }
464
+ ul#devices li#item-blue-bg a { width:28px; background: url("../images/blue.gif") no-repeat scroll 0 0 transparent; }
465
+ ul#devices li#item-blue-bg a:hover { background: url("../images/blue.gif") no-repeat scroll 0 -30px transparent; }
466
+ ul#devices li#item-green-bg a { width:28px; background: url("../images/green.gif") no-repeat scroll 0 0 transparent; }
467
+ ul#devices li#item-green-bg a:hover { background: url("../images/green.gif") no-repeat scroll 0 -30px transparent; }
468
+ ul#devices li#item-yellow-bg a { width:28px; background: url("../images/yellow.gif") no-repeat scroll 0 0 transparent; }
469
+ ul#devices li#item-yellow-bg a:hover { background: url("../images/yellow.gif") no-repeat scroll 0 -30px transparent; }
470
+
471
+
472
+ /*====== Custom Header ======*/
473
+ /* ============================================================ */
474
+ .header-container, .nav-container, .main-container { background: none; }
475
+ .header-container {
476
+ background-attachment: scroll;
477
+ background-color: transparent;
478
+ background-image: url("../images/header-container-top.png");
479
+ background-position: 0 0;
480
+ background-repeat: repeat-x;
481
+ }
482
+ .header { padding: 0px; margin: 0 auto; }
483
+ .header .logo { margin: 0px; }
484
+ .header-top-links { float: left; line-height: 35px; font-size: 12px; color: #FFF; }
485
+ .header-top-link a { font-weight: bold; text-decoration: none; color: #f0f0f0; margin-left: 10px; }
486
+ .header-top-link a:hover { text-decoration: underline; }
487
+ .header-top { float: right; width: 717px; }
488
+ .header .form-search { background: none; float: left; position:relative; height: 35px; top: 50px; right: 0px; left: 50px; width: 458px; }
489
+ .header .form-search input.input-text {
490
+ height: 25px;
491
+ width: 350px;
492
+ margin-right: 0px;
493
+ border: 1px solid #dfdede;
494
+ border-right: none;
495
+ }
496
+ .header .form-search label { display: none; }
497
+ .header .form-search button.button span { background: none; height: 30px; padding: 0; }
498
+ .header .form-search button.button span span { background:url("../images/btn_search.png") no-repeat scroll 0 0 transparent; font-size: 0; height: 31px; width: 96px; margin: 0; padding: 0; }
499
+ .header .input-text-mini-search,
500
+ .header .button-mini-search { float:left; }
501
+ .header .quick-access { padding: 30px 0 0; margin:0px; width: 220px; float:right; }
502
+ .quick-access .links { width: 100%; height:35px; padding-top: 10px; padding-right: 0px; margin-top: 8px; }
503
+
504
+ .header .links li { background: none; float: right; font-size: 12px; font-weight: bold; padding: 0 8px; }
505
+ .header .links li a { text-decoration: none; }
506
+ .header .links li a span.ma2-cart span { color: #A4A4A4; font-weight: normal; }
507
+ .header .links li a span.ma2-cart,
508
+ .header .links li a span.ma2-checkout { font-weight: none; color: #FF4000; }
509
+
510
+ .omg-custom-link { width: 100%; }
511
+ .omg-link { width: 75%; float: left; }
512
+ .omg-icon-link { width: 25%; float: left; }
513
+ .omg-icon-img { margin-top: 14px; margin-right: 18px; }
514
+
515
+ .netq-login { float:right; width: 255px; height: 34px; background: url("../images/loginleft.png") no-repeat scroll 0 0 transparent; line-height: 34px; height: 34px; text-align: center; }
516
+ .netq-login a, .netq-login span { color: #FFF; margin-right: 5px; }
517
+ .netq-login a { color: #FFFFFF; text-decoration: underline; }
518
+ .netq-login .welcome-msg { font-size: 12px; text-align: center; }
519
+
520
+ input, select, textarea, button { color: #a4a4a4; }
521
+
522
+
523
+ /*====== Custom SlideShow, Banner Maintop 1 ======*/
524
+ /* ============================================================ */
525
+ .slideshow-maintop1{
526
+ float:left;
527
+ margin: 5px 0 15px 15px;
528
+ }
529
+ .banner-maintop1 {
530
+ float: right;
531
+ margin: 5px 15px 15px 0;
532
+ text-align: right;
533
+ }
534
+ .banner-bottom {
535
+ background-image: url("../images/banner-bottom.png");
536
+ background-repeat: repeat-x;
537
+ background-attachment: scroll;
538
+ background-position: 0 0;
539
+ background-color: transparent;
540
+ color: #FFFFFF;
541
+ font-family: Arial;
542
+ font-size: 24px;
543
+ font-style: italic;
544
+ font-weight: bold;
545
+ height: 51px;
546
+ line-height: 50px;
547
+ text-align: center;
548
+ text-transform: uppercase;
549
+ padding: 5px 15px;
550
+ }
551
+ .banner-bottom a {
552
+ color: #FFFFFF;
553
+ font-size: 12px;
554
+ text-decoration: none;
555
+ text-transform: capitalize;
556
+ }
557
+ .banner-maintop2 {
558
+ padding: 0 15px 5px;
559
+ }
560
+ .manufacturers-maintop3 {
561
+ background-image: url("../images/manufacturers.png");
562
+ background-repeat: repeat-x;
563
+ background-attachment: scroll;
564
+ background-position: 0 0;
565
+ background-color: transparent;
566
+ float: left;
567
+ height: 80px;
568
+ margin-top: 20px;
569
+ margin-left: 3px;
570
+ padding-left: 15px;
571
+ width: 924px;
572
+ }
573
+ .manufacturer {
574
+ background-image: url("../images/manufacturersright.png");
575
+ background-repeat: no-repeat;
576
+ background-attachment: scroll;
577
+ background-position: right 0;
578
+ background-color: transparent;
579
+ float: left;
580
+ height: 55px;
581
+ }
582
+ .ma2-manufacturers .last {
583
+ background: none;
584
+ }
585
+ /*====== Custom Product Lists ======*/
586
+ /* ============================================================ */
587
+ .product-title {
588
+ min-height: 33px;
589
+ }
590
+ .price-box {
591
+ float: left;
592
+ margin-top: 10px;
593
+ padding-top: 0;
594
+ width: 100%;
595
+ }
596
+ .price-box p {
597
+ float: left;
598
+ }
599
+ .price-to {
600
+ margin: 0;
601
+ width: 100%;
602
+ }
603
+ .price-from {
604
+ margin: 0;
605
+ width: 100%;
606
+ }
607
+ ul.add-to-links {
608
+ padding: 0;
609
+ }
610
+ .add-to-links {
611
+ font-size: 11px;
612
+ margin: 5px 0 0;
613
+ }
614
+ .link-wishlist {
615
+ color: #DC6809 !important;
616
+ font-weight: bold;
617
+ }
618
+ .price-box .price-label {
619
+ display: inline-block;
620
+ }
621
+
622
+ .container ul.ma2-nav-breadcrum {
623
+ margin: 0;
624
+ padding: 0 20px;
625
+ }
626
+
627
+ .category-products .item-content {
628
+ padding: 12px 10px 80px;
629
+ }
630
+ .special-price .price, .regular-price .price, .price-box .price {
631
+ font-family: oswald;
632
+ font-size: 13pt;
633
+ font-weight: normal;
634
+ }
635
+ .format-span {
636
+ font-family: oswald;
637
+ font-size: 24px;
638
+ font-weight: normal;
639
+ }
640
+ .breadcrumbs li strong {
641
+ font-weight: bold;
642
+ }
643
+ .breadcrumbs {
644
+ font-size: 12px;
645
+ font-weight: bold;
646
+ line-height: 1.25;
647
+ text-transform: uppercase;
648
+ padding-bottom: 0;
649
+ }
650
+ #ma2-icon-nav-breadcrum {
651
+ border: 0 none;
652
+ height: 23px;
653
+ margin-left: -2px;
654
+ margin-right: -2px;
655
+ margin-top: -5px;
656
+ vertical-align: top;
657
+ width: 18px;
658
+ }
659
+ .title-category-page {
660
+ font-size: 26px;
661
+ }
662
+ .title-category-page {
663
+ float: left;
664
+ font-size: 26px;
665
+ width: 38%;
666
+ }
667
+ .title-list-category {
668
+ border-bottom: 1px solid #EDEDED;
669
+ border-top: 1px solid #EDEDED;
670
+ height: 33px;
671
+ padding-bottom: 5px;
672
+ padding-top: 2px;
673
+ width: 98%;
674
+ }
675
+ .button-view-more {
676
+ float: left;
677
+ padding-top: 6px;
678
+ width: 22%;
679
+ }
680
+ .box-view-btn {
681
+ text-align: center;
682
+ width: 123px;
683
+ }
684
+ .btn-viewmore {
685
+ background-image: url("../images/entry_edit_head_arrow_up.gif");
686
+ background-repeat: no-repeat;
687
+ background-attachment: scroll;
688
+ background-position: 96% 38%;
689
+ background-site: 19px auto;
690
+ background-color: transparent;
691
+ color: #666666;
692
+ display: block;
693
+ font-size: 12px;
694
+ font-weight: bold;
695
+ height: 20px;
696
+ list-style: none outside none;
697
+ padding-top: 3px;
698
+ text-align: center;
699
+ }
700
+ .btn-viewless {
701
+ background-image: url("../images/entry_edit_head_arrow_down.gif");
702
+ background-repeat: no-repeat;
703
+ background-attachment: scroll;
704
+ background-position: 96% 38%;
705
+ background-site: 19px auto;
706
+ background-color: transparent;
707
+ color: #666666;
708
+ display: block;
709
+ font-size: 12px;
710
+ font-weight: bold;
711
+ height: 20px;
712
+ list-style: none outside none;
713
+ padding-top: 3px;
714
+ text-align: center;
715
+ }
716
+ .total-products-view {
717
+ float: left;
718
+ width: 36%;
719
+ }
720
+ .total-items-view {
721
+ color: #666666;
722
+ float: right;
723
+ font-family: Arial;
724
+ font-size: 12px;
725
+ padding-right: 5px;
726
+ padding-top: 10px;
727
+ text-transform: capitalize;
728
+ }
729
+ .f-fix {
730
+ float: left;
731
+ text-align: justify;
732
+ width: 100%;
733
+ }
734
+ .f-fix-first {
735
+ float: left;
736
+ padding-right: 15px;
737
+ width: 68%;
738
+ }
739
+ .f-fix-last {
740
+ float: left;
741
+ width: 28%;
742
+ }
743
+ .button-new-available {
744
+ border: 0 solid #EDEDED;
745
+ height: 38px;
746
+ width: 100%;
747
+ }
748
+ .label-new {
749
+ background-color: #6F5651;
750
+ color: #FFFFFF;
751
+ margin-right: 10px;
752
+ }
753
+ .label-available {
754
+ background-color: #E7E7E7;
755
+ color: #666666;
756
+ }
757
+ .label-new, .label-available {
758
+ float: left;
759
+ font-family: Arial;
760
+ font-size: 12px;
761
+ font-weight: bold;
762
+ padding: 3px 10px;
763
+ text-align: center;
764
+ }
765
+
766
+
767
+ /*====== Custom Catalog Product View ======*/
768
+ /* ============================================================ */
769
+
770
+ .item-title-view {
771
+ margin-bottom: 10px;
772
+ }
773
+ .products-right {
774
+ margin-bottom: 5px;
775
+ }
776
+ .item-title-view,
777
+ .products-right {
778
+ border-bottom: 1px solid #EDEDED;
779
+ border-top: 1px solid #EDEDED;
780
+ color: #6F5651;
781
+ font-family: Arial;
782
+ font-size: 26px;
783
+ text-transform: uppercase;
784
+ width: 98%;
785
+ }
786
+ .tab-content-datasheet {
787
+ padding: 20px 10px;
788
+ }
789
+ .rating-links, .rating-links .amount a, .box-Email .email-friend a {
790
+ color: #888888;
791
+ }
792
+ .product-view .product-shop .availability span {
793
+ font-weight: normal;
794
+ }
795
+ .product-view .product-shop .availability {
796
+ margin: 10px 0;
797
+ font-size: 11px;
798
+ }
799
+ .product-view .product-shop .add-to-links li, .product-view .product-shop .add-to-links li .separator {
800
+ display: inline;
801
+ }
802
+ .add-to-box .add-to-links li {
803
+ display: block !important;
804
+ }
805
+ .add-to-box .add-to-links li .separator {
806
+ display: none !important;
807
+ }
808
+ .add-to-box .add-to-cart {
809
+ float: left;
810
+ }
811
+ .box-review2, .box-review3, .box-review4, .box-review5 {
812
+ float: left;
813
+ }
814
+ .box-review2, .box-review3 {
815
+ width: 50%;
816
+ }
817
+ .box-review3 {
818
+ padding-top: 0;
819
+ }
820
+ .box-review2, .box-review3 {
821
+ width: 50%;
822
+ }
823
+ .box-review5 {
824
+ margin-top: 6px;
825
+ }
826
+ .box-review6,
827
+ .box-review8 {
828
+ padding-top: 15px;
829
+ padding-bottom: 15px;
830
+ }
831
+ .box-review1, .box-review4, .box-review5, .box-review6, .box-review8, .box-viewmore, .btn-viewmore {
832
+ width: 100%;
833
+ }
834
+ .box-review9 {
835
+ margin: 10px 0;
836
+ }
837
+ .social-view { width:100%; margin: 10px 0; }
838
+ .box-products-related {
839
+ float: left;
840
+ width: 33%;
841
+ }
842
+ .product-title-relative a {
843
+ color: #333333;
844
+ display: block;
845
+ margin: 15px 0;
846
+ }
847
+
848
+ /*====== Custom Slidebar Shopping Cart ======*/
849
+ /* ============================================================ */
850
+ .block { border: none; }
851
+ .block .block-title { background: #999; }
852
+ .block-cart .block-title strong { background-image: none; padding-left: 5px; }
853
+
854
+ .block .block-title strong span {
855
+ color: #EAE9E9;
856
+ font-family: oswald;
857
+ font-size: 14pt;
858
+ font-weight: normal;
859
+ line-height: 40px;
860
+ }
861
+
862
+ .container .block-viewed strong span,
863
+ .container .block-progress strong span,
864
+ .container .opc-block-progress strong span {
865
+ font-size: 11pt;
866
+ line-height: 25pt;
867
+ }
868
+ .block-cart .block-content { background: url("../images/shoppingcart.png") no-repeat scroll right 0 #f9f9f9; padding-bottom: 15px;}
869
+ .block-cart .empty { color: #F4A910; font-weight: bold; }
870
+ .block-cart .subtotal { background: none repeat scroll 0 0 transparent; float: left; padding: 6px 0; width: 100%; }
871
+ .img-product { width:100%; float:left; text-align:left; }
872
+ .block-cart .label { float: left; }
873
+ .block-cart .subtotal .price { font-weight: normal; float: right; }
874
+ .pro-cus-titl{min-height:18px;}
875
+ .button-shopping-cart { float: left; margin-top: 10px; width: 94%; }
876
+ .button-shopping-cart span, .block-cart .label { font-size: 12px; color: #666; }
877
+ .button-shopping-cart button.button { float: left; background: none; padding-left: 0px; }
878
+ .button-shopping-cart button.button span { background:url("../images/buttonshopcart.png") repeat scroll 0 0 transparent; border: none; padding: 0px; }
879
+ .button-shopping-cart button.button span span { height: 28px; line-height: 28px; padding-left: 15px; padding-right: 8px; }
880
+ .button-shopping-cart .btn-cart { margin-left: 10px; }
881
+
882
+
883
+ /*====== Custom mainbottom2Area ======*/
884
+ /* ============================================================ */
885
+ .blocks-wrapper .block-subscribe,
886
+ .blocks-wrapper .call-toll-free,
887
+ .blocks-wrapper .free_shipping {
888
+ padding: 10px;
889
+ }
890
+ .block-title-subscribe {
891
+ font-family: Oswald;
892
+ font-size: 14pt;
893
+ font-weight: normal;
894
+ text-align: left;
895
+ text-transform: uppercase;
896
+ }
897
+ .block-subscribe input.input-text {
898
+ float: left;
899
+ height: 22px;
900
+ margin-right: 5px;
901
+ width: 190px;
902
+ }
903
+ .form-subscribe-header label {
904
+ display: none;
905
+ }
906
+ .block-subscribe label {
907
+ color: #666666;
908
+ font-weight: bold;
909
+ }
910
+ .block-subscribe .actions {
911
+ background-color: transparent;
912
+ margin: 0;
913
+ padding: 0;
914
+ text-align: left;
915
+ }
916
+ .block-subscribe .block-content {
917
+ padding-left: 0;
918
+ }
919
+
920
+ .call-toll-free p, .free_shipping-left p {
921
+ color: #6E6E6E;
922
+ }
923
+ .call-toll-free .call-title {
924
+ color: #F4A910;
925
+ font-family: Oswald;
926
+ font-size: 14pt;
927
+ text-transform: uppercase;
928
+ }
929
+ .call-toll-free {
930
+ float: left;
931
+ text-align: left;
932
+ }
933
+ .call-toll-free .number-call {
934
+ color: #6F5651;
935
+ font-family: Georgia;
936
+ font-size: 24px;
937
+ line-height: 24px;
938
+ }
939
+
940
+ .free_shipping-right {
941
+ color: #F4A910;
942
+ float: left;
943
+ font-family: Georgia;
944
+ font-size: 55px;
945
+ line-height: 36px;
946
+ }
947
+ .free_shipping-left {
948
+ float: left;
949
+ text-align: left;
950
+ width: 133px;
951
+ }
952
+ .free_shipping .free_shipping-left .free_shipping_title {
953
+ color: #6F5651;
954
+ font-family: oswald;
955
+ font-size: 14pt;
956
+ font-weight: normal;
957
+ text-transform: uppercase;
958
+ }
959
+ .free_shipping_onorder {
960
+ color: #6F5651;
961
+ font-family: oswald;
962
+ font-size: 15px;
963
+ text-transform: uppercase;
964
+ }
965
+
966
+ /*====== Custom mainbottom3Area ======*/
967
+ /* ============================================================ */
968
+ .box-demo-social {
969
+ padding: 10px 20px;
970
+ text-align: right;
971
+ }
972
+
973
+
974
+ /*====== Custom Footer ======*/
975
+ /* ============================================================ */
976
+ .footer .footer1-1, .footer .footer1-2, .footer .footer1-3 {
977
+ float: left;
978
+ width: 20%;
979
+ }
980
+ .footer .footer1-4 {
981
+ float: left;
982
+ width: 40%;
983
+ }
984
+ .footer .footer_right,
985
+ .footer .footer-links-column-wrapper {
986
+ padding: 20px 15px;
987
+ }
988
+ .footer-links-column-wrapper ul li {
989
+ color: #969595;
990
+ float: left;
991
+ width: 100%;
992
+ }
993
+ .footer_right_top {
994
+ margin-bottom: 5px;
995
+ margin-top: 20px;
996
+ }
997
+ .footer .validation-advice, .footer .input-box {
998
+ float: left;
999
+ width: 210px;
1000
+ }
1001
+ .footer .block-content .actions {
1002
+ float: right;
1003
+ }
1004
+ .footer .block .block-title strong span {
1005
+ color: #F4A910;
1006
+ font-family: Oswald;
1007
+ font-size: 14pt;
1008
+ text-transform: uppercase;
1009
+ }
1010
+ .footer .footer2Area {
1011
+ background-image: url("../images/fotter_bottom.png");
1012
+ background-repeat: no-repeat;
1013
+ background-attachment: scroll;
1014
+ background-position: 0 0;
1015
+ background-color: transparent;
1016
+ float: left;
1017
+ height: 20px;
1018
+ margin-bottom: 20px;
1019
+ width: 945px;
1020
+ }
1021
+
1022
+ /*====== Custom SlideShow =======*/
1023
+ /* ============================================== */
1024
+ .container .ma2-slideshow ol.proto-controls li.start-stop a {
1025
+ background-image: none;
1026
+ background-color: transparent;
1027
+ height: 88px;
1028
+ width: 44px;
1029
+ }
skin/frontend/ma2/ante/css/{styles-green.css → green.css} RENAMED
@@ -109,8 +109,8 @@ ul#nav li.parent ul li.parent a:hover { background: url("../images/titlebane.png
109
  /* ================ */
110
  .ma2-preset-style-green .header .links li a span.ma2-cart { font-weight: none; color: #e86900; }
111
  .ma2-preset-style-green .header .links li a span.ma2-cart { font-weight: none; color: #7ba62f; }
112
- .ma2-preset-style-green button.button:hover { background:url("../images/menuactive-green.png") repeat-x scroll 0 0 transparent; }
113
- .ma2-preset-style-green button.button { background:url("../images/apptocart-green.png") repeat-x scroll 0 0 transparent; }
114
  .ma2-preset-style-green .button-shopping-cart button.button span { background:url("../images/buttonshopcartgreenblue.png") repeat scroll 0 0 transparent; }
115
  .ma2-preset-style-green .slideshow-title,
116
  .ma2-preset-style-green .block-cart .empty,
@@ -130,7 +130,7 @@ ul#nav li.parent ul li.parent a:hover { background: url("../images/titlebane.png
130
  .ma2-preset-style-green .catalog-product-title .heading-box-product .format-span span,
131
  .ma2-preset-style-green .page-title h1, .ma2-preset-style-green .page-title h2,
132
  .ma2-preset-style-green .summary .amount a span,
133
- .ma2-preset-style-green .products-right .heading-box-product .format-span span { color:#7aa52f; }
134
  /* preset-style color for breadcrum */
135
  /* ================================== */
136
  .ma2-preset-style-green li.home a,
@@ -161,4 +161,5 @@ ul#nav li.parent ul li.parent a:hover { background: url("../images/titlebane.png
161
  /* style for footer */
162
  /* =========================================== */
163
  .ma2-preset-style-green .footer-top-top,
164
- .ma2-preset-style-green .footer-top-bottom { float:left; width:100%; text-align:left; }
 
109
  /* ================ */
110
  .ma2-preset-style-green .header .links li a span.ma2-cart { font-weight: none; color: #e86900; }
111
  .ma2-preset-style-green .header .links li a span.ma2-cart { font-weight: none; color: #7ba62f; }
112
+ .ma2-preset-style-green button.button:hover { background:url("../images/menuactive-green.png") repeat scroll 0 0 transparent; }
113
+ .ma2-preset-style-green button.button { background:url("../images/apptocart-green.png") repeat scroll 0 0 transparent; }
114
  .ma2-preset-style-green .button-shopping-cart button.button span { background:url("../images/buttonshopcartgreenblue.png") repeat scroll 0 0 transparent; }
115
  .ma2-preset-style-green .slideshow-title,
116
  .ma2-preset-style-green .block-cart .empty,
130
  .ma2-preset-style-green .catalog-product-title .heading-box-product .format-span span,
131
  .ma2-preset-style-green .page-title h1, .ma2-preset-style-green .page-title h2,
132
  .ma2-preset-style-green .summary .amount a span,
133
+ .ma2-preset-style-green .item-title-view .heading-box-product .format-span span { color:#7aa52f; }
134
  /* preset-style color for breadcrum */
135
  /* ================================== */
136
  .ma2-preset-style-green li.home a,
161
  /* style for footer */
162
  /* =========================================== */
163
  .ma2-preset-style-green .footer-top-top,
164
+ .ma2-preset-style-green .footer-top-bottom { float:left; width:100%; text-align:left; }
165
+ .ma2-preset-style-green .footer a { color: #79A42E; }
skin/frontend/ma2/ante/css/images/btn_bg.gif DELETED
Binary file
skin/frontend/ma2/ante/css/images/content_bg.gif DELETED
Binary file
skin/frontend/ma2/ante/css/images/top_bg.gif DELETED
Binary file
skin/frontend/ma2/ante/css/images/window_close.png DELETED
Binary file
skin/frontend/ma2/ante/css/lib/prototype/windows/themes/magento.css DELETED
@@ -1,64 +0,0 @@
1
- /**
2
- * Magento
3
- *
4
- * NOTICE OF LICENSE
5
- *
6
- * This source file is subject to the Academic Free License (AFL 3.0)
7
- * that is bundled with this package in the file LICENSE_AFL.txt.
8
- * It is also available through the world-wide-web at this URL:
9
- * http://opensource.org/licenses/afl-3.0.php
10
- * If you did not receive a copy of the license and are unable to
11
- * obtain it through the world-wide-web, please send an email
12
- * to license@magentocommerce.com so we can send you a copy immediately.
13
- *
14
- * DISCLAIMER
15
- *
16
- * Do not edit or add to this file if you wish to upgrade Magento to newer
17
- * versions in the future. If you wish to customize Magento for your
18
- * needs please refer to http://www.magentocommerce.com for more information.
19
- *
20
- * @category design
21
- * @package base_default
22
- * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
23
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
24
- */
25
- .dialog { border:1px solid #555; }
26
- .dialog .bot { display:none !important; }
27
- .overlay_magento { background-color:#000; filter:alpha(opacity=60); -moz-opacity:.6; opacity:.6; -webkit-opacity:.6; }
28
- .top.table_window { border-bottom:1px solid #e6e6e6; background:#6a838b url(magento/top_bg.gif) 0 100% repeat-x; }
29
-
30
- .magento_nw { width:6px; height:28px; }
31
- .magento_n { height:28px; }
32
- .magento_ne { width:6px; height:28px; }
33
-
34
- .magento_w { width:6px; }
35
- .magento_e { width:6px; }
36
- .magento_w,
37
- .magento_e,
38
- .magento_content { background: #fafafa url(magento/content_bg.gif) 0 0 repeat-x; }
39
-
40
- .magento_sw { background:#deebf0; width:5px; height:3px; }
41
- .magento_s { background:#deebf0; height:3px; }
42
- .magento_se,
43
-
44
- .magento_sizer { background:#deebf0; width:5px; height:3px; }
45
- .magento_sizer { cursor:se-resize; }
46
-
47
- .magento_close { width:16px; height:16px; background:url(magento/window_close.png) no-repeat 0 0; position:absolute; top:5px; right:7px; cursor:pointer; z-index:1000; }
48
- .magento_minimize { width:16px; height:16px; background:url(magento/window_minimize.png) 0 0 no-repeat; position:absolute; top:5px; right:28px; cursor:pointer; z-index:1000; }
49
- .magento_maximize { width:16px; height:16px; background:url(magento/window_maximize.png)0 0 no-repeat; position:absolute; top:5px; right:49px; cursor:pointer; z-index:1000; }
50
-
51
- .magento_title { float:left; width:100%; font:bold 12px/28px Arial, Helvetica, sans-serif; color:#fff; text-align:left; }
52
-
53
- .magento_content { overflow:auto; font-size:12px; }
54
- .magento_content,
55
- .magento_content label { color:#333; font-family:Arial, sans-serif; }
56
-
57
- .magento_buttons { padding:10px; text-align:right; }
58
- .magento_buttons input.button { border-width:1px; border-style:solid; border-color:#ed6502 #a04300 #a04300 #ed6502; background:#ffac47 url(magento/btn_bg.gif) 0 100% repeat-x; padding:0 7px 1px 7px; font:bold 12px/18px Arial, Helvetica, sans-serif; color:#fff; cursor:pointer; text-align:center; white-space:nowrap; }
59
- .magento_buttons button.button span span span { display:inline; background:none; padding:0; height:auto; }
60
-
61
- /* FOR IE */
62
- * html .magento_close { background-image:none; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../themes/magento/window_maximize.png", sizingMethod="crop"); }
63
- * html .magento_minimize { background-image:none; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../themes/magento/window_close.png", sizingMethod="crop");}
64
- * html .magento_maximize { background-image:none; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../themes/magento/window_minimize.png", sizingMethod="crop"); }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
skin/frontend/ma2/ante/css/lib/prototype/windows/themes/magento/btn_bg.gif DELETED
Binary file
skin/frontend/ma2/ante/css/lib/prototype/windows/themes/magento/content_bg.gif DELETED
Binary file
skin/frontend/ma2/ante/css/lib/prototype/windows/themes/magento/top_bg.gif DELETED
Binary file
skin/frontend/ma2/ante/css/lib/prototype/windows/themes/magento/window_close.png DELETED
Binary file
skin/frontend/ma2/ante/css/ma2_featuredproducts/ma2_featuredproducts.css ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * MagenMarket.com
3
+ *
4
+ * NOTICE OF LICENSE
5
+ *
6
+ * This source file is subject to the Open Software License (OSL 3.0)
7
+ * that is bundled with this package in the file LICENSE.txt.
8
+ * It is also available through the world-wide-web at this URL:
9
+ * http://opensource.org/licenses/osl-3.0.php
10
+ *
11
+ * DISCLAIMER
12
+ *
13
+ * Edit or modify this file with yourown risk.
14
+ *
15
+ * @category Extensions
16
+ * @package Ma2_FeaturedProducts
17
+ * @copyright Copyright (c) 2013 MagenMarket. (http://www.magenmarket.com)
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ **/
20
+ /* $Id: ma2_featuredproducts.css 7 2013-11-08 02:21:45Z linhnt $ */
21
+
22
+
23
+ /* = COMMON ==================*/
24
+
25
+ .ma2-featuredproducts {
26
+ margin: 0 0 10px 0;
27
+ padding: 0 0 10px 0;
28
+ display: block; /**/
29
+ }
30
+
31
+ .ma2-featuredproducts .product-items{}
32
+ .ma2-featuredproducts .product-items-inner{}
33
+ .ma2-featuredproducts .product-item{}
34
+
35
+
36
+ /*- Grid view ---*/
37
+ .ma2-featuredproducts.grid-view .product-item{
38
+ float: left;
39
+ }
40
+ .rtl .ma2-featuredproducts.grid-view .product-item{
41
+ float: right;
42
+ }
43
+ .ma2-featuredproducts.grid-view .product-item .product-image img{
44
+ max-width: 100%;
45
+ }
46
+
47
+ /*- List view ---*/
48
+ .ma2-featuredproducts.list-view .product-item{
49
+ float: none;
50
+ clear: both;
51
+ border-bottom: 1px solid #EEE;
52
+ }
53
+ .ma2-featuredproducts.list-view .product-item.last{
54
+ /* border-bottom: 0 none; */
55
+ }
56
+ .ma2-featuredproducts.list-view .product-info {overflow: hidden;}
57
+ .ma2-featuredproducts.list-view .product-item .product-image{
58
+ float: left;
59
+ }
60
+ .rtl .ma2-featuredproducts.list-view .product-item .product-image{
61
+ float: right;
62
+ }
63
+
64
+ .ma2-featuredproducts .add-to-links{
65
+ list-style: none;
66
+ }
67
+ .clear{clear:both;}
68
+
69
+
70
+
71
+ /* = COMMON : BLOCK ==================*/
72
+
73
+ .ma2-featuredproducts .block-inner{}
74
+ .ma2-featuredproducts .block-title{}
75
+
76
+
77
+ /* = COMMON : WIDGET ==================*/
78
+
79
+ .ma2-featuredproducts .widget-inner{}
80
+ .ma2-featuredproducts .widget-title{}
81
+
82
+
83
+ /* = DEMO STYLES ==================*/
84
+ /*
85
+ Styles for demo only => For each theme, should style in theme's css file.
86
+ */
87
+ .ma2-featuredproducts .product-items-inner{overflow: hidden;}
88
+ .ma2-featuredproducts .product-item-inner {
89
+ padding: 8px;
90
+ }
91
+
92
+
skin/frontend/ma2/ante/css/ma2_manufacturers/css/frontend.css ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * MagenMarket.com
3
+ *
4
+ * NOTICE OF LICENSE
5
+ *
6
+ * This source file is subject to the Open Software License (OSL 3.0)
7
+ * that is bundled with this package in the file LICENSE.txt.
8
+ * It is also available through the world-wide-web at this URL:
9
+ * http://opensource.org/licenses/osl-3.0.php
10
+ *
11
+ * DISCLAIMER
12
+ *
13
+ * Edit or modify this file with yourown risk.
14
+ *
15
+ * @category Extensions
16
+ * @package Ma2_Manufacturers Free
17
+ * @copyright Copyright (c) 2013 MagenMarket. (http://www.magenmarket.com)
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ **/
20
+ /* $Id: frontend.css 3 2014-01-13 09:15:57Z linhnt $ */
21
+
22
+ .ma2-manufacturers{}
23
+ .ma2-manufacturers .clear {clear: both;}
24
+ .ma2-manufacturers .manufacturers{}
25
+
26
+ /* LIST */
27
+ .ma2-manufacturers .list{}
28
+ .ma2-manufacturers .list .manufacturer{}
29
+
30
+ /* GRID */
31
+
32
+ .ma2-manufacturers .grid{ padding: 10px; }
33
+
34
+ .ma2-manufacturers .grid .manufacturer{
35
+ float: left;
36
+ }
37
+ .ma2-manufacturers .manufacturer-inner{ padding: 5px; text-align: center; }
38
+ .ma2-manufacturers .grid .manufacturer-name{
39
+ display: block;
40
+ }
41
+
42
+ /* SLIDER */
43
+ .ma2-manufacturers .manufacturers {overflow: hidden;}
44
+ .ma2-manufacturers .slider {overflow: hidden; width:100%;}
45
+ .ma2-manufacturers .slider .manufacturer{
46
+ float: left;
47
+ }
48
+ .ma2-manufacturers .slider .manufacturer-name{
49
+ display: block;
50
+ }
51
+ .ma2-manufacturers .block-inner {position: relative;}
52
+ .ma2-manufacturers .slider-inner {width: 12356px;}
53
+ .ma2-manufacturers .manufacturer-slide {float: left;}
54
+ .ma2-manufacturers .manufacturer-slide .manufacturer-inner{padding: 5px; text-align: center;}
55
+ .ma2-manufacturers .controls {position: absolute; top: 0; right: 5px; z-index: 1;}
56
+ .ma2-manufacturers .controls a{
57
+ border: 1px solid #DDDDDD;
58
+ display: inline-block;
59
+ font-size: 18px;
60
+ height: 20px;
61
+ line-height: 18px;
62
+ margin: 1px;
63
+ outline: medium none;
64
+ text-align: center;
65
+ text-decoration: none;
66
+ width: 20px;
67
+ }
68
+ .manufacturer-inner > a {
69
+ color: #666666;
70
+ text-decoration: none;
71
+ }
72
+ .ma2-manufacturers {
73
+ border: 0px;
74
+ }
skin/frontend/ma2/ante/css/ma2_manufacturers/images/btn-brand-next.png ADDED
Binary file
skin/frontend/ma2/ante/css/ma2_manufacturers/images/btn-brand-prevous.png ADDED
Binary file
skin/frontend/ma2/ante/css/ma2_manufacturers/js/carousel-min.js ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ Copyright (c) 2009 Victor Stanciu - http://www.victorstanciu.ro
3
+
4
+ Permission is hereby granted, free of charge, to any person
5
+ obtaining a copy of this software and associated documentation
6
+ files (the "Software"), to deal in the Software without
7
+ restriction, including without limitation the rights to use,
8
+ copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the
10
+ Software is furnished to do so, subject to the following
11
+ conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
18
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
20
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
21
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
22
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
23
+ OTHER DEALINGS IN THE SOFTWARE.
24
+ */
25
+ eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('1C=19.1a(1D,{1b:7(c,d,e,f){4.o=t;4.h=$(c);4.8=d;4.k=e;4.5=F.G({p:1,1c:t,1d:3,q:1,1e:\'H-1E\',1f:\'H-1F\',I:\'H-1G\',J:\'H-1H\',r:t,v:K,w:\'1g\',S:\'T\'},f||{});6(4.5.w==\'L\'){4.5.r=K}4.8.1I(7(a,b){a.M=b});6(4.k){4.k.N(\'U\',\'V\',4.V.z(4))}6(4.5.v){4.h.U(\'1J\',4.v.1h(4)).U(\'1K\',4.v.1h(4))}6(4.5.1c){4.A()}6(4.5.1i){9 g=4.8.1L($(4.5.1i));6(g>(4.5.q-1)&&4.5.q>1){6(g>4.8.i-(4.5.q+1)){g=4.8.i-4.5.q}}4.l(4.8[g])}},V:7(a){4.B();9 b=a.1M(\'a\');6(!b.W(4.5.I)){6(b.W(4.5.1e)){1N("4."+b.1j+"()")}s 6(b.W(4.5.1f)){4.l(b.1j);6(4.5.J){4.k.N(\'1k\',4.5.J);b.1l(4.5.J)}}}4.X();a.B()},l:7(a){6(4.5.Y&&(Z 4.5.Y==\'7\')){4.5.Y()}4.10=4.m?4.m:4.8[0];4.m=$(a);9 b=4.h.1m();9 c=4.m.1m();6(4.o){4.o.1O()}1n(4.5.w){O\'L\':4.o=11 n.1o(4.h,{1p:1.0,1q:0,p:4.5.p,12:(7(){4.h.C=c[0]-b[0];4.h.D=c[1]-b[1];11 n.1o(4.h,{1p:0,1q:1.0,p:4.5.p,12:(7(){6(4.k){4.P()}6(4.5.u&&(Z 4.5.u==\'7\')){4.5.u()}}).z(4)})}).z(4)});Q;O\'1g\':1r:9 d;1n(4.5.S){O\'1s\':d=n.1t.1s;Q;O\'T\':1r:d=n.1t.T;Q}4.o=11 n.13(4.h,{p:4.5.p,x:(c[0]-b[0]),y:(c[1]-b[1]),S:d,12:(7(){6(4.k){4.P()}6(4.5.u&&(Z 4.5.u==\'7\')){4.5.u()}4.o=t}).z(4)});Q}R t},1u:7(){6(4.m){9 a=4.m.M;9 b=(a==0)?(4.5.r?4.8.i-1:0):a-1}s{9 b=(4.5.r?4.8.i-1:0)}6(b==(4.8.i-1)&&4.5.r&&4.5.w!=\'L\'){4.h.C=(4.8.i-1)*4.8.14().1P();4.h.D=(4.8.i-1)*4.8.14().1Q();b=4.8.i-2}4.l(4.8[b])},15:7(){6(4.m){9 a=4.m.M;9 b=(4.8.i-1==a)?(4.5.r?0:a):a+1}s{9 b=1}6(b==0&&4.5.r&&4.5.w!=\'L\'){4.h.C=0;4.h.D=0;b=1}6(b>4.8.i-(4.5.q+1)){b=4.8.i-4.5.q}4.l(4.8[b])},14:7(){4.l(4.8[0])},1R:7(){4.l(4.8[4.8.i-1])},1S:7(){6(4.10){4.l(4.8[4.10.M])}s{R t}},B:7(){6(4.E){1v(4.E)}},A:7(){4.16()},1T:7(){4.B();4.P()},1U:7(b){6(b){9 c=b.1V||b.1W;6(!c||(!4.8.1X(c)&&!4.8.1Y(7(a){R c.1Z(a)}))){4.A()}}s{4.A()}},16:7(){6(4.E!=20){1v(4.E);4.15()}4.E=21(4.16.z(4),4.5.1d*22)},v:7(a){a.23=K;a.B();9 b=0;6(!a){a=24.25}6(a.1w){b=a.1w/26}s 6(a.1x){b=-a.1x/3}6(!4.o){4.X();6(b>0){4.1u()}s{4.15()}}R 27.28(b)},X:7(){4.k.N(\'1l\',4.5.I)},P:7(){4.k.N(\'1k\',4.5.I)}});n.13=19.1a();F.G(F.G(n.13.1y,n.29.1y),{1b:7(a){4.j=$(a);9 b=F.G({x:0,y:0,1z:\'1A\'},2a[1]||{});4.A(b)},2b:7(){6(4.5.2c&&!4.j.1B){4.j.2d();4.j.1B=K;4.j.2e(4.j.2f)}4.17=4.j.C;4.18=4.j.D;6(4.5.1z==\'1A\'){4.5.x-=4.17;4.5.y-=4.18}},2g:7(a){4.j.C=4.5.x*a+4.17;4.j.D=4.5.y*a+4.18}});',62,141,'||||this|options|if|function|slides|var||||||||scroller|length|element|controls|moveTo|current|Effect|scrolling|duration|visibleSlides|circular|else|false|afterMove|wheel|effect|||bind|start|stop|scrollLeft|scrollTop|timer|Object|extend|carousel|disabledClassName|selectedClassName|true|fade|_index|invoke|case|activateControls|break|return|transition|sinoidal|observe|click|hasClassName|deactivateControls|beforeMove|typeof|previous|new|afterFinish|SmoothScroll|first|next|periodicallyUpdate|originalLeft|originalTop|Class|create|initialize|auto|frequency|controlClassName|jumperClassName|scroll|bindAsEventListener|initial|rel|removeClassName|addClassName|cumulativeOffset|switch|Opacity|from|to|default|spring|Transitions|prev|clearTimeout|wheelDelta|detail|prototype|mode|absolute|_ext|Carousel|Abstract|control|jumper|disabled|selected|each|mousewheel|DOMMouseScroll|indexOf|findElement|eval|cancel|getWidth|getHeight|last|toggle|pause|resume|relatedTarget|toElement|include|any|descendantOf|null|setTimeout|1000|cancelBubble|window|event|120|Math|round|Base|arguments|setup|continuous|cleanWhitespace|appendChild|firstChild|update'.split('|'),0,{}))
skin/frontend/ma2/ante/css/ma2_widgetproductlists/ma2_widgetproductlists.css CHANGED
@@ -13,8 +13,6 @@ ul.products-grid, ul.featured-grid { padding:0px; }
13
  .cart-style { border-bottom: 1px solid #ededed; width:96%; float:left; }
14
  .featured-products ul.featured-grid li.item { float:left; list-style: none outside none; }
15
  .product-title { min-height:36px; margin-top:15px; }
16
- /* button.button span.details { background: none repeat scroll 0 0 #EEEEEE; border: 1px solid #DDDDDD; color: #333333; display: block; font: bold 12px/19px Arial,Helvetica,sans-serif; height: 19px; padding: 0 8px; text-align: center; white-space: nowrap; margin-top: 4px; } */
17
- .btn-detail { background-color: #CACDD1; background-image: url("images/bg-btn-details.gif"); border: 1px solid #DDDDDD; color: #6D6D6D; display: inline-block; padding: 0 10px 0 15px; margin-top:4px; text-decoration:none; }
18
  img.sticker-top-right { position: absolute; right: 9px; z-index: 6; }
19
  .format-span-price1 { color: #CCCCCC; text-decoration: line-through; }
20
  .format-span-price2 { font-family: oswald; font-size: 13pt; font-weight: normal; color:#333; }
13
  .cart-style { border-bottom: 1px solid #ededed; width:96%; float:left; }
14
  .featured-products ul.featured-grid li.item { float:left; list-style: none outside none; }
15
  .product-title { min-height:36px; margin-top:15px; }
 
 
16
  img.sticker-top-right { position: absolute; right: 9px; z-index: 6; }
17
  .format-span-price1 { color: #CCCCCC; text-decoration: line-through; }
18
  .format-span-price2 { font-family: oswald; font-size: 13pt; font-weight: normal; color:#333; }
skin/frontend/ma2/ante/css/ma2selectscreen/images/blue.gif DELETED
Binary file
skin/frontend/ma2/ante/css/ma2selectscreen/images/desktop.gif DELETED
Binary file
skin/frontend/ma2/ante/css/ma2selectscreen/images/green.gif DELETED
Binary file
skin/frontend/ma2/ante/css/ma2selectscreen/images/nav-item-blue.gif DELETED
Binary file
skin/frontend/ma2/ante/css/ma2selectscreen/images/nav-item.gif DELETED
Binary file
skin/frontend/ma2/ante/css/ma2selectscreen/images/screens.png DELETED
Binary file
skin/frontend/ma2/ante/css/ma2selectscreen/images/smartphone-landspace.gif DELETED
Binary file
skin/frontend/ma2/ante/css/ma2selectscreen/images/smartphone-portraint.gif DELETED
Binary file
skin/frontend/ma2/ante/css/ma2selectscreen/images/tablet-landscape.jpg DELETED
Binary file
skin/frontend/ma2/ante/css/ma2selectscreen/images/tablet-landspace.gif DELETED
Binary file
skin/frontend/ma2/ante/css/ma2selectscreen/images/tablet-portraint.gif DELETED
Binary file
skin/frontend/ma2/ante/css/ma2selectscreen/images/tablet-portrait.jpg DELETED
Binary file
skin/frontend/ma2/ante/css/ma2selectscreen/images/yellow.gif DELETED
Binary file
skin/frontend/ma2/ante/css/ma2selectscreen/screen.css DELETED
@@ -1,23 +0,0 @@
1
- /* CSS Select device */
2
- #smenu{ position:fixed; right: -60px; top: 26%; z-index:9999; padding-top:4px; padding-bottom:4px; background-color: #FFFFF2; border-radius: 5px 0 0 5px; -o-border-radius: 5px 0 0 5px; -moz-border-radius: 5px 0 0 5px; -webkit-border-radius: 5px 0 0 5px; box-shadow: 5px 5px 5px 0 rgba(0, 0, 0, 0.1); -o-box-shadow: 5px 5px 5px 0 rgba(0, 0, 0, 0.1); -moz-box-shadow: 5px 5px 5px 0 rgba(0, 0, 0, 0.1); -webkit-box-shadow: 5px 5px 5px 0 rgba(0, 0, 0, 0.1); }
3
- #smenu:hover { position:fixed; right: 0px; top: 26%; z-index:9999; transition: all 0.5s ease; -o-transition: all 0.5s ease; -webkit-transition: all 0.5s ease; -moz-transition: all 0.5s ease; }
4
- .below-menu { display:none; position:relative; width:99%; background-color:#EBEBEB; }
5
- ul#devices { list-style: none outside none; position: relative; padding-right:15px; padding-top:20px; padding-bottom:20px; background:url("images/nav-item.gif") no-repeat 0 0 transparent; }
6
- ul#devices li a { display: inline-block; height: 28px; padding-left: 2px; text-decoration: none; }
7
- ul#devices li#item-yellow a,
8
- ul#devices li#item-blue a,
9
- ul#devices li#item-green a { font-family:Arial: font-size:12px; font-weight:bold; }
10
- ul#devices li#item-yellow a { color:#e96b07; }
11
- ul#devices li#item-blue a { color:#00468C; }
12
- ul#devices li#item-green a { color:#7ba62f; }
13
- ul#devices li#item-blue-bg a { width:28px; background: url("images/blue.gif") no-repeat scroll 0 0 transparent; }
14
- ul#devices li#item-blue-bg a:hover { background: url("images/blue.gif") no-repeat scroll 0 -30px transparent; }
15
- ul#devices li#item-green-bg a { width:28px; background: url("images/green.gif") no-repeat scroll 0 0 transparent; }
16
- ul#devices li#item-green-bg a:hover { background: url("images/green.gif") no-repeat scroll 0 -30px transparent; }
17
- ul#devices li#item-yellow-bg a { width:28px; background: url("images/yellow.gif") no-repeat scroll 0 0 transparent; }
18
- ul#devices li#item-yellow-bg a:hover { background: url("images/yellow.gif") no-repeat scroll 0 -30px transparent; }
19
- /* ul#devices li#item-4 a { width:15px; background: url("images/smartphone-portraint.gif") no-repeat scroll 0 0 transparent; }
20
- ul#devices li#item-4 a:hover { background: url("images/smartphone-portraint.gif") no-repeat scroll 0 -30px transparent; }
21
- ul#devices li#item-5 a { width:22px; background: url("images/smartphone-landspace.gif") no-repeat scroll 0 0 transparent; }
22
- ul#devices li#item-5 a:hover { background: url("images/smartphone-landspace.gif") no-repeat scroll 0 -30px transparent; } */
23
- /* ======================================== */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
skin/frontend/ma2/ante/css/ma2slideshow/images/desc-bg.png ADDED
Binary file
skin/frontend/ma2/ante/css/ma2slideshow/images/next-prev.png ADDED
Binary file
skin/frontend/ma2/ante/css/ma2slideshow/images/pix.gif ADDED
Binary file
skin/frontend/ma2/ante/css/ma2slideshow/images/proto_controls_bg.png ADDED
Binary file
skin/frontend/ma2/ante/css/ma2slideshow/images/proto_controls_pause_play_bg.png ADDED
Binary file
skin/frontend/ma2/ante/css/ma2slideshow/protoshow.css ADDED
@@ -0,0 +1,237 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* ####################################### */
2
+ /* ########### STANDARD SETUP ############ */
3
+ /* ####################################### */
4
+ .protoshow,
5
+ .protoshow .show {
6
+ position: relative;
7
+ margin: 0;
8
+ padding: 0;
9
+ list-style: none;
10
+ width: 900px;
11
+ height: 300px;
12
+ }
13
+ .slide {
14
+ position: absolute;
15
+ top: 0;
16
+ left: 0;
17
+ z-index: 90;
18
+ height: 100%;
19
+ }
20
+ .active-slide {
21
+ z-index: 100;
22
+ }
23
+ .protoshow .slide-caption {
24
+ position: absolute;
25
+ left: 0;
26
+ bottom: 0;
27
+ right: 0;
28
+ z-index: 100;
29
+ padding: 1em 10px;
30
+ background-color: #000;
31
+ background-color: rgba(0,0,0,.4);
32
+ color:#fff;
33
+ }
34
+ .proto-progress-timer {
35
+ position: absolute;
36
+ top: 7px;
37
+ right: 7px;
38
+ z-index: 9999;
39
+ }
40
+ /* TRANSITION SLIDE
41
+ ------------------------------------------------*/
42
+ .transition-slide .show-window {
43
+ overflow: hidden;
44
+ position: relative;
45
+ }
46
+ .transition-slide .show {
47
+ position: absolute;
48
+ top: 0;
49
+ left: 0;
50
+ width: 999999px;
51
+ }
52
+ .transition-slide .slide {
53
+ position: static; /*overide*/
54
+ float: left;
55
+ display: block;
56
+ }
57
+ /* PROTO CONTROLS
58
+ ------------------------------------------------*/
59
+ .proto-controls,
60
+ .proto-navigation {
61
+ margin: 0;
62
+ padding: 0;
63
+ list-style: none;
64
+ }
65
+ .proto-controls a:link,
66
+ .proto-controls a:visited,
67
+ .proto-navigation a:link,
68
+ .proto-navigation a:visited {
69
+ display: block;
70
+ text-indent: -9999px;
71
+ overflow: hidden;
72
+ }
73
+ .proto-controls li {
74
+ position: absolute;
75
+ top: 50%;
76
+ margin-top: -36px;
77
+ left: 10px;
78
+ width: 10%;
79
+ height: 100%;
80
+ z-index: 110;
81
+ }
82
+ .proto-controls .forward {
83
+ right: 10px;
84
+ left: auto;
85
+ }
86
+ .proto-controls a {
87
+ width: 100%;
88
+ height: 61px;
89
+ background-image: url("images/proto_controls_bg.png");
90
+ background-repeat: no-repeat;
91
+ background-position: 0 0;
92
+ opacity: 0.6;
93
+ -moz-opacity: 0.6;
94
+ filter:alpha(opacity=60);
95
+ }
96
+ .proto-controls a:hover,
97
+ .proto-controls a:focus {
98
+ opacity: 1;
99
+ -moz-opacity: 1;
100
+ filter:alpha(opacity=100);
101
+ }
102
+ .proto-controls .forward a {
103
+ background-position: 100% -90px;
104
+ }
105
+ /* PROTO NAVIGATION
106
+ ------------------------------------------------*/
107
+ .proto-navigation {
108
+ position: absolute;
109
+ bottom: 0;
110
+ right: 10%;
111
+ float: right;
112
+ z-index: 120;
113
+ }
114
+ .proto-navigation li {
115
+ float: left;
116
+ left: 50%;
117
+ padding: 12px 6px;
118
+ position: relative;
119
+ }
120
+ .proto-navigation a {
121
+ background-color: #FFFFFF;
122
+ height: 18px;
123
+ text-decoration: none;
124
+ width: 18px;
125
+ -moz-border-radius:30px;
126
+ -webkit-border-radius:30px;
127
+ border-radius:30px;
128
+ -moz-box-shadow: inset 0 1px 0 1px rgba(0,0,0,.1);
129
+ -webkit-box-shadow: inset 0 1px 0 1px rgba(0,0,0,.1);
130
+ box-shadow: inset 0 1px 0 1px rgba(0,0,0,.1);
131
+ }
132
+ .proto-navigation a:hover,
133
+ .proto-navigation a:focus {
134
+ background-color: #FFFFFF;
135
+ }
136
+ .proto-navigation .current-slide a {
137
+ background-color: #E96B07;
138
+ }
139
+ /*
140
+ .proto-navigation {
141
+ margin: 0;
142
+ padding: 0;
143
+ list-style: none;
144
+ position: absolute;
145
+ right: 5px;
146
+ bottom: -25px;
147
+ z-index: 200;
148
+ }
149
+ .proto-navigation li {
150
+ float: left;
151
+ margin-right: 10px;
152
+ }
153
+ .proto-navigation li a:link,
154
+ .proto-navigation li a:visited {
155
+ display: block;
156
+ width: 8px;
157
+ height: 8px;
158
+ text-decoration: none;
159
+ background-color: rgba(255,255,255,0.5);
160
+ border: 1px solid #090809;
161
+ color: #666;
162
+ text-indent: -9999px;
163
+ overflow: hidden;
164
+ -moz-border-radius: 30px;
165
+ -webkit-border-radius: 30px;
166
+ border-radius: 30px;
167
+ }
168
+ .proto-navigation li a:hover,
169
+ .proto-navigation li a:focus {
170
+ background-color: #fff;
171
+ border-color: #000;
172
+ }
173
+ .proto-navigation li.current-slide a:link,
174
+ .proto-navigation li.current-slide a:visited {
175
+ background-color: rgba(30,30,30,0.9);
176
+ }
177
+ .proto-controls {
178
+ margin: 0;
179
+ padding: 0;
180
+ list-style: none;
181
+ }
182
+ .proto-controls .forward,
183
+ .proto-controls .backward,
184
+ .proto-controls .start-stop {
185
+ z-index: 200;
186
+ float: left;
187
+ margin: 10px 10px 0 0;
188
+ }
189
+ .proto-controls .start-stop {
190
+ margin-top: 10px;
191
+ }
192
+ .proto-controls a:link,
193
+ .proto-controls a:visited {
194
+ display: inline-block;
195
+ background-color: #090809;
196
+ background-image: -moz-linear-gradient(
197
+ center top,
198
+ rgb(123,125,130) 2%,
199
+ rgb(75,80,88) 3%,
200
+ rgb(42,45,50) 100%
201
+ );
202
+ color: #fff;
203
+ padding: 5px 10px;
204
+ border: 1px solid #090809;
205
+ -moz-border-radius: 20px;
206
+ -webkit-border-radius: 20px;
207
+ border-radius: 20px;
208
+ text-decoration: none;
209
+ text-align: center;
210
+ width: 60px;
211
+ }
212
+ .proto-controls a:hover,
213
+ .proto-controls a:focus {
214
+ background-image: -moz-linear-gradient(
215
+ center bottom,
216
+ rgb(42,45,50) 100%,
217
+ rgb(75,80,88) 90%,
218
+ rgb(123,125,130) 20%
219
+ );
220
+ color: #e1e1e1;
221
+ }
222
+ .slide-caption {
223
+ position: absolute;
224
+ bottom: 0px;
225
+ left: 0px;
226
+ width: 880px;
227
+ background-color: rgba(0,0,0,.5);
228
+ color: #fff;
229
+ z-index: 200;
230
+ padding: 10px;
231
+ }
232
+ .proto-timer {
233
+ position: absolute;
234
+ top: 10px;
235
+ right: 10px;
236
+ z-index: 9999;
237
+ }*/
skin/frontend/ma2/ante/css/ma2slideshow/styles.css ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Document CSS*/
2
+ .ma2-slideshow{
3
+ /* overflow: hidden; */
4
+ position: relative;
5
+ width: 450px;
6
+ height: 420px;
7
+ }
8
+ .transition-slide .show-window {
9
+ overflow: hidden;
10
+ position: relative;
11
+ }
12
+ .ma2-slideshow .show {
13
+ color: #FFFFFF;
14
+ height: 350px;
15
+ margin: 0 auto;
16
+ }
17
+ .transition-slide .show {
18
+ left: 0;
19
+ position: absolute;
20
+ top: 0;
21
+ width: 999999px;
22
+ }
23
+ .protoshow,
24
+ .protoshow .show {
25
+ overflow: hidden;
26
+ list-style: none outside none;
27
+ margin: 0;
28
+ padding: 0;
29
+ position: relative;
30
+ min-width: 450px;
31
+ }
32
+ .proto-controls li{
33
+ height: auto;
34
+ width: 5%;
35
+ }
36
+ .proto-controls li.start-stop{
37
+ background: none;
38
+ left: 48%;
39
+ }
40
+ .proto-controls li.start-stop a{
41
+ background-color: transparent;
42
+ color: #FFFFFF;
43
+ font-size: 66px;
44
+ font-weight: bold;
45
+ line-height: 100%;
46
+ text-decoration: none;
47
+ text-indent: 0;
48
+ }
49
+ .proto-controls a:link,
50
+ .proto-controls a:visited,
51
+ .proto-navigation a:link,
52
+ .proto-navigation a:visited {
53
+ text-align: left;
54
+ }
55
+ .proto-controls,
56
+ .proto-navigation{
57
+ list-style: none outside none !important
58
+ }
59
+ .ma2-slideshow .show .slide{
60
+ width: 980px;
61
+ position: relative;
62
+ }
63
+ .ma2-slideshow .show .slide .img-slide{
64
+ width: 100%;
65
+ }
66
+ .ma2-slideshow .show .slide .item-desc{
67
+ background-image: url("images/desc-bg.png");
68
+ width: 96%;
69
+ position: absolute;
70
+ padding: 10px 2%;
71
+ bottom: 0;
72
+ left: 0;
73
+ line-height: normal;
74
+ text-align: left;
75
+ }
76
+ .show .slide .item-desc h1.title {
77
+ line-height: normal;
78
+ }
79
+ .show .slide .item-desc h1.title a {
80
+ font-family: oswald;
81
+ font-size: 18pt;
82
+ font-weight: normal;
83
+ line-height: normal;
84
+ text-decoration: none;
85
+ }
skin/frontend/ma2/ante/css/menu_standard.css DELETED
@@ -1,20 +0,0 @@
1
- /* Dropdown submenu position is relative to this element.
2
- It is displayed under the active tab. */
3
- #nav li { position:relative; }
4
- /* 2nd Level
5
- -------------------------------------------------------------- */
6
- #nav ul, #nav div { position:absolute; top:41px; left:-10000px; background-color:#fff; width:16em; padding:20px 0; border:0; }
7
- #nav div ul { position:static; width:auto; border:none; }
8
- #nav ul li { float:none; }
9
- #nav ul li.parent { background:url(../images/img/menu-bullet.gif) 93% 13px no-repeat; }
10
- #nav ul li a { float:none; padding:2px 25px; }
11
- /* 3rd Level+
12
- -------------------------------------------------------------- */
13
- #nav ul ul,
14
- #nav ul div { top:0px; }
15
- /* Show submenu
16
- -------------------------------------------------------------- */
17
- #nav li ul.shown-sub,
18
- #nav li div.shown-sub { left:3px; }
19
- #nav li .shown-sub ul.shown-sub,
20
- #nav li .shown-sub li div.shown-sub { left:80px; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
skin/frontend/ma2/ante/css/navmain.css DELETED
@@ -1,198 +0,0 @@
1
- /**
2
- * Ma2 DOCUMENT CSS
3
- *
4
- */
5
- .nav-container {
6
- /* background: url("../images/omgmenu-bg.png") repeat-x scroll 0 0 transparent; */
7
- border-top:1px solid #2d444f;
8
- border-bottom:1px solid #2d444f;
9
- padding:0 0px;
10
- }
11
- #nav {
12
- background: #999;
13
- padding: 0;
14
- margin: 5px 0 0 0;
15
- }
16
- /************** ALL LEVELS *************/ /* Style consistent throughout all nav levels */
17
- #nav li {
18
- position:relative;
19
- text-align:left;
20
- }
21
- #nav li.over {
22
- background: none repeat scroll 0 0 #F25039;
23
- color: #FFFFFF;
24
- z-index:99;
25
- }
26
- #nav li.active {
27
- background: none repeat scroll 0 0 #F25039;
28
- color: #FFFFFF;
29
- z-index:100;
30
- } /* to prevent the li separator from showing through on mouseover on li */
31
- #nav a,
32
- #nav a:hover {
33
- display:block;
34
- text-decoration:none;
35
- }
36
- #nav span {
37
- display:block; /*cursor:pointer;*/
38
- }
39
- #nav a {
40
- line-height: 40px;
41
- }
42
- /************ 1ST LEVEL ***************/
43
- #nav li {
44
- float:left;
45
- margin: 0 1px;
46
- }
47
- #nav li.first {
48
- margin-left: 0;
49
- }
50
- #nav li.active {
51
- margin-left:-1px;
52
- color:#fff;
53
- font-weight:normal;
54
- }
55
- #nav li.active em {
56
- display:block;
57
- position:absolute;
58
- top:0;
59
- right:-1px;
60
- width:3px;
61
- height:40px;
62
- }
63
- #nav li a {
64
- color: #FFFFFF;
65
- font-family: 'Oswald';
66
- font-size: 12px;
67
- text-transform: uppercase;
68
- float:left;
69
- padding:0 15px;
70
- color:#fff;
71
- line-height: 40px;
72
- }
73
- #nav li.over a {
74
- color: #FFF;
75
- }
76
- /************ 1ST LEVEL RESET ************/
77
- #nav ul li,
78
- #nav ul li.active {
79
- float:none;
80
- height:auto;
81
- margin:0;
82
- }
83
- #nav ul a,
84
- #nav ul a:hover {
85
- float:none;
86
- padding:0;
87
- line-height: 40px;
88
- }
89
- #nav ul li.over a,
90
- #nav ul li.over a:hover,
91
- #nav ul a,
92
- #nav li.active li,
93
- #nav li.active li.active a {
94
- color:#FFF;
95
- font-weight:normal;
96
- }
97
- /************ 2ND LEVEL ************/
98
- #nav ul {
99
- background: #666;
100
- position:absolute;
101
- width:189px;
102
- top:40px;
103
- left:-10000px;
104
- }
105
- #nav ul ul {
106
- border: none;
107
- padding: 0px;
108
- left: -10000px;
109
- top: 0px;
110
- }
111
- /* Show menu */
112
- #nav li.over ul {
113
- background: #999;
114
- border: medium none;
115
- border-radius: 0 0 0 0;
116
- margin-top: 0 !important;
117
- padding: 0 3px 4px 0 !important;
118
- left:0px;
119
- }
120
- #nav li.over ul ul {
121
- left:-10000px;
122
- position: absolute;
123
- }
124
- #nav li.over ul li.over ul {
125
- left:189px;
126
- top: 0;
127
- }
128
- #nav ul li {
129
- padding:0 0px;
130
- }
131
- #nav ul li a {
132
- color: #ffffff!important;
133
- }
134
- #nav ul li a:hover {
135
- background:#d0dfe2;
136
- }
137
- #nav li.over ul a,
138
- #nav ul li.active a,
139
- #nav ul li a,
140
- #nav ul li a:hover {
141
- color:#FFF;
142
- }
143
- #nav ul span,
144
- #nav ul li.last li span {
145
- padding:0px 0px;
146
- }
147
- #nav ul li.last span,
148
- #nav ul li.last li.last span {
149
-
150
- }
151
- #nav ul li.last {
152
-
153
- }
154
- #nav ul li.parent a,
155
- #nav ul li.parent li.parent a {
156
-
157
- }
158
- #nav ul li.parent li a,
159
- #nav ul li.parent li.parent li a {
160
-
161
- }
162
- /************ 3RD+ LEVEL ************/
163
- /* Cursors */
164
- #nav li.parent a,
165
- #nav li.parent li.parent a,
166
- #nav li.parent li.parent li.parent a {
167
- cursor:pointer;
168
- }
169
- #nav li.parent li a,
170
- #nav li.parent li.parent li a,
171
- #nav li.parent li.parent li.parent li a {
172
- color: #FFF;
173
- font-size: 12px;
174
- line-height: normal;
175
- padding: 11px 10px 11px 20px;
176
- text-transform: uppercase;
177
- cursor:pointer;
178
- }
179
- /* Show menu */
180
- #nav ul ul ul {
181
- left:-10000px;
182
- }
183
- #nav li.over ul li.over ul ul {
184
- left:-10000px;
185
- }
186
- #nav li.over ul li.over ul li.over ul {
187
- left:100px;
188
- }
189
- .nav-container:after {
190
- content:".";
191
- display:block;
192
- clear:both;
193
- font-size:0;
194
- line-height:0;
195
- height:0;
196
- overflow:hidden;
197
- }
198
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
skin/frontend/ma2/ante/css/oauth-simple.css DELETED
@@ -1,122 +0,0 @@
1
- /**
2
- * Magento
3
- *
4
- * NOTICE OF LICENSE
5
- *
6
- * This source file is subject to the Academic Free License (AFL 3.0)
7
- * that is bundled with this package in the file LICENSE_AFL.txt.
8
- * It is also available through the world-wide-web at this URL:
9
- * http://opensource.org/licenses/afl-3.0.php
10
- * If you did not receive a copy of the license and are unable to
11
- * obtain it through the world-wide-web, please send an email
12
- * to license@magentocommerce.com so we can send you a copy immediately.
13
- *
14
- * DISCLAIMER
15
- *
16
- * Do not edit or add to this file if you wish to upgrade Magento to newer
17
- * versions in the future. If you wish to customize Magento for your
18
- * needs please refer to http://www.magentocommerce.com for more information.
19
- *
20
- * @category design
21
- * @package default_default
22
- * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
23
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
24
- */
25
- /* Reset ================================================================================= */
26
- * { margin:0; padding:0; }
27
- body { background:#496778 50% 0 repeat-y; font:12px/1.55 Arial, Helvetica, sans-serif; color:#2f2f2f; text-align:center; }
28
- img { border:0; vertical-align:top; }
29
- a { color:#1e7ec8; text-decoration:underline; }
30
- a:hover { text-decoration:none; }
31
- :focus { outline:0; }
32
- /* Headings */
33
- h1,h2,h3,
34
- h4,h5,h6 { margin:0 0 5px; line-height:1.35; color:#0a263c; }
35
- h1 { font-size:20px; font-weight:normal; }
36
- h2 { font-size:18px; font-weight:normal; }
37
- h3 { font-size:16px; font-weight:bold; }
38
- h4 { font-size:14px; font-weight:bold; }
39
- h5 { font-size:12px; font-weight:bold; }
40
- h6 { font-size:11px; font-weight:bold; }
41
- /* Forms */
42
- form { display:inline; }
43
- fieldset { border:0; }
44
- legend { display:none; }
45
- /* Table */
46
- table { border:0; /*border-collapse:collapse;*/ border-spacing:0; empty-cells:show; font-size:100%; }
47
- caption,th,td { vertical-align:top; text-align:left; font-weight:normal; }
48
- /* Content */
49
- p { margin:0 0 10px; }
50
- strong { font-weight:bold; }
51
- address { font-style:normal; line-height:1.35; }
52
- cite { font-style:normal; }
53
- q,
54
- blockquote { quotes:none; }
55
- q:before,
56
- q:after { content:''; }
57
- small,big { font-size:1em; }
58
- /*sup { font-size:1em; vertical-align:top; }*/
59
- /* Lists */
60
- ul,ol { list-style:none; }
61
- /* Tools */
62
- .hidden { display:block !important; border:0 !important; margin:0 !important; padding:0 !important; font-size:0 !important; line-height:0 !important; width:0 !important; height:0 !important; overflow:hidden !important; }
63
- .nobr { white-space:nowrap !important; }
64
- .wrap { white-space:normal !important; }
65
- .a-left { text-align:left !important; }
66
- .a-center { text-align:center !important; }
67
- .a-right { text-align:right !important; }
68
- .v-top { vertical-align:top; }
69
- .v-middle { vertical-align:middle; }
70
- .f-left,
71
- .left { float:left !important; }
72
- .f-right,
73
- .right { float:right !important; }
74
- .f-none { float:none !important; }
75
- .f-fix { float:left; width:100%; }
76
- .no-display { display:none; }
77
- .no-margin { margin:0 !important; }
78
- .no-padding { padding:0 !important; }
79
- .no-bg { background:none !important; }
80
- /* ======================================================================================= */
81
- /* Default styles ======================================================================== */
82
- /* boxes.css*/
83
- .notification-global { background: url("./../images/error_msg_icon.gif") no-repeat scroll 27px 5px #FFF9E9; border-bottom: 1px solid #EEE2BE; border-top: 1px solid #EEE2BE; color: #444444; font-size: 11px; line-height: 16px; margin: 0 0 -3px; padding: 5px 27px 5px 47px; position: relative; }
84
- .notification-global-notice { background-image: url("./../images/note_msg_icon.gif"); }
85
- .notification-global .label { color: #EB5E00; }
86
- .notification-global .clickable { cursor: pointer; }
87
- .notification-global span.critical { color: #D20000; }
88
- .notification-global a:hover { text-decoration: none; }
89
- .error, a.error span, .required, .validation-advice { color: #D40707 !important; font-weight: bold !important; }
90
- .notice { color: #EA7601; }
91
- .messages ul { border: 0 none !important; }
92
- .messages li { font-size: 0.95em !important; font-weight: bold !important; margin-bottom: 11px !important; min-height: 23px !important; padding: 8px 8px 2px 32px !important; }
93
- .messages ul li { border: 0 none !important; margin: 0 0 3px !important; padding: 0 !important; }
94
- .error-msg { background: url("./../images/error_msg_icon.gif") no-repeat scroll 10px 10px #FAEBE7 !important; border: 1px solid #F16048 !important; color: #DF280A !important; }
95
- .success-msg { background: url("./../images/success_msg_icon.gif") no-repeat scroll 10px 10px #EFF5EA !important; border: 1px solid #95A486 !important; color: #3D6611 !important; }
96
- .notice-msg { background: url("./../images/note_msg_icon.gif") no-repeat scroll 10px 10px #FFFBF0 !important; border: 1px solid #FFD967 !important; color: #3D6611 !important; }
97
- .warning-msg { background: url("./../images/warning_msg_icon.gif") no-repeat scroll 10px 10px #E6E6E6 !important; border: 1px solid #666E73 !important; color: #000000 !important; }
98
- button:hover, .form-button:hover { background: #F77C16; }
99
- button:active, .form-button:active { background: #F77C16; }
100
- button span { background-position: 0 50%; background-repeat: no-repeat; line-height: 1.35em; }
101
- button span span { background: none repeat scroll 0 0 transparent !important; display: inline !important; margin: 0 !important; padding: 0 !important; }
102
- input.input-text, textarea, select { background: none repeat scroll 0 0 #FFFFFF; border-color: #AAAAAA #C8C8C8 #C8C8C8 #AAAAAA; border-style: solid; border-width: 1px; font: 12px arial,helvetica,sans-serif; }
103
- input.input-text, textarea { padding: 2px; }
104
- button, .form-button { background: #FFAC47; border-color: #ED6502 #A04300 #A04300 #ED6502; border-style: solid; border-width: 1px; color: #FFFFFF; cursor: pointer; font: bold 12px arial,helvetica,sans-serif; padding: 0 7px 1px; text-align: center !important; white-space: nowrap; }
105
- /* ======================================================================================= */
106
- *, html {text-align: left;}
107
- h1 { color: #D12C01; font-size: 22px; font-weight: normal; margin: 0; text-align: left; }
108
- h2 { color: #444444; font: 16px Arial,Helvetica,sans-serif; margin: 0 0 5px; text-align: left; }
109
- body,
110
- .main-container,
111
- .header-container {background: none;}
112
- .header-simple {height: 60px; text-align: left; padding: 10px 10px 0 10px; border-bottom: 1px solid #CFCFCF;}
113
- .header-top img {height: 60px;}
114
- .login-box > div {padding: 10px;}
115
- .page-title {margin-bottom: 0; border-bottom: 1px solid #CFCFCF;}
116
- .form-box {border-bottom: 1px solid #CFCFCF;}
117
- .form-box .fieldset, .form-box fieldset {width: 320px; margin: 0 auto;}
118
- .input-box {margin-bottom: 10px;}
119
- .input-box label {width: 95px; font-weight: bold; display: block; float: left; text-align: right; padding-right: 10px;}
120
- .input-box input {width: 209px;}
121
- .required {font-weight: normal; color: #D40707 !important; font-size: 11px;}
122
- .form-buttons {text-align: right;}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
skin/frontend/ma2/ante/css/print.css CHANGED
@@ -18,13 +18,12 @@
18
  * needs please refer to http://www.magentocommerce.com for more information.
19
  *
20
  * @category design
21
- * @package default_default
22
- * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
23
  * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
24
  */
25
  * { background:none !important; text-align:left !important; }
26
- html { margin:0 !important; padding:0 !important; }
27
- body { background:#fff !important; font-size:9pt !important; padding:0 !important; margin:10px !important; }
28
  a { color:#2976c9 !important; }
29
  th,td { color:#2f2f2f !important; border-color:#ccc !important; }
30
 
18
  * needs please refer to http://www.magentocommerce.com for more information.
19
  *
20
  * @category design
21
+ * @package default_blank
22
+ * @copyright Copyright (c) 2013 Magento Inc. (http://www.magentocommerce.com)
23
  * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
24
  */
25
  * { background:none !important; text-align:left !important; }
26
+ body { background:#fff !important; font-size:9pt !important; margin:15px !important; }
 
27
  a { color:#2976c9 !important; }
28
  th,td { color:#2f2f2f !important; border-color:#ccc !important; }
29
 
skin/frontend/ma2/ante/css/styles-ie-7-blue.css CHANGED
@@ -106,7 +106,7 @@ ol#products-list, ol.products-list { margin-left:0px; }
106
  .ma2-detail{margin-top:0px;}
107
  .ma2-preset-style-blue ul#nav level0 ul.level0 li,
108
  .ma2-preset-style-blue ul#nav level0 ul.level0 li.parent,
109
- .ma2-preset-style-blue ul#nav level0 ul.level0 li.level1 { background: url(../images/menuactive-blue.png) #ff4c29 repeat-x 0px 0px; }
110
  .header .form-search button.button span span ,
111
  .ma2-preset-style-blue .header .form-search button.button span span ,
112
  .ma2-preset-style-green .header .form-search button.button span span ,
@@ -117,8 +117,8 @@ ol#products-list, ol.products-list { margin-left:0px; }
117
  .item-content{padding-bottom:0px;}
118
  .products-grid{margin-bottom:0px;}
119
  .info-products{padding: 10px 18px 0 0; position: relative;}
120
- .ma2-preset-style-green ul#nav level0 ul.level0 li{background: url(../images/menuactive-green.png) #ff4c29 repeat-x 0px 0px;}
121
- .ma2-preset-style-yellow ul#nav level0 ul.level0 li{background: url(../images/menuactive-yellow.png) #ff4c29 repeat-x 0px 0px;}
122
  .img-product
123
  {
124
  width:100%; float:left; display: block; margin-bottom:10px;
@@ -141,7 +141,7 @@ select { margin-bottom:1px; }
141
  input.radio { width:13px; height:13px; }
142
  input.checkbox { width:13px; height:13px; }
143
  button.button { height:26px; }
144
- button.button span { position:relative; padding-top:1px;}
145
  button.btn-checkout { height:40px; }
146
  #opc-review .sp-methods .input-box { float:left; }
147
  .form-list label { position:relative; z-index:0; }
106
  .ma2-detail{margin-top:0px;}
107
  .ma2-preset-style-blue ul#nav level0 ul.level0 li,
108
  .ma2-preset-style-blue ul#nav level0 ul.level0 li.parent,
109
+ .ma2-preset-style-blue ul#nav level0 ul.level0 li.level1 { background: url(../images/menuactive-blue.png) #ff4c29 repeat 0px 0px; }
110
  .header .form-search button.button span span ,
111
  .ma2-preset-style-blue .header .form-search button.button span span ,
112
  .ma2-preset-style-green .header .form-search button.button span span ,
117
  .item-content{padding-bottom:0px;}
118
  .products-grid{margin-bottom:0px;}
119
  .info-products{padding: 10px 18px 0 0; position: relative;}
120
+ .ma2-preset-style-green ul#nav level0 ul.level0 li{background: url(../images/menuactive-green.png) #ff4c29 repeat 0px 0px;}
121
+ .ma2-preset-style-yellow ul#nav level0 ul.level0 li{background: url(../images/menuactive-yellow.png) #ff4c29 repeat 0px 0px;}
122
  .img-product
123
  {
124
  width:100%; float:left; display: block; margin-bottom:10px;
141
  input.radio { width:13px; height:13px; }
142
  input.checkbox { width:13px; height:13px; }
143
  button.button { height:26px; }
144
+ button.button span { position:relative; padding-top:2px; padding-bottom:2px; }
145
  button.btn-checkout { height:40px; }
146
  #opc-review .sp-methods .input-box { float:left; }
147
  .form-list label { position:relative; z-index:0; }
skin/frontend/ma2/ante/css/styles-ie-7-green.css CHANGED
@@ -110,7 +110,7 @@ ol#products-list, ol.products-list { margin-left:0px; }
110
  .item-content{padding-bottom:0px;}
111
  .products-grid{margin-bottom:0px;}
112
  .info-products{padding: 10px 18px 0 0; position: relative;}
113
- .ma2-preset-style-green ul#nav level0 ul.level0 li{background: url(../images/menuactive-green.png) #ff4c29 repeat-x 0px 0px;}
114
  .img-product
115
  {
116
  width:100%; float:left; display: block; margin-bottom:10px;
@@ -133,7 +133,7 @@ select { margin-bottom:1px; }
133
  input.radio { width:13px; height:13px; }
134
  input.checkbox { width:13px; height:13px; }
135
  button.button { height:26px; }
136
- button.button span { position:relative; padding-top:1px;}
137
  button.btn-checkout { height:40px; }
138
  #opc-review .sp-methods .input-box { float:left; }
139
  .form-list label { position:relative; z-index:0; }
110
  .item-content{padding-bottom:0px;}
111
  .products-grid{margin-bottom:0px;}
112
  .info-products{padding: 10px 18px 0 0; position: relative;}
113
+ .ma2-preset-style-green ul#nav level0 ul.level0 li{background: url(../images/menuactive-green.png) #ff4c29 repeat 0px 0px;}
114
  .img-product
115
  {
116
  width:100%; float:left; display: block; margin-bottom:10px;
133
  input.radio { width:13px; height:13px; }
134
  input.checkbox { width:13px; height:13px; }
135
  button.button { height:26px; }
136
+ button.button span { position:relative; padding-top:2px; padding-top:2px; }
137
  button.btn-checkout { height:40px; }
138
  #opc-review .sp-methods .input-box { float:left; }
139
  .form-list label { position:relative; z-index:0; }
skin/frontend/ma2/ante/css/styles-ie-7-yellow.css CHANGED
@@ -104,7 +104,7 @@ ol#products-list, ol.products-list { margin-left:0px; }
104
  .ma2-detail{margin-top:0px;}
105
  .ma2-preset-style-blue ul#nav level0 ul.level0 li,
106
  .ma2-preset-style-blue ul#nav level0 ul.level0 li.parent,
107
- .ma2-preset-style-blue ul#nav level0 ul.level0 li.level1 { background: url(../images/menuactive-blue.png) #ff4c29 repeat-x 0px 0px; }
108
  .header .form-search button.button span span ,
109
  .ma2-preset-style-yellow .header .form-search button.button span span
110
  {
@@ -113,7 +113,7 @@ ol#products-list, ol.products-list { margin-left:0px; }
113
  .item-content{padding-bottom:0px;}
114
  .products-grid{margin-bottom:0px;}
115
  .info-products{padding: 10px 18px 0 0; position: relative;}
116
- .ma2-preset-style-yellow ul#nav level0 ul.level0 li{background: url(../images/menuactive-yellow.png) #ff4c29 repeat-x 0px 0px;}
117
  .img-product
118
  {
119
  width:100%; float:left; display: block; margin-bottom:10px;
@@ -136,7 +136,7 @@ select { margin-bottom:1px; }
136
  input.radio { width:13px; height:13px; }
137
  input.checkbox { width:13px; height:13px; }
138
  button.button { height:26px; }
139
- button.button span { position:relative; padding-top:1px;}
140
  button.btn-checkout { height:40px; }
141
  #opc-review .sp-methods .input-box { float:left; }
142
  .form-list label { position:relative; z-index:0; }
104
  .ma2-detail{margin-top:0px;}
105
  .ma2-preset-style-blue ul#nav level0 ul.level0 li,
106
  .ma2-preset-style-blue ul#nav level0 ul.level0 li.parent,
107
+ .ma2-preset-style-blue ul#nav level0 ul.level0 li.level1 { background: url(../images/menuactive-blue.png) #ff4c29 repeat 0px 0px; }
108
  .header .form-search button.button span span ,
109
  .ma2-preset-style-yellow .header .form-search button.button span span
110
  {
113
  .item-content{padding-bottom:0px;}
114
  .products-grid{margin-bottom:0px;}
115
  .info-products{padding: 10px 18px 0 0; position: relative;}
116
+ .ma2-preset-style-yellow ul#nav level0 ul.level0 li{background: url(../images/menuactive-yellow.png) #ff4c29 repeat 0px 0px;}
117
  .img-product
118
  {
119
  width:100%; float:left; display: block; margin-bottom:10px;
136
  input.radio { width:13px; height:13px; }
137
  input.checkbox { width:13px; height:13px; }
138
  button.button { height:26px; }
139
+ button.button span { position:relative; padding-top:2px; padding-bottom:2px; }
140
  button.btn-checkout { height:40px; }
141
  #opc-review .sp-methods .input-box { float:left; }
142
  .form-list label { position:relative; z-index:0; }
skin/frontend/ma2/ante/css/styles-ie-8-blue.css CHANGED
@@ -90,7 +90,7 @@ ol#products-list, ol.products-list { margin-left:0px; }
90
  .ma2-detail{margin-top:0px;}
91
  .ma2-preset-style-blue ul#nav level0 ul.level0 li,
92
  .ma2-preset-style-blue ul#nav level0 ul.level0 li.parent,
93
- .ma2-preset-style-blue ul#nav level0 ul.level0 li.level1 {background: url(../images/menuactive-blue.png) #ff4c29 repeat-x 0px 0px;}
94
 
95
  .header .form-search button.button span span ,
96
  .ma2-preset-style-blue .header .form-search button.button span span { font-size:0; }
@@ -109,7 +109,7 @@ input.radio { width:13px; height:13px; }
109
  input.checkbox { width:13px; height:13px; }
110
  button.button { height:26px; }
111
  button.button span,
112
- .ma2-preset-style-blue button.button span { padding-bottom:0px; padding-top:2px; }
113
  button.btn-checkout { height:40px; }
114
  #opc-review .sp-methods .input-box { float:left; }
115
  .form-list label { position:relative; z-index:0; }
90
  .ma2-detail{margin-top:0px;}
91
  .ma2-preset-style-blue ul#nav level0 ul.level0 li,
92
  .ma2-preset-style-blue ul#nav level0 ul.level0 li.parent,
93
+ .ma2-preset-style-blue ul#nav level0 ul.level0 li.level1 {background: url(../images/menuactive-blue.png) #ff4c29 repeat 0px 0px;}
94
 
95
  .header .form-search button.button span span ,
96
  .ma2-preset-style-blue .header .form-search button.button span span { font-size:0; }
109
  input.checkbox { width:13px; height:13px; }
110
  button.button { height:26px; }
111
  button.button span,
112
+ .ma2-preset-style-blue button.button span { padding-bottom:2px; padding-top:2px; }
113
  button.btn-checkout { height:40px; }
114
  #opc-review .sp-methods .input-box { float:left; }
115
  .form-list label { position:relative; z-index:0; }
skin/frontend/ma2/ante/css/styles-ie-8-green.css CHANGED
@@ -94,7 +94,7 @@ ol#products-list, ol.products-list { margin-left:0px; }
94
  .item-content{width:90%; padding-bottom:0px;}
95
  .products-grid{margin-bottom:0px;}
96
  .info-products{padding: 10px 18px 0 0; position: relative;}
97
- .ma2-preset-style-green ul#nav level0 ul.level0 li{background: url(../images/menuactive-green.png) #ff4c29 repeat-x 0px 0px;}
98
  .img-product { width:100%; float:left; display: block; margin-bottom:10px; }
99
  .product-title { width:100%; float:left; display: block; min-height:36px; margin-bottom:10px; }
100
  .short-description-product { width:100%; float:left; display: block; margin-bottom:10px; }
@@ -107,7 +107,7 @@ input.radio { width:13px; height:13px; }
107
  input.checkbox { width:13px; height:13px; }
108
  button.button { height:26px; }
109
  button.button span,
110
- .ma2-preset-style-green button.button span { padding-bottom:0px; padding-top:2px; }
111
  button.btn-checkout { height:40px; }
112
  #opc-review .sp-methods .input-box { float:left; }
113
  .form-list label { position:relative; z-index:0; }
94
  .item-content{width:90%; padding-bottom:0px;}
95
  .products-grid{margin-bottom:0px;}
96
  .info-products{padding: 10px 18px 0 0; position: relative;}
97
+ .ma2-preset-style-green ul#nav level0 ul.level0 li{background: url(../images/menuactive-green.png) #ff4c29 repeat 0px 0px;}
98
  .img-product { width:100%; float:left; display: block; margin-bottom:10px; }
99
  .product-title { width:100%; float:left; display: block; min-height:36px; margin-bottom:10px; }
100
  .short-description-product { width:100%; float:left; display: block; margin-bottom:10px; }
107
  input.checkbox { width:13px; height:13px; }
108
  button.button { height:26px; }
109
  button.button span,
110
+ .ma2-preset-style-green button.button span { padding-bottom:2px; padding-top:2px; }
111
  button.btn-checkout { height:40px; }
112
  #opc-review .sp-methods .input-box { float:left; }
113
  .form-list label { position:relative; z-index:0; }
skin/frontend/ma2/ante/css/styles-ie-8-yellow.css CHANGED
@@ -94,7 +94,7 @@ ol#products-list, ol.products-list { margin-left:0px; }
94
  .item-content{width:90%; padding-bottom:0px;}
95
  .products-grid{margin-bottom:0px;}
96
  .info-products{padding: 10px 18px 0 0; position: relative;}
97
- .ma2-preset-style-yellow ul#nav level0 ul.level0 li{background: url(../images/menuactive-yellow.png) #ff4c29 repeat-x 0px 0px;}
98
  .img-product { width:100%; float:left; display: block; margin-bottom:10px; }
99
  .product-title { width:100%; float:left; display: block; min-height:36px; margin-bottom:10px; }
100
  .short-description-product { width:100%; float:left; display: block; margin-bottom:10px; }
@@ -107,7 +107,7 @@ input.radio { width:13px; height:13px; }
107
  input.checkbox { width:13px; height:13px; }
108
  button.button { height:26px; }
109
  button.button span,
110
- .ma2-preset-style-yellow button.button span, { padding-bottom:0px; padding-top:2px; }
111
  button.btn-checkout { height:40px; }
112
  #opc-review .sp-methods .input-box { float:left; }
113
  .form-list label { position:relative; z-index:0; }
94
  .item-content{width:90%; padding-bottom:0px;}
95
  .products-grid{margin-bottom:0px;}
96
  .info-products{padding: 10px 18px 0 0; position: relative;}
97
+ .ma2-preset-style-yellow ul#nav level0 ul.level0 li{background: url(../images/menuactive-yellow.png) #ff4c29 repeat 0px 0px;}
98
  .img-product { width:100%; float:left; display: block; margin-bottom:10px; }
99
  .product-title { width:100%; float:left; display: block; min-height:36px; margin-bottom:10px; }
100
  .short-description-product { width:100%; float:left; display: block; margin-bottom:10px; }
107
  input.checkbox { width:13px; height:13px; }
108
  button.button { height:26px; }
109
  button.button span,
110
+ .ma2-preset-style-yellow button.button span { padding-bottom:2px; padding-top:2px; }
111
  button.btn-checkout { height:40px; }
112
  #opc-review .sp-methods .input-box { float:left; }
113
  .form-list label { position:relative; z-index:0; }
skin/frontend/ma2/ante/css/styles-ie-8.css CHANGED
@@ -85,7 +85,7 @@ ol#products-list, ol.products-list { margin-left:0px; }
85
  .category-products-widget ul.products-grid,
86
  .category-products-widget ul#products-grid-1
87
  {margin-bottom:20px;}
88
- .catalog-product-default, .products-grid-featured{margin-bottom:24px;}
89
  .ma2-detail{margin-top:0px;}
90
 
91
  .header .form-search button.button span span ,
@@ -104,7 +104,7 @@ select { margin-bottom:1px; }
104
  input.radio { width:13px; height:13px; }
105
  input.checkbox { width:13px; height:13px; }
106
  button.button { height:26px; }
107
- button.button span { padding-bottom:0px; padding-top:2px; }
108
  button.btn-checkout { height:40px; }
109
  #opc-review .sp-methods .input-box { float:left; }
110
  .form-list label { position:relative; z-index:0; }
85
  .category-products-widget ul.products-grid,
86
  .category-products-widget ul#products-grid-1
87
  {margin-bottom:20px;}
88
+ .catalog-product-default, .products-grid-featured { margin-bottom:24px;}
89
  .ma2-detail{margin-top:0px;}
90
 
91
  .header .form-search button.button span span ,
104
  input.radio { width:13px; height:13px; }
105
  input.checkbox { width:13px; height:13px; }
106
  button.button { height:26px; }
107
+ button.button span { padding-bottom:2px; padding-top:2px; }
108
  button.btn-checkout { height:40px; }
109
  #opc-review .sp-methods .input-box { float:left; }
110
  .form-list label { position:relative; z-index:0; }
skin/frontend/ma2/ante/css/styles-ie.css CHANGED
@@ -1,5 +1,3 @@
1
- @import url(http://fonts.googleapis.com/css?family=Oswald);
2
-
3
  /**
4
  * Magento
5
  *
@@ -20,8 +18,8 @@
20
  * needs please refer to http://www.magentocommerce.com for more information.
21
  *
22
  * @category design
23
- * @package default_default
24
- * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
25
  * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
26
  */
27
 
@@ -31,109 +29,36 @@
31
  * html .success-msg,
32
  * html .note-msg,
33
  * html .notice-msg { height:24px; }
34
- * html .main { height:400px; }
35
- * html .account-login .content { height:240px; }
36
  .block li.item,
37
  .block-poll li,
38
  .opc li.section { vertical-align:top; }
39
- * html .window-overlay { background:#ccc; filter:alpha(opacity=50); }
40
 
41
  /* Doubled Margin Fixes */
42
  .product-view .product-img-box .more-views li,
43
  .product-view .box-tags .form-add .input-box,
44
  .sp-methods select.month { display:inline; }
45
 
46
- /********** < Start fix css navigation styles */
47
- #nav{position:relative; z-index:9999;}
48
  #nav li a { zoom:1; }
49
  #nav li { vertical-align:top; }
50
- li a { display: block; float: left; clear: left; }
51
- li { display: block; }
52
- ul#nav li #nav li { display: block; }
53
- ul#nav li.level0 ul.level0 li.parent a { posittion:relative; height:24px; background:url(../images/bkg_nav2.gif) no-repeat 170px 13px; }
54
- ul#nav li.level0 ul.level0 li.level1 a { posittion:relative; height:28px; }
55
- ul#nav li.level0 ul.level0 li.level1 a:hover{ posittion:relative; height:22px; }
56
- ul#nav li.level0 ul.level0 li { height:28px; }
57
- ul#nav li.level0 ul.level0 li:hover { height:28px; }
58
- ul#nav li.level0 ul.level0 li.level1 ul.level1 { position:absolute; left:123px; top:26px; }
59
- #nav ul li a,
60
- .ma2-preset-style-blue #nav ul li a,
61
- .ma2-preset-style-green #nav ul li a,
62
- .ma2-preset-style-yellow #nav ul li a { background: none no-repeat scroll 170px 19px transparent; }
63
- /********** < End fix css navigation styles */
64
-
65
- /* start fix css category products */
66
- /* ================================= */
67
- .product-title{ height:38px; }
68
- .products-grid{margin-bottom: 28px;}
69
- ul.products-grid{position:relative;display:inline;}
70
- ul.products-grid li.item{float:left; text-align:left; position:relative;display:inline;}
71
- ul.products-grid li.item .item-content .product-title ,
72
- ul.products-grid li.item .item-content .short-description-product {display:inline;}
73
- .product-title, .short-description-product, .border-style, .actions{display:block;}
74
- .free_shipping-right{float:left;}
75
- .border-style{border-top:0px;}
76
- .border-bottom{border-bottom:1px solid #ededed; width:100%;}
77
- .breadcrumbs{width:100%; display:block; float:left;}
78
- ul#ma2-nav-breadcrum li,
79
- ul#ma2-nav-breadcrumb li,
80
- ul#ma2-nav-breadcrumb li { display:block; float:left; text-align:left; position:relative; margir-left:25px; }
81
- .f-fix-first{width:65%;}
82
- .f-fix-last{width:28%;}
83
- .pages ol li.current,
84
- .pages ol li { display:inline; float:left; }
85
- ol#products-list, ol.products-list { margin-left:0px; }
86
- .pages ol{text-align:center; margin:0 auto; display:block;}
87
- .category-products-widget ul.products-grid,
88
- .category-products-widget ul#products-grid-1
89
- {margin-bottom:20px;}
90
- .catalog-product-default, .products-grid-featured{margin-bottom:24px;}
91
- .ma2-detail{margin-top:0px;}
92
- .ma2-preset-style-blue ul#nav level0 ul.level0 li,
93
- .ma2-preset-style-blue ul#nav level0 ul.level0 li.parent,
94
- .ma2-preset-style-blue ul#nav level0 ul.level0 li.level1 {background: url(../images/menuactive-blue.png) #ff4c29 repeat-x 0px 0px;}
95
-
96
- .header .form-search button.button span span ,
97
- .ma2-preset-style-blue .header .form-search button.button span span ,
98
- .ma2-preset-style-green .header .form-search button.button span span ,
99
- .ma2-preset-style-yellow .header .form-search button.button span span { font-size:0; }
100
- .item-content{width:90%; padding-bottom:0px;}
101
- .products-grid{margin-bottom:0px;}
102
- .info-products{padding: 10px 18px 0 0; position: relative;}
103
- .ma2-preset-style-green ul#nav level0 ul.level0 li{background: url(../images/menuactive-green.png) #ff4c29 repeat-x 0px 0px;}
104
- .ma2-preset-style-yellow ul#nav level0 ul.level0 li{background: url(../images/menuactive-yellow.png) #ff4c29 repeat-x 0px 0px;}
105
- .img-product { width:100%; float:left; display: block; margin-bottom:10px; }
106
- .product-title { width:100%; float:left; display: block; min-height:36px; margin-bottom:10px; }
107
- .short-description-product { width:100%; float:left; display: block; margin-bottom:10px; }
108
- .actions { position:none; }
109
- .style-border-ie { padding-top:3px; text-align: left; float: left; border-top:1px solid #ededed; width: 100%; }
110
 
111
- /* end fix css category products */
112
  select { margin-bottom:1px; }
113
- input.radio { width:13px; height:13px; }
114
- input.checkbox { width:13px; height:13px; }
115
- button.button { height:26px; }
116
- button.button span,
117
- .ma2-preset-style-blue button.button span,
118
- .ma2-preset-style-green button.button span,
119
- .ma2-preset-style-yellow button.button span, { padding-bottom:0px; padding-top:2px; }
120
- button.btn-checkout { height:40px; }
121
- #opc-review .sp-methods .input-box { float:left; }
122
  .form-list label { position:relative; z-index:0; }
123
  .form-list label.required em { position:absolute; top:0; right:-8px; }
124
 
125
- table { scrollbar-face-color:expression(runtimeStyle.scrollbarFaceColor = '#fff', cellSpacing = 0); }
126
-
127
- .product-view .product-img-box .zoom.disabled { filter:alpha(opacity=30); }
128
-
129
- .gift-messages-form { position:relative; zoom:1; }
130
 
131
  .tool-tip .btn-close a { margin:0; }
132
 
133
- .product-view .box-tags .product-tags li,
134
- .footer li { padding:0 4px 0 7px; }
135
-
136
- .product-options dd .time-picker select { margin:0; padding:0; }
137
 
138
  /* Clearer */
139
  .clearer { display:block; clear:both; font-size:0; line-height:0; height:0; overflow:hidden; }
@@ -150,7 +75,6 @@ table { scrollbar-face-color:expression(runtimeStyle.scrollbarFaceColor = '#fff'
150
  .col-main,
151
  .col2-set,
152
  .col3-set,
153
- .col3-layout .product-options-bottom .price-box,
154
  .col4-set,
155
  .messages li,
156
  .search-autocomplete li,
@@ -179,11 +103,10 @@ table { scrollbar-face-color:expression(runtimeStyle.scrollbarFaceColor = '#fff'
179
  .product-essential,
180
  .product-collateral,
181
  .product-view .product-img-box .more-views ul,
182
- .product-view .box-tags .form-add,
183
  .product-view .product-shop .short-description,
184
  .product-view .box-description,
 
185
  .product-options .options-list li,
186
- .product-options,
187
  .product-options-bottom,
188
  .truncated,
189
  .truncated .truncated_full_value,
@@ -210,8 +133,5 @@ table { scrollbar-face-color:expression(runtimeStyle.scrollbarFaceColor = '#fff'
210
  .send-friend .form-list li p,
211
  .centinel .authentication { zoom:1; }
212
 
213
- /*OMG*/
214
- .col-right{display:block; float:right;}
215
-
216
  /* Hover Fix */
217
  iframe.hover-fix { position:absolute; left:-1px; top:-1px; z-index:-1; background:transparent; filter:progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0); }
 
 
1
  /**
2
  * Magento
3
  *
18
  * needs please refer to http://www.magentocommerce.com for more information.
19
  *
20
  * @category design
21
+ * @package default_blank
22
+ * @copyright Copyright (c) 2013 Magento Inc. (http://www.magentocommerce.com)
23
  * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
24
  */
25
 
29
  * html .success-msg,
30
  * html .note-msg,
31
  * html .notice-msg { height:24px; }
 
 
32
  .block li.item,
33
  .block-poll li,
34
  .opc li.section { vertical-align:top; }
35
+ * html .window-overlay {}
36
 
37
  /* Doubled Margin Fixes */
38
  .product-view .product-img-box .more-views li,
39
  .product-view .box-tags .form-add .input-box,
40
  .sp-methods select.month { display:inline; }
41
 
42
+ /********** < Navigation styles */
43
+ #nav li,
44
  #nav li a { zoom:1; }
45
  #nav li { vertical-align:top; }
46
+ /********** < Navigation styles */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
47
 
 
48
  select { margin-bottom:1px; }
49
+ input.radio { width:13px; height: 13px; }
50
+ input.checkbox { width: 13px; height: 13px; }
51
+ button.button { }
52
+ button.button span { position:relative; }
53
+ button.btn-checkout {}
 
 
 
 
54
  .form-list label { position:relative; z-index:0; }
55
  .form-list label.required em { position:absolute; top:0; right:-8px; }
56
 
57
+ /*table { scrollbar-face-color:expression(runtimeStyle.scrollbarFaceColor = '#fff', cellSpacing = 0); }*/ /* Cellspacing fix for IE6-7 */
 
 
 
 
58
 
59
  .tool-tip .btn-close a { margin:0; }
60
 
61
+ .product-view .product-img-box .zoom.disabled { filter:alpha(opacity=30); }
 
 
 
62
 
63
  /* Clearer */
64
  .clearer { display:block; clear:both; font-size:0; line-height:0; height:0; overflow:hidden; }
75
  .col-main,
76
  .col2-set,
77
  .col3-set,
 
78
  .col4-set,
79
  .messages li,
80
  .search-autocomplete li,
103
  .product-essential,
104
  .product-collateral,
105
  .product-view .product-img-box .more-views ul,
 
106
  .product-view .product-shop .short-description,
107
  .product-view .box-description,
108
+ .product-view .box-tags .form-add,
109
  .product-options .options-list li,
 
110
  .product-options-bottom,
111
  .truncated,
112
  .truncated .truncated_full_value,
133
  .send-friend .form-list li p,
134
  .centinel .authentication { zoom:1; }
135
 
 
 
 
136
  /* Hover Fix */
137
  iframe.hover-fix { position:absolute; left:-1px; top:-1px; z-index:-1; background:transparent; filter:progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0); }
skin/frontend/ma2/ante/css/styles.css CHANGED
@@ -1,5 +1,4 @@
1
- @import url(http://fonts.googleapis.com/css?family=Oswald);
2
- -webkit-border-fit/**
3
  * Magento
4
  *
5
  * NOTICE OF LICENSE
@@ -19,46 +18,53 @@
19
  * needs please refer to http://www.magentocommerce.com for more information.
20
  *
21
  * @category design
22
- * @package default_default
23
- * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
24
  * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
  */
 
26
  /* Reset ================================================================================= */
27
- * { margin:0; padding:0; }
28
- body { background:#496778 url(../images/bkg_body.gif) 50% 0 repeat-y; color:#2f2f2f; text-align:center; font-family:Arial, Helvetica, sans-serif; font-size:12px; }
29
- img { border:0; vertical-align:top; position: relative; z-index:2;}
30
- a { text-decoration:none;}
31
- a:hover { text-decoration:none; font-family: arial;}
 
 
 
32
  :focus { outline:0; }
 
33
  /* Headings */
34
- h1,h2,h3,
35
- h4,h5,h6 { margin:0; line-height:1.35; color:#0a263c; }
36
- h1 { font-size:20pt; font-weight:normal; font-family:Oswall; }
37
- h2 { font-size:18px; font-weight:normal; }
38
- h3 { font-size:16px; font-weight:bold; }
39
  h4 { font-size:14px; font-weight:bold; }
40
  h5 { font-size:12px; font-weight:bold; }
41
  h6 { font-size:11px; font-weight:bold; }
 
42
  /* Forms */
43
  form { display:inline; }
44
  fieldset { border:0; }
45
  legend { display:none; }
 
46
  /* Table */
47
- table { border:0; /*border-collapse:collapse;*/ border-spacing:0; empty-cells:show; font-size:100%; }
48
  caption,th,td { vertical-align:top; text-align:left; font-weight:normal; }
 
49
  /* Content */
50
- p { margin:0; }
51
  strong { font-weight:bold; }
52
- address { font-style:normal; line-height:1.35; }
53
  cite { font-style:normal; }
54
  q,
55
  blockquote { quotes:none; }
56
  q:before,
57
  q:after { content:''; }
58
  small,big { font-size:1em; }
59
- /*sup { font-size:1em; vertical-align:top; }*/
 
60
  /* Lists */
61
  ul,ol { list-style:none; }
 
62
  /* Tools */
63
  .hidden { display:block !important; border:0 !important; margin:0 !important; padding:0 !important; font-size:0 !important; line-height:0 !important; width:0 !important; height:0 !important; overflow:hidden !important; }
64
  .nobr { white-space:nowrap !important; }
@@ -73,79 +79,92 @@ ul,ol { list-style:none; }
73
  .f-right,
74
  .right { float:right !important; }
75
  .f-none { float:none !important; }
76
- .f-fix { float:left; width:100%; text-align:justify;}
77
- .f-fix-widget { float:left; width:100%; text-align:justify;}
78
  .no-display { display:none; }
79
  .no-margin { margin:0 !important; }
80
  .no-padding { padding:0 !important; }
81
  .no-bg { background:none !important; }
82
  /* ======================================================================================= */
 
 
83
  /* Layout ================================================================================ */
84
- .wrapper { min-width:954px; }
85
- .page {}
86
- .page-print { background:#fff; padding:25px 30px; text-align:left; }
87
  .page-empty { background:#fff; padding:20px; text-align:left; }
88
- .page-popup { background:#fff; padding:25px 30px; text-align:left; }
89
- .main-container { background:#fbfaf6 url(../images/bkg_main1.gif) 50% 0 no-repeat; }
90
- .main { width:900px; margin:0 auto; padding:10px 25px 80px; background:#fffffe url(../images/bkg_main2.gif) 0 0 no-repeat; text-align:left; }
 
91
  /* Base Columns */
92
- .col-left { float:left; width:220px; padding:0 0 1px; }
93
- .col-main { float:left; width:685px; padding:0 0 1px; }
94
- .col-right { float:right; width:195px; padding:0 0 1px; }
 
95
  /* 1 Column Layout */
96
- .col1-layout .col-main { float:none; width:auto; }
 
97
  /* 2 Columns Layout */
98
  .col2-left-layout .col-main { float:right; }
99
  .col2-right-layout .col-main {}
 
100
  /* 3 Columns Layout */
101
- .col3-layout .col-main { width:475px; margin-left:17px; }
102
- .col3-layout .col-wrapper { float:left; width:687px; }
103
  .col3-layout .col-wrapper .col-main { float:right; }
 
104
  /* Content Columns */
105
- .col2-set .col-1 { float:left; width:58.5%; }
106
- .col2-set .col-2 { float:right; width:38.5%; }
107
- .col2-set .col-narrow { width:32%; }
108
  .col2-set .col-wide { width:65%; }
 
109
  .col3-set .col-1 { float:left; width:32%; }
110
  .col3-set .col-2 { float:left; width:32%; margin-left:2%; }
111
  .col3-set .col-3 { float:right; width:32%; }
 
112
  .col4-set .col-1 { float:left; width:23.5%; }
113
  .col4-set .col-2 { float:left; width:23.5%; margin:0 2%; }
114
  .col4-set .col-3 { float:left; width:23.5%; }
115
  .col4-set .col-4 { float:right; width:23.5%; }
116
  /* ======================================================================================= */
 
 
117
  /* Global Styles ========================================================================= */
118
  /* Form Elements */
119
- input,select,textarea,button { font:12px/15px Arial, Helvetica, sans-serif; vertical-align:middle; color:#2f2f2f; }
120
- input.input-text,select,textarea { background:#fff; border:1px solid #b6b6b6; }
121
  input.input-text,textarea { padding:2px; }
122
  select { padding:1px; }
123
  select option { padding-right:10px; }
124
- select.multiselect option { border-bottom:1px solid #b6b6b6; padding:2px 5px; }
125
  select.multiselect option:last-child { border-bottom:0; }
126
  textarea { overflow:auto; }
127
  input.radio { margin-right:3px; }
128
  input.checkbox { margin-right:3px; }
129
  input.qty { height: 1.6em !important; width: 5.5em !important; }
130
  button.button::-moz-focus-inner { padding:0; border:0; } /* FF Fix */
131
- button.button { } /* <- Safari & Google Chrome Fix */
132
  button.button { overflow:visible; width:auto; border:0; padding:0; margin:0; background:transparent; cursor:pointer; }
133
- button.button span { background: none repeat scroll 0 0 #F18200; border: 1px solid #DE5400; color: #FFFFFF; display: block; font-family: oswald; font-size: 12pt; font-weight: normal; height: 24px; padding: 3px 8px; text-align: center; white-space: nowrap; }
134
- button.disabled span { border-color:#bbb !important; background:#bbb !important; }
135
- button.btn-checkout span { color: #FFFFFF; font-size: 16px; height: 40px; line-height: 22pt; padding: 0 0 0 9px; }
136
- button.btn-checkout span span { background-position:100% 0; padding:0 25px 0 16px; }
137
- button.btn-checkout.no-checkout span { background-position:0 100%; color:#b8baba; }
138
- button.btn-checkout.no-checkout span span { background-position:100% 100%; }
 
 
139
  p.control input.checkbox,
140
  p.control input.radio { margin-right:6px; }
141
  /* Form Highlight */
142
- input.input-text:focus,select:focus,textarea:focus { background-color:#edf7fd; }
143
  /*.highlight { background:#efefef; }*/
 
144
  /* Form lists */
145
  /* Grouped fields */
146
  /*.form-list { width:535px; margin:0 auto; overflow:hidden; }*/
147
  .form-list li { margin:0 0 8px; }
148
- .form-list label { float:left; color:#666; font-weight:bold; position:relative; z-index:0; }
149
  .form-list label.required {}
150
  .form-list label.required em { float:right; font-style:normal; color:#eb340a; position:absolute; top:0; right:-8px; }
151
  .form-list li.control label { float:none; }
@@ -153,24 +172,18 @@ input.input-text:focus,select:focus,textarea:focus { background-color:#edf7fd; }
153
  .form-list li.control input.checkbox { margin-right:6px; }
154
  .form-list li.control .input-box { clear:none; display:inline; width:auto; }
155
  /*.form-list li.fields { margin-right:-15px; }*/
156
- .form-list .input-box { display:block; clear:both; width:165px; }
157
  .form-list .field { float:left; width:275px; }
158
- .form-list input.input-text { width:156px; }
159
  .form-list textarea { width:254px; height:10em; }
160
- .form-list select { width:163px; }
161
  .form-list li.wide .input-box { width:535px; }
162
- .form-list li.wide input.input-text { width:156px; }
163
  .form-list li.wide textarea { width:529px; }
164
  .form-list li.wide select { width:535px; }
165
  .form-list li.additional-row { border-top:1px solid #ccc; margin-top:10px; padding-top:7px; }
166
  .form-list li.additional-row .btn-remove { float:right; margin:5px 0 0; }
167
  .form-list .input-range input.input-text { width:74px; }
168
- .form-list-narrow li { margin-bottom:0; }
169
- .form-list-narrow li .input-box { margin-bottom:6px; }
170
- .form-list-narrow li.wide .input-box { width:260px; }
171
- .form-list-narrow li.wide input.input-text,
172
- .form-list-narrow li.wide textarea { width:254px }
173
- .form-list-narrow li.wide select { width:260px; }
174
  /* Customer */
175
  .form-list .customer-name-prefix .input-box,
176
  .form-list .customer-name-suffix .input-box,
@@ -178,39 +191,49 @@ input.input-text:focus,select:focus,textarea:focus { background-color:#edf7fd; }
178
  .form-list .customer-name-prefix-middlename .input-box,
179
  .form-list .customer-name-middlename-suffix .input-box,
180
  .form-list .customer-name-prefix-middlename-suffix .input-box { width:auto; }
 
181
  .form-list .name-prefix { width:65px; }
182
  .form-list .name-prefix select { width:55px; }
183
  .form-list .name-prefix input.input-text { width:49px; }
 
184
  .form-list .name-suffix { width:65px; }
185
  .form-list .name-suffix select { width:55px; }
186
  .form-list .name-suffix input.input-text { width:49px; }
 
187
  .form-list .name-middlename { width:70px; }
188
  .form-list .name-middlename input.input-text { width:49px; }
 
189
  .form-list .customer-name-prefix-middlename-suffix .name-firstname,
190
  .form-list .customer-name-prefix-middlename .name-firstname { width:140px; }
191
  .form-list .customer-name-prefix-middlename-suffix .name-firstname input.input-text,
192
  .form-list .customer-name-prefix-middlename .name-firstname input.input-text { width:124px; }
193
  .form-list .customer-name-prefix-middlename-suffix .name-lastname { width:205px; }
194
  .form-list .customer-name-prefix-middlename-suffix .name-lastname input.input-text { width:189px; }
 
195
  .form-list .customer-name-prefix-suffix .name-firstname { width:210px; }
196
  .form-list .customer-name-prefix-suffix .name-lastname { width:205px; }
197
  .form-list .customer-name-prefix-suffix .name-firstname input.input-text,
198
  .form-list .customer-name-prefix-suffix .name-lastname input.input-text { width:189px; }
 
199
  .form-list .customer-name-prefix-suffix .name-firstname { width:210px; }
200
  .form-list .customer-name-prefix-suffix .name-lastname { width:205px; }
201
  .form-list .customer-name-prefix-suffix .name-firstname input.input-text,
202
  .form-list .customer-name-prefix-suffix .name-lastname input.input-text { width:189px; }
 
203
  .form-list .customer-name-prefix .name-firstname,
204
  .form-list .customer-name-middlename .name-firstname { width:210px; }
 
205
  .form-list .customer-name-suffix .name-lastname,
206
  .form-list .customer-name-middlename .name-firstname,
207
  .form-list .customer-name-middlename-suffix .name-firstname,
208
  .form-list .customer-name-middlename-suffix .name-lastname { width:205px; }
 
209
  .form-list .customer-name-prefix .name-firstname input.input-text,
210
  .form-list .customer-name-suffix .name-lastname input.input-text,
211
  .form-list .customer-name-middlename .name-firstname input.input-text,
212
  .form-list .customer-name-middlename-suffix .name-firstname input.input-text,
213
  .form-list .customer-name-middlename-suffix .name-lastname input.input-text { width:189px; }
 
214
  .form-list .customer-dob .dob-month,
215
  .form-list .customer-dob .dob-day,
216
  .form-list .customer-dob .dob-year { float:left; width:85px; }
@@ -222,58 +245,36 @@ input.input-text:focus,select:focus,textarea:focus { background-color:#edf7fd; }
222
  .form-list .customer-dob .dob-month input.input-text { width:46px; }
223
  .form-list .customer-dob .dob-year { width:140px; }
224
  .form-list .customer-dob .dob-year input.input-text { width:134px; }
225
- /* Independent fields */
226
- /*.form-list li { margin:0 0 8px; }
227
- .form-list li.fields { margin:0; }
228
- .form-list .field { display:block; margin:0 0 8px; }
229
- .form-list li.control {}
230
- .form-list label { float:left; width:150px; padding:2px 10px 0 0; text-align:right; }
231
- .form-list label.required { font-weight:bold; }
232
- .form-list label.required em { font-variant:normal; color:#eb340a; margin-right:3px; }
233
- .form-list .input-box { float:left; width:260px; }
234
- .form-list input.input-text,
235
- .form-list textarea { width:254px; }
236
- .form-list select { width:260px; }
237
- .form-list li.additional-row { border-top:1px solid #ddd; margin-top:10px; }
238
- .form-list li.additional-row .btn-remove { float:right; margin:5px 5px 0 0; }
239
- .form-list .input-range input.input-text { width:96px; }*/
240
- /* Customer */
241
- /*.form-list .customer-dob .dob-month,
242
- .form-list .customer-dob .dob-day,
243
- .form-list .customer-dob .dob-year { float:left; width:85px; }
244
- .form-list .customer-dob input.input-text { display:block; width:74px; }
245
- .form-list .customer-dob label { font-size:11px; font-weight:normal; color:#777; text-align:left; }
246
- .form-list .customer-dob .dob-day,
247
- .form-list .customer-dob .dob-month { width:60px; }
248
- .form-list .customer-dob .dob-day input.input-text,
249
- .form-list .customer-dob .dob-month input.input-text { width:46px; }
250
- .form-list .customer-dob .dob-year { width:140px; }
251
- .form-list .customer-dob .dob-year input.input-text { width:134px; }*/
252
- .buttons-set { clear:both; margin:4em 0 0; padding:8px 0 0; border-top:1px solid #e4e4e4; text-align:right; }
253
- .buttons-set p.required { margin:0 0 10px; }
254
- .buttons-set .back-link { float:left; margin:0; }
255
- .buttons-set button.button { float:right; margin-left:5px; }
256
- .buttons-set-order { margin:10px 0 0; }
257
- .buttons-set-order .please-wait { padding:12px 7px 0 0; }
258
- .fieldset { border:1px solid #bbafa0; background:#fbfaf6; padding:22px 25px 12px 33px; margin:28px 0; }
259
- .fieldset .legend { float:left; font-weight:bold; font-size:13px; border:1px solid #f19900; background:#f9f3e3; color:#e76200; margin:-33px 0 0 -10px; padding:0 8px; position:relative; }
260
  /* Form Validation */
261
- .validation-advice { clear:both; min-height:13px; margin:3px 0 0; padding-left:17px; font-size:11px; font-weight:bold; line-height:13px; background:url(../images/validation_advice_bg.gif) 2px 0 no-repeat; color:#eb340a; }
262
- .validation-failed { border:1px dashed #eb340a !important; background:#faebe7 !important; }
263
  .validation-passed {}
264
- p.required { font-size:11px; text-align:right; color:#EB340A; }
265
  /* Expiration date and CVV number validation fix */
266
  .v-fix { float:left; }
267
  .v-fix .validation-advice { display:block; width:12em; margin-right:-12em; position:relative; }
 
268
  /* Global Messages */
269
  .success { color:#3d6611; font-weight:bold; }
270
- .error { color:#df280a; font-weight:bold; }
271
- .notice { color:#e26703; }
 
272
  .messages,
273
  .messages ul { list-style:none !important; margin:0 !important; padding:0 !important; }
274
  .messages { width:100%; overflow:hidden; }
275
- .messages li { margin:0 0 10px !important; }
276
- .messages li li { margin:0 0 3px !important; }
277
  .error-msg,
278
  .success-msg,
279
  .note-msg,
@@ -282,16 +283,23 @@ p.required { font-size:11px; text-align:right; color:#EB340A; }
282
  .success-msg { border-color:#446423; background-color:#eff5ea; background-image:url(../images/i_msg-success.gif); color:#3d6611; }
283
  .note-msg,
284
  .notice-msg { border-color:#fcd344; background-color:#fafaec; background-image:url(../images/i_msg-note.gif); color:#3d6611; }
 
285
  /* BreadCrumbs */
286
- .breadcrumbs { font-size: 12px; font-weight: bold; line-height: 1.25; padding-bottom: 10px; padding-top: 6px; text-transform: uppercase; }
 
 
 
 
 
 
 
287
  .breadcrumbs li { display:inline; }
288
- .breadcrumbs li strong { font-weight:bold; }
289
  /* Page Heading */
290
- .page-title { width:100%; overflow:hidden; border-bottom:1px solid #ccc; margin:0 0 25px; text-transform: uppercase;}
291
- .page-title h1,
292
- .page-title h2 { color: #6F5651; font-family: oswald; font-size: 26px; margin-bottom: 0; margin-top: 0; padding-bottom: 4px; padding-top: 0; }
293
  .page-title .separator { margin:0 3px; }
294
- .page-title .link-rss { float:right; margin:7px 0 0; }
295
  .title-buttons { text-align:right; }
296
  .title-buttons h1,
297
  .title-buttons h2,
@@ -299,88 +307,73 @@ p.required { font-size:11px; text-align:right; color:#EB340A; }
299
  .title-buttons h4,
300
  .title-buttons h5,
301
  .title-buttons h6 { float:left; }
 
302
  .subtitle,
303
- .sub-title { clear:both; padding:15px 0 0; font-size:15px; font-weight:bold; margin:0 0 6px; color:#e25203; }
 
304
  /* Pager */
305
- .pager { font-size:11px; padding:4px 8px; text-align:center; }
306
- .pager .amount { float:left; margin:0; }
307
  .pager .limiter { float:right; }
308
- .pager .limiter label { vertical-align:middle; }
309
- .pager .limiter select { padding:0; margin:0 0 1px; vertical-align:middle; }
310
- .pager .pages { margin:0 140px; }
311
  .pager .pages ol { display:inline; }
312
- .pager .pages li { display:inline; margin:0 2px; }
313
  .pager .pages .current {}
 
314
  /* Sorter */
315
- .sorter { font-size:11px; padding:3px 8px; border-top:1px solid #e2e2e2; }
316
- .sorter .view-mode { float:left; margin:0; }
317
- .sorter .sort-by { float:right; padding-right:36px; }
318
- .sorter .sort-by label { vertical-align:middle; }
319
- .sorter .sort-by select { padding:0; margin:0 0 1px; vertical-align:middle; }
320
  .sorter .link-feed {}
 
321
  /* Toolbar */
322
  .toolbar {}
323
- .toolbar .pager { padding:3px 8px; /*border-bottom:1px solid #fff;*/ }
324
- .toolbar .sorter { border-bottom:1px solid #fff; }
325
  .toolbar-bottom {}
 
326
  /* Data Table */
327
- .data-table { width:100%; border:1px solid #bebcb7; }
328
- .data-table .odd { background:#f8f7f5 }
329
- .data-table .even { background:#eeeded; }
330
- /*.data-table tr.odd:hover,
331
- .data-table tr.even:hover { background:#ebf1f6; }*/
332
- .data-table td.last,
333
- .data-table th.last { border-right:0; }
334
- .data-table tr.last th,
335
- .data-table tr.last td { border-bottom:0 !important; }
336
- .data-table th { padding:3px 8px; font-weight:bold; }
337
- .data-table td { padding:3px 8px; }
338
- .data-table thead th { font-weight:bold; border-right:1px solid #c2d3e0; padding:2px 8px; color:#0a263c; white-space:nowrap; vertical-align:middle; }
339
- .data-table thead th.wrap { white-space:normal; }
340
- .data-table thead th a,
341
- .data-table thead th a:hover { color:#fff; }
342
- .data-table thead th { background:url(../images/bkg_th.gif) repeat-x 0 100% #d9e5ee; }
343
- .data-table thead th .tax-flag { font-size:11px; white-space:nowrap; }
344
- .data-table tfoot { border-bottom:1px solid #d9dde3; }
345
- .data-table tfoot tr.first td { background:url(../images/bkg_tfoot.gif) 0 0 repeat-x; }
346
- .data-table tfoot tr { background-color:#dee5e8 !important; }
347
- .data-table tfoot td { padding-top:1px; padding-bottom:1px; border-bottom:0; border-right:1px solid #d9dde3; }
348
- .data-table tfoot strong { font-size:16px; }
349
- .data-table tbody th,
350
- .data-table tbody td { border-bottom:1px solid #d9dde3; border-right:1px solid #d9dde3; }
351
- /* Bundle products tables */
352
- .data-table tbody.odd tr { background:#f8f7f5 !important; }
353
- .data-table tbody.even tr { background:#f6f6f6 !important; }
354
- .data-table tbody.odd tr td,
355
- .data-table tbody.even tr td { border-bottom:0; }
356
  .data-table tbody.odd tr.border td,
357
- .data-table tbody.even tr.border td { border-bottom:1px solid #d9dde3; }
358
- .data-table tbody td .option-label { font-weight:bold; font-style:italic; }
359
- .data-table tbody td .option-value { padding-left:10px; }
360
- /* Generic Info Box */
361
- .info-box { background:#fff url(../images/bkg_block-title.gif) 0 0 repeat-x; border:1px solid #d0cbc1; padding:12px 15px; margin:0 0 15px; }
362
- .info-box h2 { font-weight:bold; font-size:13px; }
363
- .info-table th { font-weight:bold; padding:2px 15px 2px 0; }
364
- .info-table td { padding:2px 0; }
365
  /* Shopping cart total summary row expandable to details */
366
  tr.summary-total { cursor:pointer; }
367
  tr.summary-total td {}
368
- tr.summary-total .summary-collapse { float:right; text-align:right; padding-left:20px; background:url(../images/bkg_collapse.gif) 0 5px no-repeat; cursor:pointer; }
369
- tr.show-details .summary-collapse { background-position:0 -52px; }
370
  tr.show-details td {}
371
  tr.summary-details td { font-size:11px; background-color:#dae1e4; color:#626465; }
372
  tr.summary-details-first td { border-top:1px solid #d2d8db; }
373
  tr.summary-details-excluded { font-style:italic; }
 
374
  /* Shopping cart tax info */
375
  .cart-tax-info { display:block; }
376
  .cart-tax-info,
377
  .cart-tax-info .cart-price { padding-right:20px; }
378
- .cart-tax-total { display:block; padding-right:20px; background:url(../images/bkg_collapse.gif) 100% 5px no-repeat; cursor:pointer; }
379
  .cart-tax-info .price,
380
  .cart-tax-total .price { display:inline !important; font-weight:normal !important; }
381
- .cart-tax-total-expanded { background-position:100% -52px; }
 
382
  /* Class: std - styles for admin-controlled content */
383
- .std { font-family: Arial; font-size: 12px; }
384
  .std .subtitle { padding:0; }
385
  .std ol.ol { list-style:decimal outside; padding-left:1.5em; }
386
  .std ul.disc { list-style:disc outside; padding-left:18px; margin:0 0 10px; }
@@ -391,8 +384,8 @@ tr.summary-details-excluded { font-style:italic; }
391
  .std dl,
392
  .std p,
393
  .std address,
394
- .std blockquote { margin:0 0 0em; padding:0; }
395
- .std ul { list-style:disc outside; padding-left:0; }
396
  .std ol { list-style:decimal outside; padding-left:1.5em; }
397
  .std ul ul { list-style-type:circle; }
398
  .std ul ul,
@@ -407,265 +400,283 @@ tr.summary-details-excluded { font-style:italic; }
407
  .std strong { font-weight:bold; }
408
  .std i,
409
  .std em { font-style:italic; }
 
410
  /* Misc */
411
  .links li { display:inline; }
412
  .links li.first { padding-left:0 !important; }
413
  .links li.last { background:none !important; padding-right:0 !important; }
414
- .link-cart { color:#dc6809 !important; font-weight:bold; }
415
- .link-wishlist { color:#dc6809 !important; font-weight:bold; }
416
- .link-reorder { font-weight:bold; color:#dc6809 !important; }
 
417
  .link-compare { font-weight:bold; }
418
- .link-print { /*background:url(../images/i_print.gif) 0 2px no-repeat; padding:2px 0 2px 25px;*/ font-weight:bold; color:#dc6809; }
419
- .link-rss { background:url(../images/i_rss.gif) 0 2px no-repeat; padding-left:18px; line-height:14px; white-space:nowrap; }
420
- .btn-remove { display:block; width:11px; height:11px; font-size:0; line-height:0; background:url(../images/btn_remove.gif) 0 0 no-repeat; text-indent:-999em; overflow:hidden; }
421
- .btn-previous { display:block; width:11px; height:11px; font-size:0; line-height:0; background:url(../images/btn_previous.gif) 0 0 no-repeat; text-indent:-999em; overflow:hidden; }
422
  .btn-remove2 { display:block; width:16px; height:16px; font-size:0; line-height:0; background:url(../images/btn_trash.gif) 0 0 no-repeat; text-indent:-999em; overflow:hidden; }
423
  .btn-edit { display:block; width:11px; height:11px; font-size:0; line-height:0; background:url(../images/btn_edit.gif) 0 0 no-repeat; text-indent:-999em; overflow:hidden; }
 
424
  .cards-list dt { margin:5px 0 0; }
425
  .cards-list .offset { padding:2px 0 2px 20px; }
 
 
426
  .separator { margin:0 3px; }
427
- .divider { clear:both; display:block; font-size:0; line-height:0; height:1px; margin:10px 0; background:url(../images/bkg_divider1.gif) 0 50% repeat-x; text-indent:-999em; overflow:hidden; }
428
- /* Global site notices */
429
- .global-site-notice { border:1px solid #cfcfcf; border-width:0 0 1px; background:#ffff90; font-size:12px; line-height:1.25; text-align:center; color:#2f2f2f; }
430
- .global-site-notice .notice-inner { width:860px; margin:0 auto; padding:12px 0 12px 80px; background:url(../images/i_notice.gif) 20px 25px no-repeat; text-align:left; }
431
- .global-site-notice .notice-inner p { margin:0; border:1px dotted #cccc73; padding:10px; }
432
- .global-site-notice .notice-inner .actions { padding-top:10px; }
433
- /* Cookie Notice */
434
- .notice-cookie { }
435
  /* Noscript Notice */
436
- .noscript {}
 
 
 
437
  /* Demo Notice */
438
- .demo-notice { margin:0; padding:6px 10px; background:#d75f07; font-size:12px; line-height:1.15; border:0; text-align:center; color:#fff; }
439
- .demo-notice .notice-inner { width:auto; padding:0; background:none; text-align:center; }
440
- .demo-notice .notice-inner p { padding:0; border:0; }
 
 
 
 
 
441
  /* ======================================================================================= */
 
 
442
  /* Header ================================================================================ */
443
  .logo { float:left; }
444
- .header-container { border-top:5px solid #0d2131; border-bottom:1px solid #415966; background:url(../images/bkg_header.jpg) 50% 0 repeat; }
445
- .header { width:930px; margin:0 auto; padding:10px; text-align:right; position:relative; z-index:10; }
446
- .header .logo { float:left; margin:3px 0 10px 12px; text-decoration:none !important; }
447
  .header .logo strong { position:absolute; top:-999em; left:-999em; width:0; height:0; font-size:0; line-height:0; text-indent:-999em; overflow:hidden; }
448
- .header h1.logo { margin:0; }
449
- .header .quick-access { float:right; width:600px; padding:30px 10px 0 0; }
450
- .header .welcome-msg { margin:0; color:#fff; text-align:right; }
451
- .header .welcome-msg a { color:#ebbc58; }
452
- .header .form-search { position:absolute; top:0; right:29px; width:315px; height:30px; background:url(../images/bkg_form-search.gif) 0 0 no-repeat; padding:1px 0 0 16px; }
453
- .header .form-search label { float:left; width:24px; height:21px; text-align:left; text-indent:-999em; overflow:hidden; }
454
- .header .form-search input.input-text { float:left; border-color:#5c7989; width:209px; margin-right:4px; }
455
- .header .form-search button.button { float:left; }
456
- .header .form-search button.button span { border:0; height:21px; background:url(../images/btn_search.gif) 0 0 no-repeat; padding:0 0 0 3px; font:bold 11px/21px Tahoma, Verdana, Arial, sans-serif; }
457
- .header .form-search button.button span span { background-position:100% 0; padding:0 6px 0 3px; }
458
- .header .form-search .search-autocomplete { z-index:999; left:40px !important; top:22px !important; }
459
- .header .form-search .search-autocomplete ul { border:1px solid #5c7989; background-color:#f9f5f0; }
460
- .header .form-search .search-autocomplete li { text-align:left; border-bottom:1px solid #f4eee7; padding:2px 8px 1px 8px; cursor:pointer; }
461
  .header .form-search .search-autocomplete li .amount { float:right; font-weight:bold; }
462
- .header .form-search .search-autocomplete li.odd { background-color:#fffefb; }
463
- .header .form-search .search-autocomplete li.selected { background-color:#f7e8dd; }
464
- .header .form-language { clear:both; padding:5px 0 0; text-align:right; }
465
- .header .form-language label { font-weight:bold; padding-right:5px; color:#a7c6dd; vertical-align:middle; }
466
- .header .form-language select { padding:0; }
467
- .header .form-language select.flags option { background-position:4px 50%; background-repeat:no-repeat; padding-left:25px; }
468
- .header .links { float:right; margin:0 0 6px; }
469
- .header .links li { float:left; font-size:11px; background:url(../images/bkg_pipe1.gif) 100% 60% no-repeat; padding:0 8px 0 7px; }
470
- .header .links a { color:#ebbc58; }
471
- .header-container .top-container { clear:both; padding:5px 10px 0 12px; text-align:right; }
472
- .header-container .top-container a { font-size:11px; color:#ebbc58; }
473
- /* ================================================================================== */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
474
  /* Sidebar =============================================================================== */
475
- .block { border:1px solid #c4c1bc; margin:0 0 30px; }
476
- .block .block-title { border-bottom:1px solid #ddd; padding:0px 9px; }
477
- .block .block-title strong { display:block; font:bold 12px/16px Arial, Helvetica, sans-serif; min-height:16px; padding:1px 0 1px; text-transform:uppercase; color:#e26703; font-weight: normal; }
 
 
 
 
 
 
 
478
  .block .block-title strong span {}
479
  .block .block-title a { text-decoration:none !important; }
480
- .block .block-subtitle { margin:0; padding:5px 9px; font-size:1em; font-weight:bold; color:#0a263c; }
481
- .block .block-content { /*background:#f8f7f5;*/ }
482
- .block .block-content li.item { padding:7px 9px; }
483
- .block .block-content .product-name { color:#1e7ec8; }
484
  .block .btn-remove,
485
- .block .btn-edit { float:right; margin:1px 0 2px 5px; }
486
- .block .actions { background:#dee5e8 url(../images/bkg_block-actions.gif) 0 0 repeat-x; padding:6px 9px; text-align:right; }
487
  .block .actions a { float:left; }
488
- .block .actions button.button { float:right; }
489
- .block .empty { margin:0; padding:15px 12px 1px; }
490
- .block li.odd { background-color:#f4f3f3; }
491
- .block li.even { background-color:#fafafa; }
492
- /* Mini Blocks */
493
- .block-cart,
494
- .block-wishlist,
495
- .block-subscribe,
496
- .block-compare,
497
- .block-reorder,
498
- .block-poll,
499
- .block-viewed,
500
- .block-compared,
501
- .block-related,
502
- .block-tags,
503
- .block-login { font-size:12px; line-height:1.25; }
504
- .block-cart .block-title strong,
505
- .block-wishlist .block-title strong,
506
- .block-subscribe .block-title strong,
507
- .block-compare .block-title strong,
508
- .block-reorder .block-title strong,
509
- .block-poll .block-title strong,
510
- .block-viewed .block-title strong,
511
- .block-compared .block-title strong,
512
- .block-related .block-title strong,
513
- .block-tags .block-title strong,
514
- .block-login .block-title strong { background-position:0 0; background-repeat:no-repeat; padding-left:21px; }
515
  /* Mini Products List */
516
- .mini-products-list .product-image { border: 1px solid #A9A9A9; float: left; margin-right: 8px; }
517
- .mini-products-list .product-details { margin-left:20px; }
 
 
518
  .block-cart .mini-products-list .product-details .product-name,
519
  .block-cart .mini-products-list .product-details .nobr small { word-wrap:break-word; }
520
  .block-cart .mini-products-list .product-details .nobr { white-space:normal !important; }
 
521
  /* Block: Account */
522
- .block-account { border-color:#bbb; }
523
- .block-account .block-title { background:#fc9d36 url(../images/bkg_block-title-account.gif) 0 100% repeat-x; border:0; padding:3px 10px; }
524
- .block-account .block-title strong { font-size:13px; color:#fff; }
525
- .block-account .block-content { background:#fbfaf6; padding:7px 10px 7px; }
526
- .block-account .block-content li a { display:block; border-bottom:1px solid #ddd; padding:3px 0; color:#5f5d5c; text-decoration:none !important; }
527
- .block-account .block-content li a:hover { color:#ea7900; }
528
- .block-account .block-content li.last a { border-bottom:0; }
529
- .block-account .block-content li.current { border-bottom:1px solid #ddd; padding:3px 0; color:#ea7900; }
530
- .block-account .block-content li.current.last { border-bottom:0; }
531
  /* Block: Currency Switcher */
532
- .block-currency { border:0; background:url(../images/bkg_block-currency.gif) 0 0 no-repeat; padding:7px 12px 10px; height:51px; }
533
- .block-currency .block-title { background:none; border:0; padding:0; margin:0 0 5px; }
534
- .block-currency .block-title strong { font:bold 13px/21px Arial, Helvetica, sans-serif; background:url(../images/i_block-currency.gif) 0 50% no-repeat; padding:0 0 0 21px; text-transform:none; color:#fff; }
535
- .block-currency .block-content { background:none; padding:0; }
536
- .block-currency .block-content select { width:100%; padding:0; }
537
  /* Block: Layered Navigation */
538
- .block-layered-nav { border:0; }
539
- .block-layered-nav .block-title { border:0; padding:0; height:24px; background:url(../images/bkg_block-layered-title.gif) 0 0 no-repeat; text-indent:-999em; overflow:hidden; }
540
- .block-layered-nav .block-subtitle { line-height:1.35; background:#d5e8ff url(../images/bkg_block-layered1.gif) 0 50% repeat; padding:3px 9px; border:1px solid #b9ccdd; border-width:1px 0; text-transform:uppercase; color:#1f5070; }
541
- .block-layered-nav .block-content { border:1px solid #a0b3c3; background:#e7f1f4; }
542
- .block-layered-nav dt { background:url(../images/bkg_block-layered-dt.gif) 9px 11px no-repeat; padding:7px 10px 0 25px; font-weight:bold; text-transform:uppercase; }
543
- .block-layered-nav dd { padding:0 12px 12px; background:url(../images/bkg_block-layered-dd.gif) 0 100% repeat-x; }
544
- .block-layered-nav dd.last { background:none; }
545
- .block-layered-nav .currently li { background:#fff url(../images/bkg_block-layered-li.gif) 0 100% repeat-x; padding:6px 24px 6px 10px; position:relative; z-index:1; line-height:1.5; }
546
- .block-layered-nav .currently .label { font-weight:bold; padding-left:15px; background:url(../images/bkg_block-layered-label.gif) 0 4px no-repeat; text-transform:uppercase; display:inline-block; vertical-align:top; }
547
- .block-layered-nav .currently .value { display:inline-block; vertical-align:top; }
548
- .block-layered-nav .currently .btn-previous,
549
- .block-layered-nav .currently .btn-remove { position:absolute; right:4px; top:9px; margin:0; }
550
- .block-layered-nav .currently .btn-previous { right:17px; }
551
- .block-layered-nav .actions { font-size:11px; padding:4px 5px 4px 9px; background:#cad6e4; border:1px solid #dee5e8; border-width:1px 0; text-align:right; }
552
- .block-layered-nav .actions a { float:none; }
553
  /* Block: Cart */
554
- .block-cart .block-title { /*border-bottom:0;*/ }
555
- .block-cart .block-title strong { background-image:url(../images/i_block-cart.gif); }
556
- .block-cart .summary { background:#EBEBEB; padding:2px 8px 8px; margin:-1px 0 0; position:relative; z-index:1; }
557
- .block-cart .amount { margin:0; }
558
- .block-cart .amount a { font-weight:bold; }
559
- .block-cart .subtotal { margin:5px 0 0; padding:2px 0; background:#fbebd9; text-align:center; }
560
- .block-cart .subtotal .price { font-weight:bold; }
561
- .block-cart .actions { border-bottom:1px solid #c2c2c2; }
562
  .block-cart .actions .paypal-logo { float:left; width:100%; margin:3px 0 0; text-align:right; }
563
- .block-cart .actions .paypal-logo .paypal-or { clear:both; display:block; padding:0 55px 8px 0; }
 
564
  /* Block: Wishlist */
565
- .block-wishlist .block-title strong { background-image:url(../images/i_block-wishlist.gif); }
566
- .block-wishlist .actions { text-align:right; }
567
- .block-wishlist .actions a { float:none; }
568
  /* Block: Related */
569
- .block-related .block-title strong { background-image:url(../images/i_block-related.gif); background-position:0 1px; }
570
- .block-related input.checkbox { float:left; }
 
571
  .block-related .product { margin-left:20px; }
 
 
 
572
  /* Block: Compare Products */
573
- .block-compare .block-title strong { background-image:url(../images/i_block-list.gif); background-position:0 1px; }
574
- .block-compare button.button span { border-color:#406a83; background:#618499; }
575
- .page-popup .link-print { background:url(../images/i_print.gif) 0 2px no-repeat; padding:2px 0 2px 25px; font-weight:bold; color:#1e7ec8; }
576
- .compare-table { border:0; }
577
- .compare-table thead tr.first th,
578
- .compare-table thead tr.first td { border:0; background:none; padding:0; font-size:0; line-height:0; }
579
- .compare-table .btn-remove { float:right; background-image:url(../images/btn_remove2.gif); width:72px; height:15px; }
580
- .compare-table tbody th { background:#d9e5ee url(../images/bkg_th-v.gif) 100% 0 repeat-y; }
581
- .compare-table tbody th,
582
- .compare-table tbody td { padding:10px; border:0; border-top:1px solid #ccc; border-left:1px solid #ccc; }
583
- .compare-table tbody td.last { border-right:1px solid #ccc; }
584
- .compare-table tbody tr.last th,
585
- .compare-table tbody tr.last td { border-bottom:1px solid #ccc !important; }
586
- .compare-table tr.add-to-row td { background:#fffada; text-align:center; }
587
- .compare-table tr.first td { text-align:center; }
588
- .compare-table tr.first td .product-name { font-size:13px; font-weight:bold; margin:0 0 5px; color:#203548; }
589
- .compare-table tr.first td .product-name a { color:#203548; }
590
- .compare-table tr.first td .ratings { width:69px; margin:0 auto; }
591
- .compare-table tr.first td p,
592
- .compare-table tr.add-to-row td p { margin:0; }
593
  /* Block: Recently Viewed */
594
- .block-viewed .block-title strong { background-image:url(../images/i_block-viewed.gif); }
 
595
  /* Block: Recently Compared */
596
- .block-compared .block-title strong { background-image:url(../images/i_block-list.gif); background-position:0 1px; }
 
597
  /* Block: Poll */
598
- .block-poll .block-title strong { background-image:url(../images/i_block-poll.gif); }
599
- .block-poll .block-subtitle { font-size:12px; }
600
- .block-poll label { color:#777; font-weight:bold; }
601
  .block-poll input.radio { float:left; margin:1px -18px 0 0; }
602
  .block-poll .label { display:block; margin-left:18px; }
603
  .block-poll li { padding:3px 9px; }
604
  .block-poll .actions { margin:5px 0 0; }
605
- .block-poll button.button span { border-color:#406a83; background:#618499; }
606
  .block-poll .answer { font-weight:bold; }
607
  .block-poll .votes { float:right; margin-left:10px; }
 
608
  /* Block: Tags */
609
- .block-tags .block-title strong { background-image:url(../images/i_block-tags.gif); }
610
- .block-tags .block-content .tags-list { background:none; border:0; font-size:12px; }
611
- .block-tags .block-content a { color:#1b2d3b; }
612
- .block-tags .actions { text-align:right; }
613
- .block-tags .actions a { float:none; }
614
  /* Block: Subscribe */
615
- .block-subscribe .block-content { padding:5px 10px; }
616
- .block-subscribe .block-title strong { background-image:url(../images/i_block-subscribe.gif); }
617
- .block-subscribe label { font-weight:bold; color:#666; }
618
- .block-subscribe input.input-text { display:block; width:167px; margin:3px 0; }
619
- .block-subscribe .actions { background:none; padding:0; margin:3px 0 0; text-align:left; }
620
- .block-subscribe .actions button.button { float:none; }
621
- .block-subscribe .actions button.button span { border-color:#406a83; background:#618499; }
622
  /* Block: Reorder */
623
- .block-reorder .block-title strong { background-image:url(../images/i_block-list.gif); }
624
- .block-reorder input.checkbox { float:left; margin:2px -20px 0 0; }
 
625
  .block-reorder .product-name { margin-left:20px; }
626
- .block-reorder .validation-advice { margin:3px 9px 7px; }
627
  /* Block: Banner */
628
- .block-banner { border:0; }
629
- .block-banner .block-content { padding:0; text-align:center; }
 
630
  /* Block: Login */
631
- .block-login .block-title strong { background-image:url(../images/i_ma-info.gif); }
632
- .block-login .block-content { padding:5px 10px; }
633
  .block-login label { font-weight:bold; color:#666; }
634
  .block-login input.input-text { display:block; width:167px; margin:3px 0; }
635
- .block-login .actions { background:none; padding:0; margin:3px 0 0; }
636
- .block-login .actions button.button span { border-color:#406a83; background:#618499; }
637
  /* Paypal */
638
  .sidebar .paypal-logo { display:block; margin:10px 0; text-align:center; }
639
  .sidebar .paypal-logo a { float:none; }
640
  /* ======================================================================================= */
 
 
641
  /* Category Page ========================================================================= */
642
  .category-title { border:0; margin:0 0 7px; }
643
  .category-image { width:100%; overflow:hidden; margin:0 0 10px; text-align:center; }
644
  .category-image img {}
645
- .category-description { border-bottom: 1px dotted #ededed; margin: 0; padding-bottom: 20px; width: 98%; }
646
- .category-products { margin-top: 0px; }
 
647
  /* View Type: Grid */
648
- .products-grid { /*border-bottom:1px solid #d9ddd3; background:url(../images/bkg_grid.gif) 0 0 repeat;*/ position:relative; }
649
  .products-grid.last { border-bottom:0; }
650
- .products-grid li.item { float: left; list-style: none outside none; text-align: left; width: 30%; }
651
- .products-grid li.item-prod { float: left; list-style: none outside none; padding: 12px 20px 36px; text-align: left; width: 100%; }
652
- .products-grid .product-image { display:block; margin-bottom: 20px; }
653
- .products-grid .product-name { /*min-height:2.7em;*/ margin:0 0 5px; font-weight:bold; font-size:12px; color:#203548; }
654
- .products-grid .product-name a { color:#203548; }
655
- .products-grid .price-box { margin:6px 0; }
656
  .products-grid .availability { line-height:21px; }
657
- .products-grid .actions {}
658
  .col2-left-layout .products-grid,
659
- .col2-right-layout .products-grid { width:100%; margin:0 auto; }
660
- .products-grid-featured { width:100%; margin:0;}
661
  .col1-layout .products-grid { width:790px; margin:0 auto; }
 
662
  /* View Type: List */
663
- .products-list li.item { border-bottom:1px solid #ededed; padding:20px 10px; width: 95%; }
664
  .products-list li.item.last { border-bottom:0; }
665
  .products-list .product-image { float:left; width:135px; height:135px; margin:0 0 10px; }
666
  .products-list .product-shop { margin-left:150px; }
667
- .products-list .product-name { margin:0 0 5px; font-weight:bold; font-size:13px; color:#203548; }
668
- .products-list .product-name a { color:#203548; }
669
  .products-list .price-box { float:left; margin:3px 13px 5px 0; }
670
  .products-list .availability { float:left; margin:3px 0 0; }
671
  .products-list .desc { clear:both; padding:6px 0 0; margin:0 0 15px; line-height:1.35; }
@@ -674,10 +685,13 @@ tr.summary-details-excluded { font-style:italic; }
674
  .products-list .add-to-links li { display:inline; }
675
  .products-list .add-to-links .separator { display:inline; margin:0 2px; }
676
  /* ======================================================================================= */
 
 
677
  /* Product View ========================================================================== */
678
  /* Rating */
679
- .no-rating { margin:0; color:green;}
680
- .ratings { font-size:11px; line-height:1.25; margin:0px 0; }
 
681
  .ratings strong { float:left; margin:1px 3px 0 0; }
682
  .ratings .rating-links { margin:0; }
683
  .ratings .rating-links .separator { margin:0 2px; }
@@ -687,354 +701,290 @@ tr.summary-details-excluded { font-style:italic; }
687
  .rating-box .rating { float:left; height:13px; background:url(../images/bkg_rating.gif) 0 100% repeat-x; }
688
  .ratings .rating-box { float:left; margin-right:3px; }
689
  .ratings .amount {}
 
690
  .ratings-table th,
691
  .ratings-table td { font-size:11px; line-height:1.15; padding:3px 0; }
692
  .ratings-table th { font-weight:bold; padding-right:8px; }
 
693
  /* Availability */
694
  .availability { margin:0; }
695
  .availability span { font-weight:bold; }
696
  .availability.in-stock span {}
697
  .availability.out-of-stock span { color:#d83820; }
698
- .availability-only { margin:10px 0 7px; line-height:16px; background:url(../images/i_availability_only.gif) 0 50% no-repeat; padding-left:15px; }
699
- .availability-only span,
700
- .availability-only a { border-bottom:1px dashed #751d02; color:#000; }
701
- .availability-only a { background:url(../images/i_availability_only_arrow.gif) 100% 0 no-repeat; cursor:pointer; padding-right:15px; text-decoration:none; }
702
  .availability-only .expanded { background-position:100% -15px; }
703
- .availability-only strong { color:#be2c00; }
 
704
  .availability-only-details { margin:0 0 7px; }
705
- .availability-only-details th { background:#d2d6d9; font-size:10px; padding:0 8px; }
706
- .availability-only-details td { background:#ebf0f3; border-bottom:1px solid #fff; font-size:11px; padding:2px 8px 1px; }
707
- .availability-only-details tr.odd td.last { color:#d95e00; font-weight:bold; }
708
- .product-view .product-shop .availability { font-size:11px; }
709
- .product-view .product-shop .availability span { font-weight:normal; }
710
  /* Email to a Friend */
711
- .email-friend { margin:0; }
 
712
  /* Alerts */
713
- .alert-price { margin:0; font-size:11px; }
714
- .alert-stock { margin:0; font-size:11px; }
 
715
  /********** < Product Prices */
716
  .price { white-space:nowrap !important; }
717
- .price-box { margin:5px 0; }
718
- .price-box .price { font-weight:bold; color:#c76200; }
 
 
719
  /* Regular price */
720
- .regular-price { color:#c76200; }
721
- .regular-price .price { font-weight:bold; font-size:13px; color:#c76200; }
722
- .block .regular-price,
723
- .block .regular-price .price { color:#2f2f2f; }
724
  /* Old price */
725
- .old-price { margin:0; }
726
- .old-price .price-label { white-space:nowrap; color:#999; }
727
- .old-price .price { font-weight:bold; color:#c76200; text-decoration:line-through; }
 
728
  /* Special price */
729
- .special-price { margin:0; padding:3px 0; }
730
- .special-price .price-label { color: #333333; font-size: 12px; font-weight: bold; white-space: nowrap; }
731
- .special-price .price { font-size:13px; font-weight:bold; color:#c76200; }
 
732
  /* Minimal price (as low as) */
733
- .minimal-price { margin:0; }
734
  .minimal-price .price-label { font-weight:bold; white-space:nowrap; }
 
735
  .minimal-price-link { display:block; }
736
- .minimal-price-link .label {color:#333;}
737
- .minimal-price-link .price { font-weight:normal; color:#333; }
 
738
  /* Excluding tax */
739
- .price-excluding-tax { display:block; color:#999; }
740
- .price-excluding-tax .label { white-space:nowrap; color:#999; }
741
- .price-excluding-tax .price { font-size:13px; font-weight:normal; color:#c76200; }
 
742
  /* Including tax */
743
- .price-including-tax { display:block; color:#999; }
744
- .price-including-tax .label { white-space:nowrap; color:#999; }
745
- .price-including-tax .price { font-size:13px; font-weight:bold; color:#c76200; }
 
746
  /* Configured price */
747
- .configured-price { margin:0; }
748
  .configured-price .price-label { font-weight:bold; white-space:nowrap; }
749
  .configured-price .price { font-weight:bold; }
 
750
  /* FPT */
751
  .weee { display:block; font-size:11px; color:#444; }
752
  .weee .price { font-size:11px; font-weight:normal; }
 
753
  /* Excl tax (for order tables) */
754
  .price-excl-tax { display:block; }
755
  .price-excl-tax .label { display:block; white-space:nowrap; }
756
  .price-excl-tax .price { display:block; }
 
757
  /* Incl tax (for order tables) */
758
  .price-incl-tax { display:block; }
759
  .price-incl-tax .label { display:block; white-space:nowrap; }
760
  .price-incl-tax .price { display:block; font-weight:bold; }
 
761
  /* Price range */
762
- .price-from { margin:0; width:100%;}
763
  .price-from .price-label { font-weight:bold; white-space:nowrap; }
764
- .price-to { margin:0; width:100%;}
 
765
  .price-to .price-label { font-weight:bold; white-space:nowrap; }
 
766
  /* Price notice next to the options */
767
- .price-notice { padding-left:10px; color:#999; }
768
- .price-notice .price { font-weight:bold; color:#2f2f2f; }
 
769
  /* Price as configured */
770
- .price-as-configured { margin:0; }
771
  .price-as-configured .price-label { font-weight:bold; white-space:nowrap; }
772
- .price-box-bundle { padding:0 0 10px 0; }
773
- .price-box-bundle .price-box { margin:0 !important; padding:0 !important; }
774
- .price-box-bundle .price { color:#555; }
775
  /********** Product Prices > */
 
776
  /* Tier Prices */
777
- .product-pricing,
778
- .tier-prices { margin:10px 0; padding:10px; background-color:#f4f7f7; border:1px solid #dadddd; color:#424242; }
779
- .tier-prices li { line-height:1.4; background:url(../images/i_tier.gif) no-repeat 0 3px; padding:2px 0 2px 10px; }
780
- .tier-prices .benefit { font-style:italic; font-weight:bold; color:#2f2f2f; }
781
- .tier-prices .price { font-weight:bold; color:#2f2f2f; }
782
- .tier-prices-grouped li { padding:2px 0; color:#e26703; }
783
- .tier-prices-grouped li .price { font-weight:bold; }
784
  /* Add to Links */
785
- .add-to-links { font-size:11px; margin:5px 0 0; }
786
  .add-to-links .separator { display:none; }
 
787
  /* Add to Cart */
788
- .add-to-cart label { float:left; margin-right:5px; font-weight:bold; color:#666; }
789
- .add-to-cart .qty { float:left; margin-right:5px; }
790
  .add-to-cart button.button { float:left; }
791
- .add-to-cart .paypal-logo { clear:left; margin:0; text-align:right; }
792
  .add-to-cart .paypal-logo .paypal-or { clear:both; display:block; margin:5px 60px 5px 0; }
793
  .product-view .add-to-cart .paypal-logo { margin:0; }
 
794
  /* Add to Links + Add to Cart */
795
- .add-to-box { margin:10px 0; }
796
  .add-to-box .add-to-cart { float:left; }
797
- .add-to-box .or { float:left; font-weight:bold; margin:4px 0 0; color:#666; }
798
- .add-to-box .add-to-links { float:left; margin:0; font-size:12px !important; line-height:1.25 !important; text-align:left !important; }
799
- .add-to-box .add-to-links li { display:block !important; }
800
- .add-to-box .add-to-links li .separator { display:none !important; }
801
- /* Product view */
802
- .product-view { border:0px solid #c4c6c8; }
803
- .product-essential { padding:5px 25px 25px; }
804
- .product-essential h2 { font:bold 13px/1.35 Arial, Helvetica, sans-serif; }
805
- .product-collateral { background-color: #fff; padding:25px; }
806
- .product-collateral h2 { font-weight:bold; font-size:15px; color:#e26703; border-bottom:1px solid #e5dcc3; padding:0 0 1px; margin:0 0 15px; }
807
- .product-collateral .box-collateral { margin:0 0 25px; }
808
  /* Product Images */
809
  .product-view .product-img-box { float:left; width:267px; }
810
  .col3-layout .product-view .product-img-box { float:none; margin:0 auto; }
811
- .product-view .product-img-box .product-image { margin:0 0 13px; }
812
  .product-view .product-img-box .product-image-zoom { position:relative; width:265px; height:265px; overflow:hidden; z-index:9; }
813
  .product-view .product-img-box .product-image-zoom img { position:absolute; left:0; top:0; cursor:move; }
814
- .product-view .product-img-box .zoom-notice { font-size:11px; margin:0 0 5px; text-align:center; }
815
  .product-view .product-img-box .zoom { position:relative; z-index:9; height:18px; margin:0 auto 13px; padding:0 28px; background:url(../images/slider_bg.gif) 50% 50% no-repeat; cursor:pointer; }
816
  .product-view .product-img-box .zoom.disabled { -moz-opacity:.3; -webkit-opacity:.3; -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";/*IE8*/ opacity:.3; }
817
  .product-view .product-img-box .zoom #track { position:relative; height:18px; }
818
  .product-view .product-img-box .zoom #handle { position:absolute; left:0; top:-1px; width:9px; height:22px; background:url(../images/magnifier_handle.gif) 0 0 no-repeat; }
819
  .product-view .product-img-box .zoom .btn-zoom-out { position:absolute; left:2px; top:0; }
820
  .product-view .product-img-box .zoom .btn-zoom-in { position:absolute; right:2px; top:0; }
821
- .product-view .product-img-box .more-views h2 { font-size:11px; border-bottom:1px solid #ccc; margin:0 0 8px; text-transform:uppercase; }
822
- .product-view .product-img-box .more-views ul { margin-left:-9px }
823
- .product-view .product-img-box .more-views li { float:left; margin:0 0 8px 9px; }
824
- .product-view .product-img-box .more-views li a { float:left; width:56px; height:56px; border:2px solid #ddd; overflow:hidden; }
825
  .product-image-popup { margin:0 auto; }
826
  .product-image-popup .buttons-set { float:right; clear:none; border:0; margin:0; padding:0; }
827
- .product-image-popup .nav { font-weight:bold; margin:0 100px; text-align:center; }
828
- .product-image-popup .image { display:block; margin:10px 0; }
829
- .product-image-popup .image-label { font-size:13px; font-weight:bold; margin:0 0 10px; color:#2f2f2f; }
 
830
  /* Product Shop */
831
  .product-view .product-shop { float:right; width:366px; }
832
- .col1-layout .product-view .product-shop { float:right; width:545px; }
833
  .col3-layout .product-view .product-shop { float:none; width:auto; }
834
- .product-view .product-shop .product-name { margin:0 0 5px; }
835
- .product-view .product-shop .product-name h1 { margin:0; font:bold 15px/1.35 Arial, Helvetica, sans-serif; }
836
- .product-view .product-shop .availability { margin:10px 0; }
837
- .product-view .product-shop .short-description { margin:10px 0; padding:10px 0 0; }
838
- .product-view .product-shop .price-box { margin:10px 0; }
839
- .product-view .product-shop .add-to-links { margin:0; }
840
- .product-view .product-shop .add-to-links { font-size:12px; text-align:right; }
841
- .product-view .product-shop .add-to-links li,
842
- .product-view .product-shop .add-to-links li .separator { display:inline; }
843
- .product-view .product-shop .add-to-links a { color:#1E7EC8 !important; font-weight:normal !important; }
844
  /* Product Options */
845
- .product-options { margin:20px 0 0; padding:10px 15px 20px; position:relative; background-color:#f6f6f6; border:1px solid #e4e4e4; }
846
- .product-options dt { padding:10px 0 0; font-weight:normal; }
847
- .product-options dt label { font-weight:bold; color:#2f2f2f; }
848
- .product-options dt label.required em { color:#eb340a; margin-left:5px; }
849
- .product-options dd .qty-holder { display:block; padding:10px 0 0; }
850
- .product-options dd .qty-holder label { vertical-align:middle; }
851
- .product-options dt .qty-disabled { background:none; border:0; padding:3px; color:#2f2f2f; }
852
- .product-options dd { padding:5px 10px 15px; margin:0 0 5px; border-bottom:1px solid #e4e4e4; }
853
- .product-options dl.last dd.last { border-bottom:0; padding-bottom:5px; margin-bottom:0; }
854
  .product-options dd input.input-text { width:98%; }
855
  .product-options dd input.datetime-picker { width:150px; }
856
  .product-options dd .time-picker { display:-moz-inline-box; display:inline-block; padding:2px 0; vertical-align:middle; }
857
  .product-options dd textarea { width:98%; height:8em; }
858
- .product-options dd select { width:99%; }
859
- .product-options dd .multiselect option { border-bottom:1px dotted #d9e5ee; padding:2px 4px; }
860
- .product-options ul.options-list { margin-right:5px; }
861
- .product-options ul.options-list li { line-height:1.5; padding:2px 0; }
862
- .product-options ul.options-list input.radio { float:left; margin-top:3px; }
863
- .product-options ul.options-list input.checkbox { float:left; margin-top:3px; }
864
- .product-options ul.options-list .label { display:block; margin-left:18px; }
865
- .product-options ul.options-list label { font-weight:normal; }
866
  .product-options ul.validation-failed { padding:0 7px; }
867
- .product-options p.note { margin:0; font-size:11px; }
868
- .product-options p.required { position:absolute; right:20px; top:20px; }
869
- .product-options-bottom { background-color:#fffada; padding:15px 20px; border:1px solid #e4e4e4; border-top:0; }
870
- .product-options-bottom .product-pricing,
871
- .product-options-bottom .tier-prices { margin:0; padding:0 0 10px; border:0; background:0; color:#e26703; }
872
- .product-options-bottom .tier-prices li { background:0; padding:2px 0; }
873
- .product-options-bottom .tier-prices .price,
874
- .product-options-bottom .tier-prices .benefit { color:#e26703; }
875
- .product-options-bottom .price-box { float:left; margin:0; padding:0; }
876
- .product-options-bottom .add-to-links { clear:both; padding:5px 0 0; text-align:right; }
877
- .col3-layout .product-options-bottom .price-box { float:none; padding:0 0 5px; }
878
- .product-options-bottom .price-label { float:left; padding-right:5px; }
879
- .product-options-bottom .price-tax { float:left; }
880
- .product-options-bottom .add-to-cart { float:right; }
881
- .product-shop .product-options-bottom { margin:0 0 10px; }
882
- .product-shop .product-options-bottom .price-box { float:none; margin:0 0 5px; }
883
- .product-shop .product-options-bottom .price-label { float:none; padding-right:0; }
884
- .product-shop .product-options-bottom .price-tax { float:none; }
885
- .product-shop .product-options-bottom .add-to-cart-box { clear:both; float:left; padding-top:12px; }
886
- .product-shop .product-options-bottom .add-to-links { clear:both; padding:5px 0 0; text-align:right; }
887
  /* Grouped Product */
888
- .product-view .grouped-items-table .price-box { margin:0; padding:0; }
 
889
  /* Block: Description */
890
  .product-view .box-description {}
 
891
  /* Block: Additional */
892
- .product-view .box-additional .data-table th,
893
- .product-view .box-additional .data-table td { line-height:1.25; }
894
  /* Block: Upsell */
895
- .product-view .box-up-sell h2 { border-bottom:0; padding:0; margin:0 0 8px; }
896
- .product-view .box-up-sell .products-grid { width:100%; border:1px solid #e5dcc3; }
897
- .product-view .box-up-sell .products-grid td { width:25%; background:#f6f2e7; border-right:1px solid #e5dcc3; border-bottom:1px solid #e5dcc3; padding:15px 10px 12px; line-height:1.6em; }
898
- .product-view .box-up-sell .products-grid tr.last td { border-bottom:0; }
899
- .product-view .box-up-sell .products-grid td.last { border-right:0; }
900
- .product-view .box-up-sell .products-grid td img { border:1px solid #e5dcc3; }
901
- .product-view .box-up-sell .products-grid .product-image { text-align:center; }
902
- .product-view .box-up-sell .products-grid td.empty { border-right:0; background:#f1ecdb; }
903
- .product-view .box-up-sell .products-grid .ratings .rating-box { float:none; display:block; margin:0 0 3px; }
904
  /* Block: Tags */
905
- .product-view .box-tags { margin:0; }
906
- .product-view .box-tags h3 { font-size:13px; }
907
- .product-view .box-tags .product-tags { display:block; margin:0 0 15px; }
908
- .product-view .box-tags .product-tags li { display:inline; background:url(../images/bkg_pipe3.gif) 100% 4px no-repeat; padding:0 7px 0 4px; }
909
- .product-view .box-tags .product-tags li.first { padding-left:0; }
910
- .product-view .box-tags .product-tags li.last { background:none; padding-right:0; }
911
- .product-view .box-tags .form-add label { display:block; font-size:13px; font-weight:bold; margin:0 0 5px; color:#0a263c;}
912
- .product-view .box-tags .form-add .input-box { float:left; width:305px; margin:0 5px 0 0; background:url(../images/i_tag_add.gif) 0 2px no-repeat; padding:0 0 0 23px; }
913
- .product-view .box-tags .form-add input.input-text { width:299px; }
914
- .product-view .box-tags .form-add button.button span { border-color:#406a83; background:#618499; }
915
- .product-view .box-tags .note { margin:3px 0 0; padding:0 0 0 23px; font-size:11px; }
916
  /* Block: Reviews */
917
- .product-view .box-reviews dl { margin:15px 0; }
918
- .product-view .box-reviews dt a,
919
- .product-view .box-reviews dt span { font-weight:bold; }
920
- .product-view .box-reviews dd { margin:0 0 15px; }
921
- .product-view .box-reviews dd small { font-style:italic; }
922
- .product-view .box-reviews .form-add { margin:15px 0 0; }
923
- .product-view .box-reviews .form-add h3 { font-size:13px; font-weight:normal; }
924
- .product-view .box-reviews .form-add h3 span { font-weight:bold; }
925
- .product-view .box-reviews .form-add h4 { font-size:12px; }
926
- .product-view .box-reviews .form-add .data-table td { text-align:center; }
927
- .product-view .box-reviews .form-add .form-list { margin:15px 0 0; }
928
- .product-view .box-reviews .form-add .form-list .input-box { width:360px; }
929
- .product-view .box-reviews .form-add .form-list input.input-text,
930
- .product-view .box-reviews .form-add .form-list textarea { width:354px; }
931
  /* Send a Friend */
932
- .send-friend .form-list { width:615px; overflow:hidden; }
933
- .send-friend .form-list li { margin-right:-15px; }
934
- .send-friend .form-list li p { margin:0 15px 0 0; }
935
- .send-friend .form-list .field { width:315px; }
936
- .send-friend .form-list .input-box { width:300px; }
937
- .send-friend .form-list input.input-text,
938
- .send-friend .form-list textarea { width:294px; }
939
- .send-friend .form-list li.wide .input-box { width:612px; }
940
- .send-friend .form-list li.wide textarea { width:609px; }
941
- .send-friend .buttons-set .limit { float:right; margin:0 7px 0 0; font-size:11px; line-height:21px; }
942
  /* ======================================================================================= */
 
 
943
  /* Content Styles ================================================================= */
944
- .product-name { margin:0; font-size:1em; font-weight:normal; }
945
- .product-name a { color: #333333; font-weight: bold; }
 
946
  /* Product Tags */
947
- .tags-list { display:block; font-size:13px; border:1px solid #c1c4bc; background:#f8f7f5; padding:10px; }
948
- .tags-list li { display:inline !important; margin:0 4px 0 0; }
949
- .tags-list li a { color:#1b2d3b; }
950
  /* Advanced Search */
951
- .advanced-search .form-list label { width:160px; padding-right:10px; }
952
- .advanced-search .form-list .input-box,
953
- .advanced-search .form-list .input-range { float:left; clear:none; }
954
- .advanced-search-amount { margin:0 0 10px; }
955
- .advanced-search-summary { margin:10px 0; border:1px solid #e9d7c9; background:#fff6f1; padding:10px; }
956
- .advanced-search-summary ul { float:left; width:49%; }
957
- .advanced-search-summary strong { color:#E17C24; padding-left:15px; background:url(../images/i_search_criteria.gif) 0 3px no-repeat; }
958
- .advanced-search-summary p { clear:both; font-weight:bold; margin:0; }
959
  /* CMS Home Page */
960
  .cms-home .subtitle {}
961
  .cms-index-index .subtitle {}
 
962
  /* Sitemap */
963
  .page-sitemap .links { text-align:right; margin:0 8px -22px 0; }
964
  .page-sitemap .links a { text-decoration:none; position:relative; }
965
  .page-sitemap .links a:hover { text-decoration:underline; }
966
  .page-sitemap .sitemap { margin:12px; }
967
- .page-sitemap .sitemap a { color:#1b2d3b; }
968
  .page-sitemap .sitemap li { margin:3px 0; }
969
  .page-sitemap .sitemap li.level-0 { margin:10px 0 0; font-weight:bold; }
970
- .page-sitemap .sitemap li.level-0 a { color:#1e7ec8; }
 
971
  /* RSS */
972
  .rss-title h1 { background:url(../images/i_rss-big.png) 0 4px no-repeat; padding-left:27px; }
973
- .rss-table .link-rss { display:block; line-height:1.55; background-position:0 4px; }
974
  /* ======================================================================================= */
 
 
975
  /* Shopping Cart ========================================================================= */
976
- .cart .page-title { border-bottom:0; margin:0 0 12px; }
977
- .cart .page-title h1 { margin:10px 0 0; }
978
  /* Checkout Types */
979
- .cart .page-title .checkout-types li { margin:0 0 5px; }
980
- .cart .title-buttons .checkout-types { float:right; }
981
  .cart .title-buttons .checkout-types li { float:left; margin:0 0 5px 5px; }
982
  .cart .checkout-types .paypal-or { margin:0 8px; line-height:2.3; }
983
- .cart .totals .checkout-types .paypal-or { clear:both; display:block; padding:8px 55px 0 0; line-height:1.0; font-size:11px; }
 
984
  /* Shopping Cart Table */
985
- .cart-table th { padding:2px 10px; }
986
- .cart-table td { padding:10px; }
987
- .cart-table .product-name { font-weight:bold; margin:0 0 5px; color:#2f2f2f; }
988
- .cart-table .item-msg { margin:5px 0; font-size:11px; font-weight:bold; color:#df280a; }
989
- .cart-table tfoot td { padding:5px 10px; }
990
- .cart-table .btn-continue { float:left; }
991
- .cart-table .btn-empty span,
992
- .cart-table .btn-continue span,
993
- .cart-table .btn-update span { /*border-color:#406a83; background:#618499;*/ }
994
- .cart-table .btn-update,
995
- .cart-table .btn-empty { float:right; }
996
- .cart-table .btn-update { margin-left:10px; }
997
  /* Shopping Cart Collateral boxes */
998
- .cart .cart-collaterals { padding:25px 8px 0; }
999
- .cart .cart-collaterals .col2-set { float:left; width:515px; }
1000
- .cart .cart-collaterals .col2-set .col-2 { }
1001
- .cart .crosssell { border:1px solid #cec3b6; background:#fafaec; padding:12px 15px; }
1002
  .cart .crosssell h2 { font-size:13px; font-weight:bold; }
1003
- .cart .crosssell .product-image { float:left; width:75px; height:75px; border:1px solid #d0cdc9; }
1004
  .cart .crosssell .product-details { margin-left:90px; }
1005
- .cart .crosssell .product-name { font-weight:bold; }
1006
  .cart .crosssell li.item { margin:12px 0; }
1007
- .cart .crosssell .link-compare { font-weight:normal; }
1008
  /* Discount Codes & Estimate Shipping and Tax Boxes */
1009
  .cart .discount,
1010
- .cart .shipping { border:1px solid #d0cbc1; background:#fff url(../images/bkg_block-title.gif) 0 0 repeat-x; padding:12px 15px; margin:0 0 18px; width: 208px; }
1011
- .cart .discount h2,
1012
- .cart .shipping h2 { background-position:0 0; background-repeat:no-repeat; font:bold 13px/16px Arial, Helvetica, sans-serif; padding:0 0 0 21px; color:#e26703; text-transform:uppercase; }
1013
- .cart .discount button span,
1014
- .cart .shipping button span { /*border-color:#406a83; background:#618499;*/ }
1015
- .cart .discount .buttons-set,
1016
- .cart .shipping .buttons-set { margin:10px 0 0; border:0; padding:0; text-align:left; }
1017
- .cart .discount .buttons-set button.button,
1018
- .cart .shipping .buttons-set button.button { float:none; margin-left:0; }
1019
- .cart .discount h2 { background-image:url(../images/i_discount.gif); }
1020
- .cart .discount .input-box { margin:8px 0 0; width:206px; }
1021
- .cart .discount input.input-text { width:200px; }
1022
- .cart .shipping h2 { background-image:url(../images/i_shipping.gif); }
1023
- .cart .shipping .sp-methods { margin:10px 0 0; padding:5px 0 0; background:url(../images/bkg_divider1.gif) 0 0 repeat-x; }
1024
  /* Shopping Cart Totals */
1025
- .cart .totals { float:right; width:313px; background:#dee5e8; border:1px solid #bebcb7; }
1026
- .cart .totals table { width:100%; margin:7px 0; }
1027
- .cart .totals td { padding:1px 15px 1px 7px; }
1028
- .cart .totals tr.last td {}
1029
- .cart .totals tfoot th { padding:5px 15px 5px 7px; }
1030
- .cart .totals tfoot td { padding-top:5px; padding-bottom:5px; }
1031
- .cart .totals tfoot th strong,
1032
- .cart .totals tfoot td strong { font-size:15px; }
1033
- .cart .totals .checkout-types { font-size:13px; padding:8px 15px 15px; text-align:right; }
1034
- .cart .totals .checkout-types li { clear:both; margin:10px 0; }
1035
  /* Options Tool Tip */
1036
  .item-options dt { font-weight:bold; font-style:italic; }
1037
- .item-options dd { padding-left:10px; margin:0 0 6px; }
1038
  .truncated { cursor:help; }
1039
  .truncated a.dots { cursor:help; }
1040
  .truncated a.details { cursor:help; }
@@ -1042,204 +992,137 @@ tr.summary-details-excluded { font-style:italic; }
1042
  .truncated .truncated_full_value .item-options { position:absolute; top:-99999em; left:-99999em; z-index:999; width:250px; padding:8px; border:1px solid #ddd; background-color:#f6f6f6; }
1043
  .truncated .truncated_full_value .item-options > p { font-weight:bold; text-transform:uppercase; }
1044
  .truncated .show .item-options { top:-20px; left:50%; }
1045
- .col-left .truncated .show .item-options { left:15px; top:7px; }
1046
- .col-right .truncated .show .item-options { left:-240px; top:7px; }
1047
  /* ======================================================================================= */
 
 
1048
  /* Checkout ============================================================================== */
1049
  /********** < Common Checkout Styles */
1050
  /* Shipping and Payment methods */
1051
- .sp-methods { margin:0 0 8px; }
1052
- .sp-methods dt { margin:13px 0 5px; font-weight:bold; }
1053
- .sp-methods dd {}
1054
- .sp-methods dd li { margin:5px 0; }
1055
- .sp-methods label { font-weight:bold; color:#666; }
1056
  .sp-methods .price { font-weight:bold; }
1057
  .sp-methods .form-list { padding-left:20px; }
1058
- .sp-methods .form-list li { margin:0 0 8px; }
1059
- .sp-methods select.month { width:154px; margin-right:10px; }
1060
  .sp-methods select.year { width:96px; }
1061
  .sp-methods input.cvv { width:3em !important; }
 
1062
  .sp-methods .checkmo-list li { margin:0 0 5px; }
1063
  .sp-methods .checkmo-list label { width:135px; padding-right:10px; text-align:right; }
1064
  .sp-methods .checkmo-list address { float:left; }
 
1065
  .sp-methods .centinel-logos a { margin-right:3px; }
1066
  .sp-methods .centinel-logos img { vertical-align:middle; }
1067
- .sp-methods .release-amounts { margin:0.5em 0; }
 
1068
  .sp-methods .release-amounts button { float:left; margin:5px 10px 0 0; }
1069
- .please-wait { float:right; }
 
1070
  .please-wait img { vertical-align:middle; }
1071
- .cvv-what-is-this { font-size:11px; cursor:help; margin-left:10px; }
 
1072
  /* Tooltip */
1073
- .tool-tip { border:1px solid #7BA7C9; background:#EAF6FF; padding:15px 20px; position:absolute; z-index:9999; }
1074
- .tool-tip .btn-close { margin:-9px -14px 0; text-align:right; }
1075
  .tool-tip .btn-close a { display:block; margin:0 0 0 auto; width:15px; height:15px; background:url(../images/btn_windo
1
+ /**
 
2
  * Magento
3
  *
4
  * NOTICE OF LICENSE
18
  * needs please refer to http://www.magentocommerce.com for more information.
19
  *
20
  * @category design
21
+ * @package default_blank
22
+ * @copyright Copyright (c) 2013 Magento Inc. (http://www.magentocommerce.com)
23
  * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
24
  */
25
+
26
  /* Reset ================================================================================= */
27
+ * { margin:0; padding:0; }
28
+
29
+ body { background:#fff; font:12px/1.35 Arial, Helvetica, sans-serif; color:#000; text-align:center; }
30
+
31
+ img { border:0; vertical-align:top; }
32
+
33
+ a { color:#05c; text-decoration:underline; }
34
+ a:hover { text-decoration:none; }
35
  :focus { outline:0; }
36
+
37
  /* Headings */
38
+ h1 { font-size:20px; font-weight:normal; line-height:1.15; }
39
+ h2 { font-size:18px; font-weight:normal; line-height:1.25; }
40
+ h3 { font-size:16px; font-weight:bold; line-height:1.25; }
 
 
41
  h4 { font-size:14px; font-weight:bold; }
42
  h5 { font-size:12px; font-weight:bold; }
43
  h6 { font-size:11px; font-weight:bold; }
44
+
45
  /* Forms */
46
  form { display:inline; }
47
  fieldset { border:0; }
48
  legend { display:none; }
49
+
50
  /* Table */
51
+ table { border:0; border-collapse:collapse; border-spacing:0; empty-cells:show; font-size:100%; }
52
  caption,th,td { vertical-align:top; text-align:left; font-weight:normal; }
53
+
54
  /* Content */
 
55
  strong { font-weight:bold; }
56
+ address { font-style:normal; }
57
  cite { font-style:normal; }
58
  q,
59
  blockquote { quotes:none; }
60
  q:before,
61
  q:after { content:''; }
62
  small,big { font-size:1em; }
63
+ sup { font-size:1em; vertical-align:top; }
64
+
65
  /* Lists */
66
  ul,ol { list-style:none; }
67
+
68
  /* Tools */
69
  .hidden { display:block !important; border:0 !important; margin:0 !important; padding:0 !important; font-size:0 !important; line-height:0 !important; width:0 !important; height:0 !important; overflow:hidden !important; }
70
  .nobr { white-space:nowrap !important; }
79
  .f-right,
80
  .right { float:right !important; }
81
  .f-none { float:none !important; }
82
+ .f-fix { float:left; width:100%; }
 
83
  .no-display { display:none; }
84
  .no-margin { margin:0 !important; }
85
  .no-padding { padding:0 !important; }
86
  .no-bg { background:none !important; }
87
  /* ======================================================================================= */
88
+
89
+
90
  /* Layout ================================================================================ */
91
+ .wrapper {}
92
+ .page { width:1000px; margin:0 auto; padding:10px 0; text-align:left; }
93
+ .page-print { background:#fff; padding:20px; text-align:left; }
94
  .page-empty { background:#fff; padding:20px; text-align:left; }
95
+ .page-popup { padding:20px; text-align:left; }
96
+ .main-container {}
97
+ .main { margin:10px 0; }
98
+
99
  /* Base Columns */
100
+ .col-left { float:left; width:230px; border:1px solid #ddd; padding:5px 5px 0; }
101
+ .col-main { float:left; width:680px; border:1px solid #ddd; padding:5px; }
102
+ .col-right { float:right; width:230px; border:1px solid #ddd; padding:5px 5px 0; }
103
+
104
  /* 1 Column Layout */
105
+ .col1-layout .col-main { float:none; width:907px; }
106
+
107
  /* 2 Columns Layout */
108
  .col2-left-layout .col-main { float:right; }
109
  .col2-right-layout .col-main {}
110
+
111
  /* 3 Columns Layout */
112
+ .col3-layout .col-main { width:484px; margin-left:10px; }
113
+ .col3-layout .col-wrapper { float:left; width:688px; }
114
  .col3-layout .col-wrapper .col-main { float:right; }
115
+
116
  /* Content Columns */
117
+ .col2-set .col-1 { float:left; width:49%; }
118
+ .col2-set .col-2 { float:right; width:49%; }
119
+ .col2-set .col-narrow { width:33%; }
120
  .col2-set .col-wide { width:65%; }
121
+
122
  .col3-set .col-1 { float:left; width:32%; }
123
  .col3-set .col-2 { float:left; width:32%; margin-left:2%; }
124
  .col3-set .col-3 { float:right; width:32%; }
125
+
126
  .col4-set .col-1 { float:left; width:23.5%; }
127
  .col4-set .col-2 { float:left; width:23.5%; margin:0 2%; }
128
  .col4-set .col-3 { float:left; width:23.5%; }
129
  .col4-set .col-4 { float:right; width:23.5%; }
130
  /* ======================================================================================= */
131
+
132
+
133
  /* Global Styles ========================================================================= */
134
  /* Form Elements */
135
+ input,select,textarea,button { font:12px Arial, Helvetica, sans-serif; vertical-align:middle; color:#000; }
136
+ input.input-text,select,textarea { background:#fff; border:1px solid #ddd; }
137
  input.input-text,textarea { padding:2px; }
138
  select { padding:1px; }
139
  select option { padding-right:10px; }
140
+ select.multiselect option { border-bottom:1px solid #ddd; padding:2px 5px; }
141
  select.multiselect option:last-child { border-bottom:0; }
142
  textarea { overflow:auto; }
143
  input.radio { margin-right:3px; }
144
  input.checkbox { margin-right:3px; }
145
  input.qty { height: 1.6em !important; width: 5.5em !important; }
146
  button.button::-moz-focus-inner { padding:0; border:0; } /* FF Fix */
147
+ button.button { -webkit-border-fit:lines; } /* <- Safari & Google Chrome Fix */
148
  button.button { overflow:visible; width:auto; border:0; padding:0; margin:0; background:transparent; cursor:pointer; }
149
+ button.button span { float:left; padding:0 0 0 8px; font:bold 12px Arial, Helvetica, sans-serif; text-align:center; white-space:nowrap; color:#ffffff; }
150
+ button.button span span { background-position:100% 0; padding:0 12px 0 4px; }
151
+ button.disabled {}
152
+ button.disabled span {}
153
+
154
+ button.btn-checkout span {}
155
+ button.btn-checkout.no-checkout {}
156
+
157
  p.control input.checkbox,
158
  p.control input.radio { margin-right:6px; }
159
  /* Form Highlight */
160
+ /*input.input-text:focus,select:focus,textarea:focus {}*/
161
  /*.highlight { background:#efefef; }*/
162
+
163
  /* Form lists */
164
  /* Grouped fields */
165
  /*.form-list { width:535px; margin:0 auto; overflow:hidden; }*/
166
  .form-list li { margin:0 0 8px; }
167
+ .form-list label { float:left; color:#111; font-weight:bold; position:relative; z-index:0; }
168
  .form-list label.required {}
169
  .form-list label.required em { float:right; font-style:normal; color:#eb340a; position:absolute; top:0; right:-8px; }
170
  .form-list li.control label { float:none; }
172
  .form-list li.control input.checkbox { margin-right:6px; }
173
  .form-list li.control .input-box { clear:none; display:inline; width:auto; }
174
  /*.form-list li.fields { margin-right:-15px; }*/
175
+ .form-list .input-box { display:block; clear:both; width:260px; }
176
  .form-list .field { float:left; width:275px; }
177
+ .form-list input.input-text { width:254px; }
178
  .form-list textarea { width:254px; height:10em; }
179
+ .form-list select { width:260px; }
180
  .form-list li.wide .input-box { width:535px; }
181
+ .form-list li.wide input.input-text { width:529px; }
182
  .form-list li.wide textarea { width:529px; }
183
  .form-list li.wide select { width:535px; }
184
  .form-list li.additional-row { border-top:1px solid #ccc; margin-top:10px; padding-top:7px; }
185
  .form-list li.additional-row .btn-remove { float:right; margin:5px 0 0; }
186
  .form-list .input-range input.input-text { width:74px; }
 
 
 
 
 
 
187
  /* Customer */
188
  .form-list .customer-name-prefix .input-box,
189
  .form-list .customer-name-suffix .input-box,
191
  .form-list .customer-name-prefix-middlename .input-box,
192
  .form-list .customer-name-middlename-suffix .input-box,
193
  .form-list .customer-name-prefix-middlename-suffix .input-box { width:auto; }
194
+
195
  .form-list .name-prefix { width:65px; }
196
  .form-list .name-prefix select { width:55px; }
197
  .form-list .name-prefix input.input-text { width:49px; }
198
+
199
  .form-list .name-suffix { width:65px; }
200
  .form-list .name-suffix select { width:55px; }
201
  .form-list .name-suffix input.input-text { width:49px; }
202
+
203
  .form-list .name-middlename { width:70px; }
204
  .form-list .name-middlename input.input-text { width:49px; }
205
+
206
  .form-list .customer-name-prefix-middlename-suffix .name-firstname,
207
  .form-list .customer-name-prefix-middlename .name-firstname { width:140px; }
208
  .form-list .customer-name-prefix-middlename-suffix .name-firstname input.input-text,
209
  .form-list .customer-name-prefix-middlename .name-firstname input.input-text { width:124px; }
210
  .form-list .customer-name-prefix-middlename-suffix .name-lastname { width:205px; }
211
  .form-list .customer-name-prefix-middlename-suffix .name-lastname input.input-text { width:189px; }
212
+
213
  .form-list .customer-name-prefix-suffix .name-firstname { width:210px; }
214
  .form-list .customer-name-prefix-suffix .name-lastname { width:205px; }
215
  .form-list .customer-name-prefix-suffix .name-firstname input.input-text,
216
  .form-list .customer-name-prefix-suffix .name-lastname input.input-text { width:189px; }
217
+
218
  .form-list .customer-name-prefix-suffix .name-firstname { width:210px; }
219
  .form-list .customer-name-prefix-suffix .name-lastname { width:205px; }
220
  .form-list .customer-name-prefix-suffix .name-firstname input.input-text,
221
  .form-list .customer-name-prefix-suffix .name-lastname input.input-text { width:189px; }
222
+
223
  .form-list .customer-name-prefix .name-firstname,
224
  .form-list .customer-name-middlename .name-firstname { width:210px; }
225
+
226
  .form-list .customer-name-suffix .name-lastname,
227
  .form-list .customer-name-middlename .name-firstname,
228
  .form-list .customer-name-middlename-suffix .name-firstname,
229
  .form-list .customer-name-middlename-suffix .name-lastname { width:205px; }
230
+
231
  .form-list .customer-name-prefix .name-firstname input.input-text,
232
  .form-list .customer-name-suffix .name-lastname input.input-text,
233
  .form-list .customer-name-middlename .name-firstname input.input-text,
234
  .form-list .customer-name-middlename-suffix .name-firstname input.input-text,
235
  .form-list .customer-name-middlename-suffix .name-lastname input.input-text { width:189px; }
236
+
237
  .form-list .customer-dob .dob-month,
238
  .form-list .customer-dob .dob-day,
239
  .form-list .customer-dob .dob-year { float:left; width:85px; }
245
  .form-list .customer-dob .dob-month input.input-text { width:46px; }
246
  .form-list .customer-dob .dob-year { width:140px; }
247
  .form-list .customer-dob .dob-year input.input-text { width:134px; }
248
+
249
+ .buttons-set { clear:both; margin:5px 0 0; padding:5px; border:1px solid #ddd; }
250
+ .buttons-set .back-link { float:left; }
251
+ .buttons-set button.button { float:right; }
252
+ .buttons-set p.required { margin:0 0 5px; }
253
+
254
+ .buttons-set-order {}
255
+
256
+ .fieldset { border:1px solid #ddd; background:#fefefe; padding:22px 25px 12px 33px; margin:28px 0; }
257
+ .fieldset .legend { float:left; font-weight:bold; font-size:13px; border:1px solid #fefefe; background:#dedede; color:#333; margin:-33px 0 0 -10px; padding:0 8px; position:relative; }
258
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
259
  /* Form Validation */
260
+ .validation-advice { clear:both; min-height:13px; margin:3px 0 0; padding-left:17px; font-size:10px; line-height:13px; background:url(../images/validation_advice_bg.gif) 2px 1px no-repeat; color:#f00; }
261
+ .validation-failed { border:1px dashed #f00 !important; background:#faebe7 !important; }
262
  .validation-passed {}
263
+ p.required { font-size:10px; text-align:right; color:#f00; }
264
  /* Expiration date and CVV number validation fix */
265
  .v-fix { float:left; }
266
  .v-fix .validation-advice { display:block; width:12em; margin-right:-12em; position:relative; }
267
+
268
  /* Global Messages */
269
  .success { color:#3d6611; font-weight:bold; }
270
+ .error { color:#f00; font-weight:bold; }
271
+ .notice { color:#ccc; }
272
+
273
  .messages,
274
  .messages ul { list-style:none !important; margin:0 !important; padding:0 !important; }
275
  .messages { width:100%; overflow:hidden; }
276
+ .messages li { margin:0 0 10px; }
277
+ .messages li li { margin:0 0 3px; }
278
  .error-msg,
279
  .success-msg,
280
  .note-msg,
283
  .success-msg { border-color:#446423; background-color:#eff5ea; background-image:url(../images/i_msg-success.gif); color:#3d6611; }
284
  .note-msg,
285
  .notice-msg { border-color:#fcd344; background-color:#fafaec; background-image:url(../images/i_msg-note.gif); color:#3d6611; }
286
+
287
  /* BreadCrumbs */
288
+ .breadcrumbs {
289
+ font-size: 12px;
290
+ font-weight: bold;
291
+ line-height: 1.25;
292
+ padding-bottom: 10px;
293
+ padding-top: 6px;
294
+ text-transform: uppercase;
295
+ }
296
  .breadcrumbs li { display:inline; }
297
+
298
  /* Page Heading */
299
+ .page-title { border-bottom:1px solid #ddd; padding:0 0 5px; margin:0 0 10px; }
300
+ .page-title h1, .page-title h2 { color: #6F5651; font-family: oswald; font-size: 26px; margin-bottom: 0; margin-top: 0; padding-bottom: 4px; padding-top: 0; }
 
301
  .page-title .separator { margin:0 3px; }
302
+ .page-title .link-rss { float:right; }
303
  .title-buttons { text-align:right; }
304
  .title-buttons h1,
305
  .title-buttons h2,
307
  .title-buttons h4,
308
  .title-buttons h5,
309
  .title-buttons h6 { float:left; }
310
+
311
  .subtitle,
312
+ .sub-title { clear:both; }
313
+
314
  /* Pager */
315
+ .pager { border:1px solid #ddd; padding:5px; margin:5px 0; text-align:center; }
316
+ .pager .amount { float:left; }
317
  .pager .limiter { float:right; }
318
+ .pager .pages { margin:0 135px; }
 
 
319
  .pager .pages ol { display:inline; }
320
+ .pager .pages li { display:inline; }
321
  .pager .pages .current {}
322
+
323
  /* Sorter */
324
+ .sorter { border:1px solid #ddd; padding:5px; margin:5px 0; }
325
+ .sorter .view-mode { float:left; }
326
+ .sorter .sort-by { float:right; }
 
 
327
  .sorter .link-feed {}
328
+
329
  /* Toolbar */
330
  .toolbar {}
331
+ .toolbar .pager {}
332
+ .toolbar .sorter {}
333
  .toolbar-bottom {}
334
+
335
  /* Data Table */
336
+ .data-table { width:100%; }
337
+ .data-table th { padding:5px; border:1px solid #ddd; font-weight:bold; white-space:nowrap; }
338
+ .data-table td { padding:5px; border:1px solid #ddd; }
339
+ .data-table thead { background-color:#f2f2f2; }
340
+ .data-table tbody {}
341
+ .data-table tfoot {}
342
+ .data-table tr.first {}
343
+ .data-table tr.last {}
344
+ .data-table tr.odd {}
345
+ .data-table tr.even { background-color:#f6f6f6; }
346
+ .data-table tbody.odd {}
347
+ .data-table tbody.odd td { border-width:0 1px; }
348
+ .data-table tbody.even { background-color:#f6f6f6; }
349
+ .data-table tbody.even td { border-width:0 1px; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
350
  .data-table tbody.odd tr.border td,
351
+ .data-table tbody.even tr.border td { border-bottom-width:1px; }
352
+ .data-table th .tax-flag { white-space:nowrap; font-weight:normal; }
353
+ .data-table td.label,
354
+ .data-table th.label { font-weight:bold; background-color:#f6f6f6; }
355
+ .data-table td.value {}
356
+
 
 
357
  /* Shopping cart total summary row expandable to details */
358
  tr.summary-total { cursor:pointer; }
359
  tr.summary-total td {}
360
+ tr.summary-total .summary-collapse { float:right; text-align:right; padding-left:20px; background:url(../images/bkg_collapse.gif) 0 4px no-repeat; cursor:pointer; }
361
+ tr.show-details .summary-collapse { background-position:0 -53px; }
362
  tr.show-details td {}
363
  tr.summary-details td { font-size:11px; background-color:#dae1e4; color:#626465; }
364
  tr.summary-details-first td { border-top:1px solid #d2d8db; }
365
  tr.summary-details-excluded { font-style:italic; }
366
+
367
  /* Shopping cart tax info */
368
  .cart-tax-info { display:block; }
369
  .cart-tax-info,
370
  .cart-tax-info .cart-price { padding-right:20px; }
371
+ .cart-tax-total { display:block; padding-right:20px; background:url(../images/bkg_collapse.gif) 100% 4px no-repeat; cursor:pointer; }
372
  .cart-tax-info .price,
373
  .cart-tax-total .price { display:inline !important; font-weight:normal !important; }
374
+ .cart-tax-total-expanded { background-position:100% -53px; }
375
+
376
  /* Class: std - styles for admin-controlled content */
 
377
  .std .subtitle { padding:0; }
378
  .std ol.ol { list-style:decimal outside; padding-left:1.5em; }
379
  .std ul.disc { list-style:disc outside; padding-left:18px; margin:0 0 10px; }
384
  .std dl,
385
  .std p,
386
  .std address,
387
+ .std blockquote { margin:0 0 1em; padding:0; }
388
+ .std ul { list-style:disc outside; padding-left:1.5em; }
389
  .std ol { list-style:decimal outside; padding-left:1.5em; }
390
  .std ul ul { list-style-type:circle; }
391
  .std ul ul,
400
  .std strong { font-weight:bold; }
401
  .std i,
402
  .std em { font-style:italic; }
403
+
404
  /* Misc */
405
  .links li { display:inline; }
406
  .links li.first { padding-left:0 !important; }
407
  .links li.last { background:none !important; padding-right:0 !important; }
408
+
409
+ .link-cart { font-weight:bold; color:#f00; }
410
+ .link-wishlist { font-weight:bold; }
411
+ .link-reorder { font-weight:bold; }
412
  .link-compare { font-weight:bold; }
413
+ .link-print { background:url(../images/i_print.gif) 0 2px no-repeat; padding:2px 0 2px 25px; }
414
+ .link-rss { background:url(../images/i_rss.gif) 0 1px no-repeat; padding-left:18px; white-space:nowrap; }
415
+ .btn-remove { display:block; width:11px; height:11px; font-size:0; line-height:0; background:url(../images/btn_remove.gif) 0 0 no-repeat; text-indent:-999em; overflow:hidden; }
 
416
  .btn-remove2 { display:block; width:16px; height:16px; font-size:0; line-height:0; background:url(../images/btn_trash.gif) 0 0 no-repeat; text-indent:-999em; overflow:hidden; }
417
  .btn-edit { display:block; width:11px; height:11px; font-size:0; line-height:0; background:url(../images/btn_edit.gif) 0 0 no-repeat; text-indent:-999em; overflow:hidden; }
418
+
419
  .cards-list dt { margin:5px 0 0; }
420
  .cards-list .offset { padding:2px 0 2px 20px; }
421
+
422
+
423
  .separator { margin:0 3px; }
424
+
425
+ .divider { clear:both; display:block; font-size:0; line-height:0; height:1px; margin:10px 0; background:#ddd; text-indent:-999em; overflow:hidden; }
426
+
 
 
 
 
 
427
  /* Noscript Notice */
428
+ .noscript { border:1px solid #ddd; border-width:0 0 1px; background:#ffff90; font-size:12px; line-height:1.25; text-align:center; color:#2f2f2f; }
429
+ .noscript .noscript-inner { width:1000px; margin:0 auto; padding:12px 0 12px; background:url(../images/i_notice.gif) 20px 50% no-repeat; }
430
+ .noscript p { margin:0; }
431
+
432
  /* Demo Notice */
433
+ .demo-notice { margin:0; padding:6px 10px; background:#d75f07; font-size:12px; line-height:1.15; text-align:center; color:#fff; }
434
+
435
+ /* Cookie Notice */
436
+ .notice-cookie { border-bottom:1px solid #cfcfcf; background:#ffff90; font-size:12px; line-height:1.25; text-align:center; color:#2f2f2f; }
437
+ .notice-cookie .notice-inner { width:870px; margin:0 auto; padding:12px 0 12px 80px; background:url(../images/i_notice.gif) 20px 25px no-repeat; text-align:left; }
438
+ .notice-cookie .notice-inner p { margin:0 0 10px; border:1px dotted #cccc73; padding:10px; }
439
+ .notice-cookie .notice-inner .actions { }
440
+
441
  /* ======================================================================================= */
442
+
443
+
444
  /* Header ================================================================================ */
445
  .logo { float:left; }
446
+ .header-container {}
447
+ .header { padding:10px; border:1px solid #ddd; }
448
+ .header .logo { float:left; text-decoration:none !important; }
449
  .header .logo strong { position:absolute; top:-999em; left:-999em; width:0; height:0; font-size:0; line-height:0; text-indent:-999em; overflow:hidden; }
450
+ .header h1.logo { margin:0; padding:0; }
451
+ .header .welcome-msg { font-weight:bold; text-align:right; }
452
+ .header .welcome-msg a {}
453
+ .header .links { float:right; }
454
+ .header .form-search { text-align:right; }
455
+ .header .form-search .search-autocomplete { z-index:999; }
456
+ .header .form-search .search-autocomplete ul { border:1px solid #ddd; background-color:#fff; }
457
+ .header .form-search .search-autocomplete li { padding:3px; border-bottom:1px solid #ddd; cursor:pointer; }
 
 
 
 
 
458
  .header .form-search .search-autocomplete li .amount { float:right; font-weight:bold; }
459
+ .header .form-search .search-autocomplete li.selected {}
460
+ .header .form-language { clear:both; text-align:right; }
461
+ .header-container .top-container { clear:both; text-align:right; }
462
+
463
+ /********** < Navigation */
464
+ .nav-container { background:#0a263d url(../images/bkg_nav0.jpg) 50% 0 repeat-y; }
465
+ ul li a { text-decoration: none; }
466
+ #nav{ width: 929px; margin: 0 auto; margin-top: 30px; padding: 0 0 0 18px; height: 57px; background:url("../images/nav.png") no-repeat scroll 0 0 transparent; }
467
+ #nav ul { margin:0; padding: 0; line-height:30px; }
468
+ #nav span { font-family: oswald; font-size: 13pt; margin-left: 2px; font-weight: normal; margin-top: 22px; text-transform: none; }
469
+ #nav ul li a { text-align: left; font-family:Arial; text-decoration: none; height: 33px; display:block; color: #333333; border: 0px solid #ccc; padding-left: 10px; font-weight:normal; }
470
+ ul#nav li.home a { color:#fff; }
471
+ #nav ul li ul li a { color: #fff; text-align: left; }
472
+ #nav ul ul { position: absolute; visibility: hidden; top: 32; }
473
+ #nav ul li:hover ul { visibility: visible; }
474
+ #nav li:hover { color:#fff; background:#f4a910; background-image: url(../images/menuactive.png); background-repeat: repeat; box-shadow: 1px 0px 2px 0px #7c7c7c; -o-box-shadow: 1px 0px 2px 0px #7c7c7c; -moz-box-shadow: 1px 0px 2px 0px #7c7c7c; -webkit-box-shadow: 1px 0px 2px 0px #7c7c7c; }
475
+ #nav ul li:hover ul li a:hover { background:#b35a05; color:#fff;}
476
+ #nav a:hover,
477
+ #nav li:hover > a,
478
+ #nav li.hover a {color:#fff;}
479
+ #nav a { font-family: Arial; float:left; padding:0 15px 8px 15px; color:#333333;}
480
+ /* 0 Level */
481
+ #nav li { margin:-12px 0 0 6px; padding:0; list-style: none; float:left; position: relative; height: 53px; line-height: 68px; }
482
+ ul#nav li.home { background: url(../images/menuactive.png) repeat-x scroll 0 0 #F4A910; margin-left: 5px; }
483
+ #nav li.active a { color:#fff; }
484
+ ul#nav li.active { background: url("../images/menuactive.png") repeat scroll 0 0 transparent; }
485
+ /* 1st Level */
486
+ #nav ul li { border-radius: 0px; -o-border-radius: 0px; -moz-border-radius: 0px; -webkit-border-radius: 0px; }
487
+ #nav ul li,
488
+ #nav ul li.active { background: url(../images/menuactive.png) repeat scroll 0 0 #F4A910; float: none; margin: 0; padding-bottom: 1px; height:33px; }
489
+ #nav ul a,
490
+ #nav ul a:hover { float:none; padding-left:10px; background:none; }
491
+ #nav ul li a { font-weight:normal !important; }
492
+ /* 2nd Level */
493
+ #nav ul,
494
+ #nav div { position:absolute; width:15em; top:53px; left:-10000px; border:0px solid #899ba5; }
495
+ #nav div ul { position:static; width:auto; border:none; }
496
+ /* 3rd+ Level */
497
+ #nav ul ul,
498
+ #nav ul div { top:26px;}
499
+ #nav ul li a { background: url("../images/menuactive.png") repeat scroll 0 0 #F4A910; height: 26px; }
500
+ #nav ul li a:hover { height:26px; background: url(../images/titlebane.png) repeat scroll 0 0 transparent; opacity:0.73; -o-opacity:0.73; -moz-opacity:0.73; -webkit-opacity:0.73; -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=73)"; }
501
+ #nav ul li a,
502
+ #nav ul li a:hover { color:#fff !important; line-height: 28px; }
503
+ #nav ul span { padding:3px 15px 4px; }
504
+ #nav li ul li.first,
505
+ #nav li ul li.first a,
506
+ #nav li ul li.first a:hover,
507
+ #nav li.last ul.level0 li.first,
508
+ #nav li.last ul.level0 li.first a,
509
+ #nav li.last ul.level0 li.first a:hover,
510
+ #nav li.parent ul.level0 li.parent ul li.first,
511
+ #nav li.parent ul.level0 li.parent ul li.first a,
512
+ #nav li.parent ul.level0 li.parent ul li.first a:hover { border-radius: 0 8px 0 0; }
513
+ #nav ul li.last li span { padding:3px 15px 4px; }
514
+ #nav ul li.last { background:#f4a910; background-image: url(../images/menuactive.png); background-repeat: repeat; padding-bottom:0; border-radius: 0 0 8px 8px; -o-border-radius: 0 0 8px 8px; -moz-border-radius: 0 0 8px 8px; -webkit-border-radius: 0 0 8px 8px; }
515
+ #nav ul li.last a:hover { height:25px; background: url(../images/titlebane.png) repeat scroll 0 0 transparent; opacity:0.73; -o-opacity:0.73; -moz-opacity:0.73; -webkit-opacity:0.73; -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=73)"; border-radius: 0 0 8px 8px; -o-border-radius: 0 0 8px 8px; -moz-border-radius: 0 0 8px 8px; -webkit-border-radius: 0 0 8px 8px; }
516
+ #nav ul li.last a,
517
+ #nav ul li.last a:hover { color:#fff !important; line-height: 28px; border-radius: 0 0 8px 8px; -o-border-radius: 0 0 8px 8px; -moz-border-radius: 0 0 8px 8px; -webkit-border-radius: 0 0 8px 8px; }
518
+ ul#nav li.last ul.level0 li.last a,
519
+ ul#nav li.last ul.level0 li.last a:hover { color:#fff !important; line-height: 28px; border-radius: 0 0 8px 8px; -o-border-radius: 0 0 8px 8px; -moz-border-radius: 0 0 8px 8px; -webkit-border-radius: 0 0 8px 8px; }
520
+ #nav li.last ul li a,
521
+ #nav li.last ul li a:hover { border-radius: 0; -o-border-radius: 0; -moz-border-radius: 0; -webkit-border-radius: 0; }
522
+ #nav li.active a { height: 26px; }
523
+ /* style for item menuTop */
524
+ ul#nav li.parent ul li.parent a { background: url("../images/bkg_nav2.gif") no-repeat scroll 170px 19px transparent; }
525
+ ul#nav li.parent ul li.parent { background: url("../images/menuactive.png") repeat scroll 0 0 #E26703; }
526
+ ul#nav li.parent ul li.parent ul li a:hover { background: url(../images/titlebane.png) repeat scroll 0 0 transparent; }
527
+ ul#nav li.parent ul li.parent ul li a { background: url("../images/menuactive-green.png") repeat scroll 0 0 #FF4C29; }
528
+ ul#nav li.parent ul li.parent ul li.last a { border-radius: 0 0 8px 8px; -o-border-radius: 0 0 8px 8px; -moz-border-radius: 0 0 8px 8px; -webkit-border-radius: 0 0 8px 8px; }
529
+ ul#nav li.parent ul li.parent a:hover { background: url("../images/titlebane.png") repeat scroll 0 0 transparent; opacity:0.73; -o-opacity:0.73; -moz-opacity:0.73; -webkit-opacity:0.73; }
530
+ .products-grid-bar li.item { float: left; list-style: none outside none; text-align: left; width: 30%; }
531
+ /* Show menu */
532
+ #nav li ul.shown-sub,
533
+ #nav li div.shown-sub { left:0; z-index:999; }
534
+ #nav li .shown-sub ul.shown-sub,
535
+ #nav li .shown-sub li div.shown-sub { left:136px; }
536
+ /********** Navigation > */
537
+ /* ======================================================================================= */
538
+
539
+
540
  /* Sidebar =============================================================================== */
541
+ .block { border:1px solid #ddd; margin:0 0 10px; }
542
+ .block .block-title { border-bottom:1px solid #ddd; padding:0 10px; }
543
+ .block .block-title strong {
544
+ color: #E26703;
545
+ display: block;
546
+ font: 12px/16px Arial,Helvetica,sans-serif;
547
+ min-height: 16px;
548
+ padding: 0;
549
+ text-transform: uppercase;
550
+ }
551
  .block .block-title strong span {}
552
  .block .block-title a { text-decoration:none !important; }
553
+ .block .block-subtitle { font-size:13px; font-weight:bold; }
554
+ .block .block-content { padding:10px; }
555
+ .block .block-content li.item { padding:5px 0; }
 
556
  .block .btn-remove,
557
+ .block .btn-edit { float:right;}
558
+ .block .actions { text-align:right; }
559
  .block .actions a { float:left; }
560
+ .block .empty {}
561
+
562
+ .block li.odd {}
563
+ .block li.even { background-color:#f6f6f6; }
564
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
565
  /* Mini Products List */
566
+ .mini-products-list li { padding:5px 0; }
567
+ .mini-products-list .product-image { float:left; width:50px; padding:5px; border:1px solid #ddd; }
568
+ .mini-products-list .product-details { margin-left:75px; }
569
+ .mini-products-list .product-details h4 { font-size:1em; font-weight:bold; margin:0; }
570
  .block-cart .mini-products-list .product-details .product-name,
571
  .block-cart .mini-products-list .product-details .nobr small { word-wrap:break-word; }
572
  .block-cart .mini-products-list .product-details .nobr { white-space:normal !important; }
573
+
574
  /* Block: Account */
575
+ .block-account {}
576
+
 
 
 
 
 
 
 
577
  /* Block: Currency Switcher */
578
+ .block-currency {}
579
+ .block-currency select { width:100%; border:1px solid #888; }
580
+
 
 
581
  /* Block: Layered Navigation */
582
+ .block-layered-nav {}
583
+ .block-layered-nav dt { font-weight:bold; }
584
+ .block-layered-nav .currently {}
585
+ .block-layered-nav .btn-remove { float:left; margin:2px 3px 0 0; }
586
+
 
 
 
 
 
 
 
 
 
 
587
  /* Block: Cart */
588
+ .block-cart { margin-bottom: 35px; }
589
+ .block-cart .summary {}
590
+ .block-cart .amount {}
591
+ .block-cart .subtotal { text-align:center; }
 
 
 
 
592
  .block-cart .actions .paypal-logo { float:left; width:100%; margin:3px 0 0; text-align:right; }
593
+ .block-cart .actions .paypal-logo .paypal-or { clear:both; display:block; padding:0 55px 5px 0; }
594
+
595
  /* Block: Wishlist */
596
+ .block-wishlist {}
597
+
 
598
  /* Block: Related */
599
+ .block-related {}
600
+ .block-related li { padding:5px 0; }
601
+ .block-related input.checkbox { float:left; margin-right:-20px; }
602
  .block-related .product { margin-left:20px; }
603
+ .block-related .product .product-image { float:left; margin-right:-65px; }
604
+ .block-related .product .product-details { margin-left:65px; }
605
+
606
  /* Block: Compare Products */
607
+ .block-compare {}
608
+ .block-compare li { padding:5px 0; }
609
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
610
  /* Block: Recently Viewed */
611
+ .block-viewed {}
612
+
613
  /* Block: Recently Compared */
614
+ .block-compared {}
615
+
616
  /* Block: Poll */
617
+ .block-poll label {}
 
 
618
  .block-poll input.radio { float:left; margin:1px -18px 0 0; }
619
  .block-poll .label { display:block; margin-left:18px; }
620
  .block-poll li { padding:3px 9px; }
621
  .block-poll .actions { margin:5px 0 0; }
 
622
  .block-poll .answer { font-weight:bold; }
623
  .block-poll .votes { float:right; margin-left:10px; }
624
+
625
  /* Block: Tags */
626
+ .block-tags ul,
627
+ .block-tags li { display:inline; }
628
+
 
 
629
  /* Block: Subscribe */
630
+ .block-subscribe {}
631
+
 
 
 
 
 
632
  /* Block: Reorder */
633
+ .block-reorder {}
634
+ .block-reorder li { padding:5px 0; }
635
+ .block-reorder input.checkbox { float:left; margin:3px -20px 0 0; }
636
  .block-reorder .product-name { margin-left:20px; }
637
+
638
  /* Block: Banner */
639
+ .block-banner {}
640
+ .block-banner .block-content { text-align:center; }
641
+
642
  /* Block: Login */
 
 
643
  .block-login label { font-weight:bold; color:#666; }
644
  .block-login input.input-text { display:block; width:167px; margin:3px 0; }
645
+
 
646
  /* Paypal */
647
  .sidebar .paypal-logo { display:block; margin:10px 0; text-align:center; }
648
  .sidebar .paypal-logo a { float:none; }
649
  /* ======================================================================================= */
650
+
651
+
652
  /* Category Page ========================================================================= */
653
  .category-title { border:0; margin:0 0 7px; }
654
  .category-image { width:100%; overflow:hidden; margin:0 0 10px; text-align:center; }
655
  .category-image img {}
656
+ .category-description { margin:0 0 10px; }
657
+ .category-products {}
658
+
659
  /* View Type: Grid */
660
+ .products-grid { position:relative; }
661
  .products-grid.last { border-bottom:0; }
662
+ .products-grid li.item { float: left; width: 33%; }
663
+ .products-grid .product-image { display:block; width:135px; height:135px; margin:0 0 10px; }
664
+ .products-grid .product-name { margin:0 0 5px; font-weight:bold; font-size:13px; }
665
+ .products-grid .product-name a {}
666
+ .products-grid .price-box { margin:5px 0; }
 
667
  .products-grid .availability { line-height:21px; }
668
+ .products-grid .actions { }
669
  .col2-left-layout .products-grid,
670
+ .col2-right-layout .products-grid { width:632px; margin:0 auto; }
 
671
  .col1-layout .products-grid { width:790px; margin:0 auto; }
672
+
673
  /* View Type: List */
674
+ .products-list li.item { border-bottom:1px solid #ddd; padding:12px 10px; }
675
  .products-list li.item.last { border-bottom:0; }
676
  .products-list .product-image { float:left; width:135px; height:135px; margin:0 0 10px; }
677
  .products-list .product-shop { margin-left:150px; }
678
+ .products-list .product-name { margin:0 0 5px; font-weight:bold; font-size:13px; }
679
+ .products-list .product-name a {}
680
  .products-list .price-box { float:left; margin:3px 13px 5px 0; }
681
  .products-list .availability { float:left; margin:3px 0 0; }
682
  .products-list .desc { clear:both; padding:6px 0 0; margin:0 0 15px; line-height:1.35; }
685
  .products-list .add-to-links li { display:inline; }
686
  .products-list .add-to-links .separator { display:inline; margin:0 2px; }
687
  /* ======================================================================================= */
688
+
689
+
690
  /* Product View ========================================================================== */
691
  /* Rating */
692
+ .no-rating { margin:0; }
693
+
694
+ .ratings { font-size:11px; line-height:1.25; margin:7px 0; }
695
  .ratings strong { float:left; margin:1px 3px 0 0; }
696
  .ratings .rating-links { margin:0; }
697
  .ratings .rating-links .separator { margin:0 2px; }
701
  .rating-box .rating { float:left; height:13px; background:url(../images/bkg_rating.gif) 0 100% repeat-x; }
702
  .ratings .rating-box { float:left; margin-right:3px; }
703
  .ratings .amount {}
704
+
705
  .ratings-table th,
706
  .ratings-table td { font-size:11px; line-height:1.15; padding:3px 0; }
707
  .ratings-table th { font-weight:bold; padding-right:8px; }
708
+
709
  /* Availability */
710
  .availability { margin:0; }
711
  .availability span { font-weight:bold; }
712
  .availability.in-stock span {}
713
  .availability.out-of-stock span { color:#d83820; }
714
+
715
+ .availability-only { margin:0 0 7px; }
716
+ .availability-only a { background:url(../images/i_availability_only_arrow.gif) 100% 0 no-repeat; cursor:pointer; padding-right:15px; }
 
717
  .availability-only .expanded { background-position:100% -15px; }
718
+ .availability-only strong {}
719
+
720
  .availability-only-details { margin:0 0 7px; }
721
+ .availability-only-details th { background:#f2f2f2; font-size:10px; padding:0 8px; }
722
+ .availability-only-details td { border-bottom:1px solid #ddd; font-size:11px; padding:2px 8px 1px; }
723
+ .availability-only-details tr.odd td.last {}
724
+
 
725
  /* Email to a Friend */
726
+ .email-friend {}
727
+
728
  /* Alerts */
729
+ .alert-price {}
730
+ .alert-stock {}
731
+
732
  /********** < Product Prices */
733
  .price { white-space:nowrap !important; }
734
+
735
+ .price-box {}
736
+ .price-box .price { font-weight:bold; }
737
+
738
  /* Regular price */
739
+ .regular-price {}
740
+ .regular-price .price { font-weight:bold; }
741
+
 
742
  /* Old price */
743
+ .old-price {}
744
+ .old-price .price-label { white-space:nowrap; }
745
+ .old-price .price { font-weight:bold; text-decoration:line-through; }
746
+
747
  /* Special price */
748
+ .special-price { margin: 0; padding: 3px 0; }
749
+ .special-price .price-label { font-weight:bold; white-space:nowrap; }
750
+ .special-price .price { font-weight:bold; }
751
+
752
  /* Minimal price (as low as) */
753
+ .minimal-price {}
754
  .minimal-price .price-label { font-weight:bold; white-space:nowrap; }
755
+
756
  .minimal-price-link { display:block; }
757
+ .minimal-price-link .label {}
758
+ .minimal-price-link .price { font-weight:normal; }
759
+
760
  /* Excluding tax */
761
+ .price-excluding-tax { display:block; }
762
+ .price-excluding-tax .label { white-space:nowrap; }
763
+ .price-excluding-tax .price { font-weight:normal; }
764
+
765
  /* Including tax */
766
+ .price-including-tax { display:block; }
767
+ .price-including-tax .label { white-space:nowrap; }
768
+ .price-including-tax .price { font-weight:bold; }
769
+
770
  /* Configured price */
771
+ .configured-price {}
772
  .configured-price .price-label { font-weight:bold; white-space:nowrap; }
773
  .configured-price .price { font-weight:bold; }
774
+
775
  /* FPT */
776
  .weee { display:block; font-size:11px; color:#444; }
777
  .weee .price { font-size:11px; font-weight:normal; }
778
+
779
  /* Excl tax (for order tables) */
780
  .price-excl-tax { display:block; }
781
  .price-excl-tax .label { display:block; white-space:nowrap; }
782
  .price-excl-tax .price { display:block; }
783
+
784
  /* Incl tax (for order tables) */
785
  .price-incl-tax { display:block; }
786
  .price-incl-tax .label { display:block; white-space:nowrap; }
787
  .price-incl-tax .price { display:block; font-weight:bold; }
788
+
789
  /* Price range */
790
+ .price-from {}
791
  .price-from .price-label { font-weight:bold; white-space:nowrap; }
792
+
793
+ .price-to {}
794
  .price-to .price-label { font-weight:bold; white-space:nowrap; }
795
+
796
  /* Price notice next to the options */
797
+ .price-notice { padding-left:10px; }
798
+ .price-notice .price { font-weight:bold; }
799
+
800
  /* Price as configured */
801
+ .price-as-configured {}
802
  .price-as-configured .price-label { font-weight:bold; white-space:nowrap; }
803
+
804
+ .price-box-bundle {}
 
805
  /********** Product Prices > */
806
+
807
  /* Tier Prices */
808
+ .tier-prices .price { font-weight:bold; }
809
+ .tier-prices .benefit {}
810
+
811
+ .tier-prices-grouped {}
812
+
 
 
813
  /* Add to Links */
 
814
  .add-to-links .separator { display:none; }
815
+
816
  /* Add to Cart */
817
+ .add-to-cart label { color: #666666; float: left; font-weight: bold; margin-right: 5px; }
818
+ .add-to-cart .qty { float:left; margin-right: 5px; }
819
  .add-to-cart button.button { float:left; }
820
+ .add-to-cart .paypal-logo { clear:left; text-align:right; }
821
  .add-to-cart .paypal-logo .paypal-or { clear:both; display:block; margin:5px 60px 5px 0; }
822
  .product-view .add-to-cart .paypal-logo { margin:0; }
823
+
824
  /* Add to Links + Add to Cart */
825
+ .add-to-box { margin: 10px 0; }
826
  .add-to-box .add-to-cart { float:left; }
827
+ .add-to-box .or { color: #666666; float: left; font-weight: bold; margin: 4px 0 0; }
828
+ .add-to-box .add-to-links { float: left; font-size: 12px !important; line-height: 1.25 !important; margin: 0; text-align: left !important; }
829
+
830
+
831
+ .product-view {}
832
+
833
+ .product-essential {}
834
+
835
+ .product-collateral .box-collateral { margin:0 0 15px; }
836
+
 
837
  /* Product Images */
838
  .product-view .product-img-box { float:left; width:267px; }
839
  .col3-layout .product-view .product-img-box { float:none; margin:0 auto; }
840
+ .product-view .product-img-box .product-image { border:1px solid #ddd; }
841
  .product-view .product-img-box .product-image-zoom { position:relative; width:265px; height:265px; overflow:hidden; z-index:9; }
842
  .product-view .product-img-box .product-image-zoom img { position:absolute; left:0; top:0; cursor:move; }
843
+ .product-view .product-img-box .zoom-notice { text-align:center; }
844
  .product-view .product-img-box .zoom { position:relative; z-index:9; height:18px; margin:0 auto 13px; padding:0 28px; background:url(../images/slider_bg.gif) 50% 50% no-repeat; cursor:pointer; }
845
  .product-view .product-img-box .zoom.disabled { -moz-opacity:.3; -webkit-opacity:.3; -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";/*IE8*/ opacity:.3; }
846
  .product-view .product-img-box .zoom #track { position:relative; height:18px; }
847
  .product-view .product-img-box .zoom #handle { position:absolute; left:0; top:-1px; width:9px; height:22px; background:url(../images/magnifier_handle.gif) 0 0 no-repeat; }
848
  .product-view .product-img-box .zoom .btn-zoom-out { position:absolute; left:2px; top:0; }
849
  .product-view .product-img-box .zoom .btn-zoom-in { position:absolute; right:2px; top:0; }
850
+ .product-view .product-img-box .more-views ul { margin-left:-4px }
851
+ .product-view .product-img-box .more-views li { float:left; padding:1px; background-color:#ddd; margin:0 0 8px 4px ; }
 
 
852
  .product-image-popup { margin:0 auto; }
853
  .product-image-popup .buttons-set { float:right; clear:none; border:0; margin:0; padding:0; }
854
+ .product-image-popup .nav { margin:0 100px; text-align:center; }
855
+ .product-image-popup .image { display:block; }
856
+ .product-image-popup .image-label {}
857
+
858
  /* Product Shop */
859
  .product-view .product-shop { float:right; width:366px; }
860
+ .col1-layout .product-view .product-shop { float:right; width:700px; }
861
  .col3-layout .product-view .product-shop { float:none; width:auto; }
862
+ .product-view .product-shop .add-to-links a { color: #1E7EC8 !important; font-weight: normal !important; }
863
+ .product-view .product-shop .add-to-links { font-size: 12px; text-align: right; margin: 0; }
864
+ .product-view .product-name {}
865
+ .product-view .short-description {}
866
+
 
 
 
 
 
867
  /* Product Options */
868
+ .product-options { padding:10px; margin:10px 0 0; border:1px solid #ddd; background-color:#f6f6f6; }
869
+ .product-options dt label { font-weight:bold; }
870
+ .product-options dt .qty-holder { float:right; }
871
+ .product-options dt .qty-holder label { vertical-align:middle; }
872
+ .product-options dt .qty-disabled { background:none; border:0; padding:3px; color:#000; }
873
+ .product-options dd { margin:10px 0; }
874
+ .product-options dl.last dd.last {}
 
 
875
  .product-options dd input.input-text { width:98%; }
876
  .product-options dd input.datetime-picker { width:150px; }
877
  .product-options dd .time-picker { display:-moz-inline-box; display:inline-block; padding:2px 0; vertical-align:middle; }
878
  .product-options dd textarea { width:98%; height:8em; }
879
+ .product-options dd select { width:100%; }
880
+ .product-options .options-list {}
881
+ .product-options .options-list input.radio { float:left; margin:3px -18px 0 0; }
882
+ .product-options .options-list input.checkbox { float:left; margin:3px -20px 0 0; }
883
+ .product-options .options-list .label { display:block; margin-left:20px; }
 
 
 
884
  .product-options ul.validation-failed { padding:0 7px; }
885
+ .product-options p.required { padding:15px 0 0; }
886
+
887
+ .product-options-bottom { padding:10px; border:1px solid #ddd; border-top:0; }
888
+ .product-options-bottom .price-box { margin:10px 0; }
889
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
890
  /* Grouped Product */
891
+ .product-view .grouped-items-table {}
892
+
893
  /* Block: Description */
894
  .product-view .box-description {}
895
+
896
  /* Block: Additional */
897
+ .product-view .box-additional {}
898
+
899
  /* Block: Upsell */
900
+ .product-view .box-up-sell {}
901
+ .product-view .box-up-sell .products-grid td { width:25%; }
902
+
 
 
 
 
 
 
903
  /* Block: Tags */
904
+ .product-view .box-tags {}
905
+ .product-view .box-tags .form-add label { float:left; }
906
+ .product-view .box-tags .form-add .input-box { float:left; width:260px; margin:0 5px; }
907
+ .product-view .box-tags .form-add input.input-text { width:254px; }
908
+ .product-view .box-tags .form-add p { clear:both; }
909
+
 
 
 
 
 
910
  /* Block: Reviews */
911
+ .product-view .box-reviews {}
912
+ .product-view .box-reviews .form-add {}
913
+
 
 
 
 
 
 
 
 
 
 
 
914
  /* Send a Friend */
915
+ .send-friend {}
 
 
 
 
 
 
 
 
 
916
  /* ======================================================================================= */
917
+
918
+
919
  /* Content Styles ================================================================= */
920
+ .product-name { font-size:1em; font-weight:normal; }
921
+ .product-name a {}
922
+
923
  /* Product Tags */
924
+ .tags-list li { display:inline; }
925
+
 
926
  /* Advanced Search */
927
+ .advanced-search {}
928
+ .advanced-search-amount {}
929
+ .advanced-search-summary {}
930
+
 
 
 
 
931
  /* CMS Home Page */
932
  .cms-home .subtitle {}
933
  .cms-index-index .subtitle {}
934
+
935
  /* Sitemap */
936
  .page-sitemap .links { text-align:right; margin:0 8px -22px 0; }
937
  .page-sitemap .links a { text-decoration:none; position:relative; }
938
  .page-sitemap .links a:hover { text-decoration:underline; }
939
  .page-sitemap .sitemap { margin:12px; }
940
+ .page-sitemap .sitemap a {}
941
  .page-sitemap .sitemap li { margin:3px 0; }
942
  .page-sitemap .sitemap li.level-0 { margin:10px 0 0; font-weight:bold; }
943
+ .page-sitemap .sitemap li.level-0 a {}
944
+
945
  /* RSS */
946
  .rss-title h1 { background:url(../images/i_rss-big.png) 0 4px no-repeat; padding-left:27px; }
947
+ .rss-table .link-rss { display:block; line-height:1.35; background-position:0 2px; }
948
  /* ======================================================================================= */
949
+
950
+
951
  /* Shopping Cart ========================================================================= */
952
+ .cart {}
953
+
954
  /* Checkout Types */
955
+ .cart .checkout-types { float:right; text-align:right; }
 
956
  .cart .title-buttons .checkout-types li { float:left; margin:0 0 5px 5px; }
957
  .cart .checkout-types .paypal-or { margin:0 8px; line-height:2.3; }
958
+ .cart .totals .checkout-types .paypal-or { clear:both; display:block; padding:3px 55px 8px 0; line-height:1.0; font-size:11px; }
959
+
960
  /* Shopping Cart Table */
961
+ .cart-table .item-msg { font-size:10px; }
962
+
 
 
 
 
 
 
 
 
 
 
963
  /* Shopping Cart Collateral boxes */
964
+ .cart .cart-collaterals { padding:25px 0 0; }
965
+ .cart .cart-collaterals .col2-set { float:left; width:700px; }
966
+
967
+ .cart .crosssell {}
968
  .cart .crosssell h2 { font-size:13px; font-weight:bold; }
969
+ .cart .crosssell .product-image { float:left; width:75px; height:75px; border:1px solid #ddd; }
970
  .cart .crosssell .product-details { margin-left:90px; }
 
971
  .cart .crosssell li.item { margin:12px 0; }
972
+
973
  /* Discount Codes & Estimate Shipping and Tax Boxes */
974
  .cart .discount,
975
+ .cart .shipping {}
976
+
 
 
 
 
 
 
 
 
 
 
 
 
977
  /* Shopping Cart Totals */
978
+ .cart .totals { float:right; }
979
+ .cart .totals table { width:100%; }
980
+ .cart .totals table th,
981
+ .cart .totals table td { padding:5px; }
982
+ .cart .totals table th { font-weight:bold; }
983
+ .cart .totals table tfoot th {}
984
+
 
 
 
985
  /* Options Tool Tip */
986
  .item-options dt { font-weight:bold; font-style:italic; }
987
+ .item-options dd { padding-left:10px; }
988
  .truncated { cursor:help; }
989
  .truncated a.dots { cursor:help; }
990
  .truncated a.details { cursor:help; }
992
  .truncated .truncated_full_value .item-options { position:absolute; top:-99999em; left:-99999em; z-index:999; width:250px; padding:8px; border:1px solid #ddd; background-color:#f6f6f6; }
993
  .truncated .truncated_full_value .item-options > p { font-weight:bold; text-transform:uppercase; }
994
  .truncated .show .item-options { top:-20px; left:50%; }
995
+ .col-left .truncated .show .item-options { left:30px; top:7px; }
996
+ .col-right .truncated .show .item-options { left:-240px; top:7px; }
997
  /* ======================================================================================= */
998
+
999
+
1000
  /* Checkout ============================================================================== */
1001
  /********** < Common Checkout Styles */
1002
  /* Shipping and Payment methods */
1003
+ .sp-methods dt { font-weight:bold; }
 
 
 
 
1004
  .sp-methods .price { font-weight:bold; }
1005
  .sp-methods .form-list { padding-left:20px; }
1006
+ .sp-methods select.month { width:150px; margin-right:10px; }
 
1007
  .sp-methods select.year { width:96px; }
1008
  .sp-methods input.cvv { width:3em !important; }
1009
+
1010
  .sp-methods .checkmo-list li { margin:0 0 5px; }
1011
  .sp-methods .checkmo-list label { width:135px; padding-right:10px; text-align:right; }
1012
  .sp-methods .checkmo-list address { float:left; }
1013
+
1014
  .sp-methods .centinel-logos a { margin-right:3px; }
1015
  .sp-methods .centinel-logos img { vertical-align:middle; }
1016
+
1017
+ .sp-methods .release-amounts { margin:0.5em 0 1em; }
1018
  .sp-methods .release-amounts button { float:left; margin:5px 10px 0 0; }
1019
+
1020
+ .please-wait { float:right; margin-right:5px; }
1021
  .please-wait img { vertical-align:middle; }
1022
+ .cvv-what-is-this { cursor:help; margin-left:5px; }
1023
+
1024
  /* Tooltip */
1025
+ .tool-tip { border:1px solid #ddd; background-color:#f6f6f6; padding:5px; position:absolute; z-index:9999; }
1026
+ .tool-tip .btn-close { text-align:right; }
1027
  .tool-tip .btn-close a { display:block; margin:0 0 0 auto; width:15px; height:15px; background:url(../images/btn_windo