Ma2_Ante_Theme - Version 1.0.0

Version Notes

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

Download this release

Release Info

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


Version 1.0.0

Files changed (211) hide show
  1. app/code/local/Ma2/FeaturedProducts/Block/Adminhtml/Edit.php +79 -0
  2. app/code/local/Ma2/FeaturedProducts/Block/Adminhtml/Edit/Edit.php +32 -0
  3. app/code/local/Ma2/FeaturedProducts/Block/Adminhtml/Edit/Grid.php +344 -0
  4. app/code/local/Ma2/FeaturedProducts/Block/Adminhtml/Edit/Renderer/Name.php +22 -0
  5. app/code/local/Ma2/FeaturedProducts/Block/Adminhtml/Edit/Renderer/Visibility.php +20 -0
  6. app/code/local/Ma2/FeaturedProducts/Block/Product.php +16 -0
  7. app/code/local/Ma2/FeaturedProducts/Block/Product/List.php +69 -0
  8. app/code/local/Ma2/FeaturedProducts/Helper/Data.php +22 -0
  9. app/code/local/Ma2/FeaturedProducts/Model/Mysql4/FeaturedProducts.php +11 -0
  10. app/code/local/Ma2/FeaturedProducts/Model/Mysql4/FeaturedProducts/Collection.php +9 -0
  11. app/code/local/Ma2/FeaturedProducts/Model/System/Config/Source/Sort.php +11 -0
  12. app/code/local/Ma2/FeaturedProducts/controllers/Adminhtml/FeaturedController.php +97 -0
  13. app/code/local/Ma2/FeaturedProducts/controllers/IndexController.php +26 -0
  14. app/code/local/Ma2/FeaturedProducts/etc/adminhtml.xml +37 -0
  15. app/code/local/Ma2/FeaturedProducts/etc/config.xml +115 -0
  16. app/code/local/Ma2/FeaturedProducts/sql/FeaturedProducts_setup/mysql4-install-1.0.1.php +26 -0
  17. app/code/local/Ma2/FeaturedProducts/sql/FeaturedProducts_setup/mysql4-upgrade-1.0.1-1.1.1.php +5 -0
  18. app/code/local/Ma2/FeaturedProducts/sql/FeaturedProducts_setup/mysql4-upgrade-1.1.1-1.2.3.php +28 -0
  19. app/code/local/Ma2/FeaturedProducts/sql/FeaturedProducts_setup/upgrade-1.2.3-2.0.0.php +5 -0
  20. app/code/local/Ma2/ThemeOptions/Block/Adminhtml/System/Config/Form/Field/Font_unused.php +68 -0
  21. app/code/local/Ma2/ThemeOptions/Block/Adminhtml/System/Config/Form/Field/Fontpreview.php +127 -0
  22. app/code/local/Ma2/ThemeOptions/Block/Adminhtml/System/Config/Form/Field/Fonts_unused.php +176 -0
  23. app/code/local/Ma2/ThemeOptions/Block/Adminhtml/System/Config/Form/Field/Fontscript_unused.php +69 -0
  24. app/code/local/Ma2/ThemeOptions/Block/Adminhtml/System/Config/Form/Field/Heading.php +16 -0
  25. app/code/local/Ma2/ThemeOptions/Block/Adminhtml/System/Config/Form/Field/Images.php +63 -0
  26. app/code/local/Ma2/ThemeOptions/Block/Adminhtml/System/Config/Form/Field/Imagessmall.php +63 -0
  27. app/code/local/Ma2/ThemeOptions/Block/Adminhtml/System/Config/Form/Field/OColor.php +17 -0
  28. app/code/local/Ma2/ThemeOptions/Block/Adminhtml/System/Config/Form/Field/Patern.php +62 -0
  29. app/code/local/Ma2/ThemeOptions/Block/ThemeOptions.php +10 -0
  30. app/code/local/Ma2/ThemeOptions/Controller/Observer.php +11 -0
  31. app/code/local/Ma2/ThemeOptions/Exception.php +36 -0
  32. app/code/local/Ma2/ThemeOptions/Helper/Data.php +30 -0
  33. app/code/local/Ma2/ThemeOptions/Model/Backgroundposition.php +19 -0
  34. app/code/local/Ma2/ThemeOptions/Model/Backgroundrepeat.php +14 -0
  35. app/code/local/Ma2/ThemeOptions/Model/Fontreplacement.php +12 -0
  36. app/code/local/Ma2/ThemeOptions/Model/Fonts.php +129 -0
  37. app/code/local/Ma2/ThemeOptions/Model/Gfont_unused.php +25 -0
  38. app/code/local/Ma2/ThemeOptions/Model/Presetstyles.php +13 -0
  39. app/code/local/Ma2/ThemeOptions/Model/Productpagelayout.php +14 -0
  40. app/code/local/Ma2/ThemeOptions/etc/adminhtml.xml +36 -0
  41. app/code/local/Ma2/ThemeOptions/etc/config.xml +127 -0
  42. app/code/local/Ma2/ThemeOptions/etc/system.xml +705 -0
  43. app/code/local/Ma2/WidgetProductList/Block/Adminhtml/Catalog/Product/Widget/Chooser.php +389 -0
  44. app/code/local/Ma2/WidgetProductList/Block/BestSelling.php +75 -0
  45. app/code/local/Ma2/WidgetProductList/Block/Custom.php +88 -0
  46. app/code/local/Ma2/WidgetProductList/Block/Featured.php +95 -0
  47. app/code/local/Ma2/WidgetProductList/Block/New.php +107 -0
  48. app/code/local/Ma2/WidgetProductList/Helper/Data.php +33 -0
  49. app/code/local/Ma2/WidgetProductList/controllers/Adminhtml/WidgetProductListController.php +53 -0
  50. app/code/local/Ma2/WidgetProductList/etc/config.xml +66 -0
  51. app/code/local/Ma2/WidgetProductList/etc/widget.xml +512 -0
  52. app/code/local/Wru/HomeTop/Block/Links.php +91 -0
  53. app/code/local/Wru/HomeTop/etc/config.xml +59 -0
  54. app/design/adminhtml/default/default/layout/ma2_options.xml +15 -0
  55. app/design/frontend/ma2/ante/layout/es_custommenu.xml +11 -0
  56. app/design/frontend/ma2/ante/layout/local.xml +143 -0
  57. app/design/frontend/ma2/ante/layout/ma2_featuredproducts.xml +11 -0
  58. app/design/frontend/ma2/ante/layout/ma2_widgetproductlist.xml +8 -0
  59. app/design/frontend/ma2/ante/template/bundle/catalog/product/price.phtml +252 -0
  60. app/design/frontend/ma2/ante/template/bundle/catalog/product/view/price.phtml +112 -0
  61. app/design/frontend/ma2/ante/template/bundle/catalog/product/view/tierprices.phtml +40 -0
  62. app/design/frontend/ma2/ante/template/catalog/category/view.phtml +111 -0
  63. app/design/frontend/ma2/ante/template/catalog/navigation/top.phtml +49 -0
  64. app/design/frontend/ma2/ante/template/catalog/product/list.phtml +148 -0
  65. app/design/frontend/ma2/ante/template/catalog/product/list/related.phtml +141 -0
  66. app/design/frontend/ma2/ante/template/catalog/product/price.phtml +448 -0
  67. app/design/frontend/ma2/ante/template/catalog/product/view.phtml +199 -0
  68. app/design/frontend/ma2/ante/template/catalog/product/view/additional.phtml +29 -0
  69. app/design/frontend/ma2/ante/template/catalog/product/view/addto.phtml +41 -0
  70. app/design/frontend/ma2/ante/template/catalog/product/view/addtocart.phtml +40 -0
  71. app/design/frontend/ma2/ante/template/catalog/product/view/price.phtml +33 -0
  72. app/design/frontend/ma2/ante/template/catalog/product/view/price_clone.phtml +28 -0
  73. app/design/frontend/ma2/ante/template/catalog/product/view/tierprices.phtml +221 -0
  74. app/design/frontend/ma2/ante/template/catalog/product/view/type/default.phtml +35 -0
  75. app/design/frontend/ma2/ante/template/catalog/product/view/type/onlyprice.phtml +30 -0
  76. app/design/frontend/ma2/ante/template/catalogsearch/advanced/form.phtml +96 -0
  77. app/design/frontend/ma2/ante/template/catalogsearch/advanced/result.phtml +60 -0
  78. app/design/frontend/ma2/ante/template/catalogsearch/form.mini.phtml +43 -0
  79. app/design/frontend/ma2/ante/template/catalogsearch/result.phtml +55 -0
  80. app/design/frontend/ma2/ante/template/catalogsearch/term.phtml +38 -0
  81. app/design/frontend/ma2/ante/template/checkout/cart/sidebar.phtml +111 -0
  82. app/design/frontend/ma2/ante/template/es_custommenu/menu.phtml +23 -0
  83. app/design/frontend/ma2/ante/template/es_custommenu/submenu.phtml +22 -0
  84. app/design/frontend/ma2/ante/template/ma2_featuredproducts/featuredproducts.phtml +127 -0
  85. app/design/frontend/ma2/ante/template/ma2_widgetproductlist/bestselling/default.phtml +218 -0
  86. app/design/frontend/ma2/ante/template/ma2_widgetproductlist/custom/default.phtml +244 -0
  87. app/design/frontend/ma2/ante/template/ma2_widgetproductlist/featured/default.phtml +218 -0
  88. app/design/frontend/ma2/ante/template/ma2_widgetproductlist/featured/sidebar.phtml +218 -0
  89. app/design/frontend/ma2/ante/template/ma2_widgetproductlist/new/default.phtml +218 -0
  90. app/design/frontend/ma2/ante/template/newsletter/subscribe.phtml +51 -0
  91. app/design/frontend/ma2/ante/template/page/1column.phtml +27 -0
  92. app/design/frontend/ma2/ante/template/page/2columns-left.phtml +59 -0
  93. app/design/frontend/ma2/ante/template/page/2columns-right.phtml +31 -0
  94. app/design/frontend/ma2/ante/template/page/3columns.phtml +62 -0
  95. app/design/frontend/ma2/ante/template/page/empty.phtml +46 -0
  96. app/design/frontend/ma2/ante/template/page/html/appendblocks/ie7ie8.phtml +19 -0
  97. app/design/frontend/ma2/ante/template/page/html/appendblocks/presetstyle.phtml +27 -0
  98. app/design/frontend/ma2/ante/template/page/html/breadcrumbs.phtml +52 -0
  99. app/design/frontend/ma2/ante/template/page/html/footer.phtml +47 -0
  100. app/design/frontend/ma2/ante/template/page/html/head.phtml +282 -0
  101. app/design/frontend/ma2/ante/template/page/html/header.phtml +122 -0
  102. app/design/frontend/ma2/ante/template/page/html/ma2head.phtml +178 -0
  103. app/design/frontend/ma2/ante/template/page/html/notices.phtml +69 -0
  104. app/design/frontend/ma2/ante/template/page/html/pager.phtml +124 -0
  105. app/design/frontend/ma2/ante/template/page/html/sampleblocks/banner-bottom.phtml +38 -0
  106. app/design/frontend/ma2/ante/template/page/html/sampleblocks/bannerimg.phtml +34 -0
  107. app/design/frontend/ma2/ante/template/page/html/sampleblocks/block-call-toll-free.phtml +22 -0
  108. app/design/frontend/ma2/ante/template/page/html/sampleblocks/block-free-shipping.phtml +29 -0
  109. app/design/frontend/ma2/ante/template/page/html/sampleblocks/block-header-top-links.phtml +13 -0
  110. app/design/frontend/ma2/ante/template/page/html/sampleblocks/block-right-adv.phtml +26 -0
  111. app/design/frontend/ma2/ante/template/page/html/sampleblocks/footer-block-one.phtml +20 -0
  112. app/design/frontend/ma2/ante/template/page/html/sampleblocks/footer-block-social.phtml +17 -0
  113. app/design/frontend/ma2/ante/template/page/html/sampleblocks/footer-block-three.phtml +20 -0
  114. app/design/frontend/ma2/ante/template/page/html/sampleblocks/footer-block-two.phtml +20 -0
  115. app/design/frontend/ma2/ante/template/page/html/sampleblocks/footer-right.phtml +21 -0
  116. app/design/frontend/ma2/ante/template/page/html/sampleblocks/i_datasheet.phtml +21 -0
  117. app/design/frontend/ma2/ante/template/page/html/sampleblocks/icon-link-to-social.phtml +17 -0
  118. app/design/frontend/ma2/ante/template/page/html/sampleblocks/slideshow.phtml +28 -0
  119. app/design/frontend/ma2/ante/template/page/html/top.links.phtml +39 -0
  120. app/design/frontend/ma2/ante/template/page/html/topmenu.phtml +56 -0
  121. app/design/frontend/ma2/ante/template/page/html/wrapper.phtml +50 -0
  122. app/design/frontend/ma2/ante/template/page/js/calendar.phtml +94 -0
  123. app/design/frontend/ma2/ante/template/page/js/cookie.phtml +40 -0
  124. app/design/frontend/ma2/ante/template/page/popup.phtml +45 -0
  125. app/design/frontend/ma2/ante/template/page/print.phtml +52 -0
  126. app/design/frontend/ma2/ante/template/page/redirect.phtml +36 -0
  127. app/design/frontend/ma2/ante/template/page/switch/flags.phtml +37 -0
  128. app/design/frontend/ma2/ante/template/page/switch/languages.phtml +44 -0
  129. app/design/frontend/ma2/ante/template/page/switch/stores.phtml +47 -0
  130. app/design/frontend/ma2/ante/template/page/template/container.phtml +35 -0
  131. app/design/frontend/ma2/ante/template/page/template/links.phtml +88 -0
  132. app/design/frontend/ma2/ante/template/page/template/linksblock.phtml +32 -0
  133. app/design/frontend/ma2/ante/template/review/helper/summary_nolinks.phtml +50 -0
  134. app/design/frontend/ma2/ante/template/review/helper/summary_short.phtml +57 -0
  135. app/design/frontend/ma2/ante/template/review/product/view/list.phtml +69 -0
  136. app/design/frontend/ma2/ante/template/sales/order/info.phtml +113 -0
  137. app/design/frontend/ma2/ante/template/tag/cloud.phtml +38 -0
  138. app/design/frontend/ma2/ante/template/tag/customer/recent.phtml +53 -0
  139. app/design/frontend/ma2/ante/template/tag/customer/tags.phtml +43 -0
  140. app/design/frontend/ma2/ante/template/tag/customer/view.phtml +82 -0
  141. app/design/frontend/ma2/ante/template/tag/list.phtml +63 -0
  142. app/design/frontend/ma2/ante/template/tag/popular.phtml +41 -0
  143. app/etc/modules/Ma2_FeaturedProducts.xml +9 -0
  144. app/etc/modules/Ma2_ThemeOptions.xml +9 -0
  145. app/etc/modules/Wru_HomeTop.xml +9 -0
  146. js/ma2_all/coin-slider.min.js +51 -0
  147. js/ma2_all/jquery-1.4.2.js +154 -0
  148. js/ma2_all/jquery.min.js +152 -0
  149. js/ma2_all/readmore.js +68 -0
  150. js/ma2_all/widgettabs.js +41 -0
  151. package.xml +18 -0
  152. skin/adminhtml/default/default/ma2/js/colorchooser/arrow.gif +0 -0
  153. skin/adminhtml/default/default/ma2/js/colorchooser/cross.gif +0 -0
  154. skin/adminhtml/default/default/ma2/js/colorchooser/hs.png +0 -0
  155. skin/adminhtml/default/default/ma2/js/colorchooser/hv.png +0 -0
  156. skin/adminhtml/default/default/ma2/js/colorchooser/index.html +1 -0
  157. skin/adminhtml/default/default/ma2/js/colorchooser/jscolor.js +894 -0
  158. skin/adminhtml/default/default/ma2/js/webfonts/gwebfonts.json +7258 -0
  159. skin/adminhtml/default/default/ma2/js/webfonts/gwebfonts.seri +1 -0
  160. skin/adminhtml/default/default/ma2/js/webfonts/index.html +1 -0
  161. skin/adminhtml/default/default/ma2/js/webfonts/webfont.js +48 -0
  162. skin/frontend/ma2/ante/css/coin-slider-styles.css +23 -0
  163. skin/frontend/ma2/ante/css/custom.css +266 -0
  164. skin/frontend/ma2/ante/css/images/btn_bg.gif +0 -0
  165. skin/frontend/ma2/ante/css/images/content_bg.gif +0 -0
  166. skin/frontend/ma2/ante/css/images/top_bg.gif +0 -0
  167. skin/frontend/ma2/ante/css/images/window_close.png +0 -0
  168. skin/frontend/ma2/ante/css/lib/prototype/windows/themes/magento.css +64 -0
  169. skin/frontend/ma2/ante/css/lib/prototype/windows/themes/magento/btn_bg.gif +0 -0
  170. skin/frontend/ma2/ante/css/lib/prototype/windows/themes/magento/content_bg.gif +0 -0
  171. skin/frontend/ma2/ante/css/lib/prototype/windows/themes/magento/top_bg.gif +0 -0
  172. skin/frontend/ma2/ante/css/lib/prototype/windows/themes/magento/window_close.png +0 -0
  173. skin/frontend/ma2/ante/css/ma2_widgetproductlists/images/bg-btn-details.gif +0 -0
  174. skin/frontend/ma2/ante/css/ma2_widgetproductlists/images/blank.gif +0 -0
  175. skin/frontend/ma2/ante/css/ma2_widgetproductlists/images/closelabel.gif +0 -0
  176. skin/frontend/ma2/ante/css/ma2_widgetproductlists/images/loading.gif +0 -0
  177. skin/frontend/ma2/ante/css/ma2_widgetproductlists/images/nextlabel.gif +0 -0
  178. skin/frontend/ma2/ante/css/ma2_widgetproductlists/images/prevlabel.gif +0 -0
  179. skin/frontend/ma2/ante/css/ma2_widgetproductlists/images/sale.png +0 -0
  180. skin/frontend/ma2/ante/css/ma2_widgetproductlists/lightbox.css +28 -0
  181. skin/frontend/ma2/ante/css/ma2_widgetproductlists/ma2_widgetproductlists.css +20 -0
  182. skin/frontend/ma2/ante/css/ma2selectscreen/images/blue.gif +0 -0
  183. skin/frontend/ma2/ante/css/ma2selectscreen/images/desktop.gif +0 -0
  184. skin/frontend/ma2/ante/css/ma2selectscreen/images/green.gif +0 -0
  185. skin/frontend/ma2/ante/css/ma2selectscreen/images/nav-item-blue.gif +0 -0
  186. skin/frontend/ma2/ante/css/ma2selectscreen/images/nav-item-none.gif +0 -0
  187. skin/frontend/ma2/ante/css/ma2selectscreen/images/nav-item.gif +0 -0
  188. skin/frontend/ma2/ante/css/ma2selectscreen/images/screens.png +0 -0
  189. skin/frontend/ma2/ante/css/ma2selectscreen/images/smartphone-landspace.gif +0 -0
  190. skin/frontend/ma2/ante/css/ma2selectscreen/images/smartphone-portraint.gif +0 -0
  191. skin/frontend/ma2/ante/css/ma2selectscreen/images/tablet-landscape.jpg +0 -0
  192. skin/frontend/ma2/ante/css/ma2selectscreen/images/tablet-landspace.gif +0 -0
  193. skin/frontend/ma2/ante/css/ma2selectscreen/images/tablet-portraint.gif +0 -0
  194. skin/frontend/ma2/ante/css/ma2selectscreen/images/tablet-portrait.jpg +0 -0
  195. skin/frontend/ma2/ante/css/ma2selectscreen/images/yellow.gif +0 -0
  196. skin/frontend/ma2/ante/css/ma2selectscreen/screen.css +23 -0
  197. skin/frontend/ma2/ante/css/menu_standard.css +20 -0
  198. skin/frontend/ma2/ante/css/navmain.css +198 -0
  199. skin/frontend/ma2/ante/css/oauth-simple.css +122 -0
  200. skin/frontend/ma2/ante/css/print.css +40 -0
  201. skin/frontend/ma2/ante/css/styles-blue.css +191 -0
  202. skin/frontend/ma2/ante/css/styles-green.css +164 -0
  203. skin/frontend/ma2/ante/css/styles-ie-7-blue.css +231 -0
  204. skin/frontend/ma2/ante/css/styles-ie-7-green.css +222 -0
  205. skin/frontend/ma2/ante/css/styles-ie-7-yellow.css +225 -0
  206. skin/frontend/ma2/ante/css/styles-ie-7.css +218 -0
  207. skin/frontend/ma2/ante/css/styles-ie-8-blue.css +205 -0
  208. skin/frontend/ma2/ante/css/styles-ie-8-green.css +203 -0
  209. skin/frontend/ma2/ante/css/styles-ie-8-yellow.css +203 -0
  210. skin/frontend/ma2/ante/css/styles-ie-8.css +199 -0
  211. skin/frontend/ma2/ante/css/styles-ie.css +103 -0
app/code/local/Ma2/FeaturedProducts/Block/Adminhtml/Edit.php ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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/Grid.php ADDED
@@ -0,0 +1,344 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ }
app/code/local/Ma2/FeaturedProducts/Block/Adminhtml/Edit/Renderer/Name.php ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
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 ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
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 ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
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/Adminhtml/FeaturedController.php ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ }
app/code/local/Ma2/FeaturedProducts/controllers/IndexController.php ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 ADDED
@@ -0,0 +1,115 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
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 ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
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 ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ }
app/code/local/Ma2/ThemeOptions/Block/Adminhtml/System/Config/Form/Field/Fontpreview.php ADDED
@@ -0,0 +1,127 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ }
app/code/local/Ma2/ThemeOptions/Block/Adminhtml/System/Config/Form/Field/Fonts_unused.php ADDED
@@ -0,0 +1,176 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ }
app/code/local/Ma2/ThemeOptions/Block/Adminhtml/System/Config/Form/Field/Fontscript_unused.php ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ }
app/code/local/Ma2/ThemeOptions/Block/Adminhtml/System/Config/Form/Field/Heading.php ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ }
app/code/local/Ma2/ThemeOptions/Block/Adminhtml/System/Config/Form/Field/Images.php ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ }
app/code/local/Ma2/ThemeOptions/Block/Adminhtml/System/Config/Form/Field/Imagessmall.php ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ }
app/code/local/Ma2/ThemeOptions/Block/Adminhtml/System/Config/Form/Field/OColor.php ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ }
app/code/local/Ma2/ThemeOptions/Block/Adminhtml/System/Config/Form/Field/Patern.php ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ }
app/code/local/Ma2/ThemeOptions/Block/ThemeOptions.php ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
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
+ ?>
app/code/local/Ma2/ThemeOptions/Controller/Observer.php ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
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
+ }
app/code/local/Ma2/ThemeOptions/Exception.php ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_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
+ }
app/code/local/Ma2/ThemeOptions/Helper/Data.php ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ }
app/code/local/Ma2/ThemeOptions/Model/Backgroundposition.php ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ }
app/code/local/Ma2/ThemeOptions/Model/Backgroundrepeat.php ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ }
app/code/local/Ma2/ThemeOptions/Model/Fontreplacement.php ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
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
+ }
app/code/local/Ma2/ThemeOptions/Model/Fonts.php ADDED
@@ -0,0 +1,129 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ }
app/code/local/Ma2/ThemeOptions/Model/Gfont_unused.php ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ }
app/code/local/Ma2/ThemeOptions/Model/Presetstyles.php ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+
app/code/local/Ma2/ThemeOptions/Model/Productpagelayout.php ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ }
app/code/local/Ma2/ThemeOptions/etc/adminhtml.xml ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" ?>
2
+ <config>
3
+ <menu>
4
+ <ma2 translate="title" module="ThemeOptions">
5
+ <title>MA2</title>
6
+ <sort_order>9999</sort_order>
7
+ <children>
8
+ <theme_options translate="title" module="ThemeOptions">
9
+ <title>Theme Options</title>
10
+ <sort_order>1</sort_order>
11
+ <action>adminhtml/system_config/edit/section/theme_options</action>
12
+ </theme_options>
13
+ </children>
14
+ </ma2>
15
+ </menu>
16
+ <acl>
17
+ <resources>
18
+ <admin>
19
+ <children>
20
+ <system>
21
+ <children>
22
+ <config>
23
+ <children>
24
+ <theme_options module="ThemeOptions">
25
+ <title>Theme Options</title>
26
+ <sort_order>1</sort_order>
27
+ </theme_options>
28
+ </children>
29
+ </config>
30
+ </children>
31
+ </system>
32
+ </children>
33
+ </admin>
34
+ </resources>
35
+ </acl>
36
+ </config>
app/code/local/Ma2/ThemeOptions/etc/config.xml ADDED
@@ -0,0 +1,127 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <modules>
4
+ <Ma2_ThemeOptions>
5
+ <version>1.0.0</version>
6
+ </Ma2_ThemeOptions>
7
+ </modules>
8
+ <frontend>
9
+ <routers>
10
+ <ThemeOptions>
11
+ <use>standard</use>
12
+ <args>
13
+ <module>Ma2_ThemeOptions</module>
14
+ <frontName>ThemeOptions</frontName>
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>
42
+ <Ma2_ThemeOptions_observer>
43
+ <type>singleton</type>
44
+ <class>Ma2_ThemeOptions_Controller_Observer</class>
45
+ <method>overrideTheme</method>
46
+ </Ma2_ThemeOptions_observer>
47
+ </observers>
48
+ </adminhtml_controller_action_predispatch_start>
49
+ </events>
50
+ <extraconfig />
51
+ <page>
52
+ <layouts>
53
+ <two_columns module="page" translate="label">
54
+ <label>2 columns</label>
55
+ <template>page/2columns.phtml</template>
56
+ <layout_handle>page_two_columns</layout_handle>
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>
74
+ <logo_height></logo_height>
75
+ <slogan></slogan>
76
+ <favicon></favicon>
77
+ </general>
78
+ <typography>
79
+ <body_font_family_change>0</body_font_family_change>
80
+ <body_font_family></body_font_family>
81
+ <body_font_size></body_font_size>
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>
94
+ <background>
95
+ <body_background_change>0</body_background_change>
96
+ <body_background_color_change>0</body_background_color_change>
97
+ <body_background_color></body_background_color>
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>
116
+ <footer_background_image></footer_background_image>
117
+ <footer_background_image_repeat></footer_background_image_repeat>
118
+ <footer_background_image_position></footer_background_image_position>
119
+ </background>
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>
app/code/local/Ma2/ThemeOptions/etc/system.xml ADDED
@@ -0,0 +1,705 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <config>
2
+ <tabs>
3
+ <ma2 translate="label" module="ThemeOptions">
4
+ <label>MagenMarket Extension</label>
5
+ <sort_order>168</sort_order>
6
+ </ma2>
7
+ </tabs>
8
+ <sections>
9
+ <theme_options translate="label" module="ThemeOptions">
10
+ <label>Theme Options</label>
11
+ <tab>ma2</tab>
12
+ <frontend_type>text</frontend_type>
13
+ <sort_order>1</sort_order>
14
+ <show_in_default>1</show_in_default>
15
+ <show_in_website>1</show_in_website>
16
+ <show_in_store>1</show_in_store>
17
+ <groups>
18
+ <general translate="label">
19
+ <label>General</label>
20
+ <frontend_type>text</frontend_type>
21
+ <sort_order>1</sort_order>
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>
29
+ <source_model>ThemeOptions/presetstyles</source_model>
30
+ <sort_order>1</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
+ </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>
42
+ </label1>
43
+ <is_custom_logo translate="label">
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>
72
+ <![CDATA[
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 -->
80
+ <base_url type="media" scope_info="1">ma2/images</base_url>
81
+ <!-- same as previous line -->
82
+ <sort_order>5</sort_order>
83
+ <show_in_default>1</show_in_default>
84
+ <show_in_website>1</show_in_website>
85
+ <show_in_store>1</show_in_store>
86
+ <depends>
87
+ <is_custom_logo>1</is_custom_logo>
88
+ </depends>
89
+ </logo_image>
90
+ <logo_width translate="label">
91
+ <label>Logo width</label>
92
+ <frontend_type>text</frontend_type>
93
+ <sort_order>6</sort_order>
94
+ <show_in_default>1</show_in_default>
95
+ <show_in_website>1</show_in_website>
96
+ <show_in_store>1</show_in_store>
97
+ <depends>
98
+ <is_custom_logo>1</is_custom_logo>
99
+ </depends>
100
+ <comment>Example: 250px. If leave empty it will be automatically resized.</comment>
101
+ </logo_width>
102
+ <logo_height translate="label">
103
+ <label>Logo height</label>
104
+ <frontend_type>text</frontend_type>
105
+ <sort_order>7</sort_order>
106
+ <show_in_default>1</show_in_default>
107
+ <show_in_website>1</show_in_website>
108
+ <show_in_store>1</show_in_store>
109
+ <depends>
110
+ <is_custom_logo>1</is_custom_logo>
111
+ </depends>
112
+ <comment>Example: 100px. If leave empty it will be automatically resized.</comment>
113
+ </logo_height>
114
+ <label2>
115
+ <label></label>
116
+ <frontend_type>label</frontend_type>
117
+ <sort_order>8</sort_order>
118
+ <show_in_default>1</show_in_default>
119
+ <show_in_website>1</show_in_website>
120
+ <show_in_store>1</show_in_store>
121
+ </label2>
122
+ <slogan translate="label">
123
+ <label>Slogan</label>
124
+ <frontend_type>text</frontend_type>
125
+ <sort_order>9</sort_order>
126
+ <show_in_default>1</show_in_default>
127
+ <show_in_website>1</show_in_website>
128
+ <show_in_store>1</show_in_store>
129
+ <comment></comment>
130
+ </slogan>
131
+ <label3>
132
+ <label></label>
133
+ <frontend_type>label</frontend_type>
134
+ <sort_order>10</sort_order>
135
+ <show_in_default>1</show_in_default>
136
+ <show_in_website>1</show_in_website>
137
+ <show_in_store>1</show_in_store>
138
+ </label3>
139
+ <favicon translate="label">
140
+ <label>Favicon</label>
141
+ <comment>
142
+ <![CDATA[
143
+ Allowed file types: ico, png, gif <br /> Not all browsers support all these formats! <br />Leave empty it will show the default.
144
+ ]]>
145
+ </comment>
146
+ <frontend_type>image</frontend_type>
147
+ <backend_model>adminhtml/system_config_backend_image</backend_model>
148
+ <upload_dir config="system/filesystem/media" scope_info="1">ma2/images</upload_dir>
149
+ <!-- would upload into media/uploaddir -->
150
+ <base_url type="media" scope_info="1">ma2/images</base_url>
151
+ <!-- same as previous line -->
152
+ <sort_order>11</sort_order>
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
+ </favicon>
157
+ </fields>
158
+ </general>
159
+ <typography translate="label">
160
+ <label>Typography</label>
161
+ <sort_order>2</sort_order>
162
+ <show_in_default>1</show_in_default>
163
+ <show_in_website>1</show_in_website>
164
+ <show_in_store>1</show_in_store>
165
+ <fields>
166
+ <body_font_family_change translate="label">
167
+ <label>Body font-family change?</label>
168
+ <frontend_type>select</frontend_type>
169
+ <source_model>adminhtml/system_config_source_yesno</source_model>
170
+ <sort_order>1</sort_order>
171
+ <show_in_default>1</show_in_default>
172
+ <show_in_website>1</show_in_website>
173
+ <show_in_store>1</show_in_store>
174
+ </body_font_family_change>
175
+ <body_font_family translate="label">
176
+ <label>Body font-family</label>
177
+ <frontend_type>Select</frontend_type>
178
+ <source_model>ThemeOptions/fonts</source_model>
179
+ <frontend_model>ThemeOptions/adminhtml_system_config_form_field_fontpreview</frontend_model>
180
+ <sort_order>2</sort_order>
181
+ <show_in_default>1</show_in_default>
182
+ <show_in_website>1</show_in_website>
183
+ <show_in_store>1</show_in_store>
184
+ <depends>
185
+ <body_font_family_change>1</body_font_family_change>
186
+ </depends>
187
+ </body_font_family>
188
+ <body_font_size translate="label">
189
+ <label>Body font-size</label>
190
+ <frontend_type>text</frontend_type>
191
+ <comment>Example: 12px or 1.1em or 75%. Leave empty it will be applied by default CSS file.</comment>
192
+ <sort_order>3</sort_order>
193
+ <show_in_default>1</show_in_default>
194
+ <show_in_website>1</show_in_website>
195
+ <show_in_store>1</show_in_store>
196
+ </body_font_size>
197
+ <body_text_color_change translate="label">
198
+ <label>Body text color change?</label>
199
+ <frontend_type>select</frontend_type>
200
+ <source_model>adminhtml/system_config_source_yesno</source_model>
201
+ <sort_order>4</sort_order>
202
+ <show_in_default>1</show_in_default>
203
+ <show_in_website>1</show_in_website>
204
+ <show_in_store>1</show_in_store>
205
+ </body_text_color_change>
206
+ <body_text_color translate="label">
207
+ <label>Body text color</label>
208
+ <frontend_type>text</frontend_type>
209
+ <frontend_class>color {hash:true,adjust:true}</frontend_class>
210
+ <sort_order>5</sort_order>
211
+ <show_in_default>1</show_in_default>
212
+ <show_in_website>1</show_in_website>
213
+ <show_in_store>1</show_in_store>
214
+ <depends>
215
+ <body_text_color_change>1</body_text_color_change>
216
+ </depends>
217
+ </body_text_color>
218
+ <body_line_height translate="label">
219
+ <label>Body line height</label>
220
+ <frontend_type>text</frontend_type>
221
+ <comment>Example: 12px or 1.2em or 75%. Leave empty it will be applied by default CSS file.</comment>
222
+ <sort_order>6</sort_order>
223
+ <show_in_default>1</show_in_default>
224
+ <show_in_website>1</show_in_website>
225
+ <show_in_store>1</show_in_store>
226
+ </body_line_height>
227
+ <!--Body end-->
228
+ <label4>
229
+ <label></label>
230
+ <frontend_type>label</frontend_type>
231
+ <sort_order>7</sort_order>
232
+ <show_in_default>1</show_in_default>
233
+ <show_in_website>1</show_in_website>
234
+ <show_in_store>1</show_in_store>
235
+ </label4>
236
+ <!--Custom css-->
237
+ <is_custom_font_1 translate="label">
238
+ <label>Choose a custom font-family for bellow selectors?</label>
239
+ <frontend_type>select</frontend_type>
240
+ <source_model>adminhtml/system_config_source_yesno</source_model>
241
+ <sort_order>11</sort_order>
242
+ <show_in_default>1</show_in_default>
243
+ <show_in_website>1</show_in_website>
244
+ <show_in_store>1</show_in_store>
245
+ </is_custom_font_1>
246
+ <custom_font_family_1 translate="label">
247
+ <label></label>
248
+ <frontend_type>Select</frontend_type>
249
+ <source_model>ThemeOptions/fonts</source_model>
250
+ <frontend_model>ThemeOptions/adminhtml_system_config_form_field_fontpreview</frontend_model>
251
+ <sort_order>12</sort_order>
252
+ <show_in_default>1</show_in_default>
253
+ <show_in_website>1</show_in_website>
254
+ <show_in_store>1</show_in_store>
255
+ <depends>
256
+ <is_custom_font_1>1</is_custom_font_1>
257
+ </depends>
258
+ </custom_font_family_1>
259
+ <custom_list_1 translate="label">
260
+ <label></label>
261
+ <frontend_type>textarea</frontend_type>
262
+ <sort_order>13</sort_order>
263
+ <show_in_default>1</show_in_default>
264
+ <show_in_website>1</show_in_website>
265
+ <show_in_store>1</show_in_store>
266
+ <comment>Type the selector list, comma separator. Example: h1, h2, div.your_class</comment>
267
+ </custom_list_1>
268
+
269
+ <is_custom_font_2 translate="label">
270
+ <label>Choose a custom font-family for bellow selectors?</label>
271
+ <frontend_type>select</frontend_type>
272
+ <source_model>adminhtml/system_config_source_yesno</source_model>
273
+ <sort_order>14</sort_order>
274
+ <show_in_default>1</show_in_default>
275
+ <show_in_website>1</show_in_website>
276
+ <show_in_store>1</show_in_store>
277
+ </is_custom_font_2>
278
+ <custom_font_family_2 translate="label">
279
+ <label></label>
280
+ <frontend_type>Select</frontend_type>
281
+ <source_model>ThemeOptions/fonts</source_model>
282
+ <frontend_model>ThemeOptions/adminhtml_system_config_form_field_fontpreview</frontend_model>
283
+ <sort_order>15</sort_order>
284
+ <show_in_default>1</show_in_default>
285
+ <show_in_website>1</show_in_website>
286
+ <show_in_store>1</show_in_store>
287
+ <depends>
288
+ <is_custom_font_2>1</is_custom_font_2>
289
+ </depends>
290
+ </custom_font_family_2>
291
+ <custom_list_2 translate="label">
292
+ <label></label>
293
+ <frontend_type>textarea</frontend_type>
294
+ <sort_order>16</sort_order>
295
+ <show_in_default>1</show_in_default>
296
+ <show_in_website>1</show_in_website>
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
+
329
+ <background translate="label">
330
+ <label>Background</label>
331
+ <sort_order>3</sort_order>
332
+ <show_in_default>1</show_in_default>
333
+ <show_in_website>1</show_in_website>
334
+ <show_in_store>1</show_in_store>
335
+ <fields>
336
+ <body_background_change translate="label">
337
+ <label>Body background change?</label>
338
+ <frontend_type>select</frontend_type>
339
+ <source_model>adminhtml/system_config_source_yesno</source_model>
340
+ <sort_order>1</sort_order>
341
+ <show_in_default>1</show_in_default>
342
+ <show_in_website>1</show_in_website>
343
+ <show_in_store>1</show_in_store>
344
+ </body_background_change>
345
+ <body_background_color_change translate="label">
346
+ <label>Body background color change?</label>
347
+ <frontend_type>select</frontend_type>
348
+ <source_model>adminhtml/system_config_source_yesno</source_model>
349
+ <sort_order>2</sort_order>
350
+ <show_in_default>1</show_in_default>
351
+ <show_in_website>1</show_in_website>
352
+ <show_in_store>1</show_in_store>
353
+ <depends>
354
+ <body_background_change>1</body_background_change>
355
+ </depends>
356
+ </body_background_color_change>
357
+ <body_background_color translate="label">
358
+ <label>Body background color</label>
359
+ <frontend_type>text</frontend_type>
360
+ <frontend_class>color {hash:true,adjust:true}</frontend_class>
361
+ <sort_order>3</sort_order>
362
+ <show_in_default>1</show_in_default>
363
+ <show_in_website>1</show_in_website>
364
+ <show_in_store>1</show_in_store>
365
+ <depends>
366
+ <body_background_color_change>1</body_background_color_change>
367
+ <body_background_change>1</body_background_change>
368
+ </depends>
369
+ </body_background_color>
370
+ <body_background_image translate="label">
371
+ <label>Body background image</label>
372
+ <frontend_type>image</frontend_type>
373
+ <backend_model>adminhtml/system_config_backend_image</backend_model>
374
+ <upload_dir config="system/filesystem/media" scope_info="1">ma2/images</upload_dir>
375
+ <!-- would upload into media/uploaddir -->
376
+ <base_url type="media" scope_info="1">ma2/images</base_url>
377
+ <!-- same as previous line -->
378
+ <comment>Allowed file types: png, gif, jpg, jpeg. Not all browsers support all these formats!</comment>
379
+ <sort_order>4</sort_order>
380
+ <show_in_default>1</show_in_default>
381
+ <show_in_website>1</show_in_website>
382
+ <show_in_store>1</show_in_store>
383
+ <depends>
384
+ <body_background_change>1</body_background_change>
385
+ </depends>
386
+ </body_background_image>
387
+ <body_background_image_repeat translate="label">
388
+ <label>Body background repeat</label>
389
+ <frontend_type>select</frontend_type>
390
+ <source_model>ThemeOptions/backgroundrepeat</source_model>
391
+ <sort_order>5</sort_order>
392
+ <show_in_default>1</show_in_default>
393
+ <show_in_website>1</show_in_website>
394
+ <show_in_store>1</show_in_store>
395
+ <depends>
396
+ <body_background_change>1</body_background_change>
397
+ </depends>
398
+ </body_background_image_repeat>
399
+ <body_background_image_position translate="label">
400
+ <label>Body background position</label>
401
+ <frontend_type>select</frontend_type>
402
+ <source_model>ThemeOptions/backgroundposition</source_model>
403
+ <sort_order>6</sort_order>
404
+ <show_in_default>1</show_in_default>
405
+ <show_in_website>1</show_in_website>
406
+ <show_in_store>1</show_in_store>
407
+ <depends>
408
+ <body_background_change>1</body_background_change>
409
+ </depends>
410
+ </body_background_image_position>
411
+ <!-- Body end -->
412
+ <label5>
413
+ <label></label>
414
+ <frontend_type>label</frontend_type>
415
+ <sort_order>7</sort_order>
416
+ <show_in_default>1</show_in_default>
417
+ <show_in_website>1</show_in_website>
418
+ <show_in_store>1</show_in_store>
419
+ </label5>
420
+ <header_background_change translate="label">
421
+ <label>Header background change?</label>
422
+ <frontend_type>select</frontend_type>
423
+ <source_model>adminhtml/system_config_source_yesno</source_model>
424
+ <sort_order>8</sort_order>
425
+ <show_in_default>1</show_in_default>
426
+ <show_in_website>1</show_in_website>
427
+ <show_in_store>1</show_in_store>
428
+ </header_background_change>
429
+ <header_background_color_change translate="label">
430
+ <label>Header background color change?</label>
431
+ <frontend_type>select</frontend_type>
432
+ <source_model>adminhtml/system_config_source_yesno</source_model>
433
+ <sort_order>9</sort_order>
434
+ <show_in_default>1</show_in_default>
435
+ <show_in_website>1</show_in_website>
436
+ <show_in_store>1</show_in_store>
437
+ <depends>
438
+ <header_background_change>1</header_background_change>
439
+ </depends>
440
+ </header_background_color_change>
441
+ <header_background_color translate="label">
442
+ <label>Header background color</label>
443
+ <frontend_type>text</frontend_type>
444
+ <frontend_class>color {hash:true,adjust:true}</frontend_class>
445
+ <sort_order>10</sort_order>
446
+ <show_in_default>1</show_in_default>
447
+ <show_in_website>1</show_in_website>
448
+ <show_in_store>1</show_in_store>
449
+ <depends>
450
+ <header_background_color_change>1</header_background_color_change>
451
+ <header_background_change>1</header_background_change>
452
+ </depends>
453
+ </header_background_color>
454
+ <header_background_image translate="label">
455
+ <label>Header background image</label>
456
+ <frontend_type>image</frontend_type>
457
+ <backend_model>adminhtml/system_config_backend_image</backend_model>
458
+ <upload_dir config="system/filesystem/media" scope_info="1">ma2/images</upload_dir>
459
+ <!-- would upload into media/uploaddir -->
460
+ <base_url type="media" scope_info="1">ma2/images</base_url>
461
+ <!-- same as previous line -->
462
+ <comment>Allowed file types: png, gif, jpg, jpeg. Not all browsers support all these formats!</comment>
463
+ <sort_order>11</sort_order>
464
+ <show_in_default>1</show_in_default>
465
+ <show_in_website>1</show_in_website>
466
+ <show_in_store>1</show_in_store>
467
+ <depends>
468
+ <header_background_change>1</header_background_change>
469
+ </depends>
470
+ </header_background_image>
471
+ <header_background_image_repeat translate="label">
472
+ <label>Header background repeat</label>
473
+ <frontend_type>select</frontend_type>
474
+ <source_model>ThemeOptions/backgroundrepeat</source_model>
475
+ <sort_order>12</sort_order>
476
+ <show_in_default>1</show_in_default>
477
+ <show_in_website>1</show_in_website>
478
+ <show_in_store>1</show_in_store>
479
+ <depends>
480
+ <header_background_change>1</header_background_change>
481
+ </depends>
482
+ </header_background_image_repeat>
483
+ <header_background_image_position translate="label">
484
+ <label>Header background position</label>
485
+ <frontend_type>select</frontend_type>
486
+ <source_model>ThemeOptions/backgroundposition</source_model>
487
+ <sort_order>13</sort_order>
488
+ <show_in_default>1</show_in_default>
489
+ <show_in_website>1</show_in_website>
490
+ <show_in_store>1</show_in_store>
491
+ <depends>
492
+ <header_background_change>1</header_background_change>
493
+ </depends>
494
+ </header_background_image_position>
495
+ <!-- Header end -->
496
+ <label6>
497
+ <label></label>
498
+ <frontend_type>label</frontend_type>
499
+ <sort_order>14</sort_order>
500
+ <show_in_default>1</show_in_default>
501
+ <show_in_website>1</show_in_website>
502
+ <show_in_store>1</show_in_store>
503
+ </label6>
504
+ <main_background_change translate="label">
505
+ <label>Main background change?</label>
506
+ <frontend_type>select</frontend_type>
507
+ <source_model>adminhtml/system_config_source_yesno</source_model>
508
+ <sort_order>15</sort_order>
509
+ <show_in_default>1</show_in_default>
510
+ <show_in_website>1</show_in_website>
511
+ <show_in_store>1</show_in_store>
512
+ </main_background_change>
513
+ <main_background_color_change translate="label">
514
+ <label>Main background color change?</label>
515
+ <frontend_type>select</frontend_type>
516
+ <source_model>adminhtml/system_config_source_yesno</source_model>
517
+ <sort_order>16</sort_order>
518
+ <show_in_default>1</show_in_default>
519
+ <show_in_website>1</show_in_website>
520
+ <show_in_store>1</show_in_store>
521
+ <depends>
522
+ <main_background_change>1</main_background_change>
523
+ </depends>
524
+ </main_background_color_change>
525
+ <main_background_color translate="label">
526
+ <label>Main background color</label>
527
+ <frontend_type>text</frontend_type>
528
+ <frontend_class>color {hash:true,adjust:true}</frontend_class>
529
+ <sort_order>17</sort_order>
530
+ <show_in_default>1</show_in_default>
531
+ <show_in_website>1</show_in_website>
532
+ <show_in_store>1</show_in_store>
533
+ <depends>
534
+ <main_background_color_change>1</main_background_color_change>
535
+ <main_background_change>1</main_background_change>
536
+ </depends>
537
+ </main_background_color>
538
+ <main_background_image translate="label">
539
+ <label>Main background image</label>
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>
549
+ <show_in_website>1</show_in_website>
550
+ <show_in_store>1</show_in_store>
551
+ <depends>
552
+ <main_background_change>1</main_background_change>
553
+ </depends>
554
+ </main_background_image>
555
+ <main_background_image_repeat translate="label">
556
+ <label>Main background repeat</label>
557
+ <frontend_type>select</frontend_type>
558
+ <source_model>ThemeOptions/backgroundrepeat</source_model>
559
+ <sort_order>19</sort_order>
560
+ <show_in_default>1</show_in_default>
561
+ <show_in_website>1</show_in_website>
562
+ <show_in_store>1</show_in_store>
563
+ <depends>
564
+ <main_background_change>1</main_background_change>
565
+ </depends>
566
+ </main_background_image_repeat>
567
+ <main_background_image_position translate="label">
568
+ <label>Main background position</label>
569
+ <frontend_type>select</frontend_type>
570
+ <source_model>ThemeOptions/backgroundposition</source_model>
571
+ <sort_order>20</sort_order>
572
+ <show_in_default>1</show_in_default>
573
+ <show_in_website>1</show_in_website>
574
+ <show_in_store>1</show_in_store>
575
+ <depends>
576
+ <main_background_change>1</main_background_change>
577
+ </depends>
578
+ </main_background_image_position>
579
+ <!-- Main end -->
580
+ <label7>
581
+ <label></label>
582
+ <frontend_type>label</frontend_type>
583
+ <sort_order>21</sort_order>
584
+ <show_in_default>1</show_in_default>
585
+ <show_in_website>1</show_in_website>
586
+ <show_in_store>1</show_in_store>
587
+ </label7>
588
+ <footer_background_change translate="label">
589
+ <label>Footer background change?</label>
590
+ <frontend_type>select</frontend_type>
591
+ <source_model>adminhtml/system_config_source_yesno</source_model>
592
+ <sort_order>22</sort_order>
593
+ <show_in_default>1</show_in_default>
594
+ <show_in_website>1</show_in_website>
595
+ <show_in_store>1</show_in_store>
596
+ </footer_background_change>
597
+ <footer_background_color_change translate="label">
598
+ <label>Footer background color change?</label>
599
+ <frontend_type>select</frontend_type>
600
+ <source_model>adminhtml/system_config_source_yesno</source_model>
601
+ <sort_order>23</sort_order>
602
+ <show_in_default>1</show_in_default>
603
+ <show_in_website>1</show_in_website>
604
+ <show_in_store>1</show_in_store>
605
+ <depends>
606
+ <footer_background_change>1</footer_background_change>
607
+ </depends>
608
+ </footer_background_color_change>
609
+ <footer_background_color translate="label">
610
+ <label>Footer background color</label>
611
+ <frontend_type>text</frontend_type>
612
+ <frontend_class>color {hash:true,adjust:true}</frontend_class>
613
+ <sort_order>24</sort_order>
614
+ <show_in_default>1</show_in_default>
615
+ <show_in_website>1</show_in_website>
616
+ <show_in_store>1</show_in_store>
617
+ <depends>
618
+ <footer_background_color_change>1</footer_background_color_change>
619
+ <footer_background_change>1</footer_background_change>
620
+ </depends>
621
+ </footer_background_color>
622
+ <footer_background_image translate="label">
623
+ <label>Footer background image</label>
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>
633
+ <show_in_website>1</show_in_website>
634
+ <show_in_store>1</show_in_store>
635
+ <depends>
636
+ <footer_background_change>1</footer_background_change>
637
+ </depends>
638
+ </footer_background_image>
639
+ <footer_background_image_repeat translate="label">
640
+ <label>Footer background repeat</label>
641
+ <frontend_type>select</frontend_type>
642
+ <source_model>ThemeOptions/backgroundrepeat</source_model>
643
+ <sort_order>26</sort_order>
644
+ <show_in_default>1</show_in_default>
645
+ <show_in_website>1</show_in_website>
646
+ <show_in_store>1</show_in_store>
647
+ <depends>
648
+ <footer_background_change>1</footer_background_change>
649
+ </depends>
650
+ </footer_background_image_repeat>
651
+ <footer_background_image_position translate="label">
652
+ <label>Footer background position</label>
653
+ <frontend_type>select</frontend_type>
654
+ <source_model>ThemeOptions/backgroundposition</source_model>
655
+ <sort_order>27</sort_order>
656
+ <show_in_default>1</show_in_default>
657
+ <show_in_website>1</show_in_website>
658
+ <show_in_store>1</show_in_store>
659
+ <depends>
660
+ <footer_background_change>1</footer_background_change>
661
+ </depends>
662
+ </footer_background_image_position>
663
+ <!-- Footer end -->
664
+ </fields>
665
+ </background>
666
+
667
+ <layouts translate="label">
668
+ <label>Layouts</label>
669
+ <sort_order>4</sort_order>
670
+ <show_in_default>1</show_in_default>
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>
688
+ <show_in_website>1</show_in_website>
689
+ <show_in_store>1</show_in_store>
690
+ </left_width>
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>
705
+ </config>
app/code/local/Ma2/WidgetProductList/Block/Adminhtml/Catalog/Product/Widget/Chooser.php ADDED
@@ -0,0 +1,389 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_WidgetProductList
18
+ * @copyright Copyright (c) 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: Chooser.php 2 2013-10-07 08:18:48Z linhnt $ */
22
+
23
+ class Ma2_WidgetProductList_Block_Adminhtml_Catalog_Product_Widget_Chooser
24
+ extends Mage_Adminhtml_Block_Catalog_Product_Widget_Chooser
25
+ {
26
+ protected $_selectedProducts = array();
27
+
28
+ /**
29
+ * Block construction, prepare grid params
30
+ *
31
+ * @param array $arguments Object data
32
+ */
33
+ public function __construct($arguments = array()) {
34
+ parent::__construct($arguments);
35
+ $this->setUseMassaction(true);
36
+ }
37
+
38
+ protected function _prepareLayout() {
39
+ $this->setChild('choose_button', $this->getLayout()->createBlock('adminhtml/widget_button')
40
+ ->setData(array(
41
+ 'label' => Mage::helper('adminhtml')->__('Choose selected'),
42
+ 'onclick' => $this->getJsObjectName() . '.doChoose()'
43
+ ))
44
+ );
45
+ return parent::_prepareLayout();
46
+ }
47
+
48
+ public function getChooseButtonHtml() {
49
+ return $this->getChildHtml('choose_button');
50
+ }
51
+
52
+ public function getMainButtonsHtml() {
53
+ $html = '';
54
+ if ($this->getFilterVisibility()) {
55
+ $html.= $this->getResetFilterButtonHtml();
56
+ $html.= $this->getSearchButtonHtml();
57
+ $html .= '<br /><br />';
58
+ $html.= $this->getChooseButtonHtml();
59
+ }
60
+ return $html;
61
+ }
62
+
63
+ /**
64
+ * Prepare chooser element HTML
65
+ *
66
+ * @param Varien_Data_Form_Element_Abstract $element Form Element
67
+ * @return Varien_Data_Form_Element_Abstract
68
+ */
69
+ public function prepareElementHtml(Varien_Data_Form_Element_Abstract $element) {
70
+ $uniqId = Mage::helper('core')->uniqHash($element->getId());
71
+ $sourceUrl = $this->getUrl('*/WidgetProductList/chooser', array(
72
+ 'uniq_id' => $uniqId,
73
+ 'use_massaction' => true,
74
+ ));
75
+ $chooser = $this->getLayout()->createBlock('widget/adminhtml_widget_chooser')
76
+ ->setElement($element)
77
+ ->setTranslationHelper($this->getTranslationHelper())
78
+ ->setConfig($this->getConfig())
79
+ ->setFieldsetId($this->getFieldsetId())
80
+ ->setSourceUrl($sourceUrl)
81
+ ->setUniqId($uniqId);
82
+ if ($element->getValue()) {
83
+ $label = "";
84
+ $ids = explode('}{', $element->getValue());
85
+ $cleanIds = array();
86
+ foreach ($ids as $id) {
87
+ $id = str_replace('{', '', $id);
88
+ $id = str_replace('}', '', $id);
89
+ $cleanIds[] = $id;
90
+ }
91
+ $products = $this->_getProductsByIDs($cleanIds);
92
+ if ($products) {
93
+ $label .= '<ul>';
94
+ foreach ($products as $product) {
95
+ $label .= '<li>' . $product->getName() . '</li>';
96
+ }
97
+ $label .= '</ul>';
98
+ $chooser->setLabel($label);
99
+ }
100
+ }
101
+ $element->setData('after_element_html', $chooser->toHtml());
102
+ return $element;
103
+ }
104
+
105
+ protected function _getProductsByIDs($ids) {
106
+ $products = Mage::getModel('catalog/product')->getResourceCollection();
107
+ $products->addAttributeToSelect('*');
108
+ $products->addStoreFilter(Mage::app()->getStore()->getId());
109
+ Mage::getSingleton('catalog/product_status')->addSaleableFilterToCollection($products);
110
+ //Mage::getSingleton('cataloginventory/stock')->addInStockFilterToCollection($products);
111
+ $products->addFieldToFilter('entity_id', array('in' => $ids));
112
+ $products->load();
113
+ return $products;
114
+ }
115
+
116
+ /**
117
+ * Checkbox Check JS Callback
118
+ *
119
+ * @return string
120
+ */
121
+ public function getCheckboxCheckCallback() {
122
+ if ($this->getUseMassaction()) {
123
+ return "function (grid, element) {
124
+ $(grid.containerId).fire('product:changed', {element: element});
125
+ }";
126
+ }
127
+ }
128
+
129
+ /**
130
+ * Grid Row JS Callback
131
+ *
132
+ * @return string
133
+ */
134
+ public function getRowClickCallback() {
135
+ if (!$this->getUseMassaction()) {
136
+ $chooserJsObject = $this->getId();
137
+ return '
138
+ function (grid, event) {
139
+ var trElement = Event.findElement(event, "tr");
140
+ var productId = trElement.down("td").innerHTML;
141
+ var productName = trElement.down("td").next().next().innerHTML;
142
+ var optionLabel = productName;
143
+ var optionValue = "product/" + productId.replace(/^\s+|\s+$/g,"");
144
+ if (grid.categoryId) {
145
+ optionValue += "/" + grid.categoryId;
146
+ }
147
+ if (grid.categoryName) {
148
+ optionLabel = grid.categoryName + " / " + optionLabel;
149
+ }
150
+ ' . $chooserJsObject . '.setElementValue(optionValue);
151
+ ' . $chooserJsObject . '.setElementLabel(optionLabel);
152
+ ' . $chooserJsObject . '.close();
153
+ }
154
+ ';
155
+ }
156
+ }
157
+
158
+ /**
159
+ * Category Tree node onClick listener js function
160
+ *
161
+ * @return string
162
+ */
163
+ public function getCategoryClickListenerJs() {
164
+ $js = '
165
+ function (node, e) {
166
+ {jsObject}.addVarToUrl("category_id", node.attributes.id);
167
+ {jsObject}.reload({jsObject}.url);
168
+ {jsObject}.categoryId = node.attributes.id != "none" ? node.attributes.id : false;
169
+ {jsObject}.categoryName = node.attributes.id != "none" ? node.text : false;
170
+ }
171
+ ';
172
+ $js = str_replace('{jsObject}', $this->getJsObjectName(), $js);
173
+ return $js;
174
+ }
175
+
176
+ public function canDisplayContainer() {
177
+ return true;
178
+ }
179
+
180
+ /**
181
+ *
182
+ */
183
+ public function getAdditionalJavascript() {
184
+ $chooserJsObject = $this->getId();
185
+ $js = '
186
+ {jsObject}.initChecked = function(){
187
+ $$("#' . $chooserJsObject . '_table tbody input:checkbox").each(function(element, i){
188
+ var values = ' . $chooserJsObject . '.getElementValue();
189
+ var capture = values.replace("{"+element.value+"}", "match");
190
+ var searchValue = "match";
191
+ if(capture.search(searchValue) != -1){
192
+ element.checked = true;
193
+ }
194
+ });
195
+ }
196
+ {jsObject}.initChecked();
197
+ var values = ' . $chooserJsObject . '.getElementValue();
198
+ $("' . $chooserJsObject . '").insert({bottom: "<div class=\"filter\"><input type=\"hidden\" value="+values+" name=\"selected_products\" /></div>"});
199
+ $$("#' . $chooserJsObject . '_table tbody input:checkbox").invoke("observe", "change", function(event){
200
+ var element = Event.element(event);
201
+ var label = element.up("td").next().next().next().innerHTML;
202
+ label = label.replace(/^\s\s*/, "").replace(/\s\s*$/, "");
203
+ if(element.checked)
204
+ {
205
+ {jsObject}.addValue(element.value);
206
+ {jsObject}.addLabel(label);
207
+ }
208
+ else
209
+ {
210
+ {jsObject}.removeValue(element.value);
211
+ {jsObject}.removeLabel(label);
212
+ }
213
+ });
214
+ {jsObject}.removeValue = function(value){
215
+ var currentValue = ' . $chooserJsObject . '.getElementValue();
216
+ currentValue = currentValue.replace("{"+value+"}", "");
217
+ ' . $chooserJsObject . '.setElementValue(currentValue);
218
+ }
219
+ {jsObject}.addValue = function(value){
220
+ var currentValue = ' . $chooserJsObject . '.getElementValue();
221
+ currentValue = currentValue.replace("{"+value+"}", "");
222
+ currentValue = currentValue + "{"+value+"}";
223
+ ' . $chooserJsObject . '.setElementValue(currentValue);
224
+ }
225
+ {jsObject}.removeLabel = function(label){
226
+ var currentLabel = ' . $chooserJsObject . '.getElementLabelText();
227
+ currentLabel = currentLabel.replace("<li>"+label+"</li>", "");
228
+ ' . $chooserJsObject . '.setElementLabel(currentLabel);
229
+ }
230
+ {jsObject}.addLabel = function(label){
231
+ var currentLabel = ' . $chooserJsObject . '.getElementLabelText();
232
+ if(currentLabel.search("ul") != -1){
233
+ currentLabel = currentLabel.replace("</ul>", "");
234
+ currentLabel = currentLabel.replace("<li>"+label+"</li>", "");
235
+ }
236
+ else{
237
+ currentLabel = "<ul>";
238
+ }
239
+ currentLabel = currentLabel +"<li>"+label+"</li></ul>";
240
+ ' . $chooserJsObject . '.setElementLabel(currentLabel);
241
+ }
242
+ {jsObject}.doChoose = function(node,e){
243
+ ' . $chooserJsObject . '.close();
244
+ }
245
+ ';
246
+ $js = str_replace('{jsObject}', $this->getJsObjectName(), $js);
247
+ return $js;
248
+ }
249
+
250
+ /**
251
+ * Filter checked/unchecked rows in grid
252
+ *
253
+ * @param Mage_Adminhtml_Block_Widget_Grid_Column $column
254
+ * @return Mage_Adminhtml_Block_Catalog_Product_Widget_Chooser
255
+ */
256
+ protected function _addColumnFilterToCollection($column) {
257
+ if ($column->getId() == 'in_products') {
258
+ $selected = $this->getSelectedProducts();
259
+ if ($column->getFilter()->getValue()) {
260
+ $this->getCollection()->addFieldToFilter('entity_id', array('in' => $selected));
261
+ } else {
262
+ $this->getCollection()->addFieldToFilter('entity_id', array('nin' => $selected));
263
+ }
264
+ } else {
265
+ parent::_addColumnFilterToCollection($column);
266
+ }
267
+ return $this;
268
+ }
269
+
270
+ /**
271
+ * Prepare products collection, defined collection filters (category, product type)
272
+ *
273
+ * @return Mage_Adminhtml_Block_Widget_Grid
274
+ */
275
+ protected function _prepareCollection() {
276
+ /* @var $collection Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection */
277
+ $collection = Mage::getResourceModel('catalog/product_collection')
278
+ ->setStoreId(0)
279
+ ->addAttributeToSelect('name');
280
+ if ($categoryId = $this->getCategoryId()) {
281
+ $category = Mage::getModel('catalog/category')->load($categoryId);
282
+ if ($category->getId()) {
283
+ // $collection->addCategoryFilter($category);
284
+ $productIds = $category->getProductsPosition();
285
+ $productIds = array_keys($productIds);
286
+ if (empty($productIds)) {
287
+ $productIds = 0;
288
+ }
289
+ $collection->addFieldToFilter('entity_id', array('in' => $productIds));
290
+ }
291
+ }
292
+ if ($productTypeId = $this->getProductTypeId()) {
293
+ $collection->addAttributeToFilter('type_id', $productTypeId);
294
+ }
295
+ $this->setCollection($collection);
296
+ return parent::_prepareCollection();
297
+ }
298
+
299
+ /**
300
+ * Prepare columns for products grid
301
+ *
302
+ * @return Mage_Adminhtml_Block_Widget_Grid
303
+ */
304
+ protected function _prepareColumns() {
305
+ if ($this->getUseMassaction()) {
306
+ $this->addColumn('in_products', array(
307
+ 'header_css_class' => 'a-center',
308
+ 'type' => 'checkbox',
309
+ 'name' => 'in_products',
310
+ 'inline_css' => 'checkbox entities',
311
+ 'field_name' => 'in_products',
312
+ 'values' => $this->getSelectedProducts(),
313
+ 'align' => 'center',
314
+ 'index' => 'entity_id',
315
+ 'use_index' => true,
316
+ ));
317
+ }
318
+ $this->addColumn('entity_id', array(
319
+ 'header' => Mage::helper('catalog')->__('ID'),
320
+ 'sortable' => true,
321
+ 'width' => '60px',
322
+ 'index' => 'entity_id'
323
+ ));
324
+ $this->addColumn('chooser_sku', array(
325
+ 'header' => Mage::helper('catalog')->__('SKU'),
326
+ 'name' => 'chooser_sku',
327
+ 'width' => '80px',
328
+ 'index' => 'sku'
329
+ ));
330
+ $this->addColumn('chooser_name', array(
331
+ 'header' => Mage::helper('catalog')->__('Product Name'),
332
+ 'name' => 'chooser_name',
333
+ 'index' => 'name'
334
+ ));
335
+ return parent::_prepareColumns();
336
+ }
337
+
338
+ /**
339
+ * Adds additional parameter to URL for loading only products grid
340
+ *
341
+ * @return string
342
+ */
343
+ public function getGridUrl() {
344
+ return $this->getUrl('*/WidgetProductList/chooser', array(
345
+ 'products_grid' => true,
346
+ '_current' => true,
347
+ 'uniq_id' => $this->getId(),
348
+ 'use_massaction' => $this->getUseMassaction(),
349
+ 'product_type_id' => $this->getProductTypeId()
350
+ ));
351
+ }
352
+
353
+ /**
354
+ * Setter
355
+ *
356
+ * @param array $selectedProducts
357
+ * @return Mage_Adminhtml_Block_Catalog_Product_Widget_Chooser
358
+ */
359
+ public function setSelectedProducts($selectedProducts) {
360
+ $this->_selectedProducts = $selectedProducts;
361
+ return $this;
362
+ }
363
+
364
+ /**
365
+ * Getter
366
+ *
367
+ * @return array
368
+ */
369
+ public function getSelectedProducts() {
370
+ if ($this->getRequest()->getParam('filter')) {
371
+ $filter = base64_decode($this->getRequest()->getParam('filter'));
372
+ $filterBag = explode('&', $filter);
373
+ $filters = array();
374
+ foreach ($filterBag as $subfilter) {
375
+ $subfilter = explode('=', $subfilter);
376
+ $filters[$subfilter[0]] = $subfilter[1];
377
+ }
378
+ if (array_key_exists("in_products", $filters)) {
379
+ $selectedProducts = $filters['selected_products'];
380
+ $selectedProducts = urldecode($selectedProducts);
381
+ $selectedProducts = str_replace('{', '', $selectedProducts);
382
+ $selectedProducts = str_replace('}', ',', $selectedProducts);
383
+ $selectedProducts = explode(',', $selectedProducts);
384
+ $this->setSelectedProducts($selectedProducts);
385
+ }
386
+ return $this->_selectedProducts;
387
+ }
388
+ }
389
+ }
app/code/local/Ma2/WidgetProductList/Block/BestSelling.php ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_WidgetProductList
18
+ * @copyright Copyright (c) 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: BestSelling.php 4 2013-10-08 04:27:03Z linhnt $ */
22
+
23
+ class Ma2_WidgetProductList_Block_BestSelling extends Mage_Catalog_Block_Product_Abstract 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
+ /**
39
+ * Get products collection
40
+ */
41
+ protected function _getProductCollection()
42
+ {
43
+ if (is_null($this->_productCollection))
44
+ {
45
+ $visibility = array(
46
+ Mage_Catalog_Model_Product_Visibility::VISIBILITY_BOTH,
47
+ Mage_Catalog_Model_Product_Visibility::VISIBILITY_IN_CATALOG);
48
+ $storeId = Mage::app()->getStore()->getId();
49
+ $collection = Mage::getResourceModel('reports/product_collection')
50
+ ->addAttributeToSelect('*')
51
+ ->addOrderedQty()
52
+ ->addAttributeToFilter('visibility', $visibility)
53
+ ->setStoreId($storeId)
54
+ ->addStoreFilter($storeId)
55
+ ->setPageSize($this->getData('products_count'))
56
+ ->setOrder('ordered_qty', 'DESC');
57
+ $this->_productCollection = $collection;
58
+ }
59
+ return $this->_productCollection;
60
+ }
61
+
62
+ public function _toHtml()
63
+ {
64
+ $this->assign('WidgetProductProductCollection',$this->_getProductCollection());
65
+ $_columnCount = $this->getData('column_count');
66
+ if(!$_columnCount || $_columnCount == 0 || empty($_columnCount)) $_columnCount = 3;
67
+ $this->assign('item_width',(int)(100/$_columnCount));
68
+ $this->assign('_columnCount',(int)$_columnCount);
69
+ foreach($this->getData() as $_para=>$value)
70
+ {
71
+ $this->assign($_para, $value);
72
+ }
73
+ return parent::_toHtml();
74
+ }
75
+ }
app/code/local/Ma2/WidgetProductList/Block/Custom.php ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_WidgetProductList
18
+ * @copyright Copyright (c) 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: Custom.php 4 2013-10-08 04:27:03Z linhnt $ */
22
+
23
+ class Ma2_WidgetProductList_Block_Custom extends Mage_Catalog_Block_Product_Abstract
24
+ implements Mage_Widget_Block_Interface
25
+ {
26
+ /**
27
+ * Store product collection we got from widget option setting
28
+ * @var Varien_Object
29
+ */
30
+ protected $_productCollection = null;
31
+ /**
32
+ * Initialization
33
+ */
34
+ protected function _construct()
35
+ {
36
+ parent::_construct();
37
+ }
38
+
39
+ protected function _getProductCollection()
40
+ {
41
+ if (is_null($this->_productCollection))
42
+ {
43
+ $ids = $this->getData('ids');
44
+ if ($ids){
45
+ $ids = explode('}{', $ids);
46
+ $cleanIds = array();
47
+ foreach ($ids as $id) {
48
+ $id = str_replace('{', '', $id);
49
+ $id = str_replace('}', '', $id);
50
+ $cleanIds[] = $id;
51
+ }
52
+
53
+ if (count($cleanIds)) {
54
+ $products = $this->_getProductsByIDs($cleanIds);
55
+ if ($products) {
56
+ $this->_productCollection = $products;
57
+ }
58
+ }
59
+ }
60
+ }
61
+ return $this->_productCollection;
62
+ }
63
+
64
+ protected function _getProductsByIDs($ids) {
65
+ $products = Mage::getModel('catalog/product')->getResourceCollection()
66
+ ->addAttributeToSelect('*')
67
+ ->addStoreFilter(Mage::app()->getStore()->getId())
68
+ ->setOrder($this->getData('sort_by'), $this->getData('sort_dir'));
69
+ Mage::getSingleton('catalog/product_status')->addSaleableFilterToCollection($products);
70
+ $products->addFieldToFilter('entity_id', array('in' => $ids));
71
+ $products->load();
72
+ return $products;
73
+ }
74
+
75
+ public function _toHtml()
76
+ {
77
+ $this->assign('WidgetProductProductCollection',$this->_getProductCollection());
78
+ $_columnCount = $this->getData('column_count');
79
+ if(!$_columnCount || $_columnCount == 0 || empty($_columnCount)) $_columnCount = 3;
80
+ $this->assign('item_width',(int)(100/$_columnCount));
81
+ $this->assign('_columnCount',(int)$_columnCount);
82
+ foreach($this->getData() as $_para=>$value)
83
+ {
84
+ $this->assign($_para, $value);
85
+ }
86
+ return parent::_toHtml();
87
+ }
88
+ }
app/code/local/Ma2/WidgetProductList/Block/Featured.php ADDED
@@ -0,0 +1,95 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_WidgetProductList
18
+ * @copyright Copyright (c) 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: Featured.php 4 2013-10-08 04:27:03Z linhnt $ */
22
+
23
+ class Ma2_WidgetProductList_Block_Featured
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
+ * Load featured products collection
42
+ * */
43
+ protected function _getProductCollection()
44
+ {
45
+ if (is_null($this->_productCollection))
46
+ {
47
+ $attributes = Mage::getSingleton('catalog/config')
48
+ ->getProductAttributes();
49
+ $collection = Mage::getModel('catalog/product')->getCollection();
50
+ $collection->addAttributeToSelect($attributes)
51
+ ->addMinimalPrice()
52
+ ->addFinalPrice()
53
+ ->addTaxPercents()
54
+ ->addAttributeToFilter('ma2_featured_product', 1, 'left')
55
+ ->addStoreFilter()
56
+ ->getSelect();
57
+ Mage::getSingleton('catalog/product_status')->addVisibleFilterToCollection($collection);
58
+ Mage::getSingleton('catalog/product_visibility')->addVisibleInCatalogFilterToCollection($collection);
59
+ if(isset($sort_dir) && (!empty($sort_dir) && ($sort_dir == "asc" || $sort_dir="desc")))
60
+ {
61
+ $_collection = $collection->clear()
62
+ ->setPageSize($this->getData('products_count'))
63
+ ->setOrder($sort_by, $sort_dir)
64
+ ->load();
65
+ $this->_productCollection = $_collection;
66
+ }
67
+ else
68
+ {
69
+ $_collection = $collection->clear()
70
+ ->setPageSize($this->getData('products_count'))
71
+ ->load();
72
+ $this->_productCollection = $_collection;
73
+ }
74
+ }
75
+ return $this->_productCollection;
76
+ }
77
+ /**
78
+ * Get HTML if there's anything to show
79
+ */
80
+ public function _toHtml()
81
+ {
82
+ $this->assign('WidgetProductProductCollection',$this->_getProductCollection());
83
+ $_columnCount = $this->getData('column_count');
84
+ if(!$_columnCount || $_columnCount == 0 || empty($_columnCount)):
85
+ $_columnCount = 3;
86
+ endif;
87
+ $this->assign('item_width',(int)(100/$_columnCount));
88
+ $this->assign('_columnCount',(int)$_columnCount);
89
+ foreach($this->getData() as $_para=>$value)
90
+ {
91
+ $this->assign($_para, $value);
92
+ }
93
+ return parent::_toHtml();
94
+ }
95
+ }
app/code/local/Ma2/WidgetProductList/Block/New.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_WidgetProductList
18
+ * @copyright Copyright (c) 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: 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
+ }
app/code/local/Ma2/WidgetProductList/Helper/Data.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_WidgetProductList
18
+ * @copyright Copyright (c) 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: Data.php 2 2013-10-07 08:18:48Z linhnt $ */
22
+
23
+ class Ma2_WidgetProductList_Helper_Data extends Mage_Core_Helper_Abstract
24
+ {
25
+ public function randomkeys($length) {
26
+ $pattern = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
27
+ $key = '';
28
+ for($i = 0; $i < $length; $i++) {
29
+ $key .= $pattern{rand(0,strlen($pattern)-1)};
30
+ }
31
+ return $key;
32
+ }
33
+ }
app/code/local/Ma2/WidgetProductList/controllers/Adminhtml/WidgetProductListController.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_WidgetProductList
18
+ * @copyright Copyright (c) 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: WidgetProductListController.php 2 2013-10-07 08:18:48Z linhnt $ */
22
+
23
+ class Ma2_WidgetProductList_Adminhtml_WidgetProductListController extends Mage_Adminhtml_Controller_Action
24
+ {
25
+ /**
26
+ * Chooser Source action
27
+ */
28
+ public function chooserAction()
29
+ {
30
+ $uniqId = $this->getRequest()->getParam('uniq_id');
31
+ $massAction = $this->getRequest()->getParam('use_massaction', false);
32
+ $productTypeId = $this->getRequest()->getParam('product_type_id', null);
33
+ $productsGrid = $this->getLayout()->createBlock('WidgetProductList/adminhtml_catalog_product_widget_chooser', '', array(
34
+ 'id' => $uniqId,
35
+ 'use_massaction' => $massAction,
36
+ 'product_type_id' => $productTypeId,
37
+ 'category_id' => $this->getRequest()->getParam('category_id')
38
+ ));
39
+ $html = $productsGrid->toHtml();
40
+ if (!$this->getRequest()->getParam('products_grid')) {
41
+ $categoriesTree = $this->getLayout()->createBlock('adminhtml/catalog_category_widget_chooser', '', array(
42
+ 'id' => $uniqId.'Tree',
43
+ 'node_click_listener' => $productsGrid->getCategoryClickListenerJs(),
44
+ 'with_empty_node' => true
45
+ ));
46
+ $html = $this->getLayout()->createBlock('adminhtml/catalog_product_widget_chooser_container')
47
+ ->setTreeHtml($categoriesTree->toHtml())
48
+ ->setGridHtml($html)
49
+ ->toHtml();
50
+ }
51
+ $this->getResponse()->setBody($html);
52
+ }
53
+ }
app/code/local/Ma2/WidgetProductList/etc/config.xml ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <modules>
4
+ <Ma2_WidgetProductList>
5
+ <version>1.0.0</version>
6
+ </Ma2_WidgetProductList>
7
+ </modules>
8
+ <admin>
9
+ <routers>
10
+ <adminhtml>
11
+ <args>
12
+ <modules>
13
+ <Ma2_WidgetProductList before="Mage_Adminhtml">Ma2_WidgetProductList_Adminhtml</Ma2_WidgetProductList>
14
+ </modules>
15
+ </args>
16
+ </adminhtml>
17
+ </routers>
18
+ </admin>
19
+
20
+ <frontend>
21
+ <layout>
22
+ <updates>
23
+ <WidgetProductList>
24
+ <file>ma2_widgetproductlist.xml</file>
25
+ </WidgetProductList>
26
+ </updates>
27
+ </layout>
28
+ </frontend>
29
+ <global>
30
+ <helpers>
31
+ <WidgetProductList>
32
+ <class>Ma2_WidgetProductList_Helper</class>
33
+ </WidgetProductList>
34
+ </helpers>
35
+ <blocks>
36
+ <WidgetProductList>
37
+ <class>Ma2_WidgetProductList_Block</class>
38
+ </WidgetProductList>
39
+ </blocks>
40
+ <models>
41
+ <WidgetProductList>
42
+ <class>Ma2_WidgetProductList_Model</class>
43
+ </WidgetProductList>
44
+ </models>
45
+ <resources>
46
+ <WidgetProductList_setup>
47
+ <setup>
48
+ <module>Ma2_WidgetProductList</module>
49
+ </setup>
50
+ <connection>
51
+ <use>core_setup</use>
52
+ </connection>
53
+ </WidgetProductList_setup>
54
+ <WidgetProductList_write>
55
+ <connection>
56
+ <use>core_write</use>
57
+ </connection>
58
+ </WidgetProductList_write>
59
+ <WidgetProductList_read>
60
+ <connection>
61
+ <use>core_read</use>
62
+ </connection>
63
+ </WidgetProductList_read>
64
+ </resources>
65
+ </global>
66
+ </config>
app/code/local/Ma2/WidgetProductList/etc/widget.xml ADDED
@@ -0,0 +1,512 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <widgets>
3
+ <Featured type="WidgetProductList/Featured" translate="name description" module="WidgetProductList">
4
+ <name>Ma2 WidgetProductList - Featured (Ma2_FeaturedProducts required!)</name>
5
+ <description type="desc">List of featured products. This need Ma2_FeaturedProduct installed and actived.</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>6</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
+ <source_model>adminhtml/system_config_source_yesno</source_model>
92
+ </show_addtocart>
93
+ <show_details translate="label">
94
+ <visible>1</visible>
95
+ <label> Show Details button</label>
96
+ <type>select</type>
97
+ <source_model>adminhtml/system_config_source_yesno</source_model>
98
+ </show_details>
99
+ <show_price translate="label">
100
+ <visible>1</visible>
101
+ <label>Show Price</label>
102
+ <type>select</type>
103
+ <source_model>adminhtml/system_config_source_yesno</source_model>
104
+ </show_price>
105
+ <show_short_description translate="label">
106
+ <visible>1</visible>
107
+ <label>Show short description</label>
108
+ <type>select</type>
109
+ <source_model>adminhtml/system_config_source_yesno</source_model>
110
+ </show_short_description>
111
+ <short_description_limit>
112
+ <required>0</required>
113
+ <visible>1</visible>
114
+ <label>Short description words limit</label>
115
+ <type>text</type>
116
+ <depends>
117
+ <show_short_description><value>1</value></show_short_description>
118
+ </depends>
119
+ </short_description_limit>
120
+ <template>
121
+ <required>1</required>
122
+ <visible>1</visible>
123
+ <label>Select template</label>
124
+ <type>select</type>
125
+ <values>
126
+ <default translate="label">
127
+ <value>ma2_widgetproductlist/featured/default.phtml</value>
128
+ <label>Default Template</label>
129
+ </default>
130
+ <sidebar translate="label">
131
+ <value>ma2_widgetproductlist/featured/sidebar.phtml</value>
132
+ <label>sidebar</label>
133
+ </sidebar>
134
+ </values>
135
+ </template>
136
+ </parameters>
137
+ </Featured>
138
+
139
+ <New type="WidgetProductList/New" translate="name description" module="WidgetProductList">
140
+ <name>Ma2 WidgetProductList - New</name>
141
+ <description type="desc">List of new products</description>
142
+ <parameters>
143
+ <widget_title translate="label description">
144
+ <required>0</required>
145
+ <visible>1</visible>
146
+ <label>Frontend Title</label>
147
+ <value>New Products</value>
148
+ <type>text</type>
149
+ <description>The frontend widget instance title</description>
150
+ </widget_title>
151
+ <show_widget_title translate="label description">
152
+ <required>1</required>
153
+ <visible>1</visible>
154
+ <label>Display Frontend Title</label>
155
+ <description>Choose NO to hide the frontend widget instance title.</description>
156
+ <type>select</type>
157
+ <source_model>adminhtml/system_config_source_yesno</source_model>
158
+ </show_widget_title>
159
+ <products_count translate="label">
160
+ <required>1</required>
161
+ <visible>1</visible>
162
+ <label>Maximum number of products</label>
163
+ <value>6</value>
164
+ <type>text</type>
165
+ </products_count>
166
+ <sort_by translate="label">
167
+ <visible>1</visible>
168
+ <label>Sort by</label>
169
+ <type>select</type>
170
+ <values>
171
+ <price translate="label">
172
+ <value>price</value>
173
+ <label>Price</label>
174
+ </price>
175
+ <name translate="label">
176
+ <value>name</value>
177
+ <label>Name</label>
178
+ </name>
179
+ <created_at translate="label">
180
+ <value>created_at</value>
181
+ <label>Created date</label>
182
+ </created_at>
183
+ </values>
184
+ </sort_by>
185
+ <sort_dir translate="label">
186
+ <visible>1</visible>
187
+ <label>Sort direction</label>
188
+ <type>select</type>
189
+ <values>
190
+ <asc translate="label">
191
+ <value>asc</value><label>ASC</label>
192
+ </asc>
193
+ <desc translate="label">
194
+ <value>desc</value><label>DESC</label>
195
+ </desc>
196
+ </values>
197
+ </sort_dir>
198
+ <list_type translate="label">
199
+ <visible>1</visible>
200
+ <label>Display mode (grid, list)</label>
201
+ <type>select</type>
202
+ <values>
203
+ <grid_type translate="label">
204
+ <label>Grid</label>
205
+ <value>grid</value>
206
+ </grid_type>
207
+ <list_type translate="label">
208
+ <label>List</label>
209
+ <value>list</value>
210
+ </list_type>
211
+ </values>
212
+ </list_type>
213
+ <column_count>
214
+ <required>0</required>
215
+ <visible>1</visible>
216
+ <label>Number of products per row</label>
217
+ <value>6</value>
218
+ <type>text</type>
219
+ <depends>
220
+ <list_type><value>grid</value></list_type>
221
+ </depends>
222
+ </column_count>
223
+ <show_addtocart translate="label">
224
+ <visible>1</visible>
225
+ <label> Show Add To Cart button</label>
226
+ <type>select</type>
227
+ <source_model>adminhtml/system_config_source_yesno</source_model>
228
+ </show_addtocart>
229
+ <show_details translate="label">
230
+ <visible>1</visible>
231
+ <label> Show Details button</label>
232
+ <type>select</type>
233
+ <source_model>adminhtml/system_config_source_yesno</source_model>
234
+ </show_details>
235
+ <show_price translate="label">
236
+ <visible>1</visible>
237
+ <label>Show Price</label>
238
+ <type>select</type>
239
+ <source_model>adminhtml/system_config_source_yesno</source_model>
240
+ </show_price>
241
+ <show_short_description translate="label">
242
+ <visible>1</visible>
243
+ <label>Show short description</label>
244
+ <type>select</type>
245
+ <source_model>adminhtml/system_config_source_yesno</source_model>
246
+ </show_short_description>
247
+ <short_description_limit>
248
+ <required>0</required>
249
+ <visible>1</visible>
250
+ <label>Short description words limit</label>
251
+ <type>text</type>
252
+ <depends>
253
+ <show_short_description><value>1</value></show_short_description>
254
+ </depends>
255
+ </short_description_limit>
256
+ <template>
257
+ <required>1</required>
258
+ <visible>1</visible>
259
+ <label>Select template</label>
260
+ <type>select</type>
261
+ <values>
262
+ <default translate="label">
263
+ <value>ma2_widgetproductlist/new/default.phtml</value>
264
+ <label>Default Template</label>
265
+ </default>
266
+ </values>
267
+ </template>
268
+ </parameters>
269
+ </New>
270
+
271
+ <BestSelling type="WidgetProductList/BestSelling" translate="name description" module="WidgetProductList">
272
+ <name>Ma2 WidgetProductList - Best Selling</name>
273
+ <description type="desc">List of best selling products</description>
274
+ <parameters>
275
+ <widget_title translate="label description">
276
+ <required>0</required>
277
+ <visible>1</visible>
278
+ <label>Frontend Title</label>
279
+ <value>Best Products</value>
280
+ <type>text</type>
281
+ <description>The frontend widget instance title</description>
282
+ </widget_title>
283
+ <show_widget_title translate="label description">
284
+ <required>1</required>
285
+ <visible>1</visible>
286
+ <label>Display Frontend Title</label>
287
+ <description>Choose NO to hide the frontend widget instance title.</description>
288
+ <type>select</type>
289
+ <source_model>adminhtml/system_config_source_yesno</source_model>
290
+ </show_widget_title>
291
+ <products_count translate="label">
292
+ <required>1</required>
293
+ <visible>1</visible>
294
+ <label>Maximum number of products</label>
295
+ <value>6</value>
296
+ <type>text</type>
297
+ </products_count>
298
+ <list_type translate="label">
299
+ <visible>1</visible>
300
+ <label>Display mode (grid, list)</label>
301
+ <type>select</type>
302
+ <values>
303
+ <grid_type translate="label">
304
+ <label>Grid</label>
305
+ <value>grid</value>
306
+ </grid_type>
307
+ <list_type translate="label">
308
+ <label>List</label>
309
+ <value>list</value>
310
+ </list_type>
311
+ </values>
312
+ </list_type>
313
+ <column_count>
314
+ <required>0</required>
315
+ <visible>1</visible>
316
+ <label>Number of products per row</label>
317
+ <value>6</value>
318
+ <type>text</type>
319
+ <depends>
320
+ <list_type><value>grid</value></list_type>
321
+ </depends>
322
+ </column_count>
323
+ <show_addtocart translate="label">
324
+ <visible>1</visible>
325
+ <label> Show Add To Cart button</label>
326
+ <type>select</type>
327
+ <source_model>adminhtml/system_config_source_yesno</source_model>
328
+ </show_addtocart>
329
+ <show_details translate="label">
330
+ <visible>1</visible>
331
+ <label> Show Details button</label>
332
+ <type>select</type>
333
+ <source_model>adminhtml/system_config_source_yesno</source_model>
334
+ </show_details>
335
+ <show_price translate="label">
336
+ <visible>1</visible>
337
+ <label>Show Price</label>
338
+ <type>select</type>
339
+ <source_model>adminhtml/system_config_source_yesno</source_model>
340
+ </show_price>
341
+ <show_short_description translate="label">
342
+ <visible>1</visible>
343
+ <label>Show short description</label>
344
+ <type>select</type>
345
+ <source_model>adminhtml/system_config_source_yesno</source_model>
346
+ </show_short_description>
347
+ <short_description_limit>
348
+ <required>0</required>
349
+ <visible>1</visible>
350
+ <label>Short description words limit</label>
351
+ <type>text</type>
352
+ <depends>
353
+ <show_short_description><value>1</value></show_short_description>
354
+ </depends>
355
+ </short_description_limit>
356
+ <template>
357
+ <required>1</required>
358
+ <visible>1</visible>
359
+ <label>Select template</label>
360
+ <type>select</type>
361
+ <values>
362
+ <default translate="label">
363
+ <value>ma2_widgetproductlist/bestselling/default.phtml</value>
364
+ <label>Default Template</label>
365
+ </default>
366
+ </values>
367
+ </template>
368
+ </parameters>
369
+ </BestSelling>
370
+
371
+ <CustomProducts type="WidgetProductList/Custom" translate="name description" module="WidgetProductList">
372
+ <name>Ma2 WidgetProductList - Custom Selected</name>
373
+ <description type="desc">List of custom selected products. Show the products you chose only.</description>
374
+ <parameters>
375
+ <widget_title translate="label description">
376
+ <required>1</required>
377
+ <visible>1</visible>
378
+ <label>Frontend Title</label>
379
+ <value>Custom Products</value>
380
+ <type>text</type>
381
+ <description>The frontend widget instance title</description>
382
+ </widget_title>
383
+ <show_widget_title translate="label description">
384
+ <required>1</required>
385
+ <visible>1</visible>
386
+ <label>Display Frontend Title</label>
387
+ <description>Choose NO to hide the frontend widget instance title.</description>
388
+ <type>select</type>
389
+ <source_model>adminhtml/system_config_source_yesno</source_model>
390
+ </show_widget_title>
391
+ <ids translate="label">
392
+ <required>1</required>
393
+ <visible>1</visible>
394
+ <label>Select products</label>
395
+ <type>label</type>
396
+ <helper_block>
397
+ <type>WidgetProductList/adminhtml_catalog_product_widget_chooser</type>
398
+ <data>
399
+ <button translate="open">
400
+ <open>Select Products...</open>
401
+ </button>
402
+ </data>
403
+ </helper_block>
404
+ </ids>
405
+ <sort_by translate="label">
406
+ <visible>1</visible>
407
+ <label>Sort by</label>
408
+ <type>select</type>
409
+ <values>
410
+ <price translate="label">
411
+ <value>price</value><label>Price</label>
412
+ </price>
413
+ <name translate="label">
414
+ <value>name</value><label>Name</label>
415
+ </name>
416
+ <created_at translate="label">
417
+ <value>created_at</value><label>Created date</label>
418
+ </created_at>
419
+ </values>
420
+ </sort_by>
421
+ <sort_dir translate="label">
422
+ <visible>1</visible>
423
+ <label>Sort direction</label>
424
+ <type>select</type>
425
+ <values>
426
+ <asc translate="label">
427
+ <value>asc</value><label>ASC</label>
428
+ </asc>
429
+ <desc translate="label">
430
+ <value>desc</value><label>DESC</label>
431
+ </desc>
432
+ </values>
433
+ </sort_dir>
434
+ <list_type translate="label">
435
+ <visible>1</visible>
436
+ <label>Display mode (grid, list)</label>
437
+ <type>select</type>
438
+ <values>
439
+ <grid_type translate="label">
440
+ <label>Grid</label>
441
+ <value>grid</value>
442
+ </grid_type>
443
+ <list_type translate="label">
444
+ <label>List</label>
445
+ <value>list</value>
446
+ </list_type>
447
+ </values>
448
+ </list_type>
449
+ <column_count>
450
+ <required>0</required>
451
+ <visible>1</visible>
452
+ <label>Number of products per row</label>
453
+ <value>6</value>
454
+ <type>text</type>
455
+ <depends>
456
+ <list_type><value>grid</value></list_type>
457
+ </depends>
458
+ </column_count>
459
+ <show_addtocart translate="label">
460
+ <visible>1</visible>
461
+ <label> Show Add To Cart button</label>
462
+ <type>select</type>
463
+ <source_model>adminhtml/system_config_source_yesno</source_model>
464
+ </show_addtocart>
465
+ <show_details translate="label">
466
+ <visible>1</visible>
467
+ <label> Show Details button</label>
468
+ <type>select</type>
469
+ <source_model>adminhtml/system_config_source_yesno</source_model>
470
+ </show_details>
471
+ <show_price translate="label">
472
+ <visible>1</visible>
473
+ <label>Show Price</label>
474
+ <type>select</type>
475
+ <source_model>adminhtml/system_config_source_yesno</source_model>
476
+ </show_price>
477
+ <show_short_description translate="label">
478
+ <visible>1</visible>
479
+ <label>Show short description</label>
480
+ <type>select</type>
481
+ <source_model>adminhtml/system_config_source_yesno</source_model>
482
+ </show_short_description>
483
+ <short_description_limit>
484
+ <required>0</required>
485
+ <visible>1</visible>
486
+ <label>Short description words limit</label>
487
+ <type>text</type>
488
+ <depends>
489
+ <show_short_description><value>1</value></show_short_description>
490
+ </depends>
491
+ </short_description_limit>
492
+ <show_icon translate="label">
493
+ <visible>1</visible>
494
+ <label>Show icon Sale</label>
495
+ <type>select</type>
496
+ <source_model>adminhtml/system_config_source_yesno</source_model>
497
+ </show_icon>
498
+ <template>
499
+ <required>1</required>
500
+ <visible>1</visible>
501
+ <label>Select template</label>
502
+ <type>select</type>
503
+ <values>
504
+ <default translate="label">
505
+ <value>ma2_widgetproductlist/custom/default.phtml</value>
506
+ <label>Default Template</label>
507
+ </default>
508
+ </values>
509
+ </template>
510
+ </parameters>
511
+ </CustomProducts>
512
+ </widgets>
app/code/local/Wru/HomeTop/Block/Links.php ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_options.xml ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <layout>
3
+ <default>
4
+ <reference name="head">
5
+ <action method="addItem">
6
+ <type>skin_js</type>
7
+ <name>ma2/js/colorchooser/jscolor.js</name>
8
+ </action>
9
+ <action method="addItem">
10
+ <type>skin_js</type>
11
+ <name>ma2/js/webfonts/webfont.js</name>
12
+ </action>
13
+ </reference>
14
+ </default>
15
+ </layout>
app/design/frontend/ma2/ante/layout/es_custommenu.xml ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
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 ADDED
@@ -0,0 +1,143 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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>
app/design/frontend/ma2/ante/layout/ma2_featuredproducts.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="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>
app/design/frontend/ma2/ante/layout/ma2_widgetproductlist.xml ADDED
@@ -0,0 +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>
app/design/frontend/ma2/ante/template/bundle/catalog/product/price.phtml ADDED
@@ -0,0 +1,252 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 $_product = $this->getProduct() ?>
28
+ <?php $_priceModel = $_product->getPriceModel() ?>
29
+ <?php list($_minimalPriceTax, $_maximalPriceTax) = $_priceModel->getTotalPrices($_product, null, null, false) ?>
30
+ <?php list($_minimalPriceInclTax, $_maximalPriceInclTax) = $_priceModel->getTotalPrices($_product, null, true, false) ?>
31
+ <?php $_id = $_product->getId() ?>
32
+ <?php $_weeeTaxAmount = 0; ?>
33
+ <?php
34
+ if ($_product->getPriceType() == 1) {
35
+ $_weeeTaxAmount = Mage::helper('weee')->getAmount($_product);
36
+ $_weeeTaxAmountInclTaxes = $_weeeTaxAmount;
37
+ if (Mage::helper('weee')->isTaxable()) {
38
+ $_attributes = Mage::helper('weee')->getProductWeeeAttributesForRenderer($_product, null, null, null, true);
39
+ $_weeeTaxAmountInclTaxes = Mage::helper('weee')->getAmountInclTaxes($_attributes);
40
+ }
41
+ if ($_weeeTaxAmount && Mage::helper('weee')->typeOfDisplay($_product, array(0, 1, 4))) {
42
+ $_minimalPriceTax += $_weeeTaxAmount;
43
+ $_minimalPriceInclTax += $_weeeTaxAmountInclTaxes;
44
+ }
45
+ if ($_weeeTaxAmount && Mage::helper('weee')->typeOfDisplay($_product, 2)) {
46
+ $_minimalPriceInclTax += $_weeeTaxAmountInclTaxes;
47
+ }
48
+ if (Mage::helper('weee')->typeOfDisplay($_product, array(1, 2, 4))) {
49
+ $_weeeTaxAttributes = Mage::helper('weee')->getProductWeeeAttributesForDisplay($_product);
50
+ }
51
+ }
52
+ ?>
53
+ <div class="price-box">
54
+ <?php if ($_product->getPriceView()): ?>
55
+ <p class="minimal-price">
56
+ <span class="price-label"><?php echo $this->__('As low as') ?>:</span>
57
+ <?php if ($this->displayBothPrices()): ?>
58
+ <span class="price-excluding-tax">
59
+ <span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax:') ?></span>
60
+ <?php echo Mage::helper('core')->currency($_minimalPriceTax) ?>
61
+ </span>
62
+ <?php if ($_weeeTaxAmount && $_product->getPriceType() == 1 && Mage::helper('weee')->typeOfDisplay($_product, array(2, 1, 4))): ?>
63
+ <span class="weee">(<small>
64
+ <?php $_weeeSeparator = ''; foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
65
+ <?php if (Mage::helper('weee')->typeOfDisplay($_product, array(2, 4))): ?>
66
+ <?php $amount = $_weeeTaxAttribute->getAmount()+$_weeeTaxAttribute->getTaxAmount(); ?>
67
+ <?php else: ?>
68
+ <?php $amount = $_weeeTaxAttribute->getAmount(); ?>
69
+ <?php endif; ?>
70
+ <?php echo $_weeeSeparator; ?>
71
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo Mage::helper('core')->currency($amount, true, true); ?>
72
+ <?php $_weeeSeparator = ' + '; ?>
73
+ <?php endforeach; ?>
74
+ </small>)</span>
75
+ <?php endif; ?>
76
+ <span class="price-including-tax">
77
+ <span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax:') ?></span>
78
+ <?php echo Mage::helper('core')->currency($_minimalPriceInclTax) ?>
79
+ </span>
80
+ <?php else: ?>
81
+ <?php echo Mage::helper('core')->currency($_minimalPriceTax) ?>
82
+ <?php if ($_weeeTaxAmount && $_product->getPriceType() == 1 && Mage::helper('weee')->typeOfDisplay($_product, array(2, 1, 4))): ?>
83
+ <span class="weee">(<small>
84
+ <?php $_weeeSeparator = ''; foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
85
+ <?php if (Mage::helper('weee')->typeOfDisplay($_product, array(2, 4))): ?>
86
+ <?php $amount = $_weeeTaxAttribute->getAmount()+$_weeeTaxAttribute->getTaxAmount(); ?>
87
+ <?php else: ?>
88
+ <?php $amount = $_weeeTaxAttribute->getAmount(); ?>
89
+ <?php endif; ?>
90
+ <?php echo $_weeeSeparator; ?>
91
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo Mage::helper('core')->currency($amount, true, true); ?>
92
+ <?php $_weeeSeparator = ' + '; ?>
93
+ <?php endforeach; ?>
94
+ </small>)</span>
95
+ <?php endif; ?>
96
+ <?php if (Mage::helper('weee')->typeOfDisplay($_product, 2) && $_weeeTaxAmount): ?>
97
+ <?php echo Mage::helper('core')->currency($_minimalPriceInclTax) ?>
98
+ <?php endif; ?>
99
+ <?php endif; ?>
100
+ </p>
101
+ <?php else: ?>
102
+ <?php if ($_minimalPriceTax <> $_maximalPriceTax): ?>
103
+ <p class="price-from">
104
+ <span class="price-label"><?php echo $this->__('From') ?>:</span>
105
+ <?php if ($this->displayBothPrices()): ?>
106
+ <span class="price-excluding-tax">
107
+ <span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax:') ?></span>
108
+ <?php echo Mage::helper('core')->currency($_minimalPriceTax) ?>
109
+ </span>
110
+ <?php if ($_weeeTaxAmount && $_product->getPriceType() == 1 && Mage::helper('weee')->typeOfDisplay($_product, array(2, 1, 4))): ?>
111
+ <span class="weee">(<small>
112
+ <?php $_weeeSeparator = ''; foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
113
+ <?php if (Mage::helper('weee')->typeOfDisplay($_product, array(2, 4))): ?>
114
+ <?php $amount = $_weeeTaxAttribute->getAmount()+$_weeeTaxAttribute->getTaxAmount(); ?>
115
+ <?php else: ?>
116
+ <?php $amount = $_weeeTaxAttribute->getAmount(); ?>
117
+ <?php endif; ?>
118
+ <?php echo $_weeeSeparator; ?>
119
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo Mage::helper('core')->currency($amount, true, true); ?>
120
+ <?php $_weeeSeparator = ' + '; ?>
121
+ <?php endforeach; ?>
122
+ </small>)</span>
123
+ <?php endif; ?>
124
+ <span class="price-including-tax">
125
+ <span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax:') ?></span>
126
+ <?php echo Mage::helper('core')->currency($_minimalPriceInclTax) ?>
127
+ </span>
128
+ <?php else: ?>
129
+ <?php echo Mage::helper('core')->currency($_minimalPriceTax) ?>
130
+ <?php if ($_weeeTaxAmount && $_product->getPriceType() == 1 && Mage::helper('weee')->typeOfDisplay($_product, array(2, 1, 4))): ?>
131
+ <span class="weee">(<small>
132
+ <?php $_weeeSeparator = ''; foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
133
+ <?php if (Mage::helper('weee')->typeOfDisplay($_product, array(2, 4))): ?>
134
+ <?php $amount = $_weeeTaxAttribute->getAmount()+$_weeeTaxAttribute->getTaxAmount(); ?>
135
+ <?php else: ?>
136
+ <?php $amount = $_weeeTaxAttribute->getAmount(); ?>
137
+ <?php endif; ?>
138
+ <?php echo $_weeeSeparator; ?>
139
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo Mage::helper('core')->currency($amount, true, true); ?>
140
+ <?php $_weeeSeparator = ' + '; ?>
141
+ <?php endforeach; ?>
142
+ </small>)</span>
143
+ <?php endif; ?>
144
+ <?php if (Mage::helper('weee')->typeOfDisplay($_product, 2) && $_weeeTaxAmount): ?>
145
+ <?php echo Mage::helper('core')->currency($_minimalPriceInclTax) ?>
146
+ <?php endif; ?>
147
+ <?php endif; ?>
148
+ </p>
149
+ <?php
150
+ if ($_product->getPriceType() == 1) {
151
+ if ($_weeeTaxAmount && Mage::helper('weee')->typeOfDisplay($_product, array(0, 1, 4))) {
152
+ $_maximalPriceTax += $_weeeTaxAmount;
153
+ $_maximalPriceInclTax += $_weeeTaxAmountInclTaxes;
154
+ }
155
+ if ($_weeeTaxAmount && Mage::helper('weee')->typeOfDisplay($_product, 2)) {
156
+ $_maximalPriceInclTax += $_weeeTaxAmountInclTaxes;
157
+ }
158
+ }
159
+ ?>
160
+ <p class="price-to">
161
+ <span class="price-label"><?php echo $this->__('To') ?>:</span>
162
+ <?php if ($this->displayBothPrices()): ?>
163
+ <span class="price-excluding-tax">
164
+ <span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax:') ?></span>
165
+ <?php echo Mage::helper('core')->currency($_maximalPriceTax) ?>
166
+ </span>
167
+ <?php if ($_weeeTaxAmount && $_product->getPriceType() == 1 && Mage::helper('weee')->typeOfDisplay($_product, array(2, 1, 4))): ?>
168
+ <span class="weee">(<small>
169
+ <?php $_weeeSeparator = ''; foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
170
+ <?php if (Mage::helper('weee')->typeOfDisplay($_product, array(2, 4))): ?>
171
+ <?php $amount = $_weeeTaxAttribute->getAmount()+$_weeeTaxAttribute->getTaxAmount(); ?>
172
+ <?php else: ?>
173
+ <?php $amount = $_weeeTaxAttribute->getAmount(); ?>
174
+ <?php endif; ?>
175
+ <?php echo $_weeeSeparator; ?>
176
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo Mage::helper('core')->currency($amount, true, true); ?>
177
+ <?php $_weeeSeparator = ' + '; ?>
178
+ <?php endforeach; ?>
179
+ </small>)</span>
180
+ <?php endif; ?>
181
+ <span class="price-including-tax">
182
+ <span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax') ?></span>
183
+ <?php echo Mage::helper('core')->currency($_maximalPriceInclTax) ?>
184
+ </span>
185
+ <?php else: ?>
186
+ <?php echo Mage::helper('core')->currency($_maximalPriceTax) ?>
187
+ <?php if ($_weeeTaxAmount && $_product->getPriceType() == 1 && Mage::helper('weee')->typeOfDisplay($_product, array(2, 1, 4))): ?>
188
+ <span class="weee">(<small>
189
+ <?php $_weeeSeparator = ''; foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
190
+ <?php if (Mage::helper('weee')->typeOfDisplay($_product, array(2, 4))): ?>
191
+ <?php $amount = $_weeeTaxAttribute->getAmount()+$_weeeTaxAttribute->getTaxAmount(); ?>
192
+ <?php else: ?>
193
+ <?php $amount = $_weeeTaxAttribute->getAmount(); ?>
194
+ <?php endif; ?>
195
+ <?php echo $_weeeSeparator; ?>
196
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo Mage::helper('core')->currency($amount, true, true); ?>
197
+ <?php $_weeeSeparator = ' + '; ?>
198
+ <?php endforeach; ?>
199
+ </small>)</span>
200
+ <?php endif; ?>
201
+ <?php if (Mage::helper('weee')->typeOfDisplay($_product, 2) && $_weeeTaxAmount): ?>
202
+ <?php echo Mage::helper('core')->currency($_maximalPriceInclTax) ?>
203
+ <?php endif; ?>
204
+ <?php endif; ?>
205
+ </p>
206
+ <?php else: ?>
207
+ <?php if ($this->displayBothPrices()): ?>
208
+ <span class="price-excluding-tax">
209
+ <span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax:') ?></span>
210
+ <?php echo Mage::helper('core')->currency($_minimalPriceTax) ?>
211
+ </span>
212
+ <?php if ($_weeeTaxAmount && $_product->getPriceType() == 1 && Mage::helper('weee')->typeOfDisplay($_product, array(2, 1, 4))): ?>
213
+ <span class="weee">(<small>
214
+ <?php $_weeeSeparator = ''; foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
215
+ <?php if (Mage::helper('weee')->typeOfDisplay($_product, array(2, 4))): ?>
216
+ <?php $amount = $_weeeTaxAttribute->getAmount()+$_weeeTaxAttribute->getTaxAmount(); ?>
217
+ <?php else: ?>
218
+ <?php $amount = $_weeeTaxAttribute->getAmount(); ?>
219
+ <?php endif; ?>
220
+ <?php echo $_weeeSeparator; ?>
221
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo Mage::helper('core')->currency($amount, true, true); ?>
222
+ <?php $_weeeSeparator = ' + '; ?>
223
+ <?php endforeach; ?>
224
+ </small>)</span>
225
+ <?php endif; ?>
226
+ <span class="price-including-tax">
227
+ <span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax:') ?></span>
228
+ <?php echo Mage::helper('core')->currency($_minimalPriceInclTax) ?>
229
+ </span>
230
+ <?php else: ?>
231
+ <?php echo Mage::helper('core')->currency($_minimalPriceTax) ?>
232
+ <?php if ($_weeeTaxAmount && $_product->getPriceType() == 1 && Mage::helper('weee')->typeOfDisplay($_product, array(2, 1, 4))): ?>
233
+ <span class="weee">(<small>
234
+ <?php $_weeeSeparator = ''; foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
235
+ <?php if (Mage::helper('weee')->typeOfDisplay($_product, array(2, 4))): ?>
236
+ <?php $amount = $_weeeTaxAttribute->getAmount()+$_weeeTaxAttribute->getTaxAmount(); ?>
237
+ <?php else: ?>
238
+ <?php $amount = $_weeeTaxAttribute->getAmount(); ?>
239
+ <?php endif; ?>
240
+ <?php echo $_weeeSeparator; ?>
241
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo Mage::helper('core')->currency($amount, true, true); ?>
242
+ <?php $_weeeSeparator = ' + '; ?>
243
+ <?php endforeach; ?>
244
+ </small>)</span>
245
+ <?php endif; ?>
246
+ <?php if (Mage::helper('weee')->typeOfDisplay($_product, 2) && $_weeeTaxAmount): ?>
247
+ <?php echo Mage::helper('core')->currency($_minimalPriceInclTax) ?>
248
+ <?php endif; ?>
249
+ <?php endif; ?>
250
+ <?php endif; ?>
251
+ <?php endif; ?>
252
+ </div>
app/design/frontend/ma2/ante/template/bundle/catalog/product/view/price.phtml ADDED
@@ -0,0 +1,112 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 $_product = $this->getProduct() ?>
28
+ <?php $_finalPrice = $_product->getFinalPrice() ?>
29
+ <?php $_finalPriceInclTax = $_product->getFinalPrice() ?>
30
+ <?php $_weeeTaxAmount = 0; ?>
31
+ <?php
32
+ if ($_product->getPriceType() == 1) {
33
+ $_weeeTaxAmount = Mage::helper('weee')->getAmount($_product);
34
+ if (Mage::helper('weee')->typeOfDisplay($_product, array(1,2,4))) {
35
+ $_weeeTaxAttributes = Mage::helper('weee')->getProductWeeeAttributesForDisplay($_product);
36
+ }
37
+ }
38
+ $isMAPTypeOnGesture = Mage::helper('catalog')->isShowPriceOnGesture($_product);
39
+ $canApplyMAP = Mage::helper('catalog')->canApplyMsrp($_product);
40
+ ?>
41
+ <?php if ($_product->getCanShowPrice() !== false):?>
42
+ <div class="price-box">
43
+ <p class="price-as-configured">
44
+ <span class="price-label"><?php echo $this->helper('bundle')->__('Price as configured') ?>:</span>
45
+ <?php if (!$this->getWithoutPrice()): ?>
46
+ <span<?php if (!$isMAPTypeOnGesture && $canApplyMAP): ?> style="display:none"<?php endif ?> class="full-product-price">
47
+ <?php if ($this->helper('tax')->displayBothPrices()): ?>
48
+ <span class="price-tax">
49
+ <span class="price-excluding-tax">
50
+ <span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax:') ?></span>
51
+ <span class="price" id="price-excluding-tax-<?php echo $_product->getId() ?><?php echo $this->getIdSuffix() ?>">
52
+ <?php if (!$canApplyMAP): ?>
53
+ <?php echo Mage::helper('core')->currency($_finalPrice,true,false) ?>
54
+ <?php endif ?>
55
+ </span>
56
+ </span>
57
+ <?php if ($_weeeTaxAmount && $_product->getPriceType() == 1 && Mage::helper('weee')->typeOfDisplay($_product, array(2, 1, 4))): ?>
58
+ <span class="weee">(<small>
59
+ <?php $_weeeSeparator = ''; foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
60
+ <?php if (Mage::helper('weee')->typeOfDisplay($_product, array(2, 4))): ?>
61
+ <?php $amount = $_weeeTaxAttribute->getAmount()+$_weeeTaxAttribute->getTaxAmount(); ?>
62
+ <?php else: ?>
63
+ <?php $amount = $_weeeTaxAttribute->getAmount(); ?>
64
+ <?php endif; ?>
65
+ <?php echo $_weeeSeparator; ?>
66
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo Mage::helper('core')->currency($amount, true, true); ?>
67
+ <?php $_weeeSeparator = ' + '; ?>
68
+ <?php endforeach; ?>
69
+ </small>)</span>
70
+ <?php endif; ?>
71
+ <span class="price-including-tax">
72
+ <span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax:') ?></span>
73
+ <span class="price" id="price-including-tax-<?php echo $_product->getId() ?><?php echo $this->getIdSuffix() ?>">
74
+ <?php if (!$canApplyMAP): ?>
75
+ <?php echo Mage::helper('core')->currency($_finalPriceInclTax,true,false) ?>
76
+ <?php endif ?>
77
+ </span>
78
+ </span>
79
+ </span>
80
+ <?php else: ?>
81
+ <span class="price" id="product-price-<?php echo $_product->getId() ?><?php echo $this->getIdSuffix() ?>">
82
+ <?php if (!$canApplyMAP): ?>
83
+ <?php echo Mage::helper('core')->currency($_finalPrice,true,false) ?>
84
+ <?php endif ?>
85
+ </span>
86
+ <?php if ($_weeeTaxAmount && $_product->getPriceType() == 1 && Mage::helper('weee')->typeOfDisplay($_product, array(2, 1, 4))): ?>
87
+ <span class="weee">(<small>
88
+ <?php $_weeeSeparator = ''; foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
89
+ <?php if (Mage::helper('weee')->typeOfDisplay($_product, array(2, 4))): ?>
90
+ <?php $amount = $_weeeTaxAttribute->getAmount()+$_weeeTaxAttribute->getTaxAmount(); ?>
91
+ <?php else: ?>
92
+ <?php $amount = $_weeeTaxAttribute->getAmount(); ?>
93
+ <?php endif; ?>
94
+ <?php echo $_weeeSeparator; ?>
95
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo Mage::helper('core')->currency($amount, true, true); ?>
96
+ <?php $_weeeSeparator = ' + '; ?>
97
+ <?php endforeach; ?>
98
+ </small>)</span>
99
+ <?php endif; ?>
100
+ <?php endif; ?>
101
+ </span>
102
+ <?php endif ?>
103
+ </p>
104
+ </div>
105
+ <?php endif; ?>
106
+ <?php if($_product->isSaleable()): ?>
107
+ <script type="text/javascript">
108
+ document.observe("dom:loaded", function() {
109
+ bundle.reloadPrice();
110
+ });
111
+ </script>
112
+ <?php endif; ?>
app/design/frontend/ma2/ante/template/bundle/catalog/product/view/tierprices.phtml ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ * @see Mage_Catalog_Block_Product_View
30
+ */
31
+ $_product = $this->getProduct();
32
+ $_tierPrices = $this->getTierPrices();
33
+ ?>
34
+ <?php if (count($_tierPrices) > 0): ?>
35
+ <ul class="tier-prices product-pricing">
36
+ <?php foreach($_tierPrices as $_price): ?>
37
+ <li><?php echo $this->__('Buy %1$s with %2$s discount each', $_price['price_qty'], '<strong class="benefit">'.($_price['price']*1).'%</strong>') ?></li>
38
+ <?php endforeach ?>
39
+ </ul>
40
+ <?php endif;?>
app/design/frontend/ma2/ante/template/catalog/category/view.phtml ADDED
@@ -0,0 +1,111 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ * Category view template
30
+ *
31
+ * @see Mage_Catalog_Block_Category_View
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; ?>
109
+ <?php
110
+ $_url_base = $this->setInitUrlTypeBase('js');
111
+ ?>
app/design/frontend/ma2/ante/template/catalog/navigation/top.phtml ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 ADDED
@@ -0,0 +1,148 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ * Product list template
28
+ *
29
+ * @see Mage_Catalog_Block_Product_List
30
+ */
31
+ $_productCollection=$this->getLoadedProductCollection();
32
+ $_helper = $this->helper('catalog/output');
33
+ if(!$_productCollection->count()):
34
+ ?>
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; ?>
app/design/frontend/ma2/ante/template/catalog/product/list/related.phtml ADDED
@@ -0,0 +1,141 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 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>
33
+ </span>
34
+ </h3>
35
+ </div>
36
+ <div class="block-content">
37
+ <?php foreach($this->getItems() as $_item): ?>
38
+ <div class="box-products-related">
39
+ <div class="item-content">
40
+ <div class="img-product-related">
41
+ <a href="<?php echo $_item->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_item->getName()) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($_item, 'small_image')->resize(158); ?>" width="158" height="158" alt="<?php echo $this->htmlEscape($_item->getName()) ?>" /></a>
42
+ </div>
43
+ <div class="content-product-related">
44
+ <div class="product-details">
45
+ <div class="product-title-relative">
46
+ <h5>
47
+ <a href="<?php echo $_item->getProductUrl() ?>"><?php echo $this->htmlEscape($_item->getName()) ?></a>
48
+ </h5>
49
+ </div>
50
+ <div class="box-name">
51
+ <div class="short-description-related">
52
+ <p>
53
+ <?php
54
+ $desc = Mage::getModel('catalog/product')->load($_item->getId())->getDescription();
55
+ $shortDesc = explode('|', wordwrap($desc, 68, '|'));
56
+ echo $shortDesc[0] . '...';
57
+ ?>
58
+ </p>
59
+ </div>
60
+ </div>
61
+ <?php
62
+ // Get the Special Price
63
+ $specialprice = Mage::getModel('catalog/product')->load($_item["entity_id"])->getSpecialPrice();
64
+ // Get the Special Price FROM date
65
+ $specialPriceFromDate = Mage::getModel('catalog/product')->load($_item["entity_id"])->getSpecialFromDate();
66
+ // Get the Special Price TO date
67
+ $specialPriceToDate = Mage::getModel('catalog/product')->load($_item["entity_id"])->getSpecialToDate();
68
+ // Get Current date
69
+ $today = time();
70
+ // without currency sign
71
+ $_specialPrice = $_item->getFinalPrice();
72
+ $nonEscapableNbspChar = html_entity_decode('&#160;&#160;', ENT_NOQUOTES, 'UTF-8');
73
+ if ($specialprice):
74
+ ?>
75
+ <div class="border-bottom">
76
+ <div class="box-price">
77
+ <?php
78
+ if($today >= strtotime( $specialPriceFromDate) && $today <= strtotime($specialPriceToDate) || $today >= strtotime( $specialPriceFromDate) && is_null($specialPriceToDate)):
79
+ echo '<div class="special-price"><span class="format-span-price1">'.$_formattedActualPrice = Mage::helper('core')->currency($_item->getPrice(),true,false).'</span>';
80
+ // with currency sign
81
+ echo $nonEscapableNbspChar.'<span><span class="format-span-price2">'.$_formattedSpecialPrice = Mage::helper('core')->currency($_item->getFinalPrice(),true,false).'</span></span></div>';
82
+ endif;
83
+ ?>
84
+ </div>
85
+ </div>
86
+ <?php
87
+ else:
88
+ echo $this->getPriceHtml($_item, true);
89
+ endif;
90
+ ?>
91
+ <?php if($_item->isSaleable()): ?>
92
+ <button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_item) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
93
+ <?php else: ?>
94
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
95
+ <?php endif; ?>
96
+ <div class="ma2-detail">
97
+ <a href="<?php echo $_item->getProductUrl() ?>" title="<?php echo $this->stripTags($_item->getName(), null, true) ?>" class="btn-detail">DETAIL</a>
98
+ </div>
99
+ </div>
100
+ </div>
101
+ </div>
102
+ </div>
103
+ <?php endforeach ?>
104
+ <script type="text/javascript">decorateList('block-related', 'none-recursive')</script>
105
+ </div>
106
+ <script type="text/javascript">
107
+ //<![CDATA[
108
+ $$('.related-checkbox').each(function(elem){
109
+ Event.observe(elem, 'click', addRelatedToProduct)
110
+ });
111
+ var relatedProductsCheckFlag = false;
112
+ function selectAllRelated(txt){
113
+ if (relatedProductsCheckFlag == false) {
114
+ $$('.related-checkbox').each(function(elem){
115
+ elem.checked = true;
116
+ });
117
+ relatedProductsCheckFlag = true;
118
+ txt.innerHTML="<?php echo $this->__('unselect all') ?>";
119
+ } else {
120
+ $$('.related-checkbox').each(function(elem){
121
+ elem.checked = false;
122
+ });
123
+ relatedProductsCheckFlag = false;
124
+ txt.innerHTML="<?php echo $this->__('select all') ?>";
125
+ }
126
+ addRelatedToProduct();
127
+ }
128
+ function addRelatedToProduct(){
129
+ var checkboxes = $$('.related-checkbox');
130
+ var values = [];
131
+ for(var i=0;i<checkboxes.length;i++){
132
+ if(checkboxes[i].checked) values.push(checkboxes[i].value);
133
+ }
134
+ if($('related-products-field')){
135
+ $('related-products-field').value = values.join(',');
136
+ }
137
+ }
138
+ //]]>
139
+ </script>
140
+ </div>
141
+ <?php endif ?>
app/design/frontend/ma2/ante/template/catalog/product/price.phtml ADDED
@@ -0,0 +1,448 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 displaying product price in different places (products grid, product view page etc)
30
+ *
31
+ * @see Mage_Catalog_Block_Product_Abstract
32
+ */
33
+ ?>
34
+ <?php
35
+ $_coreHelper = $this->helper('core');
36
+ $_weeeHelper = $this->helper('weee');
37
+ $_taxHelper = $this->helper('tax');
38
+ /* @var $_coreHelper Mage_Core_Helper_Data */
39
+ /* @var $_weeeHelper Mage_Weee_Helper_Data */
40
+ /* @var $_taxHelper Mage_Tax_Helper_Data */
41
+ $_product = $this->getProduct();
42
+ $_storeId = $_product->getStoreId();
43
+ $_id = $_product->getId();
44
+ $_weeeSeparator = '';
45
+ $_simplePricesTax = ($_taxHelper->displayPriceIncludingTax() || $_taxHelper->displayBothPrices());
46
+ $_minimalPriceValue = $_product->getMinimalPrice();
47
+ $_minimalPrice = $_taxHelper->getPrice($_product, $_minimalPriceValue, $_simplePricesTax);
48
+ ?>
49
+ <?php
50
+ /**
51
+ * Created OMG & VDH
52
+ **/
53
+ //$helper_data = $this->helper('manageimage');
54
+ $_color_price = $this->getColorPriceProduct();
55
+ ?>
56
+ <?php if (!$_product->isGrouped()): ?>
57
+ <?php $_weeeTaxAmount = $_weeeHelper->getAmountForDisplay($_product); ?>
58
+ <?php if ($_weeeHelper->typeOfDisplay($_product, array(Mage_Weee_Model_Tax::DISPLAY_INCL_DESCR, Mage_Weee_Model_Tax::DISPLAY_EXCL_DESCR_INCL, 4))): ?>
59
+ <?php $_weeeTaxAmount = $_weeeHelper->getAmount($_product); ?>
60
+ <?php $_weeeTaxAttributes = $_weeeHelper->getProductWeeeAttributesForDisplay($_product); ?>
61
+ <?php endif; ?>
62
+ <?php $_weeeTaxAmountInclTaxes = $_weeeTaxAmount; ?>
63
+ <?php if ($_weeeHelper->isTaxable() && !$_taxHelper->priceIncludesTax($_storeId)): ?>
64
+ <?php $_attributes = $_weeeHelper->getProductWeeeAttributesForRenderer($_product, null, null, null, true); ?>
65
+ <?php $_weeeTaxAmountInclTaxes = $_weeeHelper->getAmountInclTaxes($_attributes); ?>
66
+ <?php endif; ?>
67
+ <div class="special-price">
68
+ <?php $_price = $_taxHelper->getPrice($_product, $_product->getPrice()) ?>
69
+ <?php $_regularPrice = $_taxHelper->getPrice($_product, $_product->getPrice(), $_simplePricesTax) ?>
70
+ <?php $_finalPrice = $_taxHelper->getPrice($_product, $_product->getFinalPrice()) ?>
71
+ <?php $_finalPriceInclTax = $_taxHelper->getPrice($_product, $_product->getFinalPrice(), true) ?>
72
+ <?php $_weeeDisplayType = $_weeeHelper->getPriceDisplayType(); ?>
73
+ <?php if ($_finalPrice >= $_price): ?>
74
+ <?php if ($_taxHelper->displayBothPrices()): ?>
75
+ <?php if ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 0)): // including ?>
76
+ <span class="price-excluding-tax">
77
+ <span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
78
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
79
+ <?php echo $_coreHelper->currency($_price + $_weeeTaxAmount, true, false) ?>
80
+ </span>
81
+ </span>
82
+ <span class="price-including-tax">
83
+ <span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
84
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
85
+ <?php echo $_coreHelper->currency($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, true, false) ?>
86
+ </span>
87
+ </span>
88
+ <?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 1)): // incl. + weee ?>
89
+ <span class="price-excluding-tax">
90
+ <span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
91
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
92
+ <?php echo $_coreHelper->currency($_price + $_weeeTaxAmount, true, false) ?>
93
+ </span>
94
+ </span>
95
+ <span class="price-including-tax">
96
+ <span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
97
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
98
+ <?php echo $_coreHelper->currency($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, true, false) ?>
99
+ </span>
100
+ <span class="weee">(
101
+ <?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
102
+ <?php echo $_weeeSeparator; ?>
103
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
104
+ <?php $_weeeSeparator = ' + '; ?>
105
+ <?php endforeach; ?>
106
+ )</span>
107
+ </span>
108
+ <?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 4)): // incl. + weee ?>
109
+ <span class="price-excluding-tax">
110
+ <span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
111
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
112
+ <?php echo $_coreHelper->currency($_price + $_weeeTaxAmount, true, false) ?>
113
+ </span>
114
+ </span>
115
+ <span class="price-including-tax">
116
+ <span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
117
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
118
+ <?php echo $_coreHelper->currency($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, true, false) ?>
119
+ </span>
120
+ <span class="weee">(
121
+ <?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
122
+ <?php echo $_weeeSeparator; ?>
123
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount() + $_weeeTaxAttribute->getTaxAmount(), true, true); ?>
124
+ <?php $_weeeSeparator = ' + '; ?>
125
+ <?php endforeach; ?>
126
+ )</span>
127
+ </span>
128
+ <?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 2)): // excl. + weee + final ?>
129
+ <span class="price-excluding-tax">
130
+ <span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
131
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
132
+ <?php echo $_coreHelper->currency($_price, true, false) ?>
133
+ </span>
134
+ </span>
135
+ <?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
136
+ <span class="weee">
137
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
138
+ </span>
139
+ <?php endforeach; ?>
140
+ <span class="price-including-tax">
141
+ <span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
142
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
143
+ <?php echo $_coreHelper->currency($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, true, false) ?>
144
+ </span>
145
+ </span>
146
+ <?php else: ?>
147
+ <span class="price-excluding-tax">
148
+ <span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
149
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
150
+ <?php if ($_finalPrice == $_price): ?>
151
+ <?php echo $_coreHelper->currency($_price, true, false) ?>
152
+ <?php else: ?>
153
+ <?php echo $_coreHelper->currency($_finalPrice, true, false) ?>
154
+ <?php endif; ?>
155
+ </span>
156
+ </span>
157
+ <span class="price-including-tax">
158
+ <span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
159
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
160
+ <?php echo $_coreHelper->currency($_finalPriceInclTax, true, false) ?>
161
+ </span>
162
+ </span>
163
+ <?php endif; ?>
164
+ <?php else: ?>
165
+ <?php if ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 0)): // including ?>
166
+ <span class="price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
167
+ <?php echo $_coreHelper->currency($_price + $_weeeTaxAmount, true, true) ?>
168
+ </span>
169
+ <?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 1)): // incl. + weee ?>
170
+ <span class="price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
171
+ <?php echo $_coreHelper->currency($_price + $_weeeTaxAmount, true, true) ?>
172
+ </span>
173
+ <span class="weee">(
174
+ <?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
175
+ <?php echo $_weeeSeparator; ?>
176
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
177
+ <?php $_weeeSeparator = ' + '; ?>
178
+ <?php endforeach; ?>
179
+ )</span>
180
+ <?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 4)): // incl. + weee ?>
181
+ <span class="price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
182
+ <?php echo $_coreHelper->currency($_price + $_weeeTaxAmount, true, true) ?>
183
+ </span>
184
+ <span class="weee">(
185
+ <?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
186
+ <?php echo $_weeeSeparator; ?>
187
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount() + $_weeeTaxAttribute->getTaxAmount(), true, true); ?>
188
+ <?php $_weeeSeparator = ' + '; ?>
189
+ <?php endforeach; ?>
190
+ )</span>
191
+ <?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 2)): // excl. + weee + final ?>
192
+ <span class="price"><?php echo $_coreHelper->currency($_price,true,true) ?></span><br />
193
+ <?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
194
+ <span class="weee">
195
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
196
+ </span>
197
+ <?php endforeach; ?>
198
+ <span class="price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
199
+ <?php echo $_coreHelper->currency($_price + $_weeeTaxAmount, true, true) ?>
200
+ </span>
201
+ <?php else: ?>
202
+ <!--Only Price -->
203
+ <div style="width: 99%;">
204
+ <span class="price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
205
+ <?php if ($_finalPrice == $_price): ?>
206
+ <?php
207
+ $old_class_price = 'price';
208
+ $corePrice = $_coreHelper->currency($_price, true, true);
209
+ $addPrice = str_replace("price","",$corePrice); $endPrice = '<span '.$_color_price.'>'.$addPrice.'</span>';
210
+ ?>
211
+ <?php echo $endPrice;?>
212
+ <?php else: ?>
213
+ <?php
214
+ $corefinalPrice = $_coreHelper->currency($_finalPrice, true, true); $addfinalPrice = str_replace("price","",$corefinalPrice);
215
+ $endfinalPrice = '<span '.$_color_price.'>'.$addfinalPrice.'</span>';
216
+ ?>
217
+ <?php echo $endfinalPrice; ?>
218
+ <?php endif; ?>
219
+ </span></div>
220
+ <?php endif; ?>
221
+ <?php endif; ?>
222
+ <?php else: /* if ($_finalPrice == $_price): */ ?>
223
+ <?php $_originalWeeeTaxAmount = $_weeeHelper->getOriginalAmount($_product); ?>
224
+ <?php if ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 0)): // including ?>
225
+ <p class="old-price">
226
+ <span class="price-label"><?php echo $this->__('Regular Price:<br />') ?></span>
227
+ <span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
228
+ <?php echo $_coreHelper->currency($_regularPrice + $_originalWeeeTaxAmount, true, false) ?>
229
+ </span>
230
+ </p>
231
+ <?php if ($_taxHelper->displayBothPrices()): ?>
232
+ <p class="special-price">
233
+ <span class="price-label"><?php echo $this->__('Special Price:<br />') ?></span>
234
+ <span class="price-excluding-tax">
235
+ <span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
236
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
237
+ <span <?php echo $_color_price;?>>
238
+ <?php echo $_coreHelper->currency($_finalPrice + $_weeeTaxAmount, true, false) ?>
239
+ </span>
240
+ </span>
241
+ </span>
242
+ <span class="price-including-tax">
243
+ <span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
244
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
245
+ <?php echo $_coreHelper->currency($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, true, false) ?>
246
+ </span>
247
+ </span>
248
+ </p>
249
+ <?php else: ?>
250
+ <p class="special-price">
251
+ <span class="price-label"><?php echo $this->__('Special Price:<br />') ?></span>
252
+ <span class="price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
253
+ <span <?php echo $_color_price;?>><?php echo $_coreHelper->currency($_finalPrice + $_weeeTaxAmountInclTaxes, true, false) ?></span>
254
+ </span>
255
+ </p>
256
+ <?php endif; ?>
257
+ <?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 1)): // incl. + weee ?>
258
+ <p class="old-price">
259
+ <span class="price-label"><?php echo $this->__('Regular Price:<br />') ?></span>
260
+ <span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
261
+ <?php echo $_coreHelper->currency($_regularPrice + $_originalWeeeTaxAmount, true, false) ?>
262
+ </span>
263
+ </p>
264
+ <p class="special-price">
265
+ <span class="price-label"><?php echo $this->__('Special Price:<br />') ?></span>
266
+ <span class="price-excluding-tax">
267
+ <span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
268
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
269
+ <span <?php echo $_color_price;?>>
270
+ <?php echo $_coreHelper->currency($_finalPrice + $_weeeTaxAmount, true, false) ?>
271
+ </span>
272
+ </span>
273
+ </span>
274
+ <span class="weee">(
275
+ <?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
276
+ <?php echo $_weeeSeparator; ?>
277
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
278
+ <?php $_weeeSeparator = ' + '; ?>
279
+ <?php endforeach; ?>
280
+ )</span>
281
+ <span class="price-including-tax">
282
+ <span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
283
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
284
+ <?php echo $_coreHelper->currency($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, true, false) ?>
285
+ </span>
286
+ </span>
287
+ </p>
288
+ <?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 4)): // incl. + weee ?>
289
+ <p class="old-price">
290
+ <span class="price-label"><?php echo $this->__('Regular Price:<br />') ?></span>
291
+ <span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
292
+ <?php echo $_coreHelper->currency($_regularPrice + $_originalWeeeTaxAmount, true, false) ?>
293
+ </span>
294
+ </p>
295
+ <p class="special-price">
296
+ <span class="price-label"><?php echo $this->__('Special Price:<br />') ?></span>
297
+ <span class="price-excluding-tax">
298
+ <span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
299
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
300
+ <span <?php echo $_color_price;?>>
301
+ <?php echo $_coreHelper->currency($_finalPrice + $_weeeTaxAmount, true, false) ?>
302
+ </span>
303
+ </span>
304
+ </span>
305
+ <span class="weee">(
306
+ <?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
307
+ <?php echo $_weeeSeparator; ?>
308
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount() + $_weeeTaxAttribute->getTaxAmount(), true, true); ?>
309
+ <?php $_weeeSeparator = ' + '; ?>
310
+ <?php endforeach; ?>
311
+ )</span>
312
+ <span class="price-including-tax">
313
+ <span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
314
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
315
+ <?php echo $_coreHelper->currency($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, true, false) ?>
316
+ </span>
317
+ </span>
318
+ </p>
319
+ <?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 2)): // excl. + weee + final ?>
320
+ <p class="old-price">
321
+ <span class="price-label"><?php echo $this->__('Regular Price:<br />') ?></span>
322
+ <span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
323
+ <?php echo $_coreHelper->currency($_regularPrice, true, false) ?>
324
+ </span>
325
+ </p>
326
+ <p class="special-price">
327
+ <span class="price-label"><?php echo $this->__('Special Price:<br />') ?></span>
328
+ <span class="price-excluding-tax">
329
+ <span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
330
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
331
+ <span <?php echo $_color_price;?>>
332
+ <?php echo $_coreHelper->currency($_finalPrice, true, false) ?>
333
+ </span>
334
+ </span>
335
+ </span>
336
+ <?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
337
+ <span class="weee">
338
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
339
+ </span>
340
+ <?php endforeach; ?>
341
+ <span class="price-including-tax">
342
+ <span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
343
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
344
+ <?php echo $_coreHelper->currency($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, true, false) ?>
345
+ </span>
346
+ </span>
347
+ </p>
348
+ <?php else: // excl. ?>
349
+ <p class="old-price">
350
+ <span class="price-label"><?php echo $this->__('Regular Price:<br />') ?></span>
351
+ <span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
352
+ <?php echo $_coreHelper->currency($_regularPrice, true, false) ?>
353
+ </span>
354
+ </p>
355
+ <?php if ($_taxHelper->displayBothPrices()): ?>
356
+ <p class="special-price">
357
+ <span class="price-label"><?php echo $this->__('Special Price:<br />') ?></span>
358
+ <span class="price-excluding-tax">
359
+ <span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
360
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
361
+ <span <?php echo $_color_price;?>>
362
+ <?php echo $_coreHelper->currency($_finalPrice, true, false) ?>
363
+ </span>
364
+ </span>
365
+ </span>
366
+ <span class="price-including-tax">
367
+ <span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
368
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
369
+ <?php echo $_coreHelper->currency($_finalPriceInclTax, true, false) ?>
370
+ </span>
371
+ </span>
372
+ </p>
373
+ <?php else: ?>
374
+ <p class="special-price">
375
+ <span class="price-label"><?php echo $this->__('Special Price:<br />') ?></span>
376
+ <span class="price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
377
+ <span <?php echo $_color_price;?>>
378
+ <?php echo $_coreHelper->currency($_finalPrice, true, false) ?>
379
+ </span>
380
+ </span>
381
+ </p>
382
+ <?php endif; ?>
383
+ <?php endif; ?>
384
+ <?php endif; /* if ($_finalPrice == $_price): */ ?>
385
+ <?php if ($this->getDisplayMinimalPrice() && $_minimalPriceValue && $_minimalPriceValue < $_product->getFinalPrice()): ?>
386
+ <?php $_minimalPriceDisplayValue = $_minimalPrice; ?>
387
+ <?php if ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, array(0, 1, 4))): ?>
388
+ <?php $_minimalPriceDisplayValue = $_minimalPrice + $_weeeTaxAmount; ?>
389
+ <?php endif; ?>
390
+ <?php if ($this->getUseLinkForAsLowAs()):?>
391
+ <a href="<?php echo $_product->getProductUrl(); ?>" class="minimal-price-link">
392
+ <?php else:?>
393
+ <span class="minimal-price-link">
394
+ <?php endif?>
395
+ <span class="label"><?php echo $this->__('As low as:') ?></span>
396
+ <span class="price" id="product-minimal-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
397
+ <?php echo $_coreHelper->currency($_minimalPriceDisplayValue, true, false) ?>
398
+ </span>
399
+ <?php if ($this->getUseLinkForAsLowAs()):?>
400
+ </a>
401
+ <?php else:?>
402
+ </span>
403
+ <?php endif?>
404
+ <?php endif; /* if ($this->getDisplayMinimalPrice() && $_minimalPrice && $_minimalPrice < $_finalPrice): */ ?>
405
+ </div>
406
+ <?php else: /* if (!$_product->isGrouped()): */ ?>
407
+ <?php
408
+ $_exclTax = $_taxHelper->getPrice($_product, $_minimalPriceValue);
409
+ $_inclTax = $_taxHelper->getPrice($_product, $_minimalPriceValue, true);
410
+ ?>
411
+ <?php if ($this->getDisplayMinimalPrice() && $_minimalPriceValue): ?>
412
+ <div class="special-price">
413
+ <p class="minimal-price" style="margin-top:42px;">
414
+ <span class="price-label"><?php echo $this->__('Starting at:') ?></span><br />
415
+ <?php if ($_taxHelper->displayBothPrices()): ?>
416
+ <span class="price-excluding-tax">
417
+ <span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
418
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
419
+ <span <?php echo $_color_price;?>>
420
+ <?php echo $_coreHelper->currency($_exclTax, true, false) ?>
421
+ </span>
422
+ </span>
423
+ </span>
424
+ <span class="price-including-tax">
425
+ <span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
426
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
427
+ <span <?php echo $_color_price;?>>
428
+ <?php echo $_coreHelper->currency($_inclTax, true, false) ?>
429
+ </span>
430
+ </span>
431
+ </span>
432
+ <?php else: ?>
433
+ <?php
434
+ $_showPrice = $_inclTax;
435
+ if (!$_taxHelper->displayPriceIncludingTax()) {
436
+ $_showPrice = $_exclTax;
437
+ }
438
+ ?>
439
+ <span class="price" id="product-minimal-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
440
+ <span <?php echo $_color_price;?>>
441
+ <?php echo $_coreHelper->currency($_showPrice, true, false) ?>
442
+ </span>
443
+ </span>
444
+ <?php endif; ?>
445
+ </p>
446
+ </div>
447
+ <?php endif; /* if ($this->getDisplayMinimalPrice() && $_minimalPrice): */ ?>
448
+ <?php endif; /* if (!$_product->isGrouped()): */ ?>
app/design/frontend/ma2/ante/template/catalog/product/view.phtml ADDED
@@ -0,0 +1,199 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php $_helper = $this->helper('catalog/output'); ?>
2
+ <?php $_product = $this->getProduct(); ?>
3
+ <script type="text/javascript">
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>
11
+ <?php echo $_helper->productAttribute($_product, $_product->getName(), 'name') ?>
12
+ </span>
13
+ </span>
14
+ </h2>
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>
app/design/frontend/ma2/ante/template/catalog/product/view/additional.phtml ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 foreach ($this->getChildHtmlList() as $_html): ?>
28
+ <?php echo $_html ?>
29
+ <?php endforeach; ?>
app/design/frontend/ma2/ante/template/catalog/product/view/addto.phtml ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+
28
+ <?php $_product = $this->getProduct(); ?>
29
+ <?php $_wishlistSubmitUrl = $this->helper('wishlist')->getAddUrl($_product); ?>
30
+
31
+ <ul class="add-to-links" id="add-to-link">
32
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
33
+ <li><a href="<?php echo $_wishlistSubmitUrl ?>" onclick="productAddToCartForm.submitLight(this, this.href); return false;" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
34
+ <?php endif; ?>
35
+ <?php
36
+ $_compareUrl = $this->helper('catalog/product_compare')->getAddUrl($_product);
37
+ ?>
38
+ <?php if($_compareUrl) : ?>
39
+ <li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
40
+ <?php endif; ?>
41
+ </ul>
app/design/frontend/ma2/ante/template/catalog/product/view/addtocart.phtml ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 $_product = $this->getProduct(); ?>
28
+ <?php $buttonTitle = $this->__('Add to Cart'); ?>
29
+ <?php if($_product->isSaleable()): ?>
30
+ <div class="add-to-cart">
31
+ <!--
32
+ <?php //if(!$_product->isGrouped()): ?>
33
+ <label for="qty"><?php //echo $this->__('Qty:') ?></label>
34
+ <input type="text" name="qty" id="qty" maxlength="12" value="<?php //echo $this->getProductDefaultQty() * 1 ?>" title="<?php //echo $this->__('Qty') ?>" class="input-text qty" />
35
+ <?php //endif; ?>
36
+ -->
37
+ <button type="button" title="<?php echo $buttonTitle ?>" class="button btn-cart" onclick="productAddToCartForm.submit(this)"><span><span><?php echo $buttonTitle ?></span></span></button>
38
+ <?php echo $this->getChildHtml('', true, true) ?>
39
+ </div>
40
+ <?php endif; ?>
app/design/frontend/ma2/ante/template/catalog/product/view/price.phtml ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ * @deprecated after 1.4.0.0-alpha3
28
+ */
29
+ ?>
30
+ <div class="price-box" id="product_price">
31
+ <p class="old-price"><?php echo $this->__('Old Price:') ?> <?php echo $this->getPrice() ?></p>
32
+ <p class="special-price"><?php echo $this->getPrice() ?></p>
33
+ </div>
app/design/frontend/ma2/ante/template/catalog/product/view/price_clone.phtml ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 $_product = $this->getProduct() ?>
28
+ <?php echo $this->getPriceHtml($_product, false, '_clone') ?>
app/design/frontend/ma2/ante/template/catalog/product/view/tierprices.phtml ADDED
@@ -0,0 +1,221 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ * @see Mage_Catalog_Block_Product_View
30
+ */
31
+ $_product = $this->getProduct();
32
+ $_tierPrices = $this->getTierPrices();
33
+ $_finalPriceInclTax = $this->helper('tax')->getPrice($_product, $_product->getFinalPrice(), true);
34
+ /** @var $_catalogHelper Mage_Catalog_Helper_Data */
35
+ $_catalogHelper = Mage::helper('catalog');
36
+ $_weeeTaxAmount = Mage::helper('weee')->getAmountForDisplay($_product);
37
+ if (Mage::helper('weee')->typeOfDisplay($_product, array(1,2,4))) {
38
+ $_weeeTaxAttributes = Mage::helper('weee')->getProductWeeeAttributesForDisplay($_product);
39
+ }
40
+ ?>
41
+ <?php if (count($_tierPrices) > 0): ?>
42
+ <ul class="<?php echo ($this->getInGrouped() ? 'tier-prices-grouped product-pricing-grouped' : 'tier-prices product-pricing'); ?>">
43
+ <?php if ($this->getInGrouped()): ?>
44
+ <?php $_tierPrices = $this->getTierPrices($_product); ?>
45
+ <?php endif; ?>
46
+ <?php Mage::helper('weee')->processTierPrices($_product, $_tierPrices); ?>
47
+ <?php foreach ($_tierPrices as $_index => $_price): ?>
48
+ <li>
49
+ <?php if ($_catalogHelper->canApplyMsrp($_product)): ?>
50
+ <?php if ($this->getInGrouped()): ?>
51
+ <?php echo $this->__('Buy %1$s for', $_price['price_qty']) ?>:
52
+ <?php else: ?>
53
+ <?php echo $this->__('Buy %1$s', $_price['price_qty']) ?>
54
+ <?php endif; ?>
55
+ <?php else: ?>
56
+ <?php if ($this->helper('tax')->displayBothPrices()): ?>
57
+ <?php if (Mage::helper('weee')->typeOfDisplay($_product, 0)): ?>
58
+ <?php echo $this->__('Buy %1$s for %2$s (%3$s incl. tax) each', $_price['price_qty'], $_price['formated_price_incl_weee_only'], $_price['formated_price_incl_weee']) ?>
59
+ <?php elseif(Mage::helper('weee')->typeOfDisplay($_product, 1)): ?>
60
+ <?php echo $this->__('Buy %1$s for %2$s', $_price['price_qty'], $_price['formated_price_incl_weee_only']); ?>
61
+ <?php if ($_weeeTaxAttributes): ?>
62
+ (<small>
63
+ <?php echo $this->__('%1$s incl tax.', $_price['formated_price_incl_weee']); ?>
64
+ <?php $separator = ' + '; foreach ($_weeeTaxAttributes as $_attribute): ?>
65
+ <?php echo $separator; ?>
66
+ <?php echo $_attribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_attribute->getAmount()); ?>
67
+ <?php endforeach; ?>
68
+ </small>)
69
+ <?php endif; ?>
70
+ <?php echo $this->__('each') ?>
71
+ <?php elseif(Mage::helper('weee')->typeOfDisplay($_product, 4)): ?>
72
+ <?php echo $this->__('Buy %1$s for %2$s', $_price['price_qty'], $_price['formated_price_incl_weee_only']); ?>
73
+ <?php if ($_weeeTaxAttributes): ?>
74
+ (<small>
75
+ <?php echo $this->__('%1$s incl tax.', $_price['formated_price_incl_weee']); ?>
76
+ <?php $separator = ' + '; foreach ($_weeeTaxAttributes as $_attribute): ?>
77
+ <?php echo $separator; ?>
78
+ <?php echo $_attribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_attribute->getAmount()+$_attribute->getTaxAmount()); ?>
79
+ <?php endforeach; ?>
80
+ </small>)
81
+ <?php endif; ?>
82
+ <?php echo $this->__('each') ?>
83
+ <?php elseif(Mage::helper('weee')->typeOfDisplay($_product, 2)): ?>
84
+ <?php echo $this->__('Buy %1$s for %2$s', $_price['price_qty'], $_price['formated_price']); ?>
85
+ <?php if ($_weeeTaxAttributes): ?>
86
+ (<small>
87
+ <?php foreach ($_weeeTaxAttributes as $_attribute): ?>
88
+ <?php echo $_attribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_attribute->getAmount()); ?>
89
+ <?php endforeach; ?>
90
+ <?php echo $this->__('Total incl. Tax: %1$s', $_price['formated_price_incl_weee']); ?>
91
+ </small>)
92
+ <?php endif; ?>
93
+ <?php echo $this->__('each') ?>
94
+ <?php else: ?>
95
+ <?php echo $this->__('Buy %1$s for %2$s (%3$s incl. tax) each', $_price['price_qty'], $_price['formated_price'], $_price['formated_price_incl_tax']) ?>
96
+ <?php endif; ?>
97
+ <?php else: ?>
98
+ <?php if ($this->helper('tax')->displayPriceIncludingTax()): ?>
99
+ <?php if (Mage::helper('weee')->typeOfDisplay($_product, 0)): ?>
100
+ <?php echo $this->__('Buy %1$s for %2$s each', $_price['price_qty'], $_price['formated_price_incl_weee']) ?>
101
+ <?php elseif(Mage::helper('weee')->typeOfDisplay($_product, 1)): ?>
102
+ <?php echo $this->__('Buy %1$s for %2$s', $_price['price_qty'], $_price['formated_price_incl_weee']); ?>
103
+ <?php if ($_weeeTaxAttributes): ?>
104
+ (<small>
105
+ <?php $separator = ''; foreach ($_weeeTaxAttributes as $_attribute): ?>
106
+ <?php echo $separator; ?>
107
+ <?php echo $_attribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_attribute->getAmount()); ?>
108
+ <?php $separator = ' + '; endforeach; ?>
109
+ </small>)
110
+ <?php endif; ?>
111
+ <?php echo $this->__('each') ?>
112
+ <?php elseif(Mage::helper('weee')->typeOfDisplay($_product, 4)): ?>
113
+ <?php echo $this->__('Buy %1$s for %2$s', $_price['price_qty'], $_price['formated_price_incl_weee']); ?>
114
+ <?php if ($_weeeTaxAttributes): ?>
115
+ (<small>
116
+ <?php $separator = ''; foreach ($_weeeTaxAttributes as $_attribute): ?>
117
+ <?php echo $separator; ?>
118
+ <?php echo $_attribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_attribute->getAmount()+$_attribute->getTaxAmount()); ?>
119
+ <?php $separator = ' + '; endforeach; ?>
120
+ </small>)
121
+ <?php endif; ?>
122
+ <?php echo $this->__('each') ?>
123
+ <?php elseif(Mage::helper('weee')->typeOfDisplay($_product, 2)): ?>
124
+ <?php echo $this->__('Buy %1$s for %2$s', $_price['price_qty'], $_price['formated_price_incl_tax']); ?>
125
+ <?php if ($_weeeTaxAttributes): ?>
126
+ (<small>
127
+ <?php foreach ($_weeeTaxAttributes as $_attribute): ?>
128
+ <?php echo $_attribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_attribute->getAmount()); ?>
129
+ <?php endforeach; ?>
130
+ <?php echo $this->__('Total incl. Tax: %1$s', $_price['formated_price_incl_weee']); ?>
131
+ </small>)
132
+ <?php endif; ?>
133
+ <?php echo $this->__('each') ?>
134
+ <?php else: ?>
135
+ <?php echo $this->__('Buy %1$s for %2$s each', $_price['price_qty'], $_price['formated_price_incl_tax']) ?>
136
+ <?php endif; ?>
137
+ <?php else: ?>
138
+ <?php if (Mage::helper('weee')->typeOfDisplay($_product, 0)): ?>
139
+ <?php echo $this->__('Buy %1$s for %2$s each', $_price['price_qty'], $_price['formated_price_incl_weee_only']) ?>
140
+ <?php elseif(Mage::helper('weee')->typeOfDisplay($_product, 1)): ?>
141
+ <?php echo $this->__('Buy %1$s for %2$s', $_price['price_qty'], $_price['formated_price_incl_weee_only']); ?>
142
+ <?php if ($_weeeTaxAttributes): ?>
143
+ (<small>
144
+ <?php $separator = ''; foreach ($_weeeTaxAttributes as $_attribute): ?>
145
+ <?php echo $separator; ?>
146
+ <?php echo $_attribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_attribute->getAmount()); ?>
147
+ <?php $separator = ' + '; endforeach; ?>
148
+ </small>)
149
+ <?php endif; ?>
150
+ <?php echo $this->__('each') ?>
151
+ <?php elseif(Mage::helper('weee')->typeOfDisplay($_product, 4)): ?>
152
+ <?php echo $this->__('Buy %1$s for %2$s', $_price['price_qty'], $_price['formated_price_incl_weee_only']); ?>
153
+ <?php if ($_weeeTaxAttributes): ?>
154
+ (<small>
155
+ <?php $separator = ''; foreach ($_weeeTaxAttributes as $_attribute): ?>
156
+ <?php echo $separator; ?>
157
+ <?php echo $_attribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_attribute->getAmount()+$_attribute->getTaxAmount()); ?>
158
+ <?php $separator = ' + '; endforeach; ?>
159
+ </small>)
160
+ <?php endif; ?>
161
+ <?php echo $this->__('each') ?>
162
+ <?php elseif(Mage::helper('weee')->typeOfDisplay($_product, 2)): ?>
163
+ <?php echo $this->__('Buy %1$s for %2$s', $_price['price_qty'], $_price['formated_price']); ?>
164
+ <?php if ($_weeeTaxAttributes): ?>
165
+ (<small>
166
+ <?php foreach ($_weeeTaxAttributes as $_attribute): ?>
167
+ <?php echo $_attribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_attribute->getAmount()); ?>
168
+ <?php endforeach; ?>
169
+ <?php echo $this->__('Total incl. Tax: %1$s', $_price['formated_price_incl_weee_only']); ?>
170
+ </small>)
171
+ <?php endif; ?>
172
+ <?php echo $this->__('each') ?>
173
+ <?php else: ?>
174
+ <?php echo $this->__('Buy %1$s for %2$s each', $_price['price_qty'], $_price['formated_price']) ?>
175
+ <?php endif; ?>
176
+ <?php endif; ?>
177
+ <?php endif; ?>
178
+ <?php endif; // Can apply MSRP ?>
179
+ <?php if (!$this->getInGrouped()): ?>
180
+ <?php if(($_product->getPrice() == $_product->getFinalPrice() && $_product->getPrice() > $_price['price'])
181
+ || ($_product->getPrice() != $_product->getFinalPrice() && $_product->getFinalPrice() > $_price['price'])): ?>
182
+ <?php echo $this->__('and') ?>&nbsp;<strong class="benefit"><?php echo $this->__('save')?>&nbsp;<span class="percent tier-<?php echo $_index;?>"><?php echo $_price['savePercent']?></span>%
183
+ <?php endif ?></strong>
184
+ <?php endif; ?>
185
+ <?php if ($_catalogHelper->isShowPriceOnGesture($_product)):?>
186
+ <?php $popupId = 'msrp-popup-' . $_product->getId() . $this->helper('core')->getRandomString(20); ?>
187
+ <a href="#" id="<?php echo($popupId);?>"><?php echo $this->__('Click for price'); ?></a>
188
+ <script type="text/javascript">
189
+ <?php
190
+ $addToCartUrl = $this->getProduct()->isSalable()
191
+ ? $this->getAddToCartUrl($_product, array('qty' => $_price['price_qty']))
192
+ : '';
193
+ ?>
194
+ <?php if (!$this->getInGrouped()): ?>
195
+ var newLink = {
196
+ url: "<?php echo $addToCartUrl; ?>",
197
+ qty: "<?php echo $_price['price_qty']?>"
198
+ };
199
+ <?php else: ?>
200
+ var newLink = {
201
+ url: "<?php echo $addToCartUrl; ?>",
202
+ notUseForm: true
203
+ };
204
+ <?php endif ?>
205
+ Catalog.Map.addHelpLink(
206
+ $('<?php echo $popupId ?>'),
207
+ "<?php echo $_product->getName() ?>",
208
+ <?php echo json_encode($_price['real_price_html']) ?>,
209
+ "<?php echo $this->helper('core')->currency($_product->getMsrp(),true,false) ?>",
210
+ newLink
211
+ );
212
+ </script>
213
+ <?php else: ?>
214
+ <span class="msrp-price-hide-message">
215
+ <?php echo $_catalogHelper->getMsrpPriceMessage($_product) ?>
216
+ </span>
217
+ <?php endif; ?>
218
+ </li>
219
+ <?php endforeach ?>
220
+ </ul>
221
+ <?php endif;?>
app/design/frontend/ma2/ante/template/catalog/product/view/type/default.phtml ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 /* @var $this Mage_Catalog_Block_Product_View_Abstract */?>
28
+ <?php $_product = $this->getProduct() ?>
29
+ <?php if ($_product->isAvailable()): ?>
30
+ <p class="availability in-stock"><?php echo $this->__('Availability:') ?> <span><?php echo $this->__('In stock') ?></span></p>
31
+ <?php else: ?>
32
+ <p class="availability out-of-stock"><?php echo $this->__('Availability:') ?> <span><?php echo $this->__('Out of stock') ?></span></p>
33
+ <?php endif; ?>
34
+ <?php echo $this->getChildHtml('product_type_data_extra') ?>
35
+ <?php echo '<div style="display:none;">'.$this->getPriceHtml($_product).'</div>'; ?>
app/design/frontend/ma2/ante/template/catalog/product/view/type/onlyprice.phtml ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 /* @var $this Mage_Catalog_Block_Product_View_Abstract */?>
28
+
29
+ <?php $_product = $this->getProduct() ?>
30
+ <?php echo $this->getPriceHtml($_product) ?>
app/design/frontend/ma2/ante/template/catalogsearch/advanced/form.phtml ADDED
@@ -0,0 +1,96 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ * Catalog advanced search form
30
+ *
31
+ * @see Mage_CatalogSearch_Block_Advanced_Form
32
+ */
33
+ ?>
34
+ <?php $maxQueryLength= $this->helper('catalogsearch')->getMaxQueryLength();?>
35
+ <div class="page-title">
36
+ <h1><?php echo $this->__('Catalog Advanced Search') ?></h1>
37
+ </div>
38
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
39
+ <form action="<?php echo $this->getSearchPostUrl() ?>" method="get" id="form-validate">
40
+ <div class="fieldset advanced-search">
41
+ <h2 class="legend"><?php echo $this->__('Search Settings') ?></h2>
42
+ <ul class="form-list" id="advanced-search-list">
43
+ <?php foreach ($this->getSearchableAttributes() as $_attribute): ?>
44
+ <?php $_code = $_attribute->getAttributeCode() ?>
45
+ <li>
46
+ <label for="<?php echo $_code ?>"><?php echo $this->getAttributeLabel($_attribute) ?></label>
47
+ <?php switch($this->getAttributeInputType($_attribute)):
48
+ case 'number': ?>
49
+ <div class="input-range">
50
+ <input type="text" name="<?php echo $_code ?>[from]" value="<?php echo $this->escapeHtml($this->getAttributeValue($_attribute, 'from')) ?>" id="<?php echo $_code ?>" title="<?php echo $this->escapeHtml($this->getAttributeLabel($_attribute)) ?>" class="input-text validate-number" maxlength="<?php echo $maxQueryLength;?>" />
51
+ <span class="separator">-</span>
52
+ <input type="text" name="<?php echo $_code ?>[to]" value="<?php echo $this->escapeHtml($this->getAttributeValue($_attribute, 'to')) ?>" id="<?php echo $_code ?>_to" title="<?php echo $this->escapeHtml($this->getAttributeLabel($_attribute)) ?>" class="input-text validate-number" maxlength="<?php echo $maxQueryLength;?>" />
53
+ </div>
54
+ <?php break;
55
+ case 'price': ?>
56
+ <div class="input-range">
57
+ <input name="<?php echo $_code ?>[from]" value="<?php echo $this->escapeHtml($this->getAttributeValue($_attribute, 'from')) ?>" id="<?php echo $_code ?>" title="<?php echo $this->escapeHtml($this->getAttributeLabel($_attribute)) ?>" class="input-text validate-number" type="text" maxlength="<?php echo $maxQueryLength;?>" />
58
+ <span class="separator">-</span>
59
+ <input name="<?php echo $_code ?>[to]" value="<?php echo $this->escapeHtml($this->getAttributeValue($_attribute, 'to')) ?>" id="<?php echo $_code ?>_to" title="<?php echo $this->escapeHtml($this->getAttributeLabel($_attribute)) ?>" class="input-text validate-number" type="text" maxlength="<?php echo $maxQueryLength;?>" />
60
+ <small>(<?php echo $this->getCurrency($_attribute); ?>)</small>
61
+ </div>
62
+ <?php break;
63
+ case 'select': ?>
64
+ <div class="input-box">
65
+ <?php echo $this->getAttributeSelectElement($_attribute) ?>
66
+ </div>
67
+ <?php break;
68
+ case 'yesno': ?>
69
+ <?php echo $this->getAttributeYesNoElement($_attribute) ?>
70
+ <?php break;
71
+ case 'date': ?>
72
+ <div class="input-range">
73
+ <?php echo $this->getDateInput($_attribute, 'from') ?>
74
+ <span class="separator">-</span>
75
+ <?php echo $this->getDateInput($_attribute, 'to') ?>
76
+ </div>
77
+ <?php break;
78
+ default: ?>
79
+ <div class="input-box">
80
+ <input type="text" name="<?php echo $_code ?>" id="<?php echo $_code ?>" value="<?php echo $this->escapeHtml($this->getAttributeValue($_attribute)) ?>" title="<?php echo $this->escapeHtml($this->getAttributeLabel($_attribute)) ?>" class="input-text <?php echo $this->getAttributeValidationClass($_attribute) ?>" maxlength="<?php echo $maxQueryLength;?>" />
81
+ </div>
82
+ <?php endswitch; ?>
83
+ </li>
84
+ <?php endforeach; ?>
85
+ </ul>
86
+ <script type="text/javascript">decorateList('advanced-search-list')</script>
87
+ </div>
88
+ <div class="buttons-set">
89
+ <button type="submit" title="<?php echo $this->__('Search') ?>" class="button"><span><span><?php echo $this->__('Search') ?></span></span></button>
90
+ </div>
91
+ </form>
92
+ <script type="text/javascript">
93
+ //<![CDATA[
94
+ var dataForm = new VarienForm('form-validate', true);
95
+ //]]>
96
+ </script>
app/design/frontend/ma2/ante/template/catalogsearch/advanced/result.phtml ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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="page-title">
28
+ <h1><?php echo $this->__('Catalog Advanced Search') ?></h1>
29
+ </div>
30
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
31
+ <?php if($this->getResultCount()): ?>
32
+ <p class="advanced-search-amount">
33
+ <?php echo $this->helper('catalogsearch')->__('<strong>%d item(s)</strong> were found using the following search criteria', $this->getResultCount()); ?>
34
+ </p>
35
+ <?php else: ?>
36
+ <p class="error-msg"><?php echo $this->helper('catalogsearch')->__('No items were found using the following search criteria.');?> <a href="<?php echo $this->getFormUrl(); ?>"><?php echo $this->helper('catalogsearch')->__('Modify your search'); ?></a></p>
37
+ <?php endif; ?>
38
+
39
+ <div class="advanced-search-summary">
40
+ <?php $searchCriterias=$this->getSearchCriterias(); ?>
41
+ <?php foreach (array('left', 'right') as $side): ?>
42
+ <?php if(@$searchCriterias[$side]): ?>
43
+ <ul>
44
+ <?php foreach($searchCriterias[$side] as $criteria): ?>
45
+ <li><strong><?php echo $this->htmlEscape($this->helper('catalog')->__($criteria['name'])); ?>:</strong> <?php echo $this->htmlEscape($criteria['value']); ?></li>
46
+ <?php endforeach; ?>
47
+ </ul>
48
+ <?php endif; ?>
49
+ <?php endforeach; ?>
50
+ <?php if($this->getResultCount()): ?>
51
+ <p>
52
+ <?php echo $this->helper('catalogsearch')->__("Don't see what you're looking for?"); ?>
53
+ <a href="<?php echo $this->getFormUrl(); ?>"><?php echo $this->helper('catalogsearch')->__('Modify your search'); ?></a>
54
+ </p>
55
+ <?php endif; ?>
56
+ </div>
57
+ <?php if($this->getResultCount()): ?>
58
+ <?php echo $this->getProductListHtml() ?>
59
+ <?php endif; ?>
60
+ <?php $this->getSearchCriterias(); ?>
app/design/frontend/ma2/ante/template/catalogsearch/form.mini.phtml ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 $this Mage_Core_Block_Template */
27
+ /* @var $catalogSearchHelper Mage_Catalogsearch_Helper_Data */
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>
app/design/frontend/ma2/ante/template/catalogsearch/result.phtml ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 if($this->getResultCount()): ?>
28
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
29
+ <div class="page-title">
30
+ <?php if ($this->helper('rss/catalog')->getTagFeedUrl()): ?>
31
+ <a href="<?php echo $this->helper('rss/catalog')->getTagFeedUrl() ?>" class="nobr link-rss"><?php echo $this->__('Subscribe to Feed') ?></a>
32
+ <?php endif; ?>
33
+ <h1><?php echo ($this->getHeaderText() || $this->getHeaderText() === false) ? $this->getHeaderText() : $this->__("Search results for '%s'", $this->helper('catalogsearch')->getEscapedQueryText()) ?></h1>
34
+ </div>
35
+ <?php if ($messages = $this->getNoteMessages()):?>
36
+ <p class="note-msg">
37
+ <?php foreach ($messages as $message):?>
38
+ <?php echo $message?><br />
39
+ <?php endforeach;?>
40
+ </p>
41
+ <?php endif; ?>
42
+ <?php echo $this->getProductListHtml() ?>
43
+ <?php else: ?>
44
+ <div class="page-title">
45
+ <h1><?php echo ($this->getHeaderText() || $this->getHeaderText() === false) ? $this->getHeaderText() : $this->__("Search results for '%s'", $this->helper('catalogsearch')->getEscapedQueryText()) ?></h1>
46
+ </div>
47
+ <p class="note-msg">
48
+ <?php echo ($this->getNoResultText()) ? $this->getNoResultText() : $this->__('Your search returns no results.') ?>
49
+ <?php if ($messages = $this->getNoteMessages()):?>
50
+ <?php foreach ($messages as $message):?>
51
+ <br /><?php echo $message?>
52
+ <?php endforeach;?>
53
+ <?php endif; ?>
54
+ </p>
55
+ <?php endif; ?>
app/design/frontend/ma2/ante/template/catalogsearch/term.phtml ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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="page-title">
28
+ <h1><?php echo $this->__('Popular Search Terms') ?></h1>
29
+ </div>
30
+ <?php if( sizeof($this->getTerms()) > 0 ): ?>
31
+ <ul class="tags-list">
32
+ <?php foreach ($this->getTerms() as $_term): ?>
33
+ <li><a href="<?php echo $this->getSearchUrl($_term) ?>" style="font-size:<?php echo $_term->getRatio()*70+75 ?>%;"><?php echo $this->htmlEscape($_term->getName()) ?></a></li>
34
+ <?php endforeach; ?>
35
+ </ul>
36
+ <?php else: ?>
37
+ <p class="note-msg"><?php echo $this->__('There are no search terms available.'); ?></p>
38
+ <?php endif; ?>
app/design/frontend/ma2/ante/template/checkout/cart/sidebar.phtml ADDED
@@ -0,0 +1,111 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ * Shoping cart sidebar
28
+ *
29
+ * @see Mage_Checkout_Block_Cart_Sidebar
30
+ */
31
+ ?>
32
+ <?php
33
+ /**
34
+ * Created by OMG & VDH
35
+ **/
36
+ //$helper_data = $this->helper('manageimage');
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;?>
app/design/frontend/ma2/ante/template/es_custommenu/menu.phtml ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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/featuredproducts.phtml ADDED
@@ -0,0 +1,127 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_widgetproductlist/bestselling/default.phtml ADDED
@@ -0,0 +1,218 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ <div class="catalog-product-default">
38
+ <?php if(isset($show_widget_title) && $show_widget_title == 1): ?>
39
+ <div class="catalog-product-title">
40
+ <h2 class="heading-box-product">
41
+ <span class="format-span">
42
+ <span><?php echo $widget_title;?></span>
43
+ </span>
44
+ </h2>
45
+ </div>
46
+ <?php endif; ?>
47
+ <?php if(!$WidgetProductProductCollection->count()): ?>
48
+ <div class="note-message">
49
+ <p class="note-msg"><?php echo $this->__('There are no products matching the selection.') ?></p>
50
+ </div>
51
+ <?php else: ?>
52
+ <?php echo $this->getToolbarHtml() ?>
53
+ <?php // List mode ?>
54
+ <?php if($list_type!='grid'): ?>
55
+ <?php $_iterator = 0; ?>
56
+ <div class="category-products">
57
+ <ol class="products-list" id="products-list">
58
+ <?php foreach ($WidgetProductProductCollection as $_product): ?>
59
+ <li class="item<?php if( ++$_iterator == sizeof($WidgetProductProductCollection) ): ?> last<?php endif; ?>">
60
+ <?php // Product Image ?>
61
+ <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>
62
+ <?php // Product description ?>
63
+ <div class="product-shop">
64
+ <div class="f-fix">
65
+ <?php $_productNameStripped = $this->stripTags($_product->getName(), null, true); ?>
66
+ <h2 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $_productNameStripped; ?>"><?php echo $_helper->productAttribute($_product, $_product->getName() , 'name'); ?></a></h2>
67
+ <?php if($_product->getRatingSummary()): ?>
68
+ <?php echo $this->getReviewsSummaryHtml($_product) ?>
69
+ <?php endif; ?>
70
+ <?php echo $this->getPriceHtml($_product, true) ?>
71
+ <?php if($_product->isSaleable()): ?>
72
+ <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>
73
+ <?php else: ?>
74
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
75
+ <?php endif; ?>
76
+ <div class="desc std">
77
+ <?php echo $_helper->productAttribute($_product, $_product->getShortDescription(), 'short_description') ?>
78
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $_productNameStripped ?>" class="link-learn"><?php echo $this->__('Learn More') ?></a>
79
+ </div>
80
+ <ul class="add-to-links">
81
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
82
+ <li><a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
83
+ <?php endif; ?>
84
+ <?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
85
+ <li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
86
+ <?php endif; ?>
87
+ </ul>
88
+ </div>
89
+ </div>
90
+ </li>
91
+ <?php endforeach; ?>
92
+ </ol>
93
+ <div class="toolbar-bottom">
94
+ <?php echo $this->getToolbarHtml() ?>
95
+ </div>
96
+ </div>
97
+ <script type="text/javascript">decorateList('products-list', 'none-recursive')</script>
98
+ <?php else: ?>
99
+ <div class="featured-products">
100
+ <?php
101
+ $_collectionSize = $WidgetProductProductCollection->count();
102
+ $idx=0; unset($idx);
103
+ $inlineStyle = 'style="width:'.$item_width.'%;"';
104
+ foreach ($WidgetProductProductCollection as $_product): ?>
105
+ <?php if ($idx==0 || ($idx%$_columnCount)==0): ?>
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>
113
+ <div class="product-title">
114
+ <h5>
115
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>">
116
+ <?php echo $_helper->productAttribute($_product, $_product->getName(), 'name') ?>
117
+ </a>
118
+ </h5>
119
+ </div>
120
+ <?php
121
+ if($show_short_description == 1):
122
+ if ($_product->getShortDescription()):
123
+ ?>
124
+ <div class="short-description-product">
125
+ <?php
126
+ $desc = $_helper->productAttribute($_product, nl2br($_product->getShortDescription()), 'short_description');
127
+ if(isset($short_description_limit) && !empty($short_description_limit)):
128
+ $shortDesc = explode('|', wordwrap($desc, $short_description_limit, '|'));
129
+ else:
130
+ $shortDesc = explode('|', wordwrap($desc, 88, '|'));
131
+ endif;
132
+ echo $shortDesc[0] . '...';
133
+ ?>
134
+ </div>
135
+ <?php
136
+ endif;
137
+ endif;
138
+ ?>
139
+ <?php if($_product->getRatingSummary()): ?>
140
+ <?php echo $this->getReviewsSummaryHtml($_product, 'short'); ?>
141
+ <?php endif; ?>
142
+ <div class="border-style">
143
+ <div class="style-border-ie">
144
+ <div class="border-bottom">
145
+ <div class="box-price">
146
+ <?php
147
+ // Get the Special Price
148
+ $specialprice = Mage::getModel('catalog/product')->load($_product["entity_id"])->getSpecialPrice();
149
+ // Get the Special Price FROM date
150
+ $specialPriceFromDate = Mage::getModel('catalog/product')->load($_product["entity_id"])->getSpecialFromDate();
151
+ // Get the Special Price TO date
152
+ $specialPriceToDate = Mage::getModel('catalog/product')->load($_product["entity_id"])->getSpecialToDate();
153
+ // Get Current date
154
+ $today = time();
155
+ // without currency sign
156
+ $_specialPrice = $_product->getFinalPrice();
157
+ $nonEscapableNbspChar = html_entity_decode('&#160;&#160;', ENT_NOQUOTES, 'UTF-8');
158
+ if ($specialprice):
159
+ if($today >= strtotime( $specialPriceFromDate) && $today <= strtotime($specialPriceToDate) || $today >= strtotime( $specialPriceFromDate) && is_null($specialPriceToDate)):
160
+ echo '<div class="special-price"><span class="format-span-price1">'.$_formattedActualPrice = Mage::helper('core')->currency($_product->getPrice(),true,false).'</span>';
161
+ // with currency sign
162
+ echo $nonEscapableNbspChar.'<span><span class="format-span-price2">'.$_formattedSpecialPrice = Mage::helper('core')->currency($_product->getFinalPrice(),true,false).'</span></span></div>';
163
+ endif;
164
+ else:
165
+ echo $this->getPriceHtml($_product, true);
166
+ endif;
167
+ ?>
168
+ </div>
169
+ </div>
170
+ </div>
171
+ </div>
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>
190
+ </div>
191
+ </li>
192
+ <?php
193
+ $idx++;
194
+ if ($idx%$_columnCount==0 || $idx==$_collectionSize):
195
+ ?>
196
+ </ul>
197
+ <?php endif ?>
198
+ <?php endforeach ?>
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>
216
+ <?php endif; ?>
217
+ <?php endif; ?>
218
+ </div>
app/design/frontend/ma2/ante/template/ma2_widgetproductlist/custom/default.phtml ADDED
@@ -0,0 +1,244 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ <div class="catalog-product-default">
38
+ <?php if(isset($show_widget_title) && $show_widget_title == 1): ?>
39
+ <div class="catalog-product-title">
40
+ <h2 class="heading-box-product">
41
+ <span class="format-span">
42
+ <span><?php echo $widget_title;?></span>
43
+ </span>
44
+ </h2>
45
+ </div>
46
+ <?php endif; ?>
47
+ <?php if(!$WidgetProductProductCollection->count()): ?>
48
+ <div class="note-message">
49
+ <p class="note-msg"><?php echo $this->__('There are no products matching the selection.') ?></p>
50
+ </div>
51
+ <?php else: ?>
52
+ <?php echo $this->getToolbarHtml() ?>
53
+ <?php // List mode ?>
54
+ <?php if($list_type!='grid'): ?>
55
+ <?php $_iterator = 0; ?>
56
+ <div class="category-products">
57
+ <ol class="products-list" id="products-list">
58
+ <?php foreach ($WidgetProductProductCollection as $_product): ?>
59
+ <li class="item<?php if( ++$_iterator == sizeof($WidgetProductProductCollection) ): ?> last<?php endif; ?>">
60
+ <?php // Product Image ?>
61
+ <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>
62
+ <?php // Product description ?>
63
+ <div class="product-shop">
64
+ <div class="f-fix">
65
+ <?php $_productNameStripped = $this->stripTags($_product->getName(), null, true); ?>
66
+ <h2 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $_productNameStripped; ?>"><?php echo $_helper->productAttribute($_product, $_product->getName() , 'name'); ?></a></h2>
67
+ <?php if($_product->getRatingSummary()): ?>
68
+ <?php echo $this->getReviewsSummaryHtml($_product) ?>
69
+ <?php endif; ?>
70
+ <?php echo $this->getPriceHtml($_product, true) ?>
71
+ <?php if($_product->isSaleable()): ?>
72
+ <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>
73
+ <?php else: ?>
74
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
75
+ <?php endif; ?>
76
+ <div class="desc std">
77
+ <?php echo $_helper->productAttribute($_product, $_product->getShortDescription(), 'short_description') ?>
78
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $_productNameStripped ?>" class="link-learn"><?php echo $this->__('Learn More') ?></a>
79
+ </div>
80
+ <ul class="add-to-links">
81
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
82
+ <li><a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
83
+ <?php endif; ?>
84
+ <?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
85
+ <li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
86
+ <?php endif; ?>
87
+ </ul>
88
+ </div>
89
+ </div>
90
+ </li>
91
+ <?php endforeach; ?>
92
+ </ol>
93
+ <div class="toolbar-bottom">
94
+ <?php echo $this->getToolbarHtml() ?>
95
+ </div>
96
+ </div>
97
+ <script type="text/javascript">decorateList('products-list', 'none-recursive')</script>
98
+ <?php else: ?>
99
+ <div class="featured-products">
100
+ <?php
101
+ $_collectionSize = $WidgetProductProductCollection->count();
102
+ $idx=0; unset($idx);
103
+ $inlineStyle = 'style="width:'.$item_width.'%;"';
104
+ foreach ($WidgetProductProductCollection as $_product): ?>
105
+ <?php if ($idx==0 || ($idx%$_columnCount)==0): ?>
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
113
+ // Get the Special Price
114
+ $specialprice = Mage::getModel('catalog/product')->load($_product["entity_id"])->getSpecialPrice();
115
+ // Get the Special Price FROM date
116
+ $specialPriceFromDate = Mage::getModel('catalog/product')->load($_product["entity_id"])->getSpecialFromDate();
117
+ // Get the Special Price TO date
118
+ $specialPriceToDate = Mage::getModel('catalog/product')->load($_product["entity_id"])->getSpecialToDate();
119
+ // Get Current date
120
+ $today = time();
121
+ if ($specialprice):
122
+ if($today >= strtotime( $specialPriceFromDate) && $today <= strtotime($specialPriceToDate) || $today >= strtotime( $specialPriceFromDate) && is_null($specialPriceToDate)):
123
+ if($show_icon == 1):
124
+ $srcSale = $this->getSkinUrl('css/ma2_widgetproductlists/images/sale.png');
125
+ $altSale = $this->__('Sale');
126
+ ?>
127
+ <img src="<?php echo $srcSale;?>" alt="<?php echo $altSale; ?>" class="sticker sticker-top-right" height="55" />
128
+ <?php
129
+ endif;
130
+ endif;
131
+ endif;
132
+
133
+ ?>
134
+ </a>
135
+ <div class="product-title">
136
+ <h5>
137
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>">
138
+ <?php echo $_helper->productAttribute($_product, $_product->getName(), 'name') ?>
139
+ </a>
140
+ </h5>
141
+ </div>
142
+ <?php
143
+ if($show_short_description == 1):
144
+ if ($_product->getShortDescription()):
145
+ ?>
146
+ <div class="short-description-product">
147
+ <?php
148
+ $desc = $_helper->productAttribute($_product, nl2br($_product->getShortDescription()), 'short_description');
149
+ if(isset($short_description_limit) && !empty($short_description_limit)):
150
+ $shortDesc = explode('|', wordwrap($desc, $short_description_limit, '|'));
151
+ else:
152
+ $shortDesc = explode('|', wordwrap($desc, 88, '|'));
153
+ endif;
154
+ echo $shortDesc[0] . '...';
155
+ ?>
156
+ </div>
157
+ <?php
158
+ endif;
159
+ endif;
160
+ ?>
161
+ <?php if($_product->getRatingSummary()): ?>
162
+ <?php echo $this->getReviewsSummaryHtml($_product, 'short'); ?>
163
+ <?php endif; ?>
164
+ <div class="border-style">
165
+ <div class="border-bottom">
166
+ <?php
167
+ if($show_price == 1):
168
+ ?>
169
+ <div class="box-price">
170
+ <?php
171
+ // Get the Special Price
172
+ $specialprice = Mage::getModel('catalog/product')->load($_product["entity_id"])->getSpecialPrice();
173
+ // Get the Special Price FROM date
174
+ $specialPriceFromDate = Mage::getModel('catalog/product')->load($_product["entity_id"])->getSpecialFromDate();
175
+ // Get the Special Price TO date
176
+ $specialPriceToDate = Mage::getModel('catalog/product')->load($_product["entity_id"])->getSpecialToDate();
177
+ // Get Current date
178
+ $today = time();
179
+ // without currency sign
180
+ $_specialPrice = $_product->getFinalPrice();
181
+ $nonEscapableNbspChar = html_entity_decode('&#160;&#160;', ENT_NOQUOTES, 'UTF-8');
182
+ if ($specialprice):
183
+ if($today >= strtotime( $specialPriceFromDate) && $today <= strtotime($specialPriceToDate) || $today >= strtotime( $specialPriceFromDate) && is_null($specialPriceToDate)):
184
+ echo '<div class="special-price"><span class="format-span-price1">'.$_formattedActualPrice = Mage::helper('core')->currency($_product->getPrice(),true,false).'</span>';
185
+ // with currency sign
186
+ echo $nonEscapableNbspChar.'<span><span class="format-span-price2">'.$_formattedSpecialPrice = Mage::helper('core')->currency($_product->getFinalPrice(),true,false).'</span></span></div>';
187
+ endif;
188
+ else:
189
+ echo $this->getPriceHtml($_product, true);
190
+ endif;
191
+ ?>
192
+ </div>
193
+ <?php
194
+ endif;
195
+ ?>
196
+ </div>
197
+ </div>
198
+ <div class="actions">
199
+ <?php if($show_addtocart == 1): ?>
200
+ <div class="ma2-addtocart">
201
+ <?php if($_product->isSaleable()): ?>
202
+ <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>
203
+ <?php else: ?>
204
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
205
+ <?php endif; ?>
206
+ </div>
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>
216
+ </div>
217
+ </li>
218
+ <?php
219
+ $idx++;
220
+ if ($idx%$_columnCount==0 || $idx==$_collectionSize):
221
+ ?>
222
+ </ul>
223
+ <?php endif ?>
224
+ <?php endforeach ?>
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>
241
+ </div>
242
+ <?php endif; ?>
243
+ <?php endif; ?>
244
+ </div>
app/design/frontend/ma2/ante/template/ma2_widgetproductlist/featured/default.phtml ADDED
@@ -0,0 +1,218 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ <div class="catalog-product-default">
38
+ <?php if(isset($show_widget_title) && $show_widget_title == 1): ?>
39
+ <div class="catalog-product-title">
40
+ <h2 class="heading-box-product">
41
+ <span class="format-span">
42
+ <span><?php echo $widget_title;?></span>
43
+ </span>
44
+ </h2>
45
+ </div>
46
+ <?php endif; ?>
47
+ <?php if(!$WidgetProductProductCollection->count()): ?>
48
+ <div class="note-message">
49
+ <p class="note-msg"><?php echo $this->__('There are no products matching the selection.') ?></p>
50
+ </div>
51
+ <?php else: ?>
52
+ <?php echo $this->getToolbarHtml() ?>
53
+ <?php // List mode ?>
54
+ <?php if($list_type!='grid'): ?>
55
+ <?php $_iterator = 0; ?>
56
+ <div class="category-products">
57
+ <ol class="products-list" id="products-list">
58
+ <?php foreach ($WidgetProductProductCollection as $_product): ?>
59
+ <li class="item<?php if( ++$_iterator == sizeof($WidgetProductProductCollection) ): ?> last<?php endif; ?>">
60
+ <?php // Product Image ?>
61
+ <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>
62
+ <?php // Product description ?>
63
+ <div class="product-shop">
64
+ <div class="f-fix">
65
+ <?php $_productNameStripped = $this->stripTags($_product->getName(), null, true); ?>
66
+ <h2 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $_productNameStripped; ?>"><?php echo $_helper->productAttribute($_product, $_product->getName() , 'name'); ?></a></h2>
67
+ <?php if($_product->getRatingSummary()): ?>
68
+ <?php echo $this->getReviewsSummaryHtml($_product) ?>
69
+ <?php endif; ?>
70
+ <?php echo $this->getPriceHtml($_product, true) ?>
71
+ <?php if($_product->isSaleable()): ?>
72
+ <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>
73
+ <?php else: ?>
74
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
75
+ <?php endif; ?>
76
+ <div class="desc std">
77
+ <?php echo $_helper->productAttribute($_product, $_product->getShortDescription(), 'short_description') ?>
78
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $_productNameStripped ?>" class="link-learn"><?php echo $this->__('Learn More') ?></a>
79
+ </div>
80
+ <ul class="add-to-links">
81
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
82
+ <li><a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
83
+ <?php endif; ?>
84
+ <?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
85
+ <li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
86
+ <?php endif; ?>
87
+ </ul>
88
+ </div>
89
+ </div>
90
+ </li>
91
+ <?php endforeach; ?>
92
+ </ol>
93
+ <div class="toolbar-bottom">
94
+ <?php echo $this->getToolbarHtml() ?>
95
+ </div>
96
+ </div>
97
+ <script type="text/javascript">decorateList('products-list', 'none-recursive')</script>
98
+ <?php else: ?>
99
+ <div class="featured-products">
100
+ <?php
101
+ $_collectionSize = $WidgetProductProductCollection->count();
102
+ $idx=0; unset($idx);
103
+ $inlineStyle = 'style="width:'.$item_width.'%;"';
104
+ foreach ($WidgetProductProductCollection as $_product): ?>
105
+ <?php if ($idx==0 || ($idx%$_columnCount)==0): ?>
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>
113
+ <div class="product-title">
114
+ <h5>
115
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>">
116
+ <?php echo $_helper->productAttribute($_product, $_product->getName(), 'name') ?>
117
+ </a>
118
+ </h5>
119
+ </div>
120
+ <?php
121
+ if($show_short_description == 1):
122
+ if ($_product->getShortDescription()):
123
+ ?>
124
+ <div class="short-description-product">
125
+ <?php
126
+ $desc = $_helper->productAttribute($_product, nl2br($_product->getShortDescription()), 'short_description');
127
+ if(isset($short_description_limit) && !empty($short_description_limit)):
128
+ $shortDesc = explode('|', wordwrap($desc, $short_description_limit, '|'));
129
+ else:
130
+ $shortDesc = explode('|', wordwrap($desc, 88, '|'));
131
+ endif;
132
+ echo $shortDesc[0] . '...';
133
+ ?>
134
+ </div>
135
+ <?php
136
+ endif;
137
+ endif;
138
+ ?>
139
+ <?php if($_product->getRatingSummary()): ?>
140
+ <?php echo $this->getReviewsSummaryHtml($_product, 'short'); ?>
141
+ <?php endif; ?>
142
+ <div class="border-style">
143
+ <div class="style-border-ie">
144
+ <div class="border-bottom">
145
+ <div class="box-price">
146
+ <?php
147
+ // Get the Special Price
148
+ $specialprice = Mage::getModel('catalog/product')->load($_product["entity_id"])->getSpecialPrice();
149
+ // Get the Special Price FROM date
150
+ $specialPriceFromDate = Mage::getModel('catalog/product')->load($_product["entity_id"])->getSpecialFromDate();
151
+ // Get the Special Price TO date
152
+ $specialPriceToDate = Mage::getModel('catalog/product')->load($_product["entity_id"])->getSpecialToDate();
153
+ // Get Current date
154
+ $today = time();
155
+ // without currency sign
156
+ $_specialPrice = $_product->getFinalPrice();
157
+ $nonEscapableNbspChar = html_entity_decode('&#160;&#160;', ENT_NOQUOTES, 'UTF-8');
158
+ if ($specialprice):
159
+ if($today >= strtotime( $specialPriceFromDate) && $today <= strtotime($specialPriceToDate) || $today >= strtotime( $specialPriceFromDate) && is_null($specialPriceToDate)):
160
+ echo '<div class="special-price"><span class="format-span-price1">'.$_formattedActualPrice = Mage::helper('core')->currency($_product->getPrice(),true,false).'</span>';
161
+ // with currency sign
162
+ echo $nonEscapableNbspChar.'<span><span class="format-span-price2">'.$_formattedSpecialPrice = Mage::helper('core')->currency($_product->getFinalPrice(),true,false).'</span></span></div>';
163
+ endif;
164
+ else:
165
+ echo $this->getPriceHtml($_product, true);
166
+ endif;
167
+ ?>
168
+ </div>
169
+ </div>
170
+ </div>
171
+ </div>
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>
190
+ </div>
191
+ </li>
192
+ <?php
193
+ $idx++;
194
+ if ($idx%$_columnCount==0 || $idx==$_collectionSize):
195
+ ?>
196
+ </ul>
197
+ <?php endif ?>
198
+ <?php endforeach ?>
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>
216
+ <?php endif; ?>
217
+ <?php endif; ?>
218
+ </div>
app/design/frontend/ma2/ante/template/ma2_widgetproductlist/featured/sidebar.phtml ADDED
@@ -0,0 +1,218 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ <div class="catalog-product-default">
38
+ <?php if(isset($show_widget_title) && $show_widget_title == 1): ?>
39
+ <div class="catalog-product-title">
40
+ <h2 class="heading-box-product">
41
+ <span class="format-span">
42
+ <span><?php echo $widget_title;?></span>
43
+ </span>
44
+ </h2>
45
+ </div>
46
+ <?php endif; ?>
47
+ <?php if(!$WidgetProductProductCollection->count()): ?>
48
+ <div class="note-message">
49
+ <p class="note-msg"><?php echo $this->__('There are no products matching the selection.') ?></p>
50
+ </div>
51
+ <?php else: ?>
52
+ <?php echo $this->getToolbarHtml() ?>
53
+ <?php // List mode ?>
54
+ <?php if($list_type!='grid'): ?>
55
+ <?php $_iterator = 0; ?>
56
+ <div class="category-products">
57
+ <ol class="products-list" id="products-list">
58
+ <?php foreach ($WidgetProductProductCollection as $_product): ?>
59
+ <li class="item<?php if( ++$_iterator == sizeof($WidgetProductProductCollection) ): ?> last<?php endif; ?>">
60
+ <?php // Product Image ?>
61
+ <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>
62
+ <?php // Product description ?>
63
+ <div class="product-shop">
64
+ <div class="f-fix">
65
+ <?php $_productNameStripped = $this->stripTags($_product->getName(), null, true); ?>
66
+ <h2 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $_productNameStripped; ?>"><?php echo $_helper->productAttribute($_product, $_product->getName() , 'name'); ?></a></h2>
67
+ <?php if($_product->getRatingSummary()): ?>
68
+ <?php echo $this->getReviewsSummaryHtml($_product) ?>
69
+ <?php endif; ?>
70
+ <?php echo $this->getPriceHtml($_product, true) ?>
71
+ <?php if($_product->isSaleable()): ?>
72
+ <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>
73
+ <?php else: ?>
74
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
75
+ <?php endif; ?>
76
+ <div class="desc std">
77
+ <?php echo $_helper->productAttribute($_product, $_product->getShortDescription(), 'short_description') ?>
78
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $_productNameStripped ?>" class="link-learn"><?php echo $this->__('Learn More') ?></a>
79
+ </div>
80
+ <ul class="add-to-links">
81
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
82
+ <li><a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
83
+ <?php endif; ?>
84
+ <?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
85
+ <li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
86
+ <?php endif; ?>
87
+ </ul>
88
+ </div>
89
+ </div>
90
+ </li>
91
+ <?php endforeach; ?>
92
+ </ol>
93
+ <div class="toolbar-bottom">
94
+ <?php echo $this->getToolbarHtml() ?>
95
+ </div>
96
+ </div>
97
+ <script type="text/javascript">decorateList('products-list', 'none-recursive')</script>
98
+ <?php else: ?>
99
+ <div class="featured-products">
100
+ <?php
101
+ $_collectionSize = $WidgetProductProductCollection->count();
102
+ $idx=0; unset($idx);
103
+ $inlineStyle = 'style="width:'.$item_width.'%;"';
104
+ foreach ($WidgetProductProductCollection as $_product): ?>
105
+ <?php if ($idx==0 || ($idx%$_columnCount)==0): ?>
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>
113
+ <div class="product-title">
114
+ <h5>
115
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>">
116
+ <?php echo $_helper->productAttribute($_product, $_product->getName(), 'name') ?>
117
+ </a>
118
+ </h5>
119
+ </div>
120
+ <?php
121
+ if($show_short_description == 1):
122
+ if ($_product->getShortDescription()):
123
+ ?>
124
+ <div class="short-description-product">
125
+ <?php
126
+ $desc = $_helper->productAttribute($_product, nl2br($_product->getShortDescription()), 'short_description');
127
+ if(isset($short_description_limit) && !empty($short_description_limit)):
128
+ $shortDesc = explode('|', wordwrap($desc, $short_description_limit, '|'));
129
+ else:
130
+ $shortDesc = explode('|', wordwrap($desc, 88, '|'));
131
+ endif;
132
+ echo $shortDesc[0] . '...';
133
+ ?>
134
+ </div>
135
+ <?php
136
+ endif;
137
+ endif;
138
+ ?>
139
+ <?php if($_product->getRatingSummary()): ?>
140
+ <?php echo $this->getReviewsSummaryHtml($_product, 'short'); ?>
141
+ <?php endif; ?>
142
+ <div class="border-style">
143
+ <div class="style-border-ie">
144
+ <div class="border-bottom">
145
+ <div class="box-price">
146
+ <?php
147
+ // Get the Special Price
148
+ $specialprice = Mage::getModel('catalog/product')->load($_product["entity_id"])->getSpecialPrice();
149
+ // Get the Special Price FROM date
150
+ $specialPriceFromDate = Mage::getModel('catalog/product')->load($_product["entity_id"])->getSpecialFromDate();
151
+ // Get the Special Price TO date
152
+ $specialPriceToDate = Mage::getModel('catalog/product')->load($_product["entity_id"])->getSpecialToDate();
153
+ // Get Current date
154
+ $today = time();
155
+ // without currency sign
156
+ $_specialPrice = $_product->getFinalPrice();
157
+ $nonEscapableNbspChar = html_entity_decode('&#160;&#160;', ENT_NOQUOTES, 'UTF-8');
158
+ if ($specialprice):
159
+ if($today >= strtotime( $specialPriceFromDate) && $today <= strtotime($specialPriceToDate) || $today >= strtotime( $specialPriceFromDate) && is_null($specialPriceToDate)):
160
+ echo '<div class="special-price"><span class="format-span-price1">'.$_formattedActualPrice = Mage::helper('core')->currency($_product->getPrice(),true,false).'</span>';
161
+ // with currency sign
162
+ echo $nonEscapableNbspChar.'<span><span class="format-span-price2">'.$_formattedSpecialPrice = Mage::helper('core')->currency($_product->getFinalPrice(),true,false).'</span></span></div>';
163
+ endif;
164
+ else:
165
+ echo $this->getPriceHtml($_product, true);
166
+ endif;
167
+ ?>
168
+ </div>
169
+ </div>
170
+ </div>
171
+ </div>
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>
190
+ </div>
191
+ </li>
192
+ <?php
193
+ $idx++;
194
+ if ($idx%$_columnCount==0 || $idx==$_collectionSize):
195
+ ?>
196
+ </ul>
197
+ <?php endif ?>
198
+ <?php endforeach ?>
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>
216
+ <?php endif; ?>
217
+ <?php endif; ?>
218
+ </div>
app/design/frontend/ma2/ante/template/ma2_widgetproductlist/new/default.phtml ADDED
@@ -0,0 +1,218 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ <div class="catalog-product-default">
38
+ <?php if(isset($show_widget_title) && $show_widget_title == 1): ?>
39
+ <div class="catalog-product-title">
40
+ <h2 class="heading-box-product">
41
+ <span class="format-span">
42
+ <span><?php echo $widget_title;?></span>
43
+ </span>
44
+ </h2>
45
+ </div>
46
+ <?php endif; ?>
47
+ <?php if(!$WidgetProductProductCollection->count()): ?>
48
+ <div class="note-message">
49
+ <p class="note-msg"><?php echo $this->__('There are no products matching the selection.') ?></p>
50
+ </div>
51
+ <?php else: ?>
52
+ <?php echo $this->getToolbarHtml() ?>
53
+ <?php // List mode ?>
54
+ <?php if($list_type!='grid'): ?>
55
+ <?php $_iterator = 0; ?>
56
+ <div class="category-products">
57
+ <ol class="products-list" id="products-list">
58
+ <?php foreach ($WidgetProductProductCollection as $_product): ?>
59
+ <li class="item<?php if( ++$_iterator == sizeof($WidgetProductProductCollection) ): ?> last<?php endif; ?>">
60
+ <?php // Product Image ?>
61
+ <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>
62
+ <?php // Product description ?>
63
+ <div class="product-shop">
64
+ <div class="f-fix">
65
+ <?php $_productNameStripped = $this->stripTags($_product->getName(), null, true); ?>
66
+ <h2 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $_productNameStripped; ?>"><?php echo $_helper->productAttribute($_product, $_product->getName() , 'name'); ?></a></h2>
67
+ <?php if($_product->getRatingSummary()): ?>
68
+ <?php echo $this->getReviewsSummaryHtml($_product) ?>
69
+ <?php endif; ?>
70
+ <?php echo $this->getPriceHtml($_product, true) ?>
71
+ <?php if($_product->isSaleable()): ?>
72
+ <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>
73
+ <?php else: ?>
74
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
75
+ <?php endif; ?>
76
+ <div class="desc std">
77
+ <?php echo $_helper->productAttribute($_product, $_product->getShortDescription(), 'short_description') ?>
78
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $_productNameStripped ?>" class="link-learn"><?php echo $this->__('Learn More') ?></a>
79
+ </div>
80
+ <ul class="add-to-links">
81
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
82
+ <li><a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
83
+ <?php endif; ?>
84
+ <?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
85
+ <li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
86
+ <?php endif; ?>
87
+ </ul>
88
+ </div>
89
+ </div>
90
+ </li>
91
+ <?php endforeach; ?>
92
+ </ol>
93
+ <div class="toolbar-bottom">
94
+ <?php echo $this->getToolbarHtml() ?>
95
+ </div>
96
+ </div>
97
+ <script type="text/javascript">decorateList('products-list', 'none-recursive')</script>
98
+ <?php else: ?>
99
+ <div class="featured-products">
100
+ <?php
101
+ $_collectionSize = $WidgetProductProductCollection->count();
102
+ $idx=0; unset($idx);
103
+ $inlineStyle = 'style="width:'.$item_width.'%;"';
104
+ foreach ($WidgetProductProductCollection as $_product): ?>
105
+ <?php if ($idx==0 || ($idx%$_columnCount)==0): ?>
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>
113
+ <div class="product-title">
114
+ <h5>
115
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>">
116
+ <?php echo $_helper->productAttribute($_product, $_product->getName(), 'name') ?>
117
+ </a>
118
+ </h5>
119
+ </div>
120
+ <?php
121
+ if($show_short_description == 1):
122
+ if ($_product->getShortDescription()):
123
+ ?>
124
+ <div class="short-description-product">
125
+ <?php
126
+ $desc = $_helper->productAttribute($_product, nl2br($_product->getShortDescription()), 'short_description');
127
+ if(isset($short_description_limit) && !empty($short_description_limit)):
128
+ $shortDesc = explode('|', wordwrap($desc, $short_description_limit, '|'));
129
+ else:
130
+ $shortDesc = explode('|', wordwrap($desc, 88, '|'));
131
+ endif;
132
+ echo $shortDesc[0] . '...';
133
+ ?>
134
+ </div>
135
+ <?php
136
+ endif;
137
+ endif;
138
+ ?>
139
+ <?php if($_product->getRatingSummary()): ?>
140
+ <?php echo $this->getReviewsSummaryHtml($_product, 'short'); ?>
141
+ <?php endif; ?>
142
+ <div class="border-style">
143
+ <div class="style-border-ie">
144
+ <div class="border-bottom">
145
+ <div class="box-price">
146
+ <?php
147
+ // Get the Special Price
148
+ $specialprice = Mage::getModel('catalog/product')->load($_product["entity_id"])->getSpecialPrice();
149
+ // Get the Special Price FROM date
150
+ $specialPriceFromDate = Mage::getModel('catalog/product')->load($_product["entity_id"])->getSpecialFromDate();
151
+ // Get the Special Price TO date
152
+ $specialPriceToDate = Mage::getModel('catalog/product')->load($_product["entity_id"])->getSpecialToDate();
153
+ // Get Current date
154
+ $today = time();
155
+ // without currency sign
156
+ $_specialPrice = $_product->getFinalPrice();
157
+ $nonEscapableNbspChar = html_entity_decode('&#160;&#160;', ENT_NOQUOTES, 'UTF-8');
158
+ if ($specialprice):
159
+ if($today >= strtotime( $specialPriceFromDate) && $today <= strtotime($specialPriceToDate) || $today >= strtotime( $specialPriceFromDate) && is_null($specialPriceToDate)):
160
+ echo '<div class="special-price"><span class="format-span-price1">'.$_formattedActualPrice = Mage::helper('core')->currency($_product->getPrice(),true,false).'</span>';
161
+ // with currency sign
162
+ echo $nonEscapableNbspChar.'<span><span class="format-span-price2">'.$_formattedSpecialPrice = Mage::helper('core')->currency($_product->getFinalPrice(),true,false).'</span></span></div>';
163
+ endif;
164
+ else:
165
+ echo $this->getPriceHtml($_product, true);
166
+ endif;
167
+ ?>
168
+ </div>
169
+ </div>
170
+ </div>
171
+ </div>
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>
190
+ </div>
191
+ </li>
192
+ <?php
193
+ $idx++;
194
+ if ($idx%$_columnCount==0 || $idx==$_collectionSize):
195
+ ?>
196
+ </ul>
197
+ <?php endif ?>
198
+ <?php endforeach ?>
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>
216
+ <?php endif; ?>
217
+ <?php endif; ?>
218
+ </div>
app/design/frontend/ma2/ante/template/newsletter/subscribe.phtml ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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="block block-subscribe">
28
+ <div class="block-title-subscribe">
29
+ <span <?php //echo $this->getColorSubcribe();?>>
30
+ <?php echo $this->__('Subscribe newsletter') ?>
31
+ </span>
32
+ </div>
33
+ <form action="<?php echo $this->getFormActionUrl() ?>" method="post" id="newsletter-validate-detail">
34
+ <div class="block-content">
35
+ <div class="form-subscribe-header">
36
+ <label for="newsletter"><?php echo $this->__('Sign Up for Our Newsletter:') ?></label>
37
+ </div>
38
+ <div class="input-box">
39
+ <input type="text" name="email" id="newsletter" title="<?php echo $this->__('Sign up for our newsletter') ?>" class="input-text required-entry validate-email" />
40
+ </div>
41
+ <div class="actions">
42
+ <button type="submit" title="Subscribe" class="btn-submit">Submit</button>
43
+ </div>
44
+ </div>
45
+ </form>
46
+ <script type="text/javascript">
47
+ //<![CDATA[
48
+ var newsletterSubscriberFormDetail = new VarienForm('newsletter-validate-detail');
49
+ //]]>
50
+ </script>
51
+ </div>
app/design/frontend/ma2/ante/template/page/1column.phtml ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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>
app/design/frontend/ma2/ante/template/page/2columns-left.phtml ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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>
app/design/frontend/ma2/ante/template/page/2columns-right.phtml ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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>
app/design/frontend/ma2/ante/template/page/3columns.phtml ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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>
app/design/frontend/ma2/ante/template/page/empty.phtml ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 class="page-empty <?php echo $this->getBodyClass()?$this->getBodyClass():'' ?>">
38
+ <div>
39
+ <?php echo $this->getChildHtml('after_body_start') ?>
40
+ <?php echo $this->getChildHtml('global_messages') ?>
41
+ <?php echo $this->getChildHtml('content') ?>
42
+ <?php echo $this->getChildHtml('before_body_end') ?>
43
+ <?php echo $this->getAbsoluteFooter() ?>
44
+ </div>
45
+ </body>
46
+ </html>
app/design/frontend/ma2/ante/template/page/html/appendblocks/ie7ie8.phtml ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $PresetSession = Mage::getSingleton('core/session')->getData('PresetSession');
3
+ if(isset($PresetSession) && !empty($PresetSession)):
4
+ $style_ie = 'styles-ie-'.$PresetSession.'-';
5
+ else:
6
+ $preStyle = Mage::getStoreConfig("theme_options/general/preset_styles");
7
+ if(isset($preStyle) && !empty($preStyle)):
8
+ $style_ie = 'styles-ie-'.$preStyle.'-';
9
+ else:
10
+ $style_ie = 'styles-ie-8';
11
+ endif;
12
+ endif;
13
+ ?>
14
+ <!--[if IE 8]>
15
+ <link rel="stylesheet" type="text/css" href="<?php echo $this->getSkinUrl('css/'.$style_ie.'8.css');?>">
16
+ <![endif]-->
17
+ <!--[if IE 7]>
18
+ <link rel="stylesheet" type="text/css" href="<?php echo $this->getSkinUrl('css/'.$style_ie.'7.css');?>" />
19
+ <![endif]-->
app/design/frontend/ma2/ante/template/page/html/appendblocks/presetstyle.phtml ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <form name="formpreset" id="formpreset" method="POST" action="<?php echo Mage::helper('core/url')->getCurrentUrl();?>">
2
+ <div id="smenu" class="navbar navbar-fixed-top">
3
+ <ul id="devices" class="nav visible-desktop">
4
+ <?php
5
+ $presetstyles = Mage::getModel('ThemeOptions/presetstyles')->toOptionArray();
6
+ foreach ($presetstyles as $idx=>$_style)
7
+ {
8
+ ?>
9
+ <li id="item-<?php echo $_style['value'];?>-bg">
10
+ <a href="javascript: void(0);" class="desktop" onclick="javascript:setColor('<?php echo $_style["value"];?>');" title="<?php echo $this->escapeHtml($_style['value']);?>"></a>
11
+ </li>
12
+ <li id="item-<?php echo $_style['value'];?>">
13
+ <a href="javascript: void(0);" onclick="javascript:setColor('<?php echo $_style["value"];?>');" title="<?php echo $this->escapeHtml($_style['value'])?>">
14
+ <?php echo $this->escapeHtml($_style['value']);?>
15
+ </a>
16
+ </li>
17
+ <?php } ?>
18
+ </ul>
19
+ <input type="hidden" id="hiddenpreset" name="hiddenpreset" value="">
20
+ </div>
21
+ </form>
22
+ <script type="text/javascript">
23
+ function setColor(color){
24
+ document.forms['formpreset'].hiddenpreset.value = color;
25
+ document.forms['formpreset'].submit();
26
+ }
27
+ </script>
app/design/frontend/ma2/ante/template/page/html/breadcrumbs.phtml ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 if($crumbs && is_array($crumbs)): ?>
28
+ <div class="breadcrumbs" id="breadcrumbs">
29
+ <ul id="ma2-nav-breadcrum" class="ma2-nav-breadcrum">
30
+ <?php foreach($crumbs as $_crumbName=>$_crumbInfo): ?>
31
+ <li class="<?php echo $_crumbName ?>">
32
+ <?php if($_crumbInfo['link']): ?>
33
+ <a href="<?php echo $_crumbInfo['link'] ?>" title="<?php echo $this->htmlEscape($_crumbInfo['title']) ?>"><?php echo $this->htmlEscape($_crumbInfo['label']) ?></a>
34
+ <?php elseif($_crumbInfo['last']): ?>
35
+ <strong><?php echo $this->htmlEscape($_crumbInfo['label']) ?></strong>
36
+ <?php else: ?>
37
+ <?php echo $this->htmlEscape($_crumbInfo['label']) ?>
38
+ <?php endif; ?>
39
+ <?php if(!$_crumbInfo['last']): ?>
40
+ <span><img src="<?php echo $this->getSkinUrl('images/ma2-navigation-icon.gif');?>" id="ma2-icon-nav-breadcrum" /></span>
41
+ <?php endif; ?>
42
+ </li>
43
+ <?php endforeach; ?>
44
+ </ul>
45
+ </div>
46
+ <script>
47
+ /* $('ma2-nav-breadcrum').style.padding = "0";
48
+ $('ma2-nav-breadcrum').style.padding-left = "6px";
49
+ $('ma2-nav-breadcrum').style.margin = "0";
50
+ $('breadcrumbs').style.padding = "0"; */
51
+ </script>
52
+ <?php endif; ?>
app/design/frontend/ma2/ante/template/page/html/footer.phtml ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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>
app/design/frontend/ma2/ante/template/page/html/head.phtml ADDED
@@ -0,0 +1,282 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ // Ma2 ThemeOptions config
27
+ $gfontCss = array();
28
+ $valueFields = array();
29
+ $themeOptions = Mage::getStoreConfig('theme_options');
30
+ if (isset($themeOptions)) {
31
+ foreach ($themeOptions as $group_key=>$group)
32
+ {
33
+ foreach ($group as $key=>$field)
34
+ {
35
+ $valueFields[$key] = $field;
36
+ }
37
+ }
38
+ }
39
+ $themeOptions = json_decode(json_encode($valueFields));
40
+ $mediaUrl = Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA);
41
+ /**
42
+ *Typography - body font config
43
+ */
44
+ $body_change = '';
45
+ if($themeOptions->body_font_family_change == 1)
46
+ {
47
+ $body_font_family = explode(':', $themeOptions->body_font_family);
48
+ if(isset($body_font_family[0]) && isset($body_font_family[1]) && $body_font_family[0] == 'w')
49
+ {
50
+ $body_change .= 'font-family:"'.str_replace('+', ' ',$body_font_family[1]).'";';
51
+ $gfontCss[] = $body_font_family[1];
52
+ }
53
+ else
54
+ {
55
+ $body_change .= 'font-family:'.str_replace(array('s:','w:', '+'), array('','',' '), $themeOptions->body_font_family).';';
56
+ }
57
+ }
58
+ if(trim($themeOptions->body_font_size) != null)
59
+ {
60
+ $body_change .= 'font-size: '.$themeOptions->body_font_size.';';
61
+ }
62
+ if($themeOptions->body_text_color_change == 1)
63
+ {
64
+ $body_change .= 'color:'.$themeOptions->body_text_color.';';
65
+ }
66
+ if(trim($themeOptions->body_line_height) != null)
67
+ {
68
+ $body_change .= 'line-height: '.$themeOptions->body_line_height.';';
69
+ }
70
+ /**
71
+ *Typography - custom font-family
72
+ */
73
+ if ($themeOptions->is_custom_font_1 == 1 && trim($themeOptions->custom_list_1) != null)
74
+ {
75
+ $custom_font_family_1 = explode(':', $themeOptions->custom_font_family_1);
76
+ if(isset($custom_font_family_1[0]) && isset($custom_font_family_1[1]) && $custom_font_family_1[0] == 'w')
77
+ {
78
+ $custom_list_1 = $themeOptions->custom_list_1 .'{font-family:"'.str_replace('+',' ',$custom_font_family_1[1]).'";}';
79
+ $gfontCss[] = $custom_font_family_1[1];
80
+ }
81
+ else
82
+ {
83
+ $custom_list_1 = $themeOptions->custom_list_1 .'{font-family:'.str_replace(array('s:','w:'), '', $themeOptions->custom_font_family_1).';}';
84
+ }
85
+ }
86
+ if ($themeOptions->is_custom_font_2 == 1 && trim($themeOptions->custom_list_2) != null)
87
+ {
88
+ $custom_font_family_2 = explode(':', $themeOptions->custom_font_family_2);
89
+ if(isset($custom_font_family_2[0]) && isset($custom_font_family_2[1]) && $custom_font_family_2[0] == 'w')
90
+ {
91
+ $custom_list_2 = $themeOptions->custom_list_2 .'{font-family:"'.str_replace('+',' ',$custom_font_family_2[1]).'";}';
92
+ $gfontCss[] = $custom_font_family_2[1];
93
+ }
94
+ else
95
+ {
96
+ $custom_list_2 = $themeOptions->custom_list_2 .'{font-family:'.str_replace(array('s:','w:'), '', $themeOptions->custom_font_family_2).';}';
97
+ }
98
+ }
99
+ /**
100
+ *Typography - custom css
101
+ */
102
+ if ($themeOptions->is_custom_css == 1 && trim($themeOptions->custom_css) != null)
103
+ {
104
+ $custom_css = $themeOptions->custom_css;
105
+ }
106
+ /**
107
+ *Background - body config
108
+ */
109
+ if($themeOptions->body_background_change == 1)
110
+ {
111
+ if($themeOptions->body_background_color_change == 1 && $themeOptions->body_background_image != '')
112
+ {
113
+ $body_change .= 'background: url("'. $mediaUrl .'/ma2/images/'. $themeOptions->body_background_image .'") '. $themeOptions->body_background_image_repeat .' '. $themeOptions->body_background_image_position .' '.$themeOptions->body_background_color .';';
114
+ }
115
+ else if ($themeOptions->body_background_color_change == 1 && $themeOptions->body_background_image == '')
116
+ {
117
+ $body_change .= 'background:'.$themeOptions->body_background_color .';';
118
+ }
119
+ else if ($themeOptions->body_background_color_change == 0 && $themeOptions->body_background_image != '')
120
+ {
121
+ $body_change .= 'background: url("'. $mediaUrl .'/ma2/images/'. $themeOptions->body_background_image .'") '. $themeOptions->body_background_image_repeat .' '. $themeOptions->body_background_image_position .';';
122
+ }
123
+ }
124
+ /**
125
+ *Background - header config
126
+ */
127
+ $header_change = '';
128
+ if($themeOptions->header_background_change == 1)
129
+ {
130
+ if($themeOptions->header_background_color_change == 1 && $themeOptions->header_background_image != '')
131
+ {
132
+ $header_change .= 'background: url("'. $mediaUrl .'/ma2/images/'. $themeOptions->header_background_image .'") '. $themeOptions->header_background_image_repeat .' '. $themeOptions->header_background_image_position .' '.$themeOptions->header_background_color .';';
133
+ }
134
+ else if ($themeOptions->header_background_color_change == 1 && $themeOptions->header_background_image == '')
135
+ {
136
+ $header_change .= 'background:'.$themeOptions->header_background_color .';';
137
+ }
138
+ else if ($themeOptions->header_background_color_change == 0 && $themeOptions->header_background_image != '')
139
+ {
140
+ $header_change .= 'background: url("'. $mediaUrl .'/ma2/images/'. $themeOptions->header_background_image .'") '. $themeOptions->header_background_image_repeat .' '. $themeOptions->header_background_image_position .';';
141
+ }
142
+ }
143
+ /**
144
+ *Background - main config
145
+ */
146
+ $main_change = '';
147
+ if($themeOptions->main_background_change == 1)
148
+ {
149
+ if($themeOptions->main_background_color_change == 1 && $themeOptions->main_background_image != '')
150
+ {
151
+ $main_change .= 'background: url("'. $mediaUrl .'/ma2/images/'. $themeOptions->main_background_image .'") '. $themeOptions->main_background_image_repeat .' '. $themeOptions->main_background_image_position .' '.$themeOptions->main_background_color .';';
152
+ }
153
+ else if ($themeOptions->main_background_color_change == 1 && $themeOptions->main_background_image == '')
154
+ {
155
+ $main_change .= 'background:'.$themeOptions->main_background_color .';';
156
+ }
157
+ else if ($themeOptions->main_background_color_change == 0 && $themeOptions->main_background_image != '')
158
+ {
159
+ $main_change .= 'background: url("'. $mediaUrl .'/ma2/images/'. $themeOptions->main_background_image .'") '. $themeOptions->main_background_image_repeat .' '. $themeOptions->main_background_image_position .';';
160
+ }
161
+ }
162
+ /**
163
+ *Background - footer config
164
+ */
165
+ $footer_change = '';
166
+ if($themeOptions->footer_background_change == 1)
167
+ {
168
+ if($themeOptions->footer_background_color_change == 1 && $themeOptions->footer_background_image != '')
169
+ {
170
+ $footer_change .= 'background: url("'. $mediaUrl .'/ma2/images/'. $themeOptions->footer_background_image .'") '. $themeOptions->footer_background_image_repeat .' '. $themeOptions->footer_background_image_position .' '.$themeOptions->footer_background_color .';';
171
+ }
172
+ else if ($themeOptions->footer_background_color_change == 1 && $themeOptions->footer_background_image == '')
173
+ {
174
+ $footer_change .= 'background:'.$themeOptions->footer_background_color .';';
175
+ }
176
+ else if ($themeOptions->footer_background_color_change == 0 && $themeOptions->footer_background_image != '')
177
+ {
178
+ $footer_change .= 'background: url("'. $mediaUrl .'/ma2/images/'. $themeOptions->footer_background_image .'") '. $themeOptions->footer_background_image_repeat .' '. $themeOptions->footer_background_image_position .';';
179
+ }
180
+ }
181
+ /**
182
+ *Layouts - theme width
183
+ */
184
+ $theme_width = '';
185
+ if(trim($themeOptions->theme_width) != '')
186
+ {
187
+ $theme_width .= 'width:'. $themeOptions->theme_width .';';
188
+ }
189
+ /**
190
+ *Layouts - left width
191
+ */
192
+ $left_width = '';
193
+ if(trim($themeOptions->left_width) != '')
194
+ {
195
+ $left_width .= 'width:'. $themeOptions->left_width .';';
196
+ }
197
+ /**
198
+ *Layouts - right width
199
+ */
200
+ $right_width = '';
201
+ if(trim($themeOptions->right_width) != '')
202
+ {
203
+ $right_width .= 'width:'. $themeOptions->right_width .';';
204
+ }
205
+ ?>
206
+ <title><?php echo $this->getTitle() ?></title>
207
+ <meta http-equiv="Content-Type" content="<?php echo $this->getContentType() ?>" />
208
+ <meta http-equiv="x-ua-compatible" content="IE=edge" />
209
+ <meta name="description" content="<?php echo htmlspecialchars($this->getDescription()) ?>" />
210
+ <meta name="keywords" content="<?php echo htmlspecialchars($this->getKeywords()) ?>" />
211
+ <meta name="robots" content="<?php echo htmlspecialchars($this->getRobots()) ?>" />
212
+ <?php
213
+ $_session = Mage::getSingleton('core/session');
214
+ $_post = Mage::app()->getRequest()->getPost();
215
+ $style = "";
216
+ if(isset($_post['hiddenpreset']) && !empty($_post['hiddenpreset'])):
217
+ $_session->setData('PresetSession', $_post['hiddenpreset']);
218
+ endif;
219
+
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:
231
+ $faviSrc = $this->getSkinUrl('images/favicon-'.$preStyle.'.png');
232
+ endif;
233
+ else:
234
+ $faviSrc = $this->getFaviconFile();
235
+ $style = 'styles.css';
236
+ endif;
237
+ endif;
238
+ ?>
239
+ <link rel="icon" href="<?php echo $faviSrc; ?>" type="image/x-icon" />
240
+ <link rel="shortcut icon" href="<?php echo $faviSrc; ?>" type="image/x-icon" />
241
+ <link href="<?php echo $this->getSkinUrl('css/'.$style); ?>" type="text/css" rel="stylesheet">
242
+ <!--[if lt IE 7]>
243
+ <script type="text/javascript">
244
+ //<![CDATA[
245
+ var BLANK_URL = '<?php echo $this->helper('core/js')->getJsUrl('blank.html') ?>';
246
+ var BLANK_IMG = '<?php echo $this->helper('core/js')->getJsUrl('spacer.gif') ?>';
247
+ //]]>
248
+ </script>
249
+ <![endif]-->
250
+ <?php echo $this->getCssJsHtml() ?>
251
+ <?php echo $this->getChildHtml() ?>
252
+ <?php echo $this->helper('core/js')->getTranslatorScript() ?>
253
+ <?php echo $this->getIncludes() ?>
254
+ <?php
255
+ // Ma2 ThemeOptions apply styles
256
+ echo
257
+ '<style type="text/css">'.
258
+ 'body{'.$body_change.'}'.
259
+ 'div.header{'.$header_change . $theme_width.'}'.
260
+ 'div.main{'.$main_change . $theme_width.'}'.
261
+ 'div.footer{'.$footer_change . $theme_width.'}'.
262
+ $custom_list_1.
263
+ $custom_list_2.
264
+ $custom_css.
265
+ 'div.theme_width{'.$theme_width.'}'.
266
+ 'div.left_width{'.$left_width.'}'.
267
+ 'div.right_width{'.$right_width.'}'.
268
+ '</style>';
269
+ ?>
270
+ <?php
271
+ if(isset($PresetSession) && !empty($PresetSession)):
272
+ $newClassBody = 'ma2-preset-style-'.$PresetSession;
273
+ else:
274
+ $preStyle = Mage::getStoreConfig("theme_options/general/preset_styles");
275
+ if(isset($preStyle) && !empty($preStyle)):
276
+ $newClassBody = 'ma2-preset-style-'.$preStyle;
277
+ endif;
278
+ endif;
279
+ if ($root = $this->getLayout()->getBlock('root')):
280
+ $root->addBodyClass($newClassBody);
281
+ endif;
282
+ ?>
app/design/frontend/ma2/ante/template/page/html/header.phtml ADDED
@@ -0,0 +1,122 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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; ?>
app/design/frontend/ma2/ante/template/page/html/ma2head.phtml ADDED
@@ -0,0 +1,178 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 ADDED
@@ -0,0 +1,124 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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/sampleblocks/banner-bottom.phtml ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $i_banner_bottom = $this->getLayout()->createBlock("cms/block")->setBlockId("i_banner_bottom")->toHtml();
3
+ if(!isset($i_banner_bottom) || $i_banner_bottom == ""):
4
+ ?>
5
+ <?php
6
+ $classbanner = "" ;
7
+ $PresetSession = Mage::getSingleton('core/session')->getData('PresetSession');
8
+ if(isset($PresetSession) && !empty($PresetSession)):
9
+ if($PresetSession == "blue"):
10
+ $classbanner = "banner-bottom-blue" ;
11
+ else:
12
+ $classbanner="banner-bottom";
13
+ endif;
14
+ else:
15
+ $preStyle = Mage::getStoreConfig("theme_options/general/preset_styles");
16
+ if(isset($preStyle) && !empty($preStyle)):
17
+ if($preStyle == "blue"):
18
+ $classbanner="banner-bottom-blue";
19
+ else:
20
+ $classbanner="banner-bottom";
21
+ endif;
22
+ else:
23
+ $classbanner="banner-bottom";
24
+ endif;
25
+ endif;
26
+ ?>
27
+ <div class="<?php echo $classbanner; ?>">
28
+ <?php echo $this->__('Shop all adidas accessories ...'); ?>
29
+ <a href="<?php echo $this->getInputLink();?>">
30
+ <?php echo $this->__('Most items'); ?>
31
+ </a>
32
+ <?php echo $this->__('ship next day') ?>
33
+ </div>
34
+ <?php
35
+ else:
36
+ echo $i_banner_bottom;
37
+ endif;
38
+ ?>
app/design/frontend/ma2/ante/template/page/html/sampleblocks/bannerimg.phtml ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $img1 = '';
3
+ $img2 = '';
4
+ $pathSrc = '';
5
+ $PresetSession = Mage::getSingleton('core/session')->getData('PresetSession');
6
+ if(isset($PresetSession) && !empty($PresetSession)):
7
+ $img1 = '3-'.$PresetSession.'.png';
8
+ $img2 = '4-'.$PresetSession.'.png';
9
+ else:
10
+ $preStyle = Mage::getStoreConfig("theme_options/general/preset_styles");
11
+ if(isset($preStyle) && !empty($preStyle)):
12
+ $img1 = '3-'.$preStyle.'.png';
13
+ $img2 = '4-'.$preStyle.'.png';
14
+ else:
15
+ $img1 = '3.png';
16
+ $img2 = '4.png';
17
+ endif;
18
+ endif;
19
+ $i_banner_img = $this->getLayout()->createBlock("cms/block")->setBlockId("i_banner_img")->toHtml();
20
+ if(!isset($i_banner_img) || $i_banner_img == ""):
21
+ ?>
22
+ <div class="netq-img">
23
+ <a href="#">
24
+ <img src="<?php echo $this->getSkinUrl('images/banner'.$img1);?>" alt="The new heritage" style="margin-bottom: 10px;" width="448" height="237" />
25
+ </a>
26
+ <a href="#">
27
+ <img src="<?php echo $this->getSkinUrl('images/banner'.$img2);?>" alt="Save 10% to 30%" width="448" height="172" />
28
+ </a>
29
+ </div>
30
+ <?php
31
+ else:
32
+ echo $i_banner_img;
33
+ endif;
34
+ ?>
app/design/frontend/ma2/ante/template/page/html/sampleblocks/block-call-toll-free.phtml ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
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/block-right-adv.phtml ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $urlSocial = '';
3
+ $PresetSession = Mage::getSingleton('core/session')->getData('PresetSession');
4
+ if(isset($PresetSession) && !empty($PresetSession)):
5
+ $urlSocial = $this->getSkinUrl('images/right-adv-'.$PresetSession.'.png');
6
+ else:
7
+ $preStyle = Mage::getStoreConfig("theme_options/general/preset_styles");
8
+ if(isset($preStyle) && !empty($preStyle)):
9
+ $urlSocial = $this->getSkinUrl('images/right-adv-'.$preStyle.'.png');
10
+ else:
11
+ $urlSocial = $this->getSkinUrl('images/right-adv.png');
12
+ endif;
13
+ endif;
14
+ $i_right_adv= $this->getLayout()->createBlock("cms/block")->setBlockId("i_right_adv")->toHtml();
15
+ 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
23
+ else:
24
+ echo $i_right_adv;
25
+ endif;
26
+ ?>
app/design/frontend/ma2/ante/template/page/html/sampleblocks/footer-block-one.phtml ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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/topmenu.phtml ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_Page_Block_Html_Topmenu
32
+ */
33
+ ?>
34
+ <?php $_menu = $this->getHtml('level-top') ?>
35
+ <?php if($_menu): ?>
36
+ <div class="nav-container <?php echo $this->getAddApp(); ?>">
37
+ <ul id="nav">
38
+ <?php
39
+ $homeItem = '';
40
+ $firtItem = '';
41
+ if ($this->getRequest()->getAlias(Mage_Core_Model_Url_Rewrite::REWRITE_REQUEST_PATH_ALIAS) == ''):
42
+ $homeItem = 'home';
43
+ endif;
44
+ if($first==0):
45
+ $firtItem = ' first';
46
+ endif;
47
+ ?>
48
+ <li class="<?php echo $homeItem; echo $firtItem;?>" onmouseover="toggleMenu(this,1)" onmouseout="toggleMenu(this,0)">
49
+ <a class="<?php if($first==0): echo ' first'; endif;?>" href="<?php echo $this->getUrl('')?>">
50
+ <span><?php echo $this->__('Home') ?></span>
51
+ </a>
52
+ </li>
53
+ <?php echo $_menu ?>
54
+ </ul>
55
+ </div>
56
+ <?php endif ?>
app/design/frontend/ma2/ante/template/page/html/wrapper.phtml ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 ADDED
@@ -0,0 +1,94 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ * Calendar localization script. Should be put into page header.
30
+ *
31
+ * @see Mage_Core_Block_Html_Calendar
32
+ */
33
+ ?>
34
+
35
+ <script type="text/javascript">
36
+ //<![CDATA[
37
+ enUS = <?php echo $enUS?>; // en_US locale reference
38
+ Calendar._DN = <?php echo $days['wide']?>; // full day names
39
+ Calendar._SDN = <?php echo $days['abbreviated']?>; // short day names
40
+ Calendar._FD = <?php echo $firstDay?>; // First day of the week. "0" means display Sunday first, "1" means display Monday first, etc.
41
+ Calendar._MN = <?php echo $months['wide']?>; // full month names
42
+ Calendar._SMN = <?php echo $months['abbreviated']?>; // short month names
43
+ Calendar._am = <?php echo $am ?>; // am/pm
44
+ Calendar._pm = <?php echo $pm ?>;
45
+
46
+ // tooltips
47
+ Calendar._TT = {};
48
+ Calendar._TT["INFO"] = "<?php echo $this->jsQuoteEscape( $this->__('About the calendar') );?>";
49
+
50
+ Calendar._TT["ABOUT"] =
51
+ "<?php echo $this->jsQuoteEscape( $this->__('DHTML Date/Time Selector') )?>\n" +
52
+ "(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" +
53
+ "<?php echo $this->jsQuoteEscape( $this->__('For latest version visit: %s', 'http://www.dynarch.com/projects/calendar/') )?>\n" +
54
+ "<?php echo $this->jsQuoteEscape( $this->__('Distributed under GNU LGPL. See %s for details.', 'http://gnu.org/licenses/lgpl.html') )?>" +
55
+ "\n\n" +
56
+ "<?php echo $this->jsQuoteEscape( $this->__('Date selection:') )?>\n" +
57
+ "<?php echo $this->jsQuoteEscape( $this->__('- Use the %s, %s buttons to select year', '\\xab', '\xbb') )?>\n" +
58
+ "<?php echo $this->jsQuoteEscape( $this->__('- Use the %s buttons to select month', '" + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + "') )?>\n" +
59
+ "<?php echo $this->jsQuoteEscape( $this->__('- Hold mouse button on any of the above buttons for faster selection.') )?>";
60
+ Calendar._TT["ABOUT_TIME"] = "\n\n" +
61
+ "<?php echo $this->jsQuoteEscape( $this->__('Time selection:') )?>\n" +
62
+ "<?php echo $this->jsQuoteEscape( $this->__('- Click on any of the time parts to increase it') )?>\n" +
63
+ "<?php echo $this->jsQuoteEscape( $this->__('- or Shift-click to decrease it') )?>\n" +
64
+ "<?php echo $this->jsQuoteEscape( $this->__('- or click and drag for faster selection.') )?>";
65
+
66
+ Calendar._TT["PREV_YEAR"] = "<?php echo $this->jsQuoteEscape( $this->__('Prev. year (hold for menu)') );?>";
67
+ Calendar._TT["PREV_MONTH"] = "<?php echo $this->jsQuoteEscape( $this->__('Prev. month (hold for menu)') );?>";
68
+ Calendar._TT["GO_TODAY"] = "<?php echo $this->jsQuoteEscape( $this->__('Go Today') );?>";
69
+ Calendar._TT["NEXT_MONTH"] = "<?php echo $this->jsQuoteEscape( $this->__('Next month (hold for menu)') );?>";
70
+ Calendar._TT["NEXT_YEAR"] = "<?php echo $this->jsQuoteEscape( $this->__('Next year (hold for menu)') );?>";
71
+ Calendar._TT["SEL_DATE"] = "<?php echo $this->jsQuoteEscape( $this->__('Select date') );?>";
72
+ Calendar._TT["DRAG_TO_MOVE"] = "<?php echo $this->jsQuoteEscape( $this->__('Drag to move') );?>";
73
+ Calendar._TT["PART_TODAY"] = ' (' + <?php echo $today ?> + ')';
74
+
75
+ // the following is to inform that "%s" is to be the first day of week
76
+ Calendar._TT["DAY_FIRST"] = "<?php echo $this->jsQuoteEscape( $this->__('Display %s first', '%s') );?>";
77
+
78
+ // This may be locale-dependent. It specifies the week-end days, as an array
79
+ // of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1
80
+ // means Monday, etc.
81
+ Calendar._TT["WEEKEND"] = <?php echo $weekendDays?>;
82
+
83
+ Calendar._TT["CLOSE"] = "<?php echo $this->jsQuoteEscape( $this->__('Close') );?>";
84
+ Calendar._TT["TODAY"] = <?php echo $today ?>;
85
+ Calendar._TT["TIME_PART"] = "<?php echo $this->jsQuoteEscape( $this->__('(Shift-)Click or drag to change value') );?>";
86
+
87
+ // date formats
88
+ Calendar._TT["DEF_DATE_FORMAT"] = <?php echo $defaultFormat?>;
89
+ Calendar._TT["TT_DATE_FORMAT"] = <?php echo $toolTipFormat?>;
90
+
91
+ Calendar._TT["WK"] = <?php echo $week ?>;
92
+ Calendar._TT["TIME"] = "<?php echo $this->jsQuoteEscape( $this->__('Time:') );?>";
93
+ //]]>
94
+ </script>
app/design/frontend/ma2/ante/template/page/js/cookie.phtml ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ * Cookie settings initialization script
30
+ *
31
+ * @see Mage_Page_Block_Js_Cookie
32
+ */
33
+ ?>
34
+
35
+ <script type="text/javascript">
36
+ //<![CDATA[
37
+ Mage.Cookies.path = '<?php echo $this->getPath()?>';
38
+ Mage.Cookies.domain = '<?php echo $this->getDomain()?>';
39
+ //]]>
40
+ </script>
app/design/frontend/ma2/ante/template/page/popup.phtml ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 class="page-popup<?php echo $this->getBodyClass()?$this->getBodyClass() : ''?>">
38
+ <div>
39
+ <?php echo $this->getChildHtml('after_body_start') ?>
40
+ <?php echo $this->getChildHtml('content') ?>
41
+ <?php echo $this->getChildHtml('before_body_end') ?>
42
+ </div>
43
+ <?php echo $this->getAbsoluteFooter() ?>
44
+ </body>
45
+ </html>
app/design/frontend/ma2/ante/template/page/print.phtml ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 class="page-print<?php echo $this->getBodyClass()?$this->getBodyClass():'' ?>">
38
+ <div>
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') ?>
46
+ <div class="buttons-set">
47
+ <button type="button" title="<?php echo $this->__('Close Window') ?>" class="button" onclick="window.close();"><span><span><?php echo $this->__('Close Window') ?></span></span></button>
48
+ </div>
49
+ <?php echo $this->getAbsoluteFooter() ?>
50
+ </div>
51
+ </body>
52
+ </html>
app/design/frontend/ma2/ante/template/page/redirect.phtml ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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="page-title">
28
+ <h1><?php echo $this->__('Redirecting...') ?></h1>
29
+ </div>
30
+ <?php if($this->getMessage()): ?>
31
+ <p><?php echo $this->getMessage() ?></p>
32
+ <?php endif; ?>
33
+ <?php echo $this->getRedirectOutput() ?>
34
+ <?php if(!$this->isHtmlFormRedirect()): ?>
35
+ <p><?php echo $this->__('Click <a href="%s">here</a> if nothing has happened', $this->getTargetURL()) ?></p>
36
+ <?php endif; ?>
app/design/frontend/ma2/ante/template/page/switch/flags.phtml ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 if(count($this->getStores())>1): ?>
28
+ <div class="form-language">
29
+ <label for="select-language"><?php echo $this->__('Your Language:') ?></label>
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>
37
+ <?php endif; ?>
app/design/frontend/ma2/ante/template/page/switch/languages.phtml ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ * Language switcher template
30
+ *
31
+ * @see Mage_Page_Block_Switch
32
+ */
33
+ ?>
34
+ <?php if(count($this->getStores())>1): ?>
35
+ <div class="form-language">
36
+ <label for="select-language"><?php echo $this->__('Your Language:') ?></label>
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>
44
+ <?php endif; ?>
app/design/frontend/ma2/ante/template/page/switch/stores.phtml ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ * Store switcher template
30
+ *
31
+ * @see Mage_Core_Block_Store_Switcher
32
+ */
33
+ ?>
34
+ <?php if(count($this->getGroups())>1): ?>
35
+ <div class="store-switcher">
36
+ <label for="select-store"><?php echo $this->__('Select Store:') ?></label>
37
+ <select id="select-store" title="<?php echo $this->__('Select Store') ?>" onchange="location.href=this.value">
38
+ <?php /*foreach ($this->getStores() as $_store): ?>
39
+ <option value="<?php echo $_store->getUrl('') ?>"<?php if($_store->getId()==$this->getCurrentStoreId()): ?> selected="selected"<?php endif; ?>><?php echo $_store->getName() ?></option>
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>
47
+ <?php endif; ?>
app/design/frontend/ma2/ante/template/page/template/container.phtml ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ * @see Mage_Page_Block_Template_Container
30
+ */
31
+ ?>
32
+ <div class="page-title">
33
+ <h1><?php echo $this->getTitle() ?></h1>
34
+ </div>
35
+ <?php echo $this->getChildHtml() ?>
app/design/frontend/ma2/ante/template/page/template/links.phtml ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ * @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; ?>
app/design/frontend/ma2/ante/template/page/template/linksblock.phtml ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ * @see Mage_Page_Block_Template_Links_Block
30
+ */
31
+ ?>
32
+ <li<?php if($this->getIsFirst()||$this->getIsLast()): ?> class="<?php if($this->getIsFirst()): ?>first<?php endif; ?><?php if($this->getIsLast()): ?> last<?php endif; ?>"<?php endif; ?> <?php echo $this->getLiParams() ?>><?php echo $this->getBeforeText() ?><a href="<?php echo $this->getLinkUrl() ?>" title="<?php echo $this->getTitle() ?>" <?php echo $this->getAParams() ?>><?php echo $this->getLabel() ?></a><?php echo $this->getAfterText() ?></li>
app/design/frontend/ma2/ante/template/review/helper/summary_nolinks.phtml ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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) 2011 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
+ * Modification of /template/review/helper/summary.phtml
28
+ * - Changed path of the link to reviews list
29
+ * - Added id="goto-reviews" to identify this link on product view
30
+ * - Changed path of the link to review form
31
+ * - Added id="goto-reviews-form" to identify this link on product view
32
+ * - Same changes for the link displayed when there are no ratings
33
+ */
34
+ ?>
35
+ <?php if ($this->getReviewsCount()): ?>
36
+ <div class="ratings">
37
+ <?php if ($this->getRatingSummary()):?>
38
+ <div class="rating-box">
39
+ <div class="rating" style="width:<?php echo $this->getRatingSummary() ?>%"></div>
40
+ </div>
41
+ <?php endif;?>
42
+ <p class="rating-links">
43
+ <a id="goto-reviews" href="#product-tabs"><?php echo $this->__('%d Review(s)', $this->getReviewsCount()) ?></a>
44
+ <span class="separator">|</span>
45
+ <a id="goto-reviews-form" href="#review-form"><?php echo $this->__('Add Your Review') ?></a>
46
+ </p>
47
+ </div>
48
+ <?php elseif ($this->getDisplayIfEmpty()): ?>
49
+ <p class="no-rating"><a id="goto-reviews-form" href="#review-form"><?php echo $this->__('Be the first to review this product') ?></a></p>
50
+ <?php endif; ?>
app/design/frontend/ma2/ante/template/review/helper/summary_short.phtml ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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) 2011 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
+ * Modification of /template/review/helper/summary_short.phtml
28
+ * - Removed links to review page and review form
29
+ */
30
+ ?>
31
+
32
+ <?php if ($this->getReviewsCount()): ?>
33
+ <div class="ratings">
34
+ <?php if ($this->getRatingSummary()):?>
35
+ <p class="title-rating"><?php echo $this->__('Average Rating') ?>
36
+ <div class="rating-box">
37
+ <div class="rating" style="width:<?php echo $this->getRatingSummary() ?>%"></div>
38
+ </div>
39
+ </p>
40
+ <?php endif;?>
41
+ <p class="rating-links">
42
+ <?php echo $this->__('%d Review(s)', $this->getReviewsCount()) ?>
43
+ <span class="separator">|</span>
44
+ <span class="amount"><a href="#" onclick="var t = opener ? opener.window : window; t.location.href='<?php echo $this->getReviewsUrl() ?>'; return false;"><?php echo $this->__('%d Review(s)', $this->getReviewsCount()) ?></a></span>
45
+ </p>
46
+ </div>
47
+ <?php elseif ($this->getDisplayIfEmpty()): ?>
48
+ <p class="title-rating"><?php echo $this->__('Average Rating') ?>
49
+ <div class="rating-box">
50
+ <div class="rating" style="width:<?php echo $this->getRatingSummary() ?>%"></div>
51
+ </div>
52
+ </p>
53
+ <p class="rating-links">
54
+ <?php echo $this->__('%d Review(s)', $this->getReviewsCount()) ?>
55
+ <p class="no-rating"><a href="<?php echo $this->getReviewsUrl() ?>#review-form"><?php echo $this->__('Add Your Review') ?></a></p>
56
+ </p>
57
+ <?php endif; ?>
app/design/frontend/ma2/ante/template/review/product/view/list.phtml ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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) 2011 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
+ * - Each review title: "a" replaced with "span.heading"
28
+ */
29
+ ?>
30
+
31
+ <?php $_items = $this->getReviewsCollection()->getItems();?>
32
+ <div class="box-collateral box-reviews" id="customer-reviews">
33
+ <?php if (count($_items)):?>
34
+ <h2><?php echo $this->__('Customer Reviews') ?></h2>
35
+ <?php echo $this->getChildHtml('toolbar') ?>
36
+ <dl>
37
+ <?php foreach ($_items as $_review):?>
38
+ <dt>
39
+ <span class="heading"><?php echo $this->htmlEscape($_review->getTitle()) ?></span><?php echo $this->__('Review by <span>%s</span>', $this->htmlEscape($_review->getNickname())) ?>
40
+ </dt>
41
+ <dd>
42
+ <?php $_votes = $_review->getRatingVotes(); ?>
43
+ <?php if (count($_votes)): ?>
44
+ <table class="ratings-table">
45
+ <col width="1" />
46
+ <col />
47
+ <tbody>
48
+ <?php foreach ($_votes as $_vote): ?>
49
+ <tr>
50
+ <th><?php echo $this->escapeHtml($_vote->getRatingCode()) ?></th>
51
+ <td>
52
+ <div class="rating-box">
53
+ <div class="rating" style="width:<?php echo $_vote->getPercent() ?>%;"></div>
54
+ </div>
55
+ </td>
56
+ </tr>
57
+ <?php endforeach; ?>
58
+ </tbody>
59
+ </table>
60
+ <?php endif; ?>
61
+ <?php echo nl2br($this->htmlEscape($_review->getDetail())) ?>
62
+ <small class="date"><?php echo $this->__('(Posted on %s)', $this->formatDate($_review->getCreatedAt()), 'long') ?></small>
63
+ </dd>
64
+ <?php endforeach; ?>
65
+ </dl>
66
+ <?php echo $this->getChildHtml('toolbar') ?>
67
+ <?php endif;?>
68
+ <?php echo $this->getChildHtml('review_form') ?>
69
+ </div>
app/design/frontend/ma2/ante/template/sales/order/info.phtml ADDED
@@ -0,0 +1,113 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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) 2011 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 buttons moved to new "action-buttons" box
30
+ * - Wrapped and simplified "order-info" box: unordered list raplaced with "<a><span></span></a>" structure.
31
+ * Now it's using "large-tabs" styling.
32
+ */
33
+ ?>
34
+ <?php /** @var $this Mage_Sales_Block_Order_Info */ ?>
35
+ <?php $_order = $this->getOrder() ?>
36
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
37
+ <div class="page-title title-buttons">
38
+ <h1><?php echo $this->__('Order #%s - %s', $_order->getRealOrderId(), $_order->getStatusLabel()) ?></h1>
39
+ </div>
40
+ <div id="action-buttons">
41
+ <?php echo $this->getChildHtml('buttons') ?>
42
+ </div>
43
+ <?php echo $this->getStatusHistoryRssUrl($_order) ?>
44
+
45
+ <div class="clearer"></div>
46
+ <div class="large-tabs-left large-tabs-bg"></div>
47
+ <dl class="large-tabs large-tabs-bg order-info">
48
+ <dt><?php echo $this->__('About This Order:') ?></dt>
49
+ <dd>
50
+ <?php $_links = $this->getLinks(); ?>
51
+ <?php foreach ($_links as $_link): ?>
52
+ <?php if($_link->getUrl()): ?>
53
+ <a href="<?php echo $_link->getUrl() ?>"><span><?php echo $_link->getLabel() ?></span></a>
54
+ <?php else: ?>
55
+ <a class="current"><span><?php echo $_link->getLabel() ?></span></a>
56
+ <?php endif; ?>
57
+ <?php endforeach; ?>
58
+ </dd>
59
+ </dl>
60
+ <div class="large-tabs-right large-tabs-bg"></div>
61
+ <div class="clearer"></div>
62
+
63
+ <p class="order-date"><?php echo $this->__('Order Date: %s', $this->formatDate($_order->getCreatedAtStoreDate(), 'long')) ?></p>
64
+ <?php if (!$_order->getIsVirtual()): ?>
65
+ <div class="col2-set order-info-box">
66
+ <div class="col-1">
67
+ <div class="box">
68
+ <div class="box-title">
69
+ <h2><?php echo $this->__('Shipping Address') ?></h2>
70
+ </div>
71
+ <div class="box-content">
72
+ <address><?php echo $_order->getShippingAddress()->format('html') ?></address>
73
+ </div>
74
+ </div>
75
+ </div>
76
+ <div class="col-2">
77
+ <div class="box">
78
+ <div class="box-title">
79
+ <h2><?php echo $this->__('Shipping Method') ?><?php /* | <a href="#"><?php echo $this->__('Track Order') ?></a>*/ ?></h2>
80
+ </div>
81
+ <div class="box-content">
82
+ <?php if ($_order->getShippingDescription()): ?>
83
+ <?php echo $_order->getShippingDescription() ?>
84
+ <?php else: ?>
85
+ <p><?php echo $this->helper('sales')->__('No shipping information available'); ?></p>
86
+ <?php endif; ?>
87
+ </div>
88
+ </div>
89
+ </div>
90
+ </div>
91
+ <?php endif; ?>
92
+ <div class="col2-set order-info-box">
93
+ <div class="col-1">
94
+ <div class="box">
95
+ <div class="box-title">
96
+ <h2><?php echo $this->__('Billing Address') ?></h2>
97
+ </div>
98
+ <div class="box-content">
99
+ <address><?php echo $_order->getBillingAddress()->format('html') ?></address>
100
+ </div>
101
+ </div>
102
+ </div>
103
+ <div class="col-2">
104
+ <div class="box box-payment">
105
+ <div class="box-title">
106
+ <h2><?php echo $this->__('Payment Method') ?></h2>
107
+ </div>
108
+ <div class="box-content">
109
+ <?php echo $this->getPaymentInfoHtml() ?>
110
+ </div>
111
+ </div>
112
+ </div>
113
+ </div>
app/design/frontend/ma2/ante/template/tag/cloud.phtml ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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="page-title">
28
+ <h1><?php echo $this->__('All Tags') ?></h1>
29
+ </div>
30
+ <?php if( sizeof($this->getTags()) > 0 ): ?>
31
+ <ul class="tags-list">
32
+ <?php foreach ($this->getTags() as $_tag): ?>
33
+ <li><a href="<?php echo $_tag->getTaggedProductsUrl() ?>" style="font-size:<?php echo $_tag->getRatio()*70+75 ?>%;"><?php echo $this->htmlEscape($_tag->getName()) ?></a></li>
34
+ <?php endforeach; ?>
35
+ </ul>
36
+ <?php else: ?>
37
+ <p class="note-msg"><?php echo $this->__('There are no tags available.') ?></p>
38
+ <?php endif; ?>
app/design/frontend/ma2/ante/template/tag/customer/recent.phtml ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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="box-account box-tags">
28
+ <div class="box-head">
29
+ <h2><?php echo $this->__('My Recent Tags') ?></h2>
30
+ <a href="<?php echo $this->getAllTagsUrl() ?>"><?php echo $this->__('View All Tags') ?></a>
31
+ </div>
32
+ <ol id="my_recent_tags">
33
+ <?php $iterator = 0; ?>
34
+ <?php foreach( $this->getCollection()->getItems() as $_item ): ?>
35
+ <li class="item">
36
+ <span class="number"><?php echo ++$iterator ?></span>
37
+ <div class="details">
38
+ <h3 class="product-name"><a href="<?php echo $_item->getProductUrl() ?>"><?php echo $this->htmlEscape($_item->getName()) ?></a></h3>
39
+ <div class="tags">
40
+ <strong><?php echo $this->__('Tags:') ?></strong>
41
+ <?php $_i = 0; ?>
42
+ <ul>
43
+ <?php foreach( $_item->getProductTags() as $_tag ): ?>
44
+ <li><a href="<?php echo $_tag->getViewTagUrl() ?>"><?php echo $this->htmlEscape($_tag->getName()) ?></a><?php if(++$_i != sizeof($_item->getProductTags()->getItems())): ?>,<?php endif; ?></li>
45
+ <?php endforeach; ?>
46
+ </ul>
47
+ </div>
48
+ </div>
49
+ </li>
50
+ <?php endforeach; ?>
51
+ </ol>
52
+ <script type="text/javascript">decorateList('my_recent_tags', 'none-recursive');</script>
53
+ </div>
app/design/frontend/ma2/ante/template/tag/customer/tags.phtml ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 echo $this->getMessagesBlock()->getGroupedHtml() ?>
28
+ <div class="page-title">
29
+ <h1><?php echo $this->__('My Tags') ?></h1>
30
+ </div>
31
+ <?php if($this->getTags()): ?>
32
+ <p><?php echo $this->__('Click on a tag to view your corresponding products.') ?></p>
33
+ <ul class="tags-list">
34
+ <?php foreach ($this->getTags() as $_tag): ?>
35
+ <li><a href="<?php echo $this->getUrl('tag/customer/view', array('tagId' => $_tag->getTagId())) ?>" style="font-size:<?php echo $_tag->getRatio()*70+75 ?>%;"><?php echo $this->htmlEscape($_tag->getName()) ?></a></li>
36
+ <?php endforeach; ?>
37
+ </ul>
38
+ <?php else: ?>
39
+ <p><?php echo $this->__('You have not tagged any products yet.') ?></p>
40
+ <?php endif; ?>
41
+ <div class="buttons-set">
42
+ <p class="back-link"><a href="<?php echo $this->escapeUrl($this->getBackUrl()) ?>"><small>&laquo; </small><?php echo $this->__('Back') ?></a></p>
43
+ </div>
app/design/frontend/ma2/ante/template/tag/customer/view.phtml ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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="page-title">
28
+ <h1><?php echo $this->__('My Tags') ?></h1>
29
+ </div>
30
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
31
+ <p class="my-tag-edit">
32
+ <a href="#" title="<?php echo $this->__('Delete') ?>" onclick="if(confirm('<?php echo $this->__('Are you sure you want to delete this tag?') ?>')) window.location='<?php echo $this->getTagInfo()->getRemoveTagUrl(); ?>'; return false;" class="button btn-remove"><span><?php echo $this->__('Delete') ?></span></a>
33
+ <?php echo $this->__('<strong>Tag Name:</strong> %s', $this->htmlEscape($this->getTagInfo()->getName())) ?>
34
+ </p>
35
+ <div class="clearer"></div>
36
+ <?php echo $this->getToolbarHtml() ?>
37
+ <table class="data-table" id="my-tags-table">
38
+ <?php if( sizeof($this->getMyProducts()) > 0 ): ?>
39
+ <col width="1" />
40
+ <col />
41
+ <col width="1" />
42
+ <tbody>
43
+ <?php $iterator = 0 ?>
44
+ <?php foreach($this->getMyProducts() as $_product): ?>
45
+ <tr<?php if($iterator % 2 == 0): ?> class="odd"<?php $iterator++;endif; ?>>
46
+ <td><a href="<?php echo $_product->getProductUrl(); ?>" title="<?php echo $this->htmlEscape($_product->getName()) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(100, 100); ?>" width="100" height="100" alt="<?php echo $this->htmlEscape($_product->getName()) ?>" /></a></td>
47
+ <td>
48
+ <h2 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>"><?php echo $this->htmlEscape($_product->getName()) ?></a></h2>
49
+ <?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
50
+ <?php echo $this->getPriceHtml($_product) ?>
51
+ <?php echo $this->htmlEscape($_product->getDescription()) ?>
52
+ </td>
53
+ <td>
54
+ <?php if($_product->isSaleable()): ?>
55
+ <button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getUrl('checkout/cart/add',array('product'=>$_product->getId())) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
56
+ <?php endif; ?>
57
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
58
+ <ul class="add-to-links">
59
+ <li>
60
+ <a href="<?php echo $this->getUrl('wishlist/index/add',array('product'=>$_product->getId())) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a>
61
+ </li>
62
+ </ul>
63
+ <?php endif; ?>
64
+ </td>
65
+ </tr>
66
+ <?php endforeach; ?>
67
+ </tbody>
68
+ <?php else: ?>
69
+ <tbody>
70
+ <tr>
71
+ <td>
72
+ <?php echo $this->__("Unable to find any products tagged with '%s' in the current store", $this->htmlEscape($this->getTagInfo()->getName()) ) ?>
73
+ </td>
74
+ </tr>
75
+ </tbody>
76
+ <?php endif; ?>
77
+ </table>
78
+ <script type="text/javascript">decorateTable('my-tags-table')</script>
79
+ <?php echo $this->getToolbarHtml() ?>
80
+ <div class="buttons-set">
81
+ <p class="back-link"><a href="<?php echo $this->getUrl('*/*/')?>"><small>&laquo; </small><?php echo $this->__('Back to Tags List')?></a></p>
82
+ </div>
app/design/frontend/ma2/ante/template/tag/list.phtml ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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="box-collateral box-tags">
28
+ <h2><?php echo $this->__('Product Tags') ?></h2>
29
+ <?php echo $this->getChildHtml('list_before')?>
30
+ <?php if( $this->getCount() ): ?>
31
+ <h3><?php echo $this->__('Other people marked this product with these tags:') ?></h3>
32
+ <ul id="<?php echo $this->getUniqueHtmlId('product-tags_'); ?>" class="product-tags">
33
+ <?php echo $this->renderTags('<li><a href="%1$s">%2$s</a> (%3$s)</li>') ?>
34
+ </ul>
35
+ <script type="text/javascript">
36
+ decorateGeneric($("<?php echo $this->getUniqueHtmlId('product-tags_'); ?>").select('li'), ['first', 'last']);
37
+ </script>
38
+ <?php endif; ?>
39
+ <form id="addTagForm" action="<?php echo $this->getFormAction(); ?>" method="get">
40
+ <div class="form-add">
41
+ <label for="productTagName"><?php echo $this->__('Add Your Tags:') ?></label>
42
+ <div class="input-box">
43
+ <input type="text" class="input-text required-entry" name="productTagName" id="productTagName" />
44
+ </div>
45
+ <button type="button" title="<?php echo $this->__('Add Tags') ?>" class="button" onclick="submitTagForm()">
46
+ <span>
47
+ <span><?php echo $this->__('Add Tags') ?></span>
48
+ </span>
49
+ </button>
50
+ </div>
51
+ </form>
52
+ <p class="note"><?php echo $this->__("Use spaces to separate tags. Use single quotes (') for phrases.") ?></p>
53
+ <script type="text/javascript">
54
+ //<![CDATA[
55
+ var addTagFormJs = new VarienForm('addTagForm');
56
+ function submitTagForm(){
57
+ if(addTagFormJs.validator.validate()) {
58
+ addTagFormJs.form.submit();
59
+ }
60
+ }
61
+ //]]>
62
+ </script>
63
+ </div>
app/design/frontend/ma2/ante/template/tag/popular.phtml ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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="block block-tags">
28
+ <div class="block-title">
29
+ <strong><span><?php echo $this->__('Popular Tags'); ?></span></strong>
30
+ </div>
31
+ <div class="block-content">
32
+ <ul class="tags-list">
33
+ <?php foreach ($this->getTags() as $_tag): ?>
34
+ <li><a href="<?php echo $_tag->getTaggedProductsUrl() ?>" style="font-size:<?php echo $_tag->getRatio()*70+75 ?>%;"><?php echo $this->htmlEscape($_tag->getName()) ?></a></li>
35
+ <?php endforeach; ?>
36
+ </ul>
37
+ <div class="actions">
38
+ <a href="<?php echo $this->getUrl('tag/list') ?>"><?php echo $this->__('View All Tags') ?></a>
39
+ </div>
40
+ </div>
41
+ </div>
app/etc/modules/Ma2_FeaturedProducts.xml ADDED
@@ -0,0 +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>
app/etc/modules/Ma2_ThemeOptions.xml ADDED
@@ -0,0 +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>
app/etc/modules/Wru_HomeTop.xml ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
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 ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 ADDED
@@ -0,0 +1,154 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 ADDED
@@ -0,0 +1,152 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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/readmore.js ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+
js/ma2_all/widgettabs.js ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ if (!window.Ma2All) {
2
+ window.Ma2All = {};
3
+ }
4
+ Ma2All.templatesPattern = /(^|.|\r|\n)(\{\{(.*?)\}\})/;
5
+
6
+ /* Tabs */
7
+ Ma2All.Tabs = Class.create();
8
+ Object.extend(Ma2All.Tabs.prototype, {
9
+ initialize: function (container) {
10
+ this.container = $(container);
11
+ this.container.addClassName('tab-list');
12
+ this.tabs = this.container.select('dt.tab');
13
+ this.activeTab = this.tabs.first();
14
+ this.tabs.first().addClassName('first');
15
+ this.tabs.last().addClassName('last');
16
+ this.onTabClick = this.handleTabClick.bindAsEventListener(this);
17
+ for (var i = 0, l = this.tabs.length; i < l; i ++) {
18
+ this.tabs[i].observe('click', this.onTabClick);
19
+ }
20
+ this.select();
21
+ },
22
+ handleTabClick: function (evt) {
23
+ this.activeTab = Event.findElement(evt, 'dt');
24
+ this.select();
25
+ },
26
+ select: function () {
27
+ for (var i = 0, l = this.tabs.length; i < l; i ++) {
28
+ if (this.tabs[i] == this.activeTab) {
29
+ this.tabs[i].addClassName('active');
30
+ this.tabs[i].style.zIndex = this.tabs.length + 2;
31
+ /*this.tabs[i].next('dd').show();*/
32
+ new Effect.Appear (this.tabs[i].next('dd'), { duration:0.5 });
33
+ this.tabs[i].parentNode.style.height=this.tabs[i].next('dd').getHeight() + 15 + 'px';
34
+ } else {
35
+ this.tabs[i].removeClassName('active');
36
+ this.tabs[i].style.zIndex = this.tabs.length + 1 - i;
37
+ this.tabs[i].next('dd').hide();
38
+ }
39
+ }
40
+ }
41
+ });
package.xml ADDED
@@ -0,0 +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>
skin/adminhtml/default/default/ma2/js/colorchooser/arrow.gif ADDED
Binary file
skin/adminhtml/default/default/ma2/js/colorchooser/cross.gif ADDED
Binary file
skin/adminhtml/default/default/ma2/js/colorchooser/hs.png ADDED
Binary file
skin/adminhtml/default/default/ma2/js/colorchooser/hv.png ADDED
Binary file
skin/adminhtml/default/default/ma2/js/colorchooser/index.html ADDED
@@ -0,0 +1 @@
 
1
+ <html><body bgcolor="#FFFFFF"></body></html>
skin/adminhtml/default/default/ma2/js/colorchooser/jscolor.js ADDED
@@ -0,0 +1,894 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * jscolor, JavaScript Color Picker
3
+ *
4
+ * @version 1.3.9
5
+ * @license GNU Lesser General Public License, http://www.gnu.org/copyleft/lesser.html
6
+ * @author Jan Odvarko, http://odvarko.cz
7
+ * @created 2008-06-15
8
+ * @updated 2011-07-28
9
+ * @link http://jscolor.com
10
+ */
11
+
12
+
13
+ var jscolor = {
14
+
15
+
16
+ dir : '', // location of jscolor directory (leave empty to autodetect)
17
+ bindClass : 'color', // class name
18
+ binding : true, // automatic binding via <input class="...">
19
+ preloading : true, // use image preloading?
20
+
21
+
22
+ install : function() {
23
+ jscolor.addEvent(window, 'load', jscolor.init);
24
+ },
25
+
26
+
27
+ init : function() {
28
+ if(jscolor.binding) {
29
+ jscolor.bind();
30
+ }
31
+ if(jscolor.preloading) {
32
+ jscolor.preload();
33
+ }
34
+ },
35
+
36
+
37
+ getDir : function() {
38
+ if(!jscolor.dir) {
39
+ var detected = jscolor.detectDir();
40
+ jscolor.dir = detected!==false ? detected : 'jscolor/';
41
+ }
42
+ return jscolor.dir;
43
+ },
44
+
45
+
46
+ detectDir : function() {
47
+ var base = location.href;
48
+
49
+ var e = document.getElementsByTagName('base');
50
+ for(var i=0; i<e.length; i+=1) {
51
+ if(e[i].href) { base = e[i].href; }
52
+ }
53
+
54
+ var e = document.getElementsByTagName('script');
55
+ for(var i=0; i<e.length; i+=1) {
56
+ if(e[i].src && /(^|\/)jscolor\.js([?#].*)?$/i.test(e[i].src)) {
57
+ var src = new jscolor.URI(e[i].src);
58
+ var srcAbs = src.toAbsolute(base);
59
+ srcAbs.path = srcAbs.path.replace(/[^\/]+$/, ''); // remove filename
60
+ srcAbs.query = null;
61
+ srcAbs.fragment = null;
62
+ return srcAbs.toString();
63
+ }
64
+ }
65
+ return false;
66
+ },
67
+
68
+
69
+ bind : function() {
70
+ var matchClass = new RegExp('(^|\\s)('+jscolor.bindClass+')\\s*(\\{[^}]*\\})?', 'i');
71
+ var e = document.getElementsByTagName('input');
72
+ for(var i=0; i<e.length; i+=1) {
73
+ var m;
74
+ if(!e[i].color && e[i].className && (m = e[i].className.match(matchClass))) {
75
+ var prop = {};
76
+ if(m[3]) {
77
+ try {
78
+ eval('prop='+m[3]);
79
+ } catch(eInvalidProp) {}
80
+ }
81
+ e[i].color = new jscolor.color(e[i], prop);
82
+ }
83
+ }
84
+ },
85
+
86
+
87
+ preload : function() {
88
+ for(var fn in jscolor.imgRequire) {
89
+ if(jscolor.imgRequire.hasOwnProperty(fn)) {
90
+ jscolor.loadImage(fn);
91
+ }
92
+ }
93
+ },
94
+
95
+
96
+ images : {
97
+ pad : [ 181, 101 ],
98
+ sld : [ 16, 101 ],
99
+ cross : [ 15, 15 ],
100
+ arrow : [ 7, 11 ]
101
+ },
102
+
103
+
104
+ imgRequire : {},
105
+ imgLoaded : {},
106
+
107
+
108
+ requireImage : function(filename) {
109
+ jscolor.imgRequire[filename] = true;
110
+ },
111
+
112
+
113
+ loadImage : function(filename) {
114
+ if(!jscolor.imgLoaded[filename]) {
115
+ jscolor.imgLoaded[filename] = new Image();
116
+ jscolor.imgLoaded[filename].src = jscolor.getDir()+filename;
117
+ }
118
+ },
119
+
120
+
121
+ fetchElement : function(mixed) {
122
+ return typeof mixed === 'string' ? document.getElementById(mixed) : mixed;
123
+ },
124
+
125
+
126
+ addEvent : function(el, evnt, func) {
127
+ if(el.addEventListener) {
128
+ el.addEventListener(evnt, func, false);
129
+ } else if(el.attachEvent) {
130
+ el.attachEvent('on'+evnt, func);
131
+ }
132
+ },
133
+
134
+
135
+ fireEvent : function(el, evnt) {
136
+ if(!el) {
137
+ return;
138
+ }
139
+ if(document.createEvent) {
140
+ var ev = document.createEvent('HTMLEvents');
141
+ ev.initEvent(evnt, true, true);
142
+ el.dispatchEvent(ev);
143
+ } else if(document.createEventObject) {
144
+ var ev = document.createEventObject();
145
+ el.fireEvent('on'+evnt, ev);
146
+ } else if(el['on'+evnt]) { // alternatively use the traditional event model (IE5)
147
+ el['on'+evnt]();
148
+ }
149
+ },
150
+
151
+
152
+ getElementPos : function(e) {
153
+ var e1=e, e2=e;
154
+ var x=0, y=0;
155
+ if(e1.offsetParent) {
156
+ do {
157
+ x += e1.offsetLeft;
158
+ y += e1.offsetTop;
159
+ } while(e1 = e1.offsetParent);
160
+ }
161
+ while((e2 = e2.parentNode) && e2.nodeName.toUpperCase() !== 'BODY') {
162
+ x -= e2.scrollLeft;
163
+ y -= e2.scrollTop;
164
+ }
165
+ return [x, y];
166
+ },
167
+
168
+
169
+ getElementSize : function(e) {
170
+ return [e.offsetWidth, e.offsetHeight];
171
+ },
172
+
173
+
174
+ getRelMousePos : function(e) {
175
+ var x = 0, y = 0;
176
+ if (!e) { e = window.event; }
177
+ if (typeof e.offsetX === 'number') {
178
+ x = e.offsetX;
179
+ y = e.offsetY;
180
+ } else if (typeof e.layerX === 'number') {
181
+ x = e.layerX;
182
+ y = e.layerY;
183
+ }
184
+ return { x: x, y: y };
185
+ },
186
+
187
+
188
+ getViewPos : function() {
189
+ if(typeof window.pageYOffset === 'number') {
190
+ return [window.pageXOffset, window.pageYOffset];
191
+ } else if(document.body && (document.body.scrollLeft || document.body.scrollTop)) {
192
+ return [document.body.scrollLeft, document.body.scrollTop];
193
+ } else if(document.documentElement && (document.documentElement.scrollLeft || document.documentElement.scrollTop)) {
194
+ return [document.documentElement.scrollLeft, document.documentElement.scrollTop];
195
+ } else {
196
+ return [0, 0];
197
+ }
198
+ },
199
+
200
+
201
+ getViewSize : function() {
202
+ if(typeof window.innerWidth === 'number') {
203
+ return [window.innerWidth, window.innerHeight];
204
+ } else if(document.body && (document.body.clientWidth || document.body.clientHeight)) {
205
+ return [document.body.clientWidth, document.body.clientHeight];
206
+ } else if(document.documentElement && (document.documentElement.clientWidth || document.documentElement.clientHeight)) {
207
+ return [document.documentElement.clientWidth, document.documentElement.clientHeight];
208
+ } else {
209
+ return [0, 0];
210
+ }
211
+ },
212
+
213
+
214
+ URI : function(uri) { // See RFC3986
215
+
216
+ this.scheme = null;
217
+ this.authority = null;
218
+ this.path = '';
219
+ this.query = null;
220
+ this.fragment = null;
221
+
222
+ this.parse = function(uri) {
223
+ var m = uri.match(/^(([A-Za-z][0-9A-Za-z+.-]*)(:))?((\/\/)([^\/?#]*))?([^?#]*)((\?)([^#]*))?((#)(.*))?/);
224
+ this.scheme = m[3] ? m[2] : null;
225
+ this.authority = m[5] ? m[6] : null;
226
+ this.path = m[7];
227
+ this.query = m[9] ? m[10] : null;
228
+ this.fragment = m[12] ? m[13] : null;
229
+ return this;
230
+ };
231
+
232
+ this.toString = function() {
233
+ var result = '';
234
+ if(this.scheme !== null) { result = result + this.scheme + ':'; }
235
+ if(this.authority !== null) { result = result + '//' + this.authority; }
236
+ if(this.path !== null) { result = result + this.path; }
237
+ if(this.query !== null) { result = result + '?' + this.query; }
238
+ if(this.fragment !== null) { result = result + '#' + this.fragment; }
239
+ return result;
240
+ };
241
+
242
+ this.toAbsolute = function(base) {
243
+ var base = new jscolor.URI(base);
244
+ var r = this;
245
+ var t = new jscolor.URI;
246
+
247
+ if(base.scheme === null) { return false; }
248
+
249
+ if(r.scheme !== null && r.scheme.toLowerCase() === base.scheme.toLowerCase()) {
250
+ r.scheme = null;
251
+ }
252
+
253
+ if(r.scheme !== null) {
254
+ t.scheme = r.scheme;
255
+ t.authority = r.authority;
256
+ t.path = removeDotSegments(r.path);
257
+ t.query = r.query;
258
+ } else {
259
+ if(r.authority !== null) {
260
+ t.authority = r.authority;
261
+ t.path = removeDotSegments(r.path);
262
+ t.query = r.query;
263
+ } else {
264
+ if(r.path === '') { // TODO: == or === ?
265
+ t.path = base.path;
266
+ if(r.query !== null) {
267
+ t.query = r.query;
268
+ } else {
269
+ t.query = base.query;
270
+ }
271
+ } else {
272
+ if(r.path.substr(0,1) === '/') {
273
+ t.path = removeDotSegments(r.path);
274
+ } else {
275
+ if(base.authority !== null && base.path === '') { // TODO: == or === ?
276
+ t.path = '/'+r.path;
277
+ } else {
278
+ t.path = base.path.replace(/[^\/]+$/,'')+r.path;
279
+ }
280
+ t.path = removeDotSegments(t.path);
281
+ }
282
+ t.query = r.query;
283
+ }
284
+ t.authority = base.authority;
285
+ }
286
+ t.scheme = base.scheme;
287
+ }
288
+ t.fragment = r.fragment;
289
+
290
+ return t;
291
+ };
292
+
293
+ function removeDotSegments(path) {
294
+ var out = '';
295
+ while(path) {
296
+ if(path.substr(0,3)==='../' || path.substr(0,2)==='./') {
297
+ path = path.replace(/^\.+/,'').substr(1);
298
+ } else if(path.substr(0,3)==='/./' || path==='/.') {
299
+ path = '/'+path.substr(3);
300
+ } else if(path.substr(0,4)==='/../' || path==='/..') {
301
+ path = '/'+path.substr(4);
302
+ out = out.replace(/\/?[^\/]*$/, '');
303
+ } else if(path==='.' || path==='..') {
304
+ path = '';
305
+ } else {
306
+ var rm = path.match(/^\/?[^\/]*/)[0];
307
+ path = path.substr(rm.length);
308
+ out = out + rm;
309
+ }
310
+ }
311
+ return out;
312
+ }
313
+
314
+ if(uri) {
315
+ this.parse(uri);
316
+ }
317
+
318
+ },
319
+
320
+
321
+ /*
322
+ * Usage example:
323
+ * var myColor = new jscolor.color(myInputElement)
324
+ */
325
+
326
+ color : function(target, prop) {
327
+
328
+
329
+ this.required = true; // refuse empty values?
330
+ this.adjust = true; // adjust value to uniform notation?
331
+ this.hash = false; // prefix color with # symbol?
332
+ this.caps = true; // uppercase?
333
+ this.slider = true; // show the value/saturation slider?
334
+ this.valueElement = target; // value holder
335
+ this.styleElement = target; // where to reflect current color
336
+ this.hsv = [0, 0, 1]; // read-only 0-6, 0-1, 0-1
337
+ this.rgb = [1, 1, 1]; // read-only 0-1, 0-1, 0-1
338
+
339
+ this.pickerOnfocus = true; // display picker on focus?
340
+ this.pickerMode = 'HSV'; // HSV | HVS
341
+ this.pickerPosition = 'bottom'; // left | right | top | bottom
342
+ this.pickerButtonHeight = 20; // px
343
+ this.pickerClosable = false;
344
+ this.pickerCloseText = 'Close';
345
+ this.pickerButtonColor = 'ButtonText'; // px
346
+ this.pickerFace = 10; // px
347
+ this.pickerFaceColor = 'ThreeDFace'; // CSS color
348
+ this.pickerBorder = 1; // px
349
+ this.pickerBorderColor = 'ThreeDHighlight ThreeDShadow ThreeDShadow ThreeDHighlight'; // CSS color
350
+ this.pickerInset = 1; // px
351
+ this.pickerInsetColor = 'ThreeDShadow ThreeDHighlight ThreeDHighlight ThreeDShadow'; // CSS color
352
+ this.pickerZIndex = 10000;
353
+
354
+
355
+ for(var p in prop) {
356
+ if(prop.hasOwnProperty(p)) {
357
+ this[p] = prop[p];
358
+ }
359
+ }
360
+
361
+
362
+ this.hidePicker = function() {
363
+ if(isPickerOwner()) {
364
+ removePicker();
365
+ }
366
+ };
367
+
368
+
369
+ this.showPicker = function() {
370
+ if(!isPickerOwner()) {
371
+ var tp = jscolor.getElementPos(target); // target pos
372
+ var ts = jscolor.getElementSize(target); // target size
373
+ var vp = jscolor.getViewPos(); // view pos
374
+ var vs = jscolor.getViewSize(); // view size
375
+ var ps = getPickerDims(this); // picker size
376
+ var a, b, c;
377
+ switch(this.pickerPosition.toLowerCase()) {
378
+ case 'left': a=1; b=0; c=-1; break;
379
+ case 'right':a=1; b=0; c=1; break;
380
+ case 'top': a=0; b=1; c=-1; break;
381
+ default: a=0; b=1; c=1; break;
382
+ }
383
+ var l = (ts[b]+ps[b])/2;
384
+ var pp = [ // picker pos
385
+ -vp[a]+tp[a]+ps[a] > vs[a] ?
386
+ (-vp[a]+tp[a]+ts[a]/2 > vs[a]/2 && tp[a]+ts[a]-ps[a] >= 0 ? tp[a]+ts[a]-ps[a] : tp[a]) :
387
+ tp[a],
388
+ -vp[b]+tp[b]+ts[b]+ps[b]-l+l*c > vs[b] ?
389
+ (-vp[b]+tp[b]+ts[b]/2 > vs[b]/2 && tp[b]+ts[b]-l-l*c >= 0 ? tp[b]+ts[b]-l-l*c : tp[b]+ts[b]-l+l*c) :
390
+ (tp[b]+ts[b]-l+l*c >= 0 ? tp[b]+ts[b]-l+l*c : tp[b]+ts[b]-l-l*c)
391
+ ];
392
+ drawPicker(pp[a], pp[b]);
393
+ }
394
+ };
395
+
396
+
397
+ this.importColor = function() {
398
+ if(!valueElement) {
399
+ this.exportColor();
400
+ } else {
401
+ if(!this.adjust) {
402
+ if(!this.fromString(valueElement.value, leaveValue)) {
403
+ styleElement.style.backgroundColor = styleElement.jscStyle.backgroundColor;
404
+ styleElement.style.color = styleElement.jscStyle.color;
405
+ this.exportColor(leaveValue | leaveStyle);
406
+ }
407
+ } else if(!this.required && /^\s*$/.test(valueElement.value)) {
408
+ valueElement.value = '';
409
+ styleElement.style.backgroundColor = styleElement.jscStyle.backgroundColor;
410
+ styleElement.style.color = styleElement.jscStyle.color;
411
+ this.exportColor(leaveValue | leaveStyle);
412
+
413
+ } else if(this.fromString(valueElement.value)) {
414
+ // OK
415
+ } else {
416
+ this.exportColor();
417
+ }
418
+ }
419
+ };
420
+
421
+
422
+ this.exportColor = function(flags) {
423
+ if(!(flags & leaveValue) && valueElement) {
424
+ var value = this.toString();
425
+ if(this.caps) { value = value.toUpperCase(); }
426
+ if(this.hash) { value = '#'+value; }
427
+ valueElement.value = value;
428
+ }
429
+ if(!(flags & leaveStyle) && styleElement) {
430
+ styleElement.style.backgroundColor =
431
+ '#'+this.toString();
432
+ styleElement.style.color =
433
+ 0.213 * this.rgb[0] +
434
+ 0.715 * this.rgb[1] +
435
+ 0.072 * this.rgb[2]
436
+ < 0.5 ? '#FFF' : '#000';
437
+ }
438
+ if(!(flags & leavePad) && isPickerOwner()) {
439
+ redrawPad();
440
+ }
441
+ if(!(flags & leaveSld) && isPickerOwner()) {
442
+ redrawSld();
443
+ }
444
+ };
445
+
446
+
447
+ this.fromHSV = function(h, s, v, flags) { // null = don't change
448
+ h<0 && (h=0) || h>6 && (h=6);
449
+ s<0 && (s=0) || s>1 && (s=1);
450
+ v<0 && (v=0) || v>1 && (v=1);
451
+ this.rgb = HSV_RGB(
452
+ h===null ? this.hsv[0] : (this.hsv[0]=h),
453
+ s===null ? this.hsv[1] : (this.hsv[1]=s),
454
+ v===null ? this.hsv[2] : (this.hsv[2]=v)
455
+ );
456
+ this.exportColor(flags);
457
+ };
458
+
459
+
460
+ this.fromRGB = function(r, g, b, flags) { // null = don't change
461
+ r<0 && (r=0) || r>1 && (r=1);
462
+ g<0 && (g=0) || g>1 && (g=1);
463
+ b<0 && (b=0) || b>1 && (b=1);
464
+ var hsv = RGB_HSV(
465
+ r===null ? this.rgb[0] : (this.rgb[0]=r),
466
+ g===null ? this.rgb[1] : (this.rgb[1]=g),
467
+ b===null ? this.rgb[2] : (this.rgb[2]=b)
468
+ );
469
+ if(hsv[0] !== null) {
470
+ this.hsv[0] = hsv[0];
471
+ }
472
+ if(hsv[2] !== 0) {
473
+ this.hsv[1] = hsv[1];
474
+ }
475
+ this.hsv[2] = hsv[2];
476
+ this.exportColor(flags);
477
+ };
478
+
479
+
480
+ this.fromString = function(hex, flags) {
481
+ var m = hex.match(/^\W*([0-9A-F]{3}([0-9A-F]{3})?)\W*$/i);
482
+ if(!m) {
483
+ return false;
484
+ } else {
485
+ if(m[1].length === 6) { // 6-char notation
486
+ this.fromRGB(
487
+ parseInt(m[1].substr(0,2),16) / 255,
488
+ parseInt(m[1].substr(2,2),16) / 255,
489
+ parseInt(m[1].substr(4,2),16) / 255,
490
+ flags
491
+ );
492
+ } else { // 3-char notation
493
+ this.fromRGB(
494
+ parseInt(m[1].charAt(0)+m[1].charAt(0),16) / 255,
495
+ parseInt(m[1].charAt(1)+m[1].charAt(1),16) / 255,
496
+ parseInt(m[1].charAt(2)+m[1].charAt(2),16) / 255,
497
+ flags
498
+ );
499
+ }
500
+ return true;
501
+ }
502
+ };
503
+
504
+
505
+ this.toString = function() {
506
+ return (
507
+ (0x100 | Math.round(255*this.rgb[0])).toString(16).substr(1) +
508
+ (0x100 | Math.round(255*this.rgb[1])).toString(16).substr(1) +
509
+ (0x100 | Math.round(255*this.rgb[2])).toString(16).substr(1)
510
+ );
511
+ };
512
+
513
+
514
+ function RGB_HSV(r, g, b) {
515
+ var n = Math.min(Math.min(r,g),b);
516
+ var v = Math.max(Math.max(r,g),b);
517
+ var m = v - n;
518
+ if(m === 0) { return [ null, 0, v ]; }
519
+ var h = r===n ? 3+(b-g)/m : (g===n ? 5+(r-b)/m : 1+(g-r)/m);
520
+ return [ h===6?0:h, m/v, v ];
521
+ }
522
+
523
+
524
+ function HSV_RGB(h, s, v) {
525
+ if(h === null) { return [ v, v, v ]; }
526
+ var i = Math.floor(h);
527
+ var f = i%2 ? h-i : 1-(h-i);
528
+ var m = v * (1 - s);
529
+ var n = v * (1 - s*f);
530
+ switch(i) {
531
+ case 6:
532
+ case 0: return [v,n,m];
533
+ case 1: return [n,v,m];
534
+ case 2: return [m,v,n];
535
+ case 3: return [m,n,v];
536
+ case 4: return [n,m,v];
537
+ case 5: return [v,m,n];
538
+ }
539
+ }
540
+
541
+
542
+ function removePicker() {
543
+ delete jscolor.picker.owner;
544
+ document.getElementsByTagName('body')[0].removeChild(jscolor.picker.boxB);
545
+ }
546
+
547
+
548
+ function drawPicker(x, y) {
549
+ if(!jscolor.picker) {
550
+ jscolor.picker = {
551
+ box : document.createElement('div'),
552
+ boxB : document.createElement('div'),
553
+ pad : document.createElement('div'),
554
+ padB : document.createElement('div'),
555
+ padM : document.createElement('div'),
556
+ sld : document.createElement('div'),
557
+ sldB : document.createElement('div'),
558
+ sldM : document.createElement('div'),
559
+ btn : document.createElement('div'),
560
+ btnS : document.createElement('span'),
561
+ btnT : document.createTextNode(THIS.pickerCloseText)
562
+ };
563
+ for(var i=0,segSize=4; i<jscolor.images.sld[1]; i+=segSize) {
564
+ var seg = document.createElement('div');
565
+ seg.style.height = segSize+'px';
566
+ seg.style.fontSize = '1px';
567
+ seg.style.lineHeight = '0';
568
+ jscolor.picker.sld.appendChild(seg);
569
+ }
570
+ jscolor.picker.sldB.appendChild(jscolor.picker.sld);
571
+ jscolor.picker.box.appendChild(jscolor.picker.sldB);
572
+ jscolor.picker.box.appendChild(jscolor.picker.sldM);
573
+ jscolor.picker.padB.appendChild(jscolor.picker.pad);
574
+ jscolor.picker.box.appendChild(jscolor.picker.padB);
575
+ jscolor.picker.box.appendChild(jscolor.picker.padM);
576
+ jscolor.picker.btnS.appendChild(jscolor.picker.btnT);
577
+ jscolor.picker.btn.appendChild(jscolor.picker.btnS);
578
+ jscolor.picker.box.appendChild(jscolor.picker.btn);
579
+ jscolor.picker.boxB.appendChild(jscolor.picker.box);
580
+ }
581
+
582
+ var p = jscolor.picker;
583
+
584
+ // controls interaction
585
+ p.box.onmouseup =
586
+ p.box.onmouseout = function() { target.focus(); };
587
+ p.box.onmousedown = function() { abortBlur=true; };
588
+ p.box.onmousemove = function(e) {
589
+ if (holdPad || holdSld) {
590
+ holdPad && setPad(e);
591
+ holdSld && setSld(e);
592
+ if (document.selection) {
593
+ document.selection.empty();
594
+ } else if (window.getSelection) {
595
+ window.getSelection().removeAllRanges();
596
+ }
597
+ }
598
+ };
599
+ p.padM.onmouseup =
600
+ p.padM.onmouseout = function() { if(holdPad) { holdPad=false; jscolor.fireEvent(valueElement,'change'); } };
601
+ p.padM.onmousedown = function(e) { holdPad=true; setPad(e); };
602
+ p.sldM.onmouseup =
603
+ p.sldM.onmouseout = function() { if(holdSld) { holdSld=false; jscolor.fireEvent(valueElement,'change'); } };
604
+ p.sldM.onmousedown = function(e) { holdSld=true; setSld(e); };
605
+
606
+ // picker
607
+ var dims = getPickerDims(THIS);
608
+ p.box.style.width = dims[0] + 'px';
609
+ p.box.style.height = dims[1] + 'px';
610
+
611
+ // picker border
612
+ p.boxB.style.position = 'absolute';
613
+ p.boxB.style.clear = 'both';
614
+ p.boxB.style.left = x+'px';
615
+ p.boxB.style.top = y+'px';
616
+ p.boxB.style.zIndex = THIS.pickerZIndex;
617
+ p.boxB.style.border = THIS.pickerBorder+'px solid';
618
+ p.boxB.style.borderColor = THIS.pickerBorderColor;
619
+ p.boxB.style.background = THIS.pickerFaceColor;
620
+
621
+ // pad image
622
+ p.pad.style.width = jscolor.images.pad[0]+'px';
623
+ p.pad.style.height = jscolor.images.pad[1]+'px';
624
+
625
+ // pad border
626
+ p.padB.style.position = 'absolute';
627
+ p.padB.style.left = THIS.pickerFace+'px';
628
+ p.padB.style.top = THIS.pickerFace+'px';
629
+ p.padB.style.border = THIS.pickerInset+'px solid';
630
+ p.padB.style.borderColor = THIS.pickerInsetColor;
631
+
632
+ // pad mouse area
633
+ p.padM.style.position = 'absolute';
634
+ p.padM.style.left = '0';
635
+ p.padM.style.top = '0';
636
+ p.padM.style.width = THIS.pickerFace + 2*THIS.pickerInset + jscolor.images.pad[0] + jscolor.images.arrow[0] + 'px';
637
+ p.padM.style.height = p.box.style.height;
638
+ p.padM.style.cursor = 'crosshair';
639
+
640
+ // slider image
641
+ p.sld.style.overflow = 'hidden';
642
+ p.sld.style.width = jscolor.images.sld[0]+'px';
643
+ p.sld.style.height = jscolor.images.sld[1]+'px';
644
+
645
+ // slider border
646
+ p.sldB.style.display = THIS.slider ? 'block' : 'none';
647
+ p.sldB.style.position = 'absolute';
648
+ p.sldB.style.right = THIS.pickerFace+'px';
649
+ p.sldB.style.top = THIS.pickerFace+'px';
650
+ p.sldB.style.border = THIS.pickerInset+'px solid';
651
+ p.sldB.style.borderColor = THIS.pickerInsetColor;
652
+
653
+ // slider mouse area
654
+ p.sldM.style.display = THIS.slider ? 'block' : 'none';
655
+ p.sldM.style.position = 'absolute';
656
+ p.sldM.style.right = '0';
657
+ p.sldM.style.top = '0';
658
+ p.sldM.style.width = jscolor.images.sld[0] + jscolor.images.arrow[0] + THIS.pickerFace + 2*THIS.pickerInset + 'px';
659
+ p.sldM.style.height = p.box.style.height;
660
+ try {
661
+ p.sldM.style.cursor = 'pointer';
662
+ } catch(eOldIE) {
663
+ p.sldM.style.cursor = 'hand';
664
+ }
665
+
666
+ // "close" button
667
+ function setBtnBorder() {
668
+ var insetColors = THIS.pickerInsetColor.split(/\s+/);
669
+ var pickerOutsetColor = insetColors.length < 2 ? insetColors[0] : insetColors[1] + ' ' + insetColors[0] + ' ' + insetColors[0] + ' ' + insetColors[1];
670
+ p.btn.style.borderColor = pickerOutsetColor;
671
+ }
672
+ p.btn.style.display = THIS.pickerClosable ? 'block' : 'none';
673
+ p.btn.style.position = 'absolute';
674
+ p.btn.style.left = THIS.pickerFace + 'px';
675
+ p.btn.style.bottom = THIS.pickerFace + 'px';
676
+ p.btn.style.padding = '0 15px';
677
+ p.btn.style.height = '18px';
678
+ p.btn.style.border = THIS.pickerInset + 'px solid';
679
+ setBtnBorder();
680
+ p.btn.style.color = THIS.pickerButtonColor;
681
+ p.btn.style.font = '12px sans-serif';
682
+ p.btn.style.textAlign = 'center';
683
+ try {
684
+ p.btn.style.cursor = 'pointer';
685
+ } catch(eOldIE) {
686
+ p.btn.style.cursor = 'hand';
687
+ }
688
+ p.btn.onmousedown = function () {
689
+ THIS.hidePicker();
690
+ };
691
+ p.btnS.style.lineHeight = p.btn.style.height;
692
+
693
+ // load images in optimal order
694
+ switch(modeID) {
695
+ case 0: var padImg = 'hs.png'; break;
696
+ case 1: var padImg = 'hv.png'; break;
697
+ }
698
+ p.padM.style.backgroundImage = "url('"+jscolor.getDir()+"cross.gif')";
699
+ p.padM.style.backgroundRepeat = "no-repeat";
700
+ p.sldM.style.backgroundImage = "url('"+jscolor.getDir()+"arrow.gif')";
701
+ p.sldM.style.backgroundRepeat = "no-repeat";
702
+ p.pad.style.backgroundImage = "url('"+jscolor.getDir()+padImg+"')";
703
+ p.pad.style.backgroundRepeat = "no-repeat";
704
+ p.pad.style.backgroundPosition = "0 0";
705
+
706
+ // place pointers
707
+ redrawPad();
708
+ redrawSld();
709
+
710
+ jscolor.picker.owner = THIS;
711
+ document.getElementsByTagName('body')[0].appendChild(p.boxB);
712
+ }
713
+
714
+
715
+ function getPickerDims(o) {
716
+ var dims = [
717
+ 2*o.pickerInset + 2*o.pickerFace + jscolor.images.pad[0] +
718
+ (o.slider ? 2*o.pickerInset + 2*jscolor.images.arrow[0] + jscolor.images.sld[0] : 0),
719
+ o.pickerClosable ?
720
+ 4*o.pickerInset + 3*o.pickerFace + jscolor.images.pad[1] + o.pickerButtonHeight :
721
+ 2*o.pickerInset + 2*o.pickerFace + jscolor.images.pad[1]
722
+ ];
723
+ return dims;
724
+ }
725
+
726
+
727
+ function redrawPad() {
728
+ // redraw the pad pointer
729
+ switch(modeID) {
730
+ case 0: var yComponent = 1; break;
731
+ case 1: var yComponent = 2; break;
732
+ }
733
+ var x = Math.round((THIS.hsv[0]/6) * (jscolor.images.pad[0]-1));
734
+ var y = Math.round((1-THIS.hsv[yComponent]) * (jscolor.images.pad[1]-1));
735
+ jscolor.picker.padM.style.backgroundPosition =
736
+ (THIS.pickerFace+THIS.pickerInset+x - Math.floor(jscolor.images.cross[0]/2)) + 'px ' +
737
+ (THIS.pickerFace+THIS.pickerInset+y - Math.floor(jscolor.images.cross[1]/2)) + 'px';
738
+
739
+ // redraw the slider image
740
+ var seg = jscolor.picker.sld.childNodes;
741
+
742
+ switch(modeID) {
743
+ case 0:
744
+ var rgb = HSV_RGB(THIS.hsv[0], THIS.hsv[1], 1);
745
+ for(var i=0; i<seg.length; i+=1) {
746
+ seg[i].style.backgroundColor = 'rgb('+
747
+ (rgb[0]*(1-i/seg.length)*100)+'%,'+
748
+ (rgb[1]*(1-i/seg.length)*100)+'%,'+
749
+ (rgb[2]*(1-i/seg.length)*100)+'%)';
750
+ }
751
+ break;
752
+ case 1:
753
+ var rgb, s, c = [ THIS.hsv[2], 0, 0 ];
754
+ var i = Math.floor(THIS.hsv[0]);
755
+ var f = i%2 ? THIS.hsv[0]-i : 1-(THIS.hsv[0]-i);
756
+ switch(i) {
757
+ case 6:
758
+ case 0: rgb=[0,1,2]; break;
759
+ case 1: rgb=[1,0,2]; break;
760
+ case 2: rgb=[2,0,1]; break;
761
+ case 3: rgb=[2,1,0]; break;
762
+ case 4: rgb=[1,2,0]; break;
763
+ case 5: rgb=[0,2,1]; break;
764
+ }
765
+ for(var i=0; i<seg.length; i+=1) {
766
+ s = 1 - 1/(seg.length-1)*i;
767
+ c[1] = c[0] * (1 - s*f);
768
+ c[2] = c[0] * (1 - s);
769
+ seg[i].style.backgroundColor = 'rgb('+
770
+ (c[rgb[0]]*100)+'%,'+
771
+ (c[rgb[1]]*100)+'%,'+
772
+ (c[rgb[2]]*100)+'%)';
773
+ }
774
+ break;
775
+ }
776
+ }
777
+
778
+
779
+ function redrawSld() {
780
+ // redraw the slider pointer
781
+ switch(modeID) {
782
+ case 0: var yComponent = 2; break;
783
+ case 1: var yComponent = 1; break;
784
+ }
785
+ var y = Math.round((1-THIS.hsv[yComponent]) * (jscolor.images.sld[1]-1));
786
+ jscolor.picker.sldM.style.backgroundPosition =
787
+ '0 ' + (THIS.pickerFace+THIS.pickerInset+y - Math.floor(jscolor.images.arrow[1]/2)) + 'px';
788
+ }
789
+
790
+
791
+ function isPickerOwner() {
792
+ return jscolor.picker && jscolor.picker.owner === THIS;
793
+ }
794
+
795
+
796
+ function blurTarget() {
797
+ if(valueElement === target) {
798
+ THIS.importColor();
799
+ }
800
+ if(THIS.pickerOnfocus) {
801
+ THIS.hidePicker();
802
+ }
803
+ }
804
+
805
+
806
+ function blurValue() {
807
+ if(valueElement !== target) {
808
+ THIS.importColor();
809
+ }
810
+ }
811
+
812
+
813
+ function setPad(e) {
814
+ var mpos = jscolor.getRelMousePos(e);
815
+ var x = mpos.x - THIS.pickerFace - THIS.pickerInset;
816
+ var y = mpos.y - THIS.pickerFace - THIS.pickerInset;
817
+ switch(modeID) {
818
+ case 0: THIS.fromHSV(x*(6/(jscolor.images.pad[0]-1)), 1 - y/(jscolor.images.pad[1]-1), null, leaveSld); break;
819
+ case 1: THIS.fromHSV(x*(6/(jscolor.images.pad[0]-1)), null, 1 - y/(jscolor.images.pad[1]-1), leaveSld); break;
820
+ }
821
+ }
822
+
823
+
824
+ function setSld(e) {
825
+ var mpos = jscolor.getRelMousePos(e);
826
+ var y = mpos.y - THIS.pickerFace - THIS.pickerInset;
827
+ switch(modeID) {
828
+ case 0: THIS.fromHSV(null, null, 1 - y/(jscolor.images.sld[1]-1), leavePad); break;
829
+ case 1: THIS.fromHSV(null, 1 - y/(jscolor.images.sld[1]-1), null, leavePad); break;
830
+ }
831
+ }
832
+
833
+
834
+ var THIS = this;
835
+ var modeID = this.pickerMode.toLowerCase()==='hvs' ? 1 : 0;
836
+ var abortBlur = false;
837
+ var
838
+ valueElement = jscolor.fetchElement(this.valueElement),
839
+ styleElement = jscolor.fetchElement(this.styleElement);
840
+ var
841
+ holdPad = false,
842
+ holdSld = false;
843
+ var
844
+ leaveValue = 1<<0,
845
+ leaveStyle = 1<<1,
846
+ leavePad = 1<<2,
847
+ leaveSld = 1<<3;
848
+
849
+ // target
850
+ jscolor.addEvent(target, 'focus', function() {
851
+ if(THIS.pickerOnfocus) { THIS.showPicker(); }
852
+ });
853
+ jscolor.addEvent(target, 'blur', function() {
854
+ if(!abortBlur) {
855
+ window.setTimeout(function(){ abortBlur || blurTarget(); abortBlur=false; }, 0);
856
+ } else {
857
+ abortBlur = false;
858
+ }
859
+ });
860
+
861
+ // valueElement
862
+ if(valueElement) {
863
+ var updateField = function() {
864
+ THIS.fromString(valueElement.value, leaveValue);
865
+ };
866
+ jscolor.addEvent(valueElement, 'keyup', updateField);
867
+ jscolor.addEvent(valueElement, 'input', updateField);
868
+ jscolor.addEvent(valueElement, 'blur', blurValue);
869
+ valueElement.setAttribute('autocomplete', 'off');
870
+ }
871
+
872
+ // styleElement
873
+ if(styleElement) {
874
+ styleElement.jscStyle = {
875
+ backgroundColor : styleElement.style.backgroundColor,
876
+ color : styleElement.style.color
877
+ };
878
+ }
879
+
880
+ // require images
881
+ switch(modeID) {
882
+ case 0: jscolor.requireImage('hs.png'); break;
883
+ case 1: jscolor.requireImage('hv.png'); break;
884
+ }
885
+ jscolor.requireImage('cross.gif');
886
+ jscolor.requireImage('arrow.gif');
887
+
888
+ this.importColor();
889
+ }
890
+
891
+ };
892
+
893
+
894
+ jscolor.install();
skin/adminhtml/default/default/ma2/js/webfonts/gwebfonts.json ADDED
@@ -0,0 +1,7258 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "kind": "webfonts#webfontList",
3
+ "items": [
4
+ {
5
+ "kind": "webfonts#webfont",
6
+ "family": "ABeeZee",
7
+ "variants": [
8
+ "regular",
9
+ "italic"
10
+ ],
11
+ "subsets": [
12
+ "latin"
13
+ ]
14
+ },
15
+ {
16
+ "kind": "webfonts#webfont",
17
+ "family": "Abel",
18
+ "variants": [
19
+ "regular"
20
+ ],
21
+ "subsets": [
22
+ "latin"
23
+ ]
24
+ },
25
+ {
26
+ "kind": "webfonts#webfont",
27
+ "family": "Abril Fatface",
28
+ "variants": [
29
+ "regular"
30
+ ],
31
+ "subsets": [
32
+ "latin",
33
+ "latin-ext"
34
+ ]
35
+ },
36
+ {
37
+ "kind": "webfonts#webfont",
38
+ "family": "Aclonica",
39
+ "variants": [
40
+ "regular"
41
+ ],
42
+ "subsets": [
43
+ "latin"
44
+ ]
45
+ },
46
+ {
47
+ "kind": "webfonts#webfont",
48
+ "family": "Acme",
49
+ "variants": [
50
+ "regular"
51
+ ],
52
+ "subsets": [
53
+ "latin"
54
+ ]
55
+ },
56
+ {
57
+ "kind": "webfonts#webfont",
58
+ "family": "Actor",
59
+ "variants": [
60
+ "regular"
61
+ ],
62
+ "subsets": [
63
+ "latin"
64
+ ]
65
+ },
66
+ {
67
+ "kind": "webfonts#webfont",
68
+ "family": "Adamina",
69
+ "variants": [
70
+ "regular"
71
+ ],
72
+ "subsets": [
73
+ "latin"
74
+ ]
75
+ },
76
+ {
77
+ "kind": "webfonts#webfont",
78
+ "family": "Advent Pro",
79
+ "variants": [
80
+ "100",
81
+ "200",
82
+ "300",
83
+ "regular",
84
+ "500",
85
+ "600",
86
+ "700"
87
+ ],
88
+ "subsets": [
89
+ "latin",
90
+ "latin-ext",
91
+ "greek"
92
+ ]
93
+ },
94
+ {
95
+ "kind": "webfonts#webfont",
96
+ "family": "Aguafina Script",
97
+ "variants": [
98
+ "regular"
99
+ ],
100
+ "subsets": [
101
+ "latin",
102
+ "latin-ext"
103
+ ]
104
+ },
105
+ {
106
+ "kind": "webfonts#webfont",
107
+ "family": "Akronim",
108
+ "variants": [
109
+ "regular"
110
+ ],
111
+ "subsets": [
112
+ "latin",
113
+ "latin-ext"
114
+ ]
115
+ },
116
+ {
117
+ "kind": "webfonts#webfont",
118
+ "family": "Aladin",
119
+ "variants": [
120
+ "regular"
121
+ ],
122
+ "subsets": [
123
+ "latin",
124
+ "latin-ext"
125
+ ]
126
+ },
127
+ {
128
+ "kind": "webfonts#webfont",
129
+ "family": "Aldrich",
130
+ "variants": [
131
+ "regular"
132
+ ],
133
+ "subsets": [
134
+ "latin"
135
+ ]
136
+ },
137
+ {
138
+ "kind": "webfonts#webfont",
139
+ "family": "Alegreya",
140
+ "variants": [
141
+ "regular",
142
+ "italic",
143
+ "700",
144
+ "700italic",
145
+ "900",
146
+ "900italic"
147
+ ],
148
+ "subsets": [
149
+ "latin",
150
+ "latin-ext"
151
+ ]
152
+ },
153
+ {
154
+ "kind": "webfonts#webfont",
155
+ "family": "Alegreya SC",
156
+ "variants": [
157
+ "regular",
158
+ "italic",
159
+ "700",
160
+ "700italic",
161
+ "900",
162
+ "900italic"
163
+ ],
164
+ "subsets": [
165
+ "latin",
166
+ "latin-ext"
167
+ ]
168
+ },
169
+ {
170
+ "kind": "webfonts#webfont",
171
+ "family": "Alex Brush",
172
+ "variants": [
173
+ "regular"
174
+ ],
175
+ "subsets": [
176
+ "latin",
177
+ "latin-ext"
178
+ ]
179
+ },
180
+ {
181
+ "kind": "webfonts#webfont",
182
+ "family": "Alfa Slab One",
183
+ "variants": [
184
+ "regular"
185
+ ],
186
+ "subsets": [
187
+ "latin"
188
+ ]
189
+ },
190
+ {
191
+ "kind": "webfonts#webfont",
192
+ "family": "Alice",
193
+ "variants": [
194
+ "regular"
195
+ ],
196
+ "subsets": [
197
+ "latin"
198
+ ]
199
+ },
200
+ {
201
+ "kind": "webfonts#webfont",
202
+ "family": "Alike",
203
+ "variants": [
204
+ "regular"
205
+ ],
206
+ "subsets": [
207
+ "latin"
208
+ ]
209
+ },
210
+ {
211
+ "kind": "webfonts#webfont",
212
+ "family": "Alike Angular",
213
+ "variants": [
214
+ "regular"
215
+ ],
216
+ "subsets": [
217
+ "latin"
218
+ ]
219
+ },
220
+ {
221
+ "kind": "webfonts#webfont",
222
+ "family": "Allan",
223
+ "variants": [
224
+ "regular",
225
+ "700"
226
+ ],
227
+ "subsets": [
228
+ "latin",
229
+ "latin-ext"
230
+ ]
231
+ },
232
+ {
233
+ "kind": "webfonts#webfont",
234
+ "family": "Allerta",
235
+ "variants": [
236
+ "regular"
237
+ ],
238
+ "subsets": [
239
+ "latin"
240
+ ]
241
+ },
242
+ {
243
+ "kind": "webfonts#webfont",
244
+ "family": "Allerta Stencil",
245
+ "variants": [
246
+ "regular"
247
+ ],
248
+ "subsets": [
249
+ "latin"
250
+ ]
251
+ },
252
+ {
253
+ "kind": "webfonts#webfont",
254
+ "family": "Allura",
255
+ "variants": [
256
+ "regular"
257
+ ],
258
+ "subsets": [
259
+ "latin",
260
+ "latin-ext"
261
+ ]
262
+ },
263
+ {
264
+ "kind": "webfonts#webfont",
265
+ "family": "Almendra",
266
+ "variants": [
267
+ "regular",
268
+ "italic",
269
+ "700",
270
+ "700italic"
271
+ ],
272
+ "subsets": [
273
+ "latin",
274
+ "latin-ext"
275
+ ]
276
+ },
277
+ {
278
+ "kind": "webfonts#webfont",
279
+ "family": "Almendra Display",
280
+ "variants": [
281
+ "regular"
282
+ ],
283
+ "subsets": [
284
+ "latin",
285
+ "latin-ext"
286
+ ]
287
+ },
288
+ {
289
+ "kind": "webfonts#webfont",
290
+ "family": "Almendra SC",
291
+ "variants": [
292
+ "regular"
293
+ ],
294
+ "subsets": [
295
+ "latin"
296
+ ]
297
+ },
298
+ {
299
+ "kind": "webfonts#webfont",
300
+ "family": "Amarante",
301
+ "variants": [
302
+ "regular"
303
+ ],
304
+ "subsets": [
305
+ "latin",
306
+ "latin-ext"
307
+ ]
308
+ },
309
+ {
310
+ "kind": "webfonts#webfont",
311
+ "family": "Amaranth",
312
+ "variants": [
313
+ "regular",
314
+ "italic",
315
+ "700",
316
+ "700italic"
317
+ ],
318
+ "subsets": [
319
+ "latin"
320
+ ]
321
+ },
322
+ {
323
+ "kind": "webfonts#webfont",
324
+ "family": "Amatic SC",
325
+ "variants": [
326
+ "regular",
327
+ "700"
328
+ ],
329
+ "subsets": [
330
+ "latin"
331
+ ]
332
+ },
333
+ {
334
+ "kind": "webfonts#webfont",
335
+ "family": "Amethysta",
336
+ "variants": [
337
+ "regular"
338
+ ],
339
+ "subsets": [
340
+ "latin"
341
+ ]
342
+ },
343
+ {
344
+ "kind": "webfonts#webfont",
345
+ "family": "Anaheim",
346
+ "variants": [
347
+ "regular"
348
+ ],
349
+ "subsets": [
350
+ "latin",
351
+ "latin-ext"
352
+ ]
353
+ },
354
+ {
355
+ "kind": "webfonts#webfont",
356
+ "family": "Andada",
357
+ "variants": [
358
+ "regular"
359
+ ],
360
+ "subsets": [
361
+ "latin",
362
+ "latin-ext"
363
+ ]
364
+ },
365
+ {
366
+ "kind": "webfonts#webfont",
367
+ "family": "Andika",
368
+ "variants": [
369
+ "regular"
370
+ ],
371
+ "subsets": [
372
+ "latin",
373
+ "latin-ext",
374
+ "cyrillic",
375
+ "cyrillic-ext"
376
+ ]
377
+ },
378
+ {
379
+ "kind": "webfonts#webfont",
380
+ "family": "Angkor",
381
+ "variants": [
382
+ "regular"
383
+ ],
384
+ "subsets": [
385
+ "khmer"
386
+ ]
387
+ },
388
+ {
389
+ "kind": "webfonts#webfont",
390
+ "family": "Annie Use Your Telescope",
391
+ "variants": [
392
+ "regular"
393
+ ],
394
+ "subsets": [
395
+ "latin"
396
+ ]
397
+ },
398
+ {
399
+ "kind": "webfonts#webfont",
400
+ "family": "Anonymous Pro",
401
+ "variants": [
402
+ "regular",
403
+ "italic",
404
+ "700",
405
+ "700italic"
406
+ ],
407
+ "subsets": [
408
+ "latin",
409
+ "latin-ext",
410
+ "greek-ext",
411
+ "greek",
412
+ "cyrillic",
413
+ "cyrillic-ext"
414
+ ]
415
+ },
416
+ {
417
+ "kind": "webfonts#webfont",
418
+ "family": "Antic",
419
+ "variants": [
420
+ "regular"
421
+ ],
422
+ "subsets": [
423
+ "latin"
424
+ ]
425
+ },
426
+ {
427
+ "kind": "webfonts#webfont",
428
+ "family": "Antic Didone",
429
+ "variants": [
430
+ "regular"
431
+ ],
432
+ "subsets": [
433
+ "latin"
434
+ ]
435
+ },
436
+ {
437
+ "kind": "webfonts#webfont",
438
+ "family": "Antic Slab",
439
+ "variants": [
440
+ "regular"
441
+ ],
442
+ "subsets": [
443
+ "latin"
444
+ ]
445
+ },
446
+ {
447
+ "kind": "webfonts#webfont",
448
+ "family": "Anton",
449
+ "variants": [
450
+ "regular"
451
+ ],
452
+ "subsets": [
453
+ "latin",
454
+ "latin-ext"
455
+ ]
456
+ },
457
+ {
458
+ "kind": "webfonts#webfont",
459
+ "family": "Arapey",
460
+ "variants": [
461
+ "regular",
462
+ "italic"
463
+ ],
464
+ "subsets": [
465
+ "latin"
466
+ ]
467
+ },
468
+ {
469
+ "kind": "webfonts#webfont",
470
+ "family": "Arbutus",
471
+ "variants": [
472
+ "regular"
473
+ ],
474
+ "subsets": [
475
+ "latin",
476
+ "latin-ext"
477
+ ]
478
+ },
479
+ {
480
+ "kind": "webfonts#webfont",
481
+ "family": "Arbutus Slab",
482
+ "variants": [
483
+ "regular"
484
+ ],
485
+ "subsets": [
486
+ "latin",
487
+ "latin-ext"
488
+ ]
489
+ },
490
+ {
491
+ "kind": "webfonts#webfont",
492
+ "family": "Architects Daughter",
493
+ "variants": [
494
+ "regular"
495
+ ],
496
+ "subsets": [
497
+ "latin"
498
+ ]
499
+ },
500
+ {
501
+ "kind": "webfonts#webfont",
502
+ "family": "Archivo Black",
503
+ "variants": [
504
+ "regular"
505
+ ],
506
+ "subsets": [
507
+ "latin",
508
+ "latin-ext"
509
+ ]
510
+ },
511
+ {
512
+ "kind": "webfonts#webfont",
513
+ "family": "Archivo Narrow",
514
+ "variants": [
515
+ "regular",
516
+ "italic",
517
+ "700",
518
+ "700italic"
519
+ ],
520
+ "subsets": [
521
+ "latin",
522
+ "latin-ext"
523
+ ]
524
+ },
525
+ {
526
+ "kind": "webfonts#webfont",
527
+ "family": "Arimo",
528
+ "variants": [
529
+ "regular",
530
+ "italic",
531
+ "700",
532
+ "700italic"
533
+ ],
534
+ "subsets": [
535
+ "latin",
536
+ "latin-ext",
537
+ "greek-ext",
538
+ "greek",
539
+ "vietnamese",
540
+ "cyrillic",
541
+ "cyrillic-ext"
542
+ ]
543
+ },
544
+ {
545
+ "kind": "webfonts#webfont",
546
+ "family": "Arizonia",
547
+ "variants": [
548
+ "regular"
549
+ ],
550
+ "subsets": [
551
+ "latin",
552
+ "latin-ext"
553
+ ]
554
+ },
555
+ {
556
+ "kind": "webfonts#webfont",
557
+ "family": "Armata",
558
+ "variants": [
559
+ "regular"
560
+ ],
561
+ "subsets": [
562
+ "latin",
563
+ "latin-ext"
564
+ ]
565
+ },
566
+ {
567
+ "kind": "webfonts#webfont",
568
+ "family": "Artifika",
569
+ "variants": [
570
+ "regular"
571
+ ],
572
+ "subsets": [
573
+ "latin"
574
+ ]
575
+ },
576
+ {
577
+ "kind": "webfonts#webfont",
578
+ "family": "Arvo",
579
+ "variants": [
580
+ "regular",
581
+ "italic",
582
+ "700",
583
+ "700italic"
584
+ ],
585
+ "subsets": [
586
+ "latin"
587
+ ]
588
+ },
589
+ {
590
+ "kind": "webfonts#webfont",
591
+ "family": "Asap",
592
+ "variants": [
593
+ "regular",
594
+ "italic",
595
+ "700",
596
+ "700italic"
597
+ ],
598
+ "subsets": [
599
+ "latin",
600
+ "latin-ext"
601
+ ]
602
+ },
603
+ {
604
+ "kind": "webfonts#webfont",
605
+ "family": "Asset",
606
+ "variants": [
607
+ "regular"
608
+ ],
609
+ "subsets": [
610
+ "latin"
611
+ ]
612
+ },
613
+ {
614
+ "kind": "webfonts#webfont",
615
+ "family": "Astloch",
616
+ "variants": [
617
+ "regular",
618
+ "700"
619
+ ],
620
+ "subsets": [
621
+ "latin"
622
+ ]
623
+ },
624
+ {
625
+ "kind": "webfonts#webfont",
626
+ "family": "Asul",
627
+ "variants": [
628
+ "regular",
629
+ "700"
630
+ ],
631
+ "subsets": [
632
+ "latin"
633
+ ]
634
+ },
635
+ {
636
+ "kind": "webfonts#webfont",
637
+ "family": "Atomic Age",
638
+ "variants": [
639
+ "regular"
640
+ ],
641
+ "subsets": [
642
+ "latin"
643
+ ]
644
+ },
645
+ {
646
+ "kind": "webfonts#webfont",
647
+ "family": "Aubrey",
648
+ "variants": [
649
+ "regular"
650
+ ],
651
+ "subsets": [
652
+ "latin"
653
+ ]
654
+ },
655
+ {
656
+ "kind": "webfonts#webfont",
657
+ "family": "Audiowide",
658
+ "variants": [
659
+ "regular"
660
+ ],
661
+ "subsets": [
662
+ "latin",
663
+ "latin-ext"
664
+ ]
665
+ },
666
+ {
667
+ "kind": "webfonts#webfont",
668
+ "family": "Autour One",
669
+ "variants": [
670
+ "regular"
671
+ ],
672
+ "subsets": [
673
+ "latin",
674
+ "latin-ext"
675
+ ]
676
+ },
677
+ {
678
+ "kind": "webfonts#webfont",
679
+ "family": "Average",
680
+ "variants": [
681
+ "regular"
682
+ ],
683
+ "subsets": [
684
+ "latin",
685
+ "latin-ext"
686
+ ]
687
+ },
688
+ {
689
+ "kind": "webfonts#webfont",
690
+ "family": "Average Sans",
691
+ "variants": [
692
+ "regular"
693
+ ],
694
+ "subsets": [
695
+ "latin",
696
+ "latin-ext"
697
+ ]
698
+ },
699
+ {
700
+ "kind": "webfonts#webfont",
701
+ "family": "Averia Gruesa Libre",
702
+ "variants": [
703
+ "regular"
704
+ ],
705
+ "subsets": [
706
+ "latin",
707
+ "latin-ext"
708
+ ]
709
+ },
710
+ {
711
+ "kind": "webfonts#webfont",
712
+ "family": "Averia Libre",
713
+ "variants": [
714
+ "300",
715
+ "300italic",
716
+ "regular",
717
+ "italic",
718
+ "700",
719
+ "700italic"
720
+ ],
721
+ "subsets": [
722
+ "latin"
723
+ ]
724
+ },
725
+ {
726
+ "kind": "webfonts#webfont",
727
+ "family": "Averia Sans Libre",
728
+ "variants": [
729
+ "300",
730
+ "300italic",
731
+ "regular",
732
+ "italic",
733
+ "700",
734
+ "700italic"
735
+ ],
736
+ "subsets": [
737
+ "latin"
738
+ ]
739
+ },
740
+ {
741
+ "kind": "webfonts#webfont",
742
+ "family": "Averia Serif Libre",
743
+ "variants": [
744
+ "300",
745
+ "300italic",
746
+ "regular",
747
+ "italic",
748
+ "700",
749
+ "700italic"
750
+ ],
751
+ "subsets": [
752
+ "latin"
753
+ ]
754
+ },
755
+ {
756
+ "kind": "webfonts#webfont",
757
+ "family": "Bad Script",
758
+ "variants": [
759
+ "regular"
760
+ ],
761
+ "subsets": [
762
+ "latin",
763
+ "cyrillic"
764
+ ]
765
+ },
766
+ {
767
+ "kind": "webfonts#webfont",
768
+ "family": "Balthazar",
769
+ "variants": [
770
+ "regular"
771
+ ],
772
+ "subsets": [
773
+ "latin"
774
+ ]
775
+ },
776
+ {
777
+ "kind": "webfonts#webfont",
778
+ "family": "Bangers",
779
+ "variants": [
780
+ "regular"
781
+ ],
782
+ "subsets": [
783
+ "latin"
784
+ ]
785
+ },
786
+ {
787
+ "kind": "webfonts#webfont",
788
+ "family": "Basic",
789
+ "variants": [
790
+ "regular"
791
+ ],
792
+ "subsets": [
793
+ "latin",
794
+ "latin-ext"
795
+ ]
796
+ },
797
+ {
798
+ "kind": "webfonts#webfont",
799
+ "family": "Battambang",
800
+ "variants": [
801
+ "regular",
802
+ "700"
803
+ ],
804
+ "subsets": [
805
+ "khmer"
806
+ ]
807
+ },
808
+ {
809
+ "kind": "webfonts#webfont",
810
+ "family": "Baumans",
811
+ "variants": [
812
+ "regular"
813
+ ],
814
+ "subsets": [
815
+ "latin"
816
+ ]
817
+ },
818
+ {
819
+ "kind": "webfonts#webfont",
820
+ "family": "Bayon",
821
+ "variants": [
822
+ "regular"
823
+ ],
824
+ "subsets": [
825
+ "khmer"
826
+ ]
827
+ },
828
+ {
829
+ "kind": "webfonts#webfont",
830
+ "family": "Belgrano",
831
+ "variants": [
832
+ "regular"
833
+ ],
834
+ "subsets": [
835
+ "latin"
836
+ ]
837
+ },
838
+ {
839
+ "kind": "webfonts#webfont",
840
+ "family": "Belleza",
841
+ "variants": [
842
+ "regular"
843
+ ],
844
+ "subsets": [
845
+ "latin",
846
+ "latin-ext"
847
+ ]
848
+ },
849
+ {
850
+ "kind": "webfonts#webfont",
851
+ "family": "BenchNine",
852
+ "variants": [
853
+ "300",
854
+ "regular",
855
+ "700"
856
+ ],
857
+ "subsets": [
858
+ "latin",
859
+ "latin-ext"
860
+ ]
861
+ },
862
+ {
863
+ "kind": "webfonts#webfont",
864
+ "family": "Bentham",
865
+ "variants": [
866
+ "regular"
867
+ ],
868
+ "subsets": [
869
+ "latin"
870
+ ]
871
+ },
872
+ {
873
+ "kind": "webfonts#webfont",
874
+ "family": "Berkshire Swash",
875
+ "variants": [
876
+ "regular"
877
+ ],
878
+ "subsets": [
879
+ "latin",
880
+ "latin-ext"
881
+ ]
882
+ },
883
+ {
884
+ "kind": "webfonts#webfont",
885
+ "family": "Bevan",
886
+ "variants": [
887
+ "regular"
888
+ ],
889
+ "subsets": [
890
+ "latin"
891
+ ]
892
+ },
893
+ {
894
+ "kind": "webfonts#webfont",
895
+ "family": "Bigelow Rules",
896
+ "variants": [
897
+ "regular"
898
+ ],
899
+ "subsets": [
900
+ "latin",
901
+ "latin-ext"
902
+ ]
903
+ },
904
+ {
905
+ "kind": "webfonts#webfont",
906
+ "family": "Bigshot One",
907
+ "variants": [
908
+ "regular"
909
+ ],
910
+ "subsets": [
911
+ "latin"
912
+ ]
913
+ },
914
+ {
915
+ "kind": "webfonts#webfont",
916
+ "family": "Bilbo",
917
+ "variants": [
918
+ "regular"
919
+ ],
920
+ "subsets": [
921
+ "latin",
922
+ "latin-ext"
923
+ ]
924
+ },
925
+ {
926
+ "kind": "webfonts#webfont",
927
+ "family": "Bilbo Swash Caps",
928
+ "variants": [
929
+ "regular"
930
+ ],
931
+ "subsets": [
932
+ "latin",
933
+ "latin-ext"
934
+ ]
935
+ },
936
+ {
937
+ "kind": "webfonts#webfont",
938
+ "family": "Bitter",
939
+ "variants": [
940
+ "regular",
941
+ "italic",
942
+ "700"
943
+ ],
944
+ "subsets": [
945
+ "latin",
946
+ "latin-ext"
947
+ ]
948
+ },
949
+ {
950
+ "kind": "webfonts#webfont",
951
+ "family": "Black Ops One",
952
+ "variants": [
953
+ "regular"
954
+ ],
955
+ "subsets": [
956
+ "latin",
957
+ "latin-ext"
958
+ ]
959
+ },
960
+ {
961
+ "kind": "webfonts#webfont",
962
+ "family": "Bokor",
963
+ "variants": [
964
+ "regular"
965
+ ],
966
+ "subsets": [
967
+ "khmer"
968
+ ]
969
+ },
970
+ {
971
+ "kind": "webfonts#webfont",
972
+ "family": "Bonbon",
973
+ "variants": [
974
+ "regular"
975
+ ],
976
+ "subsets": [
977
+ "latin"
978
+ ]
979
+ },
980
+ {
981
+ "kind": "webfonts#webfont",
982
+ "family": "Boogaloo",
983
+ "variants": [
984
+ "regular"
985
+ ],
986
+ "subsets": [
987
+ "latin"
988
+ ]
989
+ },
990
+ {
991
+ "kind": "webfonts#webfont",
992
+ "family": "Bowlby One",
993
+ "variants": [
994
+ "regular"
995
+ ],
996
+ "subsets": [
997
+ "latin"
998
+ ]
999
+ },
1000
+ {
1001
+ "kind": "webfonts#webfont",
1002
+ "family": "Bowlby One SC",
1003
+ "variants": [
1004
+ "regular"
1005
+ ],
1006
+ "subsets": [
1007
+ "latin",
1008
+ "latin-ext"
1009
+ ]
1010
+ },
1011
+ {
1012
+ "kind": "webfonts#webfont",
1013
+ "family": "Brawler",
1014
+ "variants": [
1015
+ "regular"
1016
+ ],
1017
+ "subsets": [
1018
+ "latin"
1019
+ ]
1020
+ },
1021
+ {
1022
+ "kind": "webfonts#webfont",
1023
+ "family": "Bree Serif",
1024
+ "variants": [
1025
+ "regular"
1026
+ ],
1027
+ "subsets": [
1028
+ "latin",
1029
+ "latin-ext"
1030
+ ]
1031
+ },
1032
+ {
1033
+ "kind": "webfonts#webfont",
1034
+ "family": "Bubblegum Sans",
1035
+ "variants": [
1036
+ "regular"
1037
+ ],
1038
+ "subsets": [
1039
+ "latin",
1040
+ "latin-ext"
1041
+ ]
1042
+ },
1043
+ {
1044
+ "kind": "webfonts#webfont",
1045
+ "family": "Bubbler One",
1046
+ "variants": [
1047
+ "regular"
1048
+ ],
1049
+ "subsets": [
1050
+ "latin",
1051
+ "latin-ext"
1052
+ ]
1053
+ },
1054
+ {
1055
+ "kind": "webfonts#webfont",
1056
+ "family": "Buda",
1057
+ "variants": [
1058
+ "300"
1059
+ ],
1060
+ "subsets": [
1061
+ "latin"
1062
+ ]
1063
+ },
1064
+ {
1065
+ "kind": "webfonts#webfont",
1066
+ "family": "Buenard",
1067
+ "variants": [
1068
+ "regular",
1069
+ "700"
1070
+ ],
1071
+ "subsets": [
1072
+ "latin",
1073
+ "latin-ext"
1074
+ ]
1075
+ },
1076
+ {
1077
+ "kind": "webfonts#webfont",
1078
+ "family": "Butcherman",
1079
+ "variants": [
1080
+ "regular"
1081
+ ],
1082
+ "subsets": [
1083
+ "latin",
1084
+ "latin-ext"
1085
+ ]
1086
+ },
1087
+ {
1088
+ "kind": "webfonts#webfont",
1089
+ "family": "Butterfly Kids",
1090
+ "variants": [
1091
+ "regular"
1092
+ ],
1093
+ "subsets": [
1094
+ "latin",
1095
+ "latin-ext"
1096
+ ]
1097
+ },
1098
+ {
1099
+ "kind": "webfonts#webfont",
1100
+ "family": "Cabin",
1101
+ "variants": [
1102
+ "regular",
1103
+ "italic",
1104
+ "500",
1105
+ "500italic",
1106
+ "600",
1107
+ "600italic",
1108
+ "700",
1109
+ "700italic"
1110
+ ],
1111
+ "subsets": [
1112
+ "latin"
1113
+ ]
1114
+ },
1115
+ {
1116
+ "kind": "webfonts#webfont",
1117
+ "family": "Cabin Condensed",
1118
+ "variants": [
1119
+ "regular",
1120
+ "500",
1121
+ "600",
1122
+ "700"
1123
+ ],
1124
+ "subsets": [
1125
+ "latin"
1126
+ ]
1127
+ },
1128
+ {
1129
+ "kind": "webfonts#webfont",
1130
+ "family": "Cabin Sketch",
1131
+ "variants": [
1132
+ "regular",
1133
+ "700"
1134
+ ],
1135
+ "subsets": [
1136
+ "latin"
1137
+ ]
1138
+ },
1139
+ {
1140
+ "kind": "webfonts#webfont",
1141
+ "family": "Caesar Dressing",
1142
+ "variants": [
1143
+ "regular"
1144
+ ],
1145
+ "subsets": [
1146
+ "latin"
1147
+ ]
1148
+ },
1149
+ {
1150
+ "kind": "webfonts#webfont",
1151
+ "family": "Cagliostro",
1152
+ "variants": [
1153
+ "regular"
1154
+ ],
1155
+ "subsets": [
1156
+ "latin"
1157
+ ]
1158
+ },
1159
+ {
1160
+ "kind": "webfonts#webfont",
1161
+ "family": "Calligraffitti",
1162
+ "variants": [
1163
+ "regular"
1164
+ ],
1165
+ "subsets": [
1166
+ "latin"
1167
+ ]
1168
+ },
1169
+ {
1170
+ "kind": "webfonts#webfont",
1171
+ "family": "Cambo",
1172
+ "variants": [
1173
+ "regular"
1174
+ ],
1175
+ "subsets": [
1176
+ "latin"
1177
+ ]
1178
+ },
1179
+ {
1180
+ "kind": "webfonts#webfont",
1181
+ "family": "Candal",
1182
+ "variants": [
1183
+ "regular"
1184
+ ],
1185
+ "subsets": [
1186
+ "latin"
1187
+ ]
1188
+ },
1189
+ {
1190
+ "kind": "webfonts#webfont",
1191
+ "family": "Cantarell",
1192
+ "variants": [
1193
+ "regular",
1194
+ "italic",
1195
+ "700",
1196
+ "700italic"
1197
+ ],
1198
+ "subsets": [
1199
+ "latin"
1200
+ ]
1201
+ },
1202
+ {
1203
+ "kind": "webfonts#webfont",
1204
+ "family": "Cantata One",
1205
+ "variants": [
1206
+ "regular"
1207
+ ],
1208
+ "subsets": [
1209
+ "latin",
1210
+ "latin-ext"
1211
+ ]
1212
+ },
1213
+ {
1214
+ "kind": "webfonts#webfont",
1215
+ "family": "Cantora One",
1216
+ "variants": [
1217
+ "regular"
1218
+ ],
1219
+ "subsets": [
1220
+ "latin",
1221
+ "latin-ext"
1222
+ ]
1223
+ },
1224
+ {
1225
+ "kind": "webfonts#webfont",
1226
+ "family": "Capriola",
1227
+ "variants": [
1228
+ "regular"
1229
+ ],
1230
+ "subsets": [
1231
+ "latin",
1232
+ "latin-ext"
1233
+ ]
1234
+ },
1235
+ {
1236
+ "kind": "webfonts#webfont",
1237
+ "family": "Cardo",
1238
+ "variants": [
1239
+ "regular",
1240
+ "italic",
1241
+ "700"
1242
+ ],
1243
+ "subsets": [
1244
+ "latin",
1245
+ "latin-ext",
1246
+ "greek-ext",
1247
+ "greek"
1248
+ ]
1249
+ },
1250
+ {
1251
+ "kind": "webfonts#webfont",
1252
+ "family": "Carme",
1253
+ "variants": [
1254
+ "regular"
1255
+ ],
1256
+ "subsets": [
1257
+ "latin"
1258
+ ]
1259
+ },
1260
+ {
1261
+ "kind": "webfonts#webfont",
1262
+ "family": "Carrois Gothic",
1263
+ "variants": [
1264
+ "regular"
1265
+ ],
1266
+ "subsets": [
1267
+ "latin"
1268
+ ]
1269
+ },
1270
+ {
1271
+ "kind": "webfonts#webfont",
1272
+ "family": "Carrois Gothic SC",
1273
+ "variants": [
1274
+ "regular"
1275
+ ],
1276
+ "subsets": [
1277
+ "latin"
1278
+ ]
1279
+ },
1280
+ {
1281
+ "kind": "webfonts#webfont",
1282
+ "family": "Carter One",
1283
+ "variants": [
1284
+ "regular"
1285
+ ],
1286
+ "subsets": [
1287
+ "latin"
1288
+ ]
1289
+ },
1290
+ {
1291
+ "kind": "webfonts#webfont",
1292
+ "family": "Caudex",
1293
+ "variants": [
1294
+ "regular",
1295
+ "italic",
1296
+ "700",
1297
+ "700italic"
1298
+ ],
1299
+ "subsets": [
1300
+ "latin",
1301
+ "latin-ext",
1302
+ "greek-ext",
1303
+ "greek"
1304
+ ]
1305
+ },
1306
+ {
1307
+ "kind": "webfonts#webfont",
1308
+ "family": "Cedarville Cursive",
1309
+ "variants": [
1310
+ "regular"
1311
+ ],
1312
+ "subsets": [
1313
+ "latin"
1314
+ ]
1315
+ },
1316
+ {
1317
+ "kind": "webfonts#webfont",
1318
+ "family": "Ceviche One",
1319
+ "variants": [
1320
+ "regular"
1321
+ ],
1322
+ "subsets": [
1323
+ "latin"
1324
+ ]
1325
+ },
1326
+ {
1327
+ "kind": "webfonts#webfont",
1328
+ "family": "Changa One",
1329
+ "variants": [
1330
+ "regular",
1331
+ "italic"
1332
+ ],
1333
+ "subsets": [
1334
+ "latin"
1335
+ ]
1336
+ },
1337
+ {
1338
+ "kind": "webfonts#webfont",
1339
+ "family": "Chango",
1340
+ "variants": [
1341
+ "regular"
1342
+ ],
1343
+ "subsets": [
1344
+ "latin",
1345
+ "latin-ext"
1346
+ ]
1347
+ },
1348
+ {
1349
+ "kind": "webfonts#webfont",
1350
+ "family": "Chau Philomene One",
1351
+ "variants": [
1352
+ "regular",
1353
+ "italic"
1354
+ ],
1355
+ "subsets": [
1356
+ "latin",
1357
+ "latin-ext"
1358
+ ]
1359
+ },
1360
+ {
1361
+ "kind": "webfonts#webfont",
1362
+ "family": "Chela One",
1363
+ "variants": [
1364
+ "regular"
1365
+ ],
1366
+ "subsets": [
1367
+ "latin",
1368
+ "latin-ext"
1369
+ ]
1370
+ },
1371
+ {
1372
+ "kind": "webfonts#webfont",
1373
+ "family": "Chelsea Market",
1374
+ "variants": [
1375
+ "regular"
1376
+ ],
1377
+ "subsets": [
1378
+ "latin",
1379
+ "latin-ext"
1380
+ ]
1381
+ },
1382
+ {
1383
+ "kind": "webfonts#webfont",
1384
+ "family": "Chenla",
1385
+ "variants": [
1386
+ "regular"
1387
+ ],
1388
+ "subsets": [
1389
+ "khmer"
1390
+ ]
1391
+ },
1392
+ {
1393
+ "kind": "webfonts#webfont",
1394
+ "family": "Cherry Cream Soda",
1395
+ "variants": [
1396
+ "regular"
1397
+ ],
1398
+ "subsets": [
1399
+ "latin"
1400
+ ]
1401
+ },
1402
+ {
1403
+ "kind": "webfonts#webfont",
1404
+ "family": "Cherry Swash",
1405
+ "variants": [
1406
+ "regular",
1407
+ "700"
1408
+ ],
1409
+ "subsets": [
1410
+ "latin",
1411
+ "latin-ext"
1412
+ ]
1413
+ },
1414
+ {
1415
+ "kind": "webfonts#webfont",
1416
+ "family": "Chewy",
1417
+ "variants": [
1418
+ "regular"
1419
+ ],
1420
+ "subsets": [
1421
+ "latin"
1422
+ ]
1423
+ },
1424
+ {
1425
+ "kind": "webfonts#webfont",
1426
+ "family": "Chicle",
1427
+ "variants": [
1428
+ "regular"
1429
+ ],
1430
+ "subsets": [
1431
+ "latin",
1432
+ "latin-ext"
1433
+ ]
1434
+ },
1435
+ {
1436
+ "kind": "webfonts#webfont",
1437
+ "family": "Chivo",
1438
+ "variants": [
1439
+ "regular",
1440
+ "italic",
1441
+ "900",
1442
+ "900italic"
1443
+ ],
1444
+ "subsets": [
1445
+ "latin"
1446
+ ]
1447
+ },
1448
+ {
1449
+ "kind": "webfonts#webfont",
1450
+ "family": "Cinzel",
1451
+ "variants": [
1452
+ "regular",
1453
+ "700",
1454
+ "900"
1455
+ ],
1456
+ "subsets": [
1457
+ "latin"
1458
+ ]
1459
+ },
1460
+ {
1461
+ "kind": "webfonts#webfont",
1462
+ "family": "Cinzel Decorative",
1463
+ "variants": [
1464
+ "regular",
1465
+ "700",
1466
+ "900"
1467
+ ],
1468
+ "subsets": [
1469
+ "latin"
1470
+ ]
1471
+ },
1472
+ {
1473
+ "kind": "webfonts#webfont",
1474
+ "family": "Clicker Script",
1475
+ "variants": [
1476
+ "regular"
1477
+ ],
1478
+ "subsets": [
1479
+ "latin",
1480
+ "latin-ext"
1481
+ ]
1482
+ },
1483
+ {
1484
+ "kind": "webfonts#webfont",
1485
+ "family": "Coda",
1486
+ "variants": [
1487
+ "regular",
1488
+ "800"
1489
+ ],
1490
+ "subsets": [
1491
+ "latin"
1492
+ ]
1493
+ },
1494
+ {
1495
+ "kind": "webfonts#webfont",
1496
+ "family": "Coda Caption",
1497
+ "variants": [
1498
+ "800"
1499
+ ],
1500
+ "subsets": [
1501
+ "latin"
1502
+ ]
1503
+ },
1504
+ {
1505
+ "kind": "webfonts#webfont",
1506
+ "family": "Codystar",
1507
+ "variants": [
1508
+ "300",
1509
+ "regular"
1510
+ ],
1511
+ "subsets": [
1512
+ "latin",
1513
+ "latin-ext"
1514
+ ]
1515
+ },
1516
+ {
1517
+ "kind": "webfonts#webfont",
1518
+ "family": "Combo",
1519
+ "variants": [
1520
+ "regular"
1521
+ ],
1522
+ "subsets": [
1523
+ "latin",
1524
+ "latin-ext"
1525
+ ]
1526
+ },
1527
+ {
1528
+ "kind": "webfonts#webfont",
1529
+ "family": "Comfortaa",
1530
+ "variants": [
1531
+ "300",
1532
+ "regular",
1533
+ "700"
1534
+ ],
1535
+ "subsets": [
1536
+ "latin",
1537
+ "latin-ext",
1538
+ "greek",
1539
+ "cyrillic",
1540
+ "cyrillic-ext"
1541
+ ]
1542
+ },
1543
+ {
1544
+ "kind": "webfonts#webfont",
1545
+ "family": "Coming Soon",
1546
+ "variants": [
1547
+ "regular"
1548
+ ],
1549
+ "subsets": [
1550
+ "latin"
1551
+ ]
1552
+ },
1553
+ {
1554
+ "kind": "webfonts#webfont",
1555
+ "family": "Concert One",
1556
+ "variants": [
1557
+ "regular"
1558
+ ],
1559
+ "subsets": [
1560
+ "latin",
1561
+ "latin-ext"
1562
+ ]
1563
+ },
1564
+ {
1565
+ "kind": "webfonts#webfont",
1566
+ "family": "Condiment",
1567
+ "variants": [
1568
+ "regular"
1569
+ ],
1570
+ "subsets": [
1571
+ "latin",
1572
+ "latin-ext"
1573
+ ]
1574
+ },
1575
+ {
1576
+ "kind": "webfonts#webfont",
1577
+ "family": "Content",
1578
+ "variants": [
1579
+ "regular",
1580
+ "700"
1581
+ ],
1582
+ "subsets": [
1583
+ "khmer"
1584
+ ]
1585
+ },
1586
+ {
1587
+ "kind": "webfonts#webfont",
1588
+ "family": "Contrail One",
1589
+ "variants": [
1590
+ "regular"
1591
+ ],
1592
+ "subsets": [
1593
+ "latin"
1594
+ ]
1595
+ },
1596
+ {
1597
+ "kind": "webfonts#webfont",
1598
+ "family": "Convergence",
1599
+ "variants": [
1600
+ "regular"
1601
+ ],
1602
+ "subsets": [
1603
+ "latin"
1604
+ ]
1605
+ },
1606
+ {
1607
+ "kind": "webfonts#webfont",
1608
+ "family": "Cookie",
1609
+ "variants": [
1610
+ "regular"
1611
+ ],
1612
+ "subsets": [
1613
+ "latin"
1614
+ ]
1615
+ },
1616
+ {
1617
+ "kind": "webfonts#webfont",
1618
+ "family": "Copse",
1619
+ "variants": [
1620
+ "regular"
1621
+ ],
1622
+ "subsets": [
1623
+ "latin"
1624
+ ]
1625
+ },
1626
+ {
1627
+ "kind": "webfonts#webfont",
1628
+ "family": "Corben",
1629
+ "variants": [
1630
+ "regular",
1631
+ "700"
1632
+ ],
1633
+ "subsets": [
1634
+ "latin"
1635
+ ]
1636
+ },
1637
+ {
1638
+ "kind": "webfonts#webfont",
1639
+ "family": "Courgette",
1640
+ "variants": [
1641
+ "regular"
1642
+ ],
1643
+ "subsets": [
1644
+ "latin",
1645
+ "latin-ext"
1646
+ ]
1647
+ },
1648
+ {
1649
+ "kind": "webfonts#webfont",
1650
+ "family": "Cousine",
1651
+ "variants": [
1652
+ "regular",
1653
+ "italic",
1654
+ "700",
1655
+ "700italic"
1656
+ ],
1657
+ "subsets": [
1658
+ "latin"
1659
+ ]
1660
+ },
1661
+ {
1662
+ "kind": "webfonts#webfont",
1663
+ "family": "Coustard",
1664
+ "variants": [
1665
+ "regular",
1666
+ "900"
1667
+ ],
1668
+ "subsets": [
1669
+ "latin"
1670
+ ]
1671
+ },
1672
+ {
1673
+ "kind": "webfonts#webfont",
1674
+ "family": "Covered By Your Grace",
1675
+ "variants": [
1676
+ "regular"
1677
+ ],
1678
+ "subsets": [
1679
+ "latin"
1680
+ ]
1681
+ },
1682
+ {
1683
+ "kind": "webfonts#webfont",
1684
+ "family": "Crafty Girls",
1685
+ "variants": [
1686
+ "regular"
1687
+ ],
1688
+ "subsets": [
1689
+ "latin"
1690
+ ]
1691
+ },
1692
+ {
1693
+ "kind": "webfonts#webfont",
1694
+ "family": "Creepster",
1695
+ "variants": [
1696
+ "regular"
1697
+ ],
1698
+ "subsets": [
1699
+ "latin"
1700
+ ]
1701
+ },
1702
+ {
1703
+ "kind": "webfonts#webfont",
1704
+ "family": "Crete Round",
1705
+ "variants": [
1706
+ "regular",
1707
+ "italic"
1708
+ ],
1709
+ "subsets": [
1710
+ "latin",
1711
+ "latin-ext"
1712
+ ]
1713
+ },
1714
+ {
1715
+ "kind": "webfonts#webfont",
1716
+ "family": "Crimson Text",
1717
+ "variants": [
1718
+ "regular",
1719
+ "italic",
1720
+ "600",
1721
+ "600italic",
1722
+ "700",
1723
+ "700italic"
1724
+ ],
1725
+ "subsets": [
1726
+ "latin"
1727
+ ]
1728
+ },
1729
+ {
1730
+ "kind": "webfonts#webfont",
1731
+ "family": "Croissant One",
1732
+ "variants": [
1733
+ "regular"
1734
+ ],
1735
+ "subsets": [
1736
+ "latin",
1737
+ "latin-ext"
1738
+ ]
1739
+ },
1740
+ {
1741
+ "kind": "webfonts#webfont",
1742
+ "family": "Crushed",
1743
+ "variants": [
1744
+ "regular"
1745
+ ],
1746
+ "subsets": [
1747
+ "latin"
1748
+ ]
1749
+ },
1750
+ {
1751
+ "kind": "webfonts#webfont",
1752
+ "family": "Cuprum",
1753
+ "variants": [
1754
+ "regular",
1755
+ "italic",
1756
+ "700",
1757
+ "700italic"
1758
+ ],
1759
+ "subsets": [
1760
+ "latin",
1761
+ "latin-ext",
1762
+ "cyrillic"
1763
+ ]
1764
+ },
1765
+ {
1766
+ "kind": "webfonts#webfont",
1767
+ "family": "Cutive",
1768
+ "variants": [
1769
+ "regular"
1770
+ ],
1771
+ "subsets": [
1772
+ "latin",
1773
+ "latin-ext"
1774
+ ]
1775
+ },
1776
+ {
1777
+ "kind": "webfonts#webfont",
1778
+ "family": "Cutive Mono",
1779
+ "variants": [
1780
+ "regular"
1781
+ ],
1782
+ "subsets": [
1783
+ "latin",
1784
+ "latin-ext"
1785
+ ]
1786
+ },
1787
+ {
1788
+ "kind": "webfonts#webfont",
1789
+ "family": "Damion",
1790
+ "variants": [
1791
+ "regular"
1792
+ ],
1793
+ "subsets": [
1794
+ "latin"
1795
+ ]
1796
+ },
1797
+ {
1798
+ "kind": "webfonts#webfont",
1799
+ "family": "Dancing Script",
1800
+ "variants": [
1801
+ "regular",
1802
+ "700"
1803
+ ],
1804
+ "subsets": [
1805
+ "latin"
1806
+ ]
1807
+ },
1808
+ {
1809
+ "kind": "webfonts#webfont",
1810
+ "family": "Dangrek",
1811
+ "variants": [
1812
+ "regular"
1813
+ ],
1814
+ "subsets": [
1815
+ "khmer"
1816
+ ]
1817
+ },
1818
+ {
1819
+ "kind": "webfonts#webfont",
1820
+ "family": "Dawning of a New Day",
1821
+ "variants": [
1822
+ "regular"
1823
+ ],
1824
+ "subsets": [
1825
+ "latin"
1826
+ ]
1827
+ },
1828
+ {
1829
+ "kind": "webfonts#webfont",
1830
+ "family": "Days One",
1831
+ "variants": [
1832
+ "regular"
1833
+ ],
1834
+ "subsets": [
1835
+ "latin"
1836
+ ]
1837
+ },
1838
+ {
1839
+ "kind": "webfonts#webfont",
1840
+ "family": "Delius",
1841
+ "variants": [
1842
+ "regular"
1843
+ ],
1844
+ "subsets": [
1845
+ "latin"
1846
+ ]
1847
+ },
1848
+ {
1849
+ "kind": "webfonts#webfont",
1850
+ "family": "Delius Swash Caps",
1851
+ "variants": [
1852
+ "regular"
1853
+ ],
1854
+ "subsets": [
1855
+ "latin"
1856
+ ]
1857
+ },
1858
+ {
1859
+ "kind": "webfonts#webfont",
1860
+ "family": "Delius Unicase",
1861
+ "variants": [
1862
+ "regular",
1863
+ "700"
1864
+ ],
1865
+ "subsets": [
1866
+ "latin"
1867
+ ]
1868
+ },
1869
+ {
1870
+ "kind": "webfonts#webfont",
1871
+ "family": "Della Respira",
1872
+ "variants": [
1873
+ "regular"
1874
+ ],
1875
+ "subsets": [
1876
+ "latin"
1877
+ ]
1878
+ },
1879
+ {
1880
+ "kind": "webfonts#webfont",
1881
+ "family": "Denk One",
1882
+ "variants": [
1883
+ "regular"
1884
+ ],
1885
+ "subsets": [
1886
+ "latin",
1887
+ "latin-ext"
1888
+ ]
1889
+ },
1890
+ {
1891
+ "kind": "webfonts#webfont",
1892
+ "family": "Devonshire",
1893
+ "variants": [
1894
+ "regular"
1895
+ ],
1896
+ "subsets": [
1897
+ "latin",
1898
+ "latin-ext"
1899
+ ]
1900
+ },
1901
+ {
1902
+ "kind": "webfonts#webfont",
1903
+ "family": "Didact Gothic",
1904
+ "variants": [
1905
+ "regular"
1906
+ ],
1907
+ "subsets": [
1908
+ "latin",
1909
+ "latin-ext",
1910
+ "greek-ext",
1911
+ "greek",
1912
+ "cyrillic",
1913
+ "cyrillic-ext"
1914
+ ]
1915
+ },
1916
+ {
1917
+ "kind": "webfonts#webfont",
1918
+ "family": "Diplomata",
1919
+ "variants": [
1920
+ "regular"
1921
+ ],
1922
+ "subsets": [
1923
+ "latin",
1924
+ "latin-ext"
1925
+ ]
1926
+ },
1927
+ {
1928
+ "kind": "webfonts#webfont",
1929
+ "family": "Diplomata SC",
1930
+ "variants": [
1931
+ "regular"
1932
+ ],
1933
+ "subsets": [
1934
+ "latin",
1935
+ "latin-ext"
1936
+ ]
1937
+ },
1938
+ {
1939
+ "kind": "webfonts#webfont",
1940
+ "family": "Domine",
1941
+ "variants": [
1942
+ "regular",
1943
+ "700"
1944
+ ],
1945
+ "subsets": [
1946
+ "latin",
1947
+ "latin-ext"
1948
+ ]
1949
+ },
1950
+ {
1951
+ "kind": "webfonts#webfont",
1952
+ "family": "Donegal One",
1953
+ "variants": [
1954
+ "regular"
1955
+ ],
1956
+ "subsets": [
1957
+ "latin",
1958
+ "latin-ext"
1959
+ ]
1960
+ },
1961
+ {
1962
+ "kind": "webfonts#webfont",
1963
+ "family": "Doppio One",
1964
+ "variants": [
1965
+ "regular"
1966
+ ],
1967
+ "subsets": [
1968
+ "latin",
1969
+ "latin-ext"
1970
+ ]
1971
+ },
1972
+ {
1973
+ "kind": "webfonts#webfont",
1974
+ "family": "Dorsa",
1975
+ "variants": [
1976
+ "regular"
1977
+ ],
1978
+ "subsets": [
1979
+ "latin"
1980
+ ]
1981
+ },
1982
+ {
1983
+ "kind": "webfonts#webfont",
1984
+ "family": "Dosis",
1985
+ "variants": [
1986
+ "200",
1987
+ "300",
1988
+ "regular",
1989
+ "500",
1990
+ "600",
1991
+ "700",
1992
+ "800"
1993
+ ],
1994
+ "subsets": [
1995
+ "latin",
1996
+ "latin-ext"
1997
+ ]
1998
+ },
1999
+ {
2000
+ "kind": "webfonts#webfont",
2001
+ "family": "Dr Sugiyama",
2002
+ "variants": [
2003
+ "regular"
2004
+ ],
2005
+ "subsets": [
2006
+ "latin",
2007
+ "latin-ext"
2008
+ ]
2009
+ },
2010
+ {
2011
+ "kind": "webfonts#webfont",
2012
+ "family": "Droid Sans",
2013
+ "variants": [
2014
+ "regular",
2015
+ "700"
2016
+ ],
2017
+ "subsets": [
2018
+ "latin"
2019
+ ]
2020
+ },
2021
+ {
2022
+ "kind": "webfonts#webfont",
2023
+ "family": "Droid Sans Mono",
2024
+ "variants": [
2025
+ "regular"
2026
+ ],
2027
+ "subsets": [
2028
+ "latin"
2029
+ ]
2030
+ },
2031
+ {
2032
+ "kind": "webfonts#webfont",
2033
+ "family": "Droid Serif",
2034
+ "variants": [
2035
+ "regular",
2036
+ "italic",
2037
+ "700",
2038
+ "700italic"
2039
+ ],
2040
+ "subsets": [
2041
+ "latin"
2042
+ ]
2043
+ },
2044
+ {
2045
+ "kind": "webfonts#webfont",
2046
+ "family": "Duru Sans",
2047
+ "variants": [
2048
+ "regular"
2049
+ ],
2050
+ "subsets": [
2051
+ "latin",
2052
+ "latin-ext"
2053
+ ]
2054
+ },
2055
+ {
2056
+ "kind": "webfonts#webfont",
2057
+ "family": "Dynalight",
2058
+ "variants": [
2059
+ "regular"
2060
+ ],
2061
+ "subsets": [
2062
+ "latin",
2063
+ "latin-ext"
2064
+ ]
2065
+ },
2066
+ {
2067
+ "kind": "webfonts#webfont",
2068
+ "family": "EB Garamond",
2069
+ "variants": [
2070
+ "regular"
2071
+ ],
2072
+ "subsets": [
2073
+ "latin",
2074
+ "latin-ext",
2075
+ "vietnamese",
2076
+ "cyrillic",
2077
+ "cyrillic-ext"
2078
+ ]
2079
+ },
2080
+ {
2081
+ "kind": "webfonts#webfont",
2082
+ "family": "Eagle Lake",
2083
+ "variants": [
2084
+ "regular"
2085
+ ],
2086
+ "subsets": [
2087
+ "latin",
2088
+ "latin-ext"
2089
+ ]
2090
+ },
2091
+ {
2092
+ "kind": "webfonts#webfont",
2093
+ "family": "Eater",
2094
+ "variants": [
2095
+ "regular"
2096
+ ],
2097
+ "subsets": [
2098
+ "latin",
2099
+ "latin-ext"
2100
+ ]
2101
+ },
2102
+ {
2103
+ "kind": "webfonts#webfont",
2104
+ "family": "Economica",
2105
+ "variants": [
2106
+ "regular",
2107
+ "italic",
2108
+ "700",
2109
+ "700italic"
2110
+ ],
2111
+ "subsets": [
2112
+ "latin",
2113
+ "latin-ext"
2114
+ ]
2115
+ },
2116
+ {
2117
+ "kind": "webfonts#webfont",
2118
+ "family": "Electrolize",
2119
+ "variants": [
2120
+ "regular"
2121
+ ],
2122
+ "subsets": [
2123
+ "latin"
2124
+ ]
2125
+ },
2126
+ {
2127
+ "kind": "webfonts#webfont",
2128
+ "family": "Elsie",
2129
+ "variants": [
2130
+ "regular",
2131
+ "900"
2132
+ ],
2133
+ "subsets": [
2134
+ "latin",
2135
+ "latin-ext"
2136
+ ]
2137
+ },
2138
+ {
2139
+ "kind": "webfonts#webfont",
2140
+ "family": "Elsie Swash Caps",
2141
+ "variants": [
2142
+ "regular",
2143
+ "900"
2144
+ ],
2145
+ "subsets": [
2146
+ "latin",
2147
+ "latin-ext"
2148
+ ]
2149
+ },
2150
+ {
2151
+ "kind": "webfonts#webfont",
2152
+ "family": "Emblema One",
2153
+ "variants": [
2154
+ "regular"
2155
+ ],
2156
+ "subsets": [
2157
+ "latin",
2158
+ "latin-ext"
2159
+ ]
2160
+ },
2161
+ {
2162
+ "kind": "webfonts#webfont",
2163
+ "family": "Emilys Candy",
2164
+ "variants": [
2165
+ "regular"
2166
+ ],
2167
+ "subsets": [
2168
+ "latin",
2169
+ "latin-ext"
2170
+ ]
2171
+ },
2172
+ {
2173
+ "kind": "webfonts#webfont",
2174
+ "family": "Engagement",
2175
+ "variants": [
2176
+ "regular"
2177
+ ],
2178
+ "subsets": [
2179
+ "latin"
2180
+ ]
2181
+ },
2182
+ {
2183
+ "kind": "webfonts#webfont",
2184
+ "family": "Englebert",
2185
+ "variants": [
2186
+ "regular"
2187
+ ],
2188
+ "subsets": [
2189
+ "latin",
2190
+ "latin-ext"
2191
+ ]
2192
+ },
2193
+ {
2194
+ "kind": "webfonts#webfont",
2195
+ "family": "Enriqueta",
2196
+ "variants": [
2197
+ "regular",
2198
+ "700"
2199
+ ],
2200
+ "subsets": [
2201
+ "latin",
2202
+ "latin-ext"
2203
+ ]
2204
+ },
2205
+ {
2206
+ "kind": "webfonts#webfont",
2207
+ "family": "Erica One",
2208
+ "variants": [
2209
+ "regular"
2210
+ ],
2211
+ "subsets": [
2212
+ "latin"
2213
+ ]
2214
+ },
2215
+ {
2216
+ "kind": "webfonts#webfont",
2217
+ "family": "Esteban",
2218
+ "variants": [
2219
+ "regular"
2220
+ ],
2221
+ "subsets": [
2222
+ "latin",
2223
+ "latin-ext"
2224
+ ]
2225
+ },
2226
+ {
2227
+ "kind": "webfonts#webfont",
2228
+ "family": "Euphoria Script",
2229
+ "variants": [
2230
+ "regular"
2231
+ ],
2232
+ "subsets": [
2233
+ "latin",
2234
+ "latin-ext"
2235
+ ]
2236
+ },
2237
+ {
2238
+ "kind": "webfonts#webfont",
2239
+ "family": "Ewert",
2240
+ "variants": [
2241
+ "regular"
2242
+ ],
2243
+ "subsets": [
2244
+ "latin",
2245
+ "latin-ext"
2246
+ ]
2247
+ },
2248
+ {
2249
+ "kind": "webfonts#webfont",
2250
+ "family": "Exo",
2251
+ "variants": [
2252
+ "100",
2253
+ "100italic",
2254
+ "200",
2255
+ "200italic",
2256
+ "300",
2257
+ "300italic",
2258
+ "regular",
2259
+ "italic",
2260
+ "500",
2261
+ "500italic",
2262
+ "600",
2263
+ "600italic",
2264
+ "700",
2265
+ "700italic",
2266
+ "800",
2267
+ "800italic",
2268
+ "900",
2269
+ "900italic"
2270
+ ],
2271
+ "subsets": [
2272
+ "latin",
2273
+ "latin-ext"
2274
+ ]
2275
+ },
2276
+ {
2277
+ "kind": "webfonts#webfont",
2278
+ "family": "Expletus Sans",
2279
+ "variants": [
2280
+ "regular",
2281
+ "italic",
2282
+ "500",
2283
+ "500italic",
2284
+ "600",
2285
+ "600italic",
2286
+ "700",
2287
+ "700italic"
2288
+ ],
2289
+ "subsets": [
2290
+ "latin"
2291
+ ]
2292
+ },
2293
+ {
2294
+ "kind": "webfonts#webfont",
2295
+ "family": "Fanwood Text",
2296
+ "variants": [
2297
+ "regular",
2298
+ "italic"
2299
+ ],
2300
+ "subsets": [
2301
+ "latin"
2302
+ ]
2303
+ },
2304
+ {
2305
+ "kind": "webfonts#webfont",
2306
+ "family": "Fascinate",
2307
+ "variants": [
2308
+ "regular"
2309
+ ],
2310
+ "subsets": [
2311
+ "latin"
2312
+ ]
2313
+ },
2314
+ {
2315
+ "kind": "webfonts#webfont",
2316
+ "family": "Fascinate Inline",
2317
+ "variants": [
2318
+ "regular"
2319
+ ],
2320
+ "subsets": [
2321
+ "latin"
2322
+ ]
2323
+ },
2324
+ {
2325
+ "kind": "webfonts#webfont",
2326
+ "family": "Faster One",
2327
+ "variants": [
2328
+ "regular"
2329
+ ],
2330
+ "subsets": [
2331
+ "latin"
2332
+ ]
2333
+ },
2334
+ {
2335
+ "kind": "webfonts#webfont",
2336
+ "family": "Fasthand",
2337
+ "variants": [
2338
+ "regular"
2339
+ ],
2340
+ "subsets": [
2341
+ "khmer"
2342
+ ]
2343
+ },
2344
+ {
2345
+ "kind": "webfonts#webfont",
2346
+ "family": "Federant",
2347
+ "variants": [
2348
+ "regular"
2349
+ ],
2350
+ "subsets": [
2351
+ "latin"
2352
+ ]
2353
+ },
2354
+ {
2355
+ "kind": "webfonts#webfont",
2356
+ "family": "Federo",
2357
+ "variants": [
2358
+ "regular"
2359
+ ],
2360
+ "subsets": [
2361
+ "latin"
2362
+ ]
2363
+ },
2364
+ {
2365
+ "kind": "webfonts#webfont",
2366
+ "family": "Felipa",
2367
+ "variants": [
2368
+ "regular"
2369
+ ],
2370
+ "subsets": [
2371
+ "latin",
2372
+ "latin-ext"
2373
+ ]
2374
+ },
2375
+ {
2376
+ "kind": "webfonts#webfont",
2377
+ "family": "Fenix",
2378
+ "variants": [
2379
+ "regular"
2380
+ ],
2381
+ "subsets": [
2382
+ "latin",
2383
+ "latin-ext"
2384
+ ]
2385
+ },
2386
+ {
2387
+ "kind": "webfonts#webfont",
2388
+ "family": "Finger Paint",
2389
+ "variants": [
2390
+ "regular"
2391
+ ],
2392
+ "subsets": [
2393
+ "latin"
2394
+ ]
2395
+ },
2396
+ {
2397
+ "kind": "webfonts#webfont",
2398
+ "family": "Fjalla One",
2399
+ "variants": [
2400
+ "regular"
2401
+ ],
2402
+ "subsets": [
2403
+ "latin",
2404
+ "latin-ext"
2405
+ ]
2406
+ },
2407
+ {
2408
+ "kind": "webfonts#webfont",
2409
+ "family": "Fjord One",
2410
+ "variants": [
2411
+ "regular"
2412
+ ],
2413
+ "subsets": [
2414
+ "latin"
2415
+ ]
2416
+ },
2417
+ {
2418
+ "kind": "webfonts#webfont",
2419
+ "family": "Flamenco",
2420
+ "variants": [
2421
+ "300",
2422
+ "regular"
2423
+ ],
2424
+ "subsets": [
2425
+ "latin"
2426
+ ]
2427
+ },
2428
+ {
2429
+ "kind": "webfonts#webfont",
2430
+ "family": "Flavors",
2431
+ "variants": [
2432
+ "regular"
2433
+ ],
2434
+ "subsets": [
2435
+ "latin"
2436
+ ]
2437
+ },
2438
+ {
2439
+ "kind": "webfonts#webfont",
2440
+ "family": "Fondamento",
2441
+ "variants": [
2442
+ "regular",
2443
+ "italic"
2444
+ ],
2445
+ "subsets": [
2446
+ "latin",
2447
+ "latin-ext"
2448
+ ]
2449
+ },
2450
+ {
2451
+ "kind": "webfonts#webfont",
2452
+ "family": "Fontdiner Swanky",
2453
+ "variants": [
2454
+ "regular"
2455
+ ],
2456
+ "subsets": [
2457
+ "latin"
2458
+ ]
2459
+ },
2460
+ {
2461
+ "kind": "webfonts#webfont",
2462
+ "family": "Forum",
2463
+ "variants": [
2464
+ "regular"
2465
+ ],
2466
+ "subsets": [
2467
+ "latin",
2468
+ "latin-ext",
2469
+ "cyrillic",
2470
+ "cyrillic-ext"
2471
+ ]
2472
+ },
2473
+ {
2474
+ "kind": "webfonts#webfont",
2475
+ "family": "Francois One",
2476
+ "variants": [
2477
+ "regular"
2478
+ ],
2479
+ "subsets": [
2480
+ "latin",
2481
+ "latin-ext"
2482
+ ]
2483
+ },
2484
+ {
2485
+ "kind": "webfonts#webfont",
2486
+ "family": "Freckle Face",
2487
+ "variants": [
2488
+ "regular"
2489
+ ],
2490
+ "subsets": [
2491
+ "latin",
2492
+ "latin-ext"
2493
+ ]
2494
+ },
2495
+ {
2496
+ "kind": "webfonts#webfont",
2497
+ "family": "Fredericka the Great",
2498
+ "variants": [
2499
+ "regular"
2500
+ ],
2501
+ "subsets": [
2502
+ "latin"
2503
+ ]
2504
+ },
2505
+ {
2506
+ "kind": "webfonts#webfont",
2507
+ "family": "Fredoka One",
2508
+ "variants": [
2509
+ "regular"
2510
+ ],
2511
+ "subsets": [
2512
+ "latin"
2513
+ ]
2514
+ },
2515
+ {
2516
+ "kind": "webfonts#webfont",
2517
+ "family": "Freehand",
2518
+ "variants": [
2519
+ "regular"
2520
+ ],
2521
+ "subsets": [
2522
+ "khmer"
2523
+ ]
2524
+ },
2525
+ {
2526
+ "kind": "webfonts#webfont",
2527
+ "family": "Fresca",
2528
+ "variants": [
2529
+ "regular"
2530
+ ],
2531
+ "subsets": [
2532
+ "latin",
2533
+ "latin-ext"
2534
+ ]
2535
+ },
2536
+ {
2537
+ "kind": "webfonts#webfont",
2538
+ "family": "Frijole",
2539
+ "variants": [
2540
+ "regular"
2541
+ ],
2542
+ "subsets": [
2543
+ "latin"
2544
+ ]
2545
+ },
2546
+ {
2547
+ "kind": "webfonts#webfont",
2548
+ "family": "Fruktur",
2549
+ "variants": [
2550
+ "regular"
2551
+ ],
2552
+ "subsets": [
2553
+ "latin",
2554
+ "latin-ext"
2555
+ ]
2556
+ },
2557
+ {
2558
+ "kind": "webfonts#webfont",
2559
+ "family": "Fugaz One",
2560
+ "variants": [
2561
+ "regular"
2562
+ ],
2563
+ "subsets": [
2564
+ "latin"
2565
+ ]
2566
+ },
2567
+ {
2568
+ "kind": "webfonts#webfont",
2569
+ "family": "GFS Didot",
2570
+ "variants": [
2571
+ "regular"
2572
+ ],
2573
+ "subsets": [
2574
+ "greek"
2575
+ ]
2576
+ },
2577
+ {
2578
+ "kind": "webfonts#webfont",
2579
+ "family": "GFS Neohellenic",
2580
+ "variants": [
2581
+ "regular",
2582
+ "italic",
2583
+ "700",
2584
+ "700italic"
2585
+ ],
2586
+ "subsets": [
2587
+ "greek"
2588
+ ]
2589
+ },
2590
+ {
2591
+ "kind": "webfonts#webfont",
2592
+ "family": "Gafata",
2593
+ "variants": [
2594
+ "regular"
2595
+ ],
2596
+ "subsets": [
2597
+ "latin",
2598
+ "latin-ext"
2599
+ ]
2600
+ },
2601
+ {
2602
+ "kind": "webfonts#webfont",
2603
+ "family": "Galdeano",
2604
+ "variants": [
2605
+ "regular"
2606
+ ],
2607
+ "subsets": [
2608
+ "latin"
2609
+ ]
2610
+ },
2611
+ {
2612
+ "kind": "webfonts#webfont",
2613
+ "family": "Galindo",
2614
+ "variants": [
2615
+ "regular"
2616
+ ],
2617
+ "subsets": [
2618
+ "latin",
2619
+ "latin-ext"
2620
+ ]
2621
+ },
2622
+ {
2623
+ "kind": "webfonts#webfont",
2624
+ "family": "Gentium Basic",
2625
+ "variants": [
2626
+ "regular",
2627
+ "italic",
2628
+ "700",
2629
+ "700italic"
2630
+ ],
2631
+ "subsets": [
2632
+ "latin",
2633
+ "latin-ext"
2634
+ ]
2635
+ },
2636
+ {
2637
+ "kind": "webfonts#webfont",
2638
+ "family": "Gentium Book Basic",
2639
+ "variants": [
2640
+ "regular",
2641
+ "italic",
2642
+ "700",
2643
+ "700italic"
2644
+ ],
2645
+ "subsets": [
2646
+ "latin",
2647
+ "latin-ext"
2648
+ ]
2649
+ },
2650
+ {
2651
+ "kind": "webfonts#webfont",
2652
+ "family": "Geo",
2653
+ "variants": [
2654
+ "regular",
2655
+ "italic"
2656
+ ],
2657
+ "subsets": [
2658
+ "latin"
2659
+ ]
2660
+ },
2661
+ {
2662
+ "kind": "webfonts#webfont",
2663
+ "family": "Geostar",
2664
+ "variants": [
2665
+ "regular"
2666
+ ],
2667
+ "subsets": [
2668
+ "latin"
2669
+ ]
2670
+ },
2671
+ {
2672
+ "kind": "webfonts#webfont",
2673
+ "family": "Geostar Fill",
2674
+ "variants": [
2675
+ "regular"
2676
+ ],
2677
+ "subsets": [
2678
+ "latin"
2679
+ ]
2680
+ },
2681
+ {
2682
+ "kind": "webfonts#webfont",
2683
+ "family": "Germania One",
2684
+ "variants": [
2685
+ "regular"
2686
+ ],
2687
+ "subsets": [
2688
+ "latin"
2689
+ ]
2690
+ },
2691
+ {
2692
+ "kind": "webfonts#webfont",
2693
+ "family": "Gilda Display",
2694
+ "variants": [
2695
+ "regular"
2696
+ ],
2697
+ "subsets": [
2698
+ "latin",
2699
+ "latin-ext"
2700
+ ]
2701
+ },
2702
+ {
2703
+ "kind": "webfonts#webfont",
2704
+ "family": "Give You Glory",
2705
+ "variants": [
2706
+ "regular"
2707
+ ],
2708
+ "subsets": [
2709
+ "latin"
2710
+ ]
2711
+ },
2712
+ {
2713
+ "kind": "webfonts#webfont",
2714
+ "family": "Glass Antiqua",
2715
+ "variants": [
2716
+ "regular"
2717
+ ],
2718
+ "subsets": [
2719
+ "latin",
2720
+ "latin-ext"
2721
+ ]
2722
+ },
2723
+ {
2724
+ "kind": "webfonts#webfont",
2725
+ "family": "Glegoo",
2726
+ "variants": [
2727
+ "regular"
2728
+ ],
2729
+ "subsets": [
2730
+ "latin",
2731
+ "latin-ext"
2732
+ ]
2733
+ },
2734
+ {
2735
+ "kind": "webfonts#webfont",
2736
+ "family": "Gloria Hallelujah",
2737
+ "variants": [
2738
+ "regular"
2739
+ ],
2740
+ "subsets": [
2741
+ "latin"
2742
+ ]
2743
+ },
2744
+ {
2745
+ "kind": "webfonts#webfont",
2746
+ "family": "Goblin One",
2747
+ "variants": [
2748
+ "regular"
2749
+ ],
2750
+ "subsets": [
2751
+ "latin"
2752
+ ]
2753
+ },
2754
+ {
2755
+ "kind": "webfonts#webfont",
2756
+ "family": "Gochi Hand",
2757
+ "variants": [
2758
+ "regular"
2759
+ ],
2760
+ "subsets": [
2761
+ "latin"
2762
+ ]
2763
+ },
2764
+ {
2765
+ "kind": "webfonts#webfont",
2766
+ "family": "Gorditas",
2767
+ "variants": [
2768
+ "regular",
2769
+ "700"
2770
+ ],
2771
+ "subsets": [
2772
+ "latin"
2773
+ ]
2774
+ },
2775
+ {
2776
+ "kind": "webfonts#webfont",
2777
+ "family": "Goudy Bookletter 1911",
2778
+ "variants": [
2779
+ "regular"
2780
+ ],
2781
+ "subsets": [
2782
+ "latin"
2783
+ ]
2784
+ },
2785
+ {
2786
+ "kind": "webfonts#webfont",
2787
+ "family": "Graduate",
2788
+ "variants": [
2789
+ "regular"
2790
+ ],
2791
+ "subsets": [
2792
+ "latin"
2793
+ ]
2794
+ },
2795
+ {
2796
+ "kind": "webfonts#webfont",
2797
+ "family": "Grand Hotel",
2798
+ "variants": [
2799
+ "regular"
2800
+ ],
2801
+ "subsets": [
2802
+ "latin",
2803
+ "latin-ext"
2804
+ ]
2805
+ },
2806
+ {
2807
+ "kind": "webfonts#webfont",
2808
+ "family": "Gravitas One",
2809
+ "variants": [
2810
+ "regular"
2811
+ ],
2812
+ "subsets": [
2813
+ "latin"
2814
+ ]
2815
+ },
2816
+ {
2817
+ "kind": "webfonts#webfont",
2818
+ "family": "Great Vibes",
2819
+ "variants": [
2820
+ "regular"
2821
+ ],
2822
+ "subsets": [
2823
+ "latin",
2824
+ "latin-ext"
2825
+ ]
2826
+ },
2827
+ {
2828
+ "kind": "webfonts#webfont",
2829
+ "family": "Griffy",
2830
+ "variants": [
2831
+ "regular"
2832
+ ],
2833
+ "subsets": [
2834
+ "latin",
2835
+ "latin-ext"
2836
+ ]
2837
+ },
2838
+ {
2839
+ "kind": "webfonts#webfont",
2840
+ "family": "Gruppo",
2841
+ "variants": [
2842
+ "regular"
2843
+ ],
2844
+ "subsets": [
2845
+ "latin",
2846
+ "latin-ext"
2847
+ ]
2848
+ },
2849
+ {
2850
+ "kind": "webfonts#webfont",
2851
+ "family": "Gudea",
2852
+ "variants": [
2853
+ "regular",
2854
+ "italic",
2855
+ "700"
2856
+ ],
2857
+ "subsets": [
2858
+ "latin",
2859
+ "latin-ext"
2860
+ ]
2861
+ },
2862
+ {
2863
+ "kind": "webfonts#webfont",
2864
+ "family": "Habibi",
2865
+ "variants": [
2866
+ "regular"
2867
+ ],
2868
+ "subsets": [
2869
+ "latin",
2870
+ "latin-ext"
2871
+ ]
2872
+ },
2873
+ {
2874
+ "kind": "webfonts#webfont",
2875
+ "family": "Hammersmith One",
2876
+ "variants": [
2877
+ "regular"
2878
+ ],
2879
+ "subsets": [
2880
+ "latin",
2881
+ "latin-ext"
2882
+ ]
2883
+ },
2884
+ {
2885
+ "kind": "webfonts#webfont",
2886
+ "family": "Hanalei",
2887
+ "variants": [
2888
+ "regular"
2889
+ ],
2890
+ "subsets": [
2891
+ "latin",
2892
+ "latin-ext"
2893
+ ]
2894
+ },
2895
+ {
2896
+ "kind": "webfonts#webfont",
2897
+ "family": "Hanalei Fill",
2898
+ "variants": [
2899
+ "regular"
2900
+ ],
2901
+ "subsets": [
2902
+ "latin",
2903
+ "latin-ext"
2904
+ ]
2905
+ },
2906
+ {
2907
+ "kind": "webfonts#webfont",
2908
+ "family": "Handlee",
2909
+ "variants": [
2910
+ "regular"
2911
+ ],
2912
+ "subsets": [
2913
+ "latin"
2914
+ ]
2915
+ },
2916
+ {
2917
+ "kind": "webfonts#webfont",
2918
+ "family": "Hanuman",
2919
+ "variants": [
2920
+ "regular",
2921
+ "700"
2922
+ ],
2923
+ "subsets": [
2924
+ "khmer"
2925
+ ]
2926
+ },
2927
+ {
2928
+ "kind": "webfonts#webfont",
2929
+ "family": "Happy Monkey",
2930
+ "variants": [
2931
+ "regular"
2932
+ ],
2933
+ "subsets": [
2934
+ "latin",
2935
+ "latin-ext"
2936
+ ]
2937
+ },
2938
+ {
2939
+ "kind": "webfonts#webfont",
2940
+ "family": "Headland One",
2941
+ "variants": [
2942
+ "regular"
2943
+ ],
2944
+ "subsets": [
2945
+ "latin",
2946
+ "latin-ext"
2947
+ ]
2948
+ },
2949
+ {
2950
+ "kind": "webfonts#webfont",
2951
+ "family": "Henny Penny",
2952
+ "variants": [
2953
+ "regular"
2954
+ ],
2955
+ "subsets": [
2956
+ "latin"
2957
+ ]
2958
+ },
2959
+ {
2960
+ "kind": "webfonts#webfont",
2961
+ "family": "Herr Von Muellerhoff",
2962
+ "variants": [
2963
+ "regular"
2964
+ ],
2965
+ "subsets": [
2966
+ "latin",
2967
+ "latin-ext"
2968
+ ]
2969
+ },
2970
+ {
2971
+ "kind": "webfonts#webfont",
2972
+ "family": "Holtwood One SC",
2973
+ "variants": [
2974
+ "regular"
2975
+ ],
2976
+ "subsets": [
2977
+ "latin"
2978
+ ]
2979
+ },
2980
+ {
2981
+ "kind": "webfonts#webfont",
2982
+ "family": "Homemade Apple",
2983
+ "variants": [
2984
+ "regular"
2985
+ ],
2986
+ "subsets": [
2987
+ "latin"
2988
+ ]
2989
+ },
2990
+ {
2991
+ "kind": "webfonts#webfont",
2992
+ "family": "Homenaje",
2993
+ "variants": [
2994
+ "regular"
2995
+ ],
2996
+ "subsets": [
2997
+ "latin",
2998
+ "latin-ext"
2999
+ ]
3000
+ },
3001
+ {
3002
+ "kind": "webfonts#webfont",
3003
+ "family": "IM Fell DW Pica",
3004
+ "variants": [
3005
+ "regular",
3006
+ "italic"
3007
+ ],
3008
+ "subsets": [
3009
+ "latin"
3010
+ ]
3011
+ },
3012
+ {
3013
+ "kind": "webfonts#webfont",
3014
+ "family": "IM Fell DW Pica SC",
3015
+ "variants": [
3016
+ "regular"
3017
+ ],
3018
+ "subsets": [
3019
+ "latin"
3020
+ ]
3021
+ },
3022
+ {
3023
+ "kind": "webfonts#webfont",
3024
+ "family": "IM Fell Double Pica",
3025
+ "variants": [
3026
+ "regular",
3027
+ "italic"
3028
+ ],
3029
+ "subsets": [
3030
+ "latin"
3031
+ ]
3032
+ },
3033
+ {
3034
+ "kind": "webfonts#webfont",
3035
+ "family": "IM Fell Double Pica SC",
3036
+ "variants": [
3037
+ "regular"
3038
+ ],
3039
+ "subsets": [
3040
+ "latin"
3041
+ ]
3042
+ },
3043
+ {
3044
+ "kind": "webfonts#webfont",
3045
+ "family": "IM Fell English",
3046
+ "variants": [
3047
+ "regular",
3048
+ "italic"
3049
+ ],
3050
+ "subsets": [
3051
+ "latin"
3052
+ ]
3053
+ },
3054
+ {
3055
+ "kind": "webfonts#webfont",
3056
+ "family": "IM Fell English SC",
3057
+ "variants": [
3058
+ "regular"
3059
+ ],
3060
+ "subsets": [
3061
+ "latin"
3062
+ ]
3063
+ },
3064
+ {
3065
+ "kind": "webfonts#webfont",
3066
+ "family": "IM Fell French Canon",
3067
+ "variants": [
3068
+ "regular",
3069
+ "italic"
3070
+ ],
3071
+ "subsets": [
3072
+ "latin"
3073
+ ]
3074
+ },
3075
+ {
3076
+ "kind": "webfonts#webfont",
3077
+ "family": "IM Fell French Canon SC",
3078
+ "variants": [
3079
+ "regular"
3080
+ ],
3081
+ "subsets": [
3082
+ "latin"
3083
+ ]
3084
+ },
3085
+ {
3086
+ "kind": "webfonts#webfont",
3087
+ "family": "IM Fell Great Primer",
3088
+ "variants": [
3089
+ "regular",
3090
+ "italic"
3091
+ ],
3092
+ "subsets": [
3093
+ "latin"
3094
+ ]
3095
+ },
3096
+ {
3097
+ "kind": "webfonts#webfont",
3098
+ "family": "IM Fell Great Primer SC",
3099
+ "variants": [
3100
+ "regular"
3101
+ ],
3102
+ "subsets": [
3103
+ "latin"
3104
+ ]
3105
+ },
3106
+ {
3107
+ "kind": "webfonts#webfont",
3108
+ "family": "Iceberg",
3109
+ "variants": [
3110
+ "regular"
3111
+ ],
3112
+ "subsets": [
3113
+ "latin"
3114
+ ]
3115
+ },
3116
+ {
3117
+ "kind": "webfonts#webfont",
3118
+ "family": "Iceland",
3119
+ "variants": [
3120
+ "regular"
3121
+ ],
3122
+ "subsets": [
3123
+ "latin"
3124
+ ]
3125
+ },
3126
+ {
3127
+ "kind": "webfonts#webfont",
3128
+ "family": "Imprima",
3129
+ "variants": [
3130
+ "regular"
3131
+ ],
3132
+ "subsets": [
3133
+ "latin",
3134
+ "latin-ext"
3135
+ ]
3136
+ },
3137
+ {
3138
+ "kind": "webfonts#webfont",
3139
+ "family": "Inconsolata",
3140
+ "variants": [
3141
+ "regular",
3142
+ "700"
3143
+ ],
3144
+ "subsets": [
3145
+ "latin",
3146
+ "latin-ext"
3147
+ ]
3148
+ },
3149
+ {
3150
+ "kind": "webfonts#webfont",
3151
+ "family": "Inder",
3152
+ "variants": [
3153
+ "regular"
3154
+ ],
3155
+ "subsets": [
3156
+ "latin",
3157
+ "latin-ext"
3158
+ ]
3159
+ },
3160
+ {
3161
+ "kind": "webfonts#webfont",
3162
+ "family": "Indie Flower",
3163
+ "variants": [
3164
+ "regular"
3165
+ ],
3166
+ "subsets": [
3167
+ "latin"
3168
+ ]
3169
+ },
3170
+ {
3171
+ "kind": "webfonts#webfont",
3172
+ "family": "Inika",
3173
+ "variants": [
3174
+ "regular",
3175
+ "700"
3176
+ ],
3177
+ "subsets": [
3178
+ "latin",
3179
+ "latin-ext"
3180
+ ]
3181
+ },
3182
+ {
3183
+ "kind": "webfonts#webfont",
3184
+ "family": "Irish Grover",
3185
+ "variants": [
3186
+ "regular"
3187
+ ],
3188
+ "subsets": [
3189
+ "latin"
3190
+ ]
3191
+ },
3192
+ {
3193
+ "kind": "webfonts#webfont",
3194
+ "family": "Istok Web",
3195
+ "variants": [
3196
+ "regular",
3197
+ "italic",
3198
+ "700",
3199
+ "700italic"
3200
+ ],
3201
+ "subsets": [
3202
+ "latin",
3203
+ "latin-ext",
3204
+ "cyrillic",
3205
+ "cyrillic-ext"
3206
+ ]
3207
+ },
3208
+ {
3209
+ "kind": "webfonts#webfont",
3210
+ "family": "Italiana",
3211
+ "variants": [
3212
+ "regular"
3213
+ ],
3214
+ "subsets": [
3215
+ "latin"
3216
+ ]
3217
+ },
3218
+ {
3219
+ "kind": "webfonts#webfont",
3220
+ "family": "Italianno",
3221
+ "variants": [
3222
+ "regular"
3223
+ ],
3224
+ "subsets": [
3225
+ "latin",
3226
+ "latin-ext"
3227
+ ]
3228
+ },
3229
+ {
3230
+ "kind": "webfonts#webfont",
3231
+ "family": "Jacques Francois",
3232
+ "variants": [
3233
+ "regular"
3234
+ ],
3235
+ "subsets": [
3236
+ "latin"
3237
+ ]
3238
+ },
3239
+ {
3240
+ "kind": "webfonts#webfont",
3241
+ "family": "Jacques Francois Shadow",
3242
+ "variants": [
3243
+ "regular"
3244
+ ],
3245
+ "subsets": [
3246
+ "latin"
3247
+ ]
3248
+ },
3249
+ {
3250
+ "kind": "webfonts#webfont",
3251
+ "family": "Jim Nightshade",
3252
+ "variants": [
3253
+ "regular"
3254
+ ],
3255
+ "subsets": [
3256
+ "latin",
3257
+ "latin-ext"
3258
+ ]
3259
+ },
3260
+ {
3261
+ "kind": "webfonts#webfont",
3262
+ "family": "Jockey One",
3263
+ "variants": [
3264
+ "regular"
3265
+ ],
3266
+ "subsets": [
3267
+ "latin",
3268
+ "latin-ext"
3269
+ ]
3270
+ },
3271
+ {
3272
+ "kind": "webfonts#webfont",
3273
+ "family": "Jolly Lodger",
3274
+ "variants": [
3275
+ "regular"
3276
+ ],
3277
+ "subsets": [
3278
+ "latin",
3279
+ "latin-ext"
3280
+ ]
3281
+ },
3282
+ {
3283
+ "kind": "webfonts#webfont",
3284
+ "family": "Josefin Sans",
3285
+ "variants": [
3286
+ "100",
3287
+ "100italic",
3288
+ "300",
3289
+ "300italic",
3290
+ "regular",
3291
+ "italic",
3292
+ "600",
3293
+ "600italic",
3294
+ "700",
3295
+ "700italic"
3296
+ ],
3297
+ "subsets": [
3298
+ "latin"
3299
+ ]
3300
+ },
3301
+ {
3302
+ "kind": "webfonts#webfont",
3303
+ "family": "Josefin Slab",
3304
+ "variants": [
3305
+ "100",
3306
+ "100italic",
3307
+ "300",
3308
+ "300italic",
3309
+ "regular",
3310
+ "italic",
3311
+ "600",
3312
+ "600italic",
3313
+ "700",
3314
+ "700italic"
3315
+ ],
3316
+ "subsets": [
3317
+ "latin"
3318
+ ]
3319
+ },
3320
+ {
3321
+ "kind": "webfonts#webfont",
3322
+ "family": "Joti One",
3323
+ "variants": [
3324
+ "regular"
3325
+ ],
3326
+ "subsets": [
3327
+ "latin",
3328
+ "latin-ext"
3329
+ ]
3330
+ },
3331
+ {
3332
+ "kind": "webfonts#webfont",
3333
+ "family": "Judson",
3334
+ "variants": [
3335
+ "regular",
3336
+ "italic",
3337
+ "700"
3338
+ ],
3339
+ "subsets": [
3340
+ "latin"
3341
+ ]
3342
+ },
3343
+ {
3344
+ "kind": "webfonts#webfont",
3345
+ "family": "Julee",
3346
+ "variants": [
3347
+ "regular"
3348
+ ],
3349
+ "subsets": [
3350
+ "latin"
3351
+ ]
3352
+ },
3353
+ {
3354
+ "kind": "webfonts#webfont",
3355
+ "family": "Julius Sans One",
3356
+ "variants": [
3357
+ "regular"
3358
+ ],
3359
+ "subsets": [
3360
+ "latin",
3361
+ "latin-ext"
3362
+ ]
3363
+ },
3364
+ {
3365
+ "kind": "webfonts#webfont",
3366
+ "family": "Junge",
3367
+ "variants": [
3368
+ "regular"
3369
+ ],
3370
+ "subsets": [
3371
+ "latin"
3372
+ ]
3373
+ },
3374
+ {
3375
+ "kind": "webfonts#webfont",
3376
+ "family": "Jura",
3377
+ "variants": [
3378
+ "300",
3379
+ "regular",
3380
+ "500",
3381
+ "600"
3382
+ ],
3383
+ "subsets": [
3384
+ "latin",
3385
+ "latin-ext",
3386
+ "greek-ext",
3387
+ "greek",
3388
+ "cyrillic",
3389
+ "cyrillic-ext"
3390
+ ]
3391
+ },
3392
+ {
3393
+ "kind": "webfonts#webfont",
3394
+ "family": "Just Another Hand",
3395
+ "variants": [
3396
+ "regular"
3397
+ ],
3398
+ "subsets": [
3399
+ "latin"
3400
+ ]
3401
+ },
3402
+ {
3403
+ "kind": "webfonts#webfont",
3404
+ "family": "Just Me Again Down Here",
3405
+ "variants": [
3406
+ "regular"
3407
+ ],
3408
+ "subsets": [
3409
+ "latin"
3410
+ ]
3411
+ },
3412
+ {
3413
+ "kind": "webfonts#webfont",
3414
+ "family": "Kameron",
3415
+ "variants": [
3416
+ "regular",
3417
+ "700"
3418
+ ],
3419
+ "subsets": [
3420
+ "latin"
3421
+ ]
3422
+ },
3423
+ {
3424
+ "kind": "webfonts#webfont",
3425
+ "family": "Karla",
3426
+ "variants": [
3427
+ "regular",
3428
+ "italic",
3429
+ "700",
3430
+ "700italic"
3431
+ ],
3432
+ "subsets": [
3433
+ "latin",
3434
+ "latin-ext"
3435
+ ]
3436
+ },
3437
+ {
3438
+ "kind": "webfonts#webfont",
3439
+ "family": "Kaushan Script",
3440
+ "variants": [
3441
+ "regular"
3442
+ ],
3443
+ "subsets": [
3444
+ "latin",
3445
+ "latin-ext"
3446
+ ]
3447
+ },
3448
+ {
3449
+ "kind": "webfonts#webfont",
3450
+ "family": "Kavoon",
3451
+ "variants": [
3452
+ "regular"
3453
+ ],
3454
+ "subsets": [
3455
+ "latin",
3456
+ "latin-ext"
3457
+ ]
3458
+ },
3459
+ {
3460
+ "kind": "webfonts#webfont",
3461
+ "family": "Keania One",
3462
+ "variants": [
3463
+ "regular"
3464
+ ],
3465
+ "subsets": [
3466
+ "latin",
3467
+ "latin-ext"
3468
+ ]
3469
+ },
3470
+ {
3471
+ "kind": "webfonts#webfont",
3472
+ "family": "Kelly Slab",
3473
+ "variants": [
3474
+ "regular"
3475
+ ],
3476
+ "subsets": [
3477
+ "latin",
3478
+ "latin-ext",
3479
+ "cyrillic"
3480
+ ]
3481
+ },
3482
+ {
3483
+ "kind": "webfonts#webfont",
3484
+ "family": "Kenia",
3485
+ "variants": [
3486
+ "regular"
3487
+ ],
3488
+ "subsets": [
3489
+ "latin"
3490
+ ]
3491
+ },
3492
+ {
3493
+ "kind": "webfonts#webfont",
3494
+ "family": "Khmer",
3495
+ "variants": [
3496
+ "regular"
3497
+ ],
3498
+ "subsets": [
3499
+ "khmer"
3500
+ ]
3501
+ },
3502
+ {
3503
+ "kind": "webfonts#webfont",
3504
+ "family": "Kite One",
3505
+ "variants": [
3506
+ "regular"
3507
+ ],
3508
+ "subsets": [
3509
+ "latin"
3510
+ ]
3511
+ },
3512
+ {
3513
+ "kind": "webfonts#webfont",
3514
+ "family": "Knewave",
3515
+ "variants": [
3516
+ "regular"
3517
+ ],
3518
+ "subsets": [
3519
+ "latin",
3520
+ "latin-ext"
3521
+ ]
3522
+ },
3523
+ {
3524
+ "kind": "webfonts#webfont",
3525
+ "family": "Kotta One",
3526
+ "variants": [
3527
+ "regular"
3528
+ ],
3529
+ "subsets": [
3530
+ "latin",
3531
+ "latin-ext"
3532
+ ]
3533
+ },
3534
+ {
3535
+ "kind": "webfonts#webfont",
3536
+ "family": "Koulen",
3537
+ "variants": [
3538
+ "regular"
3539
+ ],
3540
+ "subsets": [
3541
+ "khmer"
3542
+ ]
3543
+ },
3544
+ {
3545
+ "kind": "webfonts#webfont",
3546
+ "family": "Kranky",
3547
+ "variants": [
3548
+ "regular"
3549
+ ],
3550
+ "subsets": [
3551
+ "latin"
3552
+ ]
3553
+ },
3554
+ {
3555
+ "kind": "webfonts#webfont",
3556
+ "family": "Kreon",
3557
+ "variants": [
3558
+ "300",
3559
+ "regular",
3560
+ "700"
3561
+ ],
3562
+ "subsets": [
3563
+ "latin"
3564
+ ]
3565
+ },
3566
+ {
3567
+ "kind": "webfonts#webfont",
3568
+ "family": "Kristi",
3569
+ "variants": [
3570
+ "regular"
3571
+ ],
3572
+ "subsets": [
3573
+ "latin"
3574
+ ]
3575
+ },
3576
+ {
3577
+ "kind": "webfonts#webfont",
3578
+ "family": "Krona One",
3579
+ "variants": [
3580
+ "regular"
3581
+ ],
3582
+ "subsets": [
3583
+ "latin",
3584
+ "latin-ext"
3585
+ ]
3586
+ },
3587
+ {
3588
+ "kind": "webfonts#webfont",
3589
+ "family": "La Belle Aurore",
3590
+ "variants": [
3591
+ "regular"
3592
+ ],
3593
+ "subsets": [
3594
+ "latin"
3595
+ ]
3596
+ },
3597
+ {
3598
+ "kind": "webfonts#webfont",
3599
+ "family": "Lancelot",
3600
+ "variants": [
3601
+ "regular"
3602
+ ],
3603
+ "subsets": [
3604
+ "latin"
3605
+ ]
3606
+ },
3607
+ {
3608
+ "kind": "webfonts#webfont",
3609
+ "family": "Lato",
3610
+ "variants": [
3611
+ "100",
3612
+ "100italic",
3613
+ "300",
3614
+ "300italic",
3615
+ "regular",
3616
+ "italic",
3617
+ "700",
3618
+ "700italic",
3619
+ "900",
3620
+ "900italic"
3621
+ ],
3622
+ "subsets": [
3623
+ "latin"
3624
+ ]
3625
+ },
3626
+ {
3627
+ "kind": "webfonts#webfont",
3628
+ "family": "League Script",
3629
+ "variants": [
3630
+ "regular"
3631
+ ],
3632
+ "subsets": [
3633
+ "latin"
3634
+ ]
3635
+ },
3636
+ {
3637
+ "kind": "webfonts#webfont",
3638
+ "family": "Leckerli One",
3639
+ "variants": [
3640
+ "regular"
3641
+ ],
3642
+ "subsets": [
3643
+ "latin"
3644
+ ]
3645
+ },
3646
+ {
3647
+ "kind": "webfonts#webfont",
3648
+ "family": "Ledger",
3649
+ "variants": [
3650
+ "regular"
3651
+ ],
3652
+ "subsets": [
3653
+ "latin",
3654
+ "latin-ext",
3655
+ "cyrillic"
3656
+ ]
3657
+ },
3658
+ {
3659
+ "kind": "webfonts#webfont",
3660
+ "family": "Lekton",
3661
+ "variants": [
3662
+ "regular",
3663
+ "italic",
3664
+ "700"
3665
+ ],
3666
+ "subsets": [
3667
+ "latin",
3668
+ "latin-ext"
3669
+ ]
3670
+ },
3671
+ {
3672
+ "kind": "webfonts#webfont",
3673
+ "family": "Lemon",
3674
+ "variants": [
3675
+ "regular"
3676
+ ],
3677
+ "subsets": [
3678
+ "latin"
3679
+ ]
3680
+ },
3681
+ {
3682
+ "kind": "webfonts#webfont",
3683
+ "family": "Libre Baskerville",
3684
+ "variants": [
3685
+ "regular",
3686
+ "italic",
3687
+ "700"
3688
+ ],
3689
+ "subsets": [
3690
+ "latin",
3691
+ "latin-ext"
3692
+ ]
3693
+ },
3694
+ {
3695
+ "kind": "webfonts#webfont",
3696
+ "family": "Life Savers",
3697
+ "variants": [
3698
+ "regular",
3699
+ "700"
3700
+ ],
3701
+ "subsets": [
3702
+ "latin",
3703
+ "latin-ext"
3704
+ ]
3705
+ },
3706
+ {
3707
+ "kind": "webfonts#webfont",
3708
+ "family": "Lilita One",
3709
+ "variants": [
3710
+ "regular"
3711
+ ],
3712
+ "subsets": [
3713
+ "latin",
3714
+ "latin-ext"
3715
+ ]
3716
+ },
3717
+ {
3718
+ "kind": "webfonts#webfont",
3719
+ "family": "Limelight",
3720
+ "variants": [
3721
+ "regular"
3722
+ ],
3723
+ "subsets": [
3724
+ "latin",
3725
+ "latin-ext"
3726
+ ]
3727
+ },
3728
+ {
3729
+ "kind": "webfonts#webfont",
3730
+ "family": "Linden Hill",
3731
+ "variants": [
3732
+ "regular",
3733
+ "italic"
3734
+ ],
3735
+ "subsets": [
3736
+ "latin"
3737
+ ]
3738
+ },
3739
+ {
3740
+ "kind": "webfonts#webfont",
3741
+ "family": "Lobster",
3742
+ "variants": [
3743
+ "regular"
3744
+ ],
3745
+ "subsets": [
3746
+ "latin",
3747
+ "latin-ext",
3748
+ "cyrillic",
3749
+ "cyrillic-ext"
3750
+ ]
3751
+ },
3752
+ {
3753
+ "kind": "webfonts#webfont",
3754
+ "family": "Lobster Two",
3755
+ "variants": [
3756
+ "regular",
3757
+ "italic",
3758
+ "700",
3759
+ "700italic"
3760
+ ],
3761
+ "subsets": [
3762
+ "latin"
3763
+ ]
3764
+ },
3765
+ {
3766
+ "kind": "webfonts#webfont",
3767
+ "family": "Londrina Outline",
3768
+ "variants": [
3769
+ "regular"
3770
+ ],
3771
+ "subsets": [
3772
+ "latin"
3773
+ ]
3774
+ },
3775
+ {
3776
+ "kind": "webfonts#webfont",
3777
+ "family": "Londrina Shadow",
3778
+ "variants": [
3779
+ "regular"
3780
+ ],
3781
+ "subsets": [
3782
+ "latin"
3783
+ ]
3784
+ },
3785
+ {
3786
+ "kind": "webfonts#webfont",
3787
+ "family": "Londrina Sketch",
3788
+ "variants": [
3789
+ "regular"
3790
+ ],
3791
+ "subsets": [
3792
+ "latin"
3793
+ ]
3794
+ },
3795
+ {
3796
+ "kind": "webfonts#webfont",
3797
+ "family": "Londrina Solid",
3798
+ "variants": [
3799
+ "regular"
3800
+ ],
3801
+ "subsets": [
3802
+ "latin"
3803
+ ]
3804
+ },
3805
+ {
3806
+ "kind": "webfonts#webfont",
3807
+ "family": "Lora",
3808
+ "variants": [
3809
+ "regular",
3810
+ "italic",
3811
+ "700",
3812
+ "700italic"
3813
+ ],
3814
+ "subsets": [
3815
+ "latin"
3816
+ ]
3817
+ },
3818
+ {
3819
+ "kind": "webfonts#webfont",
3820
+ "family": "Love Ya Like A Sister",
3821
+ "variants": [
3822
+ "regular"
3823
+ ],
3824
+ "subsets": [
3825
+ "latin"
3826
+ ]
3827
+ },
3828
+ {
3829
+ "kind": "webfonts#webfont",
3830
+ "family": "Loved by the King",
3831
+ "variants": [
3832
+ "regular"
3833
+ ],
3834
+ "subsets": [
3835
+ "latin"
3836
+ ]
3837
+ },
3838
+ {
3839
+ "kind": "webfonts#webfont",
3840
+ "family": "Lovers Quarrel",
3841
+ "variants": [
3842
+ "regular"
3843
+ ],
3844
+ "subsets": [
3845
+ "latin",
3846
+ "latin-ext"
3847
+ ]
3848
+ },
3849
+ {
3850
+ "kind": "webfonts#webfont",
3851
+ "family": "Luckiest Guy",
3852
+ "variants": [
3853
+ "regular"
3854
+ ],
3855
+ "subsets": [
3856
+ "latin"
3857
+ ]
3858
+ },
3859
+ {
3860
+ "kind": "webfonts#webfont",
3861
+ "family": "Lusitana",
3862
+ "variants": [
3863
+ "regular",
3864
+ "700"
3865
+ ],
3866
+ "subsets": [
3867
+ "latin"
3868
+ ]
3869
+ },
3870
+ {
3871
+ "kind": "webfonts#webfont",
3872
+ "family": "Lustria",
3873
+ "variants": [
3874
+ "regular"
3875
+ ],
3876
+ "subsets": [
3877
+ "latin"
3878
+ ]
3879
+ },
3880
+ {
3881
+ "kind": "webfonts#webfont",
3882
+ "family": "Macondo",
3883
+ "variants": [
3884
+ "regular"
3885
+ ],
3886
+ "subsets": [
3887
+ "latin"
3888
+ ]
3889
+ },
3890
+ {
3891
+ "kind": "webfonts#webfont",
3892
+ "family": "Macondo Swash Caps",
3893
+ "variants": [
3894
+ "regular"
3895
+ ],
3896
+ "subsets": [
3897
+ "latin"
3898
+ ]
3899
+ },
3900
+ {
3901
+ "kind": "webfonts#webfont",
3902
+ "family": "Magra",
3903
+ "variants": [
3904
+ "regular",
3905
+ "700"
3906
+ ],
3907
+ "subsets": [
3908
+ "latin",
3909
+ "latin-ext"
3910
+ ]
3911
+ },
3912
+ {
3913
+ "kind": "webfonts#webfont",
3914
+ "family": "Maiden Orange",
3915
+ "variants": [
3916
+ "regular"
3917
+ ],
3918
+ "subsets": [
3919
+ "latin"
3920
+ ]
3921
+ },
3922
+ {
3923
+ "kind": "webfonts#webfont",
3924
+ "family": "Mako",
3925
+ "variants": [
3926
+ "regular"
3927
+ ],
3928
+ "subsets": [
3929
+ "latin"
3930
+ ]
3931
+ },
3932
+ {
3933
+ "kind": "webfonts#webfont",
3934
+ "family": "Marcellus",
3935
+ "variants": [
3936
+ "regular"
3937
+ ],
3938
+ "subsets": [
3939
+ "latin",
3940
+ "latin-ext"
3941
+ ]
3942
+ },
3943
+ {
3944
+ "kind": "webfonts#webfont",
3945
+ "family": "Marcellus SC",
3946
+ "variants": [
3947
+ "regular"
3948
+ ],
3949
+ "subsets": [
3950
+ "latin",
3951
+ "latin-ext"
3952
+ ]
3953
+ },
3954
+ {
3955
+ "kind": "webfonts#webfont",
3956
+ "family": "Marck Script",
3957
+ "variants": [
3958
+ "regular"
3959
+ ],
3960
+ "subsets": [
3961
+ "latin",
3962
+ "latin-ext",
3963
+ "cyrillic"
3964
+ ]
3965
+ },
3966
+ {
3967
+ "kind": "webfonts#webfont",
3968
+ "family": "Margarine",
3969
+ "variants": [
3970
+ "regular"
3971
+ ],
3972
+ "subsets": [
3973
+ "latin",
3974
+ "latin-ext"
3975
+ ]
3976
+ },
3977
+ {
3978
+ "kind": "webfonts#webfont",
3979
+ "family": "Marko One",
3980
+ "variants": [
3981
+ "regular"
3982
+ ],
3983
+ "subsets": [
3984
+ "latin"
3985
+ ]
3986
+ },
3987
+ {
3988
+ "kind": "webfonts#webfont",
3989
+ "family": "Marmelad",
3990
+ "variants": [
3991
+ "regular"
3992
+ ],
3993
+ "subsets": [
3994
+ "latin",
3995
+ "latin-ext",
3996
+ "cyrillic"
3997
+ ]
3998
+ },
3999
+ {
4000
+ "kind": "webfonts#webfont",
4001
+ "family": "Marvel",
4002
+ "variants": [
4003
+ "regular",
4004
+ "italic",
4005
+ "700",
4006
+ "700italic"
4007
+ ],
4008
+ "subsets": [
4009
+ "latin"
4010
+ ]
4011
+ },
4012
+ {
4013
+ "kind": "webfonts#webfont",
4014
+ "family": "Mate",
4015
+ "variants": [
4016
+ "regular",
4017
+ "italic"
4018
+ ],
4019
+ "subsets": [
4020
+ "latin"
4021
+ ]
4022
+ },
4023
+ {
4024
+ "kind": "webfonts#webfont",
4025
+ "family": "Mate SC",
4026
+ "variants": [
4027
+ "regular"
4028
+ ],
4029
+ "subsets": [
4030
+ "latin"
4031
+ ]
4032
+ },
4033
+ {
4034
+ "kind": "webfonts#webfont",
4035
+ "family": "Maven Pro",
4036
+ "variants": [
4037
+ "regular",
4038
+ "500",
4039
+ "700",
4040
+ "900"
4041
+ ],
4042
+ "subsets": [
4043
+ "latin"
4044
+ ]
4045
+ },
4046
+ {
4047
+ "kind": "webfonts#webfont",
4048
+ "family": "McLaren",
4049
+ "variants": [
4050
+ "regular"
4051
+ ],
4052
+ "subsets": [
4053
+ "latin",
4054
+ "latin-ext"
4055
+ ]
4056
+ },
4057
+ {
4058
+ "kind": "webfonts#webfont",
4059
+ "family": "Meddon",
4060
+ "variants": [
4061
+ "regular"
4062
+ ],
4063
+ "subsets": [
4064
+ "latin"
4065
+ ]
4066
+ },
4067
+ {
4068
+ "kind": "webfonts#webfont",
4069
+ "family": "MedievalSharp",
4070
+ "variants": [
4071
+ "regular"
4072
+ ],
4073
+ "subsets": [
4074
+ "latin",
4075
+ "latin-ext"
4076
+ ]
4077
+ },
4078
+ {
4079
+ "kind": "webfonts#webfont",
4080
+ "family": "Medula One",
4081
+ "variants": [
4082
+ "regular"
4083
+ ],
4084
+ "subsets": [
4085
+ "latin"
4086
+ ]
4087
+ },
4088
+ {
4089
+ "kind": "webfonts#webfont",
4090
+ "family": "Megrim",
4091
+ "variants": [
4092
+ "regular"
4093
+ ],
4094
+ "subsets": [
4095
+ "latin"
4096
+ ]
4097
+ },
4098
+ {
4099
+ "kind": "webfonts#webfont",
4100
+ "family": "Meie Script",
4101
+ "variants": [
4102
+ "regular"
4103
+ ],
4104
+ "subsets": [
4105
+ "latin",
4106
+ "latin-ext"
4107
+ ]
4108
+ },
4109
+ {
4110
+ "kind": "webfonts#webfont",
4111
+ "family": "Merienda",
4112
+ "variants": [
4113
+ "regular",
4114
+ "700"
4115
+ ],
4116
+ "subsets": [
4117
+ "latin",
4118
+ "latin-ext"
4119
+ ]
4120
+ },
4121
+ {
4122
+ "kind": "webfonts#webfont",
4123
+ "family": "Merienda One",
4124
+ "variants": [
4125
+ "regular"
4126
+ ],
4127
+ "subsets": [
4128
+ "latin"
4129
+ ]
4130
+ },
4131
+ {
4132
+ "kind": "webfonts#webfont",
4133
+ "family": "Merriweather",
4134
+ "variants": [
4135
+ "300",
4136
+ "regular",
4137
+ "700",
4138
+ "900"
4139
+ ],
4140
+ "subsets": [
4141
+ "latin"
4142
+ ]
4143
+ },
4144
+ {
4145
+ "kind": "webfonts#webfont",
4146
+ "family": "Metal",
4147
+ "variants": [
4148
+ "regular"
4149
+ ],
4150
+ "subsets": [
4151
+ "khmer"
4152
+ ]
4153
+ },
4154
+ {
4155
+ "kind": "webfonts#webfont",
4156
+ "family": "Metal Mania",
4157
+ "variants": [
4158
+ "regular"
4159
+ ],
4160
+ "subsets": [
4161
+ "latin",
4162
+ "latin-ext"
4163
+ ]
4164
+ },
4165
+ {
4166
+ "kind": "webfonts#webfont",
4167
+ "family": "Metamorphous",
4168
+ "variants": [
4169
+ "regular"
4170
+ ],
4171
+ "subsets": [
4172
+ "latin",
4173
+ "latin-ext"
4174
+ ]
4175
+ },
4176
+ {
4177
+ "kind": "webfonts#webfont",
4178
+ "family": "Metrophobic",
4179
+ "variants": [
4180
+ "regular"
4181
+ ],
4182
+ "subsets": [
4183
+ "latin"
4184
+ ]
4185
+ },
4186
+ {
4187
+ "kind": "webfonts#webfont",
4188
+ "family": "Michroma",
4189
+ "variants": [
4190
+ "regular"
4191
+ ],
4192
+ "subsets": [
4193
+ "latin"
4194
+ ]
4195
+ },
4196
+ {
4197
+ "kind": "webfonts#webfont",
4198
+ "family": "Milonga",
4199
+ "variants": [
4200
+ "regular"
4201
+ ],
4202
+ "subsets": [
4203
+ "latin",
4204
+ "latin-ext"
4205
+ ]
4206
+ },
4207
+ {
4208
+ "kind": "webfonts#webfont",
4209
+ "family": "Miltonian",
4210
+ "variants": [
4211
+ "regular"
4212
+ ],
4213
+ "subsets": [
4214
+ "latin"
4215
+ ]
4216
+ },
4217
+ {
4218
+ "kind": "webfonts#webfont",
4219
+ "family": "Miltonian Tattoo",
4220
+ "variants": [
4221
+ "regular"
4222
+ ],
4223
+ "subsets": [
4224
+ "latin"
4225
+ ]
4226
+ },
4227
+ {
4228
+ "kind": "webfonts#webfont",
4229
+ "family": "Miniver",
4230
+ "variants": [
4231
+ "regular"
4232
+ ],
4233
+ "subsets": [
4234
+ "latin"
4235
+ ]
4236
+ },
4237
+ {
4238
+ "kind": "webfonts#webfont",
4239
+ "family": "Miss Fajardose",
4240
+ "variants": [
4241
+ "regular"
4242
+ ],
4243
+ "subsets": [
4244
+ "latin",
4245
+ "latin-ext"
4246
+ ]
4247
+ },
4248
+ {
4249
+ "kind": "webfonts#webfont",
4250
+ "family": "Modern Antiqua",
4251
+ "variants": [
4252
+ "regular"
4253
+ ],
4254
+ "subsets": [
4255
+ "latin",
4256
+ "latin-ext"
4257
+ ]
4258
+ },
4259
+ {
4260
+ "kind": "webfonts#webfont",
4261
+ "family": "Molengo",
4262
+ "variants": [
4263
+ "regular"
4264
+ ],
4265
+ "subsets": [
4266
+ "latin",
4267
+ "latin-ext"
4268
+ ]
4269
+ },
4270
+ {
4271
+ "kind": "webfonts#webfont",
4272
+ "family": "Molle",
4273
+ "variants": [
4274
+ "italic"
4275
+ ],
4276
+ "subsets": [
4277
+ "latin",
4278
+ "latin-ext"
4279
+ ]
4280
+ },
4281
+ {
4282
+ "kind": "webfonts#webfont",
4283
+ "family": "Monda",
4284
+ "variants": [
4285
+ "regular",
4286
+ "700"
4287
+ ],
4288
+ "subsets": [
4289
+ "latin",
4290
+ "latin-ext"
4291
+ ]
4292
+ },
4293
+ {
4294
+ "kind": "webfonts#webfont",
4295
+ "family": "Monofett",
4296
+ "variants": [
4297
+ "regular"
4298
+ ],
4299
+ "subsets": [
4300
+ "latin"
4301
+ ]
4302
+ },
4303
+ {
4304
+ "kind": "webfonts#webfont",
4305
+ "family": "Monoton",
4306
+ "variants": [
4307
+ "regular"
4308
+ ],
4309
+ "subsets": [
4310
+ "latin"
4311
+ ]
4312
+ },
4313
+ {
4314
+ "kind": "webfonts#webfont",
4315
+ "family": "Monsieur La Doulaise",
4316
+ "variants": [
4317
+ "regular"
4318
+ ],
4319
+ "subsets": [
4320
+ "latin",
4321
+ "latin-ext"
4322
+ ]
4323
+ },
4324
+ {
4325
+ "kind": "webfonts#webfont",
4326
+ "family": "Montaga",
4327
+ "variants": [
4328
+ "regular"
4329
+ ],
4330
+ "subsets": [
4331
+ "latin"
4332
+ ]
4333
+ },
4334
+ {
4335
+ "kind": "webfonts#webfont",
4336
+ "family": "Montez",
4337
+ "variants": [
4338
+ "regular"
4339
+ ],
4340
+ "subsets": [
4341
+ "latin"
4342
+ ]
4343
+ },
4344
+ {
4345
+ "kind": "webfonts#webfont",
4346
+ "family": "Montserrat",
4347
+ "variants": [
4348
+ "regular",
4349
+ "700"
4350
+ ],
4351
+ "subsets": [
4352
+ "latin"
4353
+ ]
4354
+ },
4355
+ {
4356
+ "kind": "webfonts#webfont",
4357
+ "family": "Montserrat Alternates",
4358
+ "variants": [
4359
+ "regular",
4360
+ "700"
4361
+ ],
4362
+ "subsets": [
4363
+ "latin"
4364
+ ]
4365
+ },
4366
+ {
4367
+ "kind": "webfonts#webfont",
4368
+ "family": "Montserrat Subrayada",
4369
+ "variants": [
4370
+ "regular",
4371
+ "700"
4372
+ ],
4373
+ "subsets": [
4374
+ "latin"
4375
+ ]
4376
+ },
4377
+ {
4378
+ "kind": "webfonts#webfont",
4379
+ "family": "Moul",
4380
+ "variants": [
4381
+ "regular"
4382
+ ],
4383
+ "subsets": [
4384
+ "khmer"
4385
+ ]
4386
+ },
4387
+ {
4388
+ "kind": "webfonts#webfont",
4389
+ "family": "Moulpali",
4390
+ "variants": [
4391
+ "regular"
4392
+ ],
4393
+ "subsets": [
4394
+ "khmer"
4395
+ ]
4396
+ },
4397
+ {
4398
+ "kind": "webfonts#webfont",
4399
+ "family": "Mountains of Christmas",
4400
+ "variants": [
4401
+ "regular",
4402
+ "700"
4403
+ ],
4404
+ "subsets": [
4405
+ "latin"
4406
+ ]
4407
+ },
4408
+ {
4409
+ "kind": "webfonts#webfont",
4410
+ "family": "Mouse Memoirs",
4411
+ "variants": [
4412
+ "regular"
4413
+ ],
4414
+ "subsets": [
4415
+ "latin",
4416
+ "latin-ext"
4417
+ ]
4418
+ },
4419
+ {
4420
+ "kind": "webfonts#webfont",
4421
+ "family": "Mr Bedfort",
4422
+ "variants": [
4423
+ "regular"
4424
+ ],
4425
+ "subsets": [
4426
+ "latin",
4427
+ "latin-ext"
4428
+ ]
4429
+ },
4430
+ {
4431
+ "kind": "webfonts#webfont",
4432
+ "family": "Mr Dafoe",
4433
+ "variants": [
4434
+ "regular"
4435
+ ],
4436
+ "subsets": [
4437
+ "latin",
4438
+ "latin-ext"
4439
+ ]
4440
+ },
4441
+ {
4442
+ "kind": "webfonts#webfont",
4443
+ "family": "Mr De Haviland",
4444
+ "variants": [
4445
+ "regular"
4446
+ ],
4447
+ "subsets": [
4448
+ "latin",
4449
+ "latin-ext"
4450
+ ]
4451
+ },
4452
+ {
4453
+ "kind": "webfonts#webfont",
4454
+ "family": "Mrs Saint Delafield",
4455
+ "variants": [
4456
+ "regular"
4457
+ ],
4458
+ "subsets": [
4459
+ "latin",
4460
+ "latin-ext"
4461
+ ]
4462
+ },
4463
+ {
4464
+ "kind": "webfonts#webfont",
4465
+ "family": "Mrs Sheppards",
4466
+ "variants": [
4467
+ "regular"
4468
+ ],
4469
+ "subsets": [
4470
+ "latin",
4471
+ "latin-ext"
4472
+ ]
4473
+ },
4474
+ {
4475
+ "kind": "webfonts#webfont",
4476
+ "family": "Muli",
4477
+ "variants": [
4478
+ "300",
4479
+ "300italic",
4480
+ "regular",
4481
+ "italic"
4482
+ ],
4483
+ "subsets": [
4484
+ "latin"
4485
+ ]
4486
+ },
4487
+ {
4488
+ "kind": "webfonts#webfont",
4489
+ "family": "Mystery Quest",
4490
+ "variants": [
4491
+ "regular"
4492
+ ],
4493
+ "subsets": [
4494
+ "latin",
4495
+ "latin-ext"
4496
+ ]
4497
+ },
4498
+ {
4499
+ "kind": "webfonts#webfont",
4500
+ "family": "Neucha",
4501
+ "variants": [
4502
+ "regular"
4503
+ ],
4504
+ "subsets": [
4505
+ "latin",
4506
+ "cyrillic"
4507
+ ]
4508
+ },
4509
+ {
4510
+ "kind": "webfonts#webfont",
4511
+ "family": "Neuton",
4512
+ "variants": [
4513
+ "200",
4514
+ "300",
4515
+ "regular",
4516
+ "italic",
4517
+ "700",
4518
+ "800"
4519
+ ],
4520
+ "subsets": [
4521
+ "latin",
4522
+ "latin-ext"
4523
+ ]
4524
+ },
4525
+ {
4526
+ "kind": "webfonts#webfont",
4527
+ "family": "New Rocker",
4528
+ "variants": [
4529
+ "regular"
4530
+ ],
4531
+ "subsets": [
4532
+ "latin",
4533
+ "latin-ext"
4534
+ ]
4535
+ },
4536
+ {
4537
+ "kind": "webfonts#webfont",
4538
+ "family": "News Cycle",
4539
+ "variants": [
4540
+ "regular",
4541
+ "700"
4542
+ ],
4543
+ "subsets": [
4544
+ "latin",
4545
+ "latin-ext"
4546
+ ]
4547
+ },
4548
+ {
4549
+ "kind": "webfonts#webfont",
4550
+ "family": "Niconne",
4551
+ "variants": [
4552
+ "regular"
4553
+ ],
4554
+ "subsets": [
4555
+ "latin",
4556
+ "latin-ext"
4557
+ ]
4558
+ },
4559
+ {
4560
+ "kind": "webfonts#webfont",
4561
+ "family": "Nixie One",
4562
+ "variants": [
4563
+ "regular"
4564
+ ],
4565
+ "subsets": [
4566
+ "latin"
4567
+ ]
4568
+ },
4569
+ {
4570
+ "kind": "webfonts#webfont",
4571
+ "family": "Nobile",
4572
+ "variants": [
4573
+ "regular",
4574
+ "italic",
4575
+ "700",
4576
+ "700italic"
4577
+ ],
4578
+ "subsets": [
4579
+ "latin"
4580
+ ]
4581
+ },
4582
+ {
4583
+ "kind": "webfonts#webfont",
4584
+ "family": "Nokora",
4585
+ "variants": [
4586
+ "regular",
4587
+ "700"
4588
+ ],
4589
+ "subsets": [
4590
+ "khmer"
4591
+ ]
4592
+ },
4593
+ {
4594
+ "kind": "webfonts#webfont",
4595
+ "family": "Norican",
4596
+ "variants": [
4597
+ "regular"
4598
+ ],
4599
+ "subsets": [
4600
+ "latin",
4601
+ "latin-ext"
4602
+ ]
4603
+ },
4604
+ {
4605
+ "kind": "webfonts#webfont",
4606
+ "family": "Nosifer",
4607
+ "variants": [
4608
+ "regular"
4609
+ ],
4610
+ "subsets": [
4611
+ "latin",
4612
+ "latin-ext"
4613
+ ]
4614
+ },
4615
+ {
4616
+ "kind": "webfonts#webfont",
4617
+ "family": "Nothing You Could Do",
4618
+ "variants": [
4619
+ "regular"
4620
+ ],
4621
+ "subsets": [
4622
+ "latin"
4623
+ ]
4624
+ },
4625
+ {
4626
+ "kind": "webfonts#webfont",
4627
+ "family": "Noticia Text",
4628
+ "variants": [
4629
+ "regular",
4630
+ "italic",
4631
+ "700",
4632
+ "700italic"
4633
+ ],
4634
+ "subsets": [
4635
+ "latin",
4636
+ "latin-ext",
4637
+ "vietnamese"
4638
+ ]
4639
+ },
4640
+ {
4641
+ "kind": "webfonts#webfont",
4642
+ "family": "Nova Cut",
4643
+ "variants": [
4644
+ "regular"
4645
+ ],
4646
+ "subsets": [
4647
+ "latin"
4648
+ ]
4649
+ },
4650
+ {
4651
+ "kind": "webfonts#webfont",
4652
+ "family": "Nova Flat",
4653
+ "variants": [
4654
+ "regular"
4655
+ ],
4656
+ "subsets": [
4657
+ "latin"
4658
+ ]
4659
+ },
4660
+ {
4661
+ "kind": "webfonts#webfont",
4662
+ "family": "Nova Mono",
4663
+ "variants": [
4664
+ "regular"
4665
+ ],
4666
+ "subsets": [
4667
+ "latin",
4668
+ "greek"
4669
+ ]
4670
+ },
4671
+ {
4672
+ "kind": "webfonts#webfont",
4673
+ "family": "Nova Oval",
4674
+ "variants": [
4675
+ "regular"
4676
+ ],
4677
+ "subsets": [
4678
+ "latin"
4679
+ ]
4680
+ },
4681
+ {
4682
+ "kind": "webfonts#webfont",
4683
+ "family": "Nova Round",
4684
+ "variants": [
4685
+ "regular"
4686
+ ],
4687
+ "subsets": [
4688
+ "latin"
4689
+ ]
4690
+ },
4691
+ {
4692
+ "kind": "webfonts#webfont",
4693
+ "family": "Nova Script",
4694
+ "variants": [
4695
+ "regular"
4696
+ ],
4697
+ "subsets": [
4698
+ "latin"
4699
+ ]
4700
+ },
4701
+ {
4702
+ "kind": "webfonts#webfont",
4703
+ "family": "Nova Slim",
4704
+ "variants": [
4705
+ "regular"
4706
+ ],
4707
+ "subsets": [
4708
+ "latin"
4709
+ ]
4710
+ },
4711
+ {
4712
+ "kind": "webfonts#webfont",
4713
+ "family": "Nova Square",
4714
+ "variants": [
4715
+ "regular"
4716
+ ],
4717
+ "subsets": [
4718
+ "latin"
4719
+ ]
4720
+ },
4721
+ {
4722
+ "kind": "webfonts#webfont",
4723
+ "family": "Numans",
4724
+ "variants": [
4725
+ "regular"
4726
+ ],
4727
+ "subsets": [
4728
+ "latin"
4729
+ ]
4730
+ },
4731
+ {
4732
+ "kind": "webfonts#webfont",
4733
+ "family": "Nunito",
4734
+ "variants": [
4735
+ "300",
4736
+ "regular",
4737
+ "700"
4738
+ ],
4739
+ "subsets": [
4740
+ "latin"
4741
+ ]
4742
+ },
4743
+ {
4744
+ "kind": "webfonts#webfont",
4745
+ "family": "Odor Mean Chey",
4746
+ "variants": [
4747
+ "regular"
4748
+ ],
4749
+ "subsets": [
4750
+ "khmer"
4751
+ ]
4752
+ },
4753
+ {
4754
+ "kind": "webfonts#webfont",
4755
+ "family": "Offside",
4756
+ "variants": [
4757
+ "regular"
4758
+ ],
4759
+ "subsets": [
4760
+ "latin"
4761
+ ]
4762
+ },
4763
+ {
4764
+ "kind": "webfonts#webfont",
4765
+ "family": "Old Standard TT",
4766
+ "variants": [
4767
+ "regular",
4768
+ "italic",
4769
+ "700"
4770
+ ],
4771
+ "subsets": [
4772
+ "latin"
4773
+ ]
4774
+ },
4775
+ {
4776
+ "kind": "webfonts#webfont",
4777
+ "family": "Oldenburg",
4778
+ "variants": [
4779
+ "regular"
4780
+ ],
4781
+ "subsets": [
4782
+ "latin",
4783
+ "latin-ext"
4784
+ ]
4785
+ },
4786
+ {
4787
+ "kind": "webfonts#webfont",
4788
+ "family": "Oleo Script",
4789
+ "variants": [
4790
+ "regular",
4791
+ "700"
4792
+ ],
4793
+ "subsets": [
4794
+ "latin",
4795
+ "latin-ext"
4796
+ ]
4797
+ },
4798
+ {
4799
+ "kind": "webfonts#webfont",
4800
+ "family": "Oleo Script Swash Caps",
4801
+ "variants": [
4802
+ "regular",
4803
+ "700"
4804
+ ],
4805
+ "subsets": [
4806
+ "latin",
4807
+ "latin-ext"
4808
+ ]
4809
+ },
4810
+ {
4811
+ "kind": "webfonts#webfont",
4812
+ "family": "Open Sans",
4813
+ "variants": [
4814
+ "300",
4815
+ "300italic",
4816
+ "regular",
4817
+ "italic",
4818
+ "600",
4819
+ "600italic",
4820
+ "700",
4821
+ "700italic",
4822
+ "800",
4823
+ "800italic"
4824
+ ],
4825
+ "subsets": [
4826
+ "latin",
4827
+ "latin-ext",
4828
+ "greek-ext",
4829
+ "greek",
4830
+ "vietnamese",
4831
+ "cyrillic",
4832
+ "cyrillic-ext"
4833
+ ]
4834
+ },
4835
+ {
4836
+ "kind": "webfonts#webfont",
4837
+ "family": "Open Sans Condensed",
4838
+ "variants": [
4839
+ "300",
4840
+ "300italic",
4841
+ "700"
4842
+ ],
4843
+ "subsets": [
4844
+ "latin",
4845
+ "latin-ext",
4846
+ "greek-ext",
4847
+ "greek",
4848
+ "vietnamese",
4849
+ "cyrillic",
4850
+ "cyrillic-ext"
4851
+ ]
4852
+ },
4853
+ {
4854
+ "kind": "webfonts#webfont",
4855
+ "family": "Oranienbaum",
4856
+ "variants": [
4857
+ "regular"
4858
+ ],
4859
+ "subsets": [
4860
+ "latin",
4861
+ "latin-ext",
4862
+ "cyrillic",
4863
+ "cyrillic-ext"
4864
+ ]
4865
+ },
4866
+ {
4867
+ "kind": "webfonts#webfont",
4868
+ "family": "Orbitron",
4869
+ "variants": [
4870
+ "regular",
4871
+ "500",
4872
+ "700",
4873
+ "900"
4874
+ ],
4875
+ "subsets": [
4876
+ "latin"
4877
+ ]
4878
+ },
4879
+ {
4880
+ "kind": "webfonts#webfont",
4881
+ "family": "Oregano",
4882
+ "variants": [
4883
+ "regular",
4884
+ "italic"
4885
+ ],
4886
+ "subsets": [
4887
+ "latin",
4888
+ "latin-ext"
4889
+ ]
4890
+ },
4891
+ {
4892
+ "kind": "webfonts#webfont",
4893
+ "family": "Orienta",
4894
+ "variants": [
4895
+ "regular"
4896
+ ],
4897
+ "subsets": [
4898
+ "latin",
4899
+ "latin-ext"
4900
+ ]
4901
+ },
4902
+ {
4903
+ "kind": "webfonts#webfont",
4904
+ "family": "Original Surfer",
4905
+ "variants": [
4906
+ "regular"
4907
+ ],
4908
+ "subsets": [
4909
+ "latin"
4910
+ ]
4911
+ },
4912
+ {
4913
+ "kind": "webfonts#webfont",
4914
+ "family": "Oswald",
4915
+ "variants": [
4916
+ "300",
4917
+ "regular",
4918
+ "700"
4919
+ ],
4920
+ "subsets": [
4921
+ "latin",
4922
+ "latin-ext"
4923
+ ]
4924
+ },
4925
+ {
4926
+ "kind": "webfonts#webfont",
4927
+ "family": "Over the Rainbow",
4928
+ "variants": [
4929
+ "regular"
4930
+ ],
4931
+ "subsets": [
4932
+ "latin"
4933
+ ]
4934
+ },
4935
+ {
4936
+ "kind": "webfonts#webfont",
4937
+ "family": "Overlock",
4938
+ "variants": [
4939
+ "regular",
4940
+ "italic",
4941
+ "700",
4942
+ "700italic",
4943
+ "900",
4944
+ "900italic"
4945
+ ],
4946
+ "subsets": [
4947
+ "latin",
4948
+ "latin-ext"
4949
+ ]
4950
+ },
4951
+ {
4952
+ "kind": "webfonts#webfont",
4953
+ "family": "Overlock SC",
4954
+ "variants": [
4955
+ "regular"
4956
+ ],
4957
+ "subsets": [
4958
+ "latin",
4959
+ "latin-ext"
4960
+ ]
4961
+ },
4962
+ {
4963
+ "kind": "webfonts#webfont",
4964
+ "family": "Ovo",
4965
+ "variants": [
4966
+ "regular"
4967
+ ],
4968
+ "subsets": [
4969
+ "latin"
4970
+ ]
4971
+ },
4972
+ {
4973
+ "kind": "webfonts#webfont",
4974
+ "family": "Oxygen",
4975
+ "variants": [
4976
+ "300",
4977
+ "regular",
4978
+ "700"
4979
+ ],
4980
+ "subsets": [
4981
+ "latin",
4982
+ "latin-ext"
4983
+ ]
4984
+ },
4985
+ {
4986
+ "kind": "webfonts#webfont",
4987
+ "family": "Oxygen Mono",
4988
+ "variants": [
4989
+ "regular"
4990
+ ],
4991
+ "subsets": [
4992
+ "latin",
4993
+ "latin-ext"
4994
+ ]
4995
+ },
4996
+ {
4997
+ "kind": "webfonts#webfont",
4998
+ "family": "PT Mono",
4999
+ "variants": [
5000
+ "regular"
5001
+ ],
5002
+ "subsets": [
5003
+ "latin",
5004
+ "latin-ext",
5005
+ "cyrillic",
5006
+ "cyrillic-ext"
5007
+ ]
5008
+ },
5009
+ {
5010
+ "kind": "webfonts#webfont",
5011
+ "family": "PT Sans",
5012
+ "variants": [
5013
+ "regular",
5014
+ "italic",
5015
+ "700",
5016
+ "700italic"
5017
+ ],
5018
+ "subsets": [
5019
+ "latin",
5020
+ "latin-ext",
5021
+ "cyrillic"
5022
+ ]
5023
+ },
5024
+ {
5025
+ "kind": "webfonts#webfont",
5026
+ "family": "PT Sans Caption",
5027
+ "variants": [
5028
+ "regular",
5029
+ "700"
5030
+ ],
5031
+ "subsets": [
5032
+ "latin",
5033
+ "latin-ext",
5034
+ "cyrillic"
5035
+ ]
5036
+ },
5037
+ {
5038
+ "kind": "webfonts#webfont",
5039
+ "family": "PT Sans Narrow",
5040
+ "variants": [
5041
+ "regular",
5042
+ "700"
5043
+ ],
5044
+ "subsets": [
5045
+ "latin",
5046
+ "latin-ext",
5047
+ "cyrillic"
5048
+ ]
5049
+ },
5050
+ {
5051
+ "kind": "webfonts#webfont",
5052
+ "family": "PT Serif",
5053
+ "variants": [
5054
+ "regular",
5055
+ "italic",
5056
+ "700",
5057
+ "700italic"
5058
+ ],
5059
+ "subsets": [
5060
+ "latin",
5061
+ "cyrillic"
5062
+ ]
5063
+ },
5064
+ {
5065
+ "kind": "webfonts#webfont",
5066
+ "family": "PT Serif Caption",
5067
+ "variants": [
5068
+ "regular",
5069
+ "italic"
5070
+ ],
5071
+ "subsets": [
5072
+ "latin",
5073
+ "cyrillic"
5074
+ ]
5075
+ },
5076
+ {
5077
+ "kind": "webfonts#webfont",
5078
+ "family": "Pacifico",
5079
+ "variants": [
5080
+ "regular"
5081
+ ],
5082
+ "subsets": [
5083
+ "latin"
5084
+ ]
5085
+ },
5086
+ {
5087
+ "kind": "webfonts#webfont",
5088
+ "family": "Paprika",
5089
+ "variants": [
5090
+ "regular"
5091
+ ],
5092
+ "subsets": [
5093
+ "latin"
5094
+ ]
5095
+ },
5096
+ {
5097
+ "kind": "webfonts#webfont",
5098
+ "family": "Parisienne",
5099
+ "variants": [
5100
+ "regular"
5101
+ ],
5102
+ "subsets": [
5103
+ "latin",
5104
+ "latin-ext"
5105
+ ]
5106
+ },
5107
+ {
5108
+ "kind": "webfonts#webfont",
5109
+ "family": "Passero One",
5110
+ "variants": [
5111
+ "regular"
5112
+ ],
5113
+ "subsets": [
5114
+ "latin",
5115
+ "latin-ext"
5116
+ ]
5117
+ },
5118
+ {
5119
+ "kind": "webfonts#webfont",
5120
+ "family": "Passion One",
5121
+ "variants": [
5122
+ "regular",
5123
+ "700",
5124
+ "900"
5125
+ ],
5126
+ "subsets": [
5127
+ "latin",
5128
+ "latin-ext"
5129
+ ]
5130
+ },
5131
+ {
5132
+ "kind": "webfonts#webfont",
5133
+ "family": "Patrick Hand",
5134
+ "variants": [
5135
+ "regular"
5136
+ ],
5137
+ "subsets": [
5138
+ "latin",
5139
+ "latin-ext"
5140
+ ]
5141
+ },
5142
+ {
5143
+ "kind": "webfonts#webfont",
5144
+ "family": "Patua One",
5145
+ "variants": [
5146
+ "regular"
5147
+ ],
5148
+ "subsets": [
5149
+ "latin"
5150
+ ]
5151
+ },
5152
+ {
5153
+ "kind": "webfonts#webfont",
5154
+ "family": "Paytone One",
5155
+ "variants": [
5156
+ "regular"
5157
+ ],
5158
+ "subsets": [
5159
+ "latin"
5160
+ ]
5161
+ },
5162
+ {
5163
+ "kind": "webfonts#webfont",
5164
+ "family": "Peralta",
5165
+ "variants": [
5166
+ "regular"
5167
+ ],
5168
+ "subsets": [
5169
+ "latin",
5170
+ "latin-ext"
5171
+ ]
5172
+ },
5173
+ {
5174
+ "kind": "webfonts#webfont",
5175
+ "family": "Permanent Marker",
5176
+ "variants": [
5177
+ "regular"
5178
+ ],
5179
+ "subsets": [
5180
+ "latin"
5181
+ ]
5182
+ },
5183
+ {
5184
+ "kind": "webfonts#webfont",
5185
+ "family": "Petit Formal Script",
5186
+ "variants": [
5187
+ "regular"
5188
+ ],
5189
+ "subsets": [
5190
+ "latin",
5191
+ "latin-ext"
5192
+ ]
5193
+ },
5194
+ {
5195
+ "kind": "webfonts#webfont",
5196
+ "family": "Petrona",
5197
+ "variants": [
5198
+ "regular"
5199
+ ],
5200
+ "subsets": [
5201
+ "latin"
5202
+ ]
5203
+ },
5204
+ {
5205
+ "kind": "webfonts#webfont",
5206
+ "family": "Philosopher",
5207
+ "variants": [
5208
+ "regular",
5209
+ "italic",
5210
+ "700",
5211
+ "700italic"
5212
+ ],
5213
+ "subsets": [
5214
+ "latin",
5215
+ "cyrillic"
5216
+ ]
5217
+ },
5218
+ {
5219
+ "kind": "webfonts#webfont",
5220
+ "family": "Piedra",
5221
+ "variants": [
5222
+ "regular"
5223
+ ],
5224
+ "subsets": [
5225
+ "latin",
5226
+ "latin-ext"
5227
+ ]
5228
+ },
5229
+ {
5230
+ "kind": "webfonts#webfont",
5231
+ "family": "Pinyon Script",
5232
+ "variants": [
5233
+ "regular"
5234
+ ],
5235
+ "subsets": [
5236
+ "latin"
5237
+ ]
5238
+ },
5239
+ {
5240
+ "kind": "webfonts#webfont",
5241
+ "family": "Pirata One",
5242
+ "variants": [
5243
+ "regular"
5244
+ ],
5245
+ "subsets": [
5246
+ "latin",
5247
+ "latin-ext"
5248
+ ]
5249
+ },
5250
+ {
5251
+ "kind": "webfonts#webfont",
5252
+ "family": "Plaster",
5253
+ "variants": [
5254
+ "regular"
5255
+ ],
5256
+ "subsets": [
5257
+ "latin",
5258
+ "latin-ext"
5259
+ ]
5260
+ },
5261
+ {
5262
+ "kind": "webfonts#webfont",
5263
+ "family": "Play",
5264
+ "variants": [
5265
+ "regular",
5266
+ "700"
5267
+ ],
5268
+ "subsets": [
5269
+ "latin",
5270
+ "latin-ext",
5271
+ "greek-ext",
5272
+ "greek",
5273
+ "cyrillic",
5274
+ "cyrillic-ext"
5275
+ ]
5276
+ },
5277
+ {
5278
+ "kind": "webfonts#webfont",
5279
+ "family": "Playball",
5280
+ "variants": [
5281
+ "regular"
5282
+ ],
5283
+ "subsets": [
5284
+ "latin",
5285
+ "latin-ext"
5286
+ ]
5287
+ },
5288
+ {
5289
+ "kind": "webfonts#webfont",
5290
+ "family": "Playfair Display",
5291
+ "variants": [
5292
+ "regular",
5293
+ "italic",
5294
+ "700",
5295
+ "700italic",
5296
+ "900",
5297
+ "900italic"
5298
+ ],
5299
+ "subsets": [
5300
+ "latin",
5301
+ "latin-ext",
5302
+ "cyrillic"
5303
+ ]
5304
+ },
5305
+ {
5306
+ "kind": "webfonts#webfont",
5307
+ "family": "Playfair Display SC",
5308
+ "variants": [
5309
+ "regular",
5310
+ "italic",
5311
+ "700",
5312
+ "700italic",
5313
+ "900",
5314
+ "900italic"
5315
+ ],
5316
+ "subsets": [
5317
+ "latin",
5318
+ "latin-ext",
5319
+ "cyrillic"
5320
+ ]
5321
+ },
5322
+ {
5323
+ "kind": "webfonts#webfont",
5324
+ "family": "Podkova",
5325
+ "variants": [
5326
+ "regular",
5327
+ "700"
5328
+ ],
5329
+ "subsets": [
5330
+ "latin"
5331
+ ]
5332
+ },
5333
+ {
5334
+ "kind": "webfonts#webfont",
5335
+ "family": "Poiret One",
5336
+ "variants": [
5337
+ "regular"
5338
+ ],
5339
+ "subsets": [
5340
+ "latin",
5341
+ "latin-ext",
5342
+ "cyrillic"
5343
+ ]
5344
+ },
5345
+ {
5346
+ "kind": "webfonts#webfont",
5347
+ "family": "Poller One",
5348
+ "variants": [
5349
+ "regular"
5350
+ ],
5351
+ "subsets": [
5352
+ "latin"
5353
+ ]
5354
+ },
5355
+ {
5356
+ "kind": "webfonts#webfont",
5357
+ "family": "Poly",
5358
+ "variants": [
5359
+ "regular",
5360
+ "italic"
5361
+ ],
5362
+ "subsets": [
5363
+ "latin"
5364
+ ]
5365
+ },
5366
+ {
5367
+ "kind": "webfonts#webfont",
5368
+ "family": "Pompiere",
5369
+ "variants": [
5370
+ "regular"
5371
+ ],
5372
+ "subsets": [
5373
+ "latin"
5374
+ ]
5375
+ },
5376
+ {
5377
+ "kind": "webfonts#webfont",
5378
+ "family": "Pontano Sans",
5379
+ "variants": [
5380
+ "regular"
5381
+ ],
5382
+ "subsets": [
5383
+ "latin",
5384
+ "latin-ext"
5385
+ ]
5386
+ },
5387
+ {
5388
+ "kind": "webfonts#webfont",
5389
+ "family": "Port Lligat Sans",
5390
+ "variants": [
5391
+ "regular"
5392
+ ],
5393
+ "subsets": [
5394
+ "latin"
5395
+ ]
5396
+ },
5397
+ {
5398
+ "kind": "webfonts#webfont",
5399
+ "family": "Port Lligat Slab",
5400
+ "variants": [
5401
+ "regular"
5402
+ ],
5403
+ "subsets": [
5404
+ "latin"
5405
+ ]
5406
+ },
5407
+ {
5408
+ "kind": "webfonts#webfont",
5409
+ "family": "Prata",
5410
+ "variants": [
5411
+ "regular"
5412
+ ],
5413
+ "subsets": [
5414
+ "latin"
5415
+ ]
5416
+ },
5417
+ {
5418
+ "kind": "webfonts#webfont",
5419
+ "family": "Preahvihear",
5420
+ "variants": [
5421
+ "regular"
5422
+ ],
5423
+ "subsets": [
5424
+ "khmer"
5425
+ ]
5426
+ },
5427
+ {
5428
+ "kind": "webfonts#webfont",
5429
+ "family": "Press Start 2P",
5430
+ "variants": [
5431
+ "regular"
5432
+ ],
5433
+ "subsets": [
5434
+ "latin",
5435
+ "latin-ext",
5436
+ "greek",
5437
+ "cyrillic"
5438
+ ]
5439
+ },
5440
+ {
5441
+ "kind": "webfonts#webfont",
5442
+ "family": "Princess Sofia",
5443
+ "variants": [
5444
+ "regular"
5445
+ ],
5446
+ "subsets": [
5447
+ "latin",
5448
+ "latin-ext"
5449
+ ]
5450
+ },
5451
+ {
5452
+ "kind": "webfonts#webfont",
5453
+ "family": "Prociono",
5454
+ "variants": [
5455
+ "regular"
5456
+ ],
5457
+ "subsets": [
5458
+ "latin"
5459
+ ]
5460
+ },
5461
+ {
5462
+ "kind": "webfonts#webfont",
5463
+ "family": "Prosto One",
5464
+ "variants": [
5465
+ "regular"
5466
+ ],
5467
+ "subsets": [
5468
+ "latin",
5469
+ "latin-ext",
5470
+ "cyrillic"
5471
+ ]
5472
+ },
5473
+ {
5474
+ "kind": "webfonts#webfont",
5475
+ "family": "Puritan",
5476
+ "variants": [
5477
+ "regular",
5478
+ "italic",
5479
+ "700",
5480
+ "700italic"
5481
+ ],
5482
+ "subsets": [
5483
+ "latin"
5484
+ ]
5485
+ },
5486
+ {
5487
+ "kind": "webfonts#webfont",
5488
+ "family": "Purple Purse",
5489
+ "variants": [
5490
+ "regular"
5491
+ ],
5492
+ "subsets": [
5493
+ "latin",
5494
+ "latin-ext"
5495
+ ]
5496
+ },
5497
+ {
5498
+ "kind": "webfonts#webfont",
5499
+ "family": "Quando",
5500
+ "variants": [
5501
+ "regular"
5502
+ ],
5503
+ "subsets": [
5504
+ "latin",
5505
+ "latin-ext"
5506
+ ]
5507
+ },
5508
+ {
5509
+ "kind": "webfonts#webfont",
5510
+ "family": "Quantico",
5511
+ "variants": [
5512
+ "regular",
5513
+ "italic",
5514
+ "700",
5515
+ "700italic"
5516
+ ],
5517
+ "subsets": [
5518
+ "latin"
5519
+ ]
5520
+ },
5521
+ {
5522
+ "kind": "webfonts#webfont",
5523
+ "family": "Quattrocento",
5524
+ "variants": [
5525
+ "regular",
5526
+ "700"
5527
+ ],
5528
+ "subsets": [
5529
+ "latin",
5530
+ "latin-ext"
5531
+ ]
5532
+ },
5533
+ {
5534
+ "kind": "webfonts#webfont",
5535
+ "family": "Quattrocento Sans",
5536
+ "variants": [
5537
+ "regular",
5538
+ "italic",
5539
+ "700",
5540
+ "700italic"
5541
+ ],
5542
+ "subsets": [
5543
+ "latin",
5544
+ "latin-ext"
5545
+ ]
5546
+ },
5547
+ {
5548
+ "kind": "webfonts#webfont",
5549
+ "family": "Questrial",
5550
+ "variants": [
5551
+ "regular"
5552
+ ],
5553
+ "subsets": [
5554
+ "latin"
5555
+ ]
5556
+ },
5557
+ {
5558
+ "kind": "webfonts#webfont",
5559
+ "family": "Quicksand",
5560
+ "variants": [
5561
+ "300",
5562
+ "regular",
5563
+ "700"
5564
+ ],
5565
+ "subsets": [
5566
+ "latin"
5567
+ ]
5568
+ },
5569
+ {
5570
+ "kind": "webfonts#webfont",
5571
+ "family": "Quintessential",
5572
+ "variants": [
5573
+ "regular"
5574
+ ],
5575
+ "subsets": [
5576
+ "latin",
5577
+ "latin-ext"
5578
+ ]
5579
+ },
5580
+ {
5581
+ "kind": "webfonts#webfont",
5582
+ "family": "Qwigley",
5583
+ "variants": [
5584
+ "regular"
5585
+ ],
5586
+ "subsets": [
5587
+ "latin",
5588
+ "latin-ext"
5589
+ ]
5590
+ },
5591
+ {
5592
+ "kind": "webfonts#webfont",
5593
+ "family": "Racing Sans One",
5594
+ "variants": [
5595
+ "regular"
5596
+ ],
5597
+ "subsets": [
5598
+ "latin",
5599
+ "latin-ext"
5600
+ ]
5601
+ },
5602
+ {
5603
+ "kind": "webfonts#webfont",
5604
+ "family": "Radley",
5605
+ "variants": [
5606
+ "regular",
5607
+ "italic"
5608
+ ],
5609
+ "subsets": [
5610
+ "latin",
5611
+ "latin-ext"
5612
+ ]
5613
+ },
5614
+ {
5615
+ "kind": "webfonts#webfont",
5616
+ "family": "Raleway",
5617
+ "variants": [
5618
+ "100",
5619
+ "200",
5620
+ "300",
5621
+ "regular",
5622
+ "500",
5623
+ "600",
5624
+ "700",
5625
+ "800",
5626
+ "900"
5627
+ ],
5628
+ "subsets": [
5629
+ "latin"
5630
+ ]
5631
+ },
5632
+ {
5633
+ "kind": "webfonts#webfont",
5634
+ "family": "Raleway Dots",
5635
+ "variants": [
5636
+ "regular"
5637
+ ],
5638
+ "subsets": [
5639
+ "latin",
5640
+ "latin-ext"
5641
+ ]
5642
+ },
5643
+ {
5644
+ "kind": "webfonts#webfont",
5645
+ "family": "Rambla",
5646
+ "variants": [
5647
+ "regular",
5648
+ "italic",
5649
+ "700",
5650
+ "700italic"
5651
+ ],
5652
+ "subsets": [
5653
+ "latin",
5654
+ "latin-ext"
5655
+ ]
5656
+ },
5657
+ {
5658
+ "kind": "webfonts#webfont",
5659
+ "family": "Rammetto One",
5660
+ "variants": [
5661
+ "regular"
5662
+ ],
5663
+ "subsets": [
5664
+ "latin",
5665
+ "latin-ext"
5666
+ ]
5667
+ },
5668
+ {
5669
+ "kind": "webfonts#webfont",
5670
+ "family": "Ranchers",
5671
+ "variants": [
5672
+ "regular"
5673
+ ],
5674
+ "subsets": [
5675
+ "latin",
5676
+ "latin-ext"
5677
+ ]
5678
+ },
5679
+ {
5680
+ "kind": "webfonts#webfont",
5681
+ "family": "Rancho",
5682
+ "variants": [
5683
+ "regular"
5684
+ ],
5685
+ "subsets": [
5686
+ "latin"
5687
+ ]
5688
+ },
5689
+ {
5690
+ "kind": "webfonts#webfont",
5691
+ "family": "Rationale",
5692
+ "variants": [
5693
+ "regular"
5694
+ ],
5695
+ "subsets": [
5696
+ "latin"
5697
+ ]
5698
+ },
5699
+ {
5700
+ "kind": "webfonts#webfont",
5701
+ "family": "Redressed",
5702
+ "variants": [
5703
+ "regular"
5704
+ ],
5705
+ "subsets": [
5706
+ "latin"
5707
+ ]
5708
+ },
5709
+ {
5710
+ "kind": "webfonts#webfont",
5711
+ "family": "Reenie Beanie",
5712
+ "variants": [
5713
+ "regular"
5714
+ ],
5715
+ "subsets": [
5716
+ "latin"
5717
+ ]
5718
+ },
5719
+ {
5720
+ "kind": "webfonts#webfont",
5721
+ "family": "Revalia",
5722
+ "variants": [
5723
+ "regular"
5724
+ ],
5725
+ "subsets": [
5726
+ "latin",
5727
+ "latin-ext"
5728
+ ]
5729
+ },
5730
+ {
5731
+ "kind": "webfonts#webfont",
5732
+ "family": "Ribeye",
5733
+ "variants": [
5734
+ "regular"
5735
+ ],
5736
+ "subsets": [
5737
+ "latin",
5738
+ "latin-ext"
5739
+ ]
5740
+ },
5741
+ {
5742
+ "kind": "webfonts#webfont",
5743
+ "family": "Ribeye Marrow",
5744
+ "variants": [
5745
+ "regular"
5746
+ ],
5747
+ "subsets": [
5748
+ "latin",
5749
+ "latin-ext"
5750
+ ]
5751
+ },
5752
+ {
5753
+ "kind": "webfonts#webfont",
5754
+ "family": "Righteous",
5755
+ "variants": [
5756
+ "regular"
5757
+ ],
5758
+ "subsets": [
5759
+ "latin",
5760
+ "latin-ext"
5761
+ ]
5762
+ },
5763
+ {
5764
+ "kind": "webfonts#webfont",
5765
+ "family": "Risque",
5766
+ "variants": [
5767
+ "regular"
5768
+ ],
5769
+ "subsets": [
5770
+ "latin",
5771
+ "latin-ext"
5772
+ ]
5773
+ },
5774
+ {
5775
+ "kind": "webfonts#webfont",
5776
+ "family": "Roboto",
5777
+ "variants": [
5778
+ "100",
5779
+ "100italic",
5780
+ "300",
5781
+ "300italic",
5782
+ "regular",
5783
+ "italic",
5784
+ "500",
5785
+ "500italic",
5786
+ "700",
5787
+ "700italic",
5788
+ "900",
5789
+ "900italic"
5790
+ ],
5791
+ "subsets": [
5792
+ "latin",
5793
+ "latin-ext",
5794
+ "greek-ext",
5795
+ "greek",
5796
+ "vietnamese",
5797
+ "cyrillic",
5798
+ "cyrillic-ext"
5799
+ ]
5800
+ },
5801
+ {
5802
+ "kind": "webfonts#webfont",
5803
+ "family": "Roboto Condensed",
5804
+ "variants": [
5805
+ "300",
5806
+ "300italic",
5807
+ "regular",
5808
+ "italic",
5809
+ "700",
5810
+ "700italic"
5811
+ ],
5812
+ "subsets": [
5813
+ "latin",
5814
+ "latin-ext",
5815
+ "greek-ext",
5816
+ "greek",
5817
+ "vietnamese",
5818
+ "cyrillic",
5819
+ "cyrillic-ext"
5820
+ ]
5821
+ },
5822
+ {
5823
+ "kind": "webfonts#webfont",
5824
+ "family": "Rochester",
5825
+ "variants": [
5826
+ "regular"
5827
+ ],
5828
+ "subsets": [
5829
+ "latin"
5830
+ ]
5831
+ },
5832
+ {
5833
+ "kind": "webfonts#webfont",
5834
+ "family": "Rock Salt",
5835
+ "variants": [
5836
+ "regular"
5837
+ ],
5838
+ "subsets": [
5839
+ "latin"
5840
+ ]
5841
+ },
5842
+ {
5843
+ "kind": "webfonts#webfont",
5844
+ "family": "Rokkitt",
5845
+ "variants": [
5846
+ "regular",
5847
+ "700"
5848
+ ],
5849
+ "subsets": [
5850
+ "latin"
5851
+ ]
5852
+ },
5853
+ {
5854
+ "kind": "webfonts#webfont",
5855
+ "family": "Romanesco",
5856
+ "variants": [
5857
+ "regular"
5858
+ ],
5859
+ "subsets": [
5860
+ "latin",
5861
+ "latin-ext"
5862
+ ]
5863
+ },
5864
+ {
5865
+ "kind": "webfonts#webfont",
5866
+ "family": "Ropa Sans",
5867
+ "variants": [
5868
+ "regular",
5869
+ "italic"
5870
+ ],
5871
+ "subsets": [
5872
+ "latin",
5873
+ "latin-ext"
5874
+ ]
5875
+ },
5876
+ {
5877
+ "kind": "webfonts#webfont",
5878
+ "family": "Rosario",
5879
+ "variants": [
5880
+ "regular",
5881
+ "italic",
5882
+ "700",
5883
+ "700italic"
5884
+ ],
5885
+ "subsets": [
5886
+ "latin"
5887
+ ]
5888
+ },
5889
+ {
5890
+ "kind": "webfonts#webfont",
5891
+ "family": "Rosarivo",
5892
+ "variants": [
5893
+ "regular",
5894
+ "italic"
5895
+ ],
5896
+ "subsets": [
5897
+ "latin",
5898
+ "latin-ext"
5899
+ ]
5900
+ },
5901
+ {
5902
+ "kind": "webfonts#webfont",
5903
+ "family": "Rouge Script",
5904
+ "variants": [
5905
+ "regular"
5906
+ ],
5907
+ "subsets": [
5908
+ "latin"
5909
+ ]
5910
+ },
5911
+ {
5912
+ "kind": "webfonts#webfont",
5913
+ "family": "Ruda",
5914
+ "variants": [
5915
+ "regular",
5916
+ "700",
5917
+ "900"
5918
+ ],
5919
+ "subsets": [
5920
+ "latin",
5921
+ "latin-ext"
5922
+ ]
5923
+ },
5924
+ {
5925
+ "kind": "webfonts#webfont",
5926
+ "family": "Rufina",
5927
+ "variants": [
5928
+ "regular",
5929
+ "700"
5930
+ ],
5931
+ "subsets": [
5932
+ "latin",
5933
+ "latin-ext"
5934
+ ]
5935
+ },
5936
+ {
5937
+ "kind": "webfonts#webfont",
5938
+ "family": "Ruge Boogie",
5939
+ "variants": [
5940
+ "regular"
5941
+ ],
5942
+ "subsets": [
5943
+ "latin",
5944
+ "latin-ext"
5945
+ ]
5946
+ },
5947
+ {
5948
+ "kind": "webfonts#webfont",
5949
+ "family": "Ruluko",
5950
+ "variants": [
5951
+ "regular"
5952
+ ],
5953
+ "subsets": [
5954
+ "latin",
5955
+ "latin-ext"
5956
+ ]
5957
+ },
5958
+ {
5959
+ "kind": "webfonts#webfont",
5960
+ "family": "Rum Raisin",
5961
+ "variants": [
5962
+ "regular"
5963
+ ],
5964
+ "subsets": [
5965
+ "latin",
5966
+ "latin-ext"
5967
+ ]
5968
+ },
5969
+ {
5970
+ "kind": "webfonts#webfont",
5971
+ "family": "Ruslan Display",
5972
+ "variants": [
5973
+ "regular"
5974
+ ],
5975
+ "subsets": [
5976
+ "latin",
5977
+ "latin-ext",
5978
+ "cyrillic",
5979
+ "cyrillic-ext"
5980
+ ]
5981
+ },
5982
+ {
5983
+ "kind": "webfonts#webfont",
5984
+ "family": "Russo One",
5985
+ "variants": [
5986
+ "regular"
5987
+ ],
5988
+ "subsets": [
5989
+ "latin",
5990
+ "latin-ext",
5991
+ "cyrillic"
5992
+ ]
5993
+ },
5994
+ {
5995
+ "kind": "webfonts#webfont",
5996
+ "family": "Ruthie",
5997
+ "variants": [
5998
+ "regular"
5999
+ ],
6000
+ "subsets": [
6001
+ "latin",
6002
+ "latin-ext"
6003
+ ]
6004
+ },
6005
+ {
6006
+ "kind": "webfonts#webfont",
6007
+ "family": "Rye",
6008
+ "variants": [
6009
+ "regular"
6010
+ ],
6011
+ "subsets": [
6012
+ "latin",
6013
+ "latin-ext"
6014
+ ]
6015
+ },
6016
+ {
6017
+ "kind": "webfonts#webfont",
6018
+ "family": "Sacramento",
6019
+ "variants": [
6020
+ "regular"
6021
+ ],
6022
+ "subsets": [
6023
+ "latin",
6024
+ "latin-ext"
6025
+ ]
6026
+ },
6027
+ {
6028
+ "kind": "webfonts#webfont",
6029
+ "family": "Sail",
6030
+ "variants": [
6031
+ "regular"
6032
+ ],
6033
+ "subsets": [
6034
+ "latin"
6035
+ ]
6036
+ },
6037
+ {
6038
+ "kind": "webfonts#webfont",
6039
+ "family": "Salsa",
6040
+ "variants": [
6041
+ "regular"
6042
+ ],
6043
+ "subsets": [
6044
+ "latin"
6045
+ ]
6046
+ },
6047
+ {
6048
+ "kind": "webfonts#webfont",
6049
+ "family": "Sanchez",
6050
+ "variants": [
6051
+ "regular",
6052
+ "italic"
6053
+ ],
6054
+ "subsets": [
6055
+ "latin",
6056
+ "latin-ext"
6057
+ ]
6058
+ },
6059
+ {
6060
+ "kind": "webfonts#webfont",
6061
+ "family": "Sancreek",
6062
+ "variants": [
6063
+ "regular"
6064
+ ],
6065
+ "subsets": [
6066
+ "latin",
6067
+ "latin-ext"
6068
+ ]
6069
+ },
6070
+ {
6071
+ "kind": "webfonts#webfont",
6072
+ "family": "Sansita One",
6073
+ "variants": [
6074
+ "regular"
6075
+ ],
6076
+ "subsets": [
6077
+ "latin"
6078
+ ]
6079
+ },
6080
+ {
6081
+ "kind": "webfonts#webfont",
6082
+ "family": "Sarina",
6083
+ "variants": [
6084
+ "regular"
6085
+ ],
6086
+ "subsets": [
6087
+ "latin",
6088
+ "latin-ext"
6089
+ ]
6090
+ },
6091
+ {
6092
+ "kind": "webfonts#webfont",
6093
+ "family": "Satisfy",
6094
+ "variants": [
6095
+ "regular"
6096
+ ],
6097
+ "subsets": [
6098
+ "latin"
6099
+ ]
6100
+ },
6101
+ {
6102
+ "kind": "webfonts#webfont",
6103
+ "family": "Scada",
6104
+ "variants": [
6105
+ "regular",
6106
+ "italic",
6107
+ "700",
6108
+ "700italic"
6109
+ ],
6110
+ "subsets": [
6111
+ "latin",
6112
+ "latin-ext",
6113
+ "cyrillic"
6114
+ ]
6115
+ },
6116
+ {
6117
+ "kind": "webfonts#webfont",
6118
+ "family": "Schoolbell",
6119
+ "variants": [
6120
+ "regular"
6121
+ ],
6122
+ "subsets": [
6123
+ "latin"
6124
+ ]
6125
+ },
6126
+ {
6127
+ "kind": "webfonts#webfont",
6128
+ "family": "Seaweed Script",
6129
+ "variants": [
6130
+ "regular"
6131
+ ],
6132
+ "subsets": [
6133
+ "latin",
6134
+ "latin-ext"
6135
+ ]
6136
+ },
6137
+ {
6138
+ "kind": "webfonts#webfont",
6139
+ "family": "Sevillana",
6140
+ "variants": [
6141
+ "regular"
6142
+ ],
6143
+ "subsets": [
6144
+ "latin",
6145
+ "latin-ext"
6146
+ ]
6147
+ },
6148
+ {
6149
+ "kind": "webfonts#webfont",
6150
+ "family": "Seymour One",
6151
+ "variants": [
6152
+ "regular"
6153
+ ],
6154
+ "subsets": [
6155
+ "latin",
6156
+ "latin-ext",
6157
+ "cyrillic"
6158
+ ]
6159
+ },
6160
+ {
6161
+ "kind": "webfonts#webfont",
6162
+ "family": "Shadows Into Light",
6163
+ "variants": [
6164
+ "regular"
6165
+ ],
6166
+ "subsets": [
6167
+ "latin"
6168
+ ]
6169
+ },
6170
+ {
6171
+ "kind": "webfonts#webfont",
6172
+ "family": "Shadows Into Light Two",
6173
+ "variants": [
6174
+ "regular"
6175
+ ],
6176
+ "subsets": [
6177
+ "latin",
6178
+ "latin-ext"
6179
+ ]
6180
+ },
6181
+ {
6182
+ "kind": "webfonts#webfont",
6183
+ "family": "Shanti",
6184
+ "variants": [
6185
+ "regular"
6186
+ ],
6187
+ "subsets": [
6188
+ "latin"
6189
+ ]
6190
+ },
6191
+ {
6192
+ "kind": "webfonts#webfont",
6193
+ "family": "Share",
6194
+ "variants": [
6195
+ "regular",
6196
+ "italic",
6197
+ "700",
6198
+ "700italic"
6199
+ ],
6200
+ "subsets": [
6201
+ "latin",
6202
+ "latin-ext"
6203
+ ]
6204
+ },
6205
+ {
6206
+ "kind": "webfonts#webfont",
6207
+ "family": "Share Tech",
6208
+ "variants": [
6209
+ "regular"
6210
+ ],
6211
+ "subsets": [
6212
+ "latin"
6213
+ ]
6214
+ },
6215
+ {
6216
+ "kind": "webfonts#webfont",
6217
+ "family": "Share Tech Mono",
6218
+ "variants": [
6219
+ "regular"
6220
+ ],
6221
+ "subsets": [
6222
+ "latin"
6223
+ ]
6224
+ },
6225
+ {
6226
+ "kind": "webfonts#webfont",
6227
+ "family": "Shojumaru",
6228
+ "variants": [
6229
+ "regular"
6230
+ ],
6231
+ "subsets": [
6232
+ "latin",
6233
+ "latin-ext"
6234
+ ]
6235
+ },
6236
+ {
6237
+ "kind": "webfonts#webfont",
6238
+ "family": "Short Stack",
6239
+ "variants": [
6240
+ "regular"
6241
+ ],
6242
+ "subsets": [
6243
+ "latin"
6244
+ ]
6245
+ },
6246
+ {
6247
+ "kind": "webfonts#webfont",
6248
+ "family": "Siemreap",
6249
+ "variants": [
6250
+ "regular"
6251
+ ],
6252
+ "subsets": [
6253
+ "khmer"
6254
+ ]
6255
+ },
6256
+ {
6257
+ "kind": "webfonts#webfont",
6258
+ "family": "Sigmar One",
6259
+ "variants": [
6260
+ "regular"
6261
+ ],
6262
+ "subsets": [
6263
+ "latin"
6264
+ ]
6265
+ },
6266
+ {
6267
+ "kind": "webfonts#webfont",
6268
+ "family": "Signika",
6269
+ "variants": [
6270
+ "300",
6271
+ "regular",
6272
+ "600",
6273
+ "700"
6274
+ ],
6275
+ "subsets": [
6276
+ "latin",
6277
+ "latin-ext"
6278
+ ]
6279
+ },
6280
+ {
6281
+ "kind": "webfonts#webfont",
6282
+ "family": "Signika Negative",
6283
+ "variants": [
6284
+ "300",
6285
+ "regular",
6286
+ "600",
6287
+ "700"
6288
+ ],
6289
+ "subsets": [
6290
+ "latin",
6291
+ "latin-ext"
6292
+ ]
6293
+ },
6294
+ {
6295
+ "kind": "webfonts#webfont",
6296
+ "family": "Simonetta",
6297
+ "variants": [
6298
+ "regular",
6299
+ "italic",
6300
+ "900",
6301
+ "900italic"
6302
+ ],
6303
+ "subsets": [
6304
+ "latin",
6305
+ "latin-ext"
6306
+ ]
6307
+ },
6308
+ {
6309
+ "kind": "webfonts#webfont",
6310
+ "family": "Sirin Stencil",
6311
+ "variants": [
6312
+ "regular"
6313
+ ],
6314
+ "subsets": [
6315
+ "latin"
6316
+ ]
6317
+ },
6318
+ {
6319
+ "kind": "webfonts#webfont",
6320
+ "family": "Six Caps",
6321
+ "variants": [
6322
+ "regular"
6323
+ ],
6324
+ "subsets": [
6325
+ "latin"
6326
+ ]
6327
+ },
6328
+ {
6329
+ "kind": "webfonts#webfont",
6330
+ "family": "Skranji",
6331
+ "variants": [
6332
+ "regular",
6333
+ "700"
6334
+ ],
6335
+ "subsets": [
6336
+ "latin",
6337
+ "latin-ext"
6338
+ ]
6339
+ },
6340
+ {
6341
+ "kind": "webfonts#webfont",
6342
+ "family": "Slackey",
6343
+ "variants": [
6344
+ "regular"
6345
+ ],
6346
+ "subsets": [
6347
+ "latin"
6348
+ ]
6349
+ },
6350
+ {
6351
+ "kind": "webfonts#webfont",
6352
+ "family": "Smokum",
6353
+ "variants": [
6354
+ "regular"
6355
+ ],
6356
+ "subsets": [
6357
+ "latin"
6358
+ ]
6359
+ },
6360
+ {
6361
+ "kind": "webfonts#webfont",
6362
+ "family": "Smythe",
6363
+ "variants": [
6364
+ "regular"
6365
+ ],
6366
+ "subsets": [
6367
+ "latin"
6368
+ ]
6369
+ },
6370
+ {
6371
+ "kind": "webfonts#webfont",
6372
+ "family": "Sniglet",
6373
+ "variants": [
6374
+ "800"
6375
+ ],
6376
+ "subsets": [
6377
+ "latin"
6378
+ ]
6379
+ },
6380
+ {
6381
+ "kind": "webfonts#webfont",
6382
+ "family": "Snippet",
6383
+ "variants": [
6384
+ "regular"
6385
+ ],
6386
+ "subsets": [
6387
+ "latin"
6388
+ ]
6389
+ },
6390
+ {
6391
+ "kind": "webfonts#webfont",
6392
+ "family": "Snowburst One",
6393
+ "variants": [
6394
+ "regular"
6395
+ ],
6396
+ "subsets": [
6397
+ "latin",
6398
+ "latin-ext"
6399
+ ]
6400
+ },
6401
+ {
6402
+ "kind": "webfonts#webfont",
6403
+ "family": "Sofadi One",
6404
+ "variants": [
6405
+ "regular"
6406
+ ],
6407
+ "subsets": [
6408
+ "latin"
6409
+ ]
6410
+ },
6411
+ {
6412
+ "kind": "webfonts#webfont",
6413
+ "family": "Sofia",
6414
+ "variants": [
6415
+ "regular"
6416
+ ],
6417
+ "subsets": [
6418
+ "latin"
6419
+ ]
6420
+ },
6421
+ {
6422
+ "kind": "webfonts#webfont",
6423
+ "family": "Sonsie One",
6424
+ "variants": [
6425
+ "regular"
6426
+ ],
6427
+ "subsets": [
6428
+ "latin",
6429
+ "latin-ext"
6430
+ ]
6431
+ },
6432
+ {
6433
+ "kind": "webfonts#webfont",
6434
+ "family": "Sorts Mill Goudy",
6435
+ "variants": [
6436
+ "regular",
6437
+ "italic"
6438
+ ],
6439
+ "subsets": [
6440
+ "latin",
6441
+ "latin-ext"
6442
+ ]
6443
+ },
6444
+ {
6445
+ "kind": "webfonts#webfont",
6446
+ "family": "Source Code Pro",
6447
+ "variants": [
6448
+ "200",
6449
+ "300",
6450
+ "regular",
6451
+ "500",
6452
+ "600",
6453
+ "700",
6454
+ "900"
6455
+ ],
6456
+ "subsets": [
6457
+ "latin",
6458
+ "latin-ext"
6459
+ ]
6460
+ },
6461
+ {
6462
+ "kind": "webfonts#webfont",
6463
+ "family": "Source Sans Pro",
6464
+ "variants": [
6465
+ "200",
6466
+ "200italic",
6467
+ "300",
6468
+ "300italic",
6469
+ "regular",
6470
+ "italic",
6471
+ "600",
6472
+ "600italic",
6473
+ "700",
6474
+ "700italic",
6475
+ "900",
6476
+ "900italic"
6477
+ ],
6478
+ "subsets": [
6479
+ "latin",
6480
+ "latin-ext"
6481
+ ]
6482
+ },
6483
+ {
6484
+ "kind": "webfonts#webfont",
6485
+ "family": "Special Elite",
6486
+ "variants": [
6487
+ "regular"
6488
+ ],
6489
+ "subsets": [
6490
+ "latin"
6491
+ ]
6492
+ },
6493
+ {
6494
+ "kind": "webfonts#webfont",
6495
+ "family": "Spicy Rice",
6496
+ "variants": [
6497
+ "regular"
6498
+ ],
6499
+ "subsets": [
6500
+ "latin"
6501
+ ]
6502
+ },
6503
+ {
6504
+ "kind": "webfonts#webfont",
6505
+ "family": "Spinnaker",
6506
+ "variants": [
6507
+ "regular"
6508
+ ],
6509
+ "subsets": [
6510
+ "latin",
6511
+ "latin-ext"
6512
+ ]
6513
+ },
6514
+ {
6515
+ "kind": "webfonts#webfont",
6516
+ "family": "Spirax",
6517
+ "variants": [
6518
+ "regular"
6519
+ ],
6520
+ "subsets": [
6521
+ "latin"
6522
+ ]
6523
+ },
6524
+ {
6525
+ "kind": "webfonts#webfont",
6526
+ "family": "Squada One",
6527
+ "variants": [
6528
+ "regular"
6529
+ ],
6530
+ "subsets": [
6531
+ "latin"
6532
+ ]
6533
+ },
6534
+ {
6535
+ "kind": "webfonts#webfont",
6536
+ "family": "Stalemate",
6537
+ "variants": [
6538
+ "regular"
6539
+ ],
6540
+ "subsets": [
6541
+ "latin",
6542
+ "latin-ext"
6543
+ ]
6544
+ },
6545
+ {
6546
+ "kind": "webfonts#webfont",
6547
+ "family": "Stalinist One",
6548
+ "variants": [
6549
+ "regular"
6550
+ ],
6551
+ "subsets": [
6552
+ "latin",
6553
+ "latin-ext",
6554
+ "cyrillic"
6555
+ ]
6556
+ },
6557
+ {
6558
+ "kind": "webfonts#webfont",
6559
+ "family": "Stardos Stencil",
6560
+ "variants": [
6561
+ "regular",
6562
+ "700"
6563
+ ],
6564
+ "subsets": [
6565
+ "latin"
6566
+ ]
6567
+ },
6568
+ {
6569
+ "kind": "webfonts#webfont",
6570
+ "family": "Stint Ultra Condensed",
6571
+ "variants": [
6572
+ "regular"
6573
+ ],
6574
+ "subsets": [
6575
+ "latin",
6576
+ "latin-ext"
6577
+ ]
6578
+ },
6579
+ {
6580
+ "kind": "webfonts#webfont",
6581
+ "family": "Stint Ultra Expanded",
6582
+ "variants": [
6583
+ "regular"
6584
+ ],
6585
+ "subsets": [
6586
+ "latin",
6587
+ "latin-ext"
6588
+ ]
6589
+ },
6590
+ {
6591
+ "kind": "webfonts#webfont",
6592
+ "family": "Stoke",
6593
+ "variants": [
6594
+ "300",
6595
+ "regular"
6596
+ ],
6597
+ "subsets": [
6598
+ "latin",
6599
+ "latin-ext"
6600
+ ]
6601
+ },
6602
+ {
6603
+ "kind": "webfonts#webfont",
6604
+ "family": "Strait",
6605
+ "variants": [
6606
+ "regular"
6607
+ ],
6608
+ "subsets": [
6609
+ "latin"
6610
+ ]
6611
+ },
6612
+ {
6613
+ "kind": "webfonts#webfont",
6614
+ "family": "Sue Ellen Francisco",
6615
+ "variants": [
6616
+ "regular"
6617
+ ],
6618
+ "subsets": [
6619
+ "latin"
6620
+ ]
6621
+ },
6622
+ {
6623
+ "kind": "webfonts#webfont",
6624
+ "family": "Sunshiney",
6625
+ "variants": [
6626
+ "regular"
6627
+ ],
6628
+ "subsets": [
6629
+ "latin"
6630
+ ]
6631
+ },
6632
+ {
6633
+ "kind": "webfonts#webfont",
6634
+ "family": "Supermercado One",
6635
+ "variants": [
6636
+ "regular"
6637
+ ],
6638
+ "subsets": [
6639
+ "latin"
6640
+ ]
6641
+ },
6642
+ {
6643
+ "kind": "webfonts#webfont",
6644
+ "family": "Suwannaphum",
6645
+ "variants": [
6646
+ "regular"
6647
+ ],
6648
+ "subsets": [
6649
+ "khmer"
6650
+ ]
6651
+ },
6652
+ {
6653
+ "kind": "webfonts#webfont",
6654
+ "family": "Swanky and Moo Moo",
6655
+ "variants": [
6656
+ "regular"
6657
+ ],
6658
+ "subsets": [
6659
+ "latin"
6660
+ ]
6661
+ },
6662
+ {
6663
+ "kind": "webfonts#webfont",
6664
+ "family": "Syncopate",
6665
+ "variants": [
6666
+ "regular",
6667
+ "700"
6668
+ ],
6669
+ "subsets": [
6670
+ "latin"
6671
+ ]
6672
+ },
6673
+ {
6674
+ "kind": "webfonts#webfont",
6675
+ "family": "Tangerine",
6676
+ "variants": [
6677
+ "regular",
6678
+ "700"
6679
+ ],
6680
+ "subsets": [
6681
+ "latin"
6682
+ ]
6683
+ },
6684
+ {
6685
+ "kind": "webfonts#webfont",
6686
+ "family": "Taprom",
6687
+ "variants": [
6688
+ "regular"
6689
+ ],
6690
+ "subsets": [
6691
+ "khmer"
6692
+ ]
6693
+ },
6694
+ {
6695
+ "kind": "webfonts#webfont",
6696
+ "family": "Telex",
6697
+ "variants": [
6698
+ "regular"
6699
+ ],
6700
+ "subsets": [
6701
+ "latin"
6702
+ ]
6703
+ },
6704
+ {
6705
+ "kind": "webfonts#webfont",
6706
+ "family": "Tenor Sans",
6707
+ "variants": [
6708
+ "regular"
6709
+ ],
6710
+ "subsets": [
6711
+ "latin",
6712
+ "latin-ext",
6713
+ "cyrillic",
6714
+ "cyrillic-ext"
6715
+ ]
6716
+ },
6717
+ {
6718
+ "kind": "webfonts#webfont",
6719
+ "family": "Text Me One",
6720
+ "variants": [
6721
+ "regular"
6722
+ ],
6723
+ "subsets": [
6724
+ "latin",
6725
+ "latin-ext"
6726
+ ]
6727
+ },
6728
+ {
6729
+ "kind": "webfonts#webfont",
6730
+ "family": "The Girl Next Door",
6731
+ "variants": [
6732
+ "regular"
6733
+ ],
6734
+ "subsets": [
6735
+ "latin"
6736
+ ]
6737
+ },
6738
+ {
6739
+ "kind": "webfonts#webfont",
6740
+ "family": "Tienne",
6741
+ "variants": [
6742
+ "regular",
6743
+ "700",
6744
+ "900"
6745
+ ],
6746
+ "subsets": [
6747
+ "latin"
6748
+ ]
6749
+ },
6750
+ {
6751
+ "kind": "webfonts#webfont",
6752
+ "family": "Tinos",
6753
+ "variants": [
6754
+ "regular",
6755
+ "italic",
6756
+ "700",
6757
+ "700italic"
6758
+ ],
6759
+ "subsets": [
6760
+ "latin"
6761
+ ]
6762
+ },
6763
+ {
6764
+ "kind": "webfonts#webfont",
6765
+ "family": "Titan One",
6766
+ "variants": [
6767
+ "regular"
6768
+ ],
6769
+ "subsets": [
6770
+ "latin",
6771
+ "latin-ext"
6772
+ ]
6773
+ },
6774
+ {
6775
+ "kind": "webfonts#webfont",
6776
+ "family": "Titillium Web",
6777
+ "variants": [
6778
+ "200",
6779
+ "200italic",
6780
+ "300",
6781
+ "300italic",
6782
+ "regular",
6783
+ "italic",
6784
+ "600",
6785
+ "600italic",
6786
+ "700",
6787
+ "700italic",
6788
+ "900"
6789
+ ],
6790
+ "subsets": [
6791
+ "latin",
6792
+ "latin-ext"
6793
+ ]
6794
+ },
6795
+ {
6796
+ "kind": "webfonts#webfont",
6797
+ "family": "Trade Winds",
6798
+ "variants": [
6799
+ "regular"
6800
+ ],
6801
+ "subsets": [
6802
+ "latin"
6803
+ ]
6804
+ },
6805
+ {
6806
+ "kind": "webfonts#webfont",
6807
+ "family": "Trocchi",
6808
+ "variants": [
6809
+ "regular"
6810
+ ],
6811
+ "subsets": [
6812
+ "latin",
6813
+ "latin-ext"
6814
+ ]
6815
+ },
6816
+ {
6817
+ "kind": "webfonts#webfont",
6818
+ "family": "Trochut",
6819
+ "variants": [
6820
+ "regular",
6821
+ "italic",
6822
+ "700"
6823
+ ],
6824
+ "subsets": [
6825
+ "latin"
6826
+ ]
6827
+ },
6828
+ {
6829
+ "kind": "webfonts#webfont",
6830
+ "family": "Trykker",
6831
+ "variants": [
6832
+ "regular"
6833
+ ],
6834
+ "subsets": [
6835
+ "latin",
6836
+ "latin-ext"
6837
+ ]
6838
+ },
6839
+ {
6840
+ "kind": "webfonts#webfont",
6841
+ "family": "Tulpen One",
6842
+ "variants": [
6843
+ "regular"
6844
+ ],
6845
+ "subsets": [
6846
+ "latin"
6847
+ ]
6848
+ },
6849
+ {
6850
+ "kind": "webfonts#webfont",
6851
+ "family": "Ubuntu",
6852
+ "variants": [
6853
+ "300",
6854
+ "300italic",
6855
+ "regular",
6856
+ "italic",
6857
+ "500",
6858
+ "500italic",
6859
+ "700",
6860
+ "700italic"
6861
+ ],
6862
+ "subsets": [
6863
+ "latin",
6864
+ "latin-ext",
6865
+ "greek-ext",
6866
+ "greek",
6867
+ "cyrillic",
6868
+ "cyrillic-ext"
6869
+ ]
6870
+ },
6871
+ {
6872
+ "kind": "webfonts#webfont",
6873
+ "family": "Ubuntu Condensed",
6874
+ "variants": [
6875
+ "regular"
6876
+ ],
6877
+ "subsets": [
6878
+ "latin",
6879
+ "latin-ext",
6880
+ "greek-ext",
6881
+ "greek",
6882
+ "cyrillic",
6883
+ "cyrillic-ext"
6884
+ ]
6885
+ },
6886
+ {
6887
+ "kind": "webfonts#webfont",
6888
+ "family": "Ubuntu Mono",
6889
+ "variants": [
6890
+ "regular",
6891
+ "italic",
6892
+ "700",
6893
+ "700italic"
6894
+ ],
6895
+ "subsets": [
6896
+ "latin",
6897
+ "latin-ext",
6898
+ "greek-ext",
6899
+ "greek",
6900
+ "cyrillic",
6901
+ "cyrillic-ext"
6902
+ ]
6903
+ },
6904
+ {
6905
+ "kind": "webfonts#webfont",
6906
+ "family": "Ultra",
6907
+ "variants": [
6908
+ "regular"
6909
+ ],
6910
+ "subsets": [
6911
+ "latin"
6912
+ ]
6913
+ },
6914
+ {
6915
+ "kind": "webfonts#webfont",
6916
+ "family": "Uncial Antiqua",
6917
+ "variants": [
6918
+ "regular"
6919
+ ],
6920
+ "subsets": [
6921
+ "latin"
6922
+ ]
6923
+ },
6924
+ {
6925
+ "kind": "webfonts#webfont",
6926
+ "family": "Underdog",
6927
+ "variants": [
6928
+ "regular"
6929
+ ],
6930
+ "subsets": [
6931
+ "latin",
6932
+ "latin-ext",
6933
+ "cyrillic"
6934
+ ]
6935
+ },
6936
+ {
6937
+ "kind": "webfonts#webfont",
6938
+ "family": "Unica One",
6939
+ "variants": [
6940
+ "regular"
6941
+ ],
6942
+ "subsets": [
6943
+ "latin",
6944
+ "latin-ext"
6945
+ ]
6946
+ },
6947
+ {
6948
+ "kind": "webfonts#webfont",
6949
+ "family": "UnifrakturCook",
6950
+ "variants": [
6951
+ "700"
6952
+ ],
6953
+ "subsets": [
6954
+ "latin"
6955
+ ]
6956
+ },
6957
+ {
6958
+ "kind": "webfonts#webfont",
6959
+ "family": "UnifrakturMaguntia",
6960
+ "variants": [
6961
+ "regular"
6962
+ ],
6963
+ "subsets": [
6964
+ "latin"
6965
+ ]
6966
+ },
6967
+ {
6968
+ "kind": "webfonts#webfont",
6969
+ "family": "Unkempt",
6970
+ "variants": [
6971
+ "regular",
6972
+ "700"
6973
+ ],
6974
+ "subsets": [
6975
+ "latin"
6976
+ ]
6977
+ },
6978
+ {
6979
+ "kind": "webfonts#webfont",
6980
+ "family": "Unlock",
6981
+ "variants": [
6982
+ "regular"
6983
+ ],
6984
+ "subsets": [
6985
+ "latin"
6986
+ ]
6987
+ },
6988
+ {
6989
+ "kind": "webfonts#webfont",
6990
+ "family": "Unna",
6991
+ "variants": [
6992
+ "regular"
6993
+ ],
6994
+ "subsets": [
6995
+ "latin"
6996
+ ]
6997
+ },
6998
+ {
6999
+ "kind": "webfonts#webfont",
7000
+ "family": "VT323",
7001
+ "variants": [
7002
+ "regular"
7003
+ ],
7004
+ "subsets": [
7005
+ "latin"
7006
+ ]
7007
+ },
7008
+ {
7009
+ "kind": "webfonts#webfont",
7010
+ "family": "Vampiro One",
7011
+ "variants": [
7012
+ "regular"
7013
+ ],
7014
+ "subsets": [
7015
+ "latin",
7016
+ "latin-ext"
7017
+ ]
7018
+ },
7019
+ {
7020
+ "kind": "webfonts#webfont",
7021
+ "family": "Varela",
7022
+ "variants": [
7023
+ "regular"
7024
+ ],
7025
+ "subsets": [
7026
+ "latin",
7027
+ "latin-ext"
7028
+ ]
7029
+ },
7030
+ {
7031
+ "kind": "webfonts#webfont",
7032
+ "family": "Varela Round",
7033
+ "variants": [
7034
+ "regular"
7035
+ ],
7036
+ "subsets": [
7037
+ "latin"
7038
+ ]
7039
+ },
7040
+ {
7041
+ "kind": "webfonts#webfont",
7042
+ "family": "Vast Shadow",
7043
+ "variants": [
7044
+ "regular"
7045
+ ],
7046
+ "subsets": [
7047
+ "latin"
7048
+ ]
7049
+ },
7050
+ {
7051
+ "kind": "webfonts#webfont",
7052
+ "family": "Vibur",
7053
+ "variants": [
7054
+ "regular"
7055
+ ],
7056
+ "subsets": [
7057
+ "latin"
7058
+ ]
7059
+ },
7060
+ {
7061
+ "kind": "webfonts#webfont",
7062
+ "family": "Vidaloka",
7063
+ "variants": [
7064
+ "regular"
7065
+ ],
7066
+ "subsets": [
7067
+ "latin"
7068
+ ]
7069
+ },
7070
+ {
7071
+ "kind": "webfonts#webfont",
7072
+ "family": "Viga",
7073
+ "variants": [
7074
+ "regular"
7075
+ ],
7076
+ "subsets": [
7077
+ "latin",
7078
+ "latin-ext"
7079
+ ]
7080
+ },
7081
+ {
7082
+ "kind": "webfonts#webfont",
7083
+ "family": "Voces",
7084
+ "variants": [
7085
+ "regular"
7086
+ ],
7087
+ "subsets": [
7088
+ "latin",
7089
+ "latin-ext"
7090
+ ]
7091
+ },
7092
+ {
7093
+ "kind": "webfonts#webfont",
7094
+ "family": "Volkhov",
7095
+ "variants": [
7096
+ "regular",
7097
+ "italic",
7098
+ "700",
7099
+ "700italic"
7100
+ ],
7101
+ "subsets": [
7102
+ "latin"
7103
+ ]
7104
+ },
7105
+ {
7106
+ "kind": "webfonts#webfont",
7107
+ "family": "Vollkorn",
7108
+ "variants": [
7109
+ "regular",
7110
+ "italic",
7111
+ "700",
7112
+ "700italic"
7113
+ ],
7114
+ "subsets": [
7115
+ "latin"
7116
+ ]
7117
+ },
7118
+ {
7119
+ "kind": "webfonts#webfont",
7120
+ "family": "Voltaire",
7121
+ "variants": [
7122
+ "regular"
7123
+ ],
7124
+ "subsets": [
7125
+ "latin"
7126
+ ]
7127
+ },
7128
+ {
7129
+ "kind": "webfonts#webfont",
7130
+ "family": "Waiting for the Sunrise",
7131
+ "variants": [
7132
+ "regular"
7133
+ ],
7134
+ "subsets": [
7135
+ "latin"
7136
+ ]
7137
+ },
7138
+ {
7139
+ "kind": "webfonts#webfont",
7140
+ "family": "Wallpoet",
7141
+ "variants": [
7142
+ "regular"
7143
+ ],
7144
+ "subsets": [
7145
+ "latin"
7146
+ ]
7147
+ },
7148
+ {
7149
+ "kind": "webfonts#webfont",
7150
+ "family": "Walter Turncoat",
7151
+ "variants": [
7152
+ "regular"
7153
+ ],
7154
+ "subsets": [
7155
+ "latin"
7156
+ ]
7157
+ },
7158
+ {
7159
+ "kind": "webfonts#webfont",
7160
+ "family": "Warnes",
7161
+ "variants": [
7162
+ "regular"
7163
+ ],
7164
+ "subsets": [
7165
+ "latin",
7166
+ "latin-ext"
7167
+ ]
7168
+ },
7169
+ {
7170
+ "kind": "webfonts#webfont",
7171
+ "family": "Wellfleet",
7172
+ "variants": [
7173
+ "regular"
7174
+ ],
7175
+ "subsets": [
7176
+ "latin",
7177
+ "latin-ext"
7178
+ ]
7179
+ },
7180
+ {
7181
+ "kind": "webfonts#webfont",
7182
+ "family": "Wendy One",
7183
+ "variants": [
7184
+ "regular"
7185
+ ],
7186
+ "subsets": [
7187
+ "latin",
7188
+ "latin-ext"
7189
+ ]
7190
+ },
7191
+ {
7192
+ "kind": "webfonts#webfont",
7193
+ "family": "Wire One",
7194
+ "variants": [
7195
+ "regular"
7196
+ ],
7197
+ "subsets": [
7198
+ "latin"
7199
+ ]
7200
+ },
7201
+ {
7202
+ "kind": "webfonts#webfont",
7203
+ "family": "Yanone Kaffeesatz",
7204
+ "variants": [
7205
+ "200",
7206
+ "300",
7207
+ "regular",
7208
+ "700"
7209
+ ],
7210
+ "subsets": [
7211
+ "latin",
7212
+ "latin-ext"
7213
+ ]
7214
+ },
7215
+ {
7216
+ "kind": "webfonts#webfont",
7217
+ "family": "Yellowtail",
7218
+ "variants": [
7219
+ "regular"
7220
+ ],
7221
+ "subsets": [
7222
+ "latin"
7223
+ ]
7224
+ },
7225
+ {
7226
+ "kind": "webfonts#webfont",
7227
+ "family": "Yeseva One",
7228
+ "variants": [
7229
+ "regular"
7230
+ ],
7231
+ "subsets": [
7232
+ "latin",
7233
+ "latin-ext",
7234
+ "cyrillic"
7235
+ ]
7236
+ },
7237
+ {
7238
+ "kind": "webfonts#webfont",
7239
+ "family": "Yesteryear",
7240
+ "variants": [
7241
+ "regular"
7242
+ ],
7243
+ "subsets": [
7244
+ "latin"
7245
+ ]
7246
+ },
7247
+ {
7248
+ "kind": "webfonts#webfont",
7249
+ "family": "Zeyada",
7250
+ "variants": [
7251
+ "regular"
7252
+ ],
7253
+ "subsets": [
7254
+ "latin"
7255
+ ]
7256
+ }
7257
+ ]
7258
+ }
skin/adminhtml/default/default/ma2/js/webfonts/gwebfonts.seri ADDED
@@ -0,0 +1 @@
 
1
+ a:570:{i:0;s:4:"Abel";i:1;s:17:"Abril Fatface:400";i:2;s:8:"Aclonica";i:3;s:8:"Acme:400";i:4;s:5:"Actor";i:5;s:11:"Adamina:400";i:6;s:38:"Advent Pro:700,200,500,100,300,400,600";i:7;s:19:"Aguafina Script:400";i:8;s:10:"Aladin:400";i:9;s:7:"Aldrich";i:10;s:50:"Alegreya:italic400,400,italic700,700,italic900,900";i:11;s:53:"Alegreya SC:italic900,italic400,italic700,700,400,900";i:12;s:14:"Alex Brush:400";i:13;s:17:"Alfa Slab One:400";i:14;s:5:"Alice";i:15;s:5:"Alike";i:16;s:13:"Alike Angular";i:17;s:10:"Allan:bold";i:18;s:7:"Allerta";i:19;s:15:"Allerta Stencil";i:20;s:10:"Allura:400";i:21;s:26:"Almendra:italic400,400,700";i:22;s:15:"Almendra SC:400";i:23;s:36:"Amaranth:700,400,italic700,italic400";i:24;s:17:"Amatic SC:700,400";i:25;s:13:"Amethysta:400";i:26;s:10:"Andada:400";i:27;s:6:"Andika";i:28;s:6:"Angkor";i:29;s:24:"Annie Use Your Telescope";i:30;s:43:"Anonymous Pro:bold,italicbold,normal,italic";i:31;s:9:"Antic:400";i:32;s:16:"Antic Didone:400";i:33;s:14:"Antic Slab:400";i:34;s:5:"Anton";i:35;s:20:"Arapey:italic400,400";i:36;s:11:"Arbutus:400";i:37;s:19:"Architects Daughter";i:38;s:35:"Arimo:italicbold,bold,normal,italic";i:39;s:12:"Arizonia:400";i:40;s:10:"Armata:400";i:41;s:8:"Artifika";i:42;s:34:"Arvo:italic,bold,italicbold,normal";i:43;s:32:"Asap:italic400,400,italic700,700";i:44;s:5:"Asset";i:45;s:19:"Astloch:normal,bold";i:46;s:13:"Asul:400,bold";i:47;s:14:"Atomic Age:400";i:48;s:6:"Aubrey";i:49;s:13:"Audiowide:400";i:50;s:11:"Average:400";i:51;s:23:"Averia Gruesa Libre:400";i:52;s:54:"Averia Libre:300,italic400,400,italic700,italic300,700";i:53;s:59:"Averia Sans Libre:400,italic400,italic700,italic300,700,300";i:54;s:60:"Averia Serif Libre:italic300,700,italic400,400,italic700,300";i:55;s:14:"Bad Script:400";i:56;s:13:"Balthazar:400";i:57;s:11:"Bangers:400";i:58;s:9:"Basic:400";i:59;s:22:"Battambang:bold,normal";i:60;s:11:"Baumans:400";i:61;s:5:"Bayon";i:62;s:12:"Belgrano:400";i:63;s:11:"Belleza:400";i:64;s:7:"Bentham";i:65;s:19:"Berkshire Swash:400";i:66;s:5:"Bevan";i:67;s:11:"Bigshot One";i:68;s:9:"Bilbo:400";i:69;s:20:"Bilbo Swash Caps:400";i:70;s:24:"Bitter:400,700,italic400";i:71;s:13:"Black Ops One";i:72;s:5:"Bokor";i:73;s:10:"Bonbon:400";i:74;s:12:"Boogaloo:400";i:75;s:10:"Bowlby One";i:76;s:13:"Bowlby One SC";i:77;s:7:"Brawler";i:78;s:14:"Bree Serif:400";i:79;s:18:"Bubblegum Sans:400";i:80;s:15:"Bubbler One:400";i:81;s:8:"Buda:300";i:82;s:15:"Buenard:400,700";i:83;s:14:"Butcherman:400";i:84;s:15:"Butcherman Caps";i:85;s:18:"Butterfly Kids:400";i:86;s:63:"Cabin:italic600,500,italicbold,italic500,italic400,400,600,bold";i:87;s:31:"Cabin Condensed:500,700,600,400";i:88;s:24:"Cabin Sketch:bold,normal";i:89;s:19:"Caesar Dressing:400";i:90;s:14:"Cagliostro:400";i:91;s:14:"Calligraffitti";i:92;s:9:"Cambo:400";i:93;s:6:"Candal";i:94;s:39:"Cantarell:italic,bold,italicbold,normal";i:95;s:15:"Cantata One:400";i:96;s:23:"Cardo:700,400,italic400";i:97;s:5:"Carme";i:98;s:10:"Carter One";i:99;s:31:"Caudex:italic,italic700,400,700";i:100;s:18:"Cedarville Cursive";i:101;s:15:"Ceviche One:400";i:102;s:24:"Changa One:italic,normal";i:103;s:10:"Chango:400";i:104;s:32:"Chau Philomene One:italic400,400";i:105;s:18:"Chelsea Market:400";i:106;s:6:"Chenla";i:107;s:17:"Cherry Cream Soda";i:108;s:5:"Chewy";i:109;s:10:"Chicle:400";i:110;s:33:"Chivo:italic400,italic900,400,900";i:111;s:9:"Clara:400";i:112;s:12:"Coda:400,800";i:113;s:16:"Coda Caption:800";i:114;s:16:"Codystar:300,400";i:115;s:21:"Comfortaa:300,700,400";i:116;s:11:"Coming Soon";i:117;s:15:"Concert One:400";i:118;s:13:"Condiment:400";i:119;s:19:"Content:bold,normal";i:120;s:12:"Contrail One";i:121;s:15:"Convergence:400";i:122;s:10:"Cookie:400";i:123;s:5:"Copse";i:124;s:14:"Corben:700,400";i:125;s:37:"Cousine:italic,normal,italicbold,bold";i:126;s:16:"Coustard:900,400";i:127;s:21:"Covered By Your Grace";i:128;s:12:"Crafty Girls";i:129;s:9:"Creepster";i:130;s:14:"Creepster Caps";i:131;s:25:"Crete Round:italic400,400";i:132;s:54:"Crimson Text:700,italic400,400,italic600,italic700,600";i:133;s:7:"Crushed";i:134;s:34:"Cuprum:700,italic700,400,italic400";i:135;s:10:"Cutive:400";i:136;s:6:"Damion";i:137;s:26:"Dancing Script:bold,normal";i:138;s:7:"Dangrek";i:139;s:20:"Dawning of a New Day";i:140;s:12:"Days One:400";i:141;s:10:"Delius:400";i:142;s:21:"Delius Swash Caps:400";i:143;s:22:"Delius Unicase:700,400";i:144;s:17:"Della Respira:400";i:145;s:14:"Devonshire:400";i:146;s:14:"Dhyana:700,400";i:147;s:13:"Didact Gothic";i:148;s:13:"Diplomata:400";i:149;s:16:"Diplomata SC:400";i:150;s:14:"Doppio One:400";i:151;s:9:"Dorsa:400";i:152;s:33:"Dosis:300,600,200,400,500,700,800";i:153;s:15:"Dr Sugiyama:400";i:154;s:29:"Droid Arabic Kufi:bold,normal";i:155;s:30:"Droid Arabic Naskh:normal,bold";i:156;s:22:"Droid Sans:bold,normal";i:157;s:31:"Droid Sans Ethiopic:bold,normal";i:158;s:15:"Droid Sans Mono";i:159;s:27:"Droid Sans Thai:bold,normal";i:160;s:41:"Droid Serif:bold,normal,italicbold,italic";i:161;s:28:"Droid Serif Thai:bold,normal";i:162;s:13:"Duru Sans:400";i:163;s:13:"Dynalight:400";i:164;s:11:"EB Garamond";i:165;s:9:"Eater:400";i:166;s:14:"Eater Caps:400";i:167;s:37:"Economica:italic400,400,700,italic700";i:168;s:15:"Electrolize:400";i:169;s:15:"Emblema One:400";i:170;s:16:"Emilys Candy:400";i:171;s:14:"Engagement:400";i:172;s:17:"Enriqueta:400,700";i:173;s:13:"Erica One:400";i:174;s:11:"Esteban:400";i:175;s:19:"Euphoria Script:400";i:176;s:9:"Ewert:400";i:177;s:129:"Exo:200,100,500,italic500,800,italic800,italic200,700,300,italic300,600,italic900,italic700,italic100,900,italic600,400,italic400";i:178;s:69:"Expletus Sans:500,italic600,600,italic400,italic700,700,400,italic500";i:179;s:26:"Fanwood Text:italic400,400";i:180;s:13:"Fascinate:400";i:181;s:20:"Fascinate Inline:400";i:182;s:12:"Federant:400";i:183;s:6:"Federo";i:184;s:10:"Felipa:400";i:185;s:13:"Fjord One:400";i:186;s:16:"Flamenco:300,400";i:187;s:11:"Flavors:400";i:188;s:24:"Fondamento:400,italic400";i:189;s:16:"Fontdiner Swanky";i:190;s:5:"Forum";i:191;s:12:"Francois One";i:192;s:24:"Fredericka the Great:400";i:193;s:15:"Fredoka One:400";i:194;s:8:"Freehand";i:195;s:10:"Fresca:400";i:196;s:11:"Frijole:400";i:197;s:13:"Fugaz One:400";i:198;s:9:"GFS Didot";i:199;s:45:"GFS Neohellenic:italic,italicbold,normal,bold";i:200;s:12:"Galdeano:400";i:201;s:43:"Gentium Basic:italicbold,bold,normal,italic";i:202;s:48:"Gentium Book Basic:bold,italicbold,italic,normal";i:203;s:18:"Geo:normal,oblique";i:204;s:7:"Geostar";i:205;s:12:"Geostar Fill";i:206;s:16:"Germania One:400";i:207;s:14:"Give You Glory";i:208;s:17:"Glass Antiqua:400";i:209;s:10:"Glegoo:400";i:210;s:17:"Gloria Hallelujah";i:211;s:10:"Goblin One";i:212;s:14:"Gochi Hand:400";i:213;s:17:"Gorditas:400,bold";i:214;s:21:"Goudy Bookletter 1911";i:215;s:12:"Graduate:400";i:216;s:12:"Gravitas One";i:217;s:15:"Great Vibes:400";i:218;s:10:"Gruppo:400";i:219;s:21:"Gudea:400,bold,italic";i:220;s:10:"Habibi:400";i:221;s:15:"Hammersmith One";i:222;s:11:"Handlee:400";i:223;s:19:"Hanuman:normal,bold";i:224;s:16:"Happy Monkey:400";i:225;s:16:"Headland One:400";i:226;s:15:"Henny Penny:400";i:227;s:24:"Herr Von Muellerhoff:400";i:228;s:15:"Holtwood One SC";i:229;s:14:"Homemade Apple";i:230;s:12:"Homenaje:400";i:231;s:29:"IM Fell DW Pica:italic,normal";i:232;s:18:"IM Fell DW Pica SC";i:233;s:33:"IM Fell Double Pica:normal,italic";i:234;s:22:"IM Fell Double Pica SC";i:235;s:29:"IM Fell English:italic,normal";i:236;s:18:"IM Fell English SC";i:237;s:34:"IM Fell French Canon:italic,normal";i:238;s:23:"IM Fell French Canon SC";i:239;s:34:"IM Fell Great Primer:italic,normal";i:240;s:23:"IM Fell Great Primer SC";i:241;s:11:"Iceberg:400";i:242;s:11:"Iceland:400";i:243;s:11:"Imprima:400";i:244;s:19:"Inconsolata:700,400";i:245;s:9:"Inder:400";i:246;s:12:"Indie Flower";i:247;s:14:"Inika:400,bold";i:248;s:12:"Irish Grover";i:249;s:13:"Irish Growler";i:250;s:37:"Istok Web:italic700,400,700,italic400";i:251;s:12:"Italiana:400";i:252;s:13:"Italianno:400";i:253;s:18:"Jim Nightshade:400";i:254;s:14:"Jockey One:400";i:255;s:16:"Jolly Lodger:400";i:256;s:82:"Josefin Sans:italic600,italic100,600,italic400,700,italic700,100,italic300,400,300";i:257;s:22:"Josefin Sans Std Light";i:258;s:82:"Josefin Slab:100,italic600,700,italic400,italic100,600,italic300,300,400,italic700";i:259;s:24:"Judson:700,italic400,400";i:260;s:5:"Julee";i:261;s:9:"Junge:400";i:262;s:20:"Jura:400,500,600,300";i:263;s:17:"Just Another Hand";i:264;s:23:"Just Me Again Down Here";i:265;s:15:"Kameron:400,700";i:266;s:33:"Karla:700,400,italic700,italic400";i:267;s:18:"Kaushan Script:400";i:268;s:10:"Kelly Slab";i:269;s:5:"Kenia";i:270;s:5:"Khmer";i:271;s:11:"Knewave:400";i:272;s:13:"Kotta One:400";i:273;s:6:"Koulen";i:274;s:6:"Kranky";i:275;s:17:"Kreon:700,400,300";i:276;s:6:"Kristi";i:277;s:13:"Krona One:400";i:278;s:15:"La Belle Aurore";i:279;s:12:"Lancelot:400";i:280;s:10:"Lateef:400";i:281;s:74:"Lato:italic300,300,900,700,italic100,100,italic700,400,italic900,italic400";i:282;s:17:"League Script:400";i:283;s:12:"Leckerli One";i:284;s:10:"Ledger:400";i:285;s:21:"Lekton:italic,400,700";i:286;s:9:"Lemon:400";i:287;s:14:"Lilita One:400";i:288;s:9:"Limelight";i:289;s:25:"Linden Hill:400,italic400";i:290;s:7:"Lobster";i:291;s:39:"Lobster Two:italic400,700,400,italic700";i:292;s:13:"Lohit Bengali";i:293;s:16:"Lohit Devanagari";i:294;s:11:"Lohit Tamil";i:295;s:20:"Londrina Outline:400";i:296;s:19:"Londrina Shadow:400";i:297;s:19:"Londrina Sketch:400";i:298;s:18:"Londrina Solid:400";i:299;s:34:"Lora:italic,normal,bold,italicbold";i:300;s:21:"Love Ya Like A Sister";i:301;s:17:"Loved by the King";i:302;s:18:"Lovers Quarrel:400";i:303;s:12:"Luckiest Guy";i:304;s:17:"Lusitana:bold,400";i:305;s:11:"Lustria:400";i:306;s:11:"Macondo:400";i:307;s:22:"Macondo Swash Caps:400";i:308;s:14:"Magra:bold,400";i:309;s:13:"Maiden Orange";i:310;s:4:"Mako";i:311;s:16:"Marck Script:400";i:312;s:13:"Marko One:400";i:313;s:12:"Marmelad:400";i:314;s:34:"Marvel:400,700,italic700,italic400";i:315;s:18:"Mate:400,italic400";i:316;s:11:"Mate SC:400";i:317;s:25:"Maven Pro:700,900,500,400";i:318;s:6:"Meddon";i:319;s:13:"MedievalSharp";i:320;s:14:"Medula One:400";i:321;s:6:"Megrim";i:322;s:12:"Merienda One";i:323;s:28:"Merriweather:700,900,400,300";i:324;s:5:"Metal";i:325;s:16:"Metamorphous:400";i:326;s:11:"Metrophobic";i:327;s:5:"Miama";i:328;s:8:"Michroma";i:329;s:9:"Miltonian";i:330;s:16:"Miltonian Tattoo";i:331;s:11:"Miniver:400";i:332;s:18:"Miss Fajardose:400";i:333;s:24:"Miss Saint Delafield:400";i:334;s:14:"Modern Antiqua";i:335;s:7:"Molengo";i:336;s:8:"Monofett";i:337;s:11:"Monoton:400";i:338;s:24:"Monsieur La Doulaise:400";i:339;s:11:"Montaga:400";i:340;s:6:"Montez";i:341;s:14:"Montserrat:400";i:342;s:4:"Moul";i:343;s:8:"Moulpali";i:344;s:30:"Mountains of Christmas:700,400";i:345;s:14:"Mr Bedford:400";i:346;s:14:"Mr Bedfort:400";i:347;s:12:"Mr Dafoe:400";i:348;s:18:"Mr De Haviland:400";i:349;s:23:"Mrs Saint Delafield:400";i:350;s:17:"Mrs Sheppards:400";i:351;s:32:"Muli:italic400,400,italic300,300";i:352;s:17:"Mystery Quest:400";i:353;s:18:"Nanum Brush Script";i:354;s:27:"Nanum Gothic:800,700,normal";i:355;s:30:"Nanum Gothic Coding:normal,700";i:356;s:29:"Nanum Myeongjo:700,normal,800";i:357;s:16:"Nanum Pen Script";i:358;s:6:"Neucha";i:359;s:36:"Neuton:italic400,700,400,300,800,200";i:360;s:18:"Neuton Cursive:400";i:361;s:18:"News Cycle:400,700";i:362;s:11:"Niconne:400";i:363;s:9:"Nixie One";i:364;s:48:"Nobile:700,italic500,400,italic700,500,italic400";i:365;s:14:"Nokora:700,400";i:366;s:11:"Norican:400";i:367;s:11:"Nosifer:400";i:368;s:16:"Nosifer Caps:400";i:369;s:20:"Nothing You Could Do";i:370;s:40:"Noticia Text:400,italic400,italic700,700";i:371;s:8:"Nova Cut";i:372;s:9:"Nova Flat";i:373;s:9:"Nova Mono";i:374;s:9:"Nova Oval";i:375;s:10:"Nova Round";i:376;s:11:"Nova Script";i:377;s:9:"Nova Slim";i:378;s:11:"Nova Square";i:379;s:10:"Numans:400";i:380;s:18:"Nunito:700,300,400";i:381;s:37:"OFL Sorts Mill Goudy TT:italic,normal";i:382;s:14:"Odor Mean Chey";i:383;s:34:"Old Standard TT:italic,bold,normal";i:384;s:13:"Oldenburg:400";i:385;s:20:"Oleo Script:400,bold";i:386;s:79:"Open Sans:italic800,600,italic400,700,italic700,800,italic300,300,italic600,400";i:387;s:37:"Open Sans Condensed:700,italic300,300";i:388;s:24:"Orbitron:500,900,400,700";i:389;s:19:"Original Surfer:400";i:390;s:18:"Oswald:700,400,300";i:391;s:16:"Over the Rainbow";i:392;s:50:"Overlock:italic400,italic900,italic700,900,400,700";i:393;s:15:"Overlock SC:400";i:394;s:3:"Ovo";i:395;s:10:"Oxygen:400";i:396;s:7:"PT Mono";i:397;s:37:"PT Sans:italic,bold,normal,italicbold";i:398;s:27:"PT Sans Caption:normal,bold";i:399;s:26:"PT Sans Narrow:normal,bold";i:400;s:38:"PT Serif:italic,normal,bold,italicbold";i:401;s:30:"PT Serif Caption:normal,italic";i:402;s:8:"Pacifico";i:403;s:14:"Parisienne:400";i:404;s:11:"Passero One";i:405;s:23:"Passion One:700,900,400";i:406;s:12:"Patrick Hand";i:407;s:13:"Patua One:400";i:408;s:11:"Paytone One";i:409;s:6:"Pecita";i:410;s:16:"Permanent Marker";i:411;s:11:"Petrona:400";i:412;s:41:"Philosopher:bold,normal,italic,italicbold";i:413;s:10:"Piedra:400";i:414;s:13:"Pinyon Script";i:415;s:11:"Plaster:400";i:416;s:16:"Play:bold,normal";i:417;s:12:"Playball:400";i:418;s:72:"Playfair Display:italic700,italic400,900,400,italic900,italic600,600,700";i:419;s:75:"Playfair Display SC:400,italic900,900,700,italic600,600,italic400,italic700";i:420;s:15:"Podkova:700,400";i:421;s:14:"Poiret One:400";i:422;s:10:"Poller One";i:423;s:18:"Poly:400,italic400";i:424;s:8:"Pompiere";i:425;s:16:"Pontano Sans:400";i:426;s:20:"Port Lligat Sans:400";i:427;s:20:"Port Lligat Slab:400";i:428;s:9:"Prata:400";i:429;s:11:"Preahvihear";i:430;s:18:"Press Start 2P:400";i:431;s:18:"Princess Sofia:400";i:432;s:12:"Prociono:400";i:433;s:14:"Prosto One:400";i:434;s:37:"Puritan:bold,italic,italicbold,normal";i:435;s:36:"Quantico:italic700,700,italic400,400";i:436;s:20:"Quattrocento:400,700";i:437;s:45:"Quattrocento Sans:400,italic700,700,italic400";i:438;s:13:"Questrial:400";i:439;s:51:"Quicksand:italic400,400,700,300,italic700,italic300";i:440;s:11:"Qwigley:400";i:441;s:20:"Radley:italic400,400";i:442;s:11:"Raleway:100";i:443;s:16:"Rammetto One:400";i:444;s:10:"Rancho:400";i:445;s:9:"Rationale";i:446;s:9:"Redressed";i:447;s:13:"Reenie Beanie";i:448;s:11:"Revalia:400";i:449;s:10:"Ribeye:400";i:450;s:17:"Ribeye Marrow:400";i:451;s:13:"Righteous:400";i:452;s:90:"Roboto:500,italic300,700,italic700,100,italic400,300,italic900,400,italic100,italic500,900";i:453;s:44:"Roboto Condensed:italic700,italic,normal,700";i:454;s:9:"Rochester";i:455;s:9:"Rock Salt";i:456;s:19:"Rokkitt:700,400,300";i:457;s:23:"Ropa Sans:400,italic400";i:458;s:35:"Rosario:700,italic400,400,italic700";i:459;s:19:"Rosarivo:italic,400";i:460;s:16:"Rouge Script:400";i:461;s:16:"Ruda:900,400,700";i:462;s:15:"Ruge Boogie:400";i:463;s:10:"Ruluko:400";i:464;s:14:"Ruslan Display";i:465;s:13:"Russo One:400";i:466;s:10:"Ruthie:400";i:467;s:8:"Sail:400";i:468;s:9:"Salsa:400";i:469;s:12:"Sancreek:400";i:470;s:11:"Sansita One";i:471;s:10:"Sarina:400";i:472;s:11:"Satisfy:400";i:473;s:16:"Scheherazade:400";i:474;s:10:"Schoolbell";i:475;s:18:"Seaweed Script:400";i:476;s:13:"Sevillana:400";i:477;s:18:"Shadows Into Light";i:478;s:22:"Shadows Into Light Two";i:479;s:6:"Shanti";i:480;s:33:"Share:400,italic700,italic400,700";i:481;s:13:"Shojumaru:400";i:482;s:15:"Short Stack:400";i:483;s:8:"Siamreap";i:484;s:8:"Siemreap";i:485;s:10:"Sigmar One";i:486;s:23:"Signika:600,300,400,700";i:487;s:32:"Signika Negative:300,700,400,600";i:488;s:37:"Simonetta:900,italic400,400,italic900";i:489;s:17:"Sirin Stencil:400";i:490;s:8:"Six Caps";i:491;s:7:"Slackey";i:492;s:6:"Smokum";i:493;s:6:"Smythe";i:494;s:11:"Sniglet:800";i:495;s:7:"Snippet";i:496;s:9:"Sofia:400";i:497;s:14:"Sonsie One:400";i:498;s:30:"Sorts Mill Goudy:italic400,400";i:499;s:13:"Special Elite";i:500;s:14:"Spicy Rice:400";i:501;s:13:"SpicyRice:400";i:502;s:9:"Spinnaker";i:503;s:10:"Spirax:400";i:504;s:14:"Squada One:400";i:505;s:27:"Stardos Stencil:normal,bold";i:506;s:25:"Stint Ultra Condensed:400";i:507;s:24:"Stint Ultra Expanded:400";i:508;s:9:"Stoke:400";i:509;s:10:"Strong:400";i:510;s:19:"Sue Ellen Francisco";i:511;s:9:"Sunshiney";i:512;s:20:"Supermercado One:400";i:513;s:11:"Suwannaphum";i:514;s:18:"Swanky and Moo Moo";i:515;s:21:"Syncopate:normal,bold";i:516;s:21:"Tangerine:normal,bold";i:517;s:6:"Taprom";i:518;s:9:"Telex:400";i:519;s:10:"Tenor Sans";i:520;s:42:"Terminal Dosis:600,200,500,400,800,300,700";i:521;s:20:"Terminal Dosis Light";i:522;s:36:"Thabit:italic,italicbold,normal,bold";i:523;s:18:"The Girl Next Door";i:524;s:18:"Tienne:400,900,700";i:525;s:35:"Tinos:italicbold,normal,italic,bold";i:526;s:13:"Titan One:400";i:527;s:15:"Trade Winds:400";i:528;s:11:"Trocchi:400";i:529;s:23:"Trochut:bold,italic,400";i:530;s:11:"Trykker:400";i:531;s:33:"Tuffy:400,italic700,700,italic400";i:532;s:10:"Tulpen One";i:533;s:64:"Ubuntu:bold,300,normal,italicbold,italic,italic500,500,italic300";i:534;s:20:"Ubuntu Condensed:400";i:535;s:41:"Ubuntu Mono:normal,bold,italic,italicbold";i:536;s:5:"Ultra";i:537;s:18:"Uncial Antiqua:400";i:538;s:19:"UnifrakturCook:bold";i:539;s:18:"UnifrakturMaguntia";i:540;s:15:"Unkempt:700,400";i:541;s:6:"Unlock";i:542;s:4:"Unna";i:543;s:5:"VT323";i:544;s:6:"Varela";i:545;s:12:"Varela Round";i:546;s:11:"Vast Shadow";i:547;s:5:"Vibur";i:548;s:12:"Vidaloka:400";i:549;s:8:"Viga:400";i:550;s:9:"Voces:400";i:551;s:35:"Volkhov:400,italic400,700,italic700";i:552;s:38:"Vollkorn:bold,italic,italicbold,normal";i:553;s:12:"Voltaire:400";i:554;s:23:"Waiting for the Sunrise";i:555;s:8:"Wallpoet";i:556;s:15:"Walter Turncoat";i:557;s:13:"Wellfleet:400";i:558;s:8:"Wire One";i:559;s:33:"Yanone Kaffeesatz:700,200,400,300";i:560;s:10:"Yellowtail";i:561;s:10:"Yeseva One";i:562;s:14:"Yesteryear:400";i:563;s:6:"Zeyada";i:564;s:13:"jsMath cmbx10";i:565;s:13:"jsMath cmex10";i:566;s:13:"jsMath cmmi10";i:567;s:12:"jsMath cmr10";i:568;s:13:"jsMath cmsy10";i:569;s:13:"jsMath cmti10";}
skin/adminhtml/default/default/ma2/js/webfonts/index.html ADDED
@@ -0,0 +1 @@
 
1
+ <!DOCTYPE html><title></title>
skin/adminhtml/default/default/ma2/js/webfonts/webfont.js ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 2013 Small Batch, Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5
+ * use this file except in compliance with the License. You may obtain a copy of
6
+ * the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13
+ * License for the specific language governing permissions and limitations under
14
+ * the License.
15
+ */
16
+ ;(function(window,document,undefined){
17
+ var j=void 0,k=!0,l=null,m=!1;function n(a){return function(){return this[a]}}var o;function t(a,b,c){var d=2<arguments.length?Array.prototype.slice.call(arguments,2):[];return function(){d.push.apply(d,arguments);return b.apply(a,d)}};function aa(a,b){this.P=a;this.K=b||a;this.R=this.K.document;this.ba=j}aa.prototype.createElement=function(a,b,c){a=this.R.createElement(a);if(b)for(var d in b)if(b.hasOwnProperty(d))if("style"==d){var e=a,f=b[d];ba(this)?e.setAttribute("style",f):e.style.cssText=f}else a.setAttribute(d,b[d]);c&&a.appendChild(this.R.createTextNode(c));return a};function u(a,b,c){a=a.R.getElementsByTagName(b)[0];a||(a=document.documentElement);a&&a.lastChild&&a.insertBefore(c,a.lastChild)}
18
+ function ca(a){function b(){document.body?a():setTimeout(b,0)}b()}function v(a,b){return a.createElement("link",{rel:"stylesheet",href:b})}function da(a,b){return a.createElement("script",{src:b})}function w(a,b){for(var c=a.className.split(/\s+/),d=0,e=c.length;d<e;d++)if(c[d]==b)return;c.push(b);a.className=c.join(" ").replace(/\s+/g," ").replace(/^\s+|\s+$/,"")}
19
+ function x(a,b){for(var c=a.className.split(/\s+/),d=[],e=0,f=c.length;e<f;e++)c[e]!=b&&d.push(c[e]);a.className=d.join(" ").replace(/\s+/g," ").replace(/^\s+|\s+$/,"")}function ea(a,b){for(var c=a.className.split(/\s+/),d=0,e=c.length;d<e;d++)if(c[d]==b)return k;return m}function ba(a){if(a.ba===j){var b=a.R.createElement("p");b.innerHTML='<a style="top:1px;">w</a>';a.ba=/top/.test(b.getElementsByTagName("a")[0].getAttribute("style"))}return a.ba}
20
+ function y(a){var b=a.K.location.protocol;"about:"==b&&(b=a.P.location.protocol);return"https:"==b?"https:":"http:"};function z(a,b,c){this.Ta=a;this.Ra=b;this.Sa=c}z.prototype.J=n("Ta");z.prototype.Y=n("Ra");function A(a,b,c,d,e,f,g,i){this.Ja=a;this.Qa=b;this.wa=c;this.va=d;this.Na=e;this.Ma=f;this.ua=g;this.v=i}o=A.prototype;o.getName=n("Ja");o.Da=n("Qa");o.fa=n("wa");o.Aa=n("va");o.Ba=n("Na");o.Ca=n("Ma");o.za=n("ua");o.z=n("v");function B(a,b){this.a=a;this.q=b}var fa=new A("Unknown","Unknown","Unknown","Unknown","Unknown","Unknown",j,new z(m,m,m));
21
+ B.prototype.parse=function(){var a;if(-1!=this.a.indexOf("MSIE")){a=C(this);var b=D(this),c=E(this.a,/(MSIE [\d\w\.]+)/,1);if(""!=c){var d=c.split(" "),c=d[0],d=d[1],e=F(d),f=F(b);a=new A(c,d,c,d,a,b,G(this.q),new z("Windows"==a&&6<=e.e||"Windows Phone"==a&&8<=f.e,m,m))}else a=new A("MSIE","Unknown","MSIE","Unknown",a,b,G(this.q),new z(m,m,m))}else if(-1!=this.a.indexOf("Opera"))a=ga(this);else if(/AppleWeb(K|k)it/.test(this.a)){a=C(this);var b=D(this),c=E(this.a,/AppleWeb(?:K|k)it\/([\d\.\+]+)/,
22
+ 1),g=m;""==c&&(c="Unknown");d=F(c);g=F(b);e="Unknown";-1!=this.a.indexOf("Chrome")||-1!=this.a.indexOf("CrMo")||-1!=this.a.indexOf("CriOS")?e="Chrome":"BlackBerry"==a||"Android"==a?e="BuiltinBrowser":-1!=this.a.indexOf("Safari")?e="Safari":-1!=this.a.indexOf("AdobeAIR")&&(e="AdobeAIR");f="Unknown";"BuiltinBrowser"==e?f="Unknown":-1!=this.a.indexOf("Version/")?f=E(this.a,/Version\/([\d\.\w]+)/,1):"Chrome"==e?f=E(this.a,/(Chrome|CrMo|CriOS)\/([\d\.]+)/,2):"AdobeAIR"==e&&(f=E(this.a,/AdobeAIR\/([\d\.]+)/,
23
+ 1));"AdobeAIR"==e?(g=F(f),g=2<g.e||2==g.e&&5<=g.A):g="BlackBerry"==a?10<=g.e:"Android"==a?2<g.e||2==g.e&&1<g.A:526<=d.e||525<=d.e&&13<=d.A;a=new A(e,f,"AppleWebKit",c,a,b,G(this.q),new z(g,536>d.e||536==d.e&&11>d.A,"iPhone"==a||"iPad"==a||"iPod"==a||"Macintosh"==a))}else-1!=this.a.indexOf("Gecko")?(b=a="Unknown",c=m,-1!=this.a.indexOf("Firefox")?(a="Firefox",d=E(this.a,/Firefox\/([\d\w\.]+)/,1),""!=d&&(c=F(d),b=d,c=3<=c.e&&5<=c.A)):-1!=this.a.indexOf("Mozilla")&&(a="Mozilla"),d=E(this.a,/rv:([^\)]+)/,
24
+ 1),""==d?d="Unknown":c||(c=F(d),c=1<c.e||1==c.e&&9<c.A||1==c.e&&9==c.A&&2<=c.La||d.match(/1\.9\.1b[123]/)!=l||d.match(/1\.9\.1\.[\d\.]+/)!=l),a=new A(a,b,"Gecko",d,C(this),D(this),G(this.q),new z(c,m,m))):a=fa;return a};function C(a){var b=E(a.a,/(iPod|iPad|iPhone|Android|Windows Phone|BB\d{2}|BlackBerry)/,1);if(""!=b)return/BB\d{2}/.test(b)&&(b="BlackBerry"),b;a=E(a.a,/(Linux|Mac_PowerPC|Macintosh|Windows|CrOS)/,1);return""!=a?("Mac_PowerPC"==a&&(a="Macintosh"),a):"Unknown"}
25
+ function D(a){var b=E(a.a,/(OS X|Windows NT|Android|CrOS) ([^;)]+)/,2);if(b||(b=E(a.a,/Windows Phone( OS)? ([^;)]+)/,2)))return b;if(b=E(a.a,/(iPhone )?OS ([\d_]+)/,2))return b;if(b=E(a.a,/Linux ([i\d]+)/,1))return b;return(a=E(a.a,/(BB\d{2}|BlackBerry).*?Version\/([^\s]*)/,2))?a:"Unknown"}
26
+ function ga(a){var b="Unknown",c="Unknown",d=E(a.a,/(Presto\/[\d\w\.]+)/,1);""!=d?(c=d.split("/"),b=c[0],c=c[1]):(-1!=a.a.indexOf("Gecko")&&(b="Gecko"),d=E(a.a,/rv:([^\)]+)/,1),""!=d&&(c=d));if(-1!=a.a.indexOf("Opera Mini/"))return d=E(a.a,/Opera Mini\/([\d\.]+)/,1),""==d&&(d="Unknown"),new A("OperaMini",d,b,c,C(a),D(a),G(a.q),new z(m,m,m));if(-1!=a.a.indexOf("Version/")){var e=E(a.a,/Version\/([\d\.]+)/,1);if(""!=e)return d=F(e),new A("Opera",e,b,c,C(a),D(a),G(a.q),new z(10<=d.e,m,m))}e=E(a.a,/Opera[\/ ]([\d\.]+)/,
27
+ 1);return""!=e?(d=F(e),new A("Opera",e,b,c,C(a),D(a),G(a.q),new z(10<=d.e,m,m))):new A("Opera","Unknown",b,c,C(a),D(a),G(a.q),new z(m,m,m))}function F(a){var a=/([0-9]+)(?:\.([0-9]+)(?:\.([0-9]+)?)?)?/.exec(a),b={};a&&(b.e=parseInt(a[1]||-1,10),b.A=parseInt(a[2]||-1,10),b.La=parseInt(a[3]||-1,10));return b}function E(a,b,c){return(a=a.match(b))&&a[c]?a[c]:""}function G(a){if(a.documentMode)return a.documentMode};function ha(a,b,c){this.c=a;this.j=b;this.da=c;this.k="wf";this.h=new ja("-")}function ka(a){w(a.j,a.h.f(a.k,"loading"));H(a,"loading")}function I(a){x(a.j,a.h.f(a.k,"loading"));ea(a.j,a.h.f(a.k,"active"))||w(a.j,a.h.f(a.k,"inactive"));H(a,"inactive")}function H(a,b,c,d){if(a.da[b])a.da[b](c,d)};function la(){this.ma={}}function ma(a,b,c){var d=[],e;for(e in b)if(b.hasOwnProperty(e)){var f=a.ma[e];f&&d.push(f(b[e],c))}return d};function na(a,b){this.width=a;this.height=b};function J(a,b,c,d,e,f,g){this.c=b;this.D=c;this.t=d;this.C=e;this.O=f;this.X=0;this.qa=this.ka=m;this.ca=g;this.v=a.z()}
28
+ J.prototype.watch=function(a,b,c,d,e){var f=a.length;if(0===f)I(this.D);else{for(var g=0;g<f;g++){var i=a[g];b[i]||(b[i]=["n4"]);this.X+=b[i].length}e&&(this.ka=e);for(g=0;g<f;g++)for(var i=a[g],e=b[i],p=c[i],h=0,q=e.length;h<q;h++){var s=e[h],r=this.D,S=i,ia=s;w(r.j,r.h.f(r.k,S,ia,"loading"));H(r,"fontloading",S,ia);r=t(this,this.xa);S=t(this,this.ya);(new d(r,S,this.c,this.t,this.C,this.O,i,s,this.v,this.ca,l,p)).start()}}};
29
+ J.prototype.xa=function(a,b){var c=this.D;x(c.j,c.h.f(c.k,a,b,"loading"));x(c.j,c.h.f(c.k,a,b,"inactive"));w(c.j,c.h.f(c.k,a,b,"active"));H(c,"fontactive",a,b);this.qa=k;oa(this)};J.prototype.ya=function(a,b){var c=this.D;x(c.j,c.h.f(c.k,a,b,"loading"));ea(c.j,c.h.f(c.k,a,b,"active"))||w(c.j,c.h.f(c.k,a,b,"inactive"));H(c,"fontinactive",a,b);oa(this)};
30
+ function oa(a){0==--a.X&&a.ka&&(a.qa?(a=a.D,x(a.j,a.h.f(a.k,"loading")),x(a.j,a.h.f(a.k,"inactive")),w(a.j,a.h.f(a.k,"active")),H(a,"active")):I(a.D))};function K(a,b,c,d,e,f,g,i,p,h,q,s){this.Q=a;this.ha=b;this.c=c;this.t=d;this.C=e;this.O=f;this.M=g;this.s=i;this.H=s||"BESbswy";this.v=p;this.o={};this.ca=h||5E3;this.la=q||l;this.G=this.F=l;a=new L(this.c,this.t,this.H);M(a);for(var r in N)N.hasOwnProperty(r)&&(O(a,N[r],this.s),this.o[N[r]]=a.m());a.remove()}var N={Xa:"serif",Wa:"sans-serif",Va:"monospace",Ua:"Apple Color Emoji"};
31
+ K.prototype.start=function(){this.F=new L(this.c,this.t,this.H);M(this.F);this.G=new L(this.c,this.t,this.H);M(this.G);this.pa=this.O();O(this.F,this.M+",serif",this.s);O(this.G,this.M+",sans-serif",this.s);this.W()};function P(a,b,c){return a.v.Sa?!!a.o[c]&&b.width==a.o[c].width:!!a.o[c]&&b.width==a.o[c].width&&!!a.o[c]&&b.height==a.o[c].height}function pa(a,b,c){for(var d in N)if(N.hasOwnProperty(d)&&P(a,b,N[d])&&P(a,c,N[d]))return k;return m}
32
+ K.prototype.W=function(){var a=this.F.m(),b=this.G.m();P(this,a,"serif")&&P(this,b,"sans-serif")||this.v.Y()&&pa(this,a,b)?this.O()-this.pa>=this.ca?this.v.Y()&&pa(this,a,b)&&(this.la===l||this.la.hasOwnProperty(this.M))?Q(this,this.Q):Q(this,this.ha):qa(this):Q(this,this.Q)};function qa(a){a.C(function(a,c){return function(){c.call(a)}}(a,a.W),25)}function Q(a,b){a.F.remove();a.G.remove();b(a.M,a.s)};function L(a,b,c){this.c=a;this.t=b;this.H=c;this.Ia=new ra;this.I=new R;this.S=this.c.createElement("span",{},this.H)}function O(a,b,c){var d=a.c,e=a.S,c=c?a.I.expand(c):"",a="position:absolute;top:-999px;left:-999px;font-size:300px;width:auto;height:auto;line-height:normal;margin:0;padding:0;font-variant:normal;white-space:nowrap;font-family:"+a.Ia.quote(b)+";"+c;ba(d)?e.setAttribute("style",a):e.style.cssText=a}function M(a){u(a.c,"body",a.S)}L.prototype.m=function(){return this.t.m(this.S)};
33
+ L.prototype.remove=function(){var a=this.S;a.parentNode&&a.parentNode.removeChild(a)};function T(a,b,c,d){this.P=a;this.ea=b;this.C=c;this.a=d;this.Z=this.$=0}T.prototype.u=function(a,b){this.ea.ma[a]=b};T.prototype.load=function(a){var b=a.context||this.P;this.c=new aa(this.P,b);b=new ha(this.c,b.document.documentElement,a);this.a.z().J()?sa(this,b,a):I(b)};T.prototype.Ea=function(a,b,c,d){var e=a.ga?a.ga():K;d?a.load(t(this,this.Ka,b,c,e)):(a=0==--this.$,this.Z--,a&&(0==this.Z?I(b):ka(b)),c.watch([],{},{},e,a))};
34
+ T.prototype.Ka=function(a,b,c,d,e,f){var g=0==--this.$;g&&ka(a);this.C(t(this,function(a,b,c,d,e,f){a.watch(b,c||{},d||{},e,f)},b,d,e,f,c,g))};function sa(a,b,c){var d=ma(a.ea,c,a.c),c=c.timeout;a.Z=a.$=d.length;for(var c=new J(a.a,a.c,b,{m:function(a){return new na(a.offsetWidth,a.offsetHeight)}},a.C,function(){return(new Date).getTime()},c),e=0,f=d.length;e<f;e++){var g=d[e];g.L(a.a,t(a,a.Ea,g,b,c))}};function ja(a){this.Fa=a||"-"}ja.prototype.f=function(a){for(var b=[],c=0;c<arguments.length;c++)b.push(arguments[c].replace(/[\W_]+/g,"").toLowerCase());return b.join(this.Fa)};function ra(){this.oa="'"}ra.prototype.quote=function(a){for(var b=[],a=a.split(/,\s*/),c=0;c<a.length;c++){var d=a[c].replace(/['"]/g,"");-1==d.indexOf(" ")?b.push(d):b.push(this.oa+d+this.oa)}return b.join(",")};function R(){this.U=ta;this.p=ua}var ta=["font-style","font-weight"],ua={"font-style":[["n","normal"],["i","italic"],["o","oblique"]],"font-weight":[["1","100"],["2","200"],["3","300"],["4","400"],["5","500"],["6","600"],["7","700"],["8","800"],["9","900"],["4","normal"],["7","bold"]]};function U(a,b,c){this.ia=a;this.Oa=b;this.p=c}U.prototype.compact=function(a,b){for(var c=0;c<this.p.length;c++)if(b==this.p[c][1]){a[this.ia]=this.p[c][0];break}};
35
+ U.prototype.expand=function(a,b){for(var c=0;c<this.p.length;c++)if(b==this.p[c][0]){a[this.ia]=this.Oa+":"+this.p[c][1];break}};R.prototype.compact=function(a){for(var b=["n","4"],a=a.split(";"),c=0,d=a.length;c<d;c++){var e=a[c].replace(/\s+/g,"").split(":");if(2==e.length){var f=e[1];a:{for(var e=e[0],g=0;g<this.U.length;g++)if(e==this.U[g]){e=new U(g,e,this.p[e]);break a}e=l}e&&e.compact(b,f)}}return b.join("")};
36
+ R.prototype.expand=function(a){if(2!=a.length)return l;for(var b=[l,l],c=0,d=this.U.length;c<d;c++){var e=this.U[c];(new U(c,e,this.p[e])).expand(b,a.substr(c,1))}return b[0]&&b[1]?b.join(";")+";":l};var V=window.WebFont=function(){var a=(new B(navigator.userAgent,document)).parse();return new T(window,new la,function(a,c){setTimeout(a,c)},a)}();V.load=V.load;V.addModule=V.u;A.prototype.getName=A.prototype.getName;A.prototype.getVersion=A.prototype.Da;A.prototype.getEngine=A.prototype.fa;A.prototype.getEngineVersion=A.prototype.Aa;A.prototype.getPlatform=A.prototype.Ba;A.prototype.getPlatformVersion=A.prototype.Ca;A.prototype.getDocumentMode=A.prototype.za;A.prototype.getBrowserInfo=A.prototype.z;
37
+ z.prototype.hasWebFontSupport=z.prototype.J;z.prototype.hasWebKitFallbackBug=z.prototype.Y;function W(a,b,c){this.a=a;this.c=b;this.d=c;this.g=[];this.w={}}
38
+ W.prototype.L=function(a,b){var c=this,d=c.d.projectId,e=c.d.version;if(d){var f=c.c.createElement("script");f.id="__MonotypeAPIScript__"+d;var g=this.c.K,i=m;f.onload=f.onreadystatechange=function(){if(!i&&(!this.readyState||"loaded"===this.readyState||"complete"===this.readyState)){i=k;if(g["__mti_fntLst"+d]){var e=g["__mti_fntLst"+d]();if(e&&e.length){var h;for(h=0;h<e.length;h++)c.g.push(e[h].fontfamily)}}b(a.z().J());f.onload=f.onreadystatechange=l}};f.src=c.N(d,e);u(this.c,"head",f)}else b(k)};
39
+ W.prototype.N=function(a,b){var c=y(this.c),d=(this.d.api||"fast.fonts.com/jsapi").replace(/^.*http(s?):(\/\/)?/,"");return c+"//"+d+"/"+a+".js"+(b?"?v="+b:"")};W.prototype.load=function(a){a(this.g,this.w)};V.u("monotype",function(a,b){var c=(new B(navigator.userAgent,document)).parse();return new W(c,b,a)});function X(a,b){this.c=a;this.d=b;this.g=[];this.w={}}X.prototype.N=function(a){var b=y(this.c);return(this.d.api||b+"//use.typekit.net")+"/"+a+".js"};X.prototype.L=function(a,b){var c=this.d.id,d=this.d,e=this.c.K,f=this;c?(e.__webfonttypekitmodule__||(e.__webfonttypekitmodule__={}),e.__webfonttypekitmodule__[c]=function(c){c(a,d,function(a,c,d){f.g=c;f.w=d;b(a)})},u(this.c,"head",da(this.c,this.N(c)))):b(k)};X.prototype.load=function(a){a(this.g,this.w)};
40
+ V.u("typekit",function(a,b){return new X(b,a)});function va(a,b){this.c=a;this.d=b}va.prototype.load=function(a){var b,c,d=this.d.urls||[],e=this.d.families||[];for(b=0,c=d.length;b<c;b++)u(this.c,"head",v(this.c,d[b]));var d=[],f={};for(b=0,c=e.length;b<c;b++){var g=e[b].split(":"),i=g[0],g=g[1];d.push(i);g&&(f[i]=(f[i]||[]).concat(g.split(",")))}a(d,f)};va.prototype.L=function(a,b){return b(a.z().J())};V.u("custom",function(a,b){return new va(b,a)});function Y(a,b,c,d,e,f,g,i,p,h){Y.Pa.call(this,a,b,c,d,e,f,g,i,p,h);a=["Times New Roman","Arial","Times","Sans","Serif"];b=a.length;c={};d=new L(this.c,this.t,this.H);M(d);O(d,a[0],this.s);c[d.m().width]=k;for(e=1;e<b;e++)f=a[e],O(d,f,this.s),c[d.m().width]=k,"4"!=this.s[1]&&(O(d,f,this.s[0]+"4"),c[d.m().width]=k);d.remove();this.B=c;this.ta=m;this.Ga=this.o.serif;this.Ha=this.o["sans-serif"]}(function(a,b){function c(){}c.prototype=a.prototype;b.prototype=new c;b.Pa=a;b.Ya=a.prototype})(K,Y);
41
+ var wa={Arimo:k,Cousine:k,Tinos:k};Y.prototype.W=function(){var a=this.F.m(),b=this.G.m();!this.ta&&a.width==b.width&&this.B[a.width]&&(this.B={},this.ta=this.B[a.width]=k);(this.Ga.width!=a.width||this.Ha.width!=b.width)&&!this.B[a.width]&&!this.B[b.width]?Q(this,this.Q):5E3<=this.O()-this.pa?this.B[a.width]&&this.B[b.width]&&wa[this.M]?Q(this,this.Q):Q(this,this.ha):qa(this)};function xa(a,b,c){this.V=a?a:b+ya;this.g=[];this.aa=[];this.ra=c||""}var ya="//fonts.googleapis.com/css";xa.prototype.f=function(){if(0==this.g.length)throw Error("No fonts to load !");if(-1!=this.V.indexOf("kit="))return this.V;for(var a=this.g.length,b=[],c=0;c<a;c++)b.push(this.g[c].replace(/ /g,"+"));a=this.V+"?family="+b.join("%7C");0<this.aa.length&&(a+="&subset="+this.aa.join(","));0<this.ra.length&&(a+="&text="+encodeURIComponent(this.ra));return a};function za(a){this.g=a;this.na=[];this.sa={};this.T={};this.I=new R}
42
+ var Aa={latin:"BESbswy",cyrillic:"&#1081;&#1103;&#1046;",greek:"&#945;&#946;&#931;",khmer:"&#x1780;&#x1781;&#x1782;",Hanuman:"&#x1780;&#x1781;&#x1782;"},Ba={thin:"1",extralight:"2","extra-light":"2",ultralight:"2","ultra-light":"2",light:"3",regular:"4",book:"4",medium:"5","semi-bold":"6",semibold:"6","demi-bold":"6",demibold:"6",bold:"7","extra-bold":"8",extrabold:"8","ultra-bold":"8",ultrabold:"8",black:"9",heavy:"9",l:"3",r:"4",b:"7"},Ca={i:"i",italic:"i",n:"n",normal:"n"},Da=RegExp("^(thin|(?:(?:extra|ultra)-?)?light|regular|book|medium|(?:(?:semi|demi|extra|ultra)-?)?bold|black|heavy|l|r|b|[1-9]00)?(n|i|normal|italic)?$");
43
+ za.prototype.parse=function(){for(var a=this.g.length,b=0;b<a;b++){var c=this.g[b].split(":"),d=c[0].replace(/\+/g," "),e=["n4"];if(2<=c.length){var f;var g=c[1];f=[];if(g)for(var g=g.split(","),i=g.length,p=0;p<i;p++){var h;h=g[p];if(h.match(/^[\w]+$/))if(h=Da.exec(h.toLowerCase()),h==l)h="";else{var q=j;q=h[1];if(q==l)q="4";else var s=Ba[q],q=s?s:isNaN(q)?"4":q.substr(0,1);h=(h=this.I.expand([h[2]==l?"n":Ca[h[2]],q].join("")))?this.I.compact(h):l}else h="";h&&f.push(h)}0<f.length&&(e=f);3==c.length&&
44
+ (c=c[2],f=[],c=!c?f:c.split(","),0<c.length&&(c=Aa[c[0]])&&(this.T[d]=c))}this.T[d]||(c=Aa[d])&&(this.T[d]=c);this.na.push(d);this.sa[d]=e}};function Z(a,b,c){this.a=a;this.c=b;this.d=c}Z.prototype.L=function(a,b){b(a.z().J())};Z.prototype.ga=function(){return"AppleWebKit"==this.a.fa()?Y:K};Z.prototype.load=function(a){"MSIE"==this.a.getName()&&this.d.blocking!=k?ca(t(this,this.ja,a)):this.ja(a)};
45
+ Z.prototype.ja=function(a){for(var b=this.c,c=new xa(this.d.api,y(b),this.d.text),d=this.d.families,e=d.length,f=0;f<e;f++){var g=d[f].split(":");3==g.length&&c.aa.push(g.pop());var i="";2==g.length&&""!=g[1]&&(i=":");c.g.push(g.join(i))}d=new za(d);d.parse();u(b,"head",v(b,c.f()));a(d.na,d.sa,d.T)};V.u("google",function(a,b){var c=(new B(navigator.userAgent,document)).parse();return new Z(c,b,a)});function Ea(a,b){this.c=a;this.d=b}var Fa={regular:"n4",bold:"n7",italic:"i4",bolditalic:"i7",r:"n4",b:"n7",i:"i4",bi:"i7"};Ea.prototype.L=function(a,b){return b(a.z().J())};
46
+ Ea.prototype.load=function(a){var b,c;u(this.c,"head",v(this.c,y(this.c)+"//webfonts.fontslive.com/css/"+this.d.key+".css"));var d=this.d.families,e,f;e=[];f={};for(var g=0,i=d.length;g<i;g++){c=c=b=j;c=d[g].split(":");b=c[0];if(c[1]){c=c[1].split(",");for(var p=[],h=0,q=c.length;h<q;h++){var s=c[h];if(s){var r=Fa[s];p.push(r?r:s)}}c=p}else c=["n4"];e.push(b);f[b]=c}a(e,f)};V.u("ascender",function(a,b){return new Ea(b,a)});function $(a,b){this.c=a;this.d=b;this.g=[];this.w={};this.I=new R}$.prototype.N=function(a){return y(this.c)+(this.d.api||"//f.fontdeck.com/s/css/js/")+(this.c.K.location.hostname||this.c.P.location.hostname)+"/"+a+".js"};
47
+ $.prototype.L=function(a,b){var c=this.d.id,d=this.c.K,e=this;c?(d.__webfontfontdeckmodule__||(d.__webfontfontdeckmodule__={}),d.__webfontfontdeckmodule__[c]=function(a,c){for(var d=0,p=c.fonts.length;d<p;++d){var h=c.fonts[d];e.g.push(h.name);e.w[h.name]=[e.I.compact("font-weight:"+h.weight+";font-style:"+h.style)]}b(a)},u(this.c,"head",da(this.c,this.N(c)))):b(k)};$.prototype.load=function(a){a(this.g,this.w)};V.u("fontdeck",function(a,b){return new $(b,a)});window.WebFontConfig&&V.load(window.WebFontConfig);
48
+ })(this,document);
skin/frontend/ma2/ante/css/coin-slider-styles.css ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 ADDED
@@ -0,0 +1,266 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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; }
skin/frontend/ma2/ante/css/images/btn_bg.gif ADDED
Binary file
skin/frontend/ma2/ante/css/images/content_bg.gif ADDED
Binary file
skin/frontend/ma2/ante/css/images/top_bg.gif ADDED
Binary file
skin/frontend/ma2/ante/css/images/window_close.png ADDED
Binary file
skin/frontend/ma2/ante/css/lib/prototype/windows/themes/magento.css ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 ADDED
Binary file
skin/frontend/ma2/ante/css/lib/prototype/windows/themes/magento/content_bg.gif ADDED
Binary file
skin/frontend/ma2/ante/css/lib/prototype/windows/themes/magento/top_bg.gif ADDED
Binary file
skin/frontend/ma2/ante/css/lib/prototype/windows/themes/magento/window_close.png ADDED
Binary file
skin/frontend/ma2/ante/css/ma2_widgetproductlists/images/bg-btn-details.gif ADDED
Binary file
skin/frontend/ma2/ante/css/ma2_widgetproductlists/images/blank.gif ADDED
Binary file
skin/frontend/ma2/ante/css/ma2_widgetproductlists/images/closelabel.gif ADDED
Binary file
skin/frontend/ma2/ante/css/ma2_widgetproductlists/images/loading.gif ADDED
Binary file
skin/frontend/ma2/ante/css/ma2_widgetproductlists/images/nextlabel.gif ADDED
Binary file
skin/frontend/ma2/ante/css/ma2_widgetproductlists/images/prevlabel.gif ADDED
Binary file
skin/frontend/ma2/ante/css/ma2_widgetproductlists/images/sale.png ADDED
Binary file
skin/frontend/ma2/ante/css/ma2_widgetproductlists/lightbox.css ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #lightbox { position: absolute; top: 20px; left: 0; width: 100%; z-index: 100; text-align: center; line-height: 0; color:#151410; }
2
+ #lightbox a, #lightbox a:hover { border-bottom:none; color:#151410; text-decoration:underline; }
3
+ #lightbox a img { border: none; }
4
+ #outerImageContainer { position: relative; background-color: #fff; width: 250px; height: 250px; margin: 0 auto; }
5
+ #imageContainer { padding: 10px; }
6
+ #loading { position: absolute; top: 40%; left: 0%; height: 25%; width: 100%; text-align: center; line-height: 0; }
7
+ #loadingLink { display:block; margin:0 auto; padding:0; width:32px; height:32px; background:url("images/loading.gif") center center no-repeat; text-indent:-9999px; }
8
+ #hoverNav { position: absolute; top: 0; left: 0; height: 100%; width: 100%; z-index: 10; }
9
+ #imageContainer>#hoverNav { left: 0; }
10
+ #hoverNav a { outline: none; }
11
+ #prevLinkImg, #nextLinkImg { width: 49%; height: 100%; background: transparent url("images/blank.gif") no-repeat; display: block; text-indent:-9999px; }
12
+ #prevLinkImg { left: 0; float: left;}
13
+ #nextLinkImg { right: 0; float: right;}
14
+ #prevLinkImg:hover, #prevLinkImg:visited:hover { background: url("images/prevlabel.gif") left 15% no-repeat; }
15
+ #nextLinkImg:hover, #nextLinkImg:visited:hover { background: url("images/nextlabel.gif") right 15% no-repeat; }
16
+ #imageDataContainer{ font: 10px Verdana, Helvetica, sans-serif; background-color: #fff; margin: 0 auto; line-height: 1.4em; }
17
+ #imageData{ padding:0 10px; }
18
+ #imageDetails{ width: 70%; float: left; text-align: left; }
19
+ #caption{ font-weight: bold; }
20
+ #numberDisplay{ display: block; clear: left; }
21
+ #detailsNav{ display: block; clear: left; padding:0 0 10px 0; }
22
+ #prevLinkDetails { margin:0 8px 0 0; }
23
+ #nextLinkDetails { margin:0 8px 0 0; }
24
+ #closeLink { display:block; margin:0; padding:0 0 10px 0; text-decoration:none; float:right; width:66px; height:28px; background:url("images/closelabel.gif") no-repeat; text-indent:-9999px; overflow:hidden; }
25
+ #overlay { position: absolute; top: 0; left: 0; z-index: 90; width: 100%; height: 500px; background-color: #151410; filter:alpha(opacity=60); -moz-opacity: 0.6; opacity: 0.6; }
26
+ .clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
27
+ * html>body .clearfix { display: inline-block; width: 100%; }
28
+ * html .clearfix { height: 1%; }
skin/frontend/ma2/ante/css/ma2_widgetproductlists/ma2_widgetproductlists.css ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * Copyright 2013 NetQ
3
+ * Created by NetQ
4
+ */
5
+ ul.products-grid, ul.featured-grid { padding:0px; }
6
+ .item-content { padding: 8px 20px 20px 0; position: relative; }
7
+ .category-products-widget { margin-top: 5px; }
8
+ .catalog-product-title { float: left; width: 98%; border-top: 1px solid #ededed; border-bottom: 1px solid #ededed; color: #6f5651; text-transform: uppercase; margin-bottom: 6px; margin-top:-5px; font-family:Arial; font-size: 26px; padding-bottom: 3px; padding-top: 3px; }
9
+ .note-message { float: left; width: 98%; color: #6f5651; text-transform: uppercase; margin-bottom: 6px; margin-top:-5px; font-family:Arial; font-size: 26px; padding-bottom: 3px; padding-top: 3px; }
10
+ .catalog-product-default { width: 100%; margin-top: 5px; display: inline-block; }
11
+ .short-description-product { overflow: hidden; }
12
+ .border-style { padding-top:3px; border-top: 1px solid #ededed; width:100%; margin-top:10px; }
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; }
skin/frontend/ma2/ante/css/ma2selectscreen/images/blue.gif ADDED
Binary file
skin/frontend/ma2/ante/css/ma2selectscreen/images/desktop.gif ADDED
Binary file
skin/frontend/ma2/ante/css/ma2selectscreen/images/green.gif ADDED
Binary file
skin/frontend/ma2/ante/css/ma2selectscreen/images/nav-item-blue.gif ADDED
Binary file
skin/frontend/ma2/ante/css/ma2selectscreen/images/nav-item-none.gif ADDED
Binary file
skin/frontend/ma2/ante/css/ma2selectscreen/images/nav-item.gif ADDED
Binary file
skin/frontend/ma2/ante/css/ma2selectscreen/images/screens.png ADDED
Binary file
skin/frontend/ma2/ante/css/ma2selectscreen/images/smartphone-landspace.gif ADDED
Binary file
skin/frontend/ma2/ante/css/ma2selectscreen/images/smartphone-portraint.gif ADDED
Binary file
skin/frontend/ma2/ante/css/ma2selectscreen/images/tablet-landscape.jpg ADDED
Binary file
skin/frontend/ma2/ante/css/ma2selectscreen/images/tablet-landspace.gif ADDED
Binary file
skin/frontend/ma2/ante/css/ma2selectscreen/images/tablet-portraint.gif ADDED
Binary file
skin/frontend/ma2/ante/css/ma2selectscreen/images/tablet-portrait.jpg ADDED
Binary file
skin/frontend/ma2/ante/css/ma2selectscreen/images/yellow.gif ADDED
Binary file
skin/frontend/ma2/ante/css/ma2selectscreen/screen.css ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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/menu_standard.css ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 ADDED
@@ -0,0 +1,198 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 ADDED
@@ -0,0 +1,122 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ * { 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
+
31
+ .header-container,
32
+ .nav-container,
33
+ .footer-container,
34
+ .pager,
35
+ .toolbar,
36
+ .actions,
37
+ .buttons-set { display:none !important; }
38
+
39
+ .page-print .data-table .cart-tax-total { background-position:100% -54px; }
40
+ .page-print .data-table .cart-tax-info { display:block !important; }
skin/frontend/ma2/ante/css/styles-blue.css ADDED
@@ -0,0 +1,191 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @import url(http://fonts.googleapis.com/css?family=Oswald);
2
+ -webkit-border-fit
3
+ /* Reset ================================================================================= */
4
+ /**
5
+ * Top menu
6
+ * Preset Style
7
+ **/
8
+ .nav-container { background:#0a263d url(../images/bkg_nav0.jpg) 50% 0 repeat-y; }
9
+ .ma2-preset-style-blue #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; }
10
+ .ma2-preset-style-blue #nav ul { margin:0; padding: 0; line-height:30px; }
11
+ .ma2-preset-style-blue #nav span { font-family: oswald; font-size: 13pt; margin-left: 2px; font-weight: normal; margin-top: 22px; text-transform: none; }
12
+ .ma2-preset-style-blue #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; }
13
+ .ma2-preset-style-blue ul#nav li.home a, ul#nav li.home a:hover { color:#fff; }
14
+ .ma2-preset-style-blue #nav ul li ul li a { color: #fff; text-align: left; }
15
+ .ma2-preset-style-blue #nav ul ul { position: absolute; visibility: hidden; top: 32; }
16
+ .ma2-preset-style-blue #nav ul li:hover ul { visibility: visible; color:#fff; }
17
+ .ma2-preset-style-blue #nav li:hover { background:#f36d00; background-image: url(../images/menuactive-blue.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; }
18
+ .ma2-preset-style-blue #nav ul li:hover ul li a:hover { background:#66443c; color:#fff;}
19
+ #nav li.hover a,
20
+ #nav li:hover > a,
21
+ .ma2-preset-style-blue #nav a:hover {color:#fff;}
22
+ .ma2-preset-style-blue #nav a { font-family: Arial; }
23
+ /* 0 Level */
24
+ .ma2-preset-style-blue #nav li { margin-12px 0 0 6px; padding:0; list-style: none; float:left; position: relative; height: 53px; line-height: 68px; }
25
+ .ma2-preset-style-blue ul#nav li.home { background: url(../images/menuactive-blue.png) repeat scroll 0 0 #ff4c29; margin-left: 5px; }
26
+ .ma2-preset-style-blue #nav li.home-yellow { background: url("../images/menuactive-blue.png") repeat scroll 0 0 transparent; }
27
+ .ma2-preset-style-blue #nav li.active a { color:#fff; }
28
+ .ma2-preset-style-blue ul#nav li.active { background: url("../images/menuactive-blue.png") repeat scroll 0 0 transparent; }
29
+ /* 1st Level */
30
+ .ma2-preset-style-blue #nav ul li { border-radius: 0px; -o-border-radius: 0px; -moz-border-radius: 0px; -webkit-border-radius: 0px; }
31
+ .ma2-preset-style-blue #nav ul li,
32
+ #nav ul li.active { background: url(../images/menuactive.png) repeat scroll 0 0 #F4A910; float: none; margin: 0; padding-bottom: 1px; height:33px; }
33
+ .ma2-preset-style-blue #nav ul li.active { background: url(../images/menuactive-blue.png) repeat scroll 0 0 #f36d00; float: none; margin: 0; padding-bottom: 1px; height:33px; }
34
+ .ma2-preset-style-blue #nav ul a,
35
+ .ma2-preset-style-blue #nav ul a:hover { float:none; padding-left:10px; background:none; }
36
+ .ma2-preset-style-blue #nav ul li a { font-weight:normal !important; }
37
+ /* 2nd Level */
38
+ .ma2-preset-style-blue #nav ul,
39
+ .ma2-preset-style-blue #nav div { position:absolute; width:15em; top:53px; left:-10000px; border:0px solid #899ba5; }
40
+ .ma2-preset-style-blue #nav div ul { position:static; width:auto; border:none; }
41
+ /* 3rd+ Level */
42
+ .ma2-preset-style-blue #nav ul ul,
43
+ .ma2-preset-style-blue #nav ul div { top:26px;}
44
+ .ma2-preset-style-blue #nav ul li a { background: url(../images/menuactive-blue.png) repeat scroll 0 0 #f36d00; height: 26px; }
45
+ .ma2-preset-style-blue #nav ul li 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)"; }
46
+ .ma2-preset-style-blue #nav ul li a,
47
+ .ma2-preset-style-blue #nav ul li a:hover { color:#fff !important; line-height: 28px; }
48
+ .ma2-preset-style-blue #nav ul span { padding:3px 15px 4px; }
49
+ #nav li ul li.first,
50
+ #nav li ul li.first a,
51
+ #nav li ul li.first a:hover,
52
+ #nav li.last ul.level0 li.first,
53
+ #nav li.last ul.level0 li.first a,
54
+ #nav li.last ul.level0 li.first a:hover,
55
+ #nav li.parent ul.level0 li.parent ul li.first,
56
+ #nav li.parent ul.level0 li.parent ul li.first a,
57
+ #nav li.parent ul.level0 li.parent ul li.first a:hover { border-radius: 0 8px 0 0; }
58
+ #nav ul li.last li span,
59
+ .ma2-preset-style-blue #nav ul li.last li span { padding:3px 15px 4px; }
60
+ .ma2-preset-style-blue #nav ul li.last { background:#ff4c29; background-image: url(../images/menuactive-blue.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; }
61
+ .ma2-preset-style-blue #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; }
62
+ .ma2-preset-style-blue #nav ul li.last a,
63
+ .ma2-preset-style-blue #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; }
64
+ .ma2-preset-style-blue ul#nav li.last ul.level0 li.last a,
65
+ .ma2-preset-style-blue 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; }
66
+ .ma2-preset-style-blue #nav li.last ul li a,
67
+ .ma2-preset-style-blue #nav li.last ul li a:hover { border-radius: 0; -o-border-radius: 0; -moz-border-radius: 0; -webkit-border-radius: 0; }
68
+ .ma2-preset-style-blue #nav li.home-yellow a span { color:#606060; }
69
+ .ma2-preset-style-blue #nav li.active a { height: 26px; }
70
+ /* style for item menuTop */
71
+ .ma2-preset-style-blue ul#nav li.parent ul li.parent a { background: url("../images/bkg_nav2.gif") no-repeat scroll 170px 19px transparent; }
72
+ .ma2-preset-style-blue ul#nav li.parent ul li.parent { background: url("../images/menuactive-blue.png") repeat scroll 0 0 #FF4C29; }
73
+ .ma2-preset-style-blue ul#nav li.parent ul li.parent ul li a:hover { background: url(../images/titlebane.png) repeat scroll 0 0 transparent; }
74
+ .ma2-preset-style-blue ul#nav li.parent ul li.parent ul li a { background: url("../images/menuactive-blue.png") repeat scroll 0 0 #FF4C29; }
75
+ .ma2-preset-style-blue 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; }
76
+ 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; }
77
+ .products-grid-bar li.item { float: left; list-style: none outside none; text-align: left; width: 30%; }
78
+ /* Show menu */
79
+ #nav li ul.shown-sub,
80
+ #nav li div.shown-sub { left:0; z-index:999; }
81
+ #nav li .shown-sub ul.shown-sub,
82
+ #nav li .shown-sub li div.shown-sub { left:136px; }
83
+ /* Show menu blue*/
84
+ .ma2-preset-style-blue #nav li ul.shown-sub,
85
+ .ma2-preset-style-blue #nav li div.shown-sub { left:0; z-index:999; }
86
+ .ma2-preset-style-blue #nav li .shown-sub ul.shown-sub,
87
+ .ma2-preset-style-blue #nav li .shown-sub li div.shown-sub { left:136px; }
88
+ /* =========================================================== */
89
+ /* Add to Cart */
90
+ /* =================================================== */
91
+ .add-to-cart-blue-style5 button.button { border-radius: 18px 0 0 18px; padding-left: 10px; }
92
+ .add-to-cart-blue-style4 button.button { border-radius: 0px 8px 0px 8px; }
93
+ .add-to-cart-blue-style3 button.button { border-radius: 18px 18px 18px 18px; padding-left: 10px; padding-right: 10px; }
94
+ .add-to-cart-blue-style2 button.button { border-radius: 8px 0px 8px 0px; }
95
+ .add-to-cart-blue-style1 button.button { border-radius: 68px 5px 68px 5px; padding-left: 10px; padding-right: 10px; }
96
+ .add-to-cart-blue button.button,
97
+ .add-to-cart-blue-style1 button.button,
98
+ .add-to-cart-blue-style2 button.button,
99
+ .add-to-cart-blue-style3 button.button,
100
+ .add-to-cart-blue-style4 button.button,
101
+ .add-to-cart-blue-style5 button.button { background:url("../images/apptocart-blue.png") repeat scroll 10% 0 transparent; border: none; line-height: 27px; height: 27px; }
102
+ .add-to-cart-blue button.button:hover,
103
+ .add-to-cart-blue-style1 button.button:hover,
104
+ .add-to-cart-blue-style2 button.button:hover,
105
+ .add-to-cart-blue-style3 button.button:hover,
106
+ .add-to-cart-blue-style4 button.button:hover,
107
+ .add-to-cart-blue-style5 button.button:hover { background:url("../images/menuactive-blue.png") repeat scroll 10% 0 transparent; }
108
+ .add-to-cart-blue .button-shopping-cart button.button span,.add-to-cart-green .button-shopping-cart button.button span { background:url("../images/buttonshopcartgreenblue.png") repeat scroll 0 0 transparent; border: none; padding: 0px; }
109
+ .add-to-cart-blue .button-shopping-cart button.button span span { height: 30px; line-height: 30px; padding-left: 30px; padding-right: 10px; }
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,
118
+ .ma2-preset-style-blue .call-toll-free .call-title,
119
+ .ma2-preset-style-blue .free_shipping .free_shipping-left .free_shipping_title,
120
+ .ma2-preset-style-blue .free_shipping_onorder,
121
+ .ma2-preset-style-blue .block-title-subscribe { color:#00B2F6; }
122
+ .ma2-preset-style-blue .cs-buttons a.cs-active { background:url("../images/itembaneactive-blue.png") no-repeat scroll 0 0px transparent; }
123
+ .ma2-preset-style-blue .free_shipping-right,
124
+ .ma2-preset-style-blue .call-toll-free .number-call { color:#ff4c29; }
125
+ .ma2-preset-style-blue .product-title h5 a,
126
+ .ma2-preset-style-blue .item-content .short-description-product { color:#333; padding-bottom: 10px;}
127
+ .ma2-preset-style-blue .special-price .price,
128
+ .ma2-preset-style-blue .regular-price .price,
129
+ .ma2-preset-style-blue .price-box .price,
130
+ .ma2-preset-style-blue .item-content .box-price .format-span-price2 { color:#FF4C29; }
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,
138
+ .ma2-preset-style-blue li strong,
139
+ .ma2-preset-style-blue li a,
140
+ .ma2-preset-style-blue .box-view{ color:#333333; }
141
+ .ma2-preset-style-blue .products-list .product-name a { color:#333333; }
142
+ .ma2-preset-style-blue .f-fix-first .desc { color:#888888; }
143
+ /* preset-style for Icon New and Icon Available */
144
+ /* ================================================ */
145
+ .ma2-preset-style-blue .label-new { background-color:#ff4c29; }
146
+ /* preset-style for toolbar */
147
+ /* ============================= */
148
+ .ma2-preset-style-blue .toolbar-bottom .toolbar .pager .amount,
149
+ .ma2-preset-style-blue .block p.block-subtitle { color:#666666; }
150
+ .ma2-preset-style-blue .toolbar-bottom .toolbar .pager .pages strong,
151
+ .ma2-preset-style-blue .toolbar-bottom .toolbar .pager .pages ol li a,
152
+ .ma2-preset-style-blue .product-shop { color:#666666; }
153
+ .ma2-preset-style-blue .toolbar-bottom .toolbar .pager .pages ol li.current { font-weight:bold; font-size:12px; }
154
+ .ma2-preset-style-blue .toolbar-bottom .toolbar .pager .pages ol li.current { color:#00B2F6; }
155
+ .ma2-preset-style-blue .buttons-set a.f-left,
156
+ .ma2-preset-style-blue .a-center a { color:#ff4c29; font-style: italic; }
157
+ /* style for products details */
158
+ /* =========================================== */
159
+ .ma2-preset-style-blue .product-collateral,
160
+ .ma2-preset-style-blue .product-view .product-essential,
161
+ .ma2-preset-style-blue .product-view .product-collateral { padding-left:0px; padding-right:10px; }
162
+ /* style for footer */
163
+ /* =========================================== */
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
+
skin/frontend/ma2/ante/css/styles-green.css ADDED
@@ -0,0 +1,164 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @import url(http://fonts.googleapis.com/css?family=Oswald);
2
+ -webkit-border-fit
3
+ /* Reset ================================================================================= */
4
+ /**
5
+ * Top menu
6
+ * Preset Style
7
+ **/
8
+ .nav-container { background:#0a263d url(../images/bkg_nav0.jpg) 50% 0 repeat-y; }
9
+ .ma2-preset-style-green #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; }
10
+ .ma2-preset-style-green #nav ul { margin:0; padding: 0; line-height:30px; }
11
+ .ma2-preset-style-green #nav span { font-family: oswald; font-size: 13pt; margin-left: 2px; font-weight: normal; margin-top: 22px; text-transform: none; }
12
+ .ma2-preset-style-green #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; }
13
+ .ma2-preset-style-green ul#nav li.home a, ul#nav li.home a:hover { color:#fff; }
14
+ .ma2-preset-style-green #nav ul li ul li a { color: #fff; text-align: left; }
15
+ .ma2-preset-style-green #nav ul ul { position: absolute; visibility: hidden; top: 32; }
16
+ .ma2-preset-style-green #nav ul li:hover ul { visibility: visible; color:#fff; }
17
+ .ma2-preset-style-green #nav li:hover { background:#f36d00; background-image: url(../images/menuactive-green.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; }
18
+ .ma2-preset-style-green #nav ul li:hover ul li a:hover { background:#66443c; color:#fff;}
19
+ #nav li.hover a,
20
+ #nav li:hover > a,
21
+ .ma2-preset-style-green #nav a:hover {color:#fff;}
22
+ .ma2-preset-style-green #nav a { font-family: Arial; }
23
+ /* 0 Level */
24
+ .ma2-preset-style-green #nav li { margin:-12px 0 0 6px; padding:0; list-style: none; float:left; position: relative; height: 53px; line-height: 68px; }
25
+ .ma2-preset-style-green ul#nav li.home { background: url(../images/menuactive-green.png) repeat scroll 0 0 #ff4c29; margin-left: 5px; }
26
+ .ma2-preset-style-green #nav li.home-yellow { background: url("../images/menuactive-green.png") repeat scroll 0 0 transparent; }
27
+ .ma2-preset-style-green #nav li.active a { color:#fff; }
28
+ .ma2-preset-style-green ul#nav li.active { background: url("../images/menuactive-green.png") repeat scroll 0 0 transparent; }
29
+ /* 1st Level */
30
+ .ma2-preset-style-green #nav ul li { border-radius: 0px; -o-border-radius: 0px; -moz-border-radius: 0px; -webkit-border-radius: 0px; }
31
+ .ma2-preset-style-green #nav ul li,
32
+ #nav ul li.active { background: url(../images/menuactive.png) repeat scroll 0 0 #F4A910; float: none; margin: 0; padding-bottom: 1px; height:33px; }
33
+ .ma2-preset-style-green #nav ul li.active { background: url(../images/menuactive-green.png) repeat scroll 0 0 #f36d00; float: none; margin: 0; padding-bottom: 1px; height:30px; }
34
+ .ma2-preset-style-green #nav ul a,
35
+ .ma2-preset-style-green #nav ul a:hover { float:none; padding-left:10px; background:none; }
36
+ .ma2-preset-style-green #nav ul li a { font-weight:normal !important; }
37
+ /* 2nd Level */
38
+ .ma2-preset-style-green #nav ul,
39
+ .ma2-preset-style-green #nav div { position:absolute; width:15em; top:53px; left:-10000px; border:0px solid #899ba5; }
40
+ .ma2-preset-style-green #nav div ul { position:static; width:auto; border:none; }
41
+ /* 3rd+ Level */
42
+ .ma2-preset-style-green #nav ul ul,
43
+ .ma2-preset-style-green #nav ul div { top:26px;}
44
+ .ma2-preset-style-green #nav ul li a { background: url(../images/menuactive-green.png) repeat scroll 0 0 #f36d00; height: 26px; }
45
+ .ma2-preset-style-green #nav ul li 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)"; }
46
+ .ma2-preset-style-green #nav ul li a,
47
+ .ma2-preset-style-green #nav ul li a:hover { color:#fff !important; line-height: 28px; }
48
+ .ma2-preset-style-green #nav ul span { padding:3px 15px 4px; }
49
+ #nav li ul li.first,
50
+ #nav li ul li.first a,
51
+ #nav li ul li.first a:hover,
52
+ #nav li.last ul.level0 li.first,
53
+ #nav li.last ul.level0 li.first a,
54
+ #nav li.last ul.level0 li.first a:hover,
55
+ #nav li.parent ul.level0 li.parent ul li.first,
56
+ #nav li.parent ul.level0 li.parent ul li.first a,
57
+ #nav li.parent ul.level0 li.parent ul li.first a:hover { border-radius: 0 8px 0 0; }
58
+ #nav ul li.last li span,
59
+ .ma2-preset-style-green #nav ul li.last li span { padding:3px 15px 4px; }
60
+ .ma2-preset-style-green #nav ul li.last { background:#ff4c29; background-image: url(../images/menuactive-green.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; }
61
+ .ma2-preset-style-green #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; }
62
+ .ma2-preset-style-green #nav ul li.last a,
63
+ .ma2-preset-style-green #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; }
64
+ .ma2-preset-style-green ul#nav li.last ul.level0 li.last a,
65
+ .ma2-preset-style-green 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; }
66
+ .ma2-preset-style-green #nav li.last ul li a,
67
+ .ma2-preset-style-green #nav li.last ul li a:hover { border-radius: 0; -o-border-radius: 0; -moz-border-radius: 0; -webkit-border-radius: 0; }
68
+ .ma2-preset-style-green #nav li.home-yellow a span { color:#606060; }
69
+ .ma2-preset-style-green #nav li.active a { height: 26px; }
70
+ /* style for item menuTop */
71
+ .ma2-preset-style-green ul#nav li.parent ul li.parent a { background: url("../images/bkg_nav2.gif") no-repeat scroll 170px 19px transparent; }
72
+ .ma2-preset-style-green ul#nav li.parent ul li.parent { background: url("../images/menuactive-green.png") repeat scroll 0 0 #FF4C29; }
73
+ .ma2-preset-style-green ul#nav li.parent ul li.parent ul li a:hover { background: url(../images/titlebane.png) repeat scroll 0 0 transparent; }
74
+ .ma2-preset-style-green ul#nav li.parent ul li.parent ul li a { background: url("../images/menuactive-green.png") repeat scroll 0 0 #FF4C29; }
75
+ .ma2-preset-style-green 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; }
76
+ 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; }
77
+ .products-grid-bar li.item { float: left; list-style: none outside none; text-align: left; width: 30%; }
78
+ /* Show menu */
79
+ #nav li ul.shown-sub,
80
+ #nav li div.shown-sub { left:0; z-index:999; }
81
+ #nav li .shown-sub ul.shown-sub,
82
+ #nav li .shown-sub li div.shown-sub { left:136px; }
83
+ /* Show menu green*/
84
+ .ma2-preset-style-green #nav li ul.shown-sub,
85
+ .ma2-preset-style-green #nav li div.shown-sub { left:0; z-index:999; }
86
+ .ma2-preset-style-green #nav li .shown-sub ul.shown-sub,
87
+ .ma2-preset-style-green #nav li .shown-sub li div.shown-sub { left:136px; }
88
+ /* =========================================================== */
89
+ /* Add to Cart */
90
+ /* =================================================== */
91
+ .add-to-cart-green-style5 button.button { border-radius: 18px 0 0 18px; padding-left: 10px; }
92
+ .add-to-cart-green-style4 button.button { border-radius: 0px 8px 0px 8px; }
93
+ .add-to-cart-green-style3 button.button { border-radius: 18px 18px 18px 18px; padding-left: 10px; padding-right: 10px; }
94
+ .add-to-cart-green-style2 button.button { border-radius: 8px 0px 8px 0px; }
95
+ .add-to-cart-green-style1 button.button { border-radius: 68px 5px 68px 5px; padding-left: 10px; padding-right: 10px; }
96
+ .add-to-cart-green button.button,
97
+ .add-to-cart-green-style1 button.button,
98
+ .add-to-cart-green-style2 button.button,
99
+ .add-to-cart-green-style3 button.button,
100
+ .add-to-cart-green-style4 button.button,
101
+ .add-to-cart-green-style5 button.button { background:url("../images/apptocart-green.png") repeat scroll 10% 0 transparent; border: none; line-height: 27px; height: 27px; }
102
+ .add-to-cart-green button.button:hover,
103
+ .add-to-cart-green-style1 button.button:hover,
104
+ .add-to-cart-green-style2 button.button:hover,
105
+ .add-to-cart-green-style3 button.button:hover,
106
+ .add-to-cart-green-style4 button.button:hover,
107
+ .add-to-cart-green-style5 button.button:hover { background:url("../images/menuactive-green.png") repeat scroll 10% 0 transparent; }
108
+ .add-to-cart-green .button-shopping-cart button.button span span { height: 30px; line-height: 30px; padding-left: 30px; padding-right: 10px; }
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,
117
+ .ma2-preset-style-green .call-toll-free .call-title,
118
+ .ma2-preset-style-green .free_shipping .free_shipping-left .free_shipping_title,
119
+ .ma2-preset-style-green .free_shipping_onorder,
120
+ .ma2-preset-style-green .block-title-subscribe { color:#79a42e; }
121
+ .ma2-preset-style-green .cs-buttons a.cs-active { background:url("../images/itembaneactive-green.png") no-repeat scroll 0 0px transparent; }
122
+ .ma2-preset-style-green .free_shipping-right,
123
+ .ma2-preset-style-green .call-toll-free .number-call { color:#e96b07; }
124
+ .ma2-preset-style-green .product-title h5 a,
125
+ .ma2-preset-style-green .item-content .short-description-product { color:#333333; padding-bottom: 10px;}
126
+ .ma2-preset-style-green .special-price .price,
127
+ .ma2-preset-style-green .regular-price .price,
128
+ .ma2-preset-style-green .price-box .price { color:#E96B07; }
129
+ .ma2-preset-style-green .item-content .box-price .format-span-price2 { color:#e96b07; }
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,
137
+ .ma2-preset-style-green li strong,
138
+ .ma2-preset-style-green li a,
139
+ .ma2-preset-style-green .box-view { color:#333333; }
140
+ .ma2-preset-style-green .products-list .product-name a { color:#333333; }
141
+ .ma2-preset-style-green .f-fix-first .desc { color:#888888; }
142
+ /* preset-style for Icon New and Icon Available */
143
+ /* ================================================ */
144
+ .ma2-preset-style-green .label-new { background-color:#f36d00; }
145
+ /* preset-style for toolbar */
146
+ /* ============================= */
147
+ .ma2-preset-style-green .toolbar-bottom .toolbar .pager .amount,
148
+ .ma2-preset-style-green .block p.block-subtitle { color:#666666; }
149
+ .ma2-preset-style-green .toolbar-bottom .toolbar .pager .pages strong,
150
+ .ma2-preset-style-green .toolbar-bottom .toolbar .pager .pages ol li a,
151
+ .ma2-preset-style-green .product-shop { color:#666666; }
152
+ .ma2-preset-style-green .toolbar-bottom .toolbar .pager .pages ol li.current { font-weight:bold; font-size:12px; }
153
+ .ma2-preset-style-green .toolbar-bottom .toolbar .pager .pages ol li.current { color:#85ad3c; }
154
+ .ma2-preset-style-green .a-center a,
155
+ .ma2-preset-style-green .buttons-set a.f-left { color:#ff4c29; font-style: italic; }
156
+ /* style for products details */
157
+ /* =========================================== */
158
+ .ma2-preset-style-green .product-collateral,
159
+ .ma2-preset-style-green .product-view .product-essential,
160
+ .ma2-preset-style-green .product-view .product-collateral { padding-left:0px; padding-right:10px; }
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; }
skin/frontend/ma2/ante/css/styles-ie-7-blue.css ADDED
@@ -0,0 +1,231 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @import url(http://fonts.googleapis.com/css?family=Oswald);
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 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
+ /* IE 6 only */
27
+ * html .validation-advice { height:13px; }
28
+ * html .error-msg,
29
+ * html .success-msg,
30
+ * html .note-msg,
31
+ * html .notice-msg { height:24px; }
32
+ * html .main { height:400px; }
33
+ * html .account-login .content { height:240px; }
34
+ .block li.item,
35
+ .block-poll li,
36
+ .opc li.section { vertical-align:top; }
37
+ * html .window-overlay { background:#ccc; filter:alpha(opacity=50); }
38
+ /* Doubled Margin Fixes */
39
+ .product-view .product-img-box .more-views li,
40
+ .product-view .box-tags .form-add .input-box,
41
+ .sp-methods select.month { display:inline; }
42
+ /********** < Start fix css navigation styles */
43
+ #nav{position:relative; z-index:9999;}
44
+ #nav li a { zoom:1; }
45
+ #nav li { vertical-align:top; }
46
+ li a {
47
+ display: block;
48
+ float: left;
49
+ clear: left;
50
+ }
51
+ li {
52
+ display: inline;
53
+ }
54
+ ul#nav li #nav li {
55
+ display: inline;
56
+ }
57
+ ul#nav li.level0 ul.level0 li.level1 a,
58
+ ul#nav li.level0 ul.level0 li.level1 a:hover{
59
+ posittion:relative;
60
+ height:24px;
61
+ }
62
+ ul#nav li.level0 ul.level0 li,
63
+ ul#nav li.level0 ul.level0 li:hover
64
+ {
65
+ height:24px;
66
+ }
67
+ ul#nav li.level0 ul.level0 li.level1 ul.level1
68
+ {
69
+ position:absolute;
70
+ left:55px;
71
+ top:28px;
72
+ }
73
+ #nav ul li a,
74
+ .ma2-preset-style-blue #nav ul li a,
75
+ .ma2-preset-style-green #nav ul li a,
76
+ .ma2-preset-style-yellow #nav ul li a
77
+ {
78
+ background: none no-repeat scroll 170px 19px transparent;
79
+ }
80
+ /********** < End fix css navigation styles */
81
+ /* start fix css category products */
82
+ /* ================================= */
83
+ .pro-cus-titl { display:inline; }
84
+ .product-title{ height:38px; }
85
+ .products-grid{margin-bottom: 28px;}
86
+ ul.products-grid{position:relative;display:inline;}
87
+ ul.products-grid li.item{float:left; text-align:left; position:relative;display:inline;}
88
+ ul.products-grid li.item .item-content .product-title ,
89
+ ul.products-grid li.item .item-content .short-description-product {display:inline;}
90
+ .item-content{width:90%;}
91
+ .product-title, .short-description-product, .border-style, .actions{display:block;}
92
+ .free_shipping-right{float:left;}
93
+ .breadcrumbs{width:100%;}
94
+ ul#ma2-nav-breadcrum li,
95
+ ul#ma2-nav-breadcrumb li,
96
+ ul#ma2-nav-breadcrumb li { display:inline; float:left; text-align:left; position:relative; margir-left:25px; }
97
+ .f-fix-first{width:65%;}
98
+ .f-fix-last{width:28%;}
99
+ .pages ol li.current,
100
+ .pages ol li { display:inline; float:left; }
101
+ ol#products-list, ol.products-list { margin-left:0px; }
102
+ .pages ol{text-align:center; margin:0 auto; display:block; }
103
+ .category-products-widget ul.products-grid,
104
+ .category-products-widget ul#products-grid-1
105
+ {margin-bottom:20px;}
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 ,
113
+ .ma2-preset-style-yellow .header .form-search button.button span span
114
+ {
115
+ font-size:0;
116
+ }
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;
125
+ }
126
+ .product-title
127
+ {
128
+ width:100%; float:left; display: block; min-height:36px; margin-bottom:10px;
129
+ }
130
+ .short-description-product
131
+ {
132
+ width:100%; float:left; display: block; margin-bottom:10px;
133
+ }
134
+ .actions
135
+ {
136
+ position:none;
137
+ }
138
+ /* end fix css category products */
139
+ /* ================================= */
140
+ 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; }
148
+ .form-list label.required em { position:absolute; top:0; right:-8px; }
149
+ table { scrollbar-face-color:expression(runtimeStyle.scrollbarFaceColor = '#fff', cellSpacing = 0); }
150
+ .product-view .product-img-box .zoom.disabled { filter:alpha(opacity=30); }
151
+ .gift-messages-form { position:relative; zoom:1; }
152
+ .tool-tip .btn-close a { margin:0; }
153
+ .product-view .box-tags .product-tags li,
154
+ .footer li { padding:0 4px 0 7px; }
155
+ .product-options dd .time-picker select { margin:0; padding:0; }
156
+ /* Clearer */
157
+ .clearer { display:block; clear:both; font-size:0; line-height:0; height:0; overflow:hidden; }
158
+ /* Clears and hasLayout fixes */
159
+ .header-container,
160
+ .header-container .top-container,
161
+ .header,
162
+ .header .quick-access,
163
+ #nav,
164
+ .main,
165
+ .footer,
166
+ .footer-container .bottom-container,
167
+ .col-main,
168
+ .col2-set,
169
+ .col3-set,
170
+ .col3-layout .product-options-bottom .price-box,
171
+ .col4-set,
172
+ .messages li,
173
+ .search-autocomplete li,
174
+ .block,
175
+ .block .block-content,
176
+ .block .actions,
177
+ .block li.item,
178
+ .block-poll li,
179
+ .block-poll .label,
180
+ .block-layered-nav .currently li,
181
+ .block-account .block-content li a,
182
+ .mini-products-list .product-details,
183
+ .page-title,
184
+ .rss-title h1,
185
+ .products-grid,
186
+ .products-list li.item,
187
+ .box-account .box-head,
188
+ .dashboard .box .box-title,
189
+ .box-reviews li.item,
190
+ .box-tags li.item,
191
+ .pager,
192
+ .sorter,
193
+ .ratings,
194
+ .add-to-box,
195
+ .add-to-cart,
196
+ .product-essential,
197
+ .product-collateral,
198
+ .product-view .product-img-box .more-views ul,
199
+ .product-view .box-tags .form-add,
200
+ .product-view .product-shop .short-description,
201
+ .product-view .box-description,
202
+ .product-options .options-list li,
203
+ .product-options,
204
+ .product-options-bottom,
205
+ .truncated,
206
+ .truncated .truncated_full_value,
207
+ .product-review,
208
+ .cart,
209
+ .cart-collaterals,
210
+ .cart .crosssell li.item,
211
+ .cart .discount,
212
+ .opc .step-title,
213
+ .opc .step,
214
+ .multiple-checkout,
215
+ .sp-methods,
216
+ .checkout-progress,
217
+ .multiple-checkout .place-order,
218
+ .form-list li,
219
+ .form-list .field,
220
+ .group-select li,
221
+ .buttons-set,
222
+ .page-print .print-head,
223
+ .cart-tax-total,
224
+ .advanced-search-summary,
225
+ .advanced-search-summary p,
226
+ .gift-messages-form .item,
227
+ .send-friend .form-list li p,
228
+ .centinel .authentication { zoom:1; }
229
+ /*OMG*/
230
+ /* Hover Fix */
231
+ 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-ie-7-green.css ADDED
@@ -0,0 +1,222 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @import url(http://fonts.googleapis.com/css?family=Oswald);
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 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
+ /* IE 6 only */
27
+ * html .validation-advice { height:13px; }
28
+ * html .error-msg,
29
+ * html .success-msg,
30
+ * html .note-msg,
31
+ * html .notice-msg { height:24px; }
32
+ * html .main { height:400px; }
33
+ * html .account-login .content { height:240px; }
34
+ .block li.item,
35
+ .block-poll li,
36
+ .opc li.section { vertical-align:top; }
37
+ * html .window-overlay { background:#ccc; filter:alpha(opacity=50); }
38
+ /* Doubled Margin Fixes */
39
+ .product-view .product-img-box .more-views li,
40
+ .product-view .box-tags .form-add .input-box,
41
+ .sp-methods select.month { display:inline; }
42
+ /********** < Start fix css navigation styles */
43
+ #nav{position:relative; z-index:9999;}
44
+ #nav li a { zoom:1; }
45
+ #nav li { vertical-align:top; }
46
+ li a {
47
+ display: block;
48
+ float: left;
49
+ clear: left;
50
+ }
51
+ li {
52
+ display: inline;
53
+ }
54
+ ul#nav li #nav li {
55
+ display: inline;
56
+ }
57
+ ul#nav li.level0 ul.level0 li.level1 a,
58
+ ul#nav li.level0 ul.level0 li.level1 a:hover{
59
+ posittion:relative;
60
+ height:24px;
61
+ }
62
+ ul#nav li.level0 ul.level0 li,
63
+ ul#nav li.level0 ul.level0 li:hover
64
+ {
65
+ height:24px;
66
+ }
67
+ ul#nav li.level0 ul.level0 li.level1 ul.level1
68
+ {
69
+ position:absolute;
70
+ left:55px;
71
+ top:28px;
72
+ }
73
+ #nav ul li a,
74
+ .ma2-preset-style-green #nav ul li a
75
+ {
76
+ background: none no-repeat scroll 170px 19px transparent;
77
+ }
78
+ /********** < End fix css navigation styles */
79
+ /* start fix css category products */
80
+ /* ================================= */
81
+ .pro-cus-titl { display:inline; }
82
+ .product-title{ height:38px; }
83
+ .products-grid{margin-bottom: 28px;}
84
+ ul.products-grid{position:relative;display:inline;}
85
+ ul.products-grid li.item{float:left; text-align:left; position:relative;display:inline;}
86
+ ul.products-grid li.item .item-content .product-title ,
87
+ ul.products-grid li.item .item-content .short-description-product {display:inline;}
88
+ .item-content{width:90%;}
89
+ .product-title, .short-description-product, .border-style, .actions{display:block;}
90
+ .free_shipping-right{float:left;}
91
+ .breadcrumbs{width:100%;}
92
+ ul#ma2-nav-breadcrum li,
93
+ ul#ma2-nav-breadcrumb li,
94
+ ul#ma2-nav-breadcrumb li { display:inline; float:left; text-align:left; position:relative; margir-left:25px; }
95
+ .f-fix-first{width:65%;}
96
+ .f-fix-last{width:28%;}
97
+ .pages ol li.current,
98
+ .pages ol li { display:inline; float:left; }
99
+ ol#products-list, ol.products-list { margin-left:0px; }
100
+ .pages ol{text-align:center; margin:0 auto; display:block; }
101
+ .category-products-widget ul.products-grid,
102
+ .category-products-widget ul#products-grid-1
103
+ {margin-bottom:20px;}
104
+ .ma2-detail{margin-top:0px;}
105
+ .header .form-search button.button span span ,
106
+ .ma2-preset-style-green .header .form-search button.button span span
107
+ {
108
+ font-size:0;
109
+ }
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;
117
+ }
118
+ .product-title
119
+ {
120
+ width:100%; float:left; display: block; min-height:36px; margin-bottom:10px;
121
+ }
122
+ .short-description-product
123
+ {
124
+ width:100%; float:left; display: block; margin-bottom:10px;
125
+ }
126
+ .actions
127
+ {
128
+ position:none;
129
+ }
130
+ /* end fix css category products */
131
+ /* ================================= */
132
+ 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; }
140
+ .form-list label.required em { position:absolute; top:0; right:-8px; }
141
+ table { scrollbar-face-color:expression(runtimeStyle.scrollbarFaceColor = '#fff', cellSpacing = 0); }
142
+ .product-view .product-img-box .zoom.disabled { filter:alpha(opacity=30); }
143
+ .gift-messages-form { position:relative; zoom:1; }
144
+ .tool-tip .btn-close a { margin:0; }
145
+ .product-view .box-tags .product-tags li,
146
+ .footer li { padding:0 4px 0 7px; }
147
+ .product-options dd .time-picker select { margin:0; padding:0; }
148
+ /* Clearer */
149
+ .clearer { display:block; clear:both; font-size:0; line-height:0; height:0; overflow:hidden; }
150
+ /* Clears and hasLayout fixes */
151
+ .header-container,
152
+ .header-container .top-container,
153
+ .header,
154
+ .header .quick-access,
155
+ #nav,
156
+ .main,
157
+ .footer,
158
+ .footer-container .bottom-container,
159
+ .col-main,
160
+ .col2-set,
161
+ .col3-set,
162
+ .col3-layout .product-options-bottom .price-box,
163
+ .col4-set,
164
+ .messages li,
165
+ .search-autocomplete li,
166
+ .block,
167
+ .block .block-content,
168
+ .block .actions,
169
+ .block li.item,
170
+ .block-poll li,
171
+ .block-poll .label,
172
+ .block-layered-nav .currently li,
173
+ .block-account .block-content li a,
174
+ .mini-products-list .product-details,
175
+ .page-title,
176
+ .rss-title h1,
177
+ .products-grid,
178
+ .products-list li.item,
179
+ .box-account .box-head,
180
+ .dashboard .box .box-title,
181
+ .box-reviews li.item,
182
+ .box-tags li.item,
183
+ .pager,
184
+ .sorter,
185
+ .ratings,
186
+ .add-to-box,
187
+ .add-to-cart,
188
+ .product-essential,
189
+ .product-collateral,
190
+ .product-view .product-img-box .more-views ul,
191
+ .product-view .box-tags .form-add,
192
+ .product-view .product-shop .short-description,
193
+ .product-view .box-description,
194
+ .product-options .options-list li,
195
+ .product-options,
196
+ .product-options-bottom,
197
+ .truncated,
198
+ .truncated .truncated_full_value,
199
+ .product-review,
200
+ .cart,
201
+ .cart-collaterals,
202
+ .cart .crosssell li.item,
203
+ .cart .discount,
204
+ .opc .step-title,
205
+ .opc .step,
206
+ .multiple-checkout,
207
+ .sp-methods,
208
+ .checkout-progress,
209
+ .multiple-checkout .place-order,
210
+ .form-list li,
211
+ .form-list .field,
212
+ .group-select li,
213
+ .buttons-set,
214
+ .page-print .print-head,
215
+ .cart-tax-total,
216
+ .advanced-search-summary,
217
+ .advanced-search-summary p,
218
+ .gift-messages-form .item,
219
+ .send-friend .form-list li p,
220
+ .centinel .authentication { zoom:1; }
221
+ /* Hover Fix */
222
+ 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-ie-7-yellow.css ADDED
@@ -0,0 +1,225 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @import url(http://fonts.googleapis.com/css?family=Oswald);
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 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
+ /* IE 6 only */
27
+ * html .validation-advice { height:13px; }
28
+ * html .error-msg,
29
+ * html .success-msg,
30
+ * html .note-msg,
31
+ * html .notice-msg { height:24px; }
32
+ * html .main { height:400px; }
33
+ * html .account-login .content { height:240px; }
34
+ .block li.item,
35
+ .block-poll li,
36
+ .opc li.section { vertical-align:top; }
37
+ * html .window-overlay { background:#ccc; filter:alpha(opacity=50); }
38
+ /* Doubled Margin Fixes */
39
+ .product-view .product-img-box .more-views li,
40
+ .product-view .box-tags .form-add .input-box,
41
+ .sp-methods select.month { display:inline; }
42
+ /********** < Start fix css navigation styles */
43
+ #nav{position:relative; z-index:9999;}
44
+ #nav li a { zoom:1; }
45
+ #nav li { vertical-align:top; }
46
+ li a {
47
+ display: block;
48
+ float: left;
49
+ clear: left;
50
+ }
51
+ li {
52
+ display: inline;
53
+ }
54
+ ul#nav li #nav li {
55
+ display: inline;
56
+ }
57
+ ul#nav li.level0 ul.level0 li.level1 a,
58
+ ul#nav li.level0 ul.level0 li.level1 a:hover{
59
+ posittion:relative;
60
+ height:24px;
61
+ }
62
+ ul#nav li.level0 ul.level0 li,
63
+ ul#nav li.level0 ul.level0 li:hover
64
+ {
65
+ height:24px;
66
+ }
67
+ ul#nav li.level0 ul.level0 li.level1 ul.level1
68
+ {
69
+ position:absolute;
70
+ left:55px;
71
+ top:28px;
72
+ }
73
+ #nav ul li a,
74
+ .ma2-preset-style-yellow #nav ul li a
75
+ {
76
+ background: none no-repeat scroll 170px 19px transparent;
77
+ }
78
+ /********** < End fix css navigation styles */
79
+ /* start fix css category products */
80
+ /* ================================= */
81
+ .pro-cus-titl { display:inline; }
82
+ .product-title{ height:38px; }
83
+ .products-grid{margin-bottom: 28px;}
84
+ ul.products-grid{position:relative;display:inline;}
85
+ ul.products-grid li.item{float:left; text-align:left; position:relative;display:inline;}
86
+ ul.products-grid li.item .item-content .product-title ,
87
+ ul.products-grid li.item .item-content .short-description-product {display:inline;}
88
+ .item-content{width:90%;}
89
+ .product-title, .short-description-product, .border-style, .actions{display:block;}
90
+ .free_shipping-right{float:left;}
91
+ .breadcrumbs{width:100%;}
92
+ ul#ma2-nav-breadcrum li,
93
+ ul#ma2-nav-breadcrumb li,
94
+ ul#ma2-nav-breadcrumb li { display:inline; float:left; text-align:left; position:relative; margir-left:25px; }
95
+ .f-fix-first{width:65%;}
96
+ .f-fix-last{width:28%;}
97
+ .pages ol li.current,
98
+ .pages ol li { display:inline; float:left; }
99
+ ol#products-list, ol.products-list { margin-left:0px; }
100
+ .pages ol{text-align:center; margin:0 auto; display:block; }
101
+ .category-products-widget ul.products-grid,
102
+ .category-products-widget ul#products-grid-1
103
+ {margin-bottom:20px;}
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
+ {
111
+ font-size:0;
112
+ }
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;
120
+ }
121
+ .product-title
122
+ {
123
+ width:100%; float:left; display: block; min-height:36px; margin-bottom:10px;
124
+ }
125
+ .short-description-product
126
+ {
127
+ width:100%; float:left; display: block; margin-bottom:10px;
128
+ }
129
+ .actions
130
+ {
131
+ position:none;
132
+ }
133
+ /* end fix css category products */
134
+ /* ================================= */
135
+ 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; }
143
+ .form-list label.required em { position:absolute; top:0; right:-8px; }
144
+ table { scrollbar-face-color:expression(runtimeStyle.scrollbarFaceColor = '#fff', cellSpacing = 0); }
145
+ .product-view .product-img-box .zoom.disabled { filter:alpha(opacity=30); }
146
+ .gift-messages-form { position:relative; zoom:1; }
147
+ .tool-tip .btn-close a { margin:0; }
148
+ .product-view .box-tags .product-tags li,
149
+ .footer li { padding:0 4px 0 7px; }
150
+ .product-options dd .time-picker select { margin:0; padding:0; }
151
+ /* Clearer */
152
+ .clearer { display:block; clear:both; font-size:0; line-height:0; height:0; overflow:hidden; }
153
+ /* Clears and hasLayout fixes */
154
+ .header-container,
155
+ .header-container .top-container,
156
+ .header,
157
+ .header .quick-access,
158
+ #nav,
159
+ .main,
160
+ .footer,
161
+ .footer-container .bottom-container,
162
+ .col-main,
163
+ .col2-set,
164
+ .col3-set,
165
+ .col3-layout .product-options-bottom .price-box,
166
+ .col4-set,
167
+ .messages li,
168
+ .search-autocomplete li,
169
+ .block,
170
+ .block .block-content,
171
+ .block .actions,
172
+ .block li.item,
173
+ .block-poll li,
174
+ .block-poll .label,
175
+ .block-layered-nav .currently li,
176
+ .block-account .block-content li a,
177
+ .mini-products-list .product-details,
178
+ .page-title,
179
+ .rss-title h1,
180
+ .products-grid,
181
+ .products-list li.item,
182
+ .box-account .box-head,
183
+ .dashboard .box .box-title,
184
+ .box-reviews li.item,
185
+ .box-tags li.item,
186
+ .pager,
187
+ .sorter,
188
+ .ratings,
189
+ .add-to-box,
190
+ .add-to-cart,
191
+ .product-essential,
192
+ .product-collateral,
193
+ .product-view .product-img-box .more-views ul,
194
+ .product-view .box-tags .form-add,
195
+ .product-view .product-shop .short-description,
196
+ .product-view .box-description,
197
+ .product-options .options-list li,
198
+ .product-options,
199
+ .product-options-bottom,
200
+ .truncated,
201
+ .truncated .truncated_full_value,
202
+ .product-review,
203
+ .cart,
204
+ .cart-collaterals,
205
+ .cart .crosssell li.item,
206
+ .cart .discount,
207
+ .opc .step-title,
208
+ .opc .step,
209
+ .multiple-checkout,
210
+ .sp-methods,
211
+ .checkout-progress,
212
+ .multiple-checkout .place-order,
213
+ .form-list li,
214
+ .form-list .field,
215
+ .group-select li,
216
+ .buttons-set,
217
+ .page-print .print-head,
218
+ .cart-tax-total,
219
+ .advanced-search-summary,
220
+ .advanced-search-summary p,
221
+ .gift-messages-form .item,
222
+ .send-friend .form-list li p,
223
+ .centinel .authentication { zoom:1; }
224
+ /* Hover Fix */
225
+ 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-ie-7.css ADDED
@@ -0,0 +1,218 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @import url(http://fonts.googleapis.com/css?family=Oswald);
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 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
+ /* IE 6 only */
27
+ * html .validation-advice { height:13px; }
28
+ * html .error-msg,
29
+ * html .success-msg,
30
+ * html .note-msg,
31
+ * html .notice-msg { height:24px; }
32
+ * html .main { height:400px; }
33
+ * html .account-login .content { height:240px; }
34
+ .block li.item,
35
+ .block-poll li,
36
+ .opc li.section { vertical-align:top; }
37
+ * html .window-overlay { background:#ccc; filter:alpha(opacity=50); }
38
+ /* Doubled Margin Fixes */
39
+ .product-view .product-img-box .more-views li,
40
+ .product-view .box-tags .form-add .input-box,
41
+ .sp-methods select.month { display:inline; }
42
+ /********** < Start fix css navigation styles */
43
+ #nav{position:relative; z-index:9999;}
44
+ #nav li a { zoom:1; }
45
+ #nav li { vertical-align:top; }
46
+ li a {
47
+ display: block;
48
+ float: left;
49
+ clear: left;
50
+ }
51
+ li {
52
+ display: inline;
53
+ }
54
+ ul#nav li #nav li {
55
+ display: inline;
56
+ }
57
+ ul#nav li.level0 ul.level0 li.level1 a,
58
+ ul#nav li.level0 ul.level0 li.level1 a:hover{
59
+ posittion:relative;
60
+ height:24px;
61
+ }
62
+ ul#nav li.level0 ul.level0 li,
63
+ ul#nav li.level0 ul.level0 li:hover
64
+ {
65
+ height:24px;
66
+ }
67
+ ul#nav li.level0 ul.level0 li.level1 ul.level1
68
+ {
69
+ position:absolute;
70
+ left:55px;
71
+ top:28px;
72
+ }
73
+ #nav ul li a
74
+ {
75
+ background: none no-repeat scroll 170px 19px transparent;
76
+ }
77
+ /********** < End fix css navigation styles */
78
+ /* start fix css category products */
79
+ /* ================================= */
80
+ .pro-cus-titl { display:inline; }
81
+ .product-title{ height:38px; }
82
+ .products-grid{margin-bottom: 28px;}
83
+ ul.products-grid{position:relative;display:inline;}
84
+ ul.products-grid li.item{float:left; text-align:left; position:relative;display:inline;}
85
+ ul.products-grid li.item .item-content .product-title ,
86
+ ul.products-grid li.item .item-content .short-description-product {display:inline;}
87
+ .item-content{width:90%;}
88
+ .product-title, .short-description-product, .border-style, .actions{display:block;}
89
+ .free_shipping-right{float:left;}
90
+ .breadcrumbs{width:100%;}
91
+ ul#ma2-nav-breadcrum li,
92
+ ul#ma2-nav-breadcrumb li,
93
+ ul#ma2-nav-breadcrumb li { display:inline; float:left; text-align:left; position:relative; margir-left:25px; }
94
+ .f-fix-first{width:65%;}
95
+ .f-fix-last{width:28%;}
96
+ .pages ol li.current,
97
+ .pages ol li { display:inline; float:left; }
98
+ ol#products-list, ol.products-list { margin-left:0px; }
99
+ .pages ol{text-align:center; margin:0 auto; display:block; }
100
+ .category-products-widget ul.products-grid,
101
+ .category-products-widget ul#products-grid-1 {margin-bottom:20px;}
102
+ .ma2-detail{margin-top:0px;}
103
+ .header .form-search button.button span span
104
+ {
105
+ font-size:0;
106
+ }
107
+ .item-content{padding-bottom:0px;}
108
+ .products-grid{margin-bottom:0px;}
109
+ .info-products{padding: 10px 18px 0 0; position: relative;}
110
+ .img-product
111
+ {
112
+ width:100%; float:left; display: block; margin-bottom:10px;
113
+ }
114
+ .product-title
115
+ {
116
+ width:100%; float:left; display: block; min-height:36px; margin-bottom:10px;
117
+ }
118
+ .short-description-product
119
+ {
120
+ width:100%; float:left; display: block; margin-bottom:10px;
121
+ }
122
+ .actions
123
+ {
124
+ position:none;
125
+ }
126
+ /* end fix css category products */
127
+ /* ================================= */
128
+ select { margin-bottom:1px; }
129
+ input.radio { width:13px; height:13px; }
130
+ input.checkbox { width:13px; height:13px; }
131
+ button.button { height:26px; }
132
+ button.button span { position:relative; padding-top:1px;}
133
+ button.btn-checkout { height:40px; }
134
+ #opc-review .sp-methods .input-box { float:left; }
135
+ .form-list label { position:relative; z-index:0; }
136
+ .form-list label.required em { position:absolute; top:0; right:-8px; }
137
+ table { scrollbar-face-color:expression(runtimeStyle.scrollbarFaceColor = '#fff', cellSpacing = 0); }
138
+ .product-view .product-img-box .zoom.disabled { filter:alpha(opacity=30); }
139
+ .gift-messages-form { position:relative; zoom:1; }
140
+ .tool-tip .btn-close a { margin:0; }
141
+ .product-view .box-tags .product-tags li,
142
+ .footer li { padding:0 4px 0 7px; }
143
+ .product-options dd .time-picker select { margin:0; padding:0; }
144
+ /* Clearer */
145
+ .clearer { display:block; clear:both; font-size:0; line-height:0; height:0; overflow:hidden; }
146
+ /* Clears and hasLayout fixes */
147
+ .header-container,
148
+ .header-container .top-container,
149
+ .header,
150
+ .header .quick-access,
151
+ #nav,
152
+ .main,
153
+ .footer,
154
+ .footer-container .bottom-container,
155
+ .col-main,
156
+ .col2-set,
157
+ .col3-set,
158
+ .col3-layout .product-options-bottom .price-box,
159
+ .col4-set,
160
+ .messages li,
161
+ .search-autocomplete li,
162
+ .block,
163
+ .block .block-content,
164
+ .block .actions,
165
+ .block li.item,
166
+ .block-poll li,
167
+ .block-poll .label,
168
+ .block-layered-nav .currently li,
169
+ .block-account .block-content li a,
170
+ .mini-products-list .product-details,
171
+ .page-title,
172
+ .rss-title h1,
173
+ .products-grid,
174
+ .products-list li.item,
175
+ .box-account .box-head,
176
+ .dashboard .box .box-title,
177
+ .box-reviews li.item,
178
+ .box-tags li.item,
179
+ .pager,
180
+ .sorter,
181
+ .ratings,
182
+ .add-to-box,
183
+ .add-to-cart,
184
+ .product-essential,
185
+ .product-collateral,
186
+ .product-view .product-img-box .more-views ul,
187
+ .product-view .box-tags .form-add,
188
+ .product-view .product-shop .short-description,
189
+ .product-view .box-description,
190
+ .product-options .options-list li,
191
+ .product-options,
192
+ .product-options-bottom,
193
+ .truncated,
194
+ .truncated .truncated_full_value,
195
+ .product-review,
196
+ .cart,
197
+ .cart-collaterals,
198
+ .cart .crosssell li.item,
199
+ .cart .discount,
200
+ .opc .step-title,
201
+ .opc .step,
202
+ .multiple-checkout,
203
+ .sp-methods,
204
+ .checkout-progress,
205
+ .multiple-checkout .place-order,
206
+ .form-list li,
207
+ .form-list .field,
208
+ .group-select li,
209
+ .buttons-set,
210
+ .page-print .print-head,
211
+ .cart-tax-total,
212
+ .advanced-search-summary,
213
+ .advanced-search-summary p,
214
+ .gift-messages-form .item,
215
+ .send-friend .form-list li p,
216
+ .centinel .authentication { zoom:1; }
217
+ /* Hover Fix */
218
+ 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-ie-8-blue.css ADDED
@@ -0,0 +1,205 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @import url(http://fonts.googleapis.com/css?family=Oswald);
2
+
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
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
+
28
+ /* IE 6 only */
29
+ * html .validation-advice { height:13px; }
30
+ * html .error-msg,
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 { background: none no-repeat scroll 170px 19px transparent; }
61
+ ul#devices { height:180px; }
62
+ /********** < End fix css navigation styles */
63
+
64
+ /* start fix css category products */
65
+ /* ================================= */
66
+ .product-title{ height:38px; }
67
+ .products-grid{margin-bottom: 28px;}
68
+ ul.products-grid{position:relative;display:inline;}
69
+ ul.products-grid li.item{float:left; text-align:left; position:relative;display:inline;}
70
+ ul.products-grid li.item .item-content .product-title ,
71
+ ul.products-grid li.item .item-content .short-description-product {display:inline;}
72
+ .product-title, .short-description-product, .border-style, .actions{display:block;}
73
+ .free_shipping-right{float:left;}
74
+ .border-style{border-top:0px;}
75
+ .border-bottom{border-bottom:1px solid #ededed; width:100%;}
76
+ .breadcrumbs{width:100%; display:block; float:left;}
77
+ ul#ma2-nav-breadcrum li,
78
+ ul#ma2-nav-breadcrumb li,
79
+ ul#ma2-nav-breadcrumb li { display:block; float:left; text-align:left; position:relative; margir-left:25px; }
80
+ .f-fix-first{width:65%;}
81
+ .f-fix-last{width:28%;}
82
+ .pages ol li.current,
83
+ .pages ol li { display:inline; float:left; }
84
+ ol#products-list, ol.products-list { margin-left:0px; }
85
+ .pages ol{text-align:center; margin:0 auto; display:block;}
86
+ .category-products-widget ul.products-grid,
87
+ .category-products-widget ul#products-grid-1
88
+ {margin-bottom:20px;}
89
+ .catalog-product-default, .products-grid-featured{margin-bottom:24px;}
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; }
97
+ .item-content{width:90%; padding-bottom:0px;}
98
+ .products-grid{margin-bottom:0px;}
99
+ .info-products{padding: 10px 18px 0 0; position: relative;}
100
+ .img-product { width:100%; float:left; display: block; margin-bottom:10px; }
101
+ .product-title { width:100%; float:left; display: block; min-height:36px; margin-bottom:10px; }
102
+ .short-description-product { width:100%; float:left; display: block; margin-bottom:10px; }
103
+ .actions { position:none; }
104
+ .style-border-ie { padding-top:3px; text-align: left; float: left; border-top:1px solid #ededed; width: 100%; }
105
+
106
+ /* end fix css category products */
107
+ select { margin-bottom:1px; }
108
+ 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; }
116
+ .form-list label.required em { position:absolute; top:0; right:-8px; }
117
+
118
+ table { scrollbar-face-color:expression(runtimeStyle.scrollbarFaceColor = '#fff', cellSpacing = 0); }
119
+ .product-view .product-img-box .zoom.disabled { filter:alpha(opacity=30); }
120
+ .gift-messages-form { position:relative; zoom:1; }
121
+ .tool-tip .btn-close a { margin:0; }
122
+ .product-view .box-tags .product-tags li,
123
+ .footer li { padding:0 4px 0 7px; }
124
+ .product-options dd .time-picker select { margin:0; padding:0; }
125
+
126
+ /* Clearer */
127
+ .clearer { display:block; clear:both; font-size:0; line-height:0; height:0; overflow:hidden; }
128
+
129
+ /* Clears and hasLayout fixes */
130
+ .header-container,
131
+ .header-container .top-container,
132
+ .header,
133
+ .header .quick-access,
134
+ #nav,
135
+ .main,
136
+ .footer,
137
+ .footer-container .bottom-container,
138
+ .col-main,
139
+ .col2-set,
140
+ .col3-set,
141
+ .col3-layout .product-options-bottom .price-box,
142
+ .col4-set,
143
+ .messages li,
144
+ .search-autocomplete li,
145
+ .block,
146
+ .block .block-content,
147
+ .block .actions,
148
+ .block li.item,
149
+ .block-poll li,
150
+ .block-poll .label,
151
+ .block-layered-nav .currently li,
152
+ .block-account .block-content li a,
153
+ .mini-products-list .product-details,
154
+ .page-title,
155
+ .rss-title h1,
156
+ .products-grid,
157
+ .products-list li.item,
158
+ .box-account .box-head,
159
+ .dashboard .box .box-title,
160
+ .box-reviews li.item,
161
+ .box-tags li.item,
162
+ .pager,
163
+ .sorter,
164
+ .ratings,
165
+ .add-to-box,
166
+ .add-to-cart,
167
+ .product-essential,
168
+ .product-collateral,
169
+ .product-view .product-img-box .more-views ul,
170
+ .product-view .box-tags .form-add,
171
+ .product-view .product-shop .short-description,
172
+ .product-view .box-description,
173
+ .product-options .options-list li,
174
+ .product-options,
175
+ .product-options-bottom,
176
+ .truncated,
177
+ .truncated .truncated_full_value,
178
+ .product-review,
179
+ .cart,
180
+ .cart-collaterals,
181
+ .cart .crosssell li.item,
182
+ .cart .discount,
183
+ .opc .step-title,
184
+ .opc .step,
185
+ .multiple-checkout,
186
+ .sp-methods,
187
+ .checkout-progress,
188
+ .multiple-checkout .place-order,
189
+ .form-list li,
190
+ .form-list .field,
191
+ .group-select li,
192
+ .buttons-set,
193
+ .page-print .print-head,
194
+ .cart-tax-total,
195
+ .advanced-search-summary,
196
+ .advanced-search-summary p,
197
+ .gift-messages-form .item,
198
+ .send-friend .form-list li p,
199
+ .centinel .authentication { zoom:1; }
200
+
201
+ /*OMG*/
202
+ .col-right{display:block; float:right;}
203
+
204
+ /* Hover Fix */
205
+ 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-ie-8-green.css ADDED
@@ -0,0 +1,203 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @import url(http://fonts.googleapis.com/css?family=Oswald);
2
+
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
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
+
28
+ /* IE 6 only */
29
+ * html .validation-advice { height:13px; }
30
+ * html .error-msg,
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-green #nav ul li a { background: none no-repeat scroll 170px 19px transparent; }
61
+ ul#devices { height:180px; }
62
+ /********** < End fix css navigation styles */
63
+
64
+ /* start fix css category products */
65
+ /* ================================= */
66
+ .product-title{ height:38px; }
67
+ .products-grid{margin-bottom: 28px;}
68
+ ul.products-grid{position:relative;display:inline;}
69
+ ul.products-grid li.item{float:left; text-align:left; position:relative;display:inline;}
70
+ ul.products-grid li.item .item-content .product-title ,
71
+ ul.products-grid li.item .item-content .short-description-product {display:inline;}
72
+ .product-title, .short-description-product, .border-style, .actions{display:block;}
73
+ .free_shipping-right{float:left;}
74
+ .border-style{border-top:0px;}
75
+ .border-bottom{border-bottom:1px solid #ededed; width:100%;}
76
+ .breadcrumbs{width:100%; display:block; float:left;}
77
+ ul#ma2-nav-breadcrum li,
78
+ ul#ma2-nav-breadcrumb li,
79
+ ul#ma2-nav-breadcrumb li { display:block; float:left; text-align:left; position:relative; margir-left:25px; }
80
+ .f-fix-first{width:65%;}
81
+ .f-fix-last{width:28%;}
82
+ .pages ol li.current,
83
+ .pages ol li { display:inline; float:left; }
84
+ ol#products-list, ol.products-list { margin-left:0px; }
85
+ .pages ol{text-align:center; margin:0 auto; display:block;}
86
+ .category-products-widget ul.products-grid,
87
+ .category-products-widget ul#products-grid-1
88
+ {margin-bottom:20px;}
89
+ .catalog-product-default, .products-grid-featured{margin-bottom:24px;}
90
+ .ma2-detail{margin-top:0px;}
91
+
92
+ .header .form-search button.button span span ,
93
+ .ma2-preset-style-green .header .form-search button.button span span { font-size: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-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; }
101
+ .actions { position:none; }
102
+ .style-border-ie { padding-top:3px; text-align: left; float: left; border-top:1px solid #ededed; width: 100%; }
103
+
104
+ /* end fix css category products */
105
+ select { margin-bottom:1px; }
106
+ 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; }
114
+ .form-list label.required em { position:absolute; top:0; right:-8px; }
115
+
116
+ table { scrollbar-face-color:expression(runtimeStyle.scrollbarFaceColor = '#fff', cellSpacing = 0); }
117
+ .product-view .product-img-box .zoom.disabled { filter:alpha(opacity=30); }
118
+ .gift-messages-form { position:relative; zoom:1; }
119
+ .tool-tip .btn-close a { margin:0; }
120
+ .product-view .box-tags .product-tags li,
121
+ .footer li { padding:0 4px 0 7px; }
122
+ .product-options dd .time-picker select { margin:0; padding:0; }
123
+
124
+ /* Clearer */
125
+ .clearer { display:block; clear:both; font-size:0; line-height:0; height:0; overflow:hidden; }
126
+
127
+ /* Clears and hasLayout fixes */
128
+ .header-container,
129
+ .header-container .top-container,
130
+ .header,
131
+ .header .quick-access,
132
+ #nav,
133
+ .main,
134
+ .footer,
135
+ .footer-container .bottom-container,
136
+ .col-main,
137
+ .col2-set,
138
+ .col3-set,
139
+ .col3-layout .product-options-bottom .price-box,
140
+ .col4-set,
141
+ .messages li,
142
+ .search-autocomplete li,
143
+ .block,
144
+ .block .block-content,
145
+ .block .actions,
146
+ .block li.item,
147
+ .block-poll li,
148
+ .block-poll .label,
149
+ .block-layered-nav .currently li,
150
+ .block-account .block-content li a,
151
+ .mini-products-list .product-details,
152
+ .page-title,
153
+ .rss-title h1,
154
+ .products-grid,
155
+ .products-list li.item,
156
+ .box-account .box-head,
157
+ .dashboard .box .box-title,
158
+ .box-reviews li.item,
159
+ .box-tags li.item,
160
+ .pager,
161
+ .sorter,
162
+ .ratings,
163
+ .add-to-box,
164
+ .add-to-cart,
165
+ .product-essential,
166
+ .product-collateral,
167
+ .product-view .product-img-box .more-views ul,
168
+ .product-view .box-tags .form-add,
169
+ .product-view .product-shop .short-description,
170
+ .product-view .box-description,
171
+ .product-options .options-list li,
172
+ .product-options,
173
+ .product-options-bottom,
174
+ .truncated,
175
+ .truncated .truncated_full_value,
176
+ .product-review,
177
+ .cart,
178
+ .cart-collaterals,
179
+ .cart .crosssell li.item,
180
+ .cart .discount,
181
+ .opc .step-title,
182
+ .opc .step,
183
+ .multiple-checkout,
184
+ .sp-methods,
185
+ .checkout-progress,
186
+ .multiple-checkout .place-order,
187
+ .form-list li,
188
+ .form-list .field,
189
+ .group-select li,
190
+ .buttons-set,
191
+ .page-print .print-head,
192
+ .cart-tax-total,
193
+ .advanced-search-summary,
194
+ .advanced-search-summary p,
195
+ .gift-messages-form .item,
196
+ .send-friend .form-list li p,
197
+ .centinel .authentication { zoom:1; }
198
+
199
+ /*OMG*/
200
+ .col-right{display:block; float:right;}
201
+
202
+ /* Hover Fix */
203
+ 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-ie-8-yellow.css ADDED
@@ -0,0 +1,203 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @import url(http://fonts.googleapis.com/css?family=Oswald);
2
+
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
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
+
28
+ /* IE 6 only */
29
+ * html .validation-advice { height:13px; }
30
+ * html .error-msg,
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-yellow #nav ul li a { background: none no-repeat scroll 170px 19px transparent; }
61
+ ul#devices { height:180px; }
62
+ /********** < End fix css navigation styles */
63
+
64
+ /* start fix css category products */
65
+ /* ================================= */
66
+ .product-title{ height:38px; }
67
+ .products-grid{margin-bottom: 28px;}
68
+ ul.products-grid{position:relative;display:inline;}
69
+ ul.products-grid li.item{float:left; text-align:left; position:relative;display:inline;}
70
+ ul.products-grid li.item .item-content .product-title ,
71
+ ul.products-grid li.item .item-content .short-description-product {display:inline;}
72
+ .product-title, .short-description-product, .border-style, .actions{display:block;}
73
+ .free_shipping-right{float:left;}
74
+ .border-style{border-top:0px;}
75
+ .border-bottom{border-bottom:1px solid #ededed; width:100%;}
76
+ .breadcrumbs{width:100%; display:block; float:left;}
77
+ ul#ma2-nav-breadcrum li,
78
+ ul#ma2-nav-breadcrumb li,
79
+ ul#ma2-nav-breadcrumb li { display:block; float:left; text-align:left; position:relative; margir-left:25px; }
80
+ .f-fix-first{width:65%;}
81
+ .f-fix-last{width:28%;}
82
+ .pages ol li.current,
83
+ .pages ol li { display:inline; float:left; }
84
+ ol#products-list, ol.products-list { margin-left:0px; }
85
+ .pages ol{text-align:center; margin:0 auto; display:block;}
86
+ .category-products-widget ul.products-grid,
87
+ .category-products-widget ul#products-grid-1
88
+ {margin-bottom:20px;}
89
+ .catalog-product-default, .products-grid-featured{margin-bottom:24px;}
90
+ .ma2-detail{margin-top:0px;}
91
+
92
+ .header .form-search button.button span span ,
93
+ .ma2-preset-style-yellow .header .form-search button.button span span { font-size: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-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; }
101
+ .actions { position:none; }
102
+ .style-border-ie { padding-top:3px; text-align: left; float: left; border-top:1px solid #ededed; width: 100%; }
103
+
104
+ /* end fix css category products */
105
+ select { margin-bottom:1px; }
106
+ 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; }
114
+ .form-list label.required em { position:absolute; top:0; right:-8px; }
115
+
116
+ table { scrollbar-face-color:expression(runtimeStyle.scrollbarFaceColor = '#fff', cellSpacing = 0); }
117
+ .product-view .product-img-box .zoom.disabled { filter:alpha(opacity=30); }
118
+ .gift-messages-form { position:relative; zoom:1; }
119
+ .tool-tip .btn-close a { margin:0; }
120
+ .product-view .box-tags .product-tags li,
121
+ .footer li { padding:0 4px 0 7px; }
122
+ .product-options dd .time-picker select { margin:0; padding:0; }
123
+
124
+ /* Clearer */
125
+ .clearer { display:block; clear:both; font-size:0; line-height:0; height:0; overflow:hidden; }
126
+
127
+ /* Clears and hasLayout fixes */
128
+ .header-container,
129
+ .header-container .top-container,
130
+ .header,
131
+ .header .quick-access,
132
+ #nav,
133
+ .main,
134
+ .footer,
135
+ .footer-container .bottom-container,
136
+ .col-main,
137
+ .col2-set,
138
+ .col3-set,
139
+ .col3-layout .product-options-bottom .price-box,
140
+ .col4-set,
141
+ .messages li,
142
+ .search-autocomplete li,
143
+ .block,
144
+ .block .block-content,
145
+ .block .actions,
146
+ .block li.item,
147
+ .block-poll li,
148
+ .block-poll .label,
149
+ .block-layered-nav .currently li,
150
+ .block-account .block-content li a,
151
+ .mini-products-list .product-details,
152
+ .page-title,
153
+ .rss-title h1,
154
+ .products-grid,
155
+ .products-list li.item,
156
+ .box-account .box-head,
157
+ .dashboard .box .box-title,
158
+ .box-reviews li.item,
159
+ .box-tags li.item,
160
+ .pager,
161
+ .sorter,
162
+ .ratings,
163
+ .add-to-box,
164
+ .add-to-cart,
165
+ .product-essential,
166
+ .product-collateral,
167
+ .product-view .product-img-box .more-views ul,
168
+ .product-view .box-tags .form-add,
169
+ .product-view .product-shop .short-description,
170
+ .product-view .box-description,
171
+ .product-options .options-list li,
172
+ .product-options,
173
+ .product-options-bottom,
174
+ .truncated,
175
+ .truncated .truncated_full_value,
176
+ .product-review,
177
+ .cart,
178
+ .cart-collaterals,
179
+ .cart .crosssell li.item,
180
+ .cart .discount,
181
+ .opc .step-title,
182
+ .opc .step,
183
+ .multiple-checkout,
184
+ .sp-methods,
185
+ .checkout-progress,
186
+ .multiple-checkout .place-order,
187
+ .form-list li,
188
+ .form-list .field,
189
+ .group-select li,
190
+ .buttons-set,
191
+ .page-print .print-head,
192
+ .cart-tax-total,
193
+ .advanced-search-summary,
194
+ .advanced-search-summary p,
195
+ .gift-messages-form .item,
196
+ .send-friend .form-list li p,
197
+ .centinel .authentication { zoom:1; }
198
+
199
+ /*OMG*/
200
+ .col-right{display:block; float:right;}
201
+
202
+ /* Hover Fix */
203
+ 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-ie-8.css ADDED
@@ -0,0 +1,199 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @import url(http://fonts.googleapis.com/css?family=Oswald);
2
+
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
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
+
28
+ /* IE 6 only */
29
+ * html .validation-advice { height:13px; }
30
+ * html .error-msg,
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 { background: none no-repeat scroll 170px 19px transparent; }
60
+ ul#devices { height:180px; }
61
+ /********** < End fix css navigation styles */
62
+
63
+ /* start fix css category products */
64
+ /* ================================= */
65
+ .product-title{ height:38px; }
66
+ .products-grid{margin-bottom: 28px;}
67
+ ul.products-grid{position:relative;display:inline;}
68
+ ul.products-grid li.item{float:left; text-align:left; position:relative;display:inline;}
69
+ ul.products-grid li.item .item-content .product-title ,
70
+ ul.products-grid li.item .item-content .short-description-product {display:inline;}
71
+ .product-title, .short-description-product, .border-style, .actions{display:block;}
72
+ .free_shipping-right{float:left;}
73
+ .border-style{border-top:0px;}
74
+ .border-bottom{border-bottom:1px solid #ededed; width:100%;}
75
+ .breadcrumbs{width:100%; display:block; float:left;}
76
+ ul#ma2-nav-breadcrum li,
77
+ ul#ma2-nav-breadcrumb li,
78
+ ul#ma2-nav-breadcrumb li { display:block; float:left; text-align:left; position:relative; margir-left:25px; }
79
+ .f-fix-first{width:65%;}
80
+ .f-fix-last{width:28%;}
81
+ .pages ol li.current,
82
+ .pages ol li { display:inline; float:left; }
83
+ ol#products-list, ol.products-list { margin-left:0px; }
84
+ .pages ol{text-align:center; margin:0 auto; display:block;}
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 ,
92
+
93
+ .item-content{width:90%; padding-bottom:0px;}
94
+ .products-grid{margin-bottom:0px;}
95
+ .info-products{padding: 10px 18px 0 0; position: relative;}
96
+ .img-product { width:100%; float:left; display: block; margin-bottom:10px; }
97
+ .product-title { width:100%; float:left; display: block; min-height:36px; margin-bottom:10px; }
98
+ .short-description-product { width:100%; float:left; display: block; margin-bottom:10px; }
99
+ .actions { position:none; }
100
+ .style-border-ie { padding-top:3px; text-align: left; float: left; border-top:1px solid #ededed; width: 100%; }
101
+
102
+ /* end fix css category products */
103
+ 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; }
111
+ .form-list label.required em { position:absolute; top:0; right:-8px; }
112
+ table { scrollbar-face-color:expression(runtimeStyle.scrollbarFaceColor = '#fff', cellSpacing = 0); }
113
+ .product-view .product-img-box .zoom.disabled { filter:alpha(opacity=30); }
114
+ .gift-messages-form { position:relative; zoom:1; }
115
+ .tool-tip .btn-close a { margin:0; }
116
+ .product-view .box-tags .product-tags li,
117
+ .footer li { padding:0 4px 0 7px; }
118
+ .product-options dd .time-picker select { margin:0; padding:0; }
119
+
120
+ /* Clearer */
121
+ .clearer { display:block; clear:both; font-size:0; line-height:0; height:0; overflow:hidden; }
122
+
123
+ /* Clears and hasLayout fixes */
124
+ .header-container,
125
+ .header-container .top-container,
126
+ .header,
127
+ .header .quick-access,
128
+ #nav,
129
+ .main,
130
+ .footer,
131
+ .footer-container .bottom-container,
132
+ .col-main,
133
+ .col2-set,
134
+ .col3-set,
135
+ .col3-layout .product-options-bottom .price-box,
136
+ .col4-set,
137
+ .messages li,
138
+ .search-autocomplete li,
139
+ .block,
140
+ .block .block-content,
141
+ .block .actions,
142
+ .block li.item,
143
+ .block-poll li,
144
+ .block-poll .label,
145
+ .block-layered-nav .currently li,
146
+ .block-account .block-content li a,
147
+ .mini-products-list .product-details,
148
+ .page-title,
149
+ .rss-title h1,
150
+ .products-grid,
151
+ .products-list li.item,
152
+ .box-account .box-head,
153
+ .dashboard .box .box-title,
154
+ .box-reviews li.item,
155
+ .box-tags li.item,
156
+ .pager,
157
+ .sorter,
158
+ .ratings,
159
+ .add-to-box,
160
+ .add-to-cart,
161
+ .product-essential,
162
+ .product-collateral,
163
+ .product-view .product-img-box .more-views ul,
164
+ .product-view .box-tags .form-add,
165
+ .product-view .product-shop .short-description,
166
+ .product-view .box-description,
167
+ .product-options .options-list li,
168
+ .product-options,
169
+ .product-options-bottom,
170
+ .truncated,
171
+ .truncated .truncated_full_value,
172
+ .product-review,
173
+ .cart,
174
+ .cart-collaterals,
175
+ .cart .crosssell li.item,
176
+ .cart .discount,
177
+ .opc .step-title,
178
+ .opc .step,
179
+ .multiple-checkout,
180
+ .sp-methods,
181
+ .checkout-progress,
182
+ .multiple-checkout .place-order,
183
+ .form-list li,
184
+ .form-list .field,
185
+ .group-select li,
186
+ .buttons-set,
187
+ .page-print .print-head,
188
+ .cart-tax-total,
189
+ .advanced-search-summary,
190
+ .advanced-search-summary p,
191
+ .gift-messages-form .item,
192
+ .send-friend .form-list li p,
193
+ .centinel .authentication { zoom:1; }
194
+
195
+ /*OMG*/
196
+ .col-right{display:block; float:right;}
197
+
198
+ /* Hover Fix */
199
+ 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-ie.css ADDED
@@ -0,0 +1,217 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @import url(http://fonts.googleapis.com/css?family=Oswald);
2
+
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
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
+
28
+ /* IE 6 only */
29
+ * html .validation-advice { height:13px; }
30
+ * html .error-msg,
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.level