computer_store_template - Version 0.1.0

Version Notes

Computer Store Template

Download this release

Release Info

Developer Magebuzz
Extension computer_store_template
Version 0.1.0
Comparing to
See all releases


Version 0.1.0

Files changed (422) hide show
  1. app/design/frontend/default/computer_store/layout/catalog.xml +441 -0
  2. app/design/frontend/default/computer_store/layout/catalogsearch.xml +142 -0
  3. app/design/frontend/default/computer_store/layout/checkout.xml +436 -0
  4. app/design/frontend/default/computer_store/layout/contacts.xml +48 -0
  5. app/design/frontend/default/computer_store/layout/customer.xml +289 -0
  6. app/design/frontend/default/computer_store/layout/directory.xml +78 -0
  7. app/design/frontend/default/computer_store/layout/newsletter.xml +69 -0
  8. app/design/frontend/default/computer_store/layout/page.xml +192 -0
  9. app/design/frontend/default/computer_store/layout/poll.xml +57 -0
  10. app/design/frontend/default/computer_store/layout/productslider.xml +28 -0
  11. app/design/frontend/default/computer_store/layout/reports.xml +45 -0
  12. app/design/frontend/default/computer_store/layout/review.xml +134 -0
  13. app/design/frontend/default/computer_store/layout/tag.xml +137 -0
  14. app/design/frontend/default/computer_store/template/catalog/category/page.phtml +36 -0
  15. app/design/frontend/default/computer_store/template/catalog/category/view.phtml +71 -0
  16. app/design/frontend/default/computer_store/template/catalog/category/widget/link/link_block.phtml +27 -0
  17. app/design/frontend/default/computer_store/template/catalog/category/widget/link/link_inline.phtml +27 -0
  18. app/design/frontend/default/computer_store/template/catalog/layer/state.phtml +48 -0
  19. app/design/frontend/default/computer_store/template/catalog/layer/view.phtml +61 -0
  20. app/design/frontend/default/computer_store/template/catalog/navigation/categories.phtml +82 -0
  21. app/design/frontend/default/computer_store/template/catalog/navigation/left.phtml +59 -0
  22. app/design/frontend/default/computer_store/template/catalog/navigation/top.phtml +49 -0
  23. app/design/frontend/default/computer_store/template/catalog/product/compare/list.phtml +160 -0
  24. app/design/frontend/default/computer_store/template/catalog/product/compare/sidebar.phtml +65 -0
  25. app/design/frontend/default/computer_store/template/catalog/product/gallery.phtml +66 -0
  26. app/design/frontend/default/computer_store/template/catalog/product/list.phtml +122 -0
  27. app/design/frontend/default/computer_store/template/catalog/product/list/related.phtml +99 -0
  28. app/design/frontend/default/computer_store/template/catalog/product/list/toolbar.phtml +97 -0
  29. app/design/frontend/default/computer_store/template/catalog/product/list/upsell.phtml +53 -0
  30. app/design/frontend/default/computer_store/template/catalog/product/new.phtml +65 -0
  31. app/design/frontend/default/computer_store/template/catalog/product/price.phtml +414 -0
  32. app/design/frontend/default/computer_store/template/catalog/product/view.phtml +158 -0
  33. app/design/frontend/default/computer_store/template/catalog/product/view/additional.phtml +29 -0
  34. app/design/frontend/default/computer_store/template/catalog/product/view/addto.phtml +41 -0
  35. app/design/frontend/default/computer_store/template/catalog/product/view/addtocart.phtml +38 -0
  36. app/design/frontend/default/computer_store/template/catalog/product/view/attributes.phtml +52 -0
  37. app/design/frontend/default/computer_store/template/catalog/product/view/description.phtml +39 -0
  38. app/design/frontend/default/computer_store/template/catalog/product/view/media.phtml +83 -0
  39. app/design/frontend/default/computer_store/template/catalog/product/view/options.phtml +182 -0
  40. app/design/frontend/default/computer_store/template/catalog/product/view/options/js.phtml +89 -0
  41. app/design/frontend/default/computer_store/template/catalog/product/view/options/type/date.phtml +92 -0
  42. app/design/frontend/default/computer_store/template/catalog/product/view/options/type/default.phtml +30 -0
  43. app/design/frontend/default/computer_store/template/catalog/product/view/options/type/file.phtml +103 -0
  44. app/design/frontend/default/computer_store/template/catalog/product/view/options/type/select.phtml +40 -0
  45. app/design/frontend/default/computer_store/template/catalog/product/view/options/type/text.phtml +41 -0
  46. app/design/frontend/default/computer_store/template/catalog/product/view/options/wrapper.phtml +33 -0
  47. app/design/frontend/default/computer_store/template/catalog/product/view/options/wrapper/bottom.phtml +29 -0
  48. app/design/frontend/default/computer_store/template/catalog/product/view/price.phtml +34 -0
  49. app/design/frontend/default/computer_store/template/catalog/product/view/type/configurable.phtml +31 -0
  50. app/design/frontend/default/computer_store/template/catalog/product/view/type/default.phtml +36 -0
  51. app/design/frontend/default/computer_store/template/catalog/product/view/type/grouped.phtml +91 -0
  52. app/design/frontend/default/computer_store/template/catalog/product/view/type/options/configurable.phtml +48 -0
  53. app/design/frontend/default/computer_store/template/catalog/product/view/type/simple.phtml +31 -0
  54. app/design/frontend/default/computer_store/template/catalog/product/view/type/virtual.phtml +31 -0
  55. app/design/frontend/default/computer_store/template/catalog/product/widget/link/link_block.phtml +27 -0
  56. app/design/frontend/default/computer_store/template/catalog/product/widget/link/link_inline.phtml +27 -0
  57. app/design/frontend/default/computer_store/template/catalog/product/widget/new/column/new_default_list.phtml +55 -0
  58. app/design/frontend/default/computer_store/template/catalog/product/widget/new/column/new_images_list.phtml +46 -0
  59. app/design/frontend/default/computer_store/template/catalog/product/widget/new/column/new_names_list.phtml +46 -0
  60. app/design/frontend/default/computer_store/template/catalog/product/widget/new/content/new_grid.phtml +65 -0
  61. app/design/frontend/default/computer_store/template/catalog/product/widget/new/content/new_list.phtml +62 -0
  62. app/design/frontend/default/computer_store/template/catalogsearch/form.mini.phtml +40 -0
  63. app/design/frontend/default/computer_store/template/checkout/cart.phtml +138 -0
  64. app/design/frontend/default/computer_store/template/checkout/cart/coupon.phtml +59 -0
  65. app/design/frontend/default/computer_store/template/checkout/cart/crosssell.phtml +52 -0
  66. app/design/frontend/default/computer_store/template/checkout/cart/item/configure/updatecart.phtml +39 -0
  67. app/design/frontend/default/computer_store/template/checkout/cart/item/default.phtml +277 -0
  68. app/design/frontend/default/computer_store/template/checkout/cart/noItems.phtml +34 -0
  69. app/design/frontend/default/computer_store/template/checkout/cart/render/default.phtml +70 -0
  70. app/design/frontend/default/computer_store/template/checkout/cart/render/simple.phtml +70 -0
  71. app/design/frontend/default/computer_store/template/checkout/cart/shipping.phtml +143 -0
  72. app/design/frontend/default/computer_store/template/checkout/cart/sidebar.phtml +83 -0
  73. app/design/frontend/default/computer_store/template/checkout/cart/sidebar/default.phtml +145 -0
  74. app/design/frontend/default/computer_store/template/checkout/cart/totals.phtml +48 -0
  75. app/design/frontend/default/computer_store/template/checkout/multishipping/address/select.phtml +58 -0
  76. app/design/frontend/default/computer_store/template/checkout/multishipping/addresses.phtml +81 -0
  77. app/design/frontend/default/computer_store/template/checkout/multishipping/agreements.phtml +49 -0
  78. app/design/frontend/default/computer_store/template/checkout/multishipping/billing.phtml +116 -0
  79. app/design/frontend/default/computer_store/template/checkout/multishipping/billing/items.phtml +54 -0
  80. app/design/frontend/default/computer_store/template/checkout/multishipping/item/default.phtml +45 -0
  81. app/design/frontend/default/computer_store/template/checkout/multishipping/link.phtml +27 -0
  82. app/design/frontend/default/computer_store/template/checkout/multishipping/overview.phtml +241 -0
  83. app/design/frontend/default/computer_store/template/checkout/multishipping/overview/item.phtml +238 -0
  84. app/design/frontend/default/computer_store/template/checkout/multishipping/shipping.phtml +129 -0
  85. app/design/frontend/default/computer_store/template/checkout/multishipping/state.phtml +39 -0
  86. app/design/frontend/default/computer_store/template/checkout/multishipping/success.phtml +50 -0
  87. app/design/frontend/default/computer_store/template/checkout/onepage.phtml +61 -0
  88. app/design/frontend/default/computer_store/template/checkout/onepage/agreements.phtml +51 -0
  89. app/design/frontend/default/computer_store/template/checkout/onepage/billing.phtml +203 -0
  90. app/design/frontend/default/computer_store/template/checkout/onepage/failure.phtml +32 -0
  91. app/design/frontend/default/computer_store/template/checkout/onepage/link.phtml +29 -0
  92. app/design/frontend/default/computer_store/template/checkout/onepage/login.phtml +120 -0
  93. app/design/frontend/default/computer_store/template/checkout/onepage/payment.phtml +73 -0
  94. app/design/frontend/default/computer_store/template/checkout/onepage/payment/methods.phtml +68 -0
  95. app/design/frontend/default/computer_store/template/checkout/onepage/progress.phtml +115 -0
  96. app/design/frontend/default/computer_store/template/checkout/onepage/review.phtml +29 -0
  97. app/design/frontend/default/computer_store/template/checkout/onepage/review/button.phtml +27 -0
  98. app/design/frontend/default/computer_store/template/checkout/onepage/review/info.phtml +84 -0
  99. app/design/frontend/default/computer_store/template/checkout/onepage/review/item.phtml +239 -0
  100. app/design/frontend/default/computer_store/template/checkout/onepage/review/totals.phtml +47 -0
  101. app/design/frontend/default/computer_store/template/checkout/onepage/shipping.phtml +154 -0
  102. app/design/frontend/default/computer_store/template/checkout/onepage/shipping_method.phtml +46 -0
  103. app/design/frontend/default/computer_store/template/checkout/onepage/shipping_method/additional.phtml +29 -0
  104. app/design/frontend/default/computer_store/template/checkout/onepage/shipping_method/available.phtml +99 -0
  105. app/design/frontend/default/computer_store/template/checkout/success.phtml +64 -0
  106. app/design/frontend/default/computer_store/template/checkout/total/default.phtml +38 -0
  107. app/design/frontend/default/computer_store/template/checkout/total/nominal.phtml +56 -0
  108. app/design/frontend/default/computer_store/template/checkout/total/tax.phtml +68 -0
  109. app/design/frontend/default/computer_store/template/directory/currency.phtml +47 -0
  110. app/design/frontend/default/computer_store/template/newsletter/subscribe.phtml +46 -0
  111. app/design/frontend/default/computer_store/template/page/html/breadcrumbs.phtml +46 -0
  112. app/design/frontend/default/computer_store/template/page/html/footer.phtml +74 -0
  113. app/design/frontend/default/computer_store/template/page/html/head.phtml +45 -0
  114. app/design/frontend/default/computer_store/template/page/html/header.phtml +47 -0
  115. app/design/frontend/default/computer_store/template/page/html/notices.phtml +44 -0
  116. app/design/frontend/default/computer_store/template/page/html/pager.phtml +124 -0
  117. app/design/frontend/default/computer_store/template/page/html/top.links.phtml +39 -0
  118. app/design/frontend/default/computer_store/template/page/html/wrapper.phtml +50 -0
  119. app/design/frontend/default/computer_store/template/poll/active.phtml +76 -0
  120. app/design/frontend/default/computer_store/template/poll/result.phtml +52 -0
  121. app/design/frontend/default/computer_store/template/productslider/productslider.phtml +188 -0
  122. app/design/frontend/default/computer_store/template/productslider/type/slider1.phtml +128 -0
  123. app/design/frontend/default/computer_store/template/reports/product_compared.phtml +49 -0
  124. app/design/frontend/default/computer_store/template/reports/product_viewed.phtml +49 -0
  125. app/design/frontend/default/computer_store/template/review/customer/list.phtml +64 -0
  126. app/design/frontend/default/computer_store/template/review/customer/recent.phtml +54 -0
  127. app/design/frontend/default/computer_store/template/review/customer/view.phtml +75 -0
  128. app/design/frontend/default/computer_store/template/review/form.phtml +132 -0
  129. app/design/frontend/default/computer_store/template/review/helper/summary.phtml +31 -0
  130. app/design/frontend/default/computer_store/template/review/helper/summary_short.phtml +38 -0
  131. app/design/frontend/default/computer_store/template/review/product/view/count.phtml +29 -0
  132. app/design/frontend/default/computer_store/template/review/product/view/list.phtml +66 -0
  133. app/design/frontend/default/computer_store/template/review/product/view/other.phtml +31 -0
  134. app/design/frontend/default/computer_store/template/review/view.phtml +72 -0
  135. installation_guide/computer_store/Computer Store User Manual.pdf +0 -0
  136. package.xml +18 -0
  137. skin/frontend/default/computer_store/css/fonts/calibri.ttf +0 -0
  138. skin/frontend/default/computer_store/css/fonts/calibrib.ttf +0 -0
  139. skin/frontend/default/computer_store/css/fonts/calibrii.ttf +0 -0
  140. skin/frontend/default/computer_store/css/fonts/calibriz.ttf +0 -0
  141. skin/frontend/default/computer_store/css/home-banner.css +14 -0
  142. skin/frontend/default/computer_store/css/magebuzz/productslider.css +28 -0
  143. skin/frontend/default/computer_store/css/magebuzz/productslider/images/arrow-bg.png +0 -0
  144. skin/frontend/default/computer_store/css/magebuzz/productslider/images/arrow-l.png +0 -0
  145. skin/frontend/default/computer_store/css/magebuzz/productslider/images/arrow-r.png +0 -0
  146. skin/frontend/default/computer_store/css/magebuzz/productslider/images/bg_dark.png +0 -0
  147. skin/frontend/default/computer_store/css/magebuzz/productslider/images/bg_trans.png +0 -0
  148. skin/frontend/default/computer_store/css/magebuzz/productslider/images/bkg_product-grid-first.png +0 -0
  149. skin/frontend/default/computer_store/css/magebuzz/productslider/images/btn-cart.gif +0 -0
  150. skin/frontend/default/computer_store/css/magebuzz/productslider/images/btn_next.png +0 -0
  151. skin/frontend/default/computer_store/css/magebuzz/productslider/images/btn_next_active.png +0 -0
  152. skin/frontend/default/computer_store/css/magebuzz/productslider/images/btn_prev-active.png +0 -0
  153. skin/frontend/default/computer_store/css/magebuzz/productslider/images/btn_prev.png +0 -0
  154. skin/frontend/default/computer_store/css/magebuzz/productslider/images/grad-bg.gif +0 -0
  155. skin/frontend/default/computer_store/css/magebuzz/productslider/images/icon-uparrowsmallwhite.png +0 -0
  156. skin/frontend/default/computer_store/css/magebuzz/productslider/images/lightbox-blank.gif +0 -0
  157. skin/frontend/default/computer_store/css/magebuzz/productslider/images/lightbox-btn-close.gif +0 -0
  158. skin/frontend/default/computer_store/css/magebuzz/productslider/images/lightbox-btn-next.gif +0 -0
  159. skin/frontend/default/computer_store/css/magebuzz/productslider/images/lightbox-btn-prev.gif +0 -0
  160. skin/frontend/default/computer_store/css/magebuzz/productslider/images/lightbox-ico-loading.gif +0 -0
  161. skin/frontend/default/computer_store/css/magebuzz/productslider/images/load-indicator.gif +0 -0
  162. skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/.DS_Store +0 -0
  163. skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/logo.png +0 -0
  164. skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/monoBack.gif +0 -0
  165. skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/mopSlider-2.4.js +443 -0
  166. skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/paperBack.gif +0 -0
  167. skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/paperBack.jpg +0 -0
  168. skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/sliderBack.png +0 -0
  169. skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/sliderBackLeft.png +0 -0
  170. skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/sliderBackLeftLeft.png +0 -0
  171. skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/sliderBackLeftLeftW.png +0 -0
  172. skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/sliderBackLeftW.png +0 -0
  173. skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/sliderBackRight.png +0 -0
  174. skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/sliderBackRightRight.png +0 -0
  175. skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/sliderBackRightRightW.png +0 -0
  176. skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/sliderBackRightRightW_f.png +0 -0
  177. skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/sliderBackRightRight_f.png +0 -0
  178. skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/sliderBackRightW.png +0 -0
  179. skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/sliderBackW.png +0 -0
  180. skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/sliderBtn.png +0 -0
  181. skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/sliderBtnLeft.png +0 -0
  182. skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/sliderBtnLeftW.png +0 -0
  183. skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/sliderBtnLeftW_f.png +0 -0
  184. skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/sliderBtnLeft_f.png +0 -0
  185. skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/sliderBtnRight.png +0 -0
  186. skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/sliderBtnRightW.png +0 -0
  187. skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/sliderBtnRightW_f.png +0 -0
  188. skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/sliderBtnRight_f.png +0 -0
  189. skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/sliderBtnW.png +0 -0
  190. skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/sliderCorner_leftBottom.png +0 -0
  191. skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/sliderCorner_leftTop.png +0 -0
  192. skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/sliderCorner_rightBottom.png +0 -0
  193. skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/sliderCorner_rightTop.png +0 -0
  194. skin/frontend/default/computer_store/css/magebuzz/productslider/images/next-active.png +0 -0
  195. skin/frontend/default/computer_store/css/magebuzz/productslider/images/next.png +0 -0
  196. skin/frontend/default/computer_store/css/magebuzz/productslider/images/next_icon.png +0 -0
  197. skin/frontend/default/computer_store/css/magebuzz/productslider/images/previous-active.png +0 -0
  198. skin/frontend/default/computer_store/css/magebuzz/productslider/images/previous.png +0 -0
  199. skin/frontend/default/computer_store/css/magebuzz/productslider/images/previous_icon.png +0 -0
  200. skin/frontend/default/computer_store/css/magebuzz/productslider/images/product-image-bg.png +0 -0
  201. skin/frontend/default/computer_store/css/magebuzz/productslider/images/product_bg.png +0 -0
  202. skin/frontend/default/computer_store/css/magebuzz/productslider/images/transpBlack.png +0 -0
  203. skin/frontend/default/computer_store/css/magebuzz/productslider/images/transparent_bg.png +0 -0
  204. skin/frontend/default/computer_store/css/magebuzz/productslider/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  205. skin/frontend/default/computer_store/css/magebuzz/productslider/jquery-ui-1.7.2.custom.css +395 -0
  206. skin/frontend/default/computer_store/css/magebuzz/productslider/jquery.lightbox-0.5.css +101 -0
  207. skin/frontend/default/computer_store/css/magebuzz/productslider/layout.css +12 -0
  208. skin/frontend/default/computer_store/css/magebuzz/productslider/lightbox.css +27 -0
  209. skin/frontend/default/computer_store/css/magebuzz/productslider/simple-slider.css +18 -0
  210. skin/frontend/default/computer_store/css/magebuzz/productslider/slidebar.css +24 -0
  211. skin/frontend/default/computer_store/css/magebuzz/productslider/slider-navright.css +165 -0
  212. skin/frontend/default/computer_store/css/magebuzz/productslider/slider-scroll.css +32 -0
  213. skin/frontend/default/computer_store/css/magebuzz/productslider/slider.css +110 -0
  214. skin/frontend/default/computer_store/css/magebuzz/productslider/style.css +23 -0
  215. skin/frontend/default/computer_store/css/print.css +40 -0
  216. skin/frontend/default/computer_store/css/styles-ie.css +148 -0
  217. skin/frontend/default/computer_store/css/styles.css +2103 -0
  218. skin/frontend/default/computer_store/css/superfish.css +183 -0
  219. skin/frontend/default/computer_store/favicon.ico +0 -0
  220. skin/frontend/default/computer_store/images/advertising.png +0 -0
  221. skin/frontend/default/computer_store/images/back-pages.gif +0 -0
  222. skin/frontend/default/computer_store/images/banner.png +0 -0
  223. skin/frontend/default/computer_store/images/banner2.png +0 -0
  224. skin/frontend/default/computer_store/images/best_selling_tr_even_bg.gif +0 -0
  225. skin/frontend/default/computer_store/images/best_selling_tr_odd_bg.gif +0 -0
  226. skin/frontend/default/computer_store/images/bg-grid.png +0 -0
  227. skin/frontend/default/computer_store/images/bg_toolbar.png +0 -0
  228. skin/frontend/default/computer_store/images/bkg-button-hover.png +0 -0
  229. skin/frontend/default/computer_store/images/bkg-button-hover2.png +0 -0
  230. skin/frontend/default/computer_store/images/bkg-button-tags.png +0 -0
  231. skin/frontend/default/computer_store/images/bkg-button.png +0 -0
  232. skin/frontend/default/computer_store/images/bkg_account_box.gif +0 -0
  233. skin/frontend/default/computer_store/images/bkg_block-actions.gif +0 -0
  234. skin/frontend/default/computer_store/images/bkg_block-content.png +0 -0
  235. skin/frontend/default/computer_store/images/bkg_block-currency.gif +0 -0
  236. skin/frontend/default/computer_store/images/bkg_block-layered-dd.gif +0 -0
  237. skin/frontend/default/computer_store/images/bkg_block-layered-dt.gif +0 -0
  238. skin/frontend/default/computer_store/images/bkg_block-layered-label.gif +0 -0
  239. skin/frontend/default/computer_store/images/bkg_block-layered-li.gif +0 -0
  240. skin/frontend/default/computer_store/images/bkg_block-layered-title.gif +0 -0
  241. skin/frontend/default/computer_store/images/bkg_block-layered1.gif +0 -0
  242. skin/frontend/default/computer_store/images/bkg_block-layered1.png +0 -0
  243. skin/frontend/default/computer_store/images/bkg_block-title-account.gif +0 -0
  244. skin/frontend/default/computer_store/images/bkg_block-title-newproducts.png +0 -0
  245. skin/frontend/default/computer_store/images/bkg_block-title.gif +0 -0
  246. skin/frontend/default/computer_store/images/bkg_block-title.png +0 -0
  247. skin/frontend/default/computer_store/images/bkg_body.gif +0 -0
  248. skin/frontend/default/computer_store/images/bkg_bottom-categories.png +0 -0
  249. skin/frontend/default/computer_store/images/bkg_buttons-set1.gif +0 -0
  250. skin/frontend/default/computer_store/images/bkg_checkout.gif +0 -0
  251. skin/frontend/default/computer_store/images/bkg_collapse-gm.gif +0 -0
  252. skin/frontend/default/computer_store/images/bkg_collapse.gif +0 -0
  253. skin/frontend/default/computer_store/images/bkg_divider1.gif +0 -0
  254. skin/frontend/default/computer_store/images/bkg_footer.png +0 -0
  255. skin/frontend/default/computer_store/images/bkg_form-search.gif +0 -0
  256. skin/frontend/default/computer_store/images/bkg_grand-total.gif +0 -0
  257. skin/frontend/default/computer_store/images/bkg_grid.gif +0 -0
  258. skin/frontend/default/computer_store/images/bkg_head-sliderpr.png +0 -0
  259. skin/frontend/default/computer_store/images/bkg_header.jpg +0 -0
  260. skin/frontend/default/computer_store/images/bkg_input-text.png +0 -0
  261. skin/frontend/default/computer_store/images/bkg_input_search.png +0 -0
  262. skin/frontend/default/computer_store/images/bkg_li_categories.jpg +0 -0
  263. skin/frontend/default/computer_store/images/bkg_login-box.gif +0 -0
  264. skin/frontend/default/computer_store/images/bkg_main1.gif +0 -0
  265. skin/frontend/default/computer_store/images/bkg_main2.gif +0 -0
  266. skin/frontend/default/computer_store/images/bkg_mycart.png +0 -0
  267. skin/frontend/default/computer_store/images/bkg_nav0.jpg +0 -0
  268. skin/frontend/default/computer_store/images/bkg_nav1.gif +0 -0
  269. skin/frontend/default/computer_store/images/bkg_nav2.gif +0 -0
  270. skin/frontend/default/computer_store/images/bkg_navigation.png +0 -0
  271. skin/frontend/default/computer_store/images/bkg_newletter.png +0 -0
  272. skin/frontend/default/computer_store/images/bkg_opc-title-off.gif +0 -0
  273. skin/frontend/default/computer_store/images/bkg_opc-title-off.png +0 -0
  274. skin/frontend/default/computer_store/images/bkg_pipe1.gif +0 -0
  275. skin/frontend/default/computer_store/images/bkg_pipe2.gif +0 -0
  276. skin/frontend/default/computer_store/images/bkg_pipe3.gif +0 -0
  277. skin/frontend/default/computer_store/images/bkg_product-grid-first.png +0 -0
  278. skin/frontend/default/computer_store/images/bkg_product-grid.png +0 -0
  279. skin/frontend/default/computer_store/images/bkg_product-view.gif +0 -0
  280. skin/frontend/default/computer_store/images/bkg_product_collateral.gif +0 -0
  281. skin/frontend/default/computer_store/images/bkg_rating.gif +0 -0
  282. skin/frontend/default/computer_store/images/bkg_sepa_header_bottom.png +0 -0
  283. skin/frontend/default/computer_store/images/bkg_shopby-title.png +0 -0
  284. skin/frontend/default/computer_store/images/bkg_sp-methods.gif +0 -0
  285. skin/frontend/default/computer_store/images/bkg_stretched-sliderpr.png +0 -0
  286. skin/frontend/default/computer_store/images/bkg_tfoot.gif +0 -0
  287. skin/frontend/default/computer_store/images/bkg_th-v.gif +0 -0
  288. skin/frontend/default/computer_store/images/bkg_th.gif +0 -0
  289. skin/frontend/default/computer_store/images/bkg_toolbar.gif +0 -0
  290. skin/frontend/default/computer_store/images/bkg_ul_adv.jpg +0 -0
  291. skin/frontend/default/computer_store/images/btn-back-hover.png +0 -0
  292. skin/frontend/default/computer_store/images/btn-back.png +0 -0
  293. skin/frontend/default/computer_store/images/btn-next-hover.png +0 -0
  294. skin/frontend/default/computer_store/images/btn-next.png +0 -0
  295. skin/frontend/default/computer_store/images/btn_checkout.gif +0 -0
  296. skin/frontend/default/computer_store/images/btn_edit.gif +0 -0
  297. skin/frontend/default/computer_store/images/btn_gm-close.gif +0 -0
  298. skin/frontend/default/computer_store/images/btn_google_checkout.gif +0 -0
  299. skin/frontend/default/computer_store/images/btn_paypal_checkout.gif +0 -0
  300. skin/frontend/default/computer_store/images/btn_place_order.gif +0 -0
  301. skin/frontend/default/computer_store/images/btn_proceed_to_checkout.gif +0 -0
  302. skin/frontend/default/computer_store/images/btn_proceed_to_checkout_dis.gif +0 -0
  303. skin/frontend/default/computer_store/images/btn_remove.gif +0 -0
  304. skin/frontend/default/computer_store/images/btn_remove2.gif +0 -0
  305. skin/frontend/default/computer_store/images/btn_search.gif +0 -0
  306. skin/frontend/default/computer_store/images/btn_trash.gif +0 -0
  307. skin/frontend/default/computer_store/images/btn_window_close.gif +0 -0
  308. skin/frontend/default/computer_store/images/calendar.gif +0 -0
  309. skin/frontend/default/computer_store/images/catalog/product/placeholder/image.jpg +0 -0
  310. skin/frontend/default/computer_store/images/catalog/product/placeholder/small_image.jpg +0 -0
  311. skin/frontend/default/computer_store/images/catalog/product/placeholder/thumbnail.jpg +0 -0
  312. skin/frontend/default/computer_store/images/cs-buttons-games-1-nohover.png +0 -0
  313. skin/frontend/default/computer_store/images/cs-buttons-games-1.png +0 -0
  314. skin/frontend/default/computer_store/images/cvv.gif +0 -0
  315. skin/frontend/default/computer_store/images/cvv.jpg +0 -0
  316. skin/frontend/default/computer_store/images/fam_book_open.png +0 -0
  317. skin/frontend/default/computer_store/images/free_shipping_callout.jpg +0 -0
  318. skin/frontend/default/computer_store/images/grid-cal.gif +0 -0
  319. skin/frontend/default/computer_store/images/home_left_callout.jpg +0 -0
  320. skin/frontend/default/computer_store/images/home_main_callout.jpg +0 -0
  321. skin/frontend/default/computer_store/images/i_arrow-top.gif +0 -0
  322. skin/frontend/default/computer_store/images/i_asc_arrow.gif +0 -0
  323. skin/frontend/default/computer_store/images/i_asc_arrow.png +0 -0
  324. skin/frontend/default/computer_store/images/i_availability_only.gif +0 -0
  325. skin/frontend/default/computer_store/images/i_availability_only_arrow.gif +0 -0
  326. skin/frontend/default/computer_store/images/i_block-cart.gif +0 -0
  327. skin/frontend/default/computer_store/images/i_block-currency.gif +0 -0
  328. skin/frontend/default/computer_store/images/i_block-list.gif +0 -0
  329. skin/frontend/default/computer_store/images/i_block-poll.gif +0 -0
  330. skin/frontend/default/computer_store/images/i_block-related.gif +0 -0
  331. skin/frontend/default/computer_store/images/i_block-subscribe.gif +0 -0
  332. skin/frontend/default/computer_store/images/i_block-tags.gif +0 -0
  333. skin/frontend/default/computer_store/images/i_block-viewed.gif +0 -0
  334. skin/frontend/default/computer_store/images/i_block-wishlist.gif +0 -0
  335. skin/frontend/default/computer_store/images/i_desc_arrow.gif +0 -0
  336. skin/frontend/default/computer_store/images/i_desc_arrow.png +0 -0
  337. skin/frontend/default/computer_store/images/i_discount.gif +0 -0
  338. skin/frontend/default/computer_store/images/i_folder-table.gif +0 -0
  339. skin/frontend/default/computer_store/images/i_ma-info.gif +0 -0
  340. skin/frontend/default/computer_store/images/i_ma-reviews.gif +0 -0
  341. skin/frontend/default/computer_store/images/i_ma-tags.gif +0 -0
  342. skin/frontend/default/computer_store/images/i_msg-error.gif +0 -0
  343. skin/frontend/default/computer_store/images/i_msg-note.gif +0 -0
  344. skin/frontend/default/computer_store/images/i_msg-success.gif +0 -0
  345. skin/frontend/default/computer_store/images/i_notice.gif +0 -0
  346. skin/frontend/default/computer_store/images/i_page1.gif +0 -0
  347. skin/frontend/default/computer_store/images/i_page2.gif +0 -0
  348. skin/frontend/default/computer_store/images/i_pager-next.gif +0 -0
  349. skin/frontend/default/computer_store/images/i_pager-prev.gif +0 -0
  350. skin/frontend/default/computer_store/images/i_print.gif +0 -0
  351. skin/frontend/default/computer_store/images/i_rss-big.png +0 -0
  352. skin/frontend/default/computer_store/images/i_rss.gif +0 -0
  353. skin/frontend/default/computer_store/images/i_search_criteria.gif +0 -0
  354. skin/frontend/default/computer_store/images/i_shipping.gif +0 -0
  355. skin/frontend/default/computer_store/images/i_tag_add.gif +0 -0
  356. skin/frontend/default/computer_store/images/i_tier.gif +0 -0
  357. skin/frontend/default/computer_store/images/i_type_grid.gif +0 -0
  358. skin/frontend/default/computer_store/images/i_type_list.gif +0 -0
  359. skin/frontend/default/computer_store/images/icon-links-footer.png +0 -0
  360. skin/frontend/default/computer_store/images/icon_search.png +0 -0
  361. skin/frontend/default/computer_store/images/logo.gif +0 -0
  362. skin/frontend/default/computer_store/images/logo.png +0 -0
  363. skin/frontend/default/computer_store/images/logo_email.gif +0 -0
  364. skin/frontend/default/computer_store/images/logo_print.gif +0 -0
  365. skin/frontend/default/computer_store/images/magnifier_handle.gif +0 -0
  366. skin/frontend/default/computer_store/images/media/404_callout1.jpg +0 -0
  367. skin/frontend/default/computer_store/images/media/404_callout2.jpg +0 -0
  368. skin/frontend/default/computer_store/images/media/about_us_img.jpg +0 -0
  369. skin/frontend/default/computer_store/images/media/best_selling_img01.jpg +0 -0
  370. skin/frontend/default/computer_store/images/media/best_selling_img02.jpg +0 -0
  371. skin/frontend/default/computer_store/images/media/best_selling_img03.jpg +0 -0
  372. skin/frontend/default/computer_store/images/media/best_selling_img04.jpg +0 -0
  373. skin/frontend/default/computer_store/images/media/best_selling_img05.jpg +0 -0
  374. skin/frontend/default/computer_store/images/media/best_selling_img06.jpg +0 -0
  375. skin/frontend/default/computer_store/images/media/cell_phone_landing_banner1.jpg +0 -0
  376. skin/frontend/default/computer_store/images/media/col_left_callout.jpg +0 -0
  377. skin/frontend/default/computer_store/images/media/col_right_callout.jpg +0 -0
  378. skin/frontend/default/computer_store/images/media/electronics_cellphones.jpg +0 -0
  379. skin/frontend/default/computer_store/images/media/electronics_digitalcameras.jpg +0 -0
  380. skin/frontend/default/computer_store/images/media/electronics_laptops.jpg +0 -0
  381. skin/frontend/default/computer_store/images/media/furniture_callout_spot.jpg +0 -0
  382. skin/frontend/default/computer_store/images/media/furnitures_bed_room.jpg +0 -0
  383. skin/frontend/default/computer_store/images/media/furnitures_living_room.jpg +0 -0
  384. skin/frontend/default/computer_store/images/media/head_electronics_cellphones.gif +0 -0
  385. skin/frontend/default/computer_store/images/media/head_electronics_digicamera.gif +0 -0
  386. skin/frontend/default/computer_store/images/media/head_electronics_laptops.gif +0 -0
  387. skin/frontend/default/computer_store/images/media/laptop_callout_mid1.jpg +0 -0
  388. skin/frontend/default/computer_store/images/media/laptop_callout_mid2.jpg +0 -0
  389. skin/frontend/default/computer_store/images/media/laptop_callout_mid3.jpg +0 -0
  390. skin/frontend/default/computer_store/images/media/laptop_callout_spot.jpg +0 -0
  391. skin/frontend/default/computer_store/images/media/shirts_landing_banner1.jpg +0 -0
  392. skin/frontend/default/computer_store/images/next-pages.gif +0 -0
  393. skin/frontend/default/computer_store/images/np_cart_thumb.gif +0 -0
  394. skin/frontend/default/computer_store/images/np_more_img.gif +0 -0
  395. skin/frontend/default/computer_store/images/np_product_main.gif +0 -0
  396. skin/frontend/default/computer_store/images/np_thumb.gif +0 -0
  397. skin/frontend/default/computer_store/images/np_thumb2.gif +0 -0
  398. skin/frontend/default/computer_store/images/opc-ajax-loader.gif +0 -0
  399. skin/frontend/default/computer_store/images/pager_arrow_left.gif +0 -0
  400. skin/frontend/default/computer_store/images/pager_arrow_right.gif +0 -0
  401. skin/frontend/default/computer_store/images/parent.png +0 -0
  402. skin/frontend/default/computer_store/images/parent_hover.png +0 -0
  403. skin/frontend/default/computer_store/images/ph_callout_left_rebel.jpg +0 -0
  404. skin/frontend/default/computer_store/images/ph_callout_left_top.gif +0 -0
  405. skin/frontend/default/computer_store/images/product_zoom_overlay_magnif.gif +0 -0
  406. skin/frontend/default/computer_store/images/slider_bg.gif +0 -0
  407. skin/frontend/default/computer_store/images/slider_btn_zoom_in.gif +0 -0
  408. skin/frontend/default/computer_store/images/slider_btn_zoom_out.gif +0 -0
  409. skin/frontend/default/computer_store/images/spacer.gif +0 -0
  410. skin/frontend/default/computer_store/images/validation_advice_bg.gif +0 -0
  411. skin/frontend/default/computer_store/images/xmlconnect/catalog/category/placeholder/image.jpg +0 -0
  412. skin/frontend/default/computer_store/images/xmlconnect/catalog/category/placeholder/small_image.jpg +0 -0
  413. skin/frontend/default/computer_store/images/xmlconnect/catalog/category/placeholder/thumbnail.jpg +0 -0
  414. skin/frontend/default/computer_store/images/xmlconnect/tab_account.png +0 -0
  415. skin/frontend/default/computer_store/images/xmlconnect/tab_cart.png +0 -0
  416. skin/frontend/default/computer_store/images/xmlconnect/tab_home.png +0 -0
  417. skin/frontend/default/computer_store/images/xmlconnect/tab_more.png +0 -0
  418. skin/frontend/default/computer_store/images/xmlconnect/tab_page.png +0 -0
  419. skin/frontend/default/computer_store/images/xmlconnect/tab_search.png +0 -0
  420. skin/frontend/default/computer_store/images/xmlconnect/tab_shop.png +0 -0
  421. skin/frontend/default/computer_store/js/coin-slider.js +483 -0
  422. skin/frontend/default/computer_store/js/jquery-1.4.2.min.js +154 -0
app/design/frontend/default/computer_store/layout/catalog.xml ADDED
@@ -0,0 +1,441 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
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 base_default
24
+ * @copyright Copyright (c) 2011 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
+ Supported layout update handles (action):
29
+ - catalog_product_gallery
30
+ - catalog_product_compare_index
31
+
32
+ Supported layout update handles (special):
33
+ - default
34
+ - catalog_category_default
35
+ - catalog_category_layered
36
+ - catalog_product_view
37
+
38
+ -->
39
+ <layout version="0.1.0">
40
+
41
+ <!--
42
+ Default layout, loads most of the pages
43
+ -->
44
+
45
+ <default>
46
+
47
+ <!-- Mage_Catalog -->
48
+ <reference name="top.menu">
49
+ <block type="catalog/navigation" name="catalog.topnav" template="catalog/navigation/top.phtml"/>
50
+ </reference>
51
+ <reference name="left">
52
+
53
+ </reference>
54
+ <reference name="right">
55
+ <block type="catalog/product_compare_sidebar" before="cart_sidebar" name="catalog.compare.sidebar" template="catalog/product/compare/sidebar.phtml"/>
56
+ </reference>
57
+ <reference name="footer_links">
58
+ <action method="addLink" translate="label title" module="catalog" ifconfig="catalog/seo/site_map"><label>Site Map</label><url helper="catalog/map/getCategoryUrl" /><title>Site Map</title></action>
59
+ </reference>
60
+ <block type="catalog/product_price_template" name="catalog_product_price_template" />
61
+ </default>
62
+
63
+
64
+ <!--
65
+ Category default layout
66
+ -->
67
+
68
+ <catalog_category_default translate="label">
69
+ <label>Catalog Category (Non-Anchor)</label>
70
+ <reference name="root">
71
+ <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
72
+ <block type="catalog/navigation" name="catalog.leftnav" after="currency" template="catalog/navigation/left.phtml"/>
73
+ </reference>
74
+ <reference name="left">
75
+ <block type="catalog/navigation" name="catalog.list.categories" before="-" template="catalog/navigation/categories.phtml" />
76
+ <block type="catalog/navigation" name="catalog.leftnav" after="catalog.list.categories" template="catalog/navigation/left.phtml"/>
77
+ </reference>
78
+ <reference name="content">
79
+ <block type="catalog/category_view" name="category.products" template="catalog/category/view.phtml">
80
+ <block type="catalog/product_list" name="product_list" template="catalog/product/list.phtml">
81
+ <block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
82
+ <block type="page/html_pager" name="product_list_toolbar_pager"/>
83
+ <!-- The following code shows how to set your own pager increments -->
84
+ <!--
85
+ <action method="setDefaultListPerPage"><limit>4</limit></action>
86
+ <action method="setDefaultGridPerPage"><limit>9</limit></action>
87
+ <action method="addPagerLimit"><mode>list</mode><limit>2</limit></action>
88
+ <action method="addPagerLimit"><mode>list</mode><limit>4</limit></action>
89
+ <action method="addPagerLimit"><mode>list</mode><limit>6</limit></action>
90
+ <action method="addPagerLimit"><mode>list</mode><limit>8</limit></action>
91
+ <action method="addPagerLimit" translate="label"><mode>list</mode><limit>all</limit><label>All</label></action>
92
+ -->
93
+ </block>
94
+ <action method="addColumnCountLayoutDepend"><layout>empty</layout><count>6</count></action>
95
+ <action method="addColumnCountLayoutDepend"><layout>one_column</layout><count>5</count></action>
96
+ <action method="addColumnCountLayoutDepend"><layout>two_columns_left</layout><count>4</count></action>
97
+ <action method="addColumnCountLayoutDepend"><layout>two_columns_right</layout><count>4</count></action>
98
+ <action method="addColumnCountLayoutDepend"><layout>three_columns</layout><count>3</count></action>
99
+ <action method="setToolbarBlockName"><name>product_list_toolbar</name></action>
100
+ </block>
101
+ </block>
102
+ </reference>
103
+ </catalog_category_default>
104
+
105
+ <!--
106
+ Category layered navigation layout
107
+ -->
108
+
109
+ <catalog_category_layered translate="label">
110
+ <label>Catalog Category (Anchor)</label>
111
+ <reference name="root">
112
+ <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
113
+ </reference>
114
+ <reference name="left">
115
+ <block type="catalog/navigation" name="catalog.list.categories" before="-" template="catalog/navigation/categories.phtml" />
116
+ <block type="catalog/layer_view" name="catalog.leftnav" after="catalog.list.categories" template="catalog/layer/view.phtml"/>
117
+ </reference>
118
+ <reference name="content">
119
+ <block type="catalog/category_view" name="category.products" template="catalog/category/view.phtml">
120
+ <block type="catalog/product_list" name="product_list" template="catalog/product/list.phtml">
121
+ <!-- <action method="addReviewSummaryTemplate"><type>default</type><template>review/helper/su.phtml</template></action> -->
122
+ <block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
123
+ <block type="page/html_pager" name="product_list_toolbar_pager"/>
124
+ <!-- The following code shows how to set your own pager increments -->
125
+ <!--
126
+ <action method="setDefaultListPerPage"><limit>4</limit></action>
127
+ <action method="setDefaultGridPerPage"><limit>3</limit></action>
128
+ <action method="addPagerLimit"><mode>list</mode><limit>2</limit></action>
129
+ <action method="addPagerLimit"><mode>list</mode><limit>4</limit></action>
130
+ <action method="addPagerLimit"><mode>list</mode><limit>6</limit></action>
131
+ <action method="addPagerLimit"><mode>list</mode><limit>8</limit></action>
132
+ <action method="addPagerLimit" translate="label"><mode>list</mode><limit>all</limit><label>All</label></action>
133
+ <action method="addPagerLimit"><mode>grid</mode><limit>3</limit></action>
134
+ <action method="addPagerLimit"><mode>grid</mode><limit>6</limit></action>
135
+ <action method="addPagerLimit"><mode>grid</mode><limit>9</limit></action>
136
+ <action method="addPagerLimit" translate="label"><mode>grid</mode><limit>all</limit><label>All</label></action>
137
+ -->
138
+ </block>
139
+ <action method="addColumnCountLayoutDepend"><layout>empty</layout><count>6</count></action>
140
+ <action method="addColumnCountLayoutDepend"><layout>one_column</layout><count>5</count></action>
141
+ <action method="addColumnCountLayoutDepend"><layout>two_columns_left</layout><count>4</count></action>
142
+ <action method="addColumnCountLayoutDepend"><layout>two_columns_right</layout><count>4</count></action>
143
+ <action method="addColumnCountLayoutDepend"><layout>three_columns</layout><count>3</count></action>
144
+ <action method="setToolbarBlockName"><name>product_list_toolbar</name></action>
145
+ </block>
146
+ </block>
147
+ </reference>
148
+ </catalog_category_layered>
149
+
150
+ <!--
151
+ Compare products page
152
+ -->
153
+
154
+ <catalog_product_compare_index translate="label">
155
+ <label>Catalog Product Compare List</label>
156
+ <!-- Mage_Catalog -->
157
+ <reference name="root">
158
+ <action method="setTemplate"><template>page/popup.phtml</template></action>
159
+ </reference>
160
+ <reference name="head">
161
+ <action method="addJs"><script>scriptaculous/scriptaculous.js</script></action>
162
+ <action method="addJs"><script>varien/product.js</script></action>
163
+ </reference>
164
+ <reference name="content">
165
+ <block type="catalog/product_compare_list" name="catalog.compare.list" template="catalog/product/compare/list.phtml"/>
166
+ </reference>
167
+ </catalog_product_compare_index>
168
+
169
+ <customer_account_index>
170
+ <reference name="right">
171
+ <action method="unsetChild"><name>catalog.compare.sidebar</name></action>
172
+ </reference>
173
+ </customer_account_index>
174
+
175
+ <!--
176
+ Product view
177
+ -->
178
+
179
+ <catalog_product_view translate="label">
180
+ <label>Catalog Product View (Any)</label>
181
+ <!-- Mage_Catalog -->
182
+ <reference name="root">
183
+ <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
184
+ </reference>
185
+ <reference name="head">
186
+ <action method="addJs"><script>varien/product.js</script></action>
187
+ <action method="addJs"><script>varien/configurable.js</script></action>
188
+
189
+ <action method="addItem"><type>js_css</type><name>calendar/calendar-win2k-1.css</name><params/><!--<if/><condition>can_load_calendar_js</condition>--></action>
190
+ <action method="addItem"><type>js</type><name>calendar/calendar.js</name><!--<params/><if/><condition>can_load_calendar_js</condition>--></action>
191
+ <action method="addItem"><type>js</type><name>calendar/calendar-setup.js</name><!--<params/><if/><condition>can_load_calendar_js</condition>--></action>
192
+ </reference>
193
+ <reference name="content">
194
+ <block type="catalog/product_view" name="product.info" template="catalog/product/view.phtml">
195
+ <!--
196
+ <action method="addReviewSummaryTemplate"><type>default</type><template>review/helper/summary.phtml</template></action>
197
+ <action method="addReviewSummaryTemplate"><type>short</type><template>review/helper/summary_short.phtml</template></action>
198
+ <action method="addReviewSummaryTemplate"><type>...</type><template>...</template></action>
199
+ -->
200
+ <block type="catalog/product_view_media" name="product.info.media" as="media" template="catalog/product/view/media.phtml"/>
201
+ <block type="core/text_list" name="alert.urls" as="alert_urls" translate="label">
202
+ <label>Alert Urls</label>
203
+ </block>
204
+
205
+ <action method="setTierPriceTemplate"><template>catalog/product/view/tierprices.phtml</template></action>
206
+
207
+ <block type="catalog/product_list_upsell" name="product.info.upsell" as="upsell_products" template="catalog/product/list/upsell.phtml">
208
+ <action method="setColumnCount"><columns>4</columns></action>
209
+ <action method="setItemLimit"><type>upsell</type><limit>4</limit></action>
210
+ </block>
211
+
212
+ <block type="catalog/product_view_additional" name="product.info.additional" as="product_additional_data" />
213
+ <block type="catalog/product_view_description" name="product.description" as="description" template="catalog/product/view/description.phtml">
214
+ <action method="addToParentGroup"><group>detailed_info</group></action>
215
+ </block>
216
+ <block type="catalog/product_view_attributes" name="product.attributes" as="additional" template="catalog/product/view/attributes.phtml">
217
+ <action method="addToParentGroup"><group>detailed_info</group></action>
218
+ </block>
219
+ <block type="catalog/product_view" name="product.info.addto" as="addto" template="catalog/product/view/addto.phtml"/>
220
+ <block type="catalog/product_view" name="product.info.addtocart" as="addtocart" template="catalog/product/view/addtocart.phtml"/>
221
+
222
+ <block type="core/text_list" name="product.info.extrahint" as="extrahint" translate="label">
223
+ <label>Product View Extra Hint</label>
224
+ </block>
225
+
226
+ <block type="catalog/product_view" name="product.info.options.wrapper" as="product_options_wrapper" template="catalog/product/view/options/wrapper.phtml" translate="label">
227
+ <label>Info Column Options Wrapper</label>
228
+ <block type="core/template" name="options_js" template="catalog/product/view/options/js.phtml"/>
229
+ <block type="catalog/product_view_options" name="product.info.options" as="product_options" template="catalog/product/view/options.phtml">
230
+ <action method="addOptionRenderer"><type>text</type><block>catalog/product_view_options_type_text</block><template>catalog/product/view/options/type/text.phtml</template></action>
231
+ <action method="addOptionRenderer"><type>file</type><block>catalog/product_view_options_type_file</block><template>catalog/product/view/options/type/file.phtml</template></action>
232
+ <action method="addOptionRenderer"><type>select</type><block>catalog/product_view_options_type_select</block><template>catalog/product/view/options/type/select.phtml</template></action>
233
+ <action method="addOptionRenderer"><type>date</type><block>catalog/product_view_options_type_date</block><template>catalog/product/view/options/type/date.phtml</template></action>
234
+ </block>
235
+ <block type="core/html_calendar" name="html_calendar" as="html_calendar" template="page/js/calendar.phtml"/>
236
+ </block>
237
+ <block type="catalog/product_view" name="product.info.options.wrapper.bottom" as="product_options_wrapper_bottom" template="catalog/product/view/options/wrapper/bottom.phtml" translate="label">
238
+ <label>Bottom Block Options Wrapper</label>
239
+ <action method="insert"><block>product.tierprices</block></action>
240
+ <block type="catalog/product_view" name="product.clone_prices" as="prices" template="catalog/product/view/price_clone.phtml"/>
241
+ <action method="append"><block>product.info.addtocart</block></action>
242
+ <action method="append"><block>product.info.addto</block></action>
243
+ </block>
244
+
245
+ <block type="core/template_facade" name="product.info.container1" as="container1">
246
+ <action method="setDataByKey"><key>alias_in_layout</key><value>container1</value></action>
247
+ <action method="setDataByKeyFromRegistry"><key>options_container</key><key_in_registry>product</key_in_registry></action>
248
+ <action method="append"><block>product.info.options.wrapper</block></action>
249
+ <action method="append"><block>product.info.options.wrapper.bottom</block></action>
250
+ </block>
251
+ <block type="core/template_facade" name="product.info.container2" as="container2">
252
+ <action method="setDataByKey"><key>alias_in_layout</key><value>container2</value></action>
253
+ <action method="setDataByKeyFromRegistry"><key>options_container</key><key_in_registry>product</key_in_registry></action>
254
+ <action method="append"><block>product.info.options.wrapper</block></action>
255
+ <action method="append"><block>product.info.options.wrapper.bottom</block></action>
256
+ </block>
257
+ <action method="unsetCallChild"><child>container1</child><call>ifEquals</call><if>0</if><key>alias_in_layout</key><key>options_container</key></action>
258
+ <action method="unsetCallChild"><child>container2</child><call>ifEquals</call><if>0</if><key>alias_in_layout</key><key>options_container</key></action>
259
+ </block>
260
+ </reference>
261
+ <reference name="left">
262
+ <block type="catalog/navigation" name="catalog.list.categories" before="-" template="catalog/navigation/categories.phtml" />
263
+ <block type="catalog/product_list_related" name="catalog.product.related" after="catalog.list.categories" template="catalog/product/list/related.phtml"/>
264
+ </reference>
265
+ </catalog_product_view>
266
+
267
+ <!--
268
+ Additional block dependant on product type
269
+ -->
270
+ <PRODUCT_TYPE_simple translate="label" module="catalog">
271
+ <label>Catalog Product View (Simple)</label>
272
+ <reference name="product.info">
273
+ <block type="catalog/product_view_type_simple" name="product.info.simple" as="product_type_data" template="catalog/product/view/type/default.phtml">
274
+ <block type="core/text_list" name="product.info.simple.extra" as="product_type_data_extra" translate="label">
275
+ <label>Product Extra Info</label>
276
+ </block>
277
+ </block>
278
+ </reference>
279
+ </PRODUCT_TYPE_simple>
280
+ <PRODUCT_TYPE_configurable translate="label" module="catalog">
281
+ <label>Catalog Product View (Configurable)</label>
282
+ <reference name="product.info">
283
+ <block type="catalog/product_view_type_configurable" name="product.info.configurable" as="product_type_data" template="catalog/product/view/type/default.phtml">
284
+ <block type="core/text_list" name="product.info.configurable.extra" as="product_type_data_extra" translate="label">
285
+ <label>Product Extra Info</label>
286
+ </block>
287
+ </block>
288
+ </reference>
289
+ <reference name="product.info.options.wrapper">
290
+ <block type="catalog/product_view_type_configurable" name="product.info.options.configurable" as="options_configurable" before="-" template="catalog/product/view/type/options/configurable.phtml"/>
291
+ </reference>
292
+ </PRODUCT_TYPE_configurable>
293
+ <PRODUCT_TYPE_grouped translate="label" module="catalog">
294
+ <label>Catalog Product View (Grouped)</label>
295
+ <reference name="product.info">
296
+ <block type="catalog/product_view_type_grouped" name="product.info.grouped" as="product_type_data" template="catalog/product/view/type/grouped.phtml">
297
+ <block type="core/text_list" name="product.info.grouped.extra" as="product_type_data_extra" translate="label">
298
+ <label>Product Extra Info</label>
299
+ </block>
300
+ </block>
301
+ </reference>
302
+ </PRODUCT_TYPE_grouped>
303
+ <PRODUCT_TYPE_virtual translate="label" module="catalog">
304
+ <label>Catalog Product View (Virtual)</label>
305
+ <reference name="product.info">
306
+ <block type="catalog/product_view_type_virtual" name="product.info.virtual" as="product_type_data" template="catalog/product/view/type/default.phtml">
307
+ <block type="core/text_list" name="product.info.virtual.extra" as="product_type_data_extra" translate="label">
308
+ <label>Product Extra Info</label>
309
+ </block>
310
+ </block>
311
+ </reference>
312
+ </PRODUCT_TYPE_virtual>
313
+
314
+
315
+
316
+ <!--
317
+ Product send to friend
318
+ -->
319
+
320
+ <catalog_product_send translate="label">
321
+ <label>Catalog Product Email to a Friend</label>
322
+ <!-- Mage_Catalog -->
323
+ <reference name="root">
324
+ <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
325
+ </reference>
326
+ <reference name="head">
327
+ <action method="addJs"><script>varien/product.js</script></action>
328
+ </reference>
329
+ <reference name="content">
330
+ <block type="catalog/product_send" name="product.send" template="catalog/product/send.phtml">
331
+ </block>
332
+ </reference>
333
+ </catalog_product_send>
334
+
335
+ <!--
336
+ Product additional images gallery popup
337
+ -->
338
+
339
+ <catalog_product_gallery translate="label">
340
+ <label>Catalog Product Image Gallery Popup</label>
341
+ <!-- Mage_Catalog -->
342
+ <reference name="root">
343
+ <action method="setTemplate"><template>page/popup.phtml</template></action>
344
+ </reference>
345
+ <reference name="content">
346
+ <block type="catalog/product_gallery" name="catalog_product_gallery" template="catalog/product/gallery.phtml"/>
347
+ </reference>
348
+ </catalog_product_gallery>
349
+
350
+ <!--
351
+ SEO Site Map
352
+ -->
353
+
354
+ <catalog_seo_sitemap translate="label">
355
+ <label>Catalog Seo Sitemap (Common)</label>
356
+ <remove name="right"/>
357
+ <remove name="left"/>
358
+
359
+ <reference name="root">
360
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
361
+ </reference>
362
+ <reference name="content">
363
+ <block type="page/template_container" name="seo.sitemap.container" template="catalog/seo/sitemap/container.phtml">
364
+ <block type="page/template_links" name="seo.sitemap.links" as="links" template="page/template/links.phtml"/>
365
+ <block type="page/html_pager" name="seo.sitemap.pager.top" as="pager_top" template="page/html/pager.phtml"/>
366
+ <block type="page/html_pager" name="seo.sitemap.pager.bottom" as="pager_bottom" template="page/html/pager.phtml"/>
367
+ </block>
368
+ </reference>
369
+ </catalog_seo_sitemap>
370
+
371
+ <catalog_seo_sitemap_category translate="label">
372
+ <label>Catalog Seo Sitemap (Category List)</label>
373
+ <reference name="head">
374
+ <action method="setTitle" translate="title" module="catalog"><title>Site Map</title></action>
375
+ </reference>
376
+ <update handle="catalog_seo_sitemap" />
377
+ <reference name="seo.sitemap.container">
378
+ <action method="setTitle" translate="title" module="catalog"><title>Categories</title></action>
379
+ <block type="catalog/seo_sitemap_category" name="seo.sitemap.sitemap" as="sitemap" after="pager_top" template="catalog/seo/sitemap.phtml">
380
+ <action method="bindPager"><pager>seo.sitemap.pager.top</pager></action>
381
+ <action method="bindPager"><pager>seo.sitemap.pager.bottom</pager></action>
382
+ <action method="setItemsTitle" translate="title" module="catalog"><title>categories</title></action>
383
+ </block>
384
+ </reference>
385
+ <reference name="seo.sitemap.links">
386
+ <action method="addLink" translate="label title" module="catalog"><label>Products Sitemap</label><url helper="catalog/map/getProductUrl"/><title>Products Sitemap</title></action>
387
+ </reference>
388
+ </catalog_seo_sitemap_category>
389
+
390
+ <catalog_seo_sitemap_category_tree translate="label">
391
+ <label>Catalog Seo Sitemap (Category Tree)</label>
392
+ <reference name="seo.sitemap.container">
393
+ <remove name="seo.sitemap.pager.top" />
394
+ <remove name="seo.sitemap.pager.bottom" />
395
+ <block type="catalog/seo_sitemap_tree_pager" name="seo.sitemap.tree.pager.top" as="pager_top" template="page/html/pager.phtml"/>
396
+ <block type="catalog/seo_sitemap_tree_pager" name="seo.sitemap.tree.pager.bottom" as="pager_bottom" template="page/html/pager.phtml"/>
397
+ <remove name="seo.sitemap.sitemap" />
398
+ <block type="catalog/seo_sitemap_tree_category" name="seo.sitemap.sitemap_tree" as="sitemap" after="pager_top" template="catalog/seo/tree.phtml">
399
+ <action method="bindPager"><pager>seo.sitemap.tree.pager.top</pager></action>
400
+ <action method="bindPager"><pager>seo.sitemap.tree.pager.bottom</pager></action>
401
+ </block>
402
+ </reference>
403
+ </catalog_seo_sitemap_category_tree>
404
+
405
+ <catalog_seo_sitemap_product translate="label">
406
+ <label>Catalog Seo Sitemap (Product List)</label>
407
+ <reference name="head">
408
+ <action method="setTitle" translate="title" module="catalog"><title>Site Map</title></action>
409
+ </reference>
410
+ <update handle="catalog_seo_sitemap" />
411
+ <reference name="seo.sitemap.container">
412
+ <action method="setTitle" translate="title" module="catalog"><title>Products</title></action>
413
+ <block type="catalog/seo_sitemap_product" name="seo.sitemap.sitemap" as="sitemap" after="pager_top" template="catalog/seo/sitemap.phtml">
414
+ <action method="bindPager"><pager>seo.sitemap.pager.top</pager></action>
415
+ <action method="bindPager"><pager>seo.sitemap.pager.bottom</pager></action>
416
+ <action method="setItemsTitle" translate="title" module="catalog"><title>products</title></action>
417
+ </block>
418
+ </reference>
419
+ <reference name="seo.sitemap.links">
420
+ <action method="addLink" translate="label title" module="catalog"><label>Categories Sitemap</label><url helper="catalog/map/getCategoryUrl"/><title>Categories Sitemap</title></action>
421
+ </reference>
422
+ </catalog_seo_sitemap_product>
423
+
424
+
425
+ <!--
426
+ Catalog search terms block
427
+ -->
428
+
429
+ <catalog_seo_searchterm_popular translate="label">
430
+ <label>Catalog Seo Popular Search Terms</label>
431
+ <remove name="right"/>
432
+ <remove name="left"/>
433
+ <reference name="root">
434
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
435
+ </reference>
436
+ <reference name="content">
437
+ <block type="catalog/seo_searchterm" name="seo.searchterm" template="catalog/seo/searchterm.phtml"/>
438
+ </reference>
439
+ </catalog_seo_searchterm_popular>
440
+
441
+ </layout>
app/design/frontend/default/computer_store/layout/catalogsearch.xml ADDED
@@ -0,0 +1,142 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
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 base_default
24
+ * @copyright Copyright (c) 2011 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
+ -->
29
+ <layout version="0.1.0">
30
+
31
+ <default>
32
+ <reference name="header">
33
+ <block type="core/template" name="top.search" as="topSearch" template="catalogsearch/form.mini.phtml"/>
34
+ </reference>
35
+ <reference name="footer_links">
36
+ <action method="addLink" translate="label title" module="catalogsearch" ifconfig="catalog/seo/search_terms">
37
+ <label>Search Terms</label>
38
+ <url helper="catalogsearch/getSearchTermUrl" />
39
+ <title>Search Terms</title>
40
+ </action>
41
+ <action method="addLink" translate="label title" module="catalogsearch">
42
+ <label>Advanced Search</label>
43
+ <url helper="catalogsearch/getAdvancedSearchUrl" />
44
+ <title>Advanced Search</title>
45
+ </action>
46
+ </reference>
47
+ </default>
48
+
49
+ <catalogsearch_result_index translate="label">
50
+ <label>Quick Search Form</label>
51
+ <reference name="root">
52
+ <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
53
+ </reference>
54
+ <reference name="left">
55
+ <block type="catalogsearch/layer" name="catalogsearch.leftnav" before="-" template="catalog/layer/view.phtml"/>
56
+ </reference>
57
+ <reference name="content">
58
+ <block type="catalogsearch/result" name="search.result" template="catalogsearch/result.phtml">
59
+ <block type="catalog/product_list" name="search_result_list" template="catalog/product/list.phtml">
60
+ <block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
61
+ <block type="page/html_pager" name="product_list_toolbar_pager"/>
62
+ </block>
63
+ <action method="addColumnCountLayoutDepend"><layout>empty</layout><count>6</count></action>
64
+ <action method="addColumnCountLayoutDepend"><layout>one_column</layout><count>5</count></action>
65
+ <action method="addColumnCountLayoutDepend"><layout>two_columns_left</layout><count>4</count></action>
66
+ <action method="addColumnCountLayoutDepend"><layout>two_columns_right</layout><count>4</count></action>
67
+ <action method="addColumnCountLayoutDepend"><layout>three_columns</layout><count>3</count></action>
68
+ <action method="setToolbarBlockName"><name>product_list_toolbar</name></action>
69
+ </block>
70
+ <action method="setListOrders"/>
71
+ <action method="setListModes"/>
72
+ <action method="setListCollection"/>
73
+ </block>
74
+ </reference>
75
+ </catalogsearch_result_index>
76
+
77
+ <catalogsearch_advanced_index translate="label">
78
+ <label>Advanced Search Form</label>
79
+ <!-- Mage_Catalogsearch -->
80
+ <reference name="root">
81
+ <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
82
+ </reference>
83
+ <reference name="head">
84
+ <action method="setTitle" translate="title" module="catalogsearch"><title>Advanced Search</title></action>
85
+ <action method="addItem"><type>js_css</type><name>calendar/calendar-win2k-1.css</name><params/><!--<if/><condition>can_load_calendar_js</condition>--></action>
86
+ <action method="addItem"><type>js</type><name>calendar/calendar.js</name><!--<params/><if/><condition>can_load_calendar_js</condition>--></action>
87
+ <action method="addItem"><type>js</type><name>calendar/calendar-setup.js</name><!--<params/><if/><condition>can_load_calendar_js</condition>--></action>
88
+ </reference>
89
+ <reference name="content">
90
+ <block type="catalogsearch/advanced_form" name="catalogsearch_advanced_form" template="catalogsearch/advanced/form.phtml"/>
91
+ <block type="core/html_calendar" name="html_calendar" as="html_calendar" template="page/js/calendar.phtml"/>
92
+ </reference>
93
+ </catalogsearch_advanced_index>
94
+
95
+ <!--
96
+ Advanced search results
97
+ -->
98
+
99
+ <catalogsearch_advanced_result translate="label">
100
+ <label>Advanced Search Result</label>
101
+ <update handle="page_two_columns_right" />
102
+ <!-- Mage_Catalogsearch -->
103
+ <reference name="root">
104
+ <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
105
+ </reference>
106
+ <reference name="content">
107
+ <block type="catalogsearch/advanced_result" name="catalogsearch_advanced_result" template="catalogsearch/advanced/result.phtml">
108
+ <block type="catalog/product_list" name="search_result_list" template="catalog/product/list.phtml">
109
+ <block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
110
+ <block type="page/html_pager" name="product_list_toolbar_pager"/>
111
+ </block>
112
+ <action method="addColumnCountLayoutDepend"><layout>empty</layout><count>6</count></action>
113
+ <action method="addColumnCountLayoutDepend"><layout>one_column</layout><count>5</count></action>
114
+ <action method="addColumnCountLayoutDepend"><layout>two_columns_left</layout><count>4</count></action>
115
+ <action method="addColumnCountLayoutDepend"><layout>two_columns_right</layout><count>4</count></action>
116
+ <action method="addColumnCountLayoutDepend"><layout>three_columns</layout><count>3</count></action>
117
+ <action method="setToolbarBlockName"><name>product_list_toolbar</name></action>
118
+ </block>
119
+ <action method="setListOrders"/>
120
+ <action method="setListModes"/>
121
+ <action method="setListCollection"/>
122
+ </block>
123
+ </reference>
124
+ </catalogsearch_advanced_result>
125
+
126
+ <catalogsearch_term_popular translate="label">
127
+ <label>Popular Search Terms</label>
128
+ <remove name="right"/>
129
+ <remove name="left"/>
130
+
131
+ <reference name="head">
132
+ <action method="setTitle" translate="title" module="catalogsearch"><title>Search Terms</title></action>
133
+ </reference>
134
+ <reference name="root">
135
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
136
+ </reference>
137
+ <reference name="content">
138
+ <block type="catalogsearch/term" name="seo.searchterm" template="catalogsearch/term.phtml"/>
139
+ </reference>
140
+ </catalogsearch_term_popular>
141
+
142
+ </layout>
app/design/frontend/default/computer_store/layout/checkout.xml ADDED
@@ -0,0 +1,436 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
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 base_default
24
+ * @copyright Copyright (c) 2011 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
+ -->
29
+ <layout version="0.1.0">
30
+
31
+ <!--
32
+ Default layout, loads most of the pages
33
+ -->
34
+
35
+ <default>
36
+
37
+ <!-- Mage_Checkout -->
38
+ <reference name="top.links">
39
+ <block type="checkout/links" name="checkout_cart_link">
40
+ <action method="addCartLink"></action>
41
+ <action method="addCheckoutLink"></action>
42
+ </block>
43
+ </reference>
44
+ <reference name="left">
45
+ <block type="checkout/cart_sidebar" name="cart_sidebar" template="checkout/cart/sidebar.phtml" before="-">
46
+ <action method="addItemRender"><type>simple</type><block>checkout/cart_item_renderer</block><template>checkout/cart/sidebar/default.phtml</template></action>
47
+ <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/cart/sidebar/default.phtml</template></action>
48
+ <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/cart/sidebar/default.phtml</template></action>
49
+ <block type="core/text_list" name="cart_sidebar.extra_actions" as="extra_actions" translate="label" module="checkout">
50
+ <label>Shopping Cart Sidebar Extra Actions</label>
51
+ </block>
52
+ </block>
53
+ </reference>
54
+ </default>
55
+
56
+ <checkout_cart_index translate="label">
57
+ <label>Shopping Cart</label>
58
+ <remove name="right"/>
59
+ <remove name="left"/>
60
+ <!-- Mage_Checkout -->
61
+ <reference name="root">
62
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
63
+ </reference>
64
+ <reference name="content">
65
+ <block type="checkout/cart" name="checkout.cart">
66
+ <action method="setCartTemplate"><value>checkout/cart.phtml</value></action>
67
+ <action method="setEmptyTemplate"><value>checkout/cart/noItems.phtml</value></action>
68
+ <action method="chooseTemplate"/>
69
+ <action method="addItemRender"><type>simple</type><block>checkout/cart_item_renderer</block><template>checkout/cart/item/default.phtml</template></action>
70
+ <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/cart/item/default.phtml</template></action>
71
+ <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/cart/item/default.phtml</template></action>
72
+
73
+ <block type="core/text_list" name="checkout.cart.top_methods" as="top_methods" translate="label">
74
+ <label>Payment Methods Before Checkout Button</label>
75
+ <block type="checkout/onepage_link" name="checkout.cart.methods.onepage" template="checkout/onepage/link.phtml"/>
76
+ </block>
77
+
78
+ <block type="page/html_wrapper" name="checkout.cart.form.before" as="form_before" translate="label">
79
+ <label>Shopping Cart Form Before</label>
80
+ </block>
81
+
82
+ <block type="core/text_list" name="checkout.cart.methods" as="methods" translate="label">
83
+ <label>Payment Methods After Checkout Button</label>
84
+ <block type="checkout/onepage_link" name="checkout.cart.methods.onepage" template="checkout/onepage/link.phtml"/>
85
+ <block type="checkout/multishipping_link" name="checkout.cart.methods.multishipping" template="checkout/multishipping/link.phtml"/>
86
+ </block>
87
+
88
+ <block type="checkout/cart_coupon" name="checkout.cart.coupon" as="coupon" template="checkout/cart/coupon.phtml"/>
89
+ <block type="checkout/cart_shipping" name="checkout.cart.shipping" as="shipping" template="checkout/cart/shipping.phtml"/>
90
+ <block type="checkout/cart_crosssell" name="checkout.cart.crosssell" as="crosssell" template="checkout/cart/crosssell.phtml"/>
91
+
92
+ <block type="checkout/cart_totals" name="checkout.cart.totals" as="totals" template="checkout/cart/totals.phtml"/>
93
+ </block>
94
+ </reference>
95
+ <block type="core/text_list" name="additional.product.info" translate="label">
96
+ <label>Additional Product Info</label>
97
+ </block>
98
+ </checkout_cart_index>
99
+
100
+ <checkout_cart_configure translate="label">
101
+ <label>Configure Cart Item</label>
102
+ <update handle="catalog_product_view"/>
103
+ <reference name="product.info">
104
+ <block type="checkout/cart_item_configure" name="checkout.cart.item.configure.block"></block>
105
+ </reference>
106
+ </checkout_cart_configure>
107
+
108
+ <!--
109
+ Multi address shipping checkout main layout,
110
+ will be rendered on all checkout pages
111
+ -->
112
+
113
+ <checkout_multishipping translate="label">
114
+ <label>Multishipping Checkout</label>
115
+ <!-- Mage_Checkout -->
116
+ <remove name="right"/>
117
+ <remove name="left"/>
118
+
119
+ <reference name="root">
120
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
121
+ </reference>
122
+ <reference name="content">
123
+ <block type="checkout/multishipping_state" name="checkout_state" template="checkout/multishipping/state.phtml"/>
124
+ </reference>
125
+ </checkout_multishipping>
126
+
127
+ <checkout_multishipping_login>
128
+ <update handle="customer_account_login"/>
129
+ </checkout_multishipping_login>
130
+
131
+ <checkout_multishipping_register>
132
+ <update handle="customer_account_create"/>
133
+ </checkout_multishipping_register>
134
+
135
+ <!--
136
+ Multi address shipping checkout selection of address per item page
137
+ -->
138
+
139
+ <checkout_multishipping_address_select translate="label">
140
+ <label>Multishipping Checkout Shipping Address Selection</label>
141
+ <update handle="checkout_multishipping"/>
142
+ <!-- Mage_Checkout -->
143
+ <reference name="content">
144
+ <block type="checkout/multishipping_address_select" name="checkout_address_select" template="checkout/multishipping/address/select.phtml"/>
145
+ </reference>
146
+ </checkout_multishipping_address_select>
147
+
148
+ <checkout_multishipping_address_selectbilling translate="label">
149
+ <label>Multishipping Checkout Billing Address Selection</label>
150
+ <update handle="checkout_multishipping"/>
151
+ <!-- Mage_Checkout -->
152
+ <reference name="content">
153
+ <block type="checkout/multishipping_address_select" name="checkout_address_select" template="checkout/multishipping/address/select.phtml"/>
154
+ </reference>
155
+ </checkout_multishipping_address_selectbilling>
156
+
157
+
158
+ <checkout_multishipping_address_newshipping translate="label">
159
+ <label>Multishipping Checkout Shipping Address Creation</label>
160
+ <update handle="checkout_multishipping"/>
161
+ <update handle="checkout_multishipping_customer_address"/>
162
+ </checkout_multishipping_address_newshipping>
163
+
164
+ <checkout_multishipping_address_newbilling translate="label">
165
+ <label>Multishipping Checkout Billing Address Creation</label>
166
+ <update handle="checkout_multishipping"/>
167
+ <update handle="checkout_multishipping_customer_address"/>
168
+ </checkout_multishipping_address_newbilling>
169
+
170
+ <checkout_multishipping_address_editshipping translate="label">
171
+ <label>Multishipping Checkout Shipping Address Edit Form</label>
172
+ <update handle="checkout_multishipping"/>
173
+ <update handle="checkout_multishipping_customer_address"/>
174
+ </checkout_multishipping_address_editshipping>
175
+
176
+ <checkout_multishipping_address_editaddress>
177
+ <update handle="checkout_multishipping"/>
178
+ <update handle="checkout_multishipping_customer_address"/>
179
+ </checkout_multishipping_address_editaddress>
180
+
181
+ <checkout_multishipping_address_editbilling translate="label">
182
+ <label>Multishipping Checkout Billing Address Edit Form</label>
183
+ <update handle="checkout_multishipping"/>
184
+ <update handle="checkout_multishipping_customer_address"/>
185
+ </checkout_multishipping_address_editbilling>
186
+
187
+ <checkout_multishipping_customer_address translate="label">
188
+ <label>Multishipping Checkout Customer Address Edit Form</label>
189
+ <reference name="content">
190
+ <block type="customer/address_edit" name="customer_address_edit" template="customer/address/edit.phtml"/>
191
+ </reference>
192
+ </checkout_multishipping_customer_address>
193
+
194
+ <!--
195
+ Multi address shipping checkout address page
196
+ -->
197
+
198
+ <checkout_multishipping_addresses translate="label">
199
+ <label>Multishipping Checkout Address (Any) Form</label>
200
+ <update handle="checkout_multishipping"/>
201
+ <!-- Mage_Checkout -->
202
+ <reference name="content">
203
+ <block type="checkout/multishipping_addresses" name="checkout_addresses" template="checkout/multishipping/addresses.phtml">
204
+ <action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
205
+ <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/multishipping/item/default.phtml</template></action>
206
+ <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/multishipping/item/default.phtml</template></action>
207
+ </block>
208
+ </reference>
209
+ </checkout_multishipping_addresses>
210
+
211
+ <!--
212
+ Multi address shipping checkout shipping information
213
+ -->
214
+
215
+ <checkout_multishipping_shipping translate="label">
216
+ <label>Multishipping Checkout Shipping Information Step</label>
217
+ <update handle="checkout_multishipping"/>
218
+ <!-- Mage_Checkout -->
219
+ <reference name="content">
220
+ <block type="checkout/multishipping_shipping" name="checkout_shipping" template="checkout/multishipping/shipping.phtml">
221
+ <action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
222
+ <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/multishipping/item/default.phtml</template></action>
223
+ <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/multishipping/item/default.phtml</template></action>
224
+
225
+ <block type="checkout/multishipping_billing_items" name="checkout_billing_items" template="checkout/multishipping/billing/items.phtml">
226
+ <action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
227
+ <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/multishipping/item/default.phtml</template></action>
228
+ <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/multishipping/item/default.phtml</template></action>
229
+ </block>
230
+ </block>
231
+ </reference>
232
+ </checkout_multishipping_shipping>
233
+
234
+ <!--
235
+ Multi address shipping checkout billing information
236
+ -->
237
+
238
+ <checkout_multishipping_billing translate="label">
239
+ <label>Multishipping Checkout Billing Information Step</label>
240
+ <update handle="checkout_multishipping"/>
241
+ <!-- Mage_Checkout -->
242
+ <reference name="content">
243
+ <block type="checkout/multishipping_billing" name="checkout_billing" template="checkout/multishipping/billing.phtml">
244
+ <action method="setMethodFormTemplate"><method>purchaseorder</method><template>payment/form/purchaseorder.phtml</template></action>
245
+
246
+ <!--<block type="checkout/multishipping_billing_items" name="checkout_billing_items" template="checkout/multishipping/billing/items.phtml">
247
+ <action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
248
+ <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/multishipping/item/default.phtml</template></action>
249
+ <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/multishipping/item/default.phtml</template></action>
250
+ </block>-->
251
+
252
+ </block>
253
+ </reference>
254
+ </checkout_multishipping_billing>
255
+
256
+ <!--
257
+ Multi address shipping checkout overview
258
+ -->
259
+
260
+ <checkout_multishipping_overview translate="label">
261
+ <label>Multishipping Checkout Overview</label>
262
+ <update handle="checkout_multishipping"/>
263
+ <!-- Mage_Checkout -->
264
+ <reference name="content">
265
+ <block type="checkout/multishipping_overview" name="checkout_overview" template="checkout/multishipping/overview.phtml">
266
+ <action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
267
+ <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/multishipping/item/default.phtml</template></action>
268
+ <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/multishipping/item/default.phtml</template></action>
269
+ <action method="addRowItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/multishipping/overview/item.phtml</template></action>
270
+ <action method="addRowItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/multishipping/overview/item.phtml</template></action>
271
+ <block type="checkout/multishipping_payment_info" name="payment_info">
272
+ <action method="setInfoTemplate"><method></method><template></template></action>
273
+ </block>
274
+ <block type="checkout/agreements" name="checkout.multishipping.agreements" as="agreements" template="checkout/multishipping/agreements.phtml"/>
275
+ <block type="checkout/cart_totals" name="totals" />
276
+ <block type="core/text_list" name="checkout.multishipping.overview.items.after" as="items_after" translate="label">
277
+ <label>Overview Items After</label>
278
+ </block>
279
+ </block>
280
+ </reference>
281
+ </checkout_multishipping_overview>
282
+
283
+ <!--
284
+ Multi address shipping checkout success
285
+ -->
286
+
287
+ <checkout_multishipping_success translate="label">
288
+ <label>Multishipping Checkout Success</label>
289
+ <update handle="checkout_multishipping"/>
290
+ <!-- Mage_Checkout -->
291
+ <reference name="content">
292
+ <block type="checkout/multishipping_success" name="checkout_success" template="checkout/multishipping/success.phtml"/>
293
+ </reference>
294
+ </checkout_multishipping_success>
295
+
296
+ <!--
297
+ One page checkout main layout
298
+ -->
299
+
300
+ <checkout_onepage_index translate="label">
301
+ <label>One Page Checkout</label>
302
+ <!-- Mage_Checkout -->
303
+ <remove name="left"/>
304
+
305
+ <reference name="root">
306
+ <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
307
+ </reference>
308
+ <reference name="right">
309
+ <action method="unsetChildren"></action>
310
+ <block type="page/html_wrapper" name="checkout.progress.wrapper" translate="label">
311
+ <label>Checkout Progress Wrapper</label>
312
+ <action method="setElementId"><value>checkout-progress-wrapper</value></action>
313
+ <block type="checkout/onepage_progress" name="checkout.progress" before="-" template="checkout/onepage/progress.phtml"/>
314
+ </block>
315
+ </reference>
316
+ <reference name="content">
317
+ <block type="checkout/onepage" name="checkout.onepage" template="checkout/onepage.phtml">
318
+ <block type="checkout/onepage_login" name="checkout.onepage.login" as="login" template="checkout/onepage/login.phtml">
319
+ <block type="page/html_wrapper" name="checkout.onepage.login.before" as="login_before" translate="label">
320
+ <label>Login/Registration Before</label>
321
+ <action method="setMayBeInvisible"><value>1</value></action>
322
+ </block>
323
+ </block>
324
+ <block type="checkout/onepage_billing" name="checkout.onepage.billing" as="billing" template="checkout/onepage/billing.phtml"/>
325
+ <block type="checkout/onepage_shipping" name="checkout.onepage.shipping" as="shipping" template="checkout/onepage/shipping.phtml"/>
326
+ <block type="checkout/onepage_shipping_method" name="checkout.onepage.shipping_method" as="shipping_method" template="checkout/onepage/shipping_method.phtml">
327
+ <block type="checkout/onepage_shipping_method_available" name="checkout.onepage.shipping_method.available" as="available" template="checkout/onepage/shipping_method/available.phtml"/>
328
+ <block type="checkout/onepage_shipping_method_additional" name="checkout.onepage.shipping_method.additional" as="additional" template="checkout/onepage/shipping_method/additional.phtml"/>
329
+ </block>
330
+ <block type="checkout/onepage_payment" name="checkout.onepage.payment" as="payment" template="checkout/onepage/payment.phtml">
331
+ <block type="checkout/onepage_payment_methods" name="checkout.payment.methods" as="methods" template="checkout/onepage/payment/methods.phtml">
332
+ <action method="setMethodFormTemplate"><method>purchaseorder</method><template>payment/form/purchaseorder.phtml</template></action>
333
+ </block>
334
+ </block>
335
+ <block type="checkout/onepage_review" name="checkout.onepage.review" as="review" template="checkout/onepage/review.phtml"/>
336
+ </block>
337
+ </reference>
338
+ </checkout_onepage_index>
339
+
340
+ <!--
341
+ One page checkout progress block
342
+ -->
343
+
344
+ <checkout_onepage_progress>
345
+ <!-- Mage_Checkout -->
346
+ <remove name="right"/>
347
+ <remove name="left"/>
348
+
349
+ <block type="checkout/onepage_progress" name="root" output="toHtml" template="checkout/onepage/progress.phtml">
350
+ <block type="checkout/onepage_payment_info" name="payment_info">
351
+ <action method="setInfoTemplate"><method></method><template></template></action>
352
+ </block>
353
+ </block>
354
+ </checkout_onepage_progress>
355
+
356
+ <!--
357
+ One page checkout payment methods block
358
+ -->
359
+ <checkout_onepage_paymentmethod>
360
+ <remove name="right"/>
361
+ <remove name="left"/>
362
+
363
+ <block type="checkout/onepage_payment_methods" name="root" output="toHtml" template="checkout/onepage/payment/methods.phtml">
364
+ <action method="setMethodFormTemplate"><method>purchaseorder</method><template>payment/form/purchaseorder.phtml</template></action>
365
+ </block>
366
+ </checkout_onepage_paymentmethod>
367
+
368
+
369
+ <!--
370
+ One page checkout shipping methods block
371
+ -->
372
+
373
+ <checkout_onepage_shippingmethod>
374
+ <!-- Mage_Checkout -->
375
+ <remove name="right"/>
376
+ <remove name="left"/>
377
+
378
+ <block type="checkout/onepage_shipping_method_available" name="root" output="toHtml" template="checkout/onepage/shipping_method/available.phtml"/>
379
+ </checkout_onepage_shippingmethod>
380
+
381
+ <checkout_onepage_additional>
382
+ <!-- Mage_Checkout -->
383
+ <remove name="right"/>
384
+ <remove name="left"/>
385
+
386
+ <block type="checkout/onepage_shipping_method_additional" name="root" output="toHtml" template="checkout/onepage/shipping_method/additional.phtml">
387
+ <action method="setDontDisplayContainer"><param>1</param></action>
388
+ </block>
389
+ </checkout_onepage_additional>
390
+
391
+ <!--
392
+ One page checkout order review block
393
+ -->
394
+
395
+ <checkout_onepage_review translate="label">
396
+ <label>One Page Checkout Overview</label>
397
+ <!-- Mage_Checkout -->
398
+ <remove name="right"/>
399
+ <remove name="left"/>
400
+
401
+ <block type="checkout/onepage_review_info" name="root" output="toHtml" template="checkout/onepage/review/info.phtml">
402
+ <action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/onepage/review/item.phtml</template></action>
403
+ <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/onepage/review/item.phtml</template></action>
404
+ <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/onepage/review/item.phtml</template></action>
405
+ <block type="checkout/cart_totals" name="checkout.onepage.review.info.totals" as="totals" template="checkout/onepage/review/totals.phtml"/>
406
+ <block type="core/text_list" name="checkout.onepage.review.info.items.before" as="items_before" translate="label">
407
+ <label>Items Before</label>
408
+ </block>
409
+ <block type="core/text_list" name="checkout.onepage.review.info.items.after" as="items_after" translate="label">
410
+ <label>Items After</label>
411
+ </block>
412
+ <block type="checkout/agreements" name="checkout.onepage.agreements" as="agreements" template="checkout/onepage/agreements.phtml"/>
413
+ <block type="core/template" name="checkout.onepage.review.button" as="button" template="checkout/onepage/review/button.phtml"/>
414
+ </block>
415
+ </checkout_onepage_review>
416
+
417
+ <checkout_onepage_success translate="label">
418
+ <label>One Page Checkout Success</label>
419
+ <reference name="root">
420
+ <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
421
+ </reference>
422
+ <reference name="content">
423
+ <block type="checkout/onepage_success" name="checkout.success" template="checkout/success.phtml"/>
424
+ </reference>
425
+ </checkout_onepage_success>
426
+ <checkout_onepage_failure translate="label">
427
+ <label>One Page Checkout Failure</label>
428
+ <reference name="root">
429
+ <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
430
+ </reference>
431
+ <reference name="content">
432
+ <block type="checkout/onepage_failure" name="checkout.failure" template="checkout/onepage/failure.phtml"/>
433
+ </reference>
434
+ </checkout_onepage_failure>
435
+ <block type="core/list" name="additional.product.info"/>
436
+ </layout>
app/design/frontend/default/computer_store/layout/contacts.xml ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
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 base_default
24
+ * @copyright Copyright (c) 2011 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
+ <layout version="0.1.0">
29
+ <default>
30
+ <reference name="footer_links">
31
+ <action method="addLink" translate="label title" module="contacts" ifconfig="contacts/contacts/enabled"><label>Contact Us</label><url>contacts</url><title>Contact Us</title><prepare>true</prepare></action>
32
+ </reference>
33
+ </default>
34
+
35
+ <contacts_index_index translate="label">
36
+ <label>Contact Us Form</label>
37
+ <reference name="head">
38
+ <action method="setTitle" translate="title" module="contacts"><title>Contact Us</title></action>
39
+ </reference>
40
+ <reference name="root">
41
+ <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
42
+ <action method="setHeaderTitle" translate="title" module="contacts"><title>Contact Us</title></action>
43
+ </reference>
44
+ <reference name="content">
45
+ <block type="core/template" name="contactForm" template="contacts/form.phtml"/>
46
+ </reference>
47
+ </contacts_index_index>
48
+ </layout>
app/design/frontend/default/computer_store/layout/customer.xml ADDED
@@ -0,0 +1,289 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
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 base_default
24
+ * @copyright Copyright (c) 2011 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
+ Supported layout update handles (action):
29
+ - customer_account_index
30
+ - customer_address_index
31
+ - customer_address_view
32
+ - customer_account_login
33
+ - customer_account_logoutsuccess
34
+ - customer_account_create
35
+ - customer_account_forgotpassword
36
+ - customer_account_confirmation
37
+ - customer_account_edit
38
+
39
+ Supported layout update handles (special):
40
+ - default
41
+
42
+ -->
43
+ <layout version="0.1.0">
44
+
45
+ <!--
46
+ Default layout, loads most of the pages
47
+ -->
48
+
49
+ <default>
50
+ <!-- Mage_Customer -->
51
+ <reference name="top.links">
52
+ <action method="addLink" translate="label title" module="customer"><label>My Account</label><url helper="customer/getAccountUrl"/><title>My Account</title><prepare/><urlParams/><position>10</position></action>
53
+ </reference>
54
+ </default>
55
+
56
+ <!--
57
+ Load this update on every page when customer is logged in
58
+ -->
59
+
60
+ <customer_logged_in>
61
+ <reference name="top.links">
62
+ <action method="addLink" translate="label title" module="customer"><label>Log Out</label><url helper="customer/getLogoutUrl"/><title>Log Out</title><prepare/><urlParams/><position>100</position></action>
63
+ </reference>
64
+ </customer_logged_in>
65
+
66
+ <!--
67
+ Load this update on every page when customer is logged out
68
+ -->
69
+
70
+ <customer_logged_out>
71
+ <!---<reference name="right">
72
+ <block type="customer/form_login" name="customer_form_mini_login" before="-" template="customer/form/mini.login.phtml"/>
73
+ </reference>-->
74
+ <reference name="top.links">
75
+ <action method="addLink" translate="label title" module="customer"><label>Log In</label><url helper="customer/getLoginUrl"/><title>Log In</title><prepare/><urlParams/><position>100</position></action>
76
+ </reference>
77
+ <remove name="reorder"></remove>
78
+ </customer_logged_out>
79
+
80
+ <!--
81
+ Layout for customer login page
82
+ -->
83
+
84
+ <customer_account_login translate="label">
85
+ <label>Customer Account Login Form</label>
86
+ <!-- Mage_Customer -->
87
+ <remove name="right"/>
88
+ <remove name="left"/>
89
+
90
+ <reference name="root">
91
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
92
+ </reference>
93
+ <reference name="content">
94
+ <block type="customer/form_login" name="customer_form_login" template="customer/form/login.phtml"/>
95
+ </reference>
96
+ </customer_account_login>
97
+
98
+ <!--
99
+ Layout for customer log out page
100
+ -->
101
+
102
+ <customer_account_logoutsuccess translate="label">
103
+ <label>Customer Account Logout Success</label>
104
+ <!-- Mage_Customer -->
105
+ <remove name="right"/>
106
+ <remove name="left"/>
107
+
108
+ <reference name="root">
109
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
110
+ </reference>
111
+ <reference name="content">
112
+ <block type="core/template" name="customer_logout" template="customer/logout.phtml"/>
113
+ </reference>
114
+ </customer_account_logoutsuccess>
115
+
116
+ <!--
117
+ New customer registration
118
+ -->
119
+
120
+ <customer_account_create translate="label">
121
+ <label>Customer Account Registration Form</label>
122
+ <!-- Mage_Customer -->
123
+ <remove name="right"/>
124
+ <remove name="left"/>
125
+
126
+ <reference name="root">
127
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
128
+ </reference>
129
+ <reference name="content">
130
+ <block type="customer/form_register" name="customer_form_register" template="customer/form/register.phtml">
131
+ <block type="page/html_wrapper" name="customer.form.register.fields.before" as="form_fields_before" translate="label">
132
+ <label>Form Fields Before</label>
133
+ </block>
134
+ </block>
135
+ </reference>
136
+ </customer_account_create>
137
+
138
+ <customer_account_forgotpassword translate="label">
139
+ <label>Customer Forgot Password Form</label>
140
+ <remove name="right"/>
141
+ <remove name="left"/>
142
+
143
+ <reference name="head">
144
+ <action method="setTitle" translate="title" module="customer"><title>Forgot Your Password</title></action>
145
+ </reference>
146
+ <reference name="root">
147
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
148
+ <action method="setHeaderTitle" translate="title" module="customer"><title>Password forgotten</title></action>
149
+ </reference>
150
+ <reference name="content">
151
+ <!--<block type="core/template" name="forgotPassword" template="customer/form/forgotpassword.phtml"/>-->
152
+ <block type="customer/account_forgotpassword" name="forgotPassword" template="customer/form/forgotpassword.phtml"/>
153
+ </reference>
154
+ </customer_account_forgotpassword>
155
+
156
+ <customer_account_resetpassword translate="label">
157
+ <label>Reset a Password</label>
158
+ <remove name="right"/>
159
+ <remove name="left"/>
160
+
161
+ <reference name="head">
162
+ <action method="setTitle" translate="title" module="customer">
163
+ <title>Reset a Password</title>
164
+ </action>
165
+ </reference>
166
+ <reference name="root">
167
+ <action method="setTemplate">
168
+ <template>page/1column.phtml</template>
169
+ </action>
170
+ <action method="setHeaderTitle" translate="title" module="customer">
171
+ <title>Reset a Password</title>
172
+ </action>
173
+ </reference>
174
+ <reference name="content">
175
+ <block type="customer/account_resetpassword" name="resetPassword" template="customer/form/resetforgottenpassword.phtml"/>
176
+ </reference>
177
+ </customer_account_resetpassword>
178
+
179
+ <customer_account_confirmation>
180
+ <remove name="right"/>
181
+ <remove name="left"/>
182
+
183
+ <reference name="root">
184
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
185
+ <action method="setHeaderTitle" translate="title" module="customer"><title>Send confirmation link</title></action>
186
+ </reference>
187
+ <reference name="content">
188
+ <block type="core/template" name="accountConfirmation" template="customer/form/confirmation.phtml"/>
189
+ </reference>
190
+ </customer_account_confirmation>
191
+
192
+ <customer_account_edit translate="label">
193
+ <label>Customer Account Edit Form</label>
194
+ <update handle="customer_account"/>
195
+ <reference name="root">
196
+ <action method="setHeaderTitle" translate="title" module="customer"><title>Edit Account Info</title></action>
197
+ </reference>
198
+ <reference name="my.account.wrapper">
199
+ <block type="customer/form_edit" name="customer_edit" template="customer/form/edit.phtml"/>
200
+ </reference>
201
+
202
+ <reference name="left">
203
+ <action method="unsetChild"><name>left.permanent.callout</name></action>
204
+ </reference>
205
+ </customer_account_edit>
206
+
207
+ <!--
208
+ Customer account pages, rendered for all tabs in dashboard
209
+ -->
210
+
211
+ <customer_account translate="label">
212
+ <label>Customer My Account (All Pages)</label>
213
+ <!--remove name="catalog.compare.sidebar"/>
214
+ <remove name="sale.reorder.sidebar"/-->
215
+ <!-- Mage_Customer -->
216
+ <reference name="root">
217
+ <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
218
+ </reference>
219
+
220
+ <reference name="content">
221
+ <block type="page/html_wrapper" name="my.account.wrapper" translate="label">
222
+ <label>My Account Wrapper</label>
223
+ <action method="setElementClass"><value>my-account</value></action>
224
+ </block>
225
+ </reference>
226
+
227
+ <reference name="left">
228
+ <block type="customer/account_navigation" name="customer_account_navigation" before="-" template="customer/account/navigation.phtml">
229
+ <action method="addLink" translate="label" module="customer"><name>account</name><path>customer/account/</path><label>Account Dashboard</label></action>
230
+ <action method="addLink" translate="label" module="customer"><name>account_edit</name><path>customer/account/edit/</path><label>Account Information</label></action>
231
+ <action method="addLink" translate="label" module="customer"><name>address_book</name><path>customer/address/</path><label>Address Book</label></action>
232
+ </block>
233
+
234
+
235
+ <remove name="tags_popular"/>
236
+
237
+ </reference>
238
+ </customer_account>
239
+
240
+ <!--
241
+ Customer account home dashboard layout
242
+ -->
243
+
244
+ <customer_account_index translate="label">
245
+ <label>Customer My Account Dashboard</label>
246
+ <update handle="customer_account"/>
247
+ <!-- Mage_Customer -->
248
+ <reference name="root">
249
+ <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
250
+ </reference>
251
+ <reference name="my.account.wrapper">
252
+ <block type="customer/account_dashboard" name="customer_account_dashboard" template="customer/account/dashboard.phtml">
253
+ <block type="customer/account_dashboard_hello" name="customer_account_dashboard_hello" as="hello" template="customer/account/dashboard/hello.phtml"/>
254
+ <block type="core/template" name="customer_account_dashboard_top" as="top" />
255
+ <block type="customer/account_dashboard_info" name="customer_account_dashboard_info" as="info" template="customer/account/dashboard/info.phtml"/>
256
+ <block type="customer/account_dashboard_newsletter" name="customer_account_dashboard_newsletter" as="newsletter" template="customer/account/dashboard/newsletter.phtml"/>
257
+ <block type="customer/account_dashboard_address" name="customer_account_dashboard_address" as="address" template="customer/account/dashboard/address.phtml"/>
258
+ </block>
259
+ </reference>
260
+
261
+ </customer_account_index>
262
+
263
+ <!--
264
+ Customer account address book
265
+ -->
266
+
267
+ <customer_address_index translate="label">
268
+ <label>Customer My Account Address Book</label>
269
+ <!-- Mage_Customer -->
270
+ <update handle="customer_account"/>
271
+ <reference name="my.account.wrapper">
272
+ <block type="customer/address_book" name="address_book" template="customer/address/book.phtml"/>
273
+ </reference>
274
+ </customer_address_index>
275
+
276
+ <!--
277
+ Customer account address edit page
278
+ -->
279
+
280
+ <customer_address_form translate="label">
281
+ <label>Customer My Account Address Edit Form</label>
282
+ <!-- Mage_Customer -->
283
+ <update handle="customer_account"/>
284
+ <reference name="my.account.wrapper">
285
+ <block type="customer/address_edit" name="customer_address_edit" template="customer/address/edit.phtml"/>
286
+ </reference>
287
+ </customer_address_form>
288
+
289
+ </layout>
app/design/frontend/default/computer_store/layout/directory.xml ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
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 base_default
24
+ * @copyright Copyright (c) 2011 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
+ -->
29
+ <layout version="0.1.0">
30
+
31
+ <!--
32
+ Category default layout
33
+ -->
34
+ <default>
35
+ <reference name="head">
36
+ <block type="core/template" name="optional_zip_countries" as="optional_zip_countries" template="directory/js/optional_zip_countries.phtml" />
37
+ </reference>
38
+ </default>
39
+
40
+ <catalog_category_default>
41
+ <!-- <reference name="left">
42
+ <block type="directory/currency" name="currency" before="catalog.leftnav" template="directory/currency.phtml"/>
43
+ </reference> -->
44
+ </catalog_category_default>
45
+
46
+ <!--
47
+ Category layered navigation layout
48
+ -->
49
+
50
+ <catalog_category_layered>
51
+ <!-- <reference name="left">
52
+ <block type="directory/currency" name="currency" before="catalog.leftnav" template="directory/currency.phtml"/>
53
+ </reference> -->
54
+ </catalog_category_layered>
55
+
56
+ <!--
57
+ Catalog Search layout
58
+ -->
59
+
60
+ <catalogsearch_advanced_index>
61
+ <!-- <reference name="left">
62
+ <block type="directory/currency" name="right_currency" before="-" template="directory/currency.phtml"/>
63
+ </reference> -->
64
+ </catalogsearch_advanced_index>
65
+
66
+ <catalogsearch_result_index>
67
+ <!-- <reference name="left">
68
+ <block type="directory/currency" name="currency" before="-" template="directory/currency.phtml"/>
69
+ </reference> -->
70
+ </catalogsearch_result_index>
71
+
72
+ <catalogsearch_advanced_result>
73
+ <!-- <reference name="right">
74
+ <block type="directory/currency" name="right_currency" before="-" template="directory/currency.phtml"/>
75
+ </reference> -->
76
+ </catalogsearch_advanced_result>
77
+
78
+ </layout>
app/design/frontend/default/computer_store/layout/newsletter.xml ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
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 base_default
24
+ * @copyright Copyright (c) 2011 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
+ -->
29
+ <layout version="0.1.0">
30
+
31
+ <!--
32
+ Default layout, loads most of the pages
33
+ -->
34
+
35
+ <default>
36
+
37
+ <!-- Mage_Newsletter -->
38
+ <!-- <reference name="left">
39
+ <block type="newsletter/subscribe" name="left.newsletter" template="newsletter/subscribe.phtml"/>
40
+ </reference> -->
41
+
42
+ </default>
43
+
44
+ <!--
45
+ Customer account pages, rendered for all tabs in dashboard
46
+ -->
47
+
48
+ <customer_account>
49
+ <!-- Mage_Newsletter -->
50
+ <reference name="customer_account_navigation">
51
+ <action method="addLink" translate="label" module="newsletter"><name>newsletter</name><path>newsletter/manage/</path><label>Newsletter Subscriptions</label></action>
52
+ </reference>
53
+ <remove name="left.newsletter"/>
54
+ </customer_account>
55
+
56
+ <newsletter_manage_index translate="label">
57
+ <label>Customer My Account Newsletter Subscriptions</label>
58
+ <update handle="customer_account"/>
59
+ <reference name="my.account.wrapper">
60
+ <block type="customer/newsletter" name="customer_newsletter">
61
+ <block type="page/html_wrapper" name="customer.newsletter.form.before" as="form_before" translate="label">
62
+ <label>Newsletter Subscription Form Before</label>
63
+ <action method="setMayBeInvisible"><value>1</value></action>
64
+ </block>
65
+ </block>
66
+ </reference>
67
+ </newsletter_manage_index>
68
+
69
+ </layout>
app/design/frontend/default/computer_store/layout/page.xml ADDED
@@ -0,0 +1,192 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
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 base_default
24
+ * @copyright Copyright (c) 2011 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
+ <layout version="0.1.0">
29
+ <!--
30
+ Default layout, loads most of the pages
31
+ -->
32
+
33
+ <default translate="label" module="page">
34
+ <label>All Pages</label>
35
+ <block type="page/html" name="root" output="toHtml" template="page/3columns.phtml">
36
+
37
+ <block type="page/html_head" name="head" as="head">
38
+ <action method="addJs"><script>prototype/prototype.js</script></action>
39
+ <action method="addJs" ifconfig="dev/js/deprecation"><script>prototype/deprecation.js</script></action>
40
+ <action method="addJs"><script>lib/ccard.js</script></action>
41
+ <action method="addJs"><script>prototype/validation.js</script></action>
42
+ <action method="addJs"><script>scriptaculous/builder.js</script></action>
43
+ <action method="addJs"><script>scriptaculous/effects.js</script></action>
44
+ <action method="addJs"><script>scriptaculous/dragdrop.js</script></action>
45
+ <action method="addJs"><script>scriptaculous/controls.js</script></action>
46
+ <action method="addJs"><script>scriptaculous/slider.js</script></action>
47
+ <action method="addJs"><script>varien/js.js</script></action>
48
+ <action method="addJs"><script>varien/form.js</script></action>
49
+ <action method="addJs"><script>varien/menu.js</script></action>
50
+ <action method="addJs"><script>mage/translate.js</script></action>
51
+ <action method="addJs"><script>mage/cookies.js</script></action>
52
+
53
+ <block type="page/js_cookie" name="js_cookies" template="page/js/cookie.phtml"/>
54
+
55
+ <action method="addCss"><stylesheet>css/styles.css</stylesheet></action>
56
+ <action method="addItem"><type>skin_css</type><name>css/styles-ie.css</name><params/><if>lt IE 8</if></action>
57
+ <action method="addCss"><stylesheet>css/widgets.css</stylesheet></action>
58
+ <action method="addCss"><stylesheet>css/print.css</stylesheet><params>media="print"</params></action>
59
+
60
+ <action method="addItem"><type>js</type><name>lib/ds-sleight.js</name><params/><if>lt IE 7</if></action>
61
+ <action method="addItem"><type>skin_js</type><name>js/ie6.js</name><params/><if>lt IE 7</if></action>
62
+ </block>
63
+
64
+ <block type="core/text_list" name="after_body_start" as="after_body_start" translate="label">
65
+ <label>Page Top</label>
66
+ </block>
67
+
68
+ <block type="page/html_notices" name="global_notices" as="global_notices" template="page/html/notices.phtml" />
69
+
70
+ <block type="page/html_header" name="header" as="header">
71
+ <block type="page/template_links" name="top.links" as="topLinks"/>
72
+ <block type="page/switch" name="store_language" as="store_language" template="page/switch/languages.phtml"/>
73
+ <block type="directory/currency" name="store_currency" as="store_currency" template="directory/currency.phtml"/>
74
+ <block type="core/text_list" name="top.menu" as="topMenu" translate="label">
75
+ <label>Navigation Bar</label>
76
+ </block>
77
+ <block type="page/html_wrapper" name="top.container" as="topContainer" translate="label">
78
+ <label>Page Header</label>
79
+ <action method="setElementClass"><value>top-container</value></action>
80
+ </block>
81
+ </block>
82
+
83
+ <block type="page/html_breadcrumbs" name="breadcrumbs" as="breadcrumbs"/>
84
+
85
+ <block type="core/text_list" name="left" as="left" translate="label">
86
+ <label>Left Column</label>
87
+ </block>
88
+
89
+ <block type="core/messages" name="global_messages" as="global_messages"/>
90
+ <block type="core/messages" name="messages" as="messages"/>
91
+
92
+ <block type="core/text_list" name="content" as="content" translate="label">
93
+ <label>Main Content Area</label>
94
+ </block>
95
+
96
+ <block type="core/text_list" name="right" as="right" translate="label">
97
+ <label>Right Column</label>
98
+ </block>
99
+
100
+ <block type="page/html_footer" name="footer" as="footer" template="page/html/footer.phtml">
101
+ <block type="page/html_wrapper" name="bottom.container" as="bottomContainer" translate="label">
102
+ <label>Page Footer</label>
103
+ <action method="setElementClass"><value>bottom-container</value></action>
104
+ </block>
105
+
106
+ <block type="page/switch" name="store_switcher" as="store_switcher" template="page/switch/stores.phtml"/>
107
+ <block type="page/template_links" name="footer_links" as="footer_links" template="page/template/links.phtml"/>
108
+ </block>
109
+
110
+ <block type="core/text_list" name="before_body_end" as="before_body_end" translate="label">
111
+ <label>Page Bottom</label>
112
+ </block>
113
+ </block>
114
+
115
+ <block type="core/profiler" output="toHtml" name="core_profiler"/>
116
+ </default>
117
+
118
+ <print translate="label" module="page">
119
+ <label>All Pages (Print Version)</label>
120
+ <!-- Mage_Page -->
121
+ <block type="page/html" name="root" output="toHtml" template="page/print.phtml">
122
+
123
+ <block type="page/html_head" name="head" as="head">
124
+ <action method="addJs"><script>prototype/prototype.js</script></action>
125
+ <action method="addJs"><script>mage/translate.js</script></action>
126
+ <action method="addJs"><script>lib/ccard.js</script></action>
127
+ <action method="addJs"><script>prototype/validation.js</script></action>
128
+ <action method="addJs"><script>varien/js.js</script></action>
129
+
130
+ <action method="addCss"><stylesheet>css/styles.css</stylesheet></action>
131
+ <action method="addItem"><type>skin_css</type><name>css/styles-ie.css</name><params/><if>lt IE 8</if></action>
132
+ <action method="addCss"><stylesheet>css/widgets.css</stylesheet></action>
133
+ <action method="addCss"><stylesheet>css/print.css</stylesheet><params>media="print"</params></action>
134
+
135
+ <action method="addItem"><type>js</type><name>lib/ds-sleight.js</name><params/><if>lt IE 7</if></action>
136
+ <action method="addItem"><type>skin_js</type><name>js/ie6.js</name><params/><if>lt IE 7</if></action>
137
+
138
+ </block>
139
+
140
+ <block type="core/text_list" name="content" as="content" translate="label">
141
+ <label>Main Content Area</label>
142
+ </block>
143
+
144
+ </block>
145
+ </print>
146
+
147
+ <!-- Custom page layout handles -->
148
+ <page_empty translate="label">
149
+ <label>All Empty Layout Pages</label>
150
+ <reference name="root">
151
+ <action method="setTemplate"><template>page/empty.phtml</template></action>
152
+ <!-- Mark root page block that template is applied -->
153
+ <action method="setIsHandle"><applied>1</applied></action>
154
+ </reference>
155
+ </page_empty>
156
+
157
+ <page_one_column translate="label">
158
+ <label>All One-Column Layout Pages</label>
159
+ <reference name="root">
160
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
161
+ <!-- Mark root page block that template is applied -->
162
+ <action method="setIsHandle"><applied>1</applied></action>
163
+ </reference>
164
+ </page_one_column>
165
+
166
+ <page_two_columns_left translate="label">
167
+ <label>All Two-Column Layout Pages (Left Column)</label>
168
+ <reference name="root">
169
+ <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
170
+ <!-- Mark root page block that template is applied -->
171
+ <action method="setIsHandle"><applied>1</applied></action>
172
+ </reference>
173
+ </page_two_columns_left>
174
+
175
+ <page_two_columns_right translate="label">
176
+ <label>All Two-Column Layout Pages (Right Column)</label>
177
+ <reference name="root">
178
+ <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
179
+ <!-- Mark root page block that template is applied -->
180
+ <action method="setIsHandle"><applied>1</applied></action>
181
+ </reference>
182
+ </page_two_columns_right>
183
+
184
+ <page_three_columns translate="label">
185
+ <label>All Three-Column Layout Pages</label>
186
+ <reference name="root">
187
+ <action method="setTemplate"><template>page/3columns.phtml</template></action>
188
+ <!-- Mark root page block that template is applied -->
189
+ <action method="setIsHandle"><applied>1</applied></action>
190
+ </reference>
191
+ </page_three_columns>
192
+ </layout>
app/design/frontend/default/computer_store/layout/poll.xml ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
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 base_default
24
+ * @copyright Copyright (c) 2011 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
+ -->
29
+ <layout version="0.1.0">
30
+
31
+ <!--
32
+ Default layout, loads most of the pages
33
+ -->
34
+
35
+ <default>
36
+
37
+ <!-- Mage_Poll -->
38
+ <reference name="left">
39
+ <block type="poll/activePoll" name="right.poll">
40
+ <action method="setPollTemplate"><template>poll/active.phtml</template><type>poll</type></action>
41
+ <action method="setPollTemplate"><template>poll/result.phtml</template><type>results</type></action>
42
+ </block>
43
+ </reference>
44
+
45
+ </default>
46
+
47
+ <!--
48
+ Customer account home dashboard layout
49
+ -->
50
+
51
+ <customer_account_index>
52
+ <reference name="right">
53
+ <action method="unsetChild"><name>right.poll</name></action>
54
+ </reference>
55
+ </customer_account_index>
56
+
57
+ </layout>
app/design/frontend/default/computer_store/layout/productslider.xml ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <layout version="0.1.0">
3
+ <default>
4
+ <reference name="content">
5
+ <block type="productslider/position" before="-" name="home.productslider"/>
6
+ </reference>
7
+ </default>
8
+ <productslider_index_index>
9
+ <reference name="content">
10
+ <block type="productslider/productslider" name="productslider" template="productslider/productslider.phtml" />
11
+ </reference>
12
+ </productslider_index_index>
13
+ <productslider_random_index>
14
+ <remove name="right"/>
15
+ <remove name="left"/>
16
+ <reference name="root">
17
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
18
+ </reference>
19
+ <reference name="content">
20
+ <block type="productslider/catalog_product_list_recentlyadd" name="productslider.recentlyadd" template="productslider/type/slider1.phtml">
21
+ <block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
22
+ <block type="page/html_pager" name="product_list_toolbar_pager"/>
23
+ </block>
24
+ <action method="setToolbarBlockName"><name>product_list_toolbar</name></action>
25
+ </block>
26
+ </reference>
27
+ </productslider_random_index>
28
+ </layout>
app/design/frontend/default/computer_store/layout/reports.xml ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
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 base_default
24
+ * @copyright Copyright (c) 2011 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
+ -->
29
+ <layout version="0.1.0">
30
+ <default>
31
+ <!-- Mage_Reports -->
32
+ <reference name="right">
33
+ <block type="reports/product_viewed" before="right.permanent.callout" name="right.reports.product.viewed" template="reports/product_viewed.phtml" />
34
+ <block type="reports/product_compared" before="right.permanent.callout" name="right.reports.product.compared" template="reports/product_compared.phtml" />
35
+ </reference>
36
+ </default>
37
+
38
+ <catalog_category_layered_nochildren translate="label">
39
+ <label>Catalog Category (Without Subcategories)</label>
40
+ <remove name="right.reports.product.viewed" />
41
+ <reference name="right">
42
+ <block type="reports/product_viewed" before="right.permanent.callout" name="left.reports.product.viewed" template="reports/product_viewed.phtml" />
43
+ </reference>
44
+ </catalog_category_layered_nochildren>
45
+ </layout>
app/design/frontend/default/computer_store/layout/review.xml ADDED
@@ -0,0 +1,134 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
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 base_default
24
+ * @copyright Copyright (c) 2011 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
+ -->
29
+ <layout version="0.1.0">
30
+
31
+ <customer_account>
32
+ <!-- Mage_Review -->
33
+ <reference name="customer_account_navigation">
34
+ <action method="addLink" translate="label" module="review"><name>reviews</name><path>review/customer</path><label>My Product Reviews</label></action>
35
+ </reference>
36
+
37
+ </customer_account>
38
+
39
+ <!--
40
+ Customer account home dashboard layout
41
+ -->
42
+
43
+ <customer_account_index>
44
+
45
+ <!-- Mage_Review -->
46
+ <reference name="customer_account_dashboard">
47
+ <block type="review/customer_recent" name="customer_account_dashboard_info1" as="info1" template="review/customer/recent.phtml"/>
48
+ </reference>
49
+
50
+ </customer_account_index>
51
+
52
+
53
+ <!--
54
+ Product reviews page (?)
55
+ -->
56
+
57
+ <reviews>
58
+ <!-- Mage_Review -->
59
+ <reference name="root">
60
+ <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
61
+ </reference>
62
+ </reviews>
63
+
64
+ <!--
65
+ Product reviews page
66
+ -->
67
+
68
+ <review_product_list translate="label">
69
+ <label>Catalog Product Reviews List</label>
70
+ <reference name="root">
71
+ <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
72
+ </reference>
73
+ <reference name="head">
74
+ <action method="addJs"><script>varien/product.js</script></action>
75
+ <action method="addJs"><script>varien/configurable.js</script></action>
76
+ </reference>
77
+ <reference name="content">
78
+ <block type="review/product_view" name="product.info" template="catalog/product/view.phtml">
79
+ <block type="catalog/product_view_media" name="product.info.media" as="media" template="catalog/product/view/media.phtml">
80
+ <action method="disableGallery"/>
81
+ </block>
82
+ <block type="catalog/product_view" name="product.info.addto" as="addto" template="catalog/product/view/addto.phtml"/>
83
+ <block type="catalog/product_view" name="product.info.addtocart" as="addtocart" template="catalog/product/view/addtocart.phtml">
84
+ <!-- workaround: a better place for this code is in paypal.xml -->
85
+ <block type="page/html_wrapper" name="review.product.info.addtocart.paypal.wrapper" translate="label" module="paypal">
86
+ <label>PayPal Express Checkout Shortcut Wrapper</label>
87
+ <block type="paypal/express_shortcut" name="review.product.info.addtocart.paypal" template="paypal/express/shortcut.phtml">
88
+ <action method="setIsInCatalogProduct"><value>1</value></action>
89
+ </block>
90
+ </block>
91
+ </block>
92
+ <block type="catalog/product_view" name="product.tierprices" as="tierprices" template="catalog/product/view/tierprices.phtml"/>
93
+ <block type="core/template" name="product.info.other" as="other" template="review/product/view/other.phtml"/>
94
+ <block type="page/html_pager" name="product_review_list.toolbar" />
95
+ <block type="core/template" name="product_review_list.count" template="review/product/view/count.phtml" />
96
+ <block type="review/product_view_list" name="product.info.product_additional_data" as="product_additional_data" template="review/product/view/list.phtml">
97
+ <block type="review/form" name="product.review.form" as="review_form">
98
+ <block type="page/html_wrapper" name="product.review.form.fields.before" as="form_fields_before" translate="label">
99
+ <label>Review Form Fields Before</label>
100
+ <action method="setMayBeInvisible"><value>1</value></action>
101
+ </block>
102
+ </block>
103
+ </block>
104
+ </block>
105
+ </reference>
106
+ </review_product_list>
107
+
108
+ <review_product_view translate="label">
109
+ <label>Catalog Product Review View</label>
110
+ <reference name="root">
111
+ <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
112
+ </reference>
113
+ <reference name="content">
114
+ <block type="review/view" name="review_view"/>
115
+ </reference>
116
+ </review_product_view>
117
+
118
+ <review_customer_index translate="label">
119
+ <label>Customer My Account Product Reviews</label>
120
+ <update handle="customer_account"/>
121
+ <reference name="my.account.wrapper">
122
+ <block type="review/customer_list" name="review_customer_list" template="review/customer/list.phtml"/>
123
+ </reference>
124
+ </review_customer_index>
125
+
126
+ <review_customer_view translate="label">
127
+ <label>Customer My Account Review Details</label>
128
+ <update handle="customer_account"/>
129
+ <reference name="my.account.wrapper">
130
+ <block type="review/customer_view" name="customers_review"/>
131
+ </reference>
132
+ </review_customer_view>
133
+
134
+ </layout>
app/design/frontend/default/computer_store/layout/tag.xml ADDED
@@ -0,0 +1,137 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
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 base_default
24
+ * @copyright Copyright (c) 2011 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
+ -->
29
+ <layout version="0.1.0">
30
+
31
+ <!--
32
+ Default layout, loads most of the pages
33
+ -->
34
+
35
+ <default>
36
+ <!-- Mage_Tag -->
37
+ <reference name="left">
38
+ <block type="tag/popular" name="tags_popular" template="tag/popular.phtml"/>
39
+ </reference>
40
+
41
+ </default>
42
+
43
+ <!--
44
+ Customer account pages, rendered for all tabs in dashboard
45
+ -->
46
+
47
+ <customer_account>
48
+ <!-- Mage_Tag -->
49
+ <reference name="customer_account_navigation">
50
+ <action method="addLink" translate="label" module="tag"><name>tags</name><path>tag/customer/</path><label>My Tags</label></action>
51
+ </reference>
52
+ </customer_account>
53
+
54
+ <!--
55
+ Customer account home dashboard layout
56
+ -->
57
+
58
+ <customer_account_index>
59
+ <!-- Mage_Tag -->
60
+ <reference name="customer_account_dashboard">
61
+ <action method="unsetChild"><name>customer_account_dashboard_info2</name></action>
62
+ <block type="tag/customer_recent" name="customer_account_dashboard_info2" as="info2" template="tag/customer/recent.phtml"/>
63
+ </reference>
64
+ </customer_account_index>
65
+
66
+ <catalog_product_view translate="label">
67
+ <label>Catalog Product View</label>
68
+ <!-- Mage_Tag -->
69
+ <reference name="product.info.additional">
70
+ <block type="tag/product_list" name="product_tag_list" before="-" template="tag/list.phtml">
71
+ <block type="page/html_wrapper" name="product.tag.list.list.before" as="list_before" translate="label">
72
+ <label>Tags List Before</label>
73
+ <action method="setMayBeInvisible"><value>1</value></action>
74
+ </block>
75
+ </block>
76
+ </reference>
77
+ </catalog_product_view>
78
+
79
+ <!--
80
+ All tags page
81
+ -->
82
+
83
+ <tag_list_index translate="label">
84
+ <label>Tags List (All Available)</label>
85
+ <!-- Mage_Tag -->
86
+ <reference name="root">
87
+ <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
88
+ </reference>
89
+ <reference name="content">
90
+ <block type="tag/all" name="tags_all" template="tag/cloud.phtml"/>
91
+ </reference>
92
+ </tag_list_index>
93
+
94
+ <tag_product_list translate="label">
95
+ <label>Tagged Products List</label>
96
+ <!-- Mage_Tag -->
97
+ <reference name="root">
98
+ <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
99
+ </reference>
100
+ <reference name="content">
101
+ <block type="tag/product_result" name="tag_products" template="catalogsearch/result.phtml">
102
+ <block type="catalog/product_list" name="search_result_list" template="catalog/product/list.phtml">
103
+ <block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
104
+ <block type="page/html_pager" name="product_list_toolbar_pager"/>
105
+ </block>
106
+ <action method="setToolbarBlockName"><name>product_list_toolbar</name></action>
107
+ </block>
108
+ <action method="setListOrders"/>
109
+ <action method="setListModes"/>
110
+ <action method="setListCollection"/>
111
+ </block>
112
+ </reference>
113
+ </tag_product_list>
114
+
115
+ <tag_customer_index translate="label">
116
+ <label>Customer My Account My Tags List</label>
117
+ <update handle="customer_account"/>
118
+ <reference name="root">
119
+ <action method="setHeaderTitle" translate="title" module="customer"><title>My Account</title></action>
120
+ </reference>
121
+ <reference name="my.account.wrapper">
122
+ <block type="tag/customer_tags" name="customer_tags" template="tag/customer/tags.phtml"/>
123
+ </reference>
124
+ </tag_customer_index>
125
+
126
+ <tag_customer_view translate="label">
127
+ <label>Customer My Account Tag View</label>
128
+ <update handle="customer_account"/>
129
+ <reference name="root">
130
+ <action method="setHeaderTitle" translate="title" module="customer"><title>My Account</title></action>
131
+ </reference>
132
+ <reference name="my.account.wrapper">
133
+ <block type="tag/customer_view" name="customer_view" template="tag/customer/view.phtml"/>
134
+ </reference>
135
+ </tag_customer_view>
136
+
137
+ </layout>
app/design/frontend/default/computer_store/template/catalog/category/page.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) 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
+ /**
28
+ * @deprecated after 1.4.0.0-alpha3
29
+ */
30
+ ?>
31
+ <div class="page-title">
32
+ <h1><?php echo $this->getTitle() ?></h1>
33
+ </div>
34
+ <div>
35
+ <?php echo $this->getContent() ?>
36
+ </div>
app/design/frontend/default/computer_store/template/catalog/category/view.phtml ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ * Category view template
30
+ *
31
+ * @see Mage_Catalog_Block_Category_View
32
+ */
33
+ ?>
34
+ <?php
35
+ $_helper = $this->helper('catalog/output');
36
+ $_category = $this->getCurrentCategory();
37
+ $_imgHtml = '';
38
+ if ($_imgUrl = $_category->getImageUrl()) {
39
+ $_imgHtml = '<p class="category-image"><img src="'.$_imgUrl.'" alt="'.$this->htmlEscape($_category->getName()).'" title="'.$this->htmlEscape($_category->getName()).'" /></p>';
40
+ $_imgHtml = $_helper->categoryAttribute($_category, $_imgHtml, 'image');
41
+ }
42
+ ?>
43
+ <div class="page-title category-title">
44
+ <?php if($this->IsRssCatalogEnable() && $this->IsTopCategory()): ?>
45
+ <a href="<?php echo $this->getRssLink() ?>" class="link-rss"><?php echo $this->__('Subscribe to RSS Feed') ?></a>
46
+ <?php endif; ?>
47
+ <h1><?php echo $_helper->categoryAttribute($_category, $_category->getName(), 'name') ?></h1>
48
+ </div>
49
+
50
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
51
+
52
+ <?php if($_imgUrl): ?>
53
+ <?php echo $_imgHtml ?>
54
+ <?php endif; ?>
55
+
56
+ <?php if($_description=$this->getCurrentCategory()->getDescription()): ?>
57
+ <div class="category-description std">
58
+ <?php echo $_helper->categoryAttribute($_category, $_description, 'description') ?>
59
+ </div>
60
+ <?php endif; ?>
61
+
62
+ <?php if($this->isContentMode()): ?>
63
+ <?php echo $this->getCmsBlockHtml() ?>
64
+
65
+ <?php elseif($this->isMixedMode()): ?>
66
+ <?php echo $this->getCmsBlockHtml() ?>
67
+ <?php echo $this->getProductListHtml() ?>
68
+
69
+ <?php else: ?>
70
+ <?php echo $this->getProductListHtml() ?>
71
+ <?php endif; ?>
app/design/frontend/default/computer_store/template/catalog/category/widget/link/link_block.phtml ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 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
+ <span class="widget widget-category-link"><a <?php echo $this->getLinkAttributes() ?>><span><?php echo $this->htmlEscape($this->getAnchorText()) ?></span></a></span>
app/design/frontend/default/computer_store/template/catalog/category/widget/link/link_inline.phtml ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 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
+ <span class="widget widget-category-link-inline"><a <?php echo $this->getLinkAttributes() ?>><span><?php echo $this->htmlEscape($this->getAnchorText()) ?></span></a></span>
app/design/frontend/default/computer_store/template/catalog/layer/state.phtml ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ * Category layered navigation state
30
+ *
31
+ * @see Mage_Catalog_Block_Layer_State
32
+ */
33
+ ?>
34
+ <?php $_filters = $this->getActiveFilters() ?>
35
+ <?php if(!empty($_filters)): ?>
36
+ <div class="currently">
37
+ <p class="block-subtitle"><?php echo $this->__('Currently Shopping by:') ?></p>
38
+ <ol>
39
+ <?php foreach ($_filters as $_filter): ?>
40
+ <li>
41
+ <a href="<?php echo $_filter->getRemoveUrl() ?>" title="<?php echo $this->__('Remove This Item') ?>" class="btn-remove"><?php echo $this->__('Remove This Item') ?></a>
42
+ <span class="label"><?php echo $this->__($_filter->getName()) ?>:</span> <?php echo $this->stripTags($_filter->getLabel()) ?>
43
+ </li>
44
+ <?php endforeach; ?>
45
+ </ol>
46
+ <div class="actions"><a href="<?php echo $this->getClearUrl() ?>"><?php echo $this->__('Clear All') ?></a></div>
47
+ </div>
48
+ <?php endif; ?>
app/design/frontend/default/computer_store/template/catalog/layer/view.phtml ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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) 2010 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 layered navigation
30
+ *
31
+ * @see Mage_Catalog_Block_Layer_View
32
+ */
33
+ ?>
34
+ <?php if($this->canShowBlock()): ?>
35
+ <div class="block block-layered-nav">
36
+ <div class="block-title">
37
+ <strong><span><?php echo $this->__('Shopping Options') ?></span></strong>
38
+ </div>
39
+ <div class="block-content">
40
+ <?php echo $this->getStateHtml() ?>
41
+ <?php if($this->canShowOptions()): ?>
42
+ <p class="block-subtitle"></p>
43
+ <dl id="narrow-by-list">
44
+ <?php $_filters = $this->getFilters() ?>
45
+ <?php foreach ($_filters as $_filter): ?>
46
+ <?php if($_filter->getItemsCount()): ?>
47
+ <dt><?php echo $this->__($_filter->getName()) ?></dt>
48
+ <dd><?php echo $_filter->getHtml() ?></dd>
49
+ <?php endif; ?>
50
+ <?php endforeach; ?>
51
+ </dl>
52
+ <script type="text/javascript">decorateDataList('narrow-by-list')</script>
53
+ <?php endif; ?>
54
+ </div>
55
+ <div class="bot-site">
56
+ <div class="right-corner">
57
+ <div class="stretched-layer"> </div>
58
+ </div>
59
+ </div>
60
+ </div>
61
+ <?php endif; ?>
app/design/frontend/default/computer_store/template/catalog/navigation/categories.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) 2010 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
+
43
+ <link rel="stylesheet" type="text/css" href="<?php echo $this->getSkinUrl('css/superfish.css')?>" media="screen">
44
+ <script type="text/javascript" src="<?php echo $this->getJsUrl('magebuzz/computer/jquery-1.2.6.min.js')?>"></script>
45
+ <script type="text/javascript" src="<?php echo $this->getJsUrl('magebuzz/computer/hoverIntent.js')?>"></script>
46
+ <script type="text/javascript" src="<?php echo $this->getJsUrl('magebuzz/computer/superfish.js')?>"></script>
47
+ <script type="text/javascript">
48
+ jQuery.noConflict();
49
+ jQuery(function(){
50
+ jQuery('ul.sf-menu').superfish();
51
+ });
52
+ </script>
53
+ <?php $_menu = $this->renderCategoriesMenuHtml(0,'level-top') ?>
54
+ <?php if($_menu): ?>
55
+ <div class="header-nav-container">
56
+ <div class="block menu-left-update">
57
+ <div class="block-title">
58
+ <h2><?php echo $this->__('Categories') ?></h2>
59
+ </div>
60
+ <div class="header-nav">
61
+ <div class="left-nav">
62
+ <div class="top-site">
63
+ <div class="right-corner">
64
+ <div class="stretched-layer"> </div>
65
+ </div>
66
+ </div>
67
+ <div class="sidebarblock-content">
68
+ <ul class="sf-menu" id="left-nav">
69
+ <?php echo $_menu ?>
70
+ </ul>
71
+ </div>
72
+ <div class="bot-site">
73
+ <div class="right-corner">
74
+ <div class="stretched-layer"> </div>
75
+ </div>
76
+ </div>
77
+ </div>
78
+ </div>
79
+ </div>
80
+ </div>
81
+ <?php endif ?>
82
+
app/design/frontend/default/computer_store/template/catalog/navigation/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) 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
+ /**
28
+ * Category left navigation
29
+ *
30
+ * @see Mage_Catalog_Block_Navigation
31
+ */
32
+ ?>
33
+ <?php if (!Mage::registry('current_category')) return ?>
34
+ <?php $_categories = $this->getCurrentChildCategories() ?>
35
+ <?php $_count = is_array($_categories)?count($_categories):$_categories->count(); ?>
36
+ <?php if($_count): ?>
37
+ <div class="block block-layered-nav">
38
+ <div class="block-title">
39
+ <strong><span><?php echo $this->__('Browse By') ?></span></strong>
40
+ </div>
41
+ <div class="block-content">
42
+ <dl id="narrow-by-list2">
43
+ <dt><?php echo $this->__('Category') ?></dt>
44
+ <dd>
45
+ <ol>
46
+ <?php foreach ($_categories as $_category): ?>
47
+ <?php if($_category->getIsActive()): ?>
48
+ <li>
49
+ <a href="<?php echo $this->getCategoryUrl($_category) ?>"<?php if ($this->isCategoryActive($_category)): ?> class="current"<?php endif; ?>><?php echo $this->htmlEscape($_category->getName()) ?></a> (<?php echo $_category->getProductCount() ?>)
50
+ </li>
51
+ <?php endif; ?>
52
+ <?php endforeach ?>
53
+ </ol>
54
+ </dd>
55
+ </dl>
56
+ <script type="text/javascript">decorateDataList('narrow-by-list2')</script>
57
+ </div>
58
+ </div>
59
+ <?php endif; ?>
app/design/frontend/default/computer_store/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) 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 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/default/computer_store/template/catalog/product/compare/list.phtml ADDED
@@ -0,0 +1,160 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ /* @var $this Mage_Catalog_Block_Product_Compare_List */
27
+ ?>
28
+ <div class="page-title title-buttons">
29
+ <h1><?php echo $this->__('Compare Products') ?></h1>
30
+ <a href="#" onclick="window.print(); return false;" class="link-print"><?php echo $this->__('Print This Page') ?></a>
31
+ </div>
32
+ <?php $_total=$this->getItems()->getSize() ?>
33
+ <?php if($_total): ?>
34
+ <table class="data-table compare-table" id="product_comparison">
35
+ <?php $_i=0 ?>
36
+ <?php foreach($this->getItems() as $_item): ?>
37
+ <?php if($_i++%10==0): ?>
38
+ <col width="1" />
39
+ <?php endif; ?>
40
+ <col width="<?php echo floor(100/$_total); ?>%" />
41
+ <?php endforeach; ?>
42
+ <?php if ($_total>2): ?>
43
+ <thead>
44
+ <tr>
45
+ <?php $_i=0 ?>
46
+ <?php foreach($this->getItems() as $_item): ?>
47
+ <?php if($_i++%10==0): ?>
48
+ <th>&nbsp;</th>
49
+ <?php endif; ?>
50
+ <td class="a-right"><a href="#" class="btn-remove" onclick="removeItem('<?php echo $this->helper('catalog/product_compare')->getRemoveUrl($_item) ?>');" title="<?php echo $this->__('Remove This Item') ?>"><?php echo $this->__('Remove This Item') ?></a></td>
51
+ <?php endforeach; ?>
52
+ </tr>
53
+ </thead>
54
+ <?php endif ?>
55
+ <tbody>
56
+ <tr class="product-shop-row">
57
+ <?php $_i=0 ?>
58
+ <?php foreach($this->getItems() as $_item): ?>
59
+ <?php if($_i++%10==0): ?>
60
+ <th>&nbsp;</th>
61
+ <?php endif; ?>
62
+ <td>
63
+ <a class="product-image" href="#" onclick="setPLocation('<?php echo $this->getProductUrl($_item) ?>', true)" title="<?php echo $this->stripTags($_item->getName(), null, true) ?>"><img src="<?php echo $this->helper('catalog/image')->init($_item, 'small_image')->resize(125, 125); ?>" width="125" height="125" alt="<?php echo $this->stripTags($_item->getName(), null, true) ?>" /></a>
64
+ <h2 class="product-name"><a href="#" onclick="setPLocation('<?php echo $this->getProductUrl($_item) ?>', true)" title="<?php echo $this->stripTags($_item->getName(), null, true) ?>"><?php echo $this->helper('catalog/output')->productAttribute($_item, $_item->getName(), 'name') ?></a></h2>
65
+ <?php echo $this->getReviewsSummaryHtml($_item, 'short') ?>
66
+ <?php echo $this->getPriceHtml($_item, true, '-compare-list-top') ?>
67
+ <?php if($_item->isSaleable()): ?>
68
+ <p><button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setPLocation('<?php echo $this->helper('catalog/product_compare')->getAddToCartUrl($_item) ?>', true)"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button></p>
69
+ <?php else: ?>
70
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
71
+ <?php endif; ?>
72
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
73
+ <ul class="add-to-links">
74
+ <li><a href="#" class="link-wishlist" onclick="setPLocation('<?php echo $this->getAddToWishlistUrl($_item) ?>', true)"><?php echo $this->__('Add to Wishlist') ?></a></li>
75
+ </ul>
76
+ <?php endif; ?>
77
+ </td>
78
+ <?php endforeach; ?>
79
+ </tr>
80
+ </tbody>
81
+ <tbody>
82
+ <?php foreach ($this->getAttributes() as $_attribute): ?>
83
+ <tr>
84
+ <?php $_i=0 ?>
85
+ <?php foreach($this->getItems() as $_item): ?>
86
+ <?php if($_i++%10==0): ?>
87
+ <th><span class="nobr"><?php echo $_attribute->getStoreLabel() ?></span></th>
88
+ <?php endif; ?>
89
+ <td>
90
+ <?php switch ($_attribute->getAttributeCode()) {
91
+ case "price": ?>
92
+ <?php echo $this->getPriceHtml($_item, true, '-compare-list-' . $_attribute->getCode()) ?>
93
+ <?php break;
94
+ case "small_image": ?>
95
+ <img src="<?php echo $this->helper('catalog/image')->init($_item, 'small_image')->resize(125, 125); ?>" width="125" height="125" alt="<?php echo $this->htmlEscape($_item->getName()) ?>" title="<?php echo $this->htmlEscape($_item->getName()) ?>" />
96
+ <?php break;
97
+ case "date":
98
+ echo substr($this->getProductAttributeValue($_item, $_attribute),0,10);
99
+ break;
100
+ default: ?>
101
+ <?php echo $this->helper('catalog/output')->productAttribute($_item, $this->getProductAttributeValue($_item, $_attribute), $_attribute->getAttributeCode()) ?>
102
+ <?php break;
103
+ } ?>
104
+ </td>
105
+ <?php endforeach; ?>
106
+ </tr>
107
+ <?php endforeach; ?>
108
+ </tbody>
109
+ <tbody>
110
+ <tr class="add-to-row">
111
+ <?php $_i=0 ?>
112
+ <?php foreach($this->getItems() as $_item): ?>
113
+ <?php if($_i++%10==0): ?>
114
+ <th>&nbsp;</th>
115
+ <?php endif; ?>
116
+ <td>
117
+ <?php echo $this->getPriceHtml($_item, true, '-compare-list-bottom') ?>
118
+ <?php if($_item->isSaleable()): ?>
119
+ <p><button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setPLocation('<?php echo $this->helper('catalog/product_compare')->getAddToCartUrl($_item) ?>', true)"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button></p>
120
+ <?php else: ?>
121
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
122
+ <?php endif; ?>
123
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
124
+ <ul class="add-to-links">
125
+ <li><a href="#" class="link-wishlist" onclick="setPLocation('<?php echo $this->getAddToWishlistUrl($_item) ?>', true)"><?php echo $this->__('Add to Wishlist') ?></a></li>
126
+ </ul>
127
+ <?php endif; ?>
128
+ </td>
129
+ <?php endforeach; ?>
130
+ </tr>
131
+ </tbody>
132
+ </table>
133
+ <div class="buttons-set">
134
+ <button type="button" title="<?php echo $this->__('Close Window') ?>" class="button" onclick="window.close();"><span><span><?php echo $this->__('Close Window') ?></span></span></button>
135
+ <span class="please-wait" id="compare-list-please-wait" style="display:none;">
136
+ <img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Please wait...') ?>" title="<?php echo $this->__('Please wait...') ?>" class="v-middle" /> <?php echo $this->__('Please wait...') ?>
137
+ </span>
138
+ </div>
139
+ <script type="text/javascript">
140
+ decorateTable('product_comparison');
141
+
142
+ /**
143
+ * Send remove item request, after that reload windows
144
+ */
145
+ function removeItem(url)
146
+ {
147
+ new Ajax.Request(url, {
148
+ parameters: {isAjax: 1, method: 'POST'},
149
+ onLoading: function(){$('compare-list-please-wait').show();},
150
+ onSuccess: function(transport) {
151
+ $('compare-list-please-wait').hide();
152
+ window.location.reload();
153
+ window.opener.location.reload();
154
+ }
155
+ });
156
+ }
157
+ </script>
158
+ <?php else: ?>
159
+ <script type="text/javascript">window.close();</script>
160
+ <?php endif; ?>
app/design/frontend/default/computer_store/template/catalog/product/compare/sidebar.phtml ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ /* @var $this Mage_Catalog_Block_Product_Compare_Sidebar */
27
+ ?>
28
+ <?php
29
+ $_helper = $this->helper('catalog/product_compare');
30
+ $_items = $_helper->getItemCount() > 0 ? $_helper->getItemCollection() : null;
31
+ ?>
32
+ <div class="block block-list block-compare">
33
+ <div class="block-title">
34
+ <strong><span><?php echo $this->__('Compare Products') ?>
35
+ <?php if($_helper->getItemCount() > 0): ?>
36
+ <small><?php echo $this->__('(%d)', $_helper->getItemCount()) ?></small>
37
+ <?php endif; ?>
38
+ </span></strong>
39
+ </div>
40
+ <div class="block-content">
41
+ <?php if($_helper->getItemCount() > 0): ?>
42
+ <ol id="compare-items">
43
+ <?php foreach($_items as $_index => $_item): ?>
44
+ <li class="item">
45
+ <input type="hidden" class="compare-item-id" value="<?php echo $_item->getId() ?>" />
46
+ <a href="<?php echo $_helper->getRemoveUrl($_item) ?>" title="<?php echo $this->__('Remove This Item') ?>" class="btn-remove" onclick="return confirm('<?php echo $this->__('Are you sure you would like to remove this item from the compare products?') ?>');"><?php echo $this->__('Remove This Item') ?></a>
47
+ <p class="product-name"><a href="<?php echo $this->getProductUrl($_item) ?>"><?php echo $this->helper('catalog/output')->productAttribute($_item, $_item->getName(), 'name') ?></a></p>
48
+ </li>
49
+ <?php endforeach; ?>
50
+ </ol>
51
+ <script type="text/javascript">decorateList('compare-items')</script>
52
+ <div class="actions">
53
+ <a href="<?php echo $_helper->getClearListUrl() ?>" onclick="return confirm('<?php echo $this->__('Are you sure you would like to remove all products from your comparison?') ?>');"><?php echo $this->__('Clear All') ?></a>
54
+ <button type="button" title="<?php echo $this->__('Compare') ?>" class="button" onclick="popWin('<?php echo $_helper->getListUrl() ?>','compare','top:0,left:0,width=820,height=600,resizable=yes,scrollbars=yes')"><span><span><?php echo $this->__('Compare') ?></span></span></button>
55
+ </div>
56
+ <?php else: ?>
57
+ <p class="empty"><?php echo $this->__('You have no items to compare.') ?></p>
58
+ <?php endif; ?>
59
+ </div>
60
+ <div class="bot-site">
61
+ <div class="right-corner">
62
+ <div class="stretched-layer"> </div>
63
+ </div>
64
+ </div>
65
+ </div>
app/design/frontend/default/computer_store/template/catalog/product/gallery.phtml ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 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 $_width=$this->getImageWidth() ?>
28
+ <div class="product-image-popup" style="width:<?php echo $_width; ?>px;">
29
+ <div class="buttons-set"><a href="#" onclick="window.close(); return false;" class="button"><span><?php echo $this->__('Close Window') ?></span></a></div>
30
+ <?php if($this->getPreviusImageUrl() || $this->getNextImageUrl()): ?>
31
+ <div class="nav">
32
+ <?php if($_prevUrl = $this->getPreviusImageUrl()): ?>
33
+ <a href="<?php echo $_prevUrl ?>" class="prev">&laquo; <?php echo $this->__('Prev') ?></a>
34
+ <?php endif; ?>
35
+ <?php if($_nextUrl = $this->getNextImageUrl()): ?>
36
+ <a href="<?php echo $_nextUrl ?>" class="next"><?php echo $this->__('Next') ?> &raquo;</a>
37
+ <?php endif; ?>
38
+ </div>
39
+ <?php endif; ?>
40
+ <?php if($_imageTitle = $this->htmlEscape($this->getCurrentImage()->getLabel())): ?>
41
+ <h1 class="image-label"><?php echo $_imageTitle ?></h1>
42
+ <?php endif; ?>
43
+ <img src="<?php echo $this->helper('catalog/image')->init($this->getProduct(), 'image', $this->getImageFile()); ?>"<?php if($_width): ?> width="<?php echo $_width ?>"<?php endif; ?> alt="<?php echo $this->htmlEscape($this->getCurrentImage()->getLabel()) ?>" title="<?php echo $this->htmlEscape($this->getCurrentImage()->getLabel()) ?>" id="product-gallery-image" class="image" />
44
+ <div class="buttons-set"><a href="#" onclick="window.close(); return false;" class="button"><span><?php echo $this->__('Close Window') ?></span></a></div>
45
+ <?php if($this->getPreviusImageUrl() || $this->getNextImageUrl()): ?>
46
+ <div class="nav">
47
+ <?php if($_prevUrl = $this->getPreviusImageUrl()): ?>
48
+ <a href="<?php echo $_prevUrl ?>" class="prev">&laquo; <?php echo $this->__('Prev') ?></a>
49
+ <?php endif; ?>
50
+ <?php if($_nextUrl = $this->getNextImageUrl()): ?>
51
+ <a href="<?php echo $_nextUrl ?>" class="next"><?php echo $this->__('Next') ?> &raquo;</a>
52
+ <?php endif; ?>
53
+ </div>
54
+ <?php endif; ?>
55
+ </div>
56
+ <script type="text/javascript">
57
+ //<![CDATA[
58
+ Event.observe(window, 'load', function(){
59
+ var demensions = $('product-gallery-image').getDimensions();
60
+ if (demensions.width < 300) {
61
+ demensions.width = 300
62
+ }
63
+ window.resizeTo(demensions.width+90, demensions.height+210);
64
+ });
65
+ //]]>
66
+ </script>
app/design/frontend/default/computer_store/template/catalog/product/list.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) 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
+ * Product list template
30
+ *
31
+ * @see Mage_Catalog_Block_Product_List
32
+ */
33
+ ?>
34
+ <?php
35
+ $_productCollection=$this->getLoadedProductCollection();
36
+ $_helper = $this->helper('catalog/output');
37
+ ?>
38
+ <?php if(!$_productCollection->count()): ?>
39
+ <p class="note-msg"><?php echo $this->__('There are no products matching the selection.') ?></p>
40
+ <?php else: ?>
41
+ <div class="category-products">
42
+ <?php echo $this->getToolbarHtml() ?>
43
+ <?php // List mode ?>
44
+ <?php if($this->getMode()!='grid'): ?>
45
+ <?php $_iterator = 0; ?>
46
+ <ol class="products-list" id="products-list">
47
+ <?php foreach ($_productCollection as $_product): ?>
48
+ <li class="item<?php if( ++$_iterator == sizeof($_productCollection) ): ?> last<?php endif; ?>">
49
+ <?php // Product Image ?>
50
+ <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>
51
+ <?php // Product description ?>
52
+ <div class="product-shop">
53
+ <div class="f-fix">
54
+ <?php $_productNameStripped = $this->stripTags($_product->getName(), null, true); ?>
55
+ <h2 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $_productNameStripped; ?>"><?php echo $_helper->productAttribute($_product, $_product->getName() , 'name'); ?></a></h2>
56
+ <?php if($_product->getRatingSummary()): ?>
57
+ <?php echo $this->getReviewsSummaryHtml($_product) ?>
58
+ <?php endif; ?>
59
+ <?php echo $this->getPriceHtml($_product, true) ?>
60
+ <?php if($_product->isSaleable()): ?>
61
+
62
+ <?php else: ?>
63
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
64
+ <?php endif; ?>
65
+ <div class="desc std">
66
+ <?php echo $_helper->productAttribute($_product, $_product->getShortDescription(), 'short_description') ?>
67
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $_productNameStripped ?>" class="link-learn"><?php echo $this->__('Learn More') ?></a>
68
+ </div>
69
+ <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>
70
+ <ul class="add-to-links">
71
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
72
+ <li><a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
73
+ <?php endif; ?>
74
+ <?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
75
+ <li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
76
+ <?php endif; ?>
77
+ </ul>
78
+ </div>
79
+ </div>
80
+ </li>
81
+ <?php endforeach; ?>
82
+ </ol>
83
+ <script type="text/javascript">decorateList('products-list', 'none-recursive')</script>
84
+
85
+ <?php else: ?>
86
+
87
+ <?php // Grid Mode ?>
88
+
89
+ <?php $_collectionSize = $_productCollection->count() ?>
90
+ <?php $_columnCount = 3; ?>
91
+ <?php $i=0; foreach ($_productCollection as $_product): ?>
92
+ <?php if ($i++%$_columnCount==0): ?>
93
+ <ul class="products-grid">
94
+ <?php endif ?>
95
+ <li class="item<?php if(($i-1)%$_columnCount==0): ?> first<?php elseif($i%$_columnCount==0): ?> last<?php endif; ?>">
96
+ <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>
97
+ <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>
98
+ <?php if($_product->getRatingSummary()): ?>
99
+ <?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
100
+ <?php endif; ?>
101
+ <?php echo $this->getPriceHtml($_product, true) ?>
102
+ <div class="actions">
103
+ <?php if($_product->isSaleable()): ?>
104
+ <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>
105
+ <p><button type="button" title="<?php echo $this->__('Details') ?>" class="button btn-details" onclick="setLocation('<?php echo $_product->getProductUrl() ?>')"><span><span><?php echo $this->__('Details') ?></span></span></button></p>
106
+ <?php else: ?>
107
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
108
+ <?php endif; ?>
109
+ </div>
110
+ </li>
111
+ <?php if ($i%$_columnCount==0 || $i==$_collectionSize): ?>
112
+ </ul>
113
+ <?php endif ?>
114
+ <?php endforeach ?>
115
+ <script type="text/javascript">decorateGeneric($$('ul.products-grid'), ['odd','even','first','last'])</script>
116
+ <?php endif; ?>
117
+
118
+ <div class="toolbar-bottom">
119
+ <?php echo $this->getToolbarHtml() ?>
120
+ </div>
121
+ </div>
122
+ <?php endif; ?>
app/design/frontend/default/computer_store/template/catalog/product/list/related.phtml ADDED
@@ -0,0 +1,99 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 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 if($this->getItems()->getSize()): ?>
28
+ <div class="block block-related">
29
+ <div class="block-title">
30
+ <strong><span><?php echo $this->__('Related Products') ?></span></strong>
31
+ </div>
32
+ <div class="block-content">
33
+ <p class="block-subtitle"><?php echo $this->__('Check items to add to the cart or') ?>&nbsp;<a href="#" onclick="selectAllRelated(this); return false;"><?php echo $this->__('select all') ?></a></p>
34
+ <ol class="mini-products-list" id="block-related">
35
+ <?php foreach($this->getItems() as $_item): ?>
36
+ <li class="item">
37
+ <?php if(!$_item->isComposite() && $_item->isSaleable()): ?>
38
+ <?php if (!$_item->getRequiredOptions()): ?>
39
+ <input type="checkbox" class="checkbox related-checkbox" id="related-checkbox<?php echo $_item->getId() ?>" name="related_products[]" value="<?php echo $_item->getId() ?>" />
40
+ <?php endif; ?>
41
+ <?php endif; ?>
42
+ <div class="product">
43
+ <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, 'thumbnail')->resize(50) ?>" width="50" height="50" alt="<?php echo $this->htmlEscape($_item->getName()) ?>" /></a>
44
+ <div class="product-details">
45
+ <p class="product-name"><a href="<?php echo $_item->getProductUrl() ?>"><?php echo $this->htmlEscape($_item->getName()) ?></a></p>
46
+ <?php echo $this->getPriceHtml($_item, true, '-related') ?>
47
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
48
+ <a href="<?php echo $this->getAddToWishlistUrl($_item) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a>
49
+ <?php endif; ?>
50
+ </div>
51
+ </div>
52
+ </li>
53
+ <?php endforeach ?>
54
+ </ol>
55
+ <script type="text/javascript">decorateList('block-related', 'none-recursive')</script>
56
+ </div>
57
+ <script type="text/javascript">
58
+ //<![CDATA[
59
+ $$('.related-checkbox').each(function(elem){
60
+ Event.observe(elem, 'click', addRelatedToProduct)
61
+ });
62
+
63
+ var relatedProductsCheckFlag = false;
64
+ function selectAllRelated(txt){
65
+ if (relatedProductsCheckFlag == false) {
66
+ $$('.related-checkbox').each(function(elem){
67
+ elem.checked = true;
68
+ });
69
+ relatedProductsCheckFlag = true;
70
+ txt.innerHTML="<?php echo $this->__('unselect all') ?>";
71
+ } else {
72
+ $$('.related-checkbox').each(function(elem){
73
+ elem.checked = false;
74
+ });
75
+ relatedProductsCheckFlag = false;
76
+ txt.innerHTML="<?php echo $this->__('select all') ?>";
77
+ }
78
+ addRelatedToProduct();
79
+ }
80
+
81
+ function addRelatedToProduct(){
82
+ var checkboxes = $$('.related-checkbox');
83
+ var values = [];
84
+ for(var i=0;i<checkboxes.length;i++){
85
+ if(checkboxes[i].checked) values.push(checkboxes[i].value);
86
+ }
87
+ if($('related-products-field')){
88
+ $('related-products-field').value = values.join(',');
89
+ }
90
+ }
91
+ //]]>
92
+ </script>
93
+ <div class="bot-site">
94
+ <div class="right-corner">
95
+ <div class="stretdched-layer"> </div>
96
+ </div>
97
+ </div>
98
+ </div>
99
+ <?php endif ?>
app/design/frontend/default/computer_store/template/catalog/product/list/toolbar.phtml ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ * Product list toolbar
30
+ *
31
+ * @see Mage_Catalog_Block_Product_List_Toolbar
32
+ */
33
+ ?>
34
+ <?php if($this->getCollection()->getSize()): ?>
35
+ <div class="toolbar">
36
+ <div class="pager">
37
+ <p class="amount">
38
+ <?php if($this->getLastPageNum()>1): ?>
39
+ <?php echo $this->__('Items %s to %s of %s total', $this->getFirstNum(), $this->getLastNum(), $this->getTotalNum()) ?>
40
+ <?php else: ?>
41
+ <strong><?php echo $this->__('%s Item(s)', $this->getTotalNum()) ?></strong>
42
+ <?php endif; ?>
43
+ </p>
44
+
45
+ <div class="limiter">
46
+ <label><?php echo $this->__('Show') ?></label>
47
+ <select onchange="setLocation(this.value)">
48
+ <?php foreach ($this->getAvailableLimit() as $_key=>$_limit): ?>
49
+ <option value="<?php echo $this->getLimitUrl($_key) ?>"<?php if($this->isLimitCurrent($_key)): ?> selected="selected"<?php endif ?>>
50
+ <?php echo $_limit ?>
51
+ </option>
52
+ <?php endforeach; ?>
53
+ </select> <?php echo $this->__('per page') ?>
54
+ </div>
55
+
56
+
57
+
58
+ </div>
59
+
60
+ <?php if( $this->isExpanded() ): ?>
61
+ <div class="sorter">
62
+ <?php if( $this->isEnabledViewSwitcher() ): ?>
63
+ <p class="view-mode">
64
+ <?php $_modes = $this->getModes(); ?>
65
+ <?php if($_modes && count($_modes)>1): ?>
66
+ <label><?php echo $this->__('View as') ?>:</label>
67
+ <?php foreach ($this->getModes() as $_code=>$_label): ?>
68
+ <?php if($this->isModeActive($_code)): ?>
69
+ <strong title="<?php echo $_label ?>" class="<?php echo strtolower($_code); ?>"><?php echo $_label ?></strong>&nbsp;
70
+ <?php else: ?>
71
+ <a href="<?php echo $this->getModeUrl($_code) ?>" title="<?php echo $_label ?>" class="<?php echo strtolower($_code); ?>"><?php echo $_label ?></a>&nbsp;
72
+ <?php endif; ?>
73
+ <?php endforeach; ?>
74
+ <?php endif; ?>
75
+ </p>
76
+ <?php endif; ?>
77
+
78
+ <div class="sort-by">
79
+ <label><?php echo $this->__('Sort By') ?></label>
80
+ <select onchange="setLocation(this.value)">
81
+ <?php foreach($this->getAvailableOrders() as $_key=>$_order): ?>
82
+ <option value="<?php echo $this->getOrderUrl($_key, 'asc') ?>"<?php if($this->isOrderCurrent($_key)): ?> selected="selected"<?php endif; ?>>
83
+ <?php echo $this->__($_order) ?>
84
+ </option>
85
+ <?php endforeach; ?>
86
+ </select>
87
+ <?php if($this->getCurrentDirection() == 'desc'): ?>
88
+ <a href="<?php echo $this->getOrderUrl(null, 'asc') ?>" title="<?php echo $this->__('Set Ascending Direction') ?>"><img src="<?php echo $this->getSkinUrl('images/i_desc_arrow.png') ?>" alt="<?php echo $this->__('Set Ascending Direction') ?>" class="v-middle" /></a>
89
+ <?php else: ?>
90
+ <a href="<?php echo $this->getOrderUrl(null, 'desc') ?>" title="<?php echo $this->__('Set Descending Direction') ?>"><img src="<?php echo $this->getSkinUrl('images/i_asc_arrow.png') ?>" alt="<?php echo $this->__('Set Descending Direction') ?>" class="v-middle" /></a>
91
+ <?php endif; ?>
92
+ </div>
93
+ <?php echo $this->getPagerHtml() ?>
94
+ </div>
95
+ <?php endif; ?>
96
+ </div>
97
+ <?php endif ?>
app/design/frontend/default/computer_store/template/catalog/product/list/upsell.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) 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 if(count($this->getItemCollection()->getItems())): ?>
28
+ <div class="box-collateral box-up-sell">
29
+ <h2><?php echo $this->__('You may also be interested in the following product(s)') ?></h2>
30
+ <table class="products-grid" id="upsell-product-table">
31
+ <?php // $this->setColumnCount(5); // uncomment this line if you want to have another number of columns. also can be changed in layout ?>
32
+ <?php $this->resetItemsIterator() ?>
33
+ <?php for($_i=0;$_i<$this->getRowCount();$_i++): ?>
34
+ <tr>
35
+ <?php for($_j=0;$_j<$this->getColumnCount();$_j++): ?>
36
+ <?php if($_link=$this->getIterableItem()): ?>
37
+ <td>
38
+ <a href="<?php echo $_link->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_link->getName()) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($_link, 'small_image')->resize(162,123) ?>" width="162" height="123" alt="<?php echo $this->htmlEscape($_link->getName()) ?>" /></a>
39
+ <h3 class="product-name"><a href="<?php echo $_link->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_link->getName()) ?>"><?php echo $this->htmlEscape($_link->getName()) ?></a></h3>
40
+ <?php echo $this->getPriceHtml($_link, true, '-upsell') ?>
41
+ <button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_link) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
42
+ <?php echo $this->getReviewsSummaryHtml($_link) ?>
43
+ </td>
44
+ <?php else: ?>
45
+ <td class="empty">&nbsp;</td>
46
+ <?php endif; ?>
47
+ <?php endfor; ?>
48
+ </tr>
49
+ <?php endfor; ?>
50
+ </table>
51
+ <script type="text/javascript">decorateTable('upsell-product-table')</script>
52
+ </div>
53
+ <?php endif ?>
app/design/frontend/default/computer_store/template/catalog/product/new.phtml ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ <div class="category-products">
28
+ <div class="new-products">
29
+ <?php if (($_products = $this->getProductCollection()) && $_products->getSize()): ?>
30
+ <div class="block-title-newpct"><h2 class="subtitle"><?php echo $this->__('New Products') ?></h2></div>
31
+ <?php $_columnCount = 3; ?>
32
+ <div class="sidebarblock-content">
33
+ <?php $i=0; $j=0; foreach ($_products->getItems() as $_product): $j++; ?>
34
+ <?php if ($i++%$_columnCount==0): ?>
35
+ <ul class="products-grid">
36
+ <?php endif ?>
37
+ <li class="item<?php if(($i-1)%$_columnCount==0): ?> first<?php elseif($i%$_columnCount==0): ?> last<?php endif; ?>">
38
+ <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(135) ?>" width="135" height="135" alt="<?php echo $this->htmlEscape($_product->getName()) ?>" /></a>
39
+ <h3 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_product->getName()) ?>"><?php echo $this->htmlEscape($_product->getName()) ?></a></h3>
40
+ <?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
41
+ <?php echo $this->getPriceHtml($_product, true, '-new') ?>
42
+ <div class="actions">
43
+ <?php if($_product->isSaleable()): ?>
44
+ <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>
45
+ <button type="button" title="<?php echo $this->__('Details') ?>" class="button btn-details" onclick="setLocation('<?php echo $this->getProductUrl($_product) ?>')"><span><span><?php echo $this->__('Details') ?></span></span></button>
46
+ <?php else: ?>
47
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
48
+ <?php endif; ?>
49
+
50
+ </div>
51
+ </li>
52
+ <?php if ($i%$_columnCount==0 || $i==count($_products)): ?>
53
+ </ul>
54
+ <?php endif ?>
55
+ <?php endforeach; ?>
56
+ <?php endif; ?>
57
+ <script type="text/javascript">decorateGeneric($$('ul.products-grid'), ['odd','even','first','last'])</script>
58
+ </div>
59
+ <div class="bot-site">
60
+ <div class="right-corner">
61
+ <div class="stretched-layer"> </div>
62
+ </div>
63
+ </div>
64
+ </div>
65
+ </div>
app/design/frontend/default/computer_store/template/catalog/product/price.phtml ADDED
@@ -0,0 +1,414 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+
28
+ <?php
29
+ /**
30
+ * Template for displaying product price in different places (products grid, product view page etc)
31
+ *
32
+ * @see Mage_Catalog_Block_Product_Abstract
33
+ */
34
+ ?>
35
+ <?php
36
+ $_coreHelper = $this->helper('core');
37
+ $_weeeHelper = $this->helper('weee');
38
+ $_taxHelper = $this->helper('tax');
39
+ /* @var $_coreHelper Mage_Core_Helper_Data */
40
+ /* @var $_weeeHelper Mage_Weee_Helper_Data */
41
+ /* @var $_taxHelper Mage_Tax_Helper_Data */
42
+
43
+ $_product = $this->getProduct();
44
+ $_id = $_product->getId();
45
+ $_weeeSeparator = '';
46
+ $_simplePricesTax = ($_taxHelper->displayPriceIncludingTax() || $_taxHelper->displayBothPrices());
47
+ $_minimalPriceValue = $_product->getMinimalPrice();
48
+ $_minimalPrice = $_taxHelper->getPrice($_product, $_minimalPriceValue, $_simplePricesTax);
49
+ ?>
50
+
51
+ <?php if (!$_product->isGrouped()): ?>
52
+ <?php $_weeeTaxAmount = $_weeeHelper->getAmountForDisplay($_product); ?>
53
+ <?php if ($_weeeHelper->typeOfDisplay($_product, array(1,2,4))): ?>
54
+ <?php $_weeeTaxAmount = $_weeeHelper->getAmount($_product); ?>
55
+ <?php $_weeeTaxAttributes = $_weeeHelper->getProductWeeeAttributesForDisplay($_product); ?>
56
+ <?php endif; ?>
57
+
58
+ <div class="price-box">
59
+ <?php $_price = $_taxHelper->getPrice($_product, $_product->getPrice()) ?>
60
+ <?php $_regularPrice = $_taxHelper->getPrice($_product, $_product->getPrice(), $_simplePricesTax) ?>
61
+ <?php $_finalPrice = $_taxHelper->getPrice($_product, $_product->getFinalPrice()) ?>
62
+ <?php $_finalPriceInclTax = $_taxHelper->getPrice($_product, $_product->getFinalPrice(), true) ?>
63
+ <?php $_weeeDisplayType = $_weeeHelper->getPriceDisplayType(); ?>
64
+ <?php if ($_finalPrice == $_price): ?>
65
+ <?php if ($_taxHelper->displayBothPrices()): ?>
66
+ <?php if ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 0)): // including ?>
67
+ <span class="price-excluding-tax">
68
+ <span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
69
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
70
+ <?php echo $_coreHelper->currency($_price+$_weeeTaxAmount,true,false) ?>
71
+ </span>
72
+ </span>
73
+ <span class="price-including-tax">
74
+ <span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
75
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
76
+ <?php echo $_coreHelper->currency($_finalPriceInclTax+$_weeeTaxAmount,true,false) ?>
77
+ </span>
78
+ </span>
79
+ <?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 1)): // incl. + weee ?>
80
+ <span class="price-excluding-tax">
81
+ <span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
82
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
83
+ <?php echo $_coreHelper->currency($_price+$_weeeTaxAmount,true,false) ?>
84
+ </span>
85
+ </span>
86
+ <span class="price-including-tax">
87
+ <span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
88
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
89
+ <?php echo $_coreHelper->currency($_finalPriceInclTax+$_weeeTaxAmount,true,false) ?>
90
+ </span>
91
+ <span class="weee">(
92
+ <?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
93
+ <?php echo $_weeeSeparator; ?>
94
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
95
+ <?php $_weeeSeparator = ' + '; ?>
96
+ <?php endforeach; ?>
97
+ )</span>
98
+ </span>
99
+ <?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 4)): // incl. + weee ?>
100
+ <span class="price-excluding-tax">
101
+ <span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
102
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
103
+ <?php echo $_coreHelper->currency($_price+$_weeeTaxAmount,true,false) ?>
104
+ </span>
105
+ </span>
106
+ <span class="price-including-tax">
107
+ <span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
108
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
109
+ <?php echo $_coreHelper->currency($_finalPriceInclTax+$_weeeTaxAmount,true,false) ?>
110
+ </span>
111
+ <span class="weee">(
112
+ <?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
113
+ <?php echo $_weeeSeparator; ?>
114
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount()+$_weeeTaxAttribute->getTaxAmount(), true, true); ?>
115
+ <?php $_weeeSeparator = ' + '; ?>
116
+ <?php endforeach; ?>
117
+ )</span>
118
+ </span>
119
+ <?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 2)): // excl. + weee + final ?>
120
+ <span class="price-excluding-tax">
121
+ <span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
122
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
123
+ <?php echo $_coreHelper->currency($_price,true,false) ?>
124
+ </span>
125
+ </span>
126
+ <?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
127
+ <span class="weee">
128
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
129
+ </span>
130
+ <?php endforeach; ?>
131
+ <span class="price-including-tax">
132
+ <span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
133
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
134
+ <?php echo $_coreHelper->currency($_finalPriceInclTax+$_weeeTaxAmount,true,false) ?>
135
+ </span>
136
+ </span>
137
+ <?php else: ?>
138
+ <span class="price-excluding-tax">
139
+ <span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
140
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
141
+ <?php echo $_coreHelper->currency($_price,true,false) ?>
142
+ </span>
143
+ </span>
144
+ <span class="price-including-tax">
145
+ <span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
146
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
147
+ <?php echo $_coreHelper->currency($_finalPriceInclTax,true,false) ?>
148
+ </span>
149
+ </span>
150
+ <?php endif; ?>
151
+ <?php else: ?>
152
+ <?php if ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 0)): // including ?>
153
+ <span class="regular-price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
154
+ <?php echo $_coreHelper->currency($_price+$_weeeTaxAmount,true,true) ?>
155
+ </span>
156
+ <?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 1)): // incl. + weee ?>
157
+ <span class="regular-price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
158
+ <?php echo $_coreHelper->currency($_price+$_weeeTaxAmount,true,true) ?>
159
+ </span>
160
+ <span class="weee">(
161
+ <?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
162
+ <?php echo $_weeeSeparator; ?>
163
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
164
+ <?php $_weeeSeparator = ' + '; ?>
165
+ <?php endforeach; ?>
166
+ )</span>
167
+ <?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 4)): // incl. + weee ?>
168
+ <span class="regular-price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
169
+ <?php echo $_coreHelper->currency($_price+$_weeeTaxAmount,true,true) ?>
170
+ </span>
171
+ <span class="weee">(
172
+ <?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
173
+ <?php echo $_weeeSeparator; ?>
174
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount()+$_weeeTaxAttribute->getTaxAmount(), true, true); ?>
175
+ <?php $_weeeSeparator = ' + '; ?>
176
+ <?php endforeach; ?>
177
+ )</span>
178
+ <?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 2)): // excl. + weee + final ?>
179
+ <span class="regular-price"><?php echo $_coreHelper->currency($_price,true,true) ?></span><br />
180
+ <?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
181
+ <span class="weee">
182
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
183
+ </span>
184
+ <?php endforeach; ?>
185
+ <span class="regular-price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
186
+ <?php echo $_coreHelper->currency($_price+$_weeeTaxAmount,true,true) ?>
187
+ </span>
188
+ <?php else: ?>
189
+ <span class="regular-price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
190
+ <?php echo $_coreHelper->currency($_price,true,true) ?>
191
+ </span>
192
+ <?php endif; ?>
193
+ <?php endif; ?>
194
+ <?php else: /* if ($_finalPrice == $_price): */ ?>
195
+ <?php $_originalWeeeTaxAmount = $_weeeHelper->getOriginalAmount($_product); ?>
196
+
197
+ <?php if ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 0)): // including ?>
198
+ <p class="old-price">
199
+ <span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
200
+ <span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
201
+ <?php echo $_coreHelper->currency($_regularPrice+$_originalWeeeTaxAmount,true,false) ?>
202
+ </span>
203
+ </p>
204
+
205
+ <?php if ($_taxHelper->displayBothPrices()): ?>
206
+ <p class="special-price">
207
+ <span class="price-label"><?php echo $this->__('Special Price:') ?></span>
208
+ <span class="price-excluding-tax">
209
+ <span class="label"><?php echo $_taxHelper->__('Excl. Tax:') ?></span>
210
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
211
+ <?php echo $_coreHelper->currency($_finalPrice+$_weeeTaxAmount,true,false) ?>
212
+ </span>
213
+ </span>
214
+ <span class="price-including-tax">
215
+ <span class="label"><?php echo $_taxHelper->__('Incl. Tax:') ?></span>
216
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
217
+ <?php echo $_coreHelper->currency($_finalPriceInclTax+$_weeeTaxAmount,true,false) ?>
218
+ </span>
219
+ </span>
220
+ </p>
221
+ <?php else: ?>
222
+ <p class="special-price">
223
+ <span class="price-label"><?php echo $this->__('Special Price:') ?></span>
224
+ <span class="price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
225
+ <?php echo $_coreHelper->currency($_finalPrice+$_weeeTaxAmount,true,false) ?>
226
+ </span>
227
+ </p>
228
+ <?php endif; ?>
229
+
230
+ <?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 1)): // incl. + weee ?>
231
+ <p class="old-price">
232
+ <span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
233
+ <span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
234
+ <?php echo $_coreHelper->currency($_regularPrice+$_originalWeeeTaxAmount,true,false) ?>
235
+ </span>
236
+ </p>
237
+
238
+ <p class="special-price">
239
+ <span class="price-label"><?php echo $this->__('Special Price:') ?></span>
240
+ <span class="price-excluding-tax">
241
+ <span class="label"><?php echo $_taxHelper->__('Excl. Tax:') ?></span>
242
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
243
+ <?php echo $_coreHelper->currency($_finalPrice+$_weeeTaxAmount,true,false) ?>
244
+ </span>
245
+ </span>
246
+ <span class="weee">(
247
+ <?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
248
+ <?php echo $_weeeSeparator; ?>
249
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
250
+ <?php $_weeeSeparator = ' + '; ?>
251
+ <?php endforeach; ?>
252
+ )</span>
253
+ <span class="price-including-tax">
254
+ <span class="label"><?php echo $_taxHelper->__('Incl. Tax:') ?></span>
255
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
256
+ <?php echo $_coreHelper->currency($_finalPriceInclTax+$_weeeTaxAmount,true,false) ?>
257
+ </span>
258
+ </span>
259
+ </p>
260
+ <?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 4)): // incl. + weee ?>
261
+ <p class="old-price">
262
+ <span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
263
+ <span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
264
+ <?php echo $_coreHelper->currency($_regularPrice+$_originalWeeeTaxAmount,true,false) ?>
265
+ </span>
266
+ </p>
267
+
268
+ <p class="special-price">
269
+ <span class="price-label"><?php echo $this->__('Special Price:') ?></span>
270
+ <span class="price-excluding-tax">
271
+ <span class="label"><?php echo $_taxHelper->__('Excl. Tax:') ?></span>
272
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
273
+ <?php echo $_coreHelper->currency($_finalPrice+$_weeeTaxAmount,true,false) ?>
274
+ </span>
275
+ </span>
276
+ <span class="weee">(
277
+ <?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
278
+ <?php echo $_weeeSeparator; ?>
279
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount()+$_weeeTaxAttribute->getTaxAmount(), true, true); ?>
280
+ <?php $_weeeSeparator = ' + '; ?>
281
+ <?php endforeach; ?>
282
+ )</span>
283
+ <span class="price-including-tax">
284
+ <span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
285
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
286
+ <?php echo $_coreHelper->currency($_finalPriceInclTax+$_weeeTaxAmount,true,false) ?>
287
+ </span>
288
+ </span>
289
+ </p>
290
+ <?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 2)): // excl. + weee + final ?>
291
+ <p class="old-price">
292
+ <span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
293
+ <span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
294
+ <?php echo $_coreHelper->currency($_regularPrice,true,false) ?>
295
+ </span>
296
+ </p>
297
+
298
+ <p class="special-price">
299
+ <span class="price-label"><?php echo $this->__('Special Price:') ?></span>
300
+ <span class="price-excluding-tax">
301
+ <span class="label"><?php echo $_taxHelper->__('Excl. Tax:') ?></span>
302
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
303
+ <?php echo $_coreHelper->currency($_finalPrice,true,false) ?>
304
+ </span>
305
+ </span>
306
+ <?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
307
+ <span class="weee">
308
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
309
+ </span>
310
+ <?php endforeach; ?>
311
+ <span class="price-including-tax">
312
+ <span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
313
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
314
+ <?php echo $_coreHelper->currency($_finalPriceInclTax+$_weeeTaxAmount,true,false) ?>
315
+ </span>
316
+ </span>
317
+ </p>
318
+ <?php else: // excl. ?>
319
+ <p class="old-price">
320
+ <span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
321
+ <span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
322
+ <?php echo $_coreHelper->currency($_regularPrice,true,false) ?>
323
+ </span>
324
+ </p>
325
+
326
+ <?php if ($_taxHelper->displayBothPrices()): ?>
327
+ <p class="special-price">
328
+ <span class="price-label"><?php echo $this->__('Special Price:') ?></span>
329
+ <span class="price-excluding-tax">
330
+ <span class="label"><?php echo $_taxHelper->__('Excl. Tax:') ?></span>
331
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
332
+ <?php echo $_coreHelper->currency($_finalPrice,true,false) ?>
333
+ </span>
334
+ </span>
335
+ <span class="price-including-tax">
336
+ <span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
337
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
338
+ <?php echo $_coreHelper->currency($_finalPriceInclTax,true,false) ?>
339
+ </span>
340
+ </span>
341
+ </p>
342
+ <?php else: ?>
343
+ <p class="special-price">
344
+ <span class="price-label"><?php echo $this->__('Special Price:') ?></span>
345
+ <span class="price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
346
+ <?php echo $_coreHelper->currency($_finalPrice,true,false) ?>
347
+ </span>
348
+ </p>
349
+ <?php endif; ?>
350
+ <?php endif; ?>
351
+
352
+ <?php endif; /* if ($_finalPrice == $_price): */ ?>
353
+
354
+ <?php if ($this->getDisplayMinimalPrice() && $_minimalPriceValue && $_minimalPriceValue < $_product->getFinalPrice()): ?>
355
+
356
+ <?php $_minimalPriceDisplayValue = $_minimalPrice; ?>
357
+ <?php if ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, array(0, 1, 4))): ?>
358
+ <?php $_minimalPriceDisplayValue = $_minimalPrice+$_weeeTaxAmount; ?>
359
+ <?php endif; ?>
360
+
361
+ <?php if ($this->getUseLinkForAsLowAs()):?>
362
+ <a href="<?php echo $_product->getProductUrl(); ?>" class="minimal-price-link">
363
+ <?php else:?>
364
+ <span class="minimal-price-link">
365
+ <?php endif?>
366
+ <span class="label"><?php echo $this->__('As low as:') ?></span>
367
+ <span class="price" id="product-minimal-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
368
+ <?php echo $_coreHelper->currency($_minimalPriceDisplayValue,true,false) ?>
369
+ </span>
370
+ <?php if ($this->getUseLinkForAsLowAs()):?>
371
+ </a>
372
+ <?php else:?>
373
+ </span>
374
+ <?php endif?>
375
+ <?php endif; /* if ($this->getDisplayMinimalPrice() && $_minimalPrice && $_minimalPrice < $_finalPrice): */ ?>
376
+ </div>
377
+
378
+ <?php else: /* if (!$_product->isGrouped()): */ ?>
379
+ <?php
380
+ $_exclTax = $_taxHelper->getPrice($_product, $_minimalPriceValue, $includingTax = null);
381
+ $_inclTax = $_taxHelper->getPrice($_product, $_minimalPriceValue, $includingTax = true);
382
+ ?>
383
+ <?php if ($this->getDisplayMinimalPrice() && $_minimalPriceValue): ?>
384
+ <div class="price-box">
385
+ <p class="minimal-price">
386
+ <span class="price-label"><?php echo $this->__('Starting at:') ?></span>
387
+ <?php if ($_taxHelper->displayBothPrices()): ?>
388
+ <span class="price-excluding-tax">
389
+ <span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
390
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
391
+ <?php echo $_coreHelper->currency($_exclTax, true, false) ?>
392
+ </span>
393
+ </span>
394
+ <span class="price-including-tax">
395
+ <span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
396
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
397
+ <?php echo $_coreHelper->currency($_inclTax, true, false) ?>
398
+ </span>
399
+ </span>
400
+ <?php else: ?>
401
+ <?php
402
+ $_showPrice = $_inclTax;
403
+ if (!$_taxHelper->displayPriceIncludingTax()) {
404
+ $_showPrice = $_exclTax;
405
+ }
406
+ ?>
407
+ <span class="price" id="product-minimal-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
408
+ <?php echo $_coreHelper->currency($_showPrice, true, false) ?>
409
+ </span>
410
+ <?php endif; ?>
411
+ </p>
412
+ </div>
413
+ <?php endif; /* if ($this->getDisplayMinimalPrice() && $_minimalPrice): */ ?>
414
+ <?php endif; /* if (!$_product->isGrouped()): */ ?>
app/design/frontend/default/computer_store/template/catalog/product/view.phtml ADDED
@@ -0,0 +1,158 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ /**
28
+ * Product view template
29
+ *
30
+ * @see Mage_Catalog_Block_Product_View
31
+ * @see Mage_Review_Block_Product_View
32
+ */
33
+ ?>
34
+ <?php $_helper = $this->helper('catalog/output'); ?>
35
+ <?php $_product = $this->getProduct(); ?>
36
+ <script type="text/javascript">
37
+ var optionsPrice = new Product.OptionsPrice(<?php echo $this->getJsonConfig() ?>);
38
+ </script>
39
+ <div id="messages_product_view"><?php echo $this->getMessagesBlock()->getGroupedHtml() ?></div>
40
+ <div class="product-view">
41
+ <div class="product-essential">
42
+ <form action="<?php echo $this->getSubmitUrl($_product) ?>" method="post" id="product_addtocart_form"<?php if($_product->getOptions()): ?> enctype="multipart/form-data"<?php endif; ?>>
43
+ <div class="no-display">
44
+ <input type="hidden" name="product" value="<?php echo $_product->getId() ?>" />
45
+ <input type="hidden" name="related_product" id="related-products-field" value="" />
46
+ </div>
47
+
48
+ <div class="product-shop">
49
+ <div class="product-name">
50
+ <h1><?php echo $_helper->productAttribute($_product, $_product->getName(), 'name') ?></h1>
51
+ </div>
52
+
53
+ <?php if ($this->canEmailToFriend()): ?>
54
+ <p class="email-friend"><a href="<?php echo $this->helper('catalog/product')->getEmailToFriendUrl($_product) ?>"><?php echo $this->__('Email to a Friend') ?></a></p>
55
+ <?php endif; ?>
56
+
57
+ <?php echo $this->getReviewsSummaryHtml($_product, false, true)?>
58
+ <?php echo $this->getChildHtml('alert_urls') ?>
59
+ <?php echo $this->getChildHtml('product_type_data') ?>
60
+ <?php echo $this->getTierPriceHtml() ?>
61
+ <?php echo $this->getChildHtml('extrahint') ?>
62
+
63
+ <?php if (!$this->hasOptions()):?>
64
+ <div class="add-to-box">
65
+ <?php if($_product->isSaleable()): ?>
66
+ <?php echo $this->getChildHtml('addtocart') ?>
67
+ <?php if( $this->helper('wishlist')->isAllow() || $_compareUrl=$this->helper('catalog/product_compare')->getAddUrl($_product)): ?>
68
+ <span class="or"><?php echo $this->__('') ?></span>
69
+ <?php endif; ?>
70
+ <?php endif; ?>
71
+ <?php echo $this->getChildHtml('addto') ?>
72
+ </div>
73
+ <?php echo $this->getChildHtml('extra_buttons') ?>
74
+ <?php endif; ?>
75
+
76
+ <?php if ($_product->getShortDescription()):?>
77
+ <div class="short-description">
78
+ <h2><?php echo $this->__('Quick Overview') ?></h2>
79
+ <div class="std"><?php echo $_helper->productAttribute($_product, nl2br($_product->getShortDescription()), 'short_description') ?></div>
80
+ </div>
81
+ <?php endif;?>
82
+
83
+ <?php echo $this->getChildHtml('other');?>
84
+
85
+ <?php if ($_product->isSaleable() && $this->hasOptions()):?>
86
+ <?php echo $this->getChildChildHtml('container1', '', true, true) ?>
87
+ <?php endif;?>
88
+
89
+ </div>
90
+
91
+ <div class="product-img-box">
92
+ <?php echo $this->getChildHtml('media') ?>
93
+ </div>
94
+
95
+ <div class="clearer"></div>
96
+ <?php if ($_product->isSaleable() && $this->hasOptions()):?>
97
+ <?php echo $this->getChildChildHtml('container2', '', true, true) ?>
98
+ <?php endif;?>
99
+ </form>
100
+ <script type="text/javascript">
101
+ //<![CDATA[
102
+ var productAddToCartForm = new VarienForm('product_addtocart_form');
103
+ productAddToCartForm.submit = function(button, url) {
104
+ if (this.validator.validate()) {
105
+ var form = this.form;
106
+ var oldUrl = form.action;
107
+
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
+
121
+ if (button && button != 'undefined') {
122
+ button.disabled = true;
123
+ }
124
+ }
125
+ }.bind(productAddToCartForm);
126
+
127
+ productAddToCartForm.submitLight = function(button, url){
128
+ if(this.validator) {
129
+ var nv = Validation.methods;
130
+ delete Validation.methods['required-entry'];
131
+ delete Validation.methods['validate-one-required'];
132
+ delete Validation.methods['validate-one-required-by-name'];
133
+ if (this.validator.validate()) {
134
+ if (url) {
135
+ this.form.action = url;
136
+ }
137
+ this.form.submit();
138
+ }
139
+ Object.extend(Validation.methods, nv);
140
+ }
141
+ }.bind(productAddToCartForm);
142
+ //]]>
143
+ </script>
144
+ </div>
145
+
146
+ <div class="product-collateral">
147
+ <?php foreach ($this->getChildGroup('detailed_info', 'getChildHtml') as $alias => $html):?>
148
+ <div class="box-collateral <?php echo "box-{$alias}"?>">
149
+ <?php if ($title = $this->getChildData($alias, 'title')):?>
150
+ <h2><?php echo $this->escapeHtml($title); ?></h2>
151
+ <?php endif;?>
152
+ <?php echo $html; ?>
153
+ </div>
154
+ <?php endforeach;?>
155
+ <?php echo $this->getChildHtml('upsell_products') ?>
156
+ <?php echo $this->getChildHtml('product_additional_data') ?>
157
+ </div>
158
+ </div>
app/design/frontend/default/computer_store/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) 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 foreach ($this->getChildHtmlList() as $_html): ?>
28
+ <?php echo $_html ?>
29
+ <?php endforeach; ?>
app/design/frontend/default/computer_store/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) 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
+
28
+ <?php $_product = $this->getProduct(); ?>
29
+ <?php $_wishlistSubmitUrl = $this->helper('wishlist')->getAddUrl($_product); ?>
30
+
31
+ <ul class="add-to-links">
32
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
33
+ <li><a href="<?php echo $_wishlistSubmitUrl ?>" onclick="productAddToCartForm.submitLight(this, '<?php echo $_wishlistSubmitUrl ?>'); 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/default/computer_store/template/catalog/product/view/addtocart.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) 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 $_product = $this->getProduct(); ?>
28
+ <?php $buttonTitle = $this->__('Add to Cart'); ?>
29
+ <?php if($_product->isSaleable()): ?>
30
+ <div class="add-to-cart">
31
+ <?php if(!$_product->isGrouped()): ?>
32
+ <label for="qty"><?php echo $this->__('Qty:') ?></label>
33
+ <input type="text" name="qty" id="qty" maxlength="12" value="<?php echo $this->getProductDefaultQty() * 1 ?>" title="<?php echo $this->__('Qty') ?>" class="input-text qty" />
34
+ <?php endif; ?>
35
+ <button type="button" title="<?php echo $buttonTitle ?>" class="button btn-cart" onclick="productAddToCartForm.submit(this)"><span><span><?php echo $buttonTitle ?></span></span></button>
36
+ <?php echo $this->getChildHtml('', true, true) ?>
37
+ </div>
38
+ <?php endif; ?>
app/design/frontend/default/computer_store/template/catalog/product/view/attributes.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) 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
+ /**
28
+ * Product additional attributes template
29
+ *
30
+ * @see Mage_Catalog_Block_Product_View_Attributes
31
+ */
32
+ ?>
33
+ <?php
34
+ $_helper = $this->helper('catalog/output');
35
+ $_product = $this->getProduct()
36
+ ?>
37
+ <?php if($_additional = $this->getAdditionalData()): ?>
38
+ <h2><?php echo $this->__('Additional Information') ?></h2>
39
+ <table class="data-table" id="product-attribute-specs-table">
40
+ <col width="25%" />
41
+ <col />
42
+ <tbody>
43
+ <?php foreach ($_additional as $_data): ?>
44
+ <tr>
45
+ <th class="label"><?php echo $this->htmlEscape($this->__($_data['label'])) ?></th>
46
+ <td class="data"><?php echo $_helper->productAttribute($_product, $_data['value'], $_data['code']) ?></td>
47
+ </tr>
48
+ <?php endforeach; ?>
49
+ </tbody>
50
+ </table>
51
+ <script type="text/javascript">decorateTable('product-attribute-specs-table')</script>
52
+ <?php endif;?>
app/design/frontend/default/computer_store/template/catalog/product/view/description.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) 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
+ /**
28
+ * Product description template
29
+ *
30
+ * @see Mage_Catalog_Block_Product_View_Description
31
+ */
32
+ ?>
33
+ <?php $_description = $this->getProduct()->getDescription(); ?>
34
+ <?php if ($_description): ?>
35
+ <h2><?php echo $this->__('Details') ?></h2>
36
+ <div class="std">
37
+ <?php echo $this->helper('catalog/output')->productAttribute($this->getProduct(), $_description, 'description') ?>
38
+ </div>
39
+ <?php endif; ?>
app/design/frontend/default/computer_store/template/catalog/product/view/media.phtml ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ /**
28
+ * Product media data template
29
+ *
30
+ * @see Mage_Catalog_Block_Product_View_Media
31
+ */
32
+ ?>
33
+ <?php
34
+ $_product = $this->getProduct();
35
+ $_helper = $this->helper('catalog/output');
36
+ ?>
37
+ <?php if ($_product->getImage() != 'no_selection' && $_product->getImage()): ?>
38
+ <p class="product-image product-image-zoom">
39
+ <?php
40
+ $_img = '<img id="image" src="'.$this->helper('catalog/image')->init($_product, 'image').'" alt="'.$this->htmlEscape($this->getImageLabel()).'" title="'.$this->htmlEscape($this->getImageLabel()).'" />';
41
+ echo $_helper->productAttribute($_product, $_img, 'image');
42
+ ?>
43
+ </p>
44
+ <p class="zoom-notice" id="track_hint"><?php echo $this->__('Double click on above image to view full picture') ?></p>
45
+ <div class="zoom">
46
+ <img id="zoom_out" src="<?php echo $this->getSkinUrl('images/slider_btn_zoom_out.gif') ?>" alt="<?php echo $this->__('Zoom Out') ?>" title="<?php echo $this->__('Zoom Out') ?>" class="btn-zoom-out" />
47
+ <div id="track">
48
+ <div id="handle"></div>
49
+ </div>
50
+ <img id="zoom_in" src="<?php echo $this->getSkinUrl('images/slider_btn_zoom_in.gif') ?>" alt="<?php echo $this->__('Zoom In') ?>" title="<?php echo $this->__('Zoom In') ?>" class="btn-zoom-in" />
51
+ </div>
52
+ <script type="text/javascript">
53
+ //<![CDATA[
54
+ Event.observe(window, 'load', function() {
55
+ product_zoom = new Product.Zoom('image', 'track', 'handle', 'zoom_in', 'zoom_out', 'track_hint');
56
+ });
57
+ //]]>
58
+ </script>
59
+ <?php else: ?>
60
+ <p class="product-image">
61
+ <?php
62
+ $_img = '<img src="'.$this->helper('catalog/image')->init($_product, 'image')->resize(265).'" alt="'.$this->htmlEscape($this->getImageLabel()).'" title="'.$this->htmlEscape($this->getImageLabel()).'" />';
63
+ echo $_helper->productAttribute($_product, $_img, 'image');
64
+ ?>
65
+ </p>
66
+ <?php endif; ?>
67
+ <?php if (count($this->getGalleryImages()) > 0): ?>
68
+ <?php $_columnCount = 4; ?>
69
+ <div class="more-views">
70
+ <h2><?php echo $this->__('More Views') ?></h2>
71
+ <?php $i = 0; foreach ($this->getGalleryImages() as $_image):?>
72
+ <?php if ($i++%$_columnCount==0): ?>
73
+ <ul>
74
+ <?php endif ?>
75
+ <li class="item<?php if(($i-1)%$_columnCount==0): ?> first<?php elseif($i%$_columnCount==0): ?> last<?php endif; ?>">
76
+ <a href="#" onclick="popWin('<?php echo $this->getGalleryUrl($_image) ?>', 'gallery', 'width=300,height=300,left=0,top=0,location=no,status=yes,scrollbars=yes,resizable=yes'); return false;" title="<?php echo $this->htmlEscape($_image->getLabel()) ?>"><img src="<?php echo $this->helper('catalog/image')->init($this->getProduct(), 'thumbnail', $_image->getFile())->resize(68,51); ?>" width="68" height="51" alt="<?php echo $this->htmlEscape($_image->getLabel()) ?>" /></a>
77
+ </li>
78
+ <?php if ($i%$_columnCount==0 || $i==count($this->getGalleryImages())): ?>
79
+ </ul>
80
+ <?php endif ?>
81
+ <?php endforeach; ?>
82
+ </div>
83
+ <?php endif; ?>
app/design/frontend/default/computer_store/template/catalog/product/view/options.phtml ADDED
@@ -0,0 +1,182 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+
28
+ <?php $_options = Mage::helper('core')->decorateArray($this->getOptions()) ?>
29
+ <?php if (count($_options)):?>
30
+ <script type="text/javascript">
31
+ //<![CDATA[
32
+ var optionFileUpload = {
33
+ productForm : $('product_addtocart_form'),
34
+ formAction : '',
35
+ formElements : {},
36
+ upload : function(element){
37
+ this.formElements = this.productForm.select('input', 'select', 'textarea', 'button');
38
+ this.removeRequire(element.readAttribute('id').sub('option_', ''));
39
+
40
+ template = '<iframe id="upload_target" name="upload_target" style="width:0; height:0; border:0;"><\/iframe>';
41
+
42
+ Element.insert($('option_'+element.readAttribute('id').sub('option_', '')+'_uploaded_file'), {after: template});
43
+
44
+ this.formAction = this.productForm.action;
45
+
46
+ var baseUrl = '<?php echo $this->getUrl('*/product/upload') ?>';
47
+ var urlExt = 'option_id/'+element.readAttribute('id').sub('option_', '');
48
+
49
+ this.productForm.action = parseSidUrl(baseUrl, urlExt);
50
+ this.productForm.target = 'upload_target';
51
+ this.productForm.submit();
52
+ this.productForm.target = '';
53
+ this.productForm.action = this.formAction;
54
+ },
55
+ removeRequire : function(skipElementId){
56
+ for(var i=0; i<this.formElements.length; i++){
57
+ if (this.formElements[i].readAttribute('id') != 'option_'+skipElementId+'_file' && this.formElements[i].type != 'button') {
58
+ this.formElements[i].disabled='disabled';
59
+ }
60
+ }
61
+ },
62
+ addRequire : function(skipElementId){
63
+ for(var i=0; i<this.formElements.length; i++){
64
+ if (this.formElements[i].readAttribute('name') != 'options_'+skipElementId+'_file' && this.formElements[i].type != 'button') {
65
+ this.formElements[i].disabled='';
66
+ }
67
+ }
68
+ },
69
+ uploadCallback : function(data){
70
+ this.addRequire(data.optionId);
71
+ $('upload_target').remove();
72
+
73
+ if (data.error) {
74
+
75
+ } else {
76
+ $('option_'+data.optionId+'_uploaded_file').value = data.fileName;
77
+ $('option_'+data.optionId+'_file').value = '';
78
+ $('option_'+data.optionId+'_file').hide();
79
+ $('option_'+data.optionId+'').hide();
80
+ template = '<div id="option_'+data.optionId+'_file_box"><a href="#"><img src="var/options/'+data.fileName+'" alt=""><\/a><a href="#" onclick="optionFileUpload.removeFile('+data.optionId+')" title="Remove file" \/>Remove file<\/a>';
81
+
82
+ Element.insert($('option_'+data.optionId+'_uploaded_file'), {after: template});
83
+ }
84
+ },
85
+ removeFile : function(optionId)
86
+ {
87
+ $('option_'+optionId+'_uploaded_file').value= '';
88
+ $('option_'+optionId+'_file').show();
89
+ $('option_'+optionId+'').show();
90
+
91
+ $('option_'+optionId+'_file_box').remove();
92
+ }
93
+ }
94
+ var optionTextCounter = {
95
+ count : function(field,cntfield,maxlimit){
96
+ if (field.value.length > maxlimit){
97
+ field.value = field.value.substring(0, maxlimit);
98
+ } else {
99
+ cntfield.innerHTML = maxlimit - field.value.length;
100
+ }
101
+ }
102
+ }
103
+
104
+ Product.Options = Class.create();
105
+ Product.Options.prototype = {
106
+ initialize : function(config){
107
+ this.config = config;
108
+ this.reloadPrice();
109
+ document.observe("dom:loaded", this.reloadPrice.bind(this));
110
+ },
111
+ reloadPrice : function(){
112
+ price = new Number();
113
+ config = this.config;
114
+ skipIds = [];
115
+ $$('.product-custom-option').each(function(element){
116
+ var optionId = 0;
117
+ element.name.sub(/[0-9]+/, function(match){
118
+ optionId = match[0];
119
+ });
120
+ if (this.config[optionId]) {
121
+ if (element.type == 'checkbox' || element.type == 'radio') {
122
+ if (element.checked) {
123
+ if (config[optionId][element.getValue()]) {
124
+ price += parseFloat(config[optionId][element.getValue()]);
125
+ }
126
+ }
127
+ } else if(element.hasClassName('datetime-picker') && !skipIds.include(optionId)) {
128
+ dateSelected = true;
129
+ $$('.product-custom-option[id^="options_' + optionId + '"]').each(function(dt){
130
+ if (dt.getValue() == '') {
131
+ dateSelected = false;
132
+ }
133
+ });
134
+ if (dateSelected) {
135
+ price += parseFloat(this.config[optionId]);
136
+ skipIds[optionId] = optionId;
137
+ }
138
+ } else if(element.type == 'select-one' || element.type == 'select-multiple') {
139
+ if (element.options) {
140
+ $A(element.options).each(function(selectOption){
141
+ if (selectOption.selected) {
142
+ if (this.config[optionId][selectOption.value]) {
143
+ price += parseFloat(this.config[optionId][selectOption.value]);
144
+ }
145
+ }
146
+ });
147
+ }
148
+ } else {
149
+ if (element.getValue().strip() != '') {
150
+ price += parseFloat(this.config[optionId]);
151
+ }
152
+ }
153
+ }
154
+ });
155
+ try {
156
+ optionsPrice.changePrice('options', price);
157
+ optionsPrice.changePrice('optionsPriceInclTax', price);
158
+ optionsPrice.reload();
159
+ } catch (e) {
160
+
161
+ }
162
+ }
163
+ }
164
+ function validateOptionsCallback(elmId, result){
165
+ var container = $(elmId).up('ul.options-list');
166
+ if (result == 'failed') {
167
+ container.removeClassName('validation-passed');
168
+ container.addClassName('validation-failed');
169
+ } else {
170
+ container.removeClassName('validation-failed');
171
+ container.addClassName('validation-passed');
172
+ }
173
+ }
174
+ var opConfig = new Product.Options(<?php echo $this->getJsonConfig() ?>);
175
+ //]]>
176
+ </script>
177
+ <dl>
178
+ <?php foreach($_options as $_option): ?>
179
+ <?php echo $this->getOptionHtml($_option) ?>
180
+ <?php endforeach; ?>
181
+ </dl>
182
+ <?php endif; ?>
app/design/frontend/default/computer_store/template/catalog/product/view/options/js.phtml ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ <script type="text/javascript">
28
+ //<![CDATA[
29
+ var DateOption = Class.create({
30
+
31
+ getDaysInMonth: function(month, year)
32
+ {
33
+ var curDate = new Date();
34
+ if (!month) {
35
+ month = curDate.getMonth();
36
+ }
37
+ if (2 == month && !year) { // leap year assumption for unknown year
38
+ return 29;
39
+ }
40
+ if (!year) {
41
+ year = curDate.getFullYear();
42
+ }
43
+ return 32 - new Date(year, month - 1, 32).getDate();
44
+ },
45
+
46
+ reloadMonth: function(event)
47
+ {
48
+ var selectEl = event.findElement();
49
+ var idParts = selectEl.id.split("_");
50
+ if (idParts.length != 3) {
51
+ return false;
52
+ }
53
+ var optionIdPrefix = idParts[0] + "_" + idParts[1];
54
+ var month = parseInt($(optionIdPrefix + "_month").value);
55
+ var year = parseInt($(optionIdPrefix + "_year").value);
56
+ var dayEl = $(optionIdPrefix + "_day");
57
+
58
+ var days = this.getDaysInMonth(month, year);
59
+
60
+ //remove days
61
+ for (var i = dayEl.options.length - 1; i >= 0; i--) {
62
+ if (dayEl.options[i].value > days) {
63
+ dayEl.remove(dayEl.options[i].index);
64
+ }
65
+ }
66
+
67
+ // add days
68
+ var lastDay = parseInt(dayEl.options[dayEl.options.length-1].value);
69
+ for (i = lastDay + 1; i <= days; i++) {
70
+ this.addOption(dayEl, i, i);
71
+ }
72
+ },
73
+
74
+ addOption: function(select, text, value)
75
+ {
76
+ var option = document.createElement('OPTION');
77
+ option.value = value;
78
+ option.text = text;
79
+
80
+ if (select.options.add) {
81
+ select.options.add(option);
82
+ } else {
83
+ select.appendChild(option);
84
+ }
85
+ }
86
+ });
87
+ dateOption = new DateOption();
88
+ //]]>
89
+ </script>
app/design/frontend/default/computer_store/template/catalog/product/view/options/type/date.phtml ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 $_option = $this->getOption() ?>
28
+ <?php $_optionId = $_option->getId() ?>
29
+ <dt><label<?php if ($_option->getIsRequire()) echo ' class="required"' ?>><?php if ($_option->getIsRequire()) echo '<em>*</em>' ?><?php echo $this->htmlEscape($_option->getTitle()) ?></label>
30
+ <?php echo $this->getFormatedPrice() ?></dt>
31
+ <dd<?php if ($_option->decoratedIsLast){?> class="last"<?php }?>>
32
+
33
+ <?php if ($_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_DATE_TIME
34
+ || $_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_DATE): ?>
35
+
36
+ <?php echo $this->getDateHtml() ?>
37
+
38
+ <?php if (!$this->useCalendar()): ?>
39
+ <script type="text/javascript">
40
+ //<![CDATA[
41
+ Event.observe('options_<?php echo $_optionId ?>_month', 'change', dateOption.reloadMonth.bind(dateOption));
42
+ Event.observe('options_<?php echo $_optionId ?>_year', 'change', dateOption.reloadMonth.bind(dateOption));
43
+ //]]>
44
+ </script>
45
+ <?php endif; ?>
46
+
47
+ <?php endif; ?>
48
+
49
+ <?php if ($_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_DATE_TIME
50
+ || $_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_TIME): ?>
51
+ <span class="time-picker"><?php echo $this->getTimeHtml() ?></span>
52
+ <?php endif; ?>
53
+
54
+ <input type="hidden" name="validate_datetime_<?php echo $_optionId ?>" class="validate-datetime-<?php echo $_optionId ?>" value="" />
55
+ <script type="text/javascript">
56
+ //<![CDATA[
57
+ <?php if ($_option->getIsRequire()): ?>
58
+ Validation.addAllThese(
59
+ [
60
+ ['validate-datetime-<?php echo $_optionId ?>', '<?php echo $this->jsQuoteEscape( Mage::helper('catalog')->__('This is a required option') )?>', function(v) {
61
+ var dateTimeParts = $$('.datetime-picker[id^="options_<?php echo $_optionId ?>"]');
62
+ for (var i=0; i < dateTimeParts.length; i++) {
63
+ if (dateTimeParts[i].value == "") return false;
64
+ }
65
+ return true;
66
+ }]
67
+ ]
68
+ );
69
+ <?php else: ?>
70
+ Validation.add(
71
+ 'validate-datetime-<?php echo $_optionId ?>',
72
+ '<?php echo $this->jsQuoteEscape( Mage::helper('catalog')->__('Field is not complete') )?>',
73
+ function(v) {
74
+ var dateTimeParts = $$('.datetime-picker[id^="options_<?php echo $_optionId ?>"]');
75
+ var hasWithValue = false, hasWithNoValue = false;
76
+ var pattern = /day_part$/i;
77
+ for (var i=0; i < dateTimeParts.length; i++) {
78
+ if (! pattern.test(dateTimeParts[i].id)) {
79
+ if (dateTimeParts[i].value === "") {
80
+ hasWithValue = true;
81
+ } else {
82
+ hasWithNoValue = true;
83
+ }
84
+ }
85
+ }
86
+ return hasWithValue ^ hasWithNoValue;
87
+ }
88
+ );
89
+ <?php endif; ?>
90
+ //]]>
91
+ </script>
92
+ </dd>
app/design/frontend/default/computer_store/template/catalog/product/view/options/type/default.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) 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 $_option = $this->getOption() ?>
28
+ <dt>
29
+ <label><?php echo $this->htmlEscape($_option->getTitle()) ?></label>
30
+ </dt>
app/design/frontend/default/computer_store/template/catalog/product/view/options/type/file.phtml ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 $_option = $this->getOption(); ?>
28
+ <?php $_fileInfo = $this->getFileInfo(); ?>
29
+ <?php $_fileExists = $_fileInfo->hasData() ? true : false; ?>
30
+ <?php $_fileName = 'options_' . $_option->getId() . '_file'; ?>
31
+ <?php $_fieldNameAction = $_fileName . '_action'; ?>
32
+ <?php $_fieldValueAction = $_fileExists ? 'save_old' : 'save_new'; ?>
33
+ <?php $_fileNamed = $_fileName . '_name'; ?>
34
+ <?php $_rand = rand(); ?>
35
+
36
+ <script type="text/javascript">
37
+ //<![CDATA[
38
+ opFile<?php echo $_rand; ?> = {
39
+ initializeFile: function(inputBox) {
40
+ this.inputFile = inputBox.select('input[name="<?php echo $_fileName; ?>"]')[0];
41
+ this.inputFileAction = inputBox.select('input[name="<?php echo $_fieldNameAction; ?>"]')[0];
42
+ this.fileNameBox = inputBox.up('dd').select('.<?php echo $_fileNamed ?>')[0];
43
+ },
44
+
45
+ toggleFileChange: function(inputBox) {
46
+ this.initializeFile(inputBox);
47
+ inputBox.toggle();
48
+ this.fileChangeFlag = this.fileChangeFlag ? false : true;
49
+ if (!this.fileDeleteFlag) {
50
+ if (this.fileChangeFlag) {
51
+ this.inputFileAction.value = 'save_new';
52
+ this.inputFile.disabled = false;
53
+ } else {
54
+ this.inputFileAction.value = 'save_old';
55
+ this.inputFile.disabled = true;
56
+ }
57
+ }
58
+ },
59
+
60
+ toggleFileDelete: function(fileDeleteFlag, inputBox) {
61
+ this.initializeFile(inputBox);
62
+ this.fileDeleteFlag = fileDeleteFlag.checked ? true : false;
63
+ if (this.fileDeleteFlag) {
64
+ this.inputFileAction.value = '';
65
+ this.inputFile.disabled = true;
66
+ this.fileNameBox.setStyle({'text-decoration': 'line-through'});
67
+ } else {
68
+ this.inputFileAction.value = this.fileChangeFlag ? 'save_new' : 'save_old';
69
+ this.inputFile.disabled = (this.fileChangeFlag == 'save_old');
70
+ this.fileNameBox.setStyle({'text-decoration': 'none'});
71
+ }
72
+ }
73
+ };
74
+ //]]>
75
+ </script>
76
+
77
+ <dt><label <?php if ($_option->getIsRequire()) echo ' class="required"' ?>><?php if ($_option->getIsRequire()) echo '<em>*</em>' ?><?php echo $this->htmlEscape($_option->getTitle()) ?></label>
78
+ <?php echo $this->getFormatedPrice() ?></dt>
79
+ <dd<?php if ($_option->decoratedIsLast){?> class="last"<?php }?>>
80
+ <?php if ($_fileExists): ?>
81
+ <span class="<?php echo $_fileNamed ?>"><?php echo $_fileInfo->getTitle(); ?></span>
82
+ <a href="javascript:void(0)" class="label" onclick="opFile<?php echo $_rand; ?>.toggleFileChange($(this).next('.input-box'))">
83
+ <?php echo Mage::helper('catalog')->__('Change') ?>
84
+ </a>&nbsp;
85
+ <?php if (!$_option->getIsRequire()): ?>
86
+ <input type="checkbox" onclick="opFile<?php echo $_rand; ?>.toggleFileDelete($(this), $(this).next('.input-box'))" />
87
+ <span class="label"><?php echo Mage::helper('catalog')->__('Delete') ?></span>
88
+ <?php endif; ?>
89
+ <?php endif; ?>
90
+ <div class="input-box" <?php echo $_fileExists ? 'style="display:none"' : '' ?>>
91
+ <input type="file" name="<?php echo $_fileName; ?>" class="product-custom-option<?php echo $_option->getIsRequire() ? ' required-entry' : '' ?>" <?php echo $_fileExists ? 'disabled="disabled"' : '' ?> onchange="opConfig.reloadPrice()" />
92
+ <input type="hidden" name="<?php echo $_fieldNameAction; ?>" value="<?php echo $_fieldValueAction; ?>" />
93
+ <?php if ($_option->getFileExtension()): ?>
94
+ <p class="no-margin"><?php echo Mage::helper('catalog')->__('Allowed file extensions to upload')?>: <strong><?php echo $_option->getFileExtension() ?></strong></p>
95
+ <?php endif; ?>
96
+ <?php if ($_option->getImageSizeX() > 0): ?>
97
+ <p class="no-margin"><?php echo Mage::helper('catalog')->__('Maximum image width')?>: <strong><?php echo $_option->getImageSizeX() ?> <?php echo Mage::helper('catalog')->__('px.')?></strong></p>
98
+ <?php endif; ?>
99
+ <?php if ($_option->getImageSizeY() > 0): ?>
100
+ <p class="no-margin"><?php echo Mage::helper('catalog')->__('Maximum image height')?>: <strong><?php echo $_option->getImageSizeY() ?> <?php echo Mage::helper('catalog')->__('px.')?></strong></p>
101
+ <?php endif; ?>
102
+ </div>
103
+ </dd>
app/design/frontend/default/computer_store/template/catalog/product/view/options/type/select.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) 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
+
28
+ <?php /* @var $this Mage_Catalog_Block_Product_View_Options_Type_Select */ ?>
29
+ <?php $_option = $this->getOption() ?>
30
+ <dt><label<?php if ($_option->getIsRequire()) echo ' class="required"' ?>><?php if ($_option->getIsRequire()) echo '<em>*</em>' ?><?php echo $this->htmlEscape($_option->getTitle()) ?></label></dt>
31
+ <dd<?php if ($_option->decoratedIsLast){?> class="last"<?php }?>>
32
+ <div class="input-box">
33
+ <?php echo $this->getValuesHtml() ?>
34
+ <?php if ($_option->getIsRequire()): ?>
35
+ <?php if ($_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_RADIO || $_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_CHECKBOX): ?>
36
+ <span id="options-<?php echo $_option->getId() ?>-container"></span>
37
+ <?php endif; ?>
38
+ <?php endif;?>
39
+ </div>
40
+ </dd>
app/design/frontend/default/computer_store/template/catalog/product/view/options/type/text.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) 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 $_option = $this->getOption(); ?>
28
+ <dt><label<?php if ($_option->getIsRequire()) echo ' class="required"' ?>><?php if ($_option->getIsRequire()) echo '<em>*</em>' ?><?php echo $this->htmlEscape($_option->getTitle()) ?></label>
29
+ <?php echo $this->getFormatedPrice() ?></dt>
30
+ <dd<?php if ($_option->decoratedIsLast){?> class="last"<?php }?>>
31
+ <div class="input-box">
32
+ <?php if ($_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_FIELD): ?>
33
+ <input type="text" onchange="opConfig.reloadPrice()" id="options_<?php echo $_option->getId() ?>_text" class="input-text<?php echo $_option->getIsRequire() ? ' required-entry' : '' ?> <?php echo $_option->getMaxCharacters() ? ' validate-length maximum-length-'.$_option->getMaxCharacters() : '' ?> product-custom-option" name="options[<?php echo $_option->getId() ?>]" value="<?php echo $this->escapeHtml($this->getDefaultValue()) ?>" />
34
+ <?php elseif ($_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_AREA): ?>
35
+ <textarea id="options_<?php echo $_option->getId() ?>_text" onchange="opConfig.reloadPrice()" class="<?php echo $_option->getIsRequire() ? ' required-entry' : '' ?> <?php echo $_option->getMaxCharacters() ? ' validate-length maximum-length-'.$_option->getMaxCharacters() : '' ?> product-custom-option" name="options[<?php echo $_option->getId() ?>]" rows="5" cols="25"><?php echo $this->escapeHtml($this->getDefaultValue()) ?></textarea>
36
+ <?php endif; ?>
37
+ <?php if ($_option->getMaxCharacters()): ?>
38
+ <p class="note"><?php echo Mage::helper('catalog')->__('Maximum number of characters:')?> <strong><?php echo $_option->getMaxCharacters() ?></strong></p>
39
+ <?php endif; ?>
40
+ </div>
41
+ </dd>
app/design/frontend/default/computer_store/template/catalog/product/view/options/wrapper.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) 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
+ <div class="product-options" id="product-options-wrapper">
28
+ <?php echo $this->getChildHtml('', true, true);?>
29
+ <?php if ($this->hasRequiredOptions()):?>
30
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
31
+ <?php endif;?>
32
+ </div>
33
+ <script type="text/javascript">decorateGeneric($$('#product-options-wrapper dl'), ['last']);</script>
app/design/frontend/default/computer_store/template/catalog/product/view/options/wrapper/bottom.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) 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
+ <div class="product-options-bottom">
28
+ <?php echo $this->getChildHtml('', true, true);?>
29
+ </div>
app/design/frontend/default/computer_store/template/catalog/product/view/price.phtml ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ /**
28
+ * @deprecated after 1.4.0.0-alpha3
29
+ */
30
+ ?>
31
+ <div class="price-box" id="product_price">
32
+ <p class="old-price"><?php echo $this->__('Old Price:') ?> <?php echo $this->getPrice() ?></p>
33
+ <p class="special-price"><?php echo $this->getPrice() ?></p>
34
+ </div>
app/design/frontend/default/computer_store/template/catalog/product/view/type/configurable.phtml ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ * @deprecated after 1.4.1.0 in favor of default.phtml
30
+ */
31
+ ?>
app/design/frontend/default/computer_store/template/catalog/product/view/type/default.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) 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 /* @var $this Mage_Catalog_Block_Product_View_Abstract */?>
28
+ <?php $_product = $this->getProduct() ?>
29
+
30
+ <?php if ($_product->isAvailable()): ?>
31
+ <p class="availability in-stock"><?php echo $this->__('Availability:') ?> <span><?php echo $this->__('In stock') ?></span></p>
32
+ <?php else: ?>
33
+ <p class="availability out-of-stock"><?php echo $this->__('Availability:') ?> <span><?php echo $this->__('Out of stock') ?></span></p>
34
+ <?php endif; ?>
35
+ <?php echo $this->getChildHtml('product_type_data_extra') ?>
36
+ <?php echo $this->getPriceHtml($_product) ?>
app/design/frontend/default/computer_store/template/catalog/product/view/type/grouped.phtml ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ /**
28
+ * Grouped product data template
29
+ *
30
+ * @see Mage_Catalog_Block_Product_View_Media
31
+ * @see Mage_Catalog_Block_Product_View_Type_Grouped
32
+ */
33
+ ?>
34
+ <?php $this->setPreconfiguredValue(); ?>
35
+ <?php $_product = $this->getProduct(); ?>
36
+ <?php $_associatedProducts = $this->getAssociatedProducts(); ?>
37
+ <?php $_hasAssociatedProducts = count($_associatedProducts) > 0; ?>
38
+ <?php if ($_product->isAvailable() && $_hasAssociatedProducts): ?>
39
+ <p class="availability in-stock"><?php echo $this->__('Availability:') ?> <span><?php echo $this->__('In stock') ?></span></p>
40
+ <?php else: ?>
41
+ <p class="availability out-of-stock"><?php echo $this->__('Availability:') ?> <span><?php echo $this->__('Out of stock') ?></span></p>
42
+ <?php endif; ?>
43
+ <?php echo $this->getChildHtml('product_type_data_extra') ?>
44
+ <table class="data-table grouped-items-table" id="super-product-table">
45
+ <col />
46
+ <col />
47
+ <col width="1" />
48
+ <thead>
49
+ <tr>
50
+ <th><?php echo $this->__('Product Name') ?></th>
51
+ <?php if ($this->getCanShowProductPrice($_product)): ?>
52
+ <th class="a-right"><?php echo $this->__('Price') ?></th>
53
+ <?php endif; ?>
54
+ <?php if ($_product->isSaleable()): ?>
55
+ <th class="a-center"><?php echo $this->__('Qty') ?></th>
56
+ <?php endif; ?>
57
+ </tr>
58
+ </thead>
59
+ <tbody>
60
+ <?php if ($_hasAssociatedProducts): ?>
61
+ <?php foreach ($_associatedProducts as $_item): ?>
62
+ <?php $_finalPriceInclTax = $this->helper('tax')->getPrice($_item, $_item->getFinalPrice(), true) ?>
63
+ <tr>
64
+ <td><?php echo $this->htmlEscape($_item->getName()) ?></td>
65
+ <?php if ($this->getCanShowProductPrice($_product)): ?>
66
+ <td class="a-right">
67
+ <?php if ($this->getCanShowProductPrice($_item)): ?>
68
+ <?php echo $this->getPriceHtml($_item, true) ?>
69
+ <?php echo $this->getTierPriceHtml($_item) ?>
70
+ <?php endif; ?>
71
+ </td>
72
+ <?php endif; ?>
73
+ <?php if ($_product->isSaleable()): ?>
74
+ <td class="a-center">
75
+ <?php if ($_item->isSaleable()) : ?>
76
+ <input type="text" name="super_group[<?php echo $_item->getId() ?>]" maxlength="12" value="<?php echo $_item->getQty()*1 ?>" title="<?php echo $this->__('Qty') ?>" class="input-text qty" />
77
+ <?php else: ?>
78
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
79
+ <?php endif; ?>
80
+ </td>
81
+ <?php endif; ?>
82
+ </tr>
83
+ <?php endforeach; ?>
84
+ <?php else: ?>
85
+ <tr>
86
+ <td colspan="<?php if ($_product->isSaleable()): ?>4<?php else : ?>3<?php endif; ?>"><?php echo $this->__('No options of this product are available.') ?></td>
87
+ </tr>
88
+ <?php endif; ?>
89
+ </tbody>
90
+ </table>
91
+ <script type="text/javascript">decorateTable('super-product-table')</script>
app/design/frontend/default/computer_store/template/catalog/product/view/type/options/configurable.phtml ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+
28
+ <?php
29
+ $_product = $this->getProduct();
30
+ $_attributes = Mage::helper('core')->decorateArray($this->getAllowAttributes());
31
+ ?>
32
+ <?php if ($_product->isSaleable() && count($_attributes)):?>
33
+ <dl>
34
+ <?php foreach($_attributes as $_attribute): ?>
35
+ <dt><label class="required"><em>*</em><?php echo $_attribute->getLabel() ?></label></dt>
36
+ <dd<?php if ($_attribute->decoratedIsLast){?> class="last"<?php }?>>
37
+ <div class="input-box">
38
+ <select name="super_attribute[<?php echo $_attribute->getAttributeId() ?>]" id="attribute<?php echo $_attribute->getAttributeId() ?>" class="required-entry super-attribute-select">
39
+ <option><?php echo $this->__('Choose an Option...') ?></option>
40
+ </select>
41
+ </div>
42
+ </dd>
43
+ <?php endforeach; ?>
44
+ </dl>
45
+ <script type="text/javascript">
46
+ var spConfig = new Product.Config(<?php echo $this->getJsonConfig() ?>);
47
+ </script>
48
+ <?php endif;?>
app/design/frontend/default/computer_store/template/catalog/product/view/type/simple.phtml ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ * @deprecated after 1.4.1.0 in favor of default.phtml
30
+ */
31
+ ?>
app/design/frontend/default/computer_store/template/catalog/product/view/type/virtual.phtml ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ * @deprecated after 1.4.1.0 in favor of default.phtml
30
+ */
31
+ ?>
app/design/frontend/default/computer_store/template/catalog/product/widget/link/link_block.phtml ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 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
+ <span class="widget widget-product-link"><a <?php echo $this->getLinkAttributes() ?>><span><?php echo $this->htmlEscape($this->getAnchorText()) ?></span></a></span>
app/design/frontend/default/computer_store/template/catalog/product/widget/link/link_inline.phtml ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 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
+ <span class="widget widget-product-link-inline"><a <?php echo $this->getLinkAttributes() ?>><span><?php echo $this->htmlEscape($this->getAnchorText()) ?></span></a></span>
app/design/frontend/default/computer_store/template/catalog/product/widget/new/column/new_default_list.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) 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 if (($_products = $this->getProductCollection()) && $_products->getSize()): ?>
28
+ <div class="widget widget-new-products">
29
+ <div class="block block-products">
30
+ <div class="block-title">
31
+ <strong><span><?php echo $this->__('New Products') ?></span></strong>
32
+ </div>
33
+ <div class="block-content">
34
+ <?php $suffix = $this->getNameInLayout(); ?>
35
+ <ol class="mini-products-list" id="widget-new-products-<?php echo $suffix; ?>">
36
+ <?php foreach ($_products->getItems() as $_product): ?>
37
+ <li class="item">
38
+ <a class="product-image" href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'thumbnail')->resize(50) ?>" width="50" height="50" alt="<?php echo $this->stripTags($_product->getName(), null, true) ?>" /></a>
39
+ <div class="product-details">
40
+ <p class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>)"><?php echo $this->helper('catalog/output')->productAttribute($_product, $_product->getName() , 'name') ?></a></p>
41
+ <?php echo $this->getPriceHtml($_product, true, '-widget-new-'.$suffix) ?>
42
+ <?php if ($_product->getIsSalable()): ?>
43
+ <a href="<?php echo $this->getAddToCartUrl($_product) ?>" class="link-cart"><?php echo $this->__('Add to Cart') ?></a>
44
+ <?php else: ?>
45
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
46
+ <?php endif; ?>
47
+ </div>
48
+ </li>
49
+ <?php endforeach; ?>
50
+ </ol>
51
+ <script type="text/javascript">decorateList('widget-new-products-<?php echo $suffix; ?>', 'none-recursive')</script>
52
+ </div>
53
+ </div>
54
+ </div>
55
+ <?php endif; ?>
app/design/frontend/default/computer_store/template/catalog/product/widget/new/column/new_images_list.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) 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 if (($_products = $this->getProductCollection()) && $_products->getSize()): ?>
28
+ <div class="widget widget-new-products">
29
+ <div class="block block-list">
30
+ <div class="block-title">
31
+ <strong><span><?php echo $this->__('New Products') ?></span></strong>
32
+ </div>
33
+ <div class="block-content">
34
+ <?php $suffix = $this->getNameInLayout(); ?>
35
+ <ol class="mini-products-images-list" id="widget-new-products-<?php echo $suffix; ?>">
36
+ <?php foreach ($_products->getItems() as $_product): ?>
37
+ <li class="item">
38
+ <a class="product-image" href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(76) ?>" width="76" height="76" alt="<?php echo $this->stripTags($_product->getName(), null, true) ?>" /></a>
39
+ </li>
40
+ <?php endforeach; ?>
41
+ </ol>
42
+ <script type="text/javascript">decorateList('widget-new-products-<?php echo $suffix; ?>', 'none-recursive')</script>
43
+ </div>
44
+ </div>
45
+ </div>
46
+ <?php endif; ?>
app/design/frontend/default/computer_store/template/catalog/product/widget/new/column/new_names_list.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) 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 if (($_products = $this->getProductCollection()) && $_products->getSize()): ?>
28
+ <div class="widget widget-new-products">
29
+ <div class="block block-list">
30
+ <div class="block-title">
31
+ <strong><span><?php echo $this->__('New Products') ?></span></strong>
32
+ </div>
33
+ <div class="block-content">
34
+ <?php $suffix = $this->getNameInLayout(); ?>
35
+ <ol id="widget-new-products-<?php echo $suffix; ?>">
36
+ <?php foreach ($_products->getItems() as $_product): ?>
37
+ <li class="item">
38
+ <p class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>)"><?php echo $this->helper('catalog/output')->productAttribute($_product, $_product->getName() , 'name') ?></a></p>
39
+ </li>
40
+ <?php endforeach; ?>
41
+ </ol>
42
+ <script type="text/javascript">decorateList('widget-new-products-<?php echo $suffix; ?>', 'none-recursive')</script>
43
+ </div>
44
+ </div>
45
+ </div>
46
+ <?php endif; ?>
app/design/frontend/default/computer_store/template/catalog/product/widget/new/content/new_grid.phtml ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 if (($_products = $this->getProductCollection()) && $_products->getSize()): ?>
28
+ <div class="widget widget-new-products">
29
+ <div class="widget-title">
30
+ <h2><?php echo $this->__('New Products') ?></h2>
31
+ </div>
32
+ <div class="widget-products">
33
+ <?php $_columnCount = $this->getColumnCount(); ?>
34
+ <?php $i=0; foreach ($_products->getItems() as $_product): ?>
35
+ <?php if ($i++%$_columnCount==0): ?>
36
+ <ul class="products-grid">
37
+ <?php endif ?>
38
+ <li class="item<?php if(($i-1)%$_columnCount==0): ?> first<?php elseif($i%$_columnCount==0): ?> last<?php endif; ?>">
39
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(85) ?>" width="85" height="85" alt="<?php echo $this->stripTags($_product->getName(), null, true) ?>" /></a>
40
+ <h3 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>)"><?php echo $this->helper('catalog/output')->productAttribute($_product, $_product->getName() , 'name') ?></a></h3>
41
+ <?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
42
+ <?php echo $this->getPriceHtml($_product, true, '-widget-new-grid') ?>
43
+ <div class="actions">
44
+ <?php if ($_product->isSaleable()): ?>
45
+ <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>
46
+ <?php else: ?>
47
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
48
+ <?php endif; ?>
49
+ <ul class="add-to-links">
50
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
51
+ <li><a href="<?php echo $this->getAddToWishlistUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
52
+ <?php endif; ?>
53
+ <?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
54
+ <li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
55
+ <?php endif; ?>
56
+ </ul>
57
+ </div>
58
+ </li>
59
+ <?php if ($i%$_columnCount==0 || $i==count($_products)): ?>
60
+ </ul>
61
+ <?php endif ?>
62
+ <?php endforeach; ?>
63
+ </div>
64
+ </div>
65
+ <?php endif; ?>
app/design/frontend/default/computer_store/template/catalog/product/widget/new/content/new_list.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) 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 if (($_products = $this->getProductCollection()) && $_products->getSize()): ?>
28
+ <div class="widget widget-new-products">
29
+ <div class="widget-title">
30
+ <h2><?php echo $this->__('New Products') ?></h2>
31
+ </div>
32
+ <div class="widget-products">
33
+ <ol class="products-list">
34
+ <?php $i=0; foreach ($_products->getItems() as $_product): ?>
35
+ <li class="item<?php echo (++$i == count($_products))?' last':''; ?>">
36
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(85) ?>" width="85" height="85" alt="<?php echo $this->stripTags($_product->getName(), null, true) ?>" /></a>
37
+ <div class="product-shop">
38
+ <div class="f-fix">
39
+ <h3 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>)"><?php echo $this->helper('catalog/output')->productAttribute($_product, $_product->getName() , 'name') ?></a></h3>
40
+ <?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
41
+ <?php echo $this->getPriceHtml($_product, true, '-widget-new-list') ?>
42
+ <?php if ($_product->isSaleable()): ?>
43
+ <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>
44
+ <?php else: ?>
45
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
46
+ <?php endif; ?>
47
+ <ul class="add-to-links">
48
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
49
+ <li><a href="<?php echo $this->getAddToWishlistUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
50
+ <?php endif; ?>
51
+ <?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
52
+ <li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
53
+ <?php endif; ?>
54
+ </ul>
55
+ </div>
56
+ </div>
57
+ </li>
58
+ <?php endforeach; ?>
59
+ </ol>
60
+ </div>
61
+ </div>
62
+ <?php endif; ?>
app/design/frontend/default/computer_store/template/catalogsearch/form.mini.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) 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
+ <form id="search_mini_form" action="<?php echo $this->helper('catalogsearch')->getResultUrl() ?>" method="get">
28
+ <div class="form-search">
29
+
30
+ <input id="search" type="text" name="<?php echo $this->helper('catalogsearch')->getQueryParamName() ?>" value="<?php echo $this->helper('catalogsearch')->getEscapedQueryText() ?>" class="input-text" />
31
+ <button type="submit" title="<?php echo $this->__('Search') ?>" class="button"><span><span><?php echo $this->__('') ?></span></span></button>
32
+ <div id="search_autocomplete" class="search-autocomplete"></div>
33
+ <script type="text/javascript">
34
+ //<![CDATA[
35
+ var searchForm = new Varien.searchForm('search_mini_form', 'search', '<?php echo $this->__('Search entire store here...') ?>');
36
+ searchForm.initAutocomplete('<?php echo $this->helper('catalogsearch')->getSuggestUrl() ?>', 'search_autocomplete');
37
+ //]]>
38
+ </script>
39
+ </div>
40
+ </form>
app/design/frontend/default/computer_store/template/checkout/cart.phtml ADDED
@@ -0,0 +1,138 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ * Shopping cart template
30
+ *
31
+ * @see Mage_Checkout_Block_Cart
32
+ */
33
+ ?>
34
+ <div class="cart">
35
+ <div class="page-title title-buttons">
36
+ <h1><?php echo $this->__('Shopping Cart') ?></h1>
37
+ <?php if(!$this->hasError()): ?>
38
+ <ul class="checkout-types">
39
+ <?php foreach ($this->getMethods('top_methods') as $method): ?>
40
+ <?php if ($methodHtml = $this->getMethodHtml($method)): ?>
41
+ <li><?php echo $methodHtml; ?></li>
42
+ <?php endif; ?>
43
+ <?php endforeach; ?>
44
+ </ul>
45
+ <?php endif; ?>
46
+ </div>
47
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
48
+ <?php echo $this->getChildHtml('form_before') ?>
49
+ <form action="<?php echo $this->getUrl('checkout/cart/updatePost') ?>" method="post">
50
+ <fieldset>
51
+ <table id="shopping-cart-table" class="data-table cart-table">
52
+ <col width="1" />
53
+ <col />
54
+ <col width="1" />
55
+ <?php if ($this->helper('wishlist')->isAllowInCart()) : ?>
56
+ <col width="1" />
57
+ <?php endif ?>
58
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
59
+ <col width="1" />
60
+ <?php endif; ?>
61
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
62
+ <col width="1" />
63
+ <?php endif; ?>
64
+ <col width="1" />
65
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
66
+ <col width="1" />
67
+ <?php endif; ?>
68
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
69
+ <col width="1" />
70
+ <?php endif; ?>
71
+ <col width="1" />
72
+
73
+ <?php $mergedCells = ($this->helper('tax')->displayCartBothPrices() ? 2 : 1); ?>
74
+ <thead>
75
+ <tr>
76
+ <th rowspan="<?php echo $mergedCells; ?>">&nbsp;</th>
77
+ <th rowspan="<?php echo $mergedCells; ?>"><span class="nobr"><?php echo $this->__('Product Name') ?></span></th>
78
+ <th rowspan="<?php echo $mergedCells; ?>"><span class="nobr"><?php echo $this->__('Edit') ?></span></th>
79
+ <?php if ($this->helper('wishlist')->isAllowInCart()) : ?>
80
+ <th rowspan="<?php echo $mergedCells; ?>" class="a-center"><span class="nobr"><?php echo $this->__('Move to Wishlist') ?></span></th>
81
+ <?php endif ?>
82
+ <th class="a-center" colspan="<?php echo $mergedCells; ?>"><span class="nobr"><?php echo $this->__('Unit Price') ?></span></th>
83
+ <th rowspan="<?php echo $mergedCells; ?>" class="a-center"><?php echo $this->__('Qty') ?></th>
84
+ <th class="a-center" colspan="<?php echo $mergedCells; ?>"><?php echo $this->__('Subtotal') ?></th>
85
+ <th rowspan="<?php echo $mergedCells; ?>" class="a-center">&nbsp;</th>
86
+ </tr>
87
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
88
+ <tr>
89
+ <th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
90
+ <th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
91
+ <th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
92
+ <th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
93
+ </tr>
94
+ <?php endif; ?>
95
+ </thead>
96
+ <tfoot>
97
+ <tr>
98
+ <td colspan="50" class="a-right">
99
+ <?php if($this->getContinueShoppingUrl()): ?>
100
+ <button type="button" title="<?php echo $this->__('Continue Shopping') ?>" class="button btn-continue" onclick="setLocation('<?php echo $this->getContinueShoppingUrl() ?>')"><span><span><?php echo $this->__('Continue Shopping') ?></span></span></button>
101
+ <?php endif; ?>
102
+ <button type="submit" title="<?php echo $this->__('Update Shopping Cart') ?>" class="button btn-update"><span><span><?php echo $this->__('Update Shopping Cart') ?></span></span></button>
103
+ </td>
104
+ </tr>
105
+ </tfoot>
106
+ <tbody>
107
+ <?php foreach($this->getItems() as $_item): ?>
108
+ <?php echo $this->getItemHtml($_item) ?>
109
+ <?php endforeach ?>
110
+ </tbody>
111
+ </table>
112
+ <script type="text/javascript">decorateTable('shopping-cart-table')</script>
113
+ </fieldset>
114
+ </form>
115
+ <div class="cart-collaterals">
116
+ <div class="col2-set">
117
+ <div class="col-1">
118
+ <?php echo $this->getChildHtml('crosssell') ?>
119
+ </div>
120
+ <div class="col-2">
121
+ <?php echo $this->getChildHtml('coupon') ?>
122
+ <?php if (!$this->getIsVirtual()): echo $this->getChildHtml('shipping'); endif; ?>
123
+ </div>
124
+ </div>
125
+ <div class="totals">
126
+ <?php echo $this->getChildHtml('totals'); ?>
127
+ <?php if(!$this->hasError()): ?>
128
+ <ul class="checkout-types">
129
+ <?php foreach ($this->getMethods('methods') as $method): ?>
130
+ <?php if ($methodHtml = $this->getMethodHtml($method)): ?>
131
+ <li><?php echo $methodHtml; ?></li>
132
+ <?php endif; ?>
133
+ <?php endforeach; ?>
134
+ </ul>
135
+ <?php endif; ?>
136
+ </div>
137
+ </div>
138
+ </div>
app/design/frontend/default/computer_store/template/checkout/cart/coupon.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) 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
+ <form id="discount-coupon-form" action="<?php echo $this->getUrl('checkout/cart/couponPost') ?>" method="post">
28
+ <div class="discount">
29
+ <h2><?php echo $this->__('Discount Codes') ?></h2>
30
+ <div class="discount-form">
31
+ <label for="coupon_code"><?php echo $this->__('Enter your coupon code if you have one.') ?></label>
32
+ <input type="hidden" name="remove" id="remove-coupone" value="0" />
33
+ <div class="input-box">
34
+ <input class="input-text" id="coupon_code" name="coupon_code" value="<?php echo $this->htmlEscape($this->getCouponCode()) ?>" />
35
+ </div>
36
+ <div class="buttons-set">
37
+ <button type="button" title="<?php echo $this->__('Apply Coupon') ?>" class="button" onclick="discountForm.submit(false)" value="<?php echo $this->__('Apply Coupon') ?>"><span><span><?php echo $this->__('Apply Coupon') ?></span></span></button>
38
+ <?php if(strlen($this->getCouponCode())): ?>
39
+ &nbsp; <button type="button" title="<?php echo $this->__('Cancel Coupon') ?>" class="button" onclick="discountForm.submit(true)" value="<?php echo $this->__('Cancel Coupon') ?>"><span><span><?php echo $this->__('Cancel Coupon') ?></span></span></button>
40
+ <?php endif;?>
41
+ </div>
42
+ </div>
43
+ </div>
44
+ </form>
45
+ <script type="text/javascript">
46
+ //<![CDATA[
47
+ var discountForm = new VarienForm('discount-coupon-form');
48
+ discountForm.submit = function (isRemove) {
49
+ if (isRemove) {
50
+ $('coupon_code').removeClassName('required-entry');
51
+ $('remove-coupone').value = "1";
52
+ } else {
53
+ $('coupon_code').addClassName('required-entry');
54
+ $('remove-coupone').value = "0";
55
+ }
56
+ return VarienForm.prototype.submit.bind(discountForm)();
57
+ }
58
+ //]]>
59
+ </script>
app/design/frontend/default/computer_store/template/checkout/cart/crosssell.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) 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
+ * Cart cross sell items template
30
+ *
31
+ * @see Mage_Checkout_Block_Cart_Crosssell
32
+ */
33
+ ?>
34
+ <?php if($this->getItemCount()): ?>
35
+ <div class="crosssell">
36
+ <h2><?php echo $this->__('Based on your selection, you may be interested in the following items:') ?></h2>
37
+ <ul id="crosssell-products-list">
38
+ <?php foreach ($this->getItems() as $_item): ?>
39
+ <li class="item">
40
+ <a class="product-image" href="<?php echo $_item->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_item->getName()) ?>"><img src="<?php echo $this->helper('catalog/image')->init($_item, 'thumbnail')->resize(75); ?>" width="75" height="75" alt="<?php echo $this->htmlEscape($_item->getName()) ?>" /></a>
41
+ <div class="product-details">
42
+ <h3 class="product-name"><a href="<?php echo $_item->getProductUrl() ?>"><?php echo $this->htmlEscape($_item->getName()) ?></a></h3>
43
+ <?php echo $this->getPriceHtml($_item, true) ?>
44
+ <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>
45
+
46
+ </div>
47
+ </li>
48
+ <?php endforeach; ?>
49
+ </ul>
50
+ <script type="text/javascript">decorateList('crosssell-products-list', 'none-recursive')</script>
51
+ </div>
52
+ <?php endif; ?>
app/design/frontend/default/computer_store/template/checkout/cart/item/configure/updatecart.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) 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
+
28
+ <?php $_product = $this->getProduct(); ?>
29
+ <?php $buttonTitle = $this->__('Update Cart'); ?>
30
+ <?php if ($_product->isSaleable()): ?>
31
+ <div class="add-to-cart">
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
+ <button type="button" title="<?php echo $buttonTitle ?>" class="button btn-cart" onclick="productAddToCartForm.submit(this)"><span><span><?php echo $buttonTitle ?></span></span></button>
37
+ <?php echo $this->getChildHtml('', true, true) ?>
38
+ </div>
39
+ <?php endif; ?>
app/design/frontend/default/computer_store/template/checkout/cart/item/default.phtml ADDED
@@ -0,0 +1,277 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ $_item = $this->getItem();
29
+ $isVisibleProduct = $_item->getProduct()->isVisibleInSiteVisibility();
30
+ $canApplyMsrp = Mage::helper('catalog')->canApplyMsrp($_item->getProduct(), Mage_Catalog_Model_Product_Attribute_Source_Msrp_Type::TYPE_BEFORE_ORDER_CONFIRM);
31
+ ?>
32
+ <tr>
33
+ <td><?php if ($this->hasProductUrl()):?><a href="<?php echo $this->getProductUrl() ?>" title="<?php echo $this->htmlEscape($this->getProductName()) ?>" class="product-image"><?php endif;?><img src="<?php echo $this->getProductThumbnail()->resize(75); ?>" width="75" height="75" alt="<?php echo $this->htmlEscape($this->getProductName()) ?>" /><?php if ($this->hasProductUrl()):?></a><?php endif;?></td>
34
+ <td>
35
+ <h2 class="product-name">
36
+ <?php if ($this->hasProductUrl()):?>
37
+ <a href="<?php echo $this->getProductUrl() ?>"><?php echo $this->htmlEscape($this->getProductName()) ?></a>
38
+ <?php else: ?>
39
+ <?php echo $this->htmlEscape($this->getProductName()) ?>
40
+ <?php endif; ?>
41
+ </h2>
42
+ <?php if ($_options = $this->getOptionList()):?>
43
+ <dl class="item-options">
44
+ <?php foreach ($_options as $_option) : ?>
45
+ <?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
46
+ <dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
47
+ <dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>><?php echo $_formatedOptionValue['value'] ?>
48
+ <?php if (isset($_formatedOptionValue['full_view'])): ?>
49
+ <div class="truncated_full_value">
50
+ <dl class="item-options">
51
+ <dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
52
+ <dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
53
+ </dl>
54
+ </div>
55
+ <?php endif; ?>
56
+ </dd>
57
+ <?php endforeach; ?>
58
+ </dl>
59
+ <?php endif;?>
60
+ <?php if ($messages = $this->getMessages()): ?>
61
+ <?php foreach ($messages as $message): ?>
62
+ <p class="item-msg <?php echo $message['type'] ?>">* <?php echo $message['text'] ?></p>
63
+ <?php endforeach; ?>
64
+ <?php endif; ?>
65
+ <?php if ($addtInfoBlock = $this->getProductAdditionalInformationBlock()):?>
66
+ <?php echo $addtInfoBlock->setItem($_item)->toHtml() ?>
67
+ <?php endif;?>
68
+ </td>
69
+ <td class="a-center">
70
+ <?php if ($isVisibleProduct): ?>
71
+ <a href="<?php echo $this->getConfigureUrl() ?>" title="<?php echo $this->__('Edit item parameters') ?>"><?php echo $this->__('Edit') ?></a>
72
+ <?php endif ?>
73
+ </td>
74
+ <?php if ($this->helper('wishlist')->isAllowInCart()) : ?>
75
+ <td class="a-center">
76
+ <?php if ($isVisibleProduct): ?>
77
+ <input type="checkbox" value="1" name="cart[<?php echo $_item->getId() ?>][wishlist]" title="<?php echo $this->__('Move to Wishlist') ?>" class="checkbox" />
78
+ <?php endif ?>
79
+ </td>
80
+ <?php endif ?>
81
+
82
+ <?php if ($canApplyMsrp): ?>
83
+ <td class="a-right"<?php if ($this->helper('tax')->displayCartBothPrices()): ?> colspan="2"<?php endif; ?>>
84
+ <span class="cart-price">
85
+ <span class="cart-msrp-unit"><?php echo $this->__('See price before order confirmation.'); ?></span>
86
+ <?php $helpLinkId = 'cart-msrp-help-' . $_item->getId(); ?>
87
+ <a id="<?php echo $helpLinkId ?>" href="#" class="map-help-link"><?php echo $this->__("What's this?"); ?></a>
88
+ <script type="text/javascript">
89
+ Catalog.Map.addHelpLink($('<?php echo $helpLinkId ?>'), "<?php echo $this->__("What's this?") ?>");
90
+ </script>
91
+ </span>
92
+ </td>
93
+ <?php else: ?>
94
+
95
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
96
+ <td class="a-right">
97
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
98
+ <span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
99
+ <?php else: ?>
100
+ <span class="cart-price">
101
+ <?php endif; ?>
102
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
103
+ <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?>
104
+ <?php else: ?>
105
+ <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
106
+ <?php endif; ?>
107
+
108
+ </span>
109
+
110
+
111
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
112
+
113
+ <div class="cart-tax-info" id="eunit-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
114
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
115
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
116
+ <span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span>
117
+ <?php endforeach; ?>
118
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
119
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
120
+ <span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span>
121
+ <?php endforeach; ?>
122
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
123
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
124
+ <span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span>
125
+ <?php endforeach; ?>
126
+ <?php endif; ?>
127
+ </div>
128
+
129
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
130
+ <div class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
131
+ <span class="weee"><?php echo Mage::helper('weee')->__('Total'); ?>: <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?></span>
132
+ </div>
133
+ <?php endif; ?>
134
+ <?php endif; ?>
135
+ </td>
136
+ <?php endif; ?>
137
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
138
+ <td>
139
+ <?php $_incl = $this->helper('checkout')->getPriceInclTax($_item); ?>
140
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
141
+ <span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
142
+ <?php else: ?>
143
+ <span class="cart-price">
144
+ <?php endif; ?>
145
+
146
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
147
+ <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedAmount()); ?>
148
+ <?php else: ?>
149
+ <?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxDisposition()) ?>
150
+ <?php endif; ?>
151
+
152
+ </span>
153
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
154
+
155
+ <div class="cart-tax-info" id="unit-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
156
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
157
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
158
+ <span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span>
159
+ <?php endforeach; ?>
160
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
161
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
162
+ <span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span>
163
+ <?php endforeach; ?>
164
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
165
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
166
+ <span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span>
167
+ <?php endforeach; ?>
168
+ <?php endif; ?>
169
+ </div>
170
+
171
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
172
+ <div class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
173
+ <span class="weee"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>: <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedAmount()); ?></span>
174
+ </div>
175
+ <?php endif; ?>
176
+ <?php endif; ?>
177
+ </td>
178
+ <?php endif; ?>
179
+ <?php endif; ?>
180
+ <td class="a-center">
181
+ <input name="cart[<?php echo $_item->getId() ?>][qty]" value="<?php echo $this->getQty() ?>" size="4" title="<?php echo $this->__('Qty') ?>" class="input-text qty" maxlength="12" />
182
+ </td>
183
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
184
+ <td class="a-right">
185
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
186
+ <span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
187
+ <?php else: ?>
188
+ <span class="cart-price">
189
+ <?php endif; ?>
190
+
191
+ <?php if ($canApplyMsrp): ?>
192
+ <span class="cart-msrp-subtotal">--</span>
193
+ <?php else: ?>
194
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
195
+ <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?>
196
+ <?php else: ?>
197
+ <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?>
198
+ <?php endif; ?>
199
+ <?php endif; ?>
200
+
201
+ </span>
202
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
203
+
204
+ <div class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
205
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
206
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
207
+ <span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span>
208
+ <?php endforeach; ?>
209
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
210
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
211
+ <span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span>
212
+ <?php endforeach; ?>
213
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
214
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
215
+ <span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span>
216
+ <?php endforeach; ?>
217
+ <?php endif; ?>
218
+ </div>
219
+
220
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
221
+ <div class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
222
+ <span class="weee"><?php echo Mage::helper('weee')->__('Total'); ?>: <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?></span>
223
+ </div>
224
+ <?php endif; ?>
225
+ <?php endif; ?>
226
+ </td>
227
+ <?php endif; ?>
228
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
229
+ <td>
230
+ <?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
231
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
232
+ <span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
233
+ <?php else: ?>
234
+ <span class="cart-price">
235
+ <?php endif; ?>
236
+
237
+ <?php if ($canApplyMsrp): ?>
238
+ <span class="cart-msrp-subtotal">--</span>
239
+ <?php else: ?>
240
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
241
+ <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?>
242
+ <?php else: ?>
243
+ <?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxRowDisposition()) ?>
244
+ <?php endif; ?>
245
+ <?php endif; ?>
246
+
247
+ </span>
248
+
249
+
250
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
251
+
252
+ <div class="cart-tax-info" id="subtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
253
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
254
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
255
+ <span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span>
256
+ <?php endforeach; ?>
257
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
258
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
259
+ <span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span>
260
+ <?php endforeach; ?>
261
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
262
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
263
+ <span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span>
264
+ <?php endforeach; ?>
265
+ <?php endif; ?>
266
+ </div>
267
+
268
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
269
+ <div class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
270
+ <span class="weee"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>: <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?></span>
271
+ </div>
272
+ <?php endif; ?>
273
+ <?php endif; ?>
274
+ </td>
275
+ <?php endif; ?>
276
+ <td class="a-center"><a href="<?php echo $this->getDeleteUrl()?>" title="<?php echo $this->__('Remove item')?>" class="btn-remove btn-remove2"><?php echo $this->__('Remove item')?></a></td>
277
+ </tr>
app/design/frontend/default/computer_store/template/checkout/cart/noItems.phtml ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ <div class="page-title">
28
+ <h1><?php echo $this->__('Shopping Cart is Empty') ?></h1>
29
+ </div>
30
+ <div class="cart-empty">
31
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
32
+ <p><?php echo $this->__('You have no items in your shopping cart.') ?></p>
33
+ <p><?php echo $this->__('Click <a href="%s">here</a> to continue shopping.', $this->getContinueShoppingUrl()) ?></p>
34
+ </div>
app/design/frontend/default/computer_store/template/checkout/cart/render/default.phtml ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 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
+ /**
28
+ * @deprecated after 1.4.0.0-alpha3
29
+ */
30
+ ?>
31
+ <?php $_item = $this->getItem() ?>
32
+ <tr>
33
+ <td class="a-center"><a href="<?php echo $this->getItemDeleteUrl($_item) ?>" title="<?php echo $this->__('Remove Item')?>" class="btn-remove2"><?php echo $this->__('Remove Item')?></a></td>
34
+ <td><a href="<?php echo $this->getItemUrl($_item) ?>" title="<?php echo $this->htmlEscape($this->getItemName($_item)) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($this->getItemProductForThumbnail($_item), 'thumbnail')->resize(75); ?>" width="75" alt="<?php echo $this->htmlEscape($this->getItemName($_item)) ?>" /></a></td>
35
+ <td>
36
+ <h3 class="product-name"><a href="<?php echo $this->getItemUrl($_item) ?>"><?php echo $this->getItemName($_item) ?></a></h3>
37
+ <?php echo $this->getItemDescription($_item) ?>
38
+ <?php if($_item->getMessage()): ?>
39
+ <p class="item-msg <?php if($_item->getHasError()): ?>error<?php else: ?>notice<?php endif; ?>">* <?php echo $_item->getMessage() ?></p>
40
+ <?php endif; ?>
41
+ </td>
42
+ <?php if ($this->helper('wishlist')->isAllowInCart()) : ?>
43
+ <td class="a-center">
44
+ <input type="checkbox" value="1" name="cart[<?php echo $_item->getId() ?>][wishlist]" class="checkbox" />
45
+ </td>
46
+ <?php endif ?>
47
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
48
+ <td class="a-right">
49
+ <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
50
+ </td>
51
+ <?php endif; ?>
52
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
53
+ <td class="a-right">
54
+ <?php echo $this->helper('checkout')->formatPrice($this->helper('checkout')->getPriceInclTax($_item)); ?>
55
+ </td>
56
+ <?php endif; ?>
57
+ <td class="a-center">
58
+ <input name="cart[<?php echo $_item->getId() ?>][qty]" value="<?php echo $this->getItemQty($_item) ?>" size="4" class="input-text qty" maxlength="12" />
59
+ </td>
60
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
61
+ <td class="a-right">
62
+ <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?>
63
+ </td>
64
+ <?php endif; ?>
65
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
66
+ <td class="a-right">
67
+ <?php echo $this->helper('checkout')->formatPrice($this->helper('checkout')->getSubtotalInclTax($_item)); ?>
68
+ </td>
69
+ <?php endif; ?>
70
+ </tr>
app/design/frontend/default/computer_store/template/checkout/cart/render/simple.phtml ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 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
+ /**
28
+ * @deprecated after 1.4.0.0-alpha3
29
+ */
30
+ ?>
31
+ <?php $_item = $this->getItem() ?>
32
+ <tr>
33
+ <td class="a-center"><a href="<?php echo $this->getItemDeleteUrl($_item) ?>" title="<?php echo $this->__('Remove Item')?>" class="btn-remove2"><?php echo $this->__('Remove Item')?></a></td>
34
+ <td><a href="<?php echo $this->getItemUrl($_item) ?>" title="<?php echo $this->htmlEscape($this->getItemName($_item)) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($this->getItemProductForThumbnail($_item), 'thumbnail')->resize(75); ?>" width="75" height="75" alt="<?php echo $this->htmlEscape($this->getItemName($_item)) ?>" /></a></td>
35
+ <td>
36
+ <h3 class="product-name"><a href="<?php echo $this->getItemUrl($_item) ?>"><?php echo $this->getItemName($_item) ?></a></h3>
37
+ <?php echo $this->getItemDescription($_item) ?>
38
+ <?php if($_item->getMessage()): ?>
39
+ <p class="item-msg <?php if($_item->getHasError()): ?>error<?php else: ?>notice<?php endif; ?>">* <?php echo $_item->getMessage() ?></p>
40
+ <?php endif; ?>
41
+ </td>
42
+ <?php if ($this->helper('wishlist')->isAllowInCart()) : ?>
43
+ <td class="a-center">
44
+ <input type="checkbox" value="1" name="cart[<?php echo $_item->getId() ?>][wishlist]" class="checkbox" />
45
+ </td>
46
+ <?php endif ?>
47
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
48
+ <td class="a-right">
49
+ <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
50
+ </td>
51
+ <?php endif; ?>
52
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
53
+ <td class="a-right">
54
+ <?php echo $this->helper('checkout')->formatPrice($this->helper('checkout')->getPriceInclTax($_item)); ?>
55
+ </td>
56
+ <?php endif; ?>
57
+ <td class="a-center">
58
+ <input name="cart[<?php echo $_item->getId() ?>][qty]" value="<?php echo $this->getItemQty($_item) ?>" size="4" class="input-text qty" maxlength="12" />
59
+ </td>
60
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
61
+ <td class="a-right">
62
+ <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?>
63
+ </td>
64
+ <?php endif; ?>
65
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
66
+ <td class="a-right">
67
+ <?php echo $this->helper('checkout')->formatPrice($this->helper('checkout')->getSubtotalInclTax($_item)); ?>
68
+ </td>
69
+ <?php endif; ?>
70
+ </tr>
app/design/frontend/default/computer_store/template/checkout/cart/shipping.phtml ADDED
@@ -0,0 +1,143 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ * @see Mage_Checkout_Block_Cart_Shipping
30
+ */
31
+ ?>
32
+ <div class="shipping">
33
+ <h2><?php echo $this->__('Estimate Shipping and Tax') ?></h2>
34
+ <div class="shipping-form">
35
+ <form action="<?php echo $this->getUrl('checkout/cart/estimatePost') ?>" method="post" id="shipping-zip-form">
36
+ <p><?php echo $this->__('Enter your destination to get a shipping estimate.') ?></p>
37
+ <ul class="form-list">
38
+ <li>
39
+ <label for="country" class="required"><em>*</em><?php echo $this->__('Country') ?></label>
40
+ <div class="input-box">
41
+ <?php echo Mage::getBlockSingleton('directory/data')->getCountryHtmlSelect($this->getEstimateCountryId()) ?>
42
+ </div>
43
+ </li>
44
+ <?php //if($this->getStateActive()): ?>
45
+ <li>
46
+ <label for="region_id"<?php if ($this->isStateProvinceRequired()) echo ' class="required"' ?>><?php if ($this->isStateProvinceRequired()) echo '<em>*</em>' ?><?php echo $this->__('State/Province') ?></label>
47
+ <div class="input-box">
48
+ <select id="region_id" name="region_id" title="<?php echo $this->__('State/Province') ?>" style="display:none;"<?php echo ($this->isStateProvinceRequired() ? ' class="validate-select"' : '') ?>>
49
+ <option value=""><?php echo $this->__('Please select region, state or province') ?></option>
50
+ </select>
51
+ <script type="text/javascript">
52
+ //<![CDATA[
53
+ $('region_id').setAttribute('defaultValue', "<?php echo $this->getEstimateRegionId() ?>");
54
+ //]]>
55
+ </script>
56
+ <input type="text" id="region" name="region" value="<?php echo $this->htmlEscape($this->getEstimateRegion()) ?>" title="<?php echo $this->__('State/Province') ?>" class="input-text" style="display:none;" />
57
+ </div>
58
+ </li>
59
+ <?php //endif; ?>
60
+ <?php if($this->getCityActive()): ?>
61
+ <li>
62
+ <label for="city"<?php if ($this->isCityRequired()) echo ' class="required"' ?>><?php if ($this->isCityRequired()) echo '<em>*</em>' ?><?php echo $this->__('City') ?></label>
63
+ <div class="input-box">
64
+ <input class="input-text<?php if ($this->isCityRequired()):?> required-entry<?php endif;?>" id="city" type="text" name="estimate_city" value="<?php echo $this->htmlEscape($this->getEstimateCity()) ?>" />
65
+ </div>
66
+ </li>
67
+ <?php endif; ?>
68
+ <li>
69
+ <label for="postcode"<?php if ($this->isZipCodeRequired()) echo ' class="required"' ?>><?php if ($this->isZipCodeRequired()) echo '<em>*</em>' ?><?php echo $this->__('Zip/Postal Code') ?></label>
70
+ <div class="input-box">
71
+ <input class="input-text validate-postcode<?php if ($this->isZipCodeRequired()):?> required-entry<?php endif;?>" type="text" id="postcode" name="estimate_postcode" value="<?php echo $this->htmlEscape($this->getEstimatePostcode()) ?>" />
72
+ </div>
73
+ </li>
74
+ </ul>
75
+ <div class="buttons-set">
76
+ <button type="button" title="<?php echo $this->__('Get a Quote') ?>" onclick="coShippingMethodForm.submit()" class="button"><span><span><?php echo $this->__('Get a Quote') ?></span></span></button>
77
+ </div>
78
+ </form>
79
+ <script type="text/javascript">
80
+ //<![CDATA[
81
+ new RegionUpdater('country', 'region', 'region_id', <?php echo $this->helper('directory')->getRegionJson() ?>);
82
+ //]]>
83
+ </script>
84
+
85
+ <?php if (($_shippingRateGroups = $this->getEstimateRates())): ?>
86
+ <form id="co-shipping-method-form" action="<?php echo $this->getUrl('checkout/cart/estimateUpdatePost') ?>">
87
+ <dl class="sp-methods">
88
+ <?php foreach ($_shippingRateGroups as $code => $_rates): ?>
89
+ <dt><?php echo $this->getCarrierName($code) ?></dt>
90
+ <dd>
91
+ <ul>
92
+ <?php foreach ($_rates as $_rate): ?>
93
+ <li<?php if ($_rate->getErrorMessage()) echo ' class="error-msg"';?>>
94
+ <?php if ($_rate->getErrorMessage()): ?>
95
+ <?php echo $_rate->getErrorMessage() ?>
96
+ <?php else: ?>
97
+ <input name="estimate_method" type="radio" value="<?php echo $this->htmlEscape($_rate->getCode()) ?>" id="s_method_<?php echo $_rate->getCode() ?>"<?php if($_rate->getCode()===$this->getAddressShippingMethod()) echo ' checked="checked"' ?> class="radio" />
98
+ <label for="s_method_<?php echo $_rate->getCode() ?>"><?php echo $_rate->getMethodTitle() ?>
99
+ <?php $_excl = $this->getShippingPrice($_rate->getPrice(), $this->helper('tax')->displayShippingPriceIncludingTax()); ?>
100
+ <?php $_incl = $this->getShippingPrice($_rate->getPrice(), true); ?>
101
+ <?php echo $_excl; ?>
102
+ <?php if ($this->helper('tax')->displayShippingBothPrices() && $_incl != $_excl): ?>
103
+ (<?php echo $this->__('Incl. Tax'); ?> <?php echo $_incl; ?>)
104
+ <?php endif; ?>
105
+ </label>
106
+ <?php endif ?>
107
+ </li>
108
+ <?php endforeach; ?>
109
+ </ul>
110
+ </dd>
111
+ <?php endforeach; ?>
112
+ </dl>
113
+ <div class="buttons-set">
114
+ <button type="submit" title="<?php echo $this->__('Update Total') ?>" class="button" name="do" value="<?php echo $this->__('Update Total') ?>"><span><span><?php echo $this->__('Update Total') ?></span></span></button>
115
+ </div>
116
+ </form>
117
+ <?php endif; ?>
118
+ <script type="text/javascript">
119
+ //<![CDATA[
120
+ var coShippingMethodForm = new VarienForm('shipping-zip-form');
121
+ var countriesWithOptionalZip = <?php echo $this->helper('directory')->getCountriesWithOptionalZip(true) ?>;
122
+
123
+ coShippingMethodForm.submit = function () {
124
+ var country = $F('country');
125
+ var optionalZip = false;
126
+
127
+ for (i=0; i < countriesWithOptionalZip.length; i++) {
128
+ if (countriesWithOptionalZip[i] == country) {
129
+ optionalZip = true;
130
+ }
131
+ }
132
+ if (optionalZip) {
133
+ $('postcode').removeClassName('required-entry');
134
+ }
135
+ else {
136
+ $('postcode').addClassName('required-entry');
137
+ }
138
+ return VarienForm.prototype.submit.bind(coShippingMethodForm)();
139
+ }
140
+ //]]>
141
+ </script>
142
+ </div>
143
+ </div>
app/design/frontend/default/computer_store/template/checkout/cart/sidebar.phtml ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ /**
28
+ * Shoping cart sidebar
29
+ *
30
+ * @see Mage_Checkout_Block_Cart_Sidebar
31
+ */
32
+
33
+ ?>
34
+ <?php if ($this->getIsNeedToDisplaySideBar()):?>
35
+ <div class="block block-cart">
36
+ <?php $_cartQty = $this->getSummaryCount() ?>
37
+ <div class="block-title">
38
+ <strong><span><?php echo $this->__('My Cart') ?></span></strong>
39
+ </div>
40
+ <div class="sidebarblock-content">
41
+ <div class="block-content">
42
+ <?php if ($_cartQty>0): ?>
43
+ <div class="summary">
44
+ <?php if ($_cartQty==1): ?>
45
+ <p class="amount"><?php echo $this->__('There is <a href="%s">1 item</a> in your cart.', $this->getUrl('checkout/cart')) ?></p>
46
+ <?php else: ?>
47
+ <p class="amount"><?php echo $this->__('There are <a href="%s">%s items</a> in your cart.', $this->getUrl('checkout/cart'), $_cartQty) ?></p>
48
+ <?php endif ?>
49
+ <p class="subtotal">
50
+ <span class="label"><?php echo $this->__('Cart Subtotal:') ?></span> <?php echo Mage::helper('checkout')->formatPrice($this->getSubtotal()) ?>
51
+ <?php if ($_subtotalInclTax = $this->getSubtotalInclTax()): ?>
52
+ <br />(<?php echo Mage::helper('checkout')->formatPrice($_subtotalInclTax) ?> <?php echo Mage::helper('tax')->getIncExcText(true) ?>)
53
+ <?php endif; ?>
54
+ </p>
55
+ </div>
56
+ <?php endif ?>
57
+ <?php if($_cartQty && $this->isPossibleOnepageCheckout()): ?>
58
+ <div class="actions">
59
+ <?php echo $this->getChildHtml('extra_actions') ?>
60
+ <button type="button" title="<?php echo $this->__('Checkout') ?>" class="button" onclick="setLocation('<?php echo $this->getCheckoutUrl() ?>')"><span><span><?php echo $this->__('Checkout') ?></span></span></button>
61
+ </div>
62
+ <?php endif ?>
63
+ <?php $_items = $this->getRecentItems() ?>
64
+ <?php if(count($_items)): ?>
65
+ <p class="block-subtitle"><?php echo $this->__('Recently added item(s)') ?></p>
66
+ <ol id="cart-sidebar" class="mini-products-list">
67
+ <?php foreach($_items as $_item): ?>
68
+ <?php echo $this->getItemHtml($_item) ?>
69
+ <?php endforeach; ?>
70
+ </ol>
71
+ <script type="text/javascript">decorateList('cart-sidebar', 'none-recursive')</script>
72
+ <?php else: ?>
73
+ <p class="empty"><?php echo $this->__('You have no items in your shopping cart.') ?></p>
74
+ <?php endif ?>
75
+ </div>
76
+ </div>
77
+ <div class="bot-site">
78
+ <div class="right-corner">
79
+ <div class="stretched-layer"> </div>
80
+ </div>
81
+ </div>
82
+ </div>
83
+ <?php endif;?>
app/design/frontend/default/computer_store/template/checkout/cart/sidebar/default.phtml ADDED
@@ -0,0 +1,145 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ $_item = $this->getItem();
29
+ $isVisibleProduct = $_item->getProduct()->isVisibleInSiteVisibility();
30
+ $canApplyMsrp = Mage::helper('catalog')->canApplyMsrp($_item->getProduct(), Mage_Catalog_Model_Product_Attribute_Source_Msrp_Type::TYPE_BEFORE_ORDER_CONFIRM);
31
+ ?>
32
+ <li class="item">
33
+ <?php if ($this->hasProductUrl()): ?>
34
+ <a href="<?php echo $this->getProductUrl()?>" title="<?php echo $this->htmlEscape($this->getProductName()) ?>" class="product-image"><img src="<?php echo $this->getProductThumbnail()->resize(50, 50)->setWatermarkSize('30x10'); ?>" width="50" height="50" alt="<?php echo $this->htmlEscape($this->getProductName()) ?>" /></a>
35
+ <?php else: ?>
36
+ <span class="product-image"><img src="<?php echo $this->getProductThumbnail()->resize(50, 50)->setWatermarkSize('30x10'); ?>" width="50" height="50" alt="<?php echo $this->htmlEscape($this->getProductName()) ?>" /></span>
37
+ <?php endif; ?>
38
+ <div class="product-details">
39
+ <a href="<?php echo $this->getDeleteUrl() ?>" title="<?php echo $this->__('Remove This Item') ?>" onclick="return confirm('<?php echo $this->__('Are you sure you would like to remove this item from the shopping cart?') ?>');" class="btn-remove"><?php echo $this->__('Remove This Item') ?></a>
40
+ <?php if ($isVisibleProduct): ?>
41
+ <a href="<?php echo $this->getConfigureUrl() ?>" title="<?php echo $this->__('Edit item') ?>" class="btn-edit"><?php echo $this->__('Edit item')?></a>
42
+ <?php endif ?>
43
+ <p class="product-name"><?php if ($this->hasProductUrl()): ?><a href="<?php echo $this->getProductUrl() ?>"><?php endif; ?><?php echo $this->htmlEscape($this->getProductName()) ?><?php if ($this->hasProductUrl()): ?></a><?php endif; ?></p>
44
+ <strong><?php echo $this->getQty() ?></strong> x
45
+
46
+ <?php if ($canApplyMsrp): ?>
47
+
48
+ <span class="map-cart-sidebar-item"><?php echo $this->__('See price before order confirmation.'); ?></span>
49
+
50
+ <?php else: ?>
51
+
52
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
53
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
54
+ <?php echo $this->__('Excl. Tax'); ?>:
55
+ <?php endif; ?>
56
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales')): ?>
57
+ <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?>
58
+ <?php else: ?>
59
+ <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
60
+ <?php endif; ?>
61
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
62
+ <br />
63
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales')): ?>
64
+ <small>
65
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
66
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
67
+ <?php endforeach; ?>
68
+ </small>
69
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales')): ?>
70
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
71
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
72
+ <?php endforeach; ?>
73
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales')): ?>
74
+ <small>
75
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
76
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
77
+ <?php endforeach; ?>
78
+ </small>
79
+ <?php endif; ?>
80
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales')): ?>
81
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?></span>
82
+ <?php endif; ?>
83
+ <?php endif; ?>
84
+ <?php endif; ?>
85
+
86
+
87
+
88
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
89
+ <?php $_incl = $this->helper('checkout')->getPriceInclTax($_item); ?>
90
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
91
+ <br /><?php echo $this->__('Incl. Tax'); ?>:
92
+ <?php endif; ?>
93
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales')): ?>
94
+ <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedAmount()); ?>
95
+ <?php else: ?>
96
+ <?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxDisposition()) ?>
97
+ <?php endif; ?>
98
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
99
+ <br />
100
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales')): ?>
101
+ <small>
102
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
103
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
104
+ <?php endforeach; ?>
105
+ </small>
106
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales')): ?>
107
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
108
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
109
+ <?php endforeach; ?>
110
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales')): ?>
111
+ <small>
112
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
113
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
114
+ <?php endforeach; ?>
115
+ </small>
116
+ <?php endif; ?>
117
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales')): ?>
118
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedAmount()); ?></span>
119
+ <?php endif; ?>
120
+ <?php endif; ?>
121
+ <?php endif; ?>
122
+
123
+ <?php endif; //Can apply MSRP ?>
124
+
125
+ <?php if ($_options = $this->getOptionList()):?>
126
+ <div class="truncated">
127
+ <div class="truncated_full_value">
128
+ <dl class="item-options">
129
+ <?php foreach ($_options as $_option) : ?>
130
+ <dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
131
+ <dd>
132
+ <?php if (is_array($_option['value'])): ?>
133
+ <?php echo nl2br(implode("\n", $_option['value'])) ?>
134
+ <?php else: ?>
135
+ <?php echo $_option['value'] ?>
136
+ <?php endif; ?>
137
+ </dd>
138
+ <?php endforeach; ?>
139
+ </dl>
140
+ </div>
141
+ <a href="#" onclick="return false;" class="details"><?php echo $this->__('Details') ?></a>
142
+ </div>
143
+ <?php endif; ?>
144
+ </div>
145
+ </li>
app/design/frontend/default/computer_store/template/checkout/cart/totals.phtml ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ * Shopping cart totals template
30
+ *
31
+ * @see Mage_Checkout_Block_Cart_Totals
32
+ * @var $this Mage_Checkout_Block_Cart_Totals
33
+ */
34
+ ?>
35
+ <?php if ($this->canApplyMsrp()): ?>
36
+ <div class="cart-msrp-totals"><?php echo $this->__('ORDER TOTAL WILL BE DISPLAYED BEFORE YOU SUBMIT THE ORDER'); ?></div>
37
+ <?php else: ?>
38
+ <table id="shopping-cart-totals-table">
39
+ <col />
40
+ <col width="1" />
41
+ <tfoot>
42
+ <?php echo $this->renderTotals('footer'); ?>
43
+ </tfoot>
44
+ <tbody>
45
+ <?php echo $this->renderTotals(); ?>
46
+ </tbody>
47
+ </table>
48
+ <?php endif; ?>
app/design/frontend/default/computer_store/template/checkout/multishipping/address/select.phtml ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ <div class="multiple-checkout">
28
+ <div class="page-title title-buttons">
29
+ <h1><?php echo $this->__('Change Billing Address') ?></h1>
30
+ <button type="button" title="<?php echo $this->__('Add New Address') ?>" class="button" onclick="setLocation('<?php echo $this->getAddNewUrl() ?>')"><span><span><?php echo $this->__('Add New Address') ?></span></span></button>
31
+ </div>
32
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
33
+ <?php $_index=0 ?>
34
+ <?php foreach ($this->getAddressCollection() as $_address): ?>
35
+ <?php if($_index%3==0): ?><div class="col3-set"><?php endif; ?>
36
+ <div class="col-<?php echo ($_index%3+1) ?>">
37
+ <p class="actions">
38
+ <a href="<?php echo $this->getEditAddressUrl($_address) ?>"><?php echo $this->__('Edit Address') ?></a> <span class="separator">|</span>
39
+ <a href="<?php echo $this->getSetAddressUrl($_address) ?>"><strong><?php echo $this->__('Select Address') ?></strong></a>
40
+ </p>
41
+ <address>
42
+ <?php echo $_address->format('html') ?>
43
+ </address>
44
+ <?php if($this->isAddressDefaultBilling($_address)): ?>
45
+ <strong><?php echo $this->__('Default Billing') ?></strong>
46
+ <?php endif; ?>
47
+ <?php if($this->isAddressDefaultShipping($_address)): ?>
48
+ <br /><strong><?php echo $this->__('Default Shipping') ?></strong>
49
+ <?php endif; ?>
50
+ </div>
51
+ <?php $_index++ ?>
52
+ <?php if($_index && $_index%3==0): ?></div><?php endif; ?>
53
+ <?php endforeach; ?>
54
+ <?php if(!$_index || $_index%3!=0): ?></div><?php endif; ?>
55
+ <div class="buttons-set">
56
+ <p class="back-link"><a href="<?php echo $this->getBackUrl() ?>"><small>&laquo; </small><?php echo $this->__('Back to Billing Information') ?></a></p>
57
+ </div>
58
+ </div>
app/design/frontend/default/computer_store/template/checkout/multishipping/addresses.phtml ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ * Ship to multiple address template
30
+ *
31
+ * @see Mage_Checkout_Block_Multishipping_Addresses
32
+ */
33
+ ?>
34
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
35
+ <form id="checkout_multishipping_form" action="<?php echo $this->getPostActionUrl() ?>" method="post">
36
+ <div class="multiple-checkout">
37
+ <div class="page-title title-buttons">
38
+ <h1><?php echo $this->__('Ship to Multiple Addresses') ?></h1>
39
+ <button type="button" title="<?php echo $this->__('Enter a New Address') ?>" class="button" onclick="$('add_new_address_flag').value=1; $('checkout_multishipping_form').submit();"><span><span><?php echo $this->__('Enter a New Address') ?></span></span></button>
40
+ </div>
41
+ <input type="hidden" name="continue" value="0" id="can_continue_flag" />
42
+ <input type="hidden" name="new_address" value="0" id="add_new_address_flag" />
43
+ <h2><?php echo $this->__('Please select shipping address for applicable items') ?></h2>
44
+ <table class="data-table" id="multiship-addresses-table">
45
+ <col />
46
+ <col width="1" />
47
+ <col width="1" />
48
+ <col width="1" />
49
+ <thead>
50
+ <tr>
51
+ <th><?php echo $this->__('Product') ?></th>
52
+ <th class="a-center"><?php echo $this->__('Qty') ?></th>
53
+ <th><?php echo $this->__('Send To') ?></th>
54
+ <th>&nbsp;</th>
55
+ </tr>
56
+ </thead>
57
+ <tfoot>
58
+ <tr>
59
+ <td colspan="100" class="a-right"><button type="submit" title="<?php echo $this->__('Update Qty &amp; Addresses') ?>" class="button" onclick="$('can_continue_flag').value=0"><span><span><?php echo $this->__('Update Qty &amp; Addresses') ?></span></span></button></td>
60
+ </tr>
61
+ </tfoot>
62
+ <tbody>
63
+ <?php foreach ($this->getItems() as $_index => $_item): ?>
64
+ <?php if ($_item->getQuoteItem()) :?>
65
+ <tr>
66
+ <td><?php echo $this->getItemHtml($_item->getQuoteItem())?></td>
67
+ <td><input type="text" name="ship[<?php echo $_index ?>][<?php echo $_item->getQuoteItemId() ?>][qty]" value="<?php echo $this->htmlEscape($_item->getQty()) ?>" size="2" class="input-text qty" /></td>
68
+ <td><?php if ($_item->getProduct()->getIsVirtual()): echo $this->__('Shipping selection is not applicable.'); else: echo $this->getAddressesHtmlSelect($_item, $_index); endif; ?></td>
69
+ <td class="a-center"><a href="<?php echo $this->getItemDeleteUrl($_item) ?>" title="<?php echo $this->__('Remove Item') ?>" class="btn-remove2"><?php echo $this->__('Remove Item') ?></a></td>
70
+ </tr>
71
+ <?php endif; ?>
72
+ <?php endforeach; ?>
73
+ </tbody>
74
+ </table>
75
+ <script type="text/javascript">decorateTable('multiship-addresses-table')</script>
76
+ <div class="buttons-set">
77
+ <p class="back-link"><a href="<?php echo $this->getBackUrl() ?>"><small>&laquo; </small><?php echo $this->__('Back to Shopping Cart') ?></a></p>
78
+ <button type="submit" title="<?php echo $this->__('Continue to Shipping Information') ?>" class="button<?php if ($this->isContinueDisabled()):?> disabled<?php endif; ?>" onclick="$('can_continue_flag').value=1"<?php if ($this->isContinueDisabled()):?> disabled="disabled"<?php endif; ?>><span><span><?php echo $this->__('Continue to Shipping Information') ?></span></span></button>
79
+ </div>
80
+ </div>
81
+ </form>
app/design/frontend/default/computer_store/template/checkout/multishipping/agreements.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) 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
+ * @see Mage_Checkout_Block_Agreements
30
+ */
31
+ ?>
32
+
33
+ <?php if (!$this->getAgreements()) return; ?>
34
+ <ol id="checkout-agreements" class="checkout-agreements">
35
+ <?php foreach ($this->getAgreements() as $_a): ?>
36
+ <li>
37
+ <div class="agreement-content"<?php echo ($_a->getContentHeight() ? ' style="height:' . $_a->getContentHeight() . '"' : '')?>>
38
+ <?php if ($_a->getIsHtml()):?>
39
+ <?php echo $_a->getContent() ?>
40
+ <?php else:?>
41
+ <?php echo nl2br($this->htmlEscape($_a->getContent())) ?>
42
+ <?php endif; ?>
43
+ </div>
44
+ <p class="agree">
45
+ <input type="checkbox" id="agreement-<?php echo $_a->getId()?>" name="agreement[<?php echo $_a->getId()?>]" value="1" title="<?php echo $this->htmlEscape($_a->getCheckboxText()) ?>" class="checkbox" /><label for="agreement-<?php echo $_a->getId()?>"><?php echo $_a->getIsHtml() ? $_a->getCheckboxText() : $this->htmlEscape($_a->getCheckboxText()) ?></label>
46
+ </p>
47
+ </li>
48
+ <?php endforeach ?>
49
+ </ol>
app/design/frontend/default/computer_store/template/checkout/multishipping/billing.phtml ADDED
@@ -0,0 +1,116 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ * Multishipping checkout billing information
30
+ *
31
+ * @see Mage_Checkout_Block_Multishipping_Billing
32
+ */
33
+ ?>
34
+ <div class="multiple-checkout">
35
+ <div class="page-title">
36
+ <h1><?php echo $this->__('Billing Information') ?></h1>
37
+ </div>
38
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
39
+ <script src="<?php echo Mage::getBaseUrl('js') ?>varien/payment.js" type="text/javascript"></script>
40
+ <form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="multishipping-billing-form">
41
+ <div class="col2-set">
42
+ <div class="col-1 col-narrow">
43
+ <div class="box">
44
+ <div class="box-title">
45
+ <h2><?php echo $this->__('Billing Address') ?> <span class="separator">|</span> <a href="<?php echo $this->getSelectAddressUrl() ?>"><?php echo $this->__('Change') ?></a></h2>
46
+ </div>
47
+ <div class="box-content">
48
+ <?php $_address=$this->getAddress() ?>
49
+ <address><?php echo $_address->format('html') ?></address>
50
+ </div>
51
+ </div>
52
+ </div>
53
+ <div class="col-2 col-wide">
54
+ <div class="box">
55
+ <div class="box-title">
56
+ <h2><?php echo $this->__('Payment Method') ?></h2>
57
+ </div>
58
+ <div class="box-content">
59
+ <div class="tool-tip" id="payment-tool-tip" style="display:none;">
60
+ <div class="btn-close"><a href="#" id="payment-tool-tip-close" title="<?php echo $this->__('Close') ?>"><?php echo $this->__('Close') ?></a></div>
61
+ <div class="tool-tip-content"><img src="<?php echo $this->getSkinUrl('images/cvv.gif') ?>" alt="<?php echo $this->__('Card Verification Number Visual Reference') ?>" title="<?php echo $this->__('Card Verification Number Visual Reference') ?>" /></div>
62
+ </div>
63
+ <!-- Payment methods forms list -->
64
+ <dl class="sp-methods">
65
+ <?php
66
+ $_methods = $this->getMethods();
67
+ $_methodsCount = count($_methods);
68
+ ?>
69
+ <?php foreach ($_methods as $_method): $_code = $_method->getCode() ?>
70
+ <dt>
71
+ <?php if ($_methodsCount > 1): ?>
72
+ <input type="radio" id="p_method_<?php echo $_code ?>" value="<?php echo $_code ?>" name="payment[method]" title="<?php echo $this->htmlEscape($_method->getTitle()) ?>" onclick="payment.switchMethod('<?php echo $_code ?>')"<?php if($this->getSelectedMethodCode()==$_code): ?> checked="checked"<?php endif; ?> class="radio" />
73
+ <?php else :?>
74
+ <span class="no-display"><input type="radio" id="p_method_<?php echo $_code ?>" value="<?php echo $_code ?>" name="payment[method]" checked="checked" class="radio" /></span>
75
+ <?php endif;?>
76
+ <label for="p_method_<?php echo $_code ?>"><?php echo $_method->getTitle() ?></label>
77
+ </dt>
78
+ <?php if($html = $this->getChildHtml('payment.method.'.$_code)) : ?>
79
+ <dd>
80
+ <?php echo $html; ?>
81
+ </dd>
82
+ <?php endif; ?>
83
+ <?php endforeach; ?>
84
+ </dl>
85
+ <?php echo $this->getChildHtml('checkout_billing_items') ?>
86
+ </div>
87
+ </div>
88
+ </div>
89
+ </div>
90
+ <div class="buttons-set">
91
+ <p class="back-link"><a href="<?php echo $this->getBackUrl() ?>"><small>&laquo; </small><?php echo $this->__('Back to Shipping Information') ?></a></p>
92
+ <button type="submit" title="<?php echo $this->__('Continue to Review Your Order') ?>" class="button"><span><span><?php echo $this->__('Continue to Review Your Order') ?></span></span></button>
93
+ </div>
94
+ </form>
95
+ <script type="text/javascript">
96
+ //<![CDATA[
97
+ var payment = new paymentForm('multishipping-billing-form');
98
+ function toggleToolTip(event){
99
+ if($('payment-tool-tip')){
100
+ /*$('payment-tool-tip').setStyle({
101
+ top: (Event.pointerY(event)-510)+'px',
102
+ left: (Event.pointerX(event)-800)+'px'
103
+ })*/
104
+ $('payment-tool-tip').toggle();
105
+ }
106
+ Event.stop(event);
107
+ }
108
+ if($('payment-tool-tip-close')){
109
+ Event.observe($('payment-tool-tip-close'), 'click', toggleToolTip);
110
+ }
111
+ $$('.cvv-what-is-this').each(function(element){
112
+ Event.observe(element, 'click', toggleToolTip);
113
+ });
114
+ //]]>
115
+ </script>
116
+ </div>
app/design/frontend/default/computer_store/template/checkout/multishipping/billing/items.phtml ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 if ($this->getQuote()->hasVirtualItems()): ?>
28
+ <div class="col2-set">
29
+ <h2 class="legend"><?php echo $this->__('Other Items in Your Order') ?></h2>
30
+ <div class="col-1 col-narrow"></div>
31
+ <div class="col-2 col-wide">
32
+ <h3><?php echo $this->__('Items') ?> <span class="separator">|</span> <a href="<?php echo $this->getVirtualProductEditUrl() ?>"><?php echo $this->__('Edit Items') ?></a></h3>
33
+ <table class="data-table" id="unavailable-shipping-table">
34
+ <col />
35
+ <col width="1" />
36
+ <thead>
37
+ <tr>
38
+ <th><?php echo $this->__('Product Name') ?></th>
39
+ <th class="a-center"><?php echo $this->__('Qty') ?></th>
40
+ </tr>
41
+ </thead>
42
+ <tbody>
43
+ <?php foreach ($this->getVirtualQuoteItems() as $_item): ?>
44
+ <tr>
45
+ <td><?php echo $this->getItemHtml($_item) ?></td>
46
+ <td class="a-center"><?php echo $_item->getQty() ?></td>
47
+ </tr>
48
+ <?php endforeach; ?>
49
+ </tbody>
50
+ </table>
51
+ <script type="text/javascript">decorateTable('unavailable-shipping-table')</script>
52
+ </div>
53
+ </div>
54
+ <?php endif; ?>
app/design/frontend/default/computer_store/template/checkout/multishipping/item/default.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) 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
+ <h3 class="product-name"><a href="<?php echo $this->getProductUrl() ?>"><?php echo $this->htmlEscape($this->getProductName()) ?></a></h3>
28
+ <?php if ($_options = $this->getOptionList()):?>
29
+ <dl class="item-options">
30
+ <?php foreach ($_options as $_option) : ?>
31
+ <?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
32
+ <dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
33
+ <dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>><?php echo $_formatedOptionValue['value'] ?>
34
+ <?php if (isset($_formatedOptionValue['full_view'])): ?>
35
+ <div class="truncated_full_value">
36
+ <dl class="item-options">
37
+ <dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
38
+ <dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
39
+ </dl>
40
+ </div>
41
+ <?php endif; ?>
42
+ </dd>
43
+ <?php endforeach; ?>
44
+ </dl>
45
+ <?php endif; ?>
app/design/frontend/default/computer_store/template/checkout/multishipping/link.phtml ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 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
+ <a href="<?php echo $this->getCheckoutUrl()?>" title="<?php echo Mage::helper('checkout')->__('Checkout with Multiple Addresses');?>"><?php echo Mage::helper('checkout')->__('Checkout with Multiple Addresses');?></a>
app/design/frontend/default/computer_store/template/checkout/multishipping/overview.phtml ADDED
@@ -0,0 +1,241 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ <div class="multiple-checkout">
28
+ <div class="page-title">
29
+ <h1><?php echo $this->__('Review Order') ?></h1>
30
+ </div>
31
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
32
+ <form action="<?php echo $this->getPostActionUrl() ?>" method="post" onsubmit="return showLoader();">
33
+ <div class="col2-set">
34
+ <h2 class="legend"><?php echo $this->__('Billing Information') ?></h2>
35
+ <div class="col-1">
36
+ <div class="box">
37
+ <?php $_address=$this->getBillingAddress() ?>
38
+ <div class="box-title">
39
+ <h3><?php echo $this->__('Billing Address') ?> <span class="separator">|</span> <a href="<?php echo $this->getEditBillingAddressUrl($_address) ?>"><?php echo $this->__('Change') ?></a></h3>
40
+ </div>
41
+ <div class="box-content">
42
+ <address>
43
+ <?php echo $_address->format('html') ?>
44
+ </address>
45
+ </div>
46
+ </div>
47
+ </div>
48
+ <div class="col-2">
49
+ <div class="box">
50
+ <div class="box-title">
51
+ <h3><?php echo $this->__('Payment Method') ?> <span class="separator">|</span> <a href="<?php echo $this->getEditBillingUrl() ?>"><?php echo $this->__('Change') ?></a></h3>
52
+ </div>
53
+ <div class="box-content">
54
+ <input type="hidden" name="payment[cc_number]" value="<?php echo $this->htmlEscape($this->getPayment()->getCcNumber())?>" />
55
+ <input type="hidden" name="payment[cc_cid]" value="<?php echo $this->htmlEscape($this->getPayment()->getCcCid())?>" />
56
+ <?php echo $this->getPaymentHtml() ?>
57
+ </div>
58
+ </div>
59
+ </div>
60
+ </div>
61
+ <?php $mergedCells = ($this->helper('tax')->displayCartBothPrices() ? 2 : 1); ?>
62
+ <div class="col2-set">
63
+ <h2 class="legend"><?php echo $this->__('Shipping Information') ?></h2>
64
+ <?php foreach ($this->getShippingAddresses() as $_index => $_address): ?>
65
+ <h3 class="legend"><?php echo $this->__('Address %s of %s', ($_index+1), $this->getShippingAddressCount()) ?></h3>
66
+ <div class="col-1 col-narrow">
67
+ <div class="box">
68
+ <div class="box-title">
69
+ <h4><?php echo $this->__('Shipping To') ?> <span class="separator">|</span> <a href="<?php echo $this->getEditShippingAddressUrl($_address) ?>"><?php echo $this->__('Change') ?></a></h4>
70
+ </div>
71
+ <div class="box-content">
72
+ <address>
73
+ <?php echo $_address->format('html') ?>
74
+ </address>
75
+ </div>
76
+ </div>
77
+ <div class="box">
78
+ <div class="box-title">
79
+ <h4><?php echo $this->__('Shipping Method') ?> <span class="separator">|</span> <a href="<?php echo $this->getEditShippingUrl() ?>"><?php echo $this->__('Change') ?></a></h4>
80
+ </div>
81
+ <div class="box-content">
82
+ <?php if($_rate=$this->getShippingAddressRate($_address)): ?>
83
+ <p>
84
+ <?php echo $_rate->getCarrierTitle() ?> - <?php echo $_rate->getMethodTitle() ?>
85
+ <?php $_excl = $this->getShippingPriceExclTax($_address); ?>
86
+ <?php $_incl = $this->getShippingPriceInclTax($_address); ?>
87
+ <?php echo $_excl; ?>
88
+ <?php if ($this->helper('tax')->displayShippingBothPrices() && $_incl != $_excl): ?>
89
+ (<?php echo $this->__('Incl. Tax'); ?> <?php echo $_incl; ?>)
90
+ <?php endif; ?>
91
+ </p>
92
+ <?php endif; ?>
93
+ </div>
94
+ </div>
95
+ </div>
96
+ <div class="col-2 col-wide">
97
+ <h4><?php echo $this->__('Items') ?> <span class="separator">|</span> <a href="<?php echo $this->getAddressesEditUrl() ?>"><?php echo $this->__('Edit Items') ?></a></h4>
98
+ <table class="data-table" id="overview-table-<?php echo $_address->getId() ?>">
99
+ <col />
100
+ <col width="1" />
101
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
102
+ <col width="1" />
103
+ <?php endif; ?>
104
+ <col width="1" />
105
+ <col width="1" />
106
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
107
+ <col width="1" />
108
+ <?php endif; ?>
109
+ <thead>
110
+ <tr>
111
+ <th rowspan="<?php echo $mergedCells; ?>"><?php echo $this->__('Product Name') ?></th>
112
+ <th colspan="<?php echo $mergedCells; ?>" class="a-center"><?php echo $this->__('Price') ?></th>
113
+ <th rowspan="<?php echo $mergedCells; ?>"><?php echo $this->__('Qty') ?></th>
114
+ <th colspan="<?php echo $mergedCells; ?>" class="a-center"><?php echo $this->__('Subtotal') ?></th>
115
+ </tr>
116
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
117
+ <tr>
118
+ <th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
119
+ <th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
120
+ <th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
121
+ <th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
122
+ </tr>
123
+ <?php endif; ?>
124
+ </thead>
125
+ <tfoot>
126
+ <?php echo $this->renderTotals($this->getShippingAddressTotals($_address)); ?>
127
+ </tfoot>
128
+ <tbody>
129
+ <?php foreach ($this->getShippingAddressItems($_address) as $_item): ?>
130
+ <?php echo $this->getRowItemHtml($_item); ?>
131
+ <?php endforeach; ?>
132
+ </tbody>
133
+ </table>
134
+ <script type="text/javascript">decorateTable('overview-table-<?php echo $_address->getId() ?>')</script>
135
+ </div>
136
+ <?php if($this->getShippingAddressCount()!=$_index+1): ?>
137
+ <div class="divider"></div>
138
+ <?php endif; ?>
139
+ <?php endforeach; ?>
140
+ </div>
141
+ <?php if ($this->getQuote()->hasVirtualItems()): ?>
142
+ <div class="col2-set">
143
+ <h2 class="legend"><?php echo $this->__('Other Items in Your Order') ?></h2>
144
+ <div class="col-1 col-narrow"></div>
145
+ <div class="col-2 col-wide">
146
+ <h3><?php echo $this->__('Items') ?> <span class="separator">|</span> <a href="<?php echo $this->getVirtualProductEditUrl() ?>"><?php echo $this->__('Edit Items') ?></a></h3>
147
+ <?php $mergedCells = ($this->helper('tax')->displayCartBothPrices() ? 2 : 1); ?>
148
+ <table class="data-table" id="virtual-overview-table">
149
+ <col />
150
+ <col width="1" />
151
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
152
+ <col width="1" />
153
+ <?php endif; ?>
154
+ <col width="1" />
155
+ <col width="1" />
156
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
157
+ <col width="70" />
158
+ <?php endif; ?>
159
+ <thead>
160
+ <tr>
161
+ <th rowspan="<?php echo $mergedCells; ?>"><?php echo $this->__('Product Name') ?></th>
162
+ <th colspan="<?php echo $mergedCells; ?>" class="a-center"><?php echo $this->__('Price') ?></th>
163
+ <th rowspan="<?php echo $mergedCells; ?>"><?php echo $this->__('Qty') ?></th>
164
+ <th colspan="<?php echo $mergedCells; ?>" class="a-center"><?php echo $this->__('Subtotal') ?></th>
165
+ </tr>
166
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
167
+ <tr>
168
+ <th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
169
+ <th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
170
+ <th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
171
+ <th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
172
+ </tr>
173
+ <?php endif; ?>
174
+ </thead>
175
+ <tfoot>
176
+ <?php echo $this->renderTotals($this->getBillinAddressTotals()); ?>
177
+ </tfoot>
178
+ <tbody>
179
+ <?php foreach ($this->getVirtualItems() as $_item): ?>
180
+ <?php echo $this->getRowItemHtml($_item); ?>
181
+ <?php endforeach; ?>
182
+ </tbody>
183
+ </table>
184
+ <script type="text/javascript">decorateTable('virtual-overview-table')</script>
185
+ </div>
186
+ </div>
187
+ <?php endif; ?>
188
+
189
+ <?php echo $this->getChildHtml('items_after'); ?>
190
+
191
+ <div id="checkout-review-submit">
192
+ <?php echo $this->getChildHtml('agreements') ?>
193
+ <div class="place-order">
194
+ <div class="grand-total">
195
+ <div class="inner">
196
+ <big><?php echo $this->__('Grand Total:') ?> <?php echo $this->helper('checkout')->formatPrice($this->getTotal()) ?></big>
197
+ <div id="review-buttons-container">
198
+ <button type="submit" title="<?php echo $this->__('Place Order') ?>" class="button btn-checkout" id="review-button"><span><span><?php echo $this->__('Place Order') ?></span></span></button>
199
+ </div>
200
+ </div>
201
+ </div>
202
+ <span class="please-wait" id="review-please-wait" style="display:none;">
203
+ <img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Submitting order information...') ?>" title="<?php echo $this->__('Submitting order information...') ?>" class="v-middle" /> <?php echo $this->__('Submitting order information...') ?>
204
+ </span>
205
+ </div>
206
+ </div>
207
+ <div class="buttons-set">
208
+ <p class="back-link"><a href="<?php echo $this->getBackUrl() ?>"><small>&laquo; </small><?php echo $this->__('Back to Billing Information') ?></a></p>
209
+ </div>
210
+ </form>
211
+ <script type="text/javascript">
212
+ //<![CDATA[
213
+ var submitted = false;
214
+
215
+ function showLoader()
216
+ {
217
+ if (submitted) {
218
+ return false;
219
+ }
220
+ if ($('checkout-agreements')) {
221
+ var checkboxes = $$('#checkout-agreements input');
222
+ for (var i=0, l=checkboxes.length; i<l; i++) {
223
+ if (!checkboxes[i].checked) {
224
+ alert("<?php echo $this->__('Please agree to all Terms and Conditions before placing the orders.')?>");
225
+ return false;
226
+ }
227
+ }
228
+ }
229
+
230
+ submitted = true;
231
+ var step='review';
232
+ Element.show(step+'-please-wait');
233
+ $(step+'-buttons-container').setStyle({opacity:.5});
234
+ $(step+'-buttons-container').descendants().each(function(s) {
235
+ s.disabled = true;
236
+ });
237
+ return true;
238
+ }
239
+ //]]>
240
+ </script>
241
+ </div>
app/design/frontend/default/computer_store/template/checkout/multishipping/overview/item.phtml ADDED
@@ -0,0 +1,238 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ * Quote Item row html
30
+ *
31
+ * @see Mage_Checkout_Block_Cart_Item_Renderer
32
+ */
33
+ ?>
34
+ <?php $_item = $this->getItem() ?>
35
+ <tr>
36
+ <td><?php echo $this->getRenderedBlock()->getItemHtml($_item) ?></td>
37
+
38
+ <!--- Excluding Tax -->
39
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
40
+ <td class="a-right">
41
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
42
+ <div class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
43
+ <?php else: ?>
44
+ <div class="cart-price">
45
+ <?php endif; ?>
46
+
47
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
48
+ <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?>
49
+ <?php else: ?>
50
+ <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
51
+ <?php endif; ?>
52
+
53
+ </div>
54
+
55
+
56
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
57
+
58
+ <div class="cart-tax-info" id="eunit-item-tax-details<?php echo $_item->getId(); ?>" style="display: none;">
59
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
60
+ <small>
61
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
62
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
63
+ <?php endforeach; ?>
64
+ </small>
65
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
66
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
67
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
68
+ <?php endforeach; ?>
69
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
70
+ <small>
71
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
72
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
73
+ <?php endforeach; ?>
74
+ </small>
75
+ <?php endif; ?>
76
+ </div>
77
+
78
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
79
+ <div class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
80
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?></span>
81
+ </div>
82
+ <?php endif; ?>
83
+ <?php endif; ?>
84
+ </td>
85
+ <?php endif; ?>
86
+ <!--- // Excluding Tax -->
87
+
88
+ <!--- Including Tax -->
89
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
90
+ <td>
91
+ <?php $_incl = $this->helper('checkout')->getPriceInclTax($_item); ?>
92
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
93
+ <div class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
94
+ <?php else: ?>
95
+ <div class="cart-price">
96
+ <?php endif; ?>
97
+
98
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
99
+ <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedAmount()); ?>
100
+ <?php else: ?>
101
+ <?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxDisposition()) ?>
102
+ <?php endif; ?>
103
+
104
+ </div>
105
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
106
+
107
+ <div class="cart-tax-info" id="unit-item-tax-details<?php echo $_item->getId(); ?>" style="display: none;">
108
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
109
+ <small>
110
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
111
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
112
+ <?php endforeach; ?>
113
+ </small>
114
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
115
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
116
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
117
+ <?php endforeach; ?>
118
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
119
+ <small>
120
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
121
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
122
+ <?php endforeach; ?>
123
+ </small>
124
+ <?php endif; ?>
125
+ </div>
126
+
127
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
128
+ <div class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
129
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedAmount()); ?></span>
130
+ </div>
131
+ <?php endif; ?>
132
+ <?php endif; ?>
133
+
134
+ </td>
135
+ <?php endif; ?>
136
+ <!--- // Including Tax -->
137
+
138
+ <td class="a-center"><?php echo $_item->getQty()*1 ?></td>
139
+
140
+ <!--- Excluding Tax Subtotal -->
141
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
142
+ <td class="a-right">
143
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
144
+ <div class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
145
+ <?php else: ?>
146
+ <div class="cart-price">
147
+ <?php endif; ?>
148
+
149
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
150
+ <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?>
151
+ <?php else: ?>
152
+ <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?>
153
+ <?php endif; ?>
154
+
155
+ </div>
156
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
157
+
158
+ <div class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display: none;">
159
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
160
+ <small>
161
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
162
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span><br />
163
+ <?php endforeach; ?>
164
+ </small>
165
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
166
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
167
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
168
+ <?php endforeach; ?>
169
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
170
+ <small>
171
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
172
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
173
+ <?php endforeach; ?>
174
+ </small>
175
+ <?php endif; ?>
176
+ </div>
177
+
178
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
179
+ <div class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
180
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?></span>
181
+ </div>
182
+ <?php endif; ?>
183
+ <?php endif; ?>
184
+ </td>
185
+ <?php endif; ?>
186
+ <!--- //Excluding Tax Subtotal -->
187
+
188
+ <!--- Including Tax Subtotal -->
189
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
190
+ <td>
191
+ <?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
192
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
193
+ <div class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
194
+ <?php else: ?>
195
+ <div class="cart-price">
196
+ <?php endif; ?>
197
+
198
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
199
+ <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?>
200
+ <?php else: ?>
201
+ <?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxRowDisposition()) ?>
202
+ <?php endif; ?>
203
+
204
+ </div>
205
+
206
+
207
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
208
+
209
+ <div class="cart-tax-info" id="subtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display: none;">
210
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
211
+ <small>
212
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
213
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span><br />
214
+ <?php endforeach; ?>
215
+ </small>
216
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
217
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
218
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
219
+ <?php endforeach; ?>
220
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
221
+ <small>
222
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
223
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
224
+ <?php endforeach; ?>
225
+ </small>
226
+ <?php endif; ?>
227
+ </div>
228
+
229
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
230
+ <div class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
231
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?></span>
232
+ </div>
233
+ <?php endif; ?>
234
+ <?php endif; ?>
235
+ </td>
236
+ <?php endif; ?>
237
+ <!--- //Including Tax Subtotal -->
238
+ </tr>
app/design/frontend/default/computer_store/template/checkout/multishipping/shipping.phtml ADDED
@@ -0,0 +1,129 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ * Multishipping checkout shipping template
30
+ *
31
+ * @see Mage_Checkout_Block_Multishipping_Shipping
32
+ */
33
+ ?>
34
+ <div class="multiple-checkout">
35
+ <div class="page-title">
36
+ <h1><?php echo $this->__('Select Shipping Method') ?></h1>
37
+ </div>
38
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
39
+ <form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="shipping_method_form">
40
+ <?php foreach ($this->getAddresses() as $_index => $_address): ?>
41
+ <div class="col2-set">
42
+ <h2 class="legend"><?php echo $this->__('Address %s of %s', ($_index+1), $this->getAddressCount()) ?></h2>
43
+ <div class="col-1 col-narrow">
44
+ <div class="box">
45
+ <div class="box-title">
46
+ <h3><?php echo $this->__('Shipping To') ?> <span class="separator">|</span> <a href="<?php echo $this->getAddressEditUrl($_address) ?>"><?php echo $this->__('Change') ?></a></h3>
47
+ </div>
48
+ <div class="box-content">
49
+ <address><?php echo $_address->format('html') ?></address>
50
+ </div>
51
+ </div>
52
+ <div class="box box-sp-methods">
53
+ <div class="pointer"></div>
54
+ <div class="box-title">
55
+ <h3><?php echo $this->__('Shipping Method') ?></h3>
56
+ </div>
57
+ <div class="box-content">
58
+ <?php if (!($_shippingRateGroups = $this->getShippingRates($_address))): ?>
59
+ <p><?php echo $this->__('Sorry, no quotes are available for this order at this time.') ?></p>
60
+ <?php else: ?>
61
+ <dl class="sp-methods">
62
+ <?php $_sole = count($_shippingRateGroups) == 1; foreach ($_shippingRateGroups as $code => $_rates): ?>
63
+ <dt><?php echo $this->getCarrierName($code) ?></dt>
64
+ <dd>
65
+ <ul>
66
+ <?php $_sole = $_sole && count($_rates) == 1; foreach ($_rates as $_rate): ?>
67
+ <li<?php if ($_rate->getErrorMessage()) echo ' class="error-msg"' ?>>
68
+ <?php if ($_rate->getErrorMessage()): ?>
69
+ <?php echo $_rate->getCarrierTitle() ?>: <?php echo $_rate->getErrorMessage() ?>
70
+ <?php else: ?>
71
+ <?php if ($_sole) : ?>
72
+ <span class="no-display"><input type="radio" name="shipping_method[<?php echo $_address->getId() ?>]" value="<?php echo $this->htmlEscape($_rate->getCode()) ?>" id="s_method_<?php echo $_address->getId() ?>_<?php echo $_rate->getCode() ?>" checked="checked"/></span>
73
+ <?php else: ?>
74
+ <input type="radio" name="shipping_method[<?php echo $_address->getId() ?>]" value="<?php echo $this->htmlEscape($_rate->getCode()) ?>" id="s_method_<?php echo $_address->getId() ?>_<?php echo $_rate->getCode() ?>"<?php if($_rate->getCode()===$this->getAddressShippingMethod($_address)) echo ' checked="checked"' ?> class="radio" />
75
+ <?php endif; ?>
76
+ <label for="s_method_<?php echo $_address->getId() ?>_<?php echo $_rate->getCode() ?>"><?php echo $_rate->getMethodTitle() ?>
77
+ <?php $_excl = $this->getShippingPrice($_address, $_rate->getPrice(), $this->helper('tax')->displayShippingPriceIncludingTax()); ?>
78
+ <?php $_incl = $this->getShippingPrice($_address, $_rate->getPrice(), true); ?>
79
+ <?php echo $_excl; ?>
80
+ <?php if ($this->helper('tax')->displayShippingBothPrices() && $_incl != $_excl): ?>
81
+ (<?php echo $this->__('Incl. Tax'); ?> <?php echo $_incl; ?>)
82
+ <?php endif; ?>
83
+ </label>
84
+ <?php endif ?>
85
+ </li>
86
+ <?php endforeach; ?>
87
+ </ul>
88
+ </dd>
89
+ <?php endforeach; ?>
90
+ </dl>
91
+ <?php endif; ?>
92
+ </div>
93
+ </div>
94
+ </div>
95
+ <div class="col-2 col-wide">
96
+ <?php echo $this->helper('giftmessage/message')->getInline('multishipping_adress_checkbox', $_address); ?>
97
+ <h3><?php echo $this->__('Items') ?> <span class="separator">|</span> <a href="<?php echo $this->getItemsEditUrl($_address) ?>"><?php echo $this->__('Edit Items') ?></a></h3>
98
+ <table class="data-table" id="shipping-table-<?php echo $_address->getId() ?>">
99
+ <col />
100
+ <col width="1" />
101
+ <thead>
102
+ <tr>
103
+ <th><?php echo $this->__('Product Name') ?></th>
104
+ <th class="a-center"><?php echo $this->__('Qty') ?></th>
105
+ </tr>
106
+ </thead>
107
+ <tbody>
108
+ <?php foreach ($this->getAddressItems($_address) as $_item): ?>
109
+ <tr>
110
+ <td>
111
+ <?php echo $this->getItemHtml($_item->getQuoteItem()) ?>
112
+ </td>
113
+ <td class="a-center"><?php echo $_item->getQty() ?></td>
114
+ </tr>
115
+ <?php endforeach; ?>
116
+ </tbody>
117
+ </table>
118
+ <script type="text/javascript">decorateTable('shipping-table-<?php echo $_address->getId() ?>')</script>
119
+ <?php echo $this->helper('giftmessage/message')->getInline('multishipping_adress', $_address); ?>
120
+ </div>
121
+ </div>
122
+ <?php endforeach; ?>
123
+ <?php echo $this->getChildHtml('checkout_billing_items') ?>
124
+ <div class="buttons-set">
125
+ <p class="back-link"><a href="<?php echo $this->getBackUrl() ?>"><small>&laquo; </small><?php echo $this->__('Back to Select Addresses') ?></a></p>
126
+ <button type="submit" title="<?php echo $this->__('Continue to Billing Information') ?>" class="button"><span><span><?php echo $this->__('Continue to Billing Information') ?></span></span></button>
127
+ </div>
128
+ </form>
129
+ </div>
app/design/frontend/default/computer_store/template/checkout/multishipping/state.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) 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
+ * Mustishipping state
30
+ *
31
+ * @see Mage_Checkout_Block_Multishipping_State
32
+ */
33
+ ?>
34
+ <ul class="checkout-progress" id="checkout-progress-state">
35
+ <?php foreach ($this->getSteps() as $_step): ?>
36
+ <li title="<?php echo $_step->getLabel() ?>"<?php if($_step->getIsActive()): ?> class="active"<?php endif; ?>><span><?php echo $_step->getLabel() ?></span></li>
37
+ <?php endforeach; ?>
38
+ </ul>
39
+ <script type="text/javascript">decorateGeneric($$('#checkout-progress-state li'), ['first','last']);</script>
app/design/frontend/default/computer_store/template/checkout/multishipping/success.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
+ <div class="multiple-checkout">
28
+ <div class="page-title">
29
+ <h1><?php echo $this->__('Order Success') ?></h1>
30
+ </div>
31
+ <h2 class="sub-title"><?php echo $this->__('Thank you for your purchase!') ?></h2>
32
+ <p><?php echo $this->__('We are processing your order and you will soon receive an email with details of the order. Once the order has shipped you will receive another email with a link to track its progress.') ?></p>
33
+ <?php if($_orderIds = $this->getOrderIds()): ?>
34
+ <p>
35
+ <?php $flag = false ?>
36
+ <?php echo $this->__('Your order number is ') ?>
37
+ <?php foreach ($_orderIds as $orderId=>$incrementId): ?>
38
+ <?php if ($flag): ?>
39
+ <?php echo ', ' ?>
40
+ <?php endif; ?>
41
+ <?php $flag = true ?>
42
+ <a href="<?php echo $this->getViewOrderUrl($orderId) ?>"><?php echo $incrementId ?></a>
43
+ <?php endforeach; ?>
44
+ </p>
45
+ <?php endif; ?>
46
+ <?php echo $this->getChildHtml() ?>
47
+ <div class="buttons-set">
48
+ <button type="button" title="<?php echo $this->__('Continue Shopping') ?>" class="button" onclick="setLocation('<?php echo $this->getContinueUrl() ?>')"><span><span><?php echo $this->__('Continue Shopping') ?></span></span></button>
49
+ </div>
50
+ </div>
app/design/frontend/default/computer_store/template/checkout/onepage.phtml ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ <div class="page-title">
28
+ <h1><?php echo $this->__('Checkout') ?></h1>
29
+ </div>
30
+ <script type="text/javascript" src="<?php echo $this->getJsUrl('varien/accordion.js') ?>"></script>
31
+ <script type="text/javascript" src="<?php echo $this->getSkinUrl('js/opcheckout.js') ?>"></script>
32
+ <script type="text/javascript">countryRegions = <?php echo $this->helper('directory')->getRegionJson() ?></script>
33
+ <ol class="opc" id="checkoutSteps">
34
+ <?php $i=0; foreach($this->getSteps() as $_stepId => $_stepInfo): ?>
35
+ <?php if (!$this->getChild($_stepId) || !$this->getChild($_stepId)->isShow()): continue; endif; $i++ ?>
36
+ <li id="opc-<?php echo $_stepId ?>" class="section<?php echo !empty($_stepInfo['allow'])?' allow':'' ?><?php echo !empty($_stepInfo['complete'])?' saved':'' ?>">
37
+ <div class="step-title">
38
+ <span class="number"><?php echo $i ?></span>
39
+ <h2><?php echo $_stepInfo['label'] ?></h2>
40
+ <a href="#"><?php echo $this->__('Edit') ?></a>
41
+ </div>
42
+ <div id="checkout-step-<?php echo $_stepId ?>" class="step a-item" style="display:none;">
43
+ <?php echo $this->getChildHtml($_stepId) ?>
44
+ </div>
45
+ </li>
46
+ <?php endforeach ?>
47
+ </ol>
48
+ <script type="text/javascript">
49
+ //<![CDATA[
50
+ var accordion = new Accordion('checkoutSteps', '.step-title', true);
51
+ <?php if($this->getActiveStep()): ?>
52
+ accordion.openSection('opc-<?php echo $this->getActiveStep() ?>');
53
+ <?php endif ?>
54
+ var checkout = new Checkout(accordion,{
55
+ progress: '<?php echo $this->getUrl('checkout/onepage/progress') ?>',
56
+ review: '<?php echo $this->getUrl('checkout/onepage/review') ?>',
57
+ saveMethod: '<?php echo $this->getUrl('checkout/onepage/saveMethod') ?>',
58
+ failure: '<?php echo $this->getUrl('checkout/cart') ?>'}
59
+ );
60
+ //]]>
61
+ </script>
app/design/frontend/default/computer_store/template/checkout/onepage/agreements.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) 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
+ * @see Mage_Checkout_Block_Agreements
30
+ */
31
+ ?>
32
+
33
+ <?php if (!$this->getAgreements()) return; ?>
34
+ <form action="" id="checkout-agreements" onsubmit="return false;">
35
+ <ol class="checkout-agreements">
36
+ <?php foreach ($this->getAgreements() as $_a): ?>
37
+ <li>
38
+ <div class="agreement-content"<?php echo ($_a->getContentHeight() ? ' style="height:' . $_a->getContentHeight() . '"' : '')?>>
39
+ <?php if ($_a->getIsHtml()):?>
40
+ <?php echo $_a->getContent() ?>
41
+ <?php else:?>
42
+ <?php echo nl2br($this->htmlEscape($_a->getContent())) ?>
43
+ <?php endif; ?>
44
+ </div>
45
+ <p class="agree">
46
+ <input type="checkbox" id="agreement-<?php echo $_a->getId()?>" name="agreement[<?php echo $_a->getId()?>]" value="1" title="<?php echo $this->htmlEscape($_a->getCheckboxText()) ?>" class="checkbox" /><label for="agreement-<?php echo $_a->getId()?>"><?php echo $_a->getIsHtml() ? $_a->getCheckboxText() : $this->htmlEscape($_a->getCheckboxText()) ?></label>
47
+ </p>
48
+ </li>
49
+ <?php endforeach ?>
50
+ </ol>
51
+ </form>
app/design/frontend/default/computer_store/template/checkout/onepage/billing.phtml ADDED
@@ -0,0 +1,203 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ <form id="co-billing-form" action="">
28
+ <fieldset>
29
+ <ul class="form-list">
30
+ <?php if ($this->customerHasAddresses()): ?>
31
+ <li class="wide">
32
+ <label for="billing-address-select"><?php echo $this->__('Select a billing address from your address book or enter a new address.') ?></label>
33
+ <div class="input-box">
34
+ <?php echo $this->getAddressesHtmlSelect('billing') ?>
35
+ </div>
36
+ </li>
37
+ <?php endif; ?>
38
+ <li id="billing-new-address-form"<?php if ($this->customerHasAddresses()): ?> style="display:none;"<?php endif; ?>>
39
+ <fieldset>
40
+ <input type="hidden" name="billing[address_id]" value="<?php echo $this->getAddress()->getId() ?>" id="billing:address_id" />
41
+ <ul>
42
+ <li class="fields"><?php echo $this->getLayout()->createBlock('customer/widget_name')->setObject($this->getAddress()->getFirstname() ? $this->getAddress() : $this->getQuote()->getCustomer())->setFieldIdFormat('billing:%s')->setFieldNameFormat('billing[%s]')->toHtml() ?></li>
43
+ <li class="fields">
44
+ <div class="field">
45
+ <label for="billing:company"><?php echo $this->__('Company') ?></label>
46
+ <div class="input-box">
47
+ <input type="text" id="billing:company" name="billing[company]" value="<?php echo $this->htmlEscape($this->getAddress()->getCompany()) ?>" title="<?php echo $this->__('Company') ?>" class="input-text" />
48
+ </div>
49
+ </div>
50
+ <?php if(!$this->isCustomerLoggedIn()): ?>
51
+ <div class="field">
52
+ <label for="billing:email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
53
+ <div class="input-box">
54
+ <input type="text" name="billing[email]" id="billing:email" value="<?php echo $this->htmlEscape($this->getAddress()->getEmail()) ?>" title="<?php echo $this->__('Email Address') ?>" class="input-text validate-email required-entry" />
55
+ </div>
56
+ </div>
57
+ <?php endif ?>
58
+ </li>
59
+ <li class="wide">
60
+ <label for="billing:street1" class="required"><em>*</em><?php echo $this->__('Address') ?></label>
61
+ <div class="input-box">
62
+ <input type="text" title="<?php echo $this->__('Street Address') ?>" name="billing[street][]" id="billing:street1" value="<?php echo $this->htmlEscape($this->getAddress()->getStreet(1)) ?>" class="input-text required-entry" />
63
+ </div>
64
+ </li>
65
+ <?php for ($_i=2, $_n=$this->helper('customer/address')->getStreetLines(); $_i<=$_n; $_i++): ?>
66
+ <li class="wide">
67
+ <div class="input-box">
68
+ <input type="text" title="<?php echo $this->__('Street Address %s', $_i) ?>" name="billing[street][]" id="billing:street<?php echo $_i?>" value="<?php echo $this->htmlEscape($this->getAddress()->getStreet($_i)) ?>" class="input-text" />
69
+ </div>
70
+ </li>
71
+ <?php endfor ?>
72
+ <li class="fields">
73
+ <div class="field">
74
+ <label for="billing:city" class="required"><em>*</em><?php echo $this->__('City') ?></label>
75
+ <div class="input-box">
76
+ <input type="text" title="<?php echo $this->__('City') ?>" name="billing[city]" value="<?php echo $this->htmlEscape($this->getAddress()->getCity()) ?>" class="input-text required-entry" id="billing:city" />
77
+ </div>
78
+ </div>
79
+ <div class="field">
80
+ <label for="billing:region_id" class="required"><em>*</em><?php echo $this->__('State/Province') ?></label>
81
+ <div class="input-box">
82
+ <select id="billing:region_id" name="billing[region_id]" title="<?php echo $this->__('State/Province') ?>" class="validate-select" style="display:none;">
83
+ <option value=""><?php echo $this->__('Please select region, state or province') ?></option>
84
+ </select>
85
+ <script type="text/javascript">
86
+ //<![CDATA[
87
+ $('billing:region_id').setAttribute('defaultValue', "<?php echo $this->getAddress()->getRegionId() ?>");
88
+ //]]>
89
+ </script>
90
+ <input type="text" id="billing:region" name="billing[region]" value="<?php echo $this->htmlEscape($this->getAddress()->getRegion()) ?>" title="<?php echo $this->__('State/Province') ?>" class="input-text" style="display:none;" />
91
+ </div>
92
+ </div>
93
+ </li>
94
+ <li class="fields">
95
+ <div class="field">
96
+ <label for="billing:postcode" class="required"><em>*</em><?php echo $this->__('Zip/Postal Code') ?></label>
97
+ <div class="input-box">
98
+ <input type="text" title="<?php echo $this->__('Zip/Postal Code') ?>" name="billing[postcode]" id="billing:postcode" value="<?php echo $this->htmlEscape($this->getAddress()->getPostcode()) ?>" class="input-text validate-zip-international required-entry" />
99
+ </div>
100
+ </div>
101
+ <div class="field">
102
+ <label for="billing:country_id" class="required"><em>*</em><?php echo $this->__('Country') ?></label>
103
+ <div class="input-box">
104
+ <?php echo $this->getCountryHtmlSelect('billing') ?>
105
+ </div>
106
+ </div>
107
+ </li>
108
+ <li class="fields">
109
+ <div class="field">
110
+ <label for="billing:telephone" class="required"><em>*</em><?php echo $this->__('Telephone') ?></label>
111
+ <div class="input-box">
112
+ <input type="text" name="billing[telephone]" value="<?php echo $this->htmlEscape($this->getAddress()->getTelephone()) ?>" title="<?php echo $this->__('Telephone') ?>" class="input-text required-entry" id="billing:telephone" />
113
+ </div>
114
+ </div>
115
+ <div class="field">
116
+ <label for="billing:fax"><?php echo $this->__('Fax') ?></label>
117
+ <div class="input-box">
118
+ <input type="text" name="billing[fax]" value="<?php echo $this->htmlEscape($this->getAddress()->getFax()) ?>" title="<?php echo $this->__('Fax') ?>" class="input-text" id="billing:fax" />
119
+ </div>
120
+ </div>
121
+ </li>
122
+ <?php if(!$this->isCustomerLoggedIn()): ?>
123
+
124
+ <?php $_dob = $this->getLayout()->createBlock('customer/widget_dob') ?>
125
+ <?php $_gender = $this->getLayout()->createBlock('customer/widget_gender') ?>
126
+ <?php if ($_dob->isEnabled() || $_gender->isEnabled()): ?>
127
+ <li class="fields">
128
+ <?php if ($_dob->isEnabled()): ?>
129
+ <div class="field">
130
+ <?php echo $_dob->setDate($this->getQuote()->getCustomerDob())->setFieldIdFormat('billing:%s')->setFieldNameFormat('billing[%s]')->toHtml() ?>
131
+ </div>
132
+ <?php endif; ?>
133
+ <?php if ($_gender->isEnabled()): ?>
134
+ <div class="field">
135
+ <?php echo $_gender->setGender($this->getQuote()->getCustomerGender())->setFieldIdFormat('billing:%s')->setFieldNameFormat('billing[%s]')->toHtml() ?>
136
+ </div>
137
+ <?php endif ?>
138
+ </li>
139
+ <?php endif ?>
140
+
141
+ <?php $_taxvat = $this->getLayout()->createBlock('customer/widget_taxvat') ?>
142
+ <?php if ($_taxvat->isEnabled()): ?>
143
+ <li>
144
+ <?php echo $_taxvat->setTaxvat($this->getQuote()->getCustomerTaxvat())->setFieldIdFormat('billing:%s')->setFieldNameFormat('billing[%s]')->toHtml() ?>
145
+ </li>
146
+ <?php endif ?>
147
+
148
+ <li class="fields" id="register-customer-password">
149
+ <div class="field">
150
+ <label for="billing:customer_password" class="required"><em>*</em><?php echo $this->__('Password') ?></label>
151
+ <div class="input-box">
152
+ <input type="password" name="billing[customer_password]" id="billing:customer_password" title="<?php echo $this->__('Password') ?>" class="input-text required-entry validate-password" />
153
+ </div>
154
+ </div>
155
+ <div class="field">
156
+ <label for="billing:confirm_password" class="required"><em>*</em><?php echo $this->__('Confirm Password') ?></label>
157
+ <div class="input-box">
158
+ <input type="password" name="billing[confirm_password]" title="<?php echo $this->__('Confirm Password') ?>" id="billing:confirm_password" class="input-text required-entry validate-cpassword" />
159
+ </div>
160
+ </div>
161
+ </li>
162
+ <?php endif; ?>
163
+ <?php if ($this->isCustomerLoggedIn() && $this->customerHasAddresses()):?>
164
+ <li class="control">
165
+ <input type="checkbox" name="billing[save_in_address_book]" value="1" title="<?php echo $this->__('Save in address book') ?>" id="billing:save_in_address_book" onchange="if(window.shipping) shipping.setSameAsBilling(false);"<?php if ($this->getAddress()->getSaveInAddressBook()):?> checked="checked"<?php endif;?> class="checkbox" /><label for="billing:save_in_address_book"><?php echo $this->__('Save in address book') ?></label>
166
+ </li>
167
+ <?php else:?>
168
+ <li class="no-display"><input type="hidden" name="billing[save_in_address_book]" value="1" /></li>
169
+ <?php endif; ?>
170
+ </ul>
171
+ </fieldset>
172
+ </li>
173
+ <?php if ($this->canShip()): ?>
174
+ <li class="control">
175
+ <input type="radio" name="billing[use_for_shipping]" id="billing:use_for_shipping_yes" value="1"<?php if ($this->isUseBillingAddressForShipping()) {?> checked="checked"<?php }?> title="<?php echo $this->__('Ship to this address') ?>" onclick="$('shipping:same_as_billing').checked = true;" class="radio" /><label for="billing:use_for_shipping_yes"><?php echo $this->__('Ship to this address') ?></label></li>
176
+ <li class="control">
177
+ <input type="radio" name="billing[use_for_shipping]" id="billing:use_for_shipping_no" value="0"<?php if (!$this->isUseBillingAddressForShipping()) {?> checked="checked"<?php }?> title="<?php echo $this->__('Ship to different address') ?>" onclick="$('shipping:same_as_billing').checked = false;" class="radio" /><label for="billing:use_for_shipping_no"><?php echo $this->__('Ship to different address') ?></label>
178
+ </li>
179
+ <?php endif; ?>
180
+ </ul>
181
+ <?php if (!$this->canShip()): ?>
182
+ <input type="hidden" name="billing[use_for_shipping]" value="1" />
183
+ <?php endif; ?>
184
+ <div class="buttons-set" id="billing-buttons-container">
185
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
186
+ <button type="button" title="<?php echo $this->__('Continue') ?>" class="button" onclick="billing.save()"><span><span><?php echo $this->__('Continue') ?></span></span></button>
187
+ <span class="please-wait" id="billing-please-wait" style="display:none;">
188
+ <img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Loading next step...') ?>" title="<?php echo $this->__('Loading next step...') ?>" class="v-middle" /> <?php echo $this->__('Loading next step...') ?>
189
+ </span>
190
+ </div>
191
+ </fieldset>
192
+ </form>
193
+ <script type="text/javascript">
194
+ //<![CDATA[
195
+ var billing = new Billing('co-billing-form', '<?php echo $this->getUrl('checkout/onepage/getAddress') ?>address/', '<?php echo $this->getUrl('checkout/onepage/saveBilling') ?>');
196
+ var billingForm = new VarienForm('co-billing-form');
197
+
198
+ //billingForm.setElementsRelation('billing:country_id', 'billing:region', '<?php echo $this->getUrl('directory/json/childRegion') ?>', '<?php echo $this->__('Select State/Province...') ?>');
199
+ $('billing-address-select') && billing.newAddress(!$('billing-address-select').value);
200
+
201
+ var billingRegionUpdater = new RegionUpdater('billing:country_id', 'billing:region', 'billing:region_id', countryRegions, undefined, 'billing:postcode');
202
+ //]]>
203
+ </script>
app/design/frontend/default/computer_store/template/checkout/onepage/failure.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) 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
+ <div class="page-title">
28
+ <h1><?php echo $this->__('An error occurred in the process of payment') ?></h1>
29
+ </div>
30
+ <?php if ($this->getRealOrderId()) : ?><p><?php echo $this->__('Order #') . $this->getRealOrderId() ?></p><?php endif ?>
31
+ <?php if ($error = $this->getErrorMessage()) : ?><p><?php echo $error ?></p><?php endif ?>
32
+ <p><?php echo $this->__('Click <a href="%s">here</a> to continue shopping.', $this->getContinueShoppingUrl()) ?></p>
app/design/frontend/default/computer_store/template/checkout/onepage/link.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) 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 if ($this->isPossibleOnepageCheckout()):?>
28
+ <button type="button" title="<?php echo $this->__('Proceed to Checkout') ?>" class="button btn-proceed-checkout btn-checkout<?php if ($this->isDisabled()):?> no-checkout<?php endif; ?>"<?php if ($this->isDisabled()):?> disabled="disabled"<?php endif; ?> onclick="window.location='<?php echo $this->getCheckoutUrl() ?>';"><span><span><?php echo $this->__('Proceed to Checkout') ?></span></span></button>
29
+ <?php endif?>
app/design/frontend/default/computer_store/template/checkout/onepage/login.phtml ADDED
@@ -0,0 +1,120 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ <div class="col2-set">
28
+ <?php echo $this->getChildHtml('login_before')?>
29
+ <div class="col-1">
30
+ <h3><?php if( $this->getQuote()->isAllowedGuestCheckout() ): ?><?php echo $this->__('Checkout as a Guest or Register') ?><?php else: ?><?php echo $this->__('Register to Create an Account') ?><?php endif; ?></h3>
31
+ <?php if( $this->getQuote()->isAllowedGuestCheckout() ): ?>
32
+ <p><?php echo $this->__('Register with us for future convenience:') ?></p>
33
+ <?php else: ?>
34
+ <p><strong><?php echo $this->__('Register and save time!') ?></strong><br />
35
+ <?php echo $this->__('Register with us for future convenience:') ?></p>
36
+ <ul>
37
+ <li><?php echo $this->__('Fast and easy check out') ?></li>
38
+ <li><?php echo $this->__('Easy access to your order history and status') ?></li>
39
+ </ul>
40
+ <?php endif; ?>
41
+ <?php if( $this->getQuote()->isAllowedGuestCheckout() ): ?>
42
+ <ul class="form-list">
43
+ <?php if( $this->getQuote()->isAllowedGuestCheckout() ): ?>
44
+ <li class="control">
45
+ <input type="radio" name="checkout_method" id="login:guest" value="guest"<?php if($this->getQuote()->getCheckoutMethod()==Mage_Checkout_Model_Type_Onepage::METHOD_GUEST): ?> checked="checked"<?php endif; ?> class="radio" /><label for="login:guest"><?php echo $this->__('Checkout as Guest') ?></label>
46
+ </li>
47
+ <?php endif; ?>
48
+ <li class="control">
49
+ <input type="radio" name="checkout_method" id="login:register" value="register"<?php if($this->getQuote()->getCheckoutMethod()==Mage_Checkout_Model_Type_Onepage::METHOD_REGISTER || !$this->getQuote()->isAllowedGuestCheckout()): ?> checked="checked"<?php endif ?> class="radio" /><label for="login:register"><?php echo $this->__('Register') ?></label>
50
+ </li>
51
+ </ul>
52
+ <h4><?php echo $this->__('Register and save time!') ?></h4>
53
+ <p><?php echo $this->__('Register with us for future convenience:') ?></p>
54
+ <ul class="ul">
55
+ <li><?php echo $this->__('Fast and easy check out') ?></li>
56
+ <li><?php echo $this->__('Easy access to your order history and status') ?></li>
57
+ </ul>
58
+ <?php else: ?>
59
+ <input type="hidden" name="checkout_method" id="login:register" value="register" checked="checked" />
60
+ <?php endif; ?>
61
+ </div>
62
+ <div class="col-2">
63
+ <h3><?php echo $this->__('Login') ?></h3>
64
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
65
+ <form id="login-form" action="<?php echo $this->getPostAction() ?>" method="post">
66
+ <fieldset>
67
+ <h4><?php echo $this->__('Already registered?') ?></h4>
68
+ <p><?php echo $this->__('Please log in below:') ?></p>
69
+ <ul class="form-list">
70
+ <li>
71
+ <label for="login-email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
72
+ <div class="input-box">
73
+ <input type="text" class="input-text required-entry validate-email" id="login-email" name="login[username]" value="<?php echo $this->htmlEscape($this->getUsername()) ?>" />
74
+ </div>
75
+ </li>
76
+ <li>
77
+ <label for="login-password" class="required"><em>*</em><?php echo $this->__('Password') ?></label>
78
+ <div class="input-box">
79
+ <input type="password" class="input-text required-entry" id="login-password" name="login[password]" />
80
+ </div>
81
+ </li>
82
+ </ul>
83
+ </fieldset>
84
+ </form>
85
+ </div>
86
+ </div>
87
+ <div class="col2-set">
88
+ <div class="col-1">
89
+ <div class="buttons-set">
90
+ <p class="required">&nbsp;</p>
91
+ <button type="button" class="button" onclick="checkout.setMethod();"><span><span><?php echo ($this->getQuote()->isAllowedGuestCheckout() ? $this->__('Continue') : $this->__('Register')) ?></span></span></button>
92
+ </div>
93
+ </div>
94
+ <div class="col-2">
95
+ <div class="buttons-set">
96
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
97
+ <a href="<?php echo $this->getUrl('customer/account/forgotpassword') ?>" class="f-left"><?php echo $this->__('Forgot your password?') ?></a>
98
+ <button type="submit" class="button" onclick="onepageLogin(this)"><span><span><?php echo $this->__('Login') ?></span></span></button>
99
+ </div>
100
+ </div>
101
+ </div>
102
+ <script type="text/javascript">
103
+ //<![CDATA[
104
+ var loginForm = new VarienForm('login-form', true);
105
+ $('login-email').observe('keypress', bindLoginPost);
106
+ $('login-password').observe('keypress', bindLoginPost);
107
+ function bindLoginPost(evt){
108
+ if (evt.keyCode == Event.KEY_RETURN) {
109
+ loginForm.submit();
110
+ }
111
+ }
112
+ function onepageLogin(button)
113
+ {
114
+ if(loginForm.validator && loginForm.validator.validate()){
115
+ button.disabled = true;
116
+ loginForm.submit();
117
+ }
118
+ }
119
+ //]]>
120
+ </script>
app/design/frontend/default/computer_store/template/checkout/onepage/payment.phtml ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ <script type="text/javascript">
28
+ //<![CDATA[
29
+ var quoteBaseGrandTotal = <?php echo (float)$this->getQuoteBaseGrandTotal(); ?>;
30
+ var checkQuoteBaseGrandTotal = quoteBaseGrandTotal;
31
+ var payment = new Payment('co-payment-form', '<?php echo $this->getUrl('checkout/onepage/savePayment') ?>');
32
+ var lastPrice;
33
+ //]]>
34
+ </script>
35
+ <form action="" id="co-payment-form">
36
+ <fieldset>
37
+ <?php echo $this->getChildHtml('methods') ?>
38
+ </fieldset>
39
+ </form>
40
+ <div class="tool-tip" id="payment-tool-tip" style="display:none;">
41
+ <div class="btn-close"><a href="#" id="payment-tool-tip-close" title="<?php echo $this->__('Close') ?>"><?php echo $this->__('Close') ?></a></div>
42
+ <div class="tool-tip-content"><img src="<?php echo $this->getSkinUrl('images/cvv.gif') ?>" alt="<?php echo $this->__('Card Verification Number Visual Reference') ?>" title="<?php echo $this->__('Card Verification Number Visual Reference') ?>" /></div>
43
+ </div>
44
+ <div class="buttons-set" id="payment-buttons-container">
45
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
46
+ <p class="back-link"><a href="#" onclick="checkout.back(); return false;"><small>&laquo; </small><?php echo $this->__('Back') ?></a></p>
47
+ <button type="button" class="button" onclick="payment.save()"><span><span><?php echo $this->__('Continue') ?></span></span></button>
48
+ <span class="please-wait" id="payment-please-wait" style="display:none;">
49
+ <img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Loading next step...') ?>" title="<?php echo $this->__('Loading next step...') ?>" class="v-middle" /> <?php echo $this->__('Loading next step...') ?>
50
+ </span>
51
+ </div>
52
+ <script type="text/javascript">
53
+ //<![CDATA[
54
+ function toggleToolTip(event){
55
+ if($('payment-tool-tip')){
56
+ $('payment-tool-tip').setStyle({
57
+ top: (Event.pointerY(event)-560)+'px'//,
58
+ //left: (Event.pointerX(event)+100)+'px'
59
+ })
60
+ $('payment-tool-tip').toggle();
61
+ }
62
+ Event.stop(event);
63
+ }
64
+ if($('payment-tool-tip-close')){
65
+ Event.observe($('payment-tool-tip-close'), 'click', toggleToolTip);
66
+ }
67
+ //]]>
68
+ </script>
69
+ <script type="text/javascript">
70
+ //<![CDATA[
71
+ payment.currentMethod = "<?php echo $this->getChild('methods')->getSelectedMethodCode() ?>";
72
+ //]]>
73
+ </script>
app/design/frontend/default/computer_store/template/checkout/onepage/payment/methods.phtml ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ * One page checkout payment methods
30
+ *
31
+ * @see Mage_Checkout_Block_Onepage_Payment_Methods
32
+ */
33
+ ?>
34
+ <dl class="sp-methods" id="checkout-payment-method-load">
35
+ <?php
36
+ $methods = $this->getMethods();
37
+ $oneMethod = count($methods) <= 1;
38
+ ?>
39
+ <?php
40
+ foreach ($methods as $_method):
41
+ $_code = $_method->getCode();
42
+ ?>
43
+ <dt>
44
+ <?php if(!$oneMethod): ?>
45
+ <input id="p_method_<?php echo $_code ?>" value="<?php echo $_code ?>" type="radio" name="payment[method]" title="<?php echo $this->htmlEscape($_method->getTitle()) ?>" onclick="payment.switchMethod('<?php echo $_code ?>')"<?php if($this->getSelectedMethodCode()==$_code): ?> checked="checked"<?php endif; ?> class="radio" />
46
+ <?php else: ?>
47
+ <span class="no-display"><input id="p_method_<?php echo $_code ?>" value="<?php echo $_code ?>" type="radio" name="payment[method]" checked="checked" class="radio" /></span>
48
+ <?php $oneMethod = $_code; ?>
49
+ <?php endif; ?>
50
+ <label for="p_method_<?php echo $_code ?>"><?php echo $this->getMethodTitle($_method) ?> <?php echo $this->getMethodLabelAfterHtml($_method) ?></label>
51
+ </dt>
52
+ <?php if ($html = $this->getPaymentMethodFormHtml($_method)): ?>
53
+ <dd>
54
+ <?php echo $html; ?>
55
+ </dd>
56
+ <?php endif; ?>
57
+ <?php endforeach; ?>
58
+ </dl>
59
+ <?php echo $this->getChildChildHtml('additional'); ?>
60
+ <script type="text/javascript">
61
+ //<![CDATA[
62
+ <?php echo $this->getChildChildHtml('scripts'); ?>
63
+ payment.init();
64
+ <?php if (is_string($oneMethod)): ?>
65
+ payment.switchMethod('<?php echo $oneMethod ?>');
66
+ <?php endif; ?>
67
+ //]]>
68
+ </script>
app/design/frontend/default/computer_store/template/checkout/onepage/progress.phtml ADDED
@@ -0,0 +1,115 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ <div class="block block-progress opc-block-progress">
28
+ <div class="block-title">
29
+ <strong><span><?php echo $this->__('Your Checkout Progress') ?></span></strong>
30
+ </div>
31
+ <div class="block-content">
32
+ <dl>
33
+ <?php if ($this->getCheckout()->getStepData('billing', 'is_show')): ?>
34
+ <?php if($this->getCheckout()->getStepData('billing', 'complete')): ?>
35
+ <dt class="complete">
36
+ <?php echo $this->__('Billing Address') ?> <span class="separator">|</span> <a href="#billing" onclick="checkout.accordion.openSection('opc-billing'); return false;"><?php echo $this->__('Change') ?></a>
37
+ </dt>
38
+ <dd class="complete">
39
+ <address><?php echo $this->getBilling()->format('html') ?></address>
40
+ </dd>
41
+ <?php else: ?>
42
+ <dt>
43
+ <?php echo $this->__('Billing Address') ?>
44
+ </dt>
45
+ <?php endif; ?>
46
+ <?php endif; ?>
47
+
48
+ <?php if ($this->getCheckout()->getStepData('shipping', 'is_show')): ?>
49
+ <?php if($this->getCheckout()->getStepData('shipping', 'complete')): ?>
50
+ <dt class="complete">
51
+ <?php echo $this->__('Shipping Address') ?> <span class="separator">|</span> <a href="#payment" onclick="checkout.accordion.openSection('opc-shipping');return false;"><?php echo $this->__('Change') ?></a>
52
+ </dt>
53
+ <dd class="complete">
54
+ <address><?php echo $this->getShipping()->format('html') ?></address>
55
+ </dd>
56
+ <?php else: ?>
57
+ <dt>
58
+ <?php echo $this->__('Shipping Address') ?>
59
+ </dt>
60
+ <?php endif; ?>
61
+ <?php endif; ?>
62
+
63
+ <?php if ($this->getCheckout()->getStepData('shipping_method', 'is_show')): ?>
64
+ <?php if($this->getCheckout()->getStepData('shipping_method', 'complete')): ?>
65
+ <dt class="complete">
66
+ <?php echo $this->__('Shipping Method') ?> <span class="separator">|</span> <a href="#shipping_method" onclick="checkout.accordion.openSection('opc-shipping_method'); return false;"><?php echo $this->__('Change') ?></a>
67
+ </dt>
68
+ <dd class="complete">
69
+ <?php if ($this->getShippingMethod()): ?>
70
+ <?php echo $this->getShippingDescription() ?>
71
+
72
+ <?php $_excl = $this->getShippingPriceExclTax(); ?>
73
+ <?php $_incl = $this->getShippingPriceInclTax(); ?>
74
+ <?php if ($this->helper('tax')->displayShippingPriceIncludingTax()): ?>
75
+ <?php echo $_incl; ?>
76
+ <?php else: ?>
77
+ <?php echo $_excl; ?>
78
+ <?php endif; ?>
79
+ <?php if ($this->helper('tax')->displayShippingBothPrices() && $_incl != $_excl): ?>
80
+ (<?php echo $this->__('Incl. Tax'); ?> <?php echo $_incl; ?>)
81
+ <?php endif; ?>
82
+
83
+ <?php else: ?>
84
+ <?php echo $this->__('Shipping method has not been selected yet') ?>
85
+ <?php endif; ?>
86
+ </dd>
87
+ <?php else: ?>
88
+ <dt>
89
+ <?php echo $this->__('Shipping Method') ?>
90
+ </dt>
91
+ <?php endif; ?>
92
+ <?php endif; ?>
93
+
94
+ <?php if ($this->getCheckout()->getStepData('payment', 'is_show')): ?>
95
+ <?php if($this->getCheckout()->getStepData('payment', 'complete')): ?>
96
+ <dt class="complete">
97
+ <?php echo $this->__('Payment Method') ?> <span class="separator">|</span> <a href="#payment" onclick="checkout.accordion.openSection('opc-payment'); return false;"><?php echo $this->__('Change') ?></a>
98
+ </dt>
99
+ <dd class="complete">
100
+ <?php echo $this->getPaymentHtml() ?>
101
+ </dd>
102
+ <?php else: ?>
103
+ <dt>
104
+ <?php echo $this->__('Payment Method') ?>
105
+ </dt>
106
+ <?php endif; ?>
107
+ <?php endif; ?>
108
+ </dl>
109
+ </div>
110
+ <div class="bot-site">
111
+ <div class="right-corner">
112
+ <div class="stretched layer"> </div>
113
+ </div>
114
+ </div>
115
+ </div>
app/design/frontend/default/computer_store/template/checkout/onepage/review.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) 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
+ <div class="order-review" id="checkout-review-load">
28
+ <?php echo $this->getChildHtml('info') ?>
29
+ </div>
app/design/frontend/default/computer_store/template/checkout/onepage/review/button.phtml ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 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
+ <button type="submit" title="<?php echo $this->__('Place Order') ?>" class="button btn-checkout" onclick="review.save();"><span><span><?php echo $this->__('Place Order') ?></span></span></button>
app/design/frontend/default/computer_store/template/checkout/onepage/review/info.phtml ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 echo $this->getChildHtml('items_before'); ?>
28
+ <div id="checkout-review-table-wrapper">
29
+ <table class="data-table" id="checkout-review-table">
30
+ <?php if ($this->helper('tax')->displayCartBothPrices()): $colspan = $rowspan = 2; else: $colspan = $rowspan = 1; endif; ?>
31
+ <col />
32
+ <col width="1" />
33
+ <col width="1" />
34
+ <col width="1" />
35
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
36
+ <col width="1" />
37
+ <col width="1" />
38
+ <?php endif; ?>
39
+ <thead>
40
+ <tr>
41
+ <th rowspan="<?php echo $rowspan ?>"><?php echo $this->__('Product Name') ?></th>
42
+ <th colspan="<?php echo $colspan ?>" class="a-center"><?php echo $this->__('Price') ?></th>
43
+ <th rowspan="<?php echo $rowspan ?>" class="a-center"><?php echo $this->__('Qty') ?></th>
44
+ <th colspan="<?php echo $colspan ?>" class="a-center"><?php echo $this->__('Subtotal') ?></th>
45
+ </tr>
46
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
47
+ <tr>
48
+ <th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
49
+ <th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
50
+ <th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
51
+ <th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
52
+ </tr>
53
+ <?php endif; ?>
54
+ </thead>
55
+ <?php echo $this->getChildHtml('totals'); ?>
56
+ <tbody>
57
+ <?php foreach($this->getItems() as $_item): ?>
58
+ <?php echo $this->getItemHtml($_item)?>
59
+ <?php endforeach ?>
60
+ </tbody>
61
+ </table>
62
+ </div>
63
+ <?php echo $this->getChildHtml('items_after'); ?>
64
+ <script type="text/javascript">
65
+ //<![CDATA[
66
+ decorateTable('checkout-review-table');
67
+ truncateOptions();
68
+ //]]>
69
+ </script>
70
+ <div id="checkout-review-submit">
71
+ <?php echo $this->getChildHtml('agreements') ?>
72
+ <div class="buttons-set" id="review-buttons-container">
73
+ <p class="f-left"><?php echo $this->__('Forgot an Item?') ?> <a href="<?php echo $this->getUrl('checkout/cart') ?>"><?php echo $this->__('Edit Your Cart') ?></a></p>
74
+ <?php echo $this->getChildHtml('button') ?>
75
+ <span class="please-wait" id="review-please-wait" style="display:none;">
76
+ <img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Submitting order information...') ?>" title="<?php echo $this->__('Submitting order information...') ?>" class="v-middle" /> <?php echo $this->__('Submitting order information...') ?>
77
+ </span>
78
+ </div>
79
+ <script type="text/javascript">
80
+ //<![CDATA[
81
+ review = new Review('<?php echo $this->getUrl('checkout/onepage/saveOrder') ?>', '<?php echo $this->getUrl('checkout/onepage/success') ?>', $('checkout-agreements'));
82
+ //]]>
83
+ </script>
84
+ </div>
app/design/frontend/default/computer_store/template/checkout/onepage/review/item.phtml ADDED
@@ -0,0 +1,239 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 $_item = $this->getItem()?>
28
+ <tr>
29
+ <td><h3 class="product-name"><?php echo $this->htmlEscape($this->getProductName()) ?></h3>
30
+ <?php if ($_options = $this->getOptionList()):?>
31
+ <dl class="item-options">
32
+ <?php foreach ($_options as $_option) : ?>
33
+ <?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
34
+ <dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
35
+ <dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>><?php echo $_formatedOptionValue['value'] ?>
36
+ <?php if (isset($_formatedOptionValue['full_view'])): ?>
37
+ <div class="truncated_full_value">
38
+ <dl class="item-options">
39
+ <dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
40
+ <dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
41
+ </dl>
42
+ </div>
43
+ <?php endif; ?>
44
+ </dd>
45
+ <?php endforeach; ?>
46
+ </dl>
47
+ <?php endif;?>
48
+ <?php if ($addtInfoBlock = $this->getProductAdditionalInformationBlock()):?>
49
+ <?php echo $addtInfoBlock->setItem($_item)->toHtml() ?>
50
+ <?php endif;?>
51
+ </td>
52
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
53
+ <td class="a-right">
54
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
55
+ <span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
56
+ <?php else: ?>
57
+ <span class="cart-price">
58
+ <?php endif; ?>
59
+
60
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
61
+ <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?>
62
+ <?php else: ?>
63
+ <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
64
+ <?php endif; ?>
65
+
66
+ </span>
67
+
68
+
69
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
70
+
71
+ <div class="cart-tax-info" id="eunit-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
72
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
73
+ <small>
74
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
75
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
76
+ <?php endforeach; ?>
77
+ </small>
78
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
79
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
80
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
81
+ <?php endforeach; ?>
82
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
83
+ <small>
84
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
85
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
86
+ <?php endforeach; ?>
87
+ </small>
88
+ <?php endif; ?>
89
+ </div>
90
+
91
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
92
+ <div class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
93
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?></span>
94
+ </div>
95
+ <?php endif; ?>
96
+ <?php endif; ?>
97
+ </td>
98
+ <?php endif; ?>
99
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
100
+ <td>
101
+ <?php $_incl = $this->helper('checkout')->getPriceInclTax($_item); ?>
102
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
103
+ <span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
104
+ <?php else: ?>
105
+ <span class="cart-price">
106
+ <?php endif; ?>
107
+
108
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
109
+ <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedAmount()); ?>
110
+ <?php else: ?>
111
+ <?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxDisposition()) ?>
112
+ <?php endif; ?>
113
+
114
+ </span>
115
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
116
+
117
+ <div class="cart-tax-info" id="unit-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
118
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
119
+ <small>
120
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
121
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
122
+ <?php endforeach; ?>
123
+ </small>
124
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
125
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
126
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
127
+ <?php endforeach; ?>
128
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
129
+ <small>
130
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
131
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
132
+ <?php endforeach; ?>
133
+ </small>
134
+ <?php endif; ?>
135
+ </div>
136
+
137
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
138
+ <div class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
139
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedAmount()); ?></span>
140
+ </div>
141
+ <?php endif; ?>
142
+ <?php endif; ?>
143
+ </td>
144
+ <?php endif; ?>
145
+ <td class="a-center"><?php echo $_item->getQty() ?></td>
146
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
147
+ <td class="a-right">
148
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
149
+ <span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
150
+ <?php else: ?>
151
+ <span class="cart-price">
152
+ <?php endif; ?>
153
+
154
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
155
+ <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?>
156
+ <?php else: ?>
157
+ <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?>
158
+ <?php endif; ?>
159
+
160
+ </span>
161
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
162
+
163
+ <div class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
164
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
165
+ <small>
166
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
167
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span><br />
168
+ <?php endforeach; ?>
169
+ </small>
170
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
171
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
172
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
173
+ <?php endforeach; ?>
174
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
175
+ <small>
176
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
177
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
178
+ <?php endforeach; ?>
179
+ </small>
180
+ <?php endif; ?>
181
+ </div>
182
+
183
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
184
+ <div class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
185
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?></span>
186
+ </div>
187
+ <?php endif; ?>
188
+ <?php endif; ?>
189
+ </td>
190
+ <?php endif; ?>
191
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
192
+ <td>
193
+ <?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
194
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
195
+ <span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
196
+ <?php else: ?>
197
+ <span class="cart-price">
198
+ <?php endif; ?>
199
+
200
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
201
+ <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?>
202
+ <?php else: ?>
203
+ <?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxRowDisposition()) ?>
204
+ <?php endif; ?>
205
+
206
+ </span>
207
+
208
+
209
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
210
+
211
+ <div class="cart-tax-info" id="subtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
212
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
213
+ <small>
214
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
215
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span><br />
216
+ <?php endforeach; ?>
217
+ </small>
218
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
219
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
220
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
221
+ <?php endforeach; ?>
222
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
223
+ <small>
224
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
225
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
226
+ <?php endforeach; ?>
227
+ </small>
228
+ <?php endif; ?>
229
+ </div>
230
+
231
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
232
+ <div class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
233
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?></span>
234
+ </div>
235
+ <?php endif; ?>
236
+ <?php endif; ?>
237
+ </td>
238
+ <?php endif; ?>
239
+ </tr>
app/design/frontend/default/computer_store/template/checkout/onepage/review/totals.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) 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
+ /**
28
+ * @see Mage_Checkout_Block_Cart_Totals
29
+ */
30
+ ?>
31
+ <?php if ($this->getTotals()): ?>
32
+ <tfoot>
33
+ <?php $_colspan = $this->helper('tax')->displayCartBothPrices() ? 5 : 3; ?>
34
+ <?php echo $this->renderTotals(null, $_colspan); ?>
35
+ <?php echo $this->renderTotals('footer', $_colspan); ?>
36
+ <?php if ($this->needDisplayBaseGrandtotal()):?>
37
+ <tr>
38
+ <td class="a-right" colspan="<?php echo $_colspan; ?>">
39
+ <small><?php echo $this->helper('sales')->__('Your credit card will be charged for') ?></small>
40
+ </td>
41
+ <td class="a-right">
42
+ <small><?php echo $this->displayBaseGrandtotal() ?></small>
43
+ </td>
44
+ </tr>
45
+ <?php endif?>
46
+ </tfoot>
47
+ <?php endif; ?>
app/design/frontend/default/computer_store/template/checkout/onepage/shipping.phtml ADDED
@@ -0,0 +1,154 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ <form action="" id="co-shipping-form">
28
+ <ul class="form-list">
29
+ <?php if ($this->customerHasAddresses()): ?>
30
+ <li class="wide">
31
+ <label for="shipping-address-select"><?php echo $this->__('Select a shipping address from your address book or enter a new address.') ?></label>
32
+ <div class="input-box">
33
+ <?php echo $this->getAddressesHtmlSelect('shipping') ?>
34
+ </div>
35
+ </li>
36
+ <?php endif ?>
37
+ <li id="shipping-new-address-form"<?php if ($this->customerHasAddresses()): ?> style="display:none;"<?php endif ?>>
38
+ <fieldset>
39
+ <input type="hidden" name="shipping[address_id]" value="<?php echo $this->getAddress()->getId() ?>" id="shipping:address_id" />
40
+ <ul>
41
+ <li class="fields"><?php echo $this->getLayout()->createBlock('customer/widget_name')->setObject($this->getAddress())->setFieldIdFormat('shipping:%s')->setFieldNameFormat('shipping[%s]')->setFieldParams('onchange="shipping.setSameAsBilling(false)"')->toHtml() ?></li>
42
+ <li class="fields">
43
+ <div class="fields">
44
+ <label for="shipping:company"><?php echo $this->__('Company') ?></label>
45
+ <div class="input-box">
46
+ <input type="text" id="shipping:company" name="shipping[company]" value="<?php echo $this->htmlEscape($this->getAddress()->getCompany()) ?>" title="<?php echo $this->__('Company') ?>" class="input-text" onchange="shipping.setSameAsBilling(false);" />
47
+ </div>
48
+ </div>
49
+ <?php if(false): ?>
50
+ <div class="fields">
51
+ <label for="shipping:email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
52
+ <div class="input-box">
53
+ <input type="text" name="shipping[email]" id="shipping:email" value="<?php echo $this->htmlEscape($this->getAddress()->getEmail()) ?>" title="<?php echo $this->__('Email Address') ?>" class="input-text validate-email required-entry" />
54
+ </div>
55
+ </div>
56
+ <?php endif ?>
57
+ </li>
58
+ <li class="wide">
59
+ <label for="shipping:street1" class="required"><em>*</em><?php echo $this->__('Address') ?></label>
60
+ <div class="input-box">
61
+ <input type="text" title="<?php echo $this->__('Street Address') ?>" name="shipping[street][]" id="shipping:street1" value="<?php echo $this->htmlEscape($this->getAddress()->getStreet(1)) ?>" class="input-text required-entry" onchange="shipping.setSameAsBilling(false);" />
62
+ </div>
63
+ </li>
64
+ <?php for ($_i=2, $_n=$this->helper('customer/address')->getStreetLines(); $_i<=$_n; $_i++): ?>
65
+ <li class="wide">
66
+ <div class="input-box">
67
+ <input type="text" title="<?php echo $this->__('Street Address %s', $_i) ?>" name="shipping[street][]" id="shipping:street<?php echo $_i?>" value="<?php echo $this->htmlEscape($this->getAddress()->getStreet($_i)) ?>" class="input-text" onchange="shipping.setSameAsBilling(false);" />
68
+ </div>
69
+ </li>
70
+ <?php endfor ?>
71
+ <li class="fields">
72
+ <div class="field">
73
+ <label for="shipping:city" class="required"><em>*</em><?php echo $this->__('City') ?></label>
74
+ <div class="input-box">
75
+ <input type="text" title="<?php echo $this->__('City') ?>" name="shipping[city]" value="<?php echo $this->htmlEscape($this->getAddress()->getCity()) ?>" class="input-text required-entry" id="shipping:city" onchange="shipping.setSameAsBilling(false);" />
76
+ </div>
77
+ </div>
78
+ <div class="field">
79
+ <label for="shipping:region" class="required"><em>*</em><?php echo $this->__('State/Province') ?></label>
80
+ <div class="input-box">
81
+ <select id="shipping:region_id" name="shipping[region_id]" title="<?php echo $this->__('State/Province') ?>" class="validate-select" style="display:none;">
82
+ <option value=""><?php echo $this->__('Please select region, state or province') ?></option>
83
+ </select>
84
+ <script type="text/javascript">
85
+ //<![CDATA[
86
+ $('shipping:region_id').setAttribute('defaultValue', "<?php echo $this->getAddress()->getRegionId() ?>");
87
+ //]]>
88
+ </script>
89
+ <input type="text" id="shipping:region" name="shipping[region]" value="<?php echo $this->htmlEscape($this->getAddress()->getRegion()) ?>" title="<?php echo $this->__('State/Province') ?>" class="input-text" style="display:none;" />
90
+ </div>
91
+ </div>
92
+ </li>
93
+ <li class="fields">
94
+ <div class="field">
95
+ <label for="shipping:postcode" class="required"><em>*</em><?php echo $this->__('Zip/Postal Code') ?></label>
96
+ <div class="input-box">
97
+ <input type="text" title="<?php echo $this->__('Zip/Postal Code') ?>" name="shipping[postcode]" id="shipping:postcode" value="<?php echo $this->htmlEscape($this->getAddress()->getPostcode()) ?>" class="input-text validate-zip-international required-entry" onchange="shipping.setSameAsBilling(false);" />
98
+ </div>
99
+ </div>
100
+ <div class="field">
101
+ <label for="shipping:country_id" class="required"><em>*</em><?php echo $this->__('Country') ?></label>
102
+ <div class="input-box">
103
+ <?php echo $this->getCountryHtmlSelect('shipping') ?>
104
+ </div>
105
+ </div>
106
+ </li>
107
+ <li class="fields">
108
+ <div class="field">
109
+ <label for="shipping:telephone" class="required"><em>*</em><?php echo $this->__('Telephone') ?></label>
110
+ <div class="input-box">
111
+ <input type="text" name="shipping[telephone]" value="<?php echo $this->htmlEscape($this->getAddress()->getTelephone()) ?>" title="<?php echo $this->__('Telephone') ?>" class="input-text required-entry" id="shipping:telephone" onchange="shipping.setSameAsBilling(false);" />
112
+ </div>
113
+ </div>
114
+ <div class="field">
115
+ <label for="shipping:fax"><?php echo $this->__('Fax') ?></label>
116
+ <div class="input-box">
117
+ <input type="text" name="shipping[fax]" value="<?php echo $this->htmlEscape($this->getAddress()->getFax()) ?>" title="<?php echo $this->__('Fax') ?>" class="input-text" id="shipping:fax" onchange="shipping.setSameAsBilling(false);" />
118
+ </div>
119
+ </div>
120
+ </li>
121
+ <?php if ($this->isCustomerLoggedIn() && $this->customerHasAddresses()):?>
122
+ <li class="control">
123
+ <input type="checkbox" name="shipping[save_in_address_book]" value="1" title="<?php echo $this->__('Save in address book') ?>" id="shipping:save_in_address_book" onchange="shipping.setSameAsBilling(false);"<?php if ($this->getAddress()->getSaveInAddressBook()):?> checked="checked"<?php endif;?> class="checkbox" /><label for="shipping:save_in_address_book"><?php echo $this->__('Save in address book') ?></label></li>
124
+ <?php else:?>
125
+ <li class="no-display"><input type="hidden" name="shipping[save_in_address_book]" value="1" /></li>
126
+ <?php endif;?>
127
+ </ul>
128
+ </fieldset>
129
+ </li>
130
+ <li class="control">
131
+ <input type="checkbox" name="shipping[same_as_billing]" id="shipping:same_as_billing" value="1"<?php if($this->getAddress()->getSameAsBilling()): ?> checked="checked"<?php endif; ?> title="<?php echo $this->__('Use Billing Address') ?>" onclick="shipping.setSameAsBilling(this.checked)" class="checkbox" /><label for="shipping:same_as_billing"><?php echo $this->__('Use Billing Address') ?></label>
132
+ </li>
133
+ </ul>
134
+ <div class="buttons-set" id="shipping-buttons-container">
135
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
136
+ <p class="back-link"><a href="#" onclick="checkout.back(); return false;"><small>&laquo; </small><?php echo $this->__('Back') ?></a></p>
137
+ <button type="button" class="button" title="<?php echo $this->__('Continue') ?>" onclick="shipping.save()"><span><span><?php echo $this->__('Continue') ?></span></span></button>
138
+ <span id="shipping-please-wait" class="please-wait" style="display:none;">
139
+ <img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Loading next step...') ?>" title="<?php echo $this->__('Loading next step...') ?>" class="v-middle" /> <?php echo $this->__('Loading next step...') ?>
140
+ </span>
141
+ </div>
142
+ </form>
143
+ <script type="text/javascript">
144
+ //<![CDATA[
145
+ var shipping = new Shipping('co-shipping-form', '<?php echo $this->getUrl('checkout/onepage/getAddress') ?>address/', '<?php echo $this->getUrl('checkout/onepage/saveShipping') ?>',
146
+ '<?php echo $this->getUrl('checkout/onepage/shippingMethod') ?>');
147
+ var shippingForm = new VarienForm('co-shipping-form');
148
+ shippingForm.extraChildParams = ' onchange="shipping.setSameAsBilling(false);"';
149
+ //shippingForm.setElementsRelation('shipping:country_id', 'shipping:region', '<?php echo $this->getUrl('directory/json/childRegion') ?>', '<?php echo $this->__('Select State/Province...') ?>');
150
+ $('shipping-address-select') && shipping.newAddress(!$('shipping-address-select').value);
151
+
152
+ var shippingRegionUpdater = new RegionUpdater('shipping:country_id', 'shipping:region', 'shipping:region_id', countryRegions, undefined, 'shipping:postcode');
153
+ //]]>
154
+ </script>
app/design/frontend/default/computer_store/template/checkout/onepage/shipping_method.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) 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
+ <form id="co-shipping-method-form" action="">
28
+ <div id="checkout-shipping-method-load">
29
+ <?php echo $this->getChildHtml('available') ?>
30
+ </div>
31
+ <script type="text/javascript">
32
+ //<![CDATA[
33
+ var shippingMethod = new ShippingMethod('co-shipping-method-form', "<?php echo $this->getUrl('checkout/onepage/saveShippingMethod') ?>");
34
+ //]]>
35
+ </script>
36
+ <div id="onepage-checkout-shipping-method-additional-load">
37
+ <?php echo $this->getChildHtml('additional') ?>
38
+ </div>
39
+ <div class="buttons-set" id="shipping-method-buttons-container">
40
+ <p class="back-link"><a href="#" onclick="checkout.back(); return false;"><small>&laquo; </small><?php echo $this->__('Back') ?></a></p>
41
+ <button type="button" class="button" onclick="shippingMethod.save()"><span><span><?php echo $this->__('Continue') ?></span></span></button>
42
+ <span id="shipping-method-please-wait" class="please-wait" style="display:none;">
43
+ <img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Loading next step...') ?>" title="<?php echo $this->__('Loading next step...') ?>" class="v-middle" /> <?php echo $this->__('Loading next step...') ?>
44
+ </span>
45
+ </div>
46
+ </form>
app/design/frontend/default/computer_store/template/checkout/onepage/shipping_method/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) 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 if (!$this->getQuote()->isVirtual()): ?>
28
+ <?php echo $this->helper('giftmessage/message')->getInline('onepage_checkout', $this->getQuote(), $this->getDontDisplayContainer()) ?>
29
+ <?php endif; ?>
app/design/frontend/default/computer_store/template/checkout/onepage/shipping_method/available.phtml ADDED
@@ -0,0 +1,99 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 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 if (!($_shippingRateGroups = $this->getShippingRates())): ?>
28
+ <p><?php echo $this->__('Sorry, no quotes are available for this order at this time.') ?></p>
29
+ <?php else: ?>
30
+ <dl class="sp-methods">
31
+ <?php $shippingCodePrice = array(); ?>
32
+ <?php $_sole = count($_shippingRateGroups) == 1; foreach ($_shippingRateGroups as $code => $_rates): ?>
33
+ <dt><?php echo $this->getCarrierName($code) ?></dt>
34
+ <dd>
35
+ <ul>
36
+ <?php $_sole = $_sole && count($_rates) == 1; foreach ($_rates as $_rate): ?>
37
+ <?php $shippingCodePrice[] = "'".$_rate->getCode()."':".(float)$_rate->getPrice(); ?>
38
+ <li>
39
+ <?php if ($_rate->getErrorMessage()): ?>
40
+ <ul class="messages"><li class="error-msg"><ul><li><?php echo $_rate->getErrorMessage() ?></li></ul></li></ul>
41
+ <?php else: ?>
42
+ <?php if ($_sole) : ?>
43
+ <span class="no-display"><input name="shipping_method" type="radio" value="<?php echo $_rate->getCode() ?>" id="s_method_<?php echo $_rate->getCode() ?>" checked="checked" /></span>
44
+ <?php else: ?>
45
+ <input name="shipping_method" type="radio" value="<?php echo $_rate->getCode() ?>" id="s_method_<?php echo $_rate->getCode() ?>"<?php if($_rate->getCode()===$this->getAddressShippingMethod()) echo ' checked="checked"' ?> class="radio"/>
46
+
47
+ <?php if ($_rate->getCode() === $this->getAddressShippingMethod()): ?>
48
+ <script type="text/javascript">
49
+ //<![CDATA[
50
+ lastPrice = <?php echo (float)$_rate->getPrice(); ?>;
51
+ //]]>
52
+ </script>
53
+ <?php endif; ?>
54
+
55
+ <?php endif; ?>
56
+ <label for="s_method_<?php echo $_rate->getCode() ?>"><?php echo $_rate->getMethodTitle() ?>
57
+ <?php $_excl = $this->getShippingPrice($_rate->getPrice(), $this->helper('tax')->displayShippingPriceIncludingTax()); ?>
58
+ <?php $_incl = $this->getShippingPrice($_rate->getPrice(), true); ?>
59
+ <?php echo $_excl; ?>
60
+ <?php if ($this->helper('tax')->displayShippingBothPrices() && $_incl != $_excl): ?>
61
+ (<?php echo $this->__('Incl. Tax'); ?> <?php echo $_incl; ?>)
62
+ <?php endif; ?>
63
+ </label>
64
+ <?php endif ?>
65
+ </li>
66
+ <?php endforeach; ?>
67
+ </ul>
68
+ </dd>
69
+ <?php endforeach; ?>
70
+ </dl>
71
+ <script type="text/javascript">
72
+ //<![CDATA[
73
+ <?php if (!empty($shippingCodePrice)): ?>
74
+ var shippingCodePrice = {<?php echo implode(',',$shippingCodePrice); ?>};
75
+ <?php endif; ?>
76
+
77
+ $$('input[type="radio"][name="shipping_method"]').each(function(el){
78
+ Event.observe(el, 'click', function(){
79
+ if (el.checked == true) {
80
+ var getShippingCode = el.getValue();
81
+ <?php if (!empty($shippingCodePrice)): ?>
82
+ var newPrice = shippingCodePrice[getShippingCode];
83
+ if (!lastPrice) {
84
+ lastPrice = newPrice;
85
+ quoteBaseGrandTotal += newPrice;
86
+ }
87
+ if (newPrice != lastPrice) {
88
+ quoteBaseGrandTotal += (newPrice-lastPrice);
89
+ lastPrice = newPrice;
90
+ }
91
+ <?php endif; ?>
92
+ checkQuoteBaseGrandTotal = quoteBaseGrandTotal;
93
+ return false;
94
+ }
95
+ });
96
+ });
97
+ //]]>
98
+ </script>
99
+ <?php endif; ?>
app/design/frontend/default/computer_store/template/checkout/success.phtml ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ <div class="page-title">
28
+ <h1><?php echo $this->__('Your order has been received') ?></h1>
29
+ </div>
30
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
31
+ <h2 class="sub-title"><?php echo $this->__('Thank you for your purchase!') ?></h2>
32
+
33
+ <?php if ($this->getOrderId()):?>
34
+ <?php if ($this->getCanViewOrder()) :?>
35
+ <p><?php echo $this->__('Your order # is: %s.', sprintf('<a href="%s">%s</a>', $this->escapeHtml($this->getViewOrderUrl()), $this->escapeHtml($this->getOrderId()))) ?></p>
36
+ <?php else :?>
37
+ <p><?php echo $this->__('Your order # is: %s.', $this->escapeHtml($this->getOrderId())) ?></p>
38
+ <?php endif;?>
39
+ <p><?php echo $this->__('You will receive an order confirmation email with details of your order and a link to track its progress.') ?></p>
40
+ <?php if ($this->getCanViewOrder() && $this->getCanPrintOrder()) :?>
41
+ <p>
42
+ <?php echo $this->__('Click <a href="%s" onclick="this.target=\'_blank\'">here to print</a> a copy of your order confirmation.', $this->getPrintUrl()) ?>
43
+ <?php echo $this->getChildHtml() ?>
44
+ </p>
45
+ <?php endif;?>
46
+ <?php endif;?>
47
+
48
+ <?php if ($this->getAgreementRefId()): ?>
49
+ <p><?php echo $this->__('Your billing agreement # is: %s.', sprintf('<a href="%s">%s</a>', $this->escapeHtml($this->getAgreementUrl()), $this->escapeHtml($this->getAgreementRefId())))?></p>
50
+ <?php endif;?>
51
+
52
+ <?php if ($profiles = $this->getRecurringProfiles()):?>
53
+ <p><?php echo $this->__('Your recurring payment profiles:'); ?></p>
54
+ <ul class="disc">
55
+ <?php foreach($profiles as $profile):?>
56
+ <?php $profileIdHtml = ($this->getCanViewProfiles() ? sprintf('<a href="%s">%s</a>', $this->escapeHtml($this->getProfileUrl($profile)), $this->escapeHtml($this->getObjectData($profile, 'reference_id'))) : $this->escapeHtml($this->getObjectData($profile, 'reference_id')));?>
57
+ <li><?php echo $this->__('Payment profile # %s: "%s".', $profileIdHtml, $this->escapeHtml($this->getObjectData($profile, 'schedule_description')))?></li>
58
+ <?php endforeach;?>
59
+ </ul>
60
+ <?php endif;?>
61
+
62
+ <div class="buttons-set">
63
+ <button type="button" class="button" title="<?php echo $this->__('Continue Shopping') ?>" onclick="window.location='<?php echo $this->getUrl() ?>'"><span><span><?php echo $this->__('Continue Shopping') ?></span></span></button>
64
+ </div>
app/design/frontend/default/computer_store/template/checkout/total/default.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) 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
+ <tr>
28
+ <th colspan="<?php echo $this->getColspan(); ?>" style="<?php echo $this->getTotal()->getStyle() ?>" class="a-right">
29
+ <?php if ($this->getRenderingArea() == $this->getTotal()->getArea()): ?><strong><?php endif; ?>
30
+ <?php echo $this->getTotal()->getTitle() ?>
31
+ <?php if ($this->getRenderingArea() == $this->getTotal()->getArea()): ?></strong><?php endif; ?>
32
+ </th>
33
+ <td style="<?php echo $this->getTotal()->getStyle() ?>" class="a-right">
34
+ <?php if ($this->getRenderingArea() == $this->getTotal()->getArea()): ?><strong><?php endif; ?>
35
+ <?php echo $this->helper('checkout')->formatPrice($this->getTotal()->getValue()) ?>
36
+ <?php if ($this->getRenderingArea() == $this->getTotal()->getArea()): ?></strong><?php endif; ?>
37
+ </td>
38
+ </tr>
app/design/frontend/default/computer_store/template/checkout/total/nominal.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) 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
+ * @see Mage_Checkout_Block_Total_Nominal
30
+ */
31
+ ?>
32
+ <tr>
33
+ <th colspan="<?php echo $this->getColspan() + 1; ?>" style="<?php echo $this->getTotalStyle() ?>" class="a-right">
34
+ <?php echo sprintf(($this->getRenderingArea() == $this->getTotalArea()) ? '<strong>%s</strong>' : '%s', $this->escapeHtml($this->getTotalTitle())) ?>
35
+ </th>
36
+ </tr>
37
+ <?php foreach ($this->getTotalItems() as $i => $item): ?>
38
+ <?php foreach ($this->getTotalItemDetails($item) as $j => $row):?>
39
+ <tr class="summary-details <?php echo "summary-details-nominal-{$i}" . (0 == $j ? ' summary-details-first' : '') . ($this->getItemDetailsRowIsCompounded($row) ? '' : ' summary-details-excluded')?>" style="display:none;">
40
+ <td colspan="<?php echo $this->getColspan(); ?>" style="<?php echo $this->getTotalStyle() ?>" class="a-right">
41
+ <?php echo $this->escapeHtml($this->getItemDetailsRowLabel($row)) ?>
42
+ </td>
43
+ <td class="a-right">
44
+ <?php echo $this->formatPrice($this->getItemDetailsRowAmount($row)) ?>
45
+ </td>
46
+ </tr>
47
+ <?php endforeach; ?>
48
+ <tr class="summary-total" onclick="expandDetails(this, '<?php echo ".summary-details-nominal-{$i}"?>')">
49
+ <td colspan="<?php echo $this->getColspan(); ?>" style="<?php echo $this->getTotalStyle() ?>">
50
+ <div class="summary-collapse"><?php echo $this->escapeHtml($this->getItemName($item)); ?></div>
51
+ </td>
52
+ <td class="a-right">
53
+ <?php echo $this->helper('checkout')->formatPrice($this->getItemRowTotal($item)) ?>
54
+ </td>
55
+ </tr>
56
+ <?php endforeach; ?>
app/design/frontend/default/computer_store/template/checkout/total/tax.phtml ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 global $taxIter; $taxIter++; ?>
28
+ <?php if ($this->helper('tax')->displayFullSummary() && $this->getTotal()->getValue()!=0): ?>
29
+ <?php $isTop = 1; ?>
30
+ <?php foreach ($this->getTotal()->getFullInfo() as $info): ?>
31
+ <?php if (isset($info['hidden']) && $info['hidden']) continue; ?>
32
+ <?php $percent = $info['percent']; ?>
33
+ <?php $amount = $info['amount']; ?>
34
+ <?php $rates = $info['rates']; ?>
35
+ <?php $isFirst = 1; ?>
36
+
37
+ <?php foreach ($rates as $rate): ?>
38
+ <tr class="summary-details-<?php echo $taxIter; ?> summary-details<?php if ($isTop): echo ' summary-details-first'; endif; ?>" style="display:none;">
39
+ <td class="a-right" style="<?php echo $this->getTotal()->getStyle() ?>" colspan="<?php echo $this->getColspan(); ?>">
40
+ <?php echo $rate['title']; ?>
41
+ <?php if (!is_null($rate['percent'])): ?>
42
+ (<?php echo (float)$rate['percent']; ?>%)
43
+ <?php endif; ?>
44
+ <br />
45
+ </td>
46
+ <?php if ($isFirst): ?>
47
+ <td rowspan="<?php echo count($rates); ?>" class="a-right" style="<?php echo $this->getTotal()->getStyle() ?>">
48
+ <?php echo $this->helper('checkout')->formatPrice($amount); ?>
49
+ </td>
50
+ <?php endif; ?>
51
+ </tr>
52
+ <?php $isFirst = 0; ?>
53
+ <?php $isTop = 0; ?>
54
+ <?php endforeach; ?>
55
+ <?php endforeach; ?>
56
+ <?php endif;?>
57
+ <tr<?php if ($this->helper('tax')->displayFullSummary() && $this->getTotal()->getValue()!=0): ?> class="summary-total" onclick="expandDetails(this, '.summary-details-<?php echo $taxIter;?>')"<?php endif; ?>>
58
+ <td class="a-right" colspan="<?php echo $this->getColspan(); ?>" style="<?php echo $this->getTotal()->getStyle() ?>">
59
+ <?php if ($this->helper('tax')->displayFullSummary()): ?>
60
+ <div class="summary-collapse"><?php echo $this->getTotal()->getTitle() ?></div>
61
+ <?php else: ?>
62
+ <?php echo $this->getTotal()->getTitle() ?>
63
+ <?php endif;?>
64
+ </td>
65
+ <td class="a-right" style="<?php echo $this->getTotal()->getStyle() ?>">
66
+ <strong><?php echo $this->helper('checkout')->formatPrice($this->getTotal()->getValue()) ?></strong>
67
+ </td>
68
+ </tr>
app/design/frontend/default/computer_store/template/directory/currency.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) 2010 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
+ * Currency switcher
30
+ *
31
+ * @see Mage_Directory_Block_Currency
32
+ */
33
+ ?>
34
+ <?php if($this->getCurrencyCount()>1): ?>
35
+ <div class="box-currency">
36
+ <div class="box-content">
37
+ <label><?php echo $this->__('Currencies:') ?></label>
38
+ <select name="currency" title="<?php echo $this->__('Select Your Currency') ?>" onchange="setLocation(this.value)">
39
+ <?php foreach ($this->getCurrencies() as $_code => $_name): ?>
40
+ <option value="<?php echo $this->getSwitchCurrencyUrl($_code) ?>"<?php if($_code==$this->getCurrentCurrencyCode()): ?> selected="selected"<?php endif; ?>>
41
+ <?php echo $_name ?>
42
+ </option>
43
+ <?php endforeach; ?>
44
+ </select>
45
+ </div>
46
+ </div>
47
+ <?php endif; ?>
app/design/frontend/default/computer_store/template/newsletter/subscribe.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) 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
+ <div class="block block-subscribe">
28
+ <form action="<?php echo $this->getFormActionUrl() ?>" method="post" id="newsletter-validate-detail">
29
+ <div class="block-content">
30
+ <label for="newsletter"><?php echo $this->__('Sign Up for Our Newsletter:') ?></label>
31
+ <div class="form-newletter">
32
+ <div class="input-box">
33
+ <input type="text" name="email" id="newsletter" title="<?php echo $this->__('Sign up for our newsletter') ?>" class="input-text required-entry validate-email" />
34
+ </div>
35
+ <div class="actions">
36
+ <button type="submit" title="<?php echo $this->__('Subscribe') ?>" class="button"><span><span><?php echo $this->__('Subscribe') ?></span></span></button>
37
+ </div>
38
+ </div>
39
+ </div>
40
+ </form>
41
+ <script type="text/javascript">
42
+ //<![CDATA[
43
+ var newsletterSubscriberFormDetail = new VarienForm('newsletter-validate-detail');
44
+ //]]>
45
+ </script>
46
+ </div>
app/design/frontend/default/computer_store/template/page/html/breadcrumbs.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) 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 if($crumbs && is_array($crumbs)): ?>
28
+ <div class="breadcrumbs">
29
+ <ul>
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>/ </span>
41
+ <?php endif; ?>
42
+ </li>
43
+ <?php endforeach; ?>
44
+ </ul>
45
+ </div>
46
+ <?php endif; ?>
app/design/frontend/default/computer_store/template/page/html/footer.phtml ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ <div class="footer-container">
28
+ <div class="footer">
29
+ <div class="bottom-links">
30
+ <div class="top">
31
+ <ul class="first">
32
+ <li class="first"><strong>
33
+ <span><a href="#">Careers </a></span>
34
+ </strong></li>
35
+ <li class="last"><strong>
36
+ <span><a href="#">Nordstrom Rack </a></span>
37
+ </strong></li>
38
+ </ul>
39
+ <ul>
40
+ <li class="first"><strong>
41
+ <span><a href="#">Check Order Status </a></span>
42
+ </strong></li>
43
+ <li class="last"><strong>
44
+ <span><a href="#">Shipping Options & Charges </a></span>
45
+ </strong></li>
46
+ </ul>
47
+ <ul>
48
+ <li class="first"><strong>
49
+ <span><a href="#">Investor Relations </a></span>
50
+ </strong></li>
51
+ <li class="last"><strong>
52
+ <span><a href="#">Store Locations & Events </a></span>
53
+ </strong></li>
54
+ </ul>
55
+ <ul class="last">
56
+ <li class="first"><strong>
57
+ <span><a href="#">Returns & Exchanges </a></span>
58
+ </strong></li>
59
+ <li class="last"><strong>
60
+ <span><a href="#">Product Recall </a></span>
61
+ </strong></li>
62
+ </ul>
63
+ </div>
64
+ </div>
65
+ <?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('newletter_footer')->toHtml() ?>
66
+ <div class="bottom-links">
67
+ <div class="bot">
68
+ <?php echo $this->getChildHtml() ?>
69
+
70
+ <address><?php echo $this->getCopyright() ?></address>
71
+ </div>
72
+ </div>
73
+ </div>
74
+ </div>
app/design/frontend/default/computer_store/template/page/html/head.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) 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
+ <meta http-equiv="Content-Type" content="<?php echo $this->getContentType() ?>" />
28
+ <title><?php echo $this->getTitle() ?></title>
29
+ <meta name="description" content="<?php echo htmlspecialchars($this->getDescription()) ?>" />
30
+ <meta name="keywords" content="<?php echo htmlspecialchars($this->getKeywords()) ?>" />
31
+ <meta name="robots" content="<?php echo htmlspecialchars($this->getRobots()) ?>" />
32
+ <link rel="icon" href="<?php echo $this->getFaviconFile(); ?>" type="image/x-icon" />
33
+ <link rel="shortcut icon" href="<?php echo $this->getFaviconFile(); ?>" type="image/x-icon" />
34
+ <!--[if lt IE 7]>
35
+ <script type="text/javascript">
36
+ //<![CDATA[
37
+ var BLANK_URL = '<?php echo $this->helper('core/js')->getJsUrl('blank.html') ?>';
38
+ var BLANK_IMG = '<?php echo $this->helper('core/js')->getJsUrl('spacer.gif') ?>';
39
+ //]]>
40
+ </script>
41
+ <![endif]-->
42
+ <?php echo $this->getCssJsHtml() ?>
43
+ <?php echo $this->getChildHtml() ?>
44
+ <?php echo $this->helper('core/js')->getTranslatorScript() ?>
45
+ <?php echo $this->getIncludes() ?>
app/design/frontend/default/computer_store/template/page/html/header.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) 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
+ * @var Mage_Page_Block_Html_Header $this
28
+ */
29
+ ?>
30
+ <div class="header-container">
31
+ <div class="header">
32
+ <h1 class="logo"><strong><?php echo $this->getLogoAlt() ?></strong><a href="<?php echo $this->getUrl('') ?>" title="<?php echo $this->getLogoAlt() ?>" class="logo"><img src="<?php echo $this->getLogoSrc() ?>" alt="<?php echo $this->getLogoAlt() ?>" /></a></h1>
33
+
34
+ <div class="quick-access">
35
+ <?php echo $this->getChildHtml('topLinks') ?>
36
+ <?php //echo $this->getChildHtml('store_language') ?>
37
+ <?php echo $this->getChildHtml('store_currency') ?>
38
+ <p class="welcome-msg"><?php echo $this->getWelcome()?></p>
39
+ </div>
40
+ <div class="header-bottom">
41
+ <?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('header_menu')->toHtml() ?>
42
+ <?php echo $this->getChildHtml('topSearch') ?>
43
+ </div>
44
+ <?php echo $this->getChildHtml('topContainer'); ?>
45
+ </div>
46
+ </div>
47
+ <?php //echo $this->getChildHtml('topMenu') ?>
app/design/frontend/default/computer_store/template/page/html/notices.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) 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
+ * @see Mage_Page_Block_Html_Notices
30
+ */
31
+ ?>
32
+ <?php if ($this->displayNoscriptNotice()): ?>
33
+ <noscript>
34
+ <div class="noscript">
35
+ <div class="noscript-inner">
36
+ <p><strong><?php echo $this->__('JavaScript seem to be disabled in your browser.'); ?></strong></p>
37
+ <p><?php echo $this->__('You must have JavaScript enabled in your browser to utilize the functionality of this website.'); ?></p>
38
+ </div>
39
+ </div>
40
+ </noscript>
41
+ <?php endif; ?>
42
+ <?php if ($this->displayDemoNotice()): ?>
43
+ <p class="demo-notice"><?php echo $this->__('This is a demo store. Any orders placed through this store will not be honored or fulfilled.') ?></p>
44
+ <?php endif; ?>
app/design/frontend/default/computer_store/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) 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
+ * 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/back-pages.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/next-pages.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/default/computer_store/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) 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
+ * @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/default/computer_store/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) 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
+ * @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/default/computer_store/template/poll/active.phtml ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 if(isset($poll)) : ?>
28
+ <script type="text/javascript">
29
+ //<![CDATA[
30
+ function validatePollAnswerIsSelected()
31
+ {
32
+ var options = $$('input.poll_vote');
33
+ for( i in options ) {
34
+ if( options[i].checked == true ) {
35
+ return true;
36
+ }
37
+ }
38
+ return false;
39
+ }
40
+ //]]>
41
+ </script>
42
+ <div class="block block-poll">
43
+ <div class="block-title">
44
+ <strong><span><?php echo $this->__('Community Poll') ?></span></strong>
45
+ </div>
46
+ <form id="pollForm" action="<?php echo $action ?>" method="post" onsubmit="return validatePollAnswerIsSelected();">
47
+ <div class="block-content">
48
+ <p class="block-subtitle"><?php echo $this->htmlEscape($poll->getPollTitle()); ?></p>
49
+ <?php if( $poll_answers ): ?>
50
+ <ul id="poll-answers">
51
+ <?php foreach( $poll_answers as $answer ): ?>
52
+ <li>
53
+ <input type="radio" name="vote" class="radio poll_vote" id="vote_<?php echo $answer->getId() ?>" value="<?php echo $answer->getAnswerId() ?>" />
54
+ <span class="label"><label for="vote_<?php echo $answer->getId() ?>"><?php echo $this->htmlEscape($answer->getAnswerTitle()) ?></label></span>
55
+ </li>
56
+ <?php endforeach; ?>
57
+ </ul>
58
+ <script type="text/javascript">decorateList('poll-answers');</script>
59
+ <?php endif; ?>
60
+ <div class="actions">
61
+ <button type="submit" title="<?php echo $this->__('Vote') ?>" class="button"><span><span><?php echo $this->__('Vote') ?></span></span></button>
62
+ </div>
63
+ </div>
64
+ <div class="bot-site">
65
+ <div class="right-corner">
66
+ <div class="stretched-layer"> </div>
67
+ </div>
68
+ </div>
69
+ </form>
70
+ <div class="bot-site">
71
+ <div class="right-corner">
72
+ <div class="stretched-layer"> </div>
73
+ </div>
74
+ </div>
75
+ </div>
76
+ <?php endif; ?>
app/design/frontend/default/computer_store/template/poll/result.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) 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 if(isset($poll)) : ?>
28
+ <div class="block block-poll">
29
+ <div class="block-title">
30
+ <strong><span><?php echo $this->__('Community Poll') ?></span></strong>
31
+ </div>
32
+ <div class="block-content">
33
+ <p class="block-subtitle"><?php echo $this->htmlEscape($poll->getPollTitle()); ?></p>
34
+ <?php if( $poll_answers ): ?>
35
+ <ol id="poll-answers">
36
+ <?php foreach( $poll_answers as $answer ): ?>
37
+ <li>
38
+ <span class="votes"><?php echo $answer->getVotesCount() ?> (<?php echo $answer->getPercent() ?>%)</span>
39
+ <span class="answer"><?php echo $this->htmlEscape($answer->getAnswerTitle()) ?>:</span>
40
+ </li>
41
+ <?php endforeach; ?>
42
+ </ol>
43
+ <script type="text/javascript">decorateList('poll-answers');</script>
44
+ <?php endif; ?>
45
+ </div>
46
+ <div class="bot-site">
47
+ <div class="right-corner">
48
+ <div class="stretched-layer"> </div>
49
+ </div>
50
+ </div>
51
+ </div>
52
+ <?php endif; ?>
app/design/frontend/default/computer_store/template/productslider/productslider.phtml ADDED
@@ -0,0 +1,188 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php $productCollection = $this->getProductCollection()?>
2
+ <?php $collectionSize = count($productCollection); ?>
3
+ <?php $sliderType = $this->getSliderStyle() ?>
4
+ <?php $sliderWidth = $this->getWidthSlider() ?>
5
+ <?php $sliderHeight = $this->getHeightSlider() ?>
6
+ <?php $isShowDescription = $this->showDescription(); ?>
7
+ <?php if($collectionSize > 0):?>
8
+ <div id="product-slider">
9
+ <div class="head">
10
+ <h1><?php echo $this->getPageTitle()?></h1>
11
+ </div>
12
+ <link rel="stylesheet" type="text/css" href="<?php echo $this->getSkinUrl('css/magebuzz/productslider.css');?>" media="all" />
13
+ <?php if($sliderType == 'simple-slider'):?>
14
+ <script type="text/javascript" src="<?php echo $this->getJsUrl('magebuzz/jquery/jquery-latest.js') ?>"></script>
15
+ <script type="text/javascript" src="<?php echo $this->getJsUrl('magebuzz/jquery/jquery.bxSlider.js') ?>"></script>
16
+ <link rel="stylesheet" type="text/css" href="<?php echo $this->getSkinUrl('css/magebuzz/productslider/simple-slider.css');?>" media="all" />
17
+ <script type="text/javascript">
18
+ var $simpleSlider = jQuery.noConflict();
19
+ $simpleSlider(document).ready(function(){
20
+ $simpleSlider('#list-items').bxSlider();
21
+ });
22
+ </script>
23
+ <div class="list-products">
24
+ <ul id="list-items">
25
+ <?php foreach ($productCollection->getItems() as $_product): ?>
26
+ <li>
27
+ <div class="product-image">
28
+ <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(161,123); ?>" width="161" height="123" alt="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" /></a>
29
+ </div>
30
+ <div class="product-info">
31
+ <h3 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_product->getName()) ?>"><?php echo $this->htmlEscape($_product->getName()) ?></a></h3>
32
+ <?php if($isShowDescription == 1):?>
33
+ <div class="desc std">
34
+ <?php $_description = nl2br($_product->getShortDescription())?>
35
+ <?php $short_desc = substr($_description, 0, 200); ?>
36
+ <?php if(substr($short_desc, 0, strrpos($short_desc, ' '))!='')
37
+ $short_desc = substr($short_desc, 0, strrpos($short_desc, ' '));
38
+ $short_desc = $short_desc.'...';
39
+ ?>
40
+ <?php echo $short_desc;?>
41
+ </div>
42
+ <?php endif; ?>
43
+ <?php echo $this->getPriceHtml($_product, true) ?>
44
+ <div class="actions">
45
+ <?php if($_product->isSaleable()): ?>
46
+ <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>
47
+ <?php else: ?>
48
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
49
+ <?php endif; ?>
50
+ </div>
51
+ </div>
52
+ </li>
53
+ <?php endforeach?>
54
+ </ul>
55
+ </div>
56
+ <?php elseif ($sliderType == 'slider-scrollbar'):?>
57
+ <script type="text/javascript" src="<?php echo $this->getJsUrl('magebuzz/jquery/jquery-latest.js') ?>"></script>
58
+ <script type="text/javascript" src="<?php echo $this->getJsUrl('magebuzz/jquery/jquery-ui-1.7.2.custom.min.js') ?>"></script>
59
+ <script type="text/javascript">
60
+ var $sl = jQuery.noConflict();
61
+ $sl(function() {
62
+
63
+ //vars
64
+ var conveyor = $sl(".content-conveyor", $("#sliderContent")),
65
+ item = $sl(".item", $sl("#sliderContent"));
66
+
67
+ //set length of conveyor
68
+ conveyor.css("width", item.length * parseInt(item.css("width")));
69
+
70
+ //config
71
+ var sliderOpts = {
72
+ max: (item.length * parseInt(item.css("width"))) - parseInt($sl(".viewer", $sl("#sliderContent")).css("width")),
73
+ slide: function(e, ui) {
74
+ conveyor.css("left", "-" + ui.value + "px");
75
+ }
76
+ };
77
+
78
+ //create slider
79
+ $sl("#slider").slider(sliderOpts);
80
+ });
81
+ </script>
82
+ <link rel="stylesheet" type="text/css" href="<?php echo $this->getSkinUrl('css/magebuzz/productslider/jquery-ui-1.7.2.custom.css');?>" />
83
+ <link rel="stylesheet" type="text/css" href="<?php echo $this->getSkinUrl('css/magebuzz/productslider/slidebar.css');?>" />
84
+ <div id="sliderContent" class="ui-corner-all">
85
+ <div class="viewer ui-corner-all">
86
+ <div class="content-conveyor ui-helper-clearfix">
87
+ <?php foreach ($productCollection->getItems() as $_product): ?>
88
+ <div class="item">
89
+ <h3 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_product->getName()) ?>"><?php echo $this->htmlEscape($_product->getName()) ?></a></h3>
90
+ <div class="product-image">
91
+ <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(161,123); ?>" width="161" height="123" alt="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" /></a>
92
+ </div>
93
+ <?php echo $this->getPriceHtml($_product, true) ?>
94
+ <div class="actions">
95
+ <?php if($_product->isSaleable()): ?>
96
+ <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>
97
+ <?php else: ?>
98
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
99
+ <?php endif; ?>
100
+ </div>
101
+ </div>
102
+ <?php endforeach ?>
103
+ </div>
104
+ </div>
105
+ <div id="slider"></div>
106
+ </div>
107
+ <?php elseif ($sliderType == 'slider-lightbox'):?>
108
+ <script type="text/javascript" src="<?php echo $this->getJsUrl('magebuzz/jquery/jquery-latest.js') ?>"></script>
109
+ <script type="text/javascript" src="<?php echo $this->getJsUrl('magebuzz/jquery/jquery.scrollShow.js') ?>"></script>
110
+ <script type="text/javascript" src="<?php echo $this->getJsUrl('magebuzz/jquery/jquery.scrollTo-min.js') ?>"></script>
111
+ <script type="text/javascript" src="<?php echo $this->getJsUrl('magebuzz/jquery/lightbox/jquery.lightbox-0.5.js') ?>"></script>
112
+ <script type="text/javascript">
113
+ //<![CDATA[
114
+ var SKIN_URL = '<?php echo $this->getSkinUrl() ?>';
115
+ //]]>
116
+ </script>
117
+ <script type="text/javascript">
118
+ var $newslider = jQuery.noConflict();
119
+ $newslider(document).ready(function(){
120
+ $newslider.easing.backout = function(x, t, b, c, d){
121
+ var s=1.70158;
122
+ return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b;
123
+ };
124
+
125
+ $newslider('#sl-screen').scrollShow({
126
+ elements:'div.item',
127
+ itemSize:{
128
+ height:<?php echo $sliderHeight;?>,
129
+ width:<?php echo ceil($sliderWidth/3);?>
130
+ },
131
+ view:'#sl-view',
132
+ content:'#sl-images',
133
+ easing:'backout',
134
+ wrappers:'link,crop',
135
+ navigators:'a[id]',
136
+ navigationMode:'s',
137
+ circular:true,
138
+ start:0
139
+ });
140
+
141
+ });
142
+ $newslider(function() {
143
+ $newslider('#list-items a.img').lightBox();
144
+ });
145
+ </script>
146
+ <link rel="stylesheet" type="text/css" href="<?php echo $this->getSkinUrl('css/magebuzz/productslider/slider.css')?>"/>
147
+ <link rel="stylesheet" type="text/css" href="<?php echo $this->getSkinUrl('css/magebuzz/productslider/jquery.lightbox-0.5.css') ?>" media="screen" />
148
+ <div id="list-items">
149
+ <div id="slider-content" style="width:<?php echo $sliderWidth;?>px; height:<?php echo $sliderHeight;?>px;">
150
+ <ul id="sl-screen" style="width:<?php echo $sliderWidth;?>px; height:<?php echo $sliderHeight;?>px;">
151
+ <li class="nav-left"><a href="#" id="left">&nbsp;</a></li>
152
+ <li id="sl-view" style="width:<?php echo $sliderWidth;?>px; height:<?php echo $sliderHeight;?>px;">
153
+ <ul id="sl-images">
154
+ <?php foreach ($productCollection->getItems() as $_product): ?>
155
+ <li style="width:<?php echo ceil($sliderWidth/3);?>px; height:<?php echo $sliderHeight;?>px;">
156
+ <div class="item" style="width:<?php echo ceil($sliderWidth/3);?>px; height:<?php echo $sliderHeight;?>px;">
157
+ <div class="product-img" style="width:<?php echo ceil($sliderWidth/3);?>px;">
158
+ <div class="product-image">
159
+ <a class="img" href="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(500); ?>" title="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(161,123); ?>" width="161" height="123" alt="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" /></a>
160
+ </div>
161
+ </div>
162
+ <div class="product-info">
163
+ <h3 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_product->getName()) ?>"><?php echo $this->htmlEscape($_product->getName()) ?></a></h3>
164
+ <?php echo $this->getPriceHtml($_product, true) ?>
165
+
166
+ </div>
167
+ </div>
168
+ </li>
169
+ <?php endforeach ?>
170
+ </ul>
171
+ </li>
172
+ <li class="nav-right"><a href="#" id="right">&nbsp;</a></li>
173
+ </ul>
174
+ </div>
175
+ </div>
176
+ <?php endif;?>
177
+ <div class="bot-site">
178
+ <div class="right-corner">
179
+ <div class="stretched-layer"> </div>
180
+ </div>
181
+ </div>
182
+ </div>
183
+ <?php else: ?>
184
+ <div class="note-msg">
185
+ <?php echo $this->__('There are no products matching the selection.') ?>
186
+ </div>
187
+ <?php endif; ?>
188
+
app/design/frontend/default/computer_store/template/productslider/type/slider1.phtml ADDED
@@ -0,0 +1,128 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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) 2010 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
+ $_productCollection=$this->getLoadedProductCollection();
36
+ $_helper = $this->helper('catalog/output');
37
+ ?>
38
+ <?php if(!$_productCollection->count()): ?>
39
+ <p class="note-msg"><?php echo $this->__('There are no products matching the selection.') ?></p>
40
+ <?php else: ?>
41
+ <div class="category-products">
42
+ <?php echo $this->getToolbarHtml() ?>
43
+ <?php // List mode ?>
44
+ <?php if($this->getMode()!='grid'): ?>
45
+ <?php $_iterator = 0; ?>
46
+ <ol class="products-list" id="products-list">
47
+ <?php foreach ($_productCollection as $_product): ?>
48
+ <li class="item<?php if( ++$_iterator == sizeof($_productCollection) ): ?> last<?php endif; ?>">
49
+ <?php // Product Image ?>
50
+ <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>
51
+ <?php // Product description ?>
52
+ <div class="product-shop">
53
+ <div class="f-fix">
54
+ <?php $_productNameStripped = $this->stripTags($_product->getName(), null, true); ?>
55
+ <h2 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $_productNameStripped; ?>"><?php echo $_helper->productAttribute($_product, $_product->getName() , 'name'); ?></a></h2>
56
+ <?php if($_product->getRatingSummary()): ?>
57
+ <?php echo $this->getReviewsSummaryHtml($_product) ?>
58
+ <?php endif; ?>
59
+ <?php echo $this->getPriceHtml($_product, true) ?>
60
+ <?php if($_product->isSaleable()): ?>
61
+ <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>
62
+ <?php else: ?>
63
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
64
+ <?php endif; ?>
65
+ <div class="desc std">
66
+ <?php echo $_helper->productAttribute($_product, $_product->getShortDescription(), 'short_description') ?>
67
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $_productNameStripped ?>" class="link-learn"><?php echo $this->__('Learn More') ?></a>
68
+ </div>
69
+ <ul class="add-to-links">
70
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
71
+ <li><a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
72
+ <?php endif; ?>
73
+ <?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
74
+ <li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
75
+ <?php endif; ?>
76
+ </ul>
77
+ </div>
78
+ </div>
79
+ </li>
80
+ <?php endforeach; ?>
81
+ </ol>
82
+ <script type="text/javascript">decorateList('products-list', 'none-recursive')</script>
83
+
84
+ <?php else: ?>
85
+
86
+ <?php // Grid Mode ?>
87
+
88
+ <?php $_collectionSize = $_productCollection->count() ?>
89
+ <?php $_columnCount = $this->getColumnCount(); ?>
90
+ <?php $i=0; foreach ($_productCollection as $_product): ?>
91
+ <?php if ($i++%$_columnCount==0): ?>
92
+ <ul class="products-grid">
93
+ <?php endif ?>
94
+ <li class="item<?php if(($i-1)%$_columnCount==0): ?> first<?php elseif($i%$_columnCount==0): ?> last<?php endif; ?>">
95
+ <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>
96
+ <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>
97
+ <?php if($_product->getRatingSummary()): ?>
98
+ <?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
99
+ <?php endif; ?>
100
+ <?php echo $this->getPriceHtml($_product, true) ?>
101
+ <div class="actions">
102
+ <?php if($_product->isSaleable()): ?>
103
+ <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>
104
+ <?php else: ?>
105
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
106
+ <?php endif; ?>
107
+ <ul class="add-to-links">
108
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
109
+ <li><a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
110
+ <?php endif; ?>
111
+ <?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
112
+ <li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
113
+ <?php endif; ?>
114
+ </ul>
115
+ </div>
116
+ </li>
117
+ <?php if ($i%$_columnCount==0 || $i==$_collectionSize): ?>
118
+ </ul>
119
+ <?php endif ?>
120
+ <?php endforeach ?>
121
+ <script type="text/javascript">decorateGeneric($$('ul.products-grid'), ['odd','even','first','last'])</script>
122
+ <?php endif; ?>
123
+
124
+ <div class="toolbar-bottom">
125
+ <?php echo $this->getToolbarHtml() ?>
126
+ </div>
127
+ </div>
128
+ <?php endif; ?>
app/design/frontend/default/computer_store/template/reports/product_compared.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) 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
+ /* @var $this Mage_Reports_Block_Product_Compared */
27
+ ?>
28
+ <?php if ($_products = $this->getRecentlyComparedProducts()): ?>
29
+ <div class="block block-list block-compared">
30
+ <div class="block-title">
31
+ <strong><span><?php echo $this->__('Recently Compared Products') ?></span></strong>
32
+ </div>
33
+ <div class="block-content">
34
+ <ol id="recently-compared-items">
35
+ <?php foreach ($_products as $_item): ?>
36
+ <li class="item">
37
+ <p class="product-name"><a href="<?php echo $this->getProductUrl($_item) ?>"><?php echo $this->helper('catalog/output')->productAttribute($_item, $_item->getName() , 'name') ?></a></p>
38
+ </li>
39
+ <?php endforeach; ?>
40
+ </ol>
41
+ <script type="text/javascript">decorateList('recently-compared-items');</script>
42
+ </div>
43
+ <div class="bot-site">
44
+ <div class="right-corner">
45
+ <div class="stretched-layer"> </div>
46
+ </div>
47
+ </div>
48
+ </div>
49
+ <?php endif; ?>
app/design/frontend/default/computer_store/template/reports/product_viewed.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) 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
+ /* @var $this Mage_Reports_Block_Product_Viewed */
27
+ ?>
28
+ <?php if ($_products = $this->getRecentlyViewedProducts()): ?>
29
+ <div class="block block-list block-viewed">
30
+ <div class="block-title">
31
+ <strong><span><?php echo $this->__('Recently Viewed Products') ?></span></strong>
32
+ </div>
33
+ <div class="block-content">
34
+ <ol id="recently-viewed-items">
35
+ <?php foreach ($_products as $_item): ?>
36
+ <li class="item">
37
+ <p class="product-name"><a href="<?php echo $this->getProductUrl($_item) ?>"><?php echo $this->helper('catalog/output')->productAttribute($_item, $_item->getName() , 'name') ?></a></p>
38
+ </li>
39
+ <?php endforeach; ?>
40
+ </ol>
41
+ <script type="text/javascript">decorateList('recently-viewed-items');</script>
42
+ </div>
43
+ <div class="bot-site">
44
+ <div class="right-corner">
45
+ <div class="stretched-layer"> </div>
46
+ </div>
47
+ </div>
48
+ </div>
49
+ <?php endif; ?>
app/design/frontend/default/computer_store/template/review/customer/list.phtml ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 echo $this->getMessagesBlock()->getGroupedHtml() ?>
28
+ <div class="page-title">
29
+ <h1><?php echo $this->__('My Product Reviews') ?></h1>
30
+ </div>
31
+ <?php if( $this->getCollection() && $this->count()): ?>
32
+ <?php echo $this->getToolbarHtml() ?>
33
+ <table class="data-table" id="my-reviews-table">
34
+ <col width="1" />
35
+ <col width="210" />
36
+ <col width="1" />
37
+ <col />
38
+ <col width="1" />
39
+ <tbody>
40
+ <?php foreach ($this->getCollection() as $_review): ?>
41
+ <tr>
42
+ <td><span class="nobr"><?php echo $this->dateFormat($_review->getReviewCreatedAt()); ?></span></td>
43
+ <td><h2 class="product-name"><a href="<?php echo $this->getProductLink() ?>id/<?php echo $_review->getEntityPkValue() ?>"><?php echo $this->htmlEscape($_review->getName()) ?></a></h2></td>
44
+ <td>
45
+ <?php if($_review->getSum()): ?>
46
+ <div class="rating-box">
47
+ <div class="rating" style="width:<?php echo ( $_review->getSum() / $_review->getCount() ) ?>%;"></div>
48
+ </div>
49
+ <?php endif; ?>
50
+ </td>
51
+ <td><?php echo $this->helper('review')->getDetailHtml($_review->getDetail()) ?></td>
52
+ <td><a href="<?php echo $this->getReviewLink() ?>id/<?php echo $_review->getReviewId() ?>" class="nobr"><?php echo $this->__('View Details') ?></a></td>
53
+ </tr>
54
+ <?php endforeach; ?>
55
+ </tbody>
56
+ </table>
57
+ <script type="text/javascript">decorateTable('my-reviews-table')</script>
58
+ <?php echo $this->getToolbarHtml() ?>
59
+ <?php else: ?>
60
+ <p><?php echo $this->__('You have submitted no reviews.') ?></p>
61
+ <?php endif; ?>
62
+ <div class="buttons-set">
63
+ <p class="back-link"><a href="<?php echo $this->escapeUrl($this->getBackUrl()) ?>"><small>&laquo; </small><?php echo $this->__('Back') ?></a></p>
64
+ </div>
app/design/frontend/default/computer_store/template/review/customer/recent.phtml ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 if( $this->getCollection() && $this->count()): ?>
28
+ <div class="box-account box-reviews">
29
+ <div class="box-head">
30
+ <h2><?php echo $this->__('My Recent Reviews') ?></h2>
31
+ <a href="<?php echo $this->getAllReviewsUrl() ?>"><?php echo $this->__('View All Reviews') ?></a>
32
+ </div>
33
+ <ol id="my_recent_reviews">
34
+ <?php $iterator = 0 ?>
35
+ <?php foreach ($this->getCollection() as $_review): ?>
36
+ <li class="item">
37
+ <span class="number"><?php echo ++$iterator ?></span>
38
+ <div class="details">
39
+ <h3 class="product-name"><a href="<?php echo $this->getReviewUrl($_review->getReviewId()) ?>"><?php echo $this->htmlEscape($_review->getName()) ?></a></h3>
40
+ <?php if($_review->getSum()): ?>
41
+ <div class="ratings">
42
+ <strong><?php echo $this->__('Rating:') ?></strong>
43
+ <div class="rating-box">
44
+ <div class="rating" style="width:<?php echo ( $_review->getSum() / $_review->getCount() ) ?>%;"></div>
45
+ </div>
46
+ </div>
47
+ <?php endif; ?>
48
+ </div>
49
+ </li>
50
+ <?php endforeach; ?>
51
+ </ol>
52
+ <script type="text/javascript">decorateList('my_recent_reviews');</script>
53
+ </div>
54
+ <?php endif; ?>
app/design/frontend/default/computer_store/template/review/customer/view.phtml ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 if($this->getProductData()->getId()): ?>
28
+ <div class="product-review">
29
+ <div class="page-title">
30
+ <h1><?php echo $this->__('Review Details') ?></h1>
31
+ </div>
32
+ <div class="product-img-box">
33
+ <a href="<?php echo $this->getProductData()->getProductUrl() ?>" title="<?php echo $this->htmlEscape($this->getProductData()->getName()) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($this->getProductData(), 'small_image')->resize(125, 125); ?>" width="125" height="125" alt="<?php echo $this->htmlEscape($this->getProductData()->getName()) ?>" /></a>
34
+ <?php if( $this->getRating() && $this->getRating()->getSize()): ?>
35
+ <p class="label"><?php echo $this->__('Average Customer Rating:') ?></p>
36
+ <?php echo $this->getReviewsSummaryHtml($this->getProductData()) ?>
37
+ <?php endif; ?>
38
+ </div>
39
+ <div class="product-details">
40
+ <h2 class="product-name"><?php echo $this->htmlEscape($this->getProductData()->getName()) ?></h2>
41
+ <?php if( $this->getRating() && $this->getRating()->getSize()): ?>
42
+ <h3><?php echo ($this->isReviewOwner()) ? $this->__('Your Rating:') : $this->__('Rating:'); ?></h3>
43
+ <table class="ratings-table">
44
+ <?php foreach ($this->getRating() as $_rating): ?>
45
+ <?php if($_rating->getPercent()): ?>
46
+ <tr>
47
+ <th><?php echo $this->escapeHtml($_rating->getRatingCode()) ?></th>
48
+ <td>
49
+ <div class="rating-box">
50
+ <div class="rating" style="width:<?php echo ceil($_rating->getPercent()) ?>%;"></div>
51
+ </div>
52
+ </td>
53
+ </tr>
54
+ <?php endif; ?>
55
+ <?php endforeach; ?>
56
+ </table>
57
+ <?php endif; ?>
58
+ <dl>
59
+ <dt>
60
+ <?php if ($this->isReviewOwner()): ?>
61
+ <?php echo $this->__('Your Review (submitted on %s):', $this->dateFormat($this->getReviewData()->getCreatedAt())) ?>
62
+ <?php else :?>
63
+ <?php echo $this->__('Review (submitted on %s):', $this->dateFormat($this->getReviewData()->getCreatedAt())) ?>
64
+ <?php endif;?>
65
+ </dt>
66
+ <dd>
67
+ <?php echo nl2br($this->htmlEscape($this->getReviewData()->getDetail())) ?>
68
+ </dd>
69
+ </dl>
70
+ </div>
71
+ <div class="buttons-set">
72
+ <p class="back-link"><a href="<?php echo $this->getBackUrl() ?>"><small>&laquo; </small><?php echo $this->__('Back to My Reviews') ?></a></p>
73
+ </div>
74
+ </div>
75
+ <?php endif; ?>
app/design/frontend/default/computer_store/template/review/form.phtml ADDED
@@ -0,0 +1,132 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ <div class="form-add">
28
+ <h2><?php echo $this->__('Write Your Own Review') ?></h2>
29
+ <?php if ($this->getAllowWriteReviewFlag()): ?>
30
+ <form action="<?php echo $this->getAction() ?>" method="post" id="review-form">
31
+ <fieldset>
32
+ <?php echo $this->getChildHtml('form_fields_before')?>
33
+ <h3><?php echo $this->__("You're reviewing:"); ?> <span><?php echo $this->htmlEscape($this->getProductInfo()->getName()) ?></span></h3>
34
+ <?php if( $this->getRatings() && $this->getRatings()->getSize()): ?>
35
+ <h4><?php echo $this->__('How do you rate this product?') ?> <em class="required">*</em></h4>
36
+ <span id="input-message-box"></span>
37
+ <table class="data-table" id="product-review-table">
38
+ <col />
39
+ <col width="1" />
40
+ <col width="1" />
41
+ <col width="1" />
42
+ <col width="1" />
43
+ <col width="1" />
44
+ <thead>
45
+ <tr>
46
+ <th>&nbsp;</th>
47
+ <th><span class="nobr"><?php echo $this->__('1 star') ?></span></th>
48
+ <th><span class="nobr"><?php echo $this->__('2 stars') ?></span></th>
49
+ <th><span class="nobr"><?php echo $this->__('3 stars') ?></span></th>
50
+ <th><span class="nobr"><?php echo $this->__('4 stars') ?></span></th>
51
+ <th><span class="nobr"><?php echo $this->__('5 stars') ?></span></th>
52
+ </tr>
53
+ </thead>
54
+ <tbody>
55
+ <?php foreach ($this->getRatings() as $_rating): ?>
56
+ <tr>
57
+ <th><?php echo $this->escapeHtml($_rating->getRatingCode()) ?></th>
58
+ <?php foreach ($_rating->getOptions() as $_option): ?>
59
+ <td class="value"><input type="radio" name="ratings[<?php echo $_rating->getId() ?>]" id="<?php echo $this->escapeHtml($_rating->getRatingCode()) ?>_<?php echo $_option->getValue() ?>" value="<?php echo $_option->getId() ?>" class="radio" /></td>
60
+ <?php endforeach; ?>
61
+ </tr>
62
+ <?php endforeach; ?>
63
+ </tbody>
64
+ </table>
65
+ <input type="hidden" name="validate_rating" class="validate-rating" value="" />
66
+ <script type="text/javascript">decorateTable('product-review-table')</script>
67
+ <?php endif; ?>
68
+ <ul class="form-list">
69
+ <li>
70
+ <label for="nickname_field" class="required"><em>*</em><?php echo $this->__('Nickname') ?></label>
71
+ <div class="input-box">
72
+ <input type="text" name="nickname" id="nickname_field" class="input-text required-entry" value="<?php echo $this->htmlEscape($data->getNickname()) ?>" />
73
+ </div>
74
+ </li>
75
+ <li>
76
+ <label for="summary_field" class="required"><em>*</em><?php echo $this->__('Summary of Your Review') ?></label>
77
+ <div class="input-box">
78
+ <input type="text" name="title" id="summary_field" class="input-text required-entry" value="<?php echo $this->htmlEscape($data->getTitle()) ?>" />
79
+ </div>
80
+ </li>
81
+ <li>
82
+ <label for="review_field" class="required"><em>*</em><?php echo $this->__('Review') ?></label>
83
+ <div class="input-box">
84
+ <textarea name="detail" id="review_field" cols="5" rows="3" class="required-entry"><?php echo $this->htmlEscape($data->getDetail()) ?></textarea>
85
+ </div>
86
+ </li>
87
+ </ul>
88
+ </fieldset>
89
+ <div class="buttons-set">
90
+ <button type="submit" title="<?php echo $this->__('Submit Review') ?>" class="button"><span><span><?php echo $this->__('Submit Review') ?></span></span></button>
91
+ </div>
92
+ </form>
93
+ <script type="text/javascript">
94
+ //<![CDATA[
95
+ var dataForm = new VarienForm('review-form');
96
+ Validation.addAllThese(
97
+ [
98
+ ['validate-rating', '<?php echo $this->__('Please select one of each of the ratings above') ?>', function(v) {
99
+ var trs = $('product-review-table').select('tr');
100
+ var inputs;
101
+ var error = 1;
102
+
103
+ for( var j=0; j < trs.length; j++ ) {
104
+ var tr = trs[j];
105
+ if( j > 0 ) {
106
+ inputs = tr.select('input');
107
+
108
+ for( i in inputs ) {
109
+ if( inputs[i].checked == true ) {
110
+ error = 0;
111
+ }
112
+ }
113
+
114
+ if( error == 1 ) {
115
+ return false;
116
+ } else {
117
+ error = 1;
118
+ }
119
+ }
120
+ }
121
+ return true;
122
+ }]
123
+ ]
124
+ );
125
+ //]]>
126
+ </script>
127
+ <?php else: ?>
128
+ <p class="review-nologged" id="review-form">
129
+ <?php echo $this->__('Only registered users can write reviews. Please, <a href="%s">log in</a> or <a href="%s">register</a>', $this->getLoginLink(), Mage::helper('customer')->getRegisterUrl()) ?>
130
+ </p>
131
+ <?php endif ?>
132
+ </div>
app/design/frontend/default/computer_store/template/review/helper/summary.phtml ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 if ($this->getReviewsCount()): ?>
28
+
29
+ <?php elseif ($this->getDisplayIfEmpty()): ?>
30
+ <p class="no-rating"><a href="<?php echo $this->getReviewsUrl() ?>#review-form"><?php echo $this->__('Be the first to review this product') ?></a></p>
31
+ <?php endif; ?>
app/design/frontend/default/computer_store/template/review/helper/summary_short.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) 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 if ($this->getReviewsCount()): ?>
28
+ <div class="ratings">
29
+ <?php if ($this->getRatingSummary()):?>
30
+ <div class="rating-box">
31
+ <div class="rating" style="width:<?php echo $this->getRatingSummary() ?>%"></div>
32
+ </div>
33
+ <?php endif;?>
34
+ <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>
35
+ </div>
36
+ <?php elseif ($this->getDisplayIfEmpty()): ?>
37
+ <p class="no-rating"><a href="<?php echo $this->getReviewsUrl() ?>#review-form"><?php echo $this->__('Be the first to review this product') ?></a></p>
38
+ <?php endif; ?>
app/design/frontend/default/computer_store/template/review/product/view/count.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) 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 if (!empty($count)):?>
28
+ <a href="#customer-reviews" class="nobr"><?php echo $this->__('%s Review(s)', $count) ?></a>
29
+ <?php endif;?>
app/design/frontend/default/computer_store/template/review/product/view/list.phtml ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 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
+
28
+ <?php $_items = $this->getReviewsCollection()->getItems();?>
29
+ <div class="box-collateral box-reviews" id="customer-reviews">
30
+ <?php if (count($_items)):?>
31
+ <h2><?php echo $this->__('Customer Reviews') ?></h2>
32
+ <?php echo $this->getChildHtml('toolbar') ?>
33
+ <dl>
34
+ <?php foreach ($_items as $_review):?>
35
+ <dt>
36
+ <a href="<?php echo $this->getReviewUrl($_review->getId()) ?>"><?php echo $this->htmlEscape($_review->getTitle()) ?></a> <?php echo $this->__('Review by <span>%s</span>', $this->htmlEscape($_review->getNickname())) ?>
37
+ </dt>
38
+ <dd>
39
+ <?php $_votes = $_review->getRatingVotes(); ?>
40
+ <?php if (count($_votes)): ?>
41
+ <table class="ratings-table">
42
+ <col width="1" />
43
+ <col />
44
+ <tbody>
45
+ <?php foreach ($_votes as $_vote): ?>
46
+ <tr>
47
+ <th><?php echo $this->escapeHtml($_vote->getRatingCode()) ?></th>
48
+ <td>
49
+ <div class="rating-box">
50
+ <div class="rating" style="width:<?php echo $_vote->getPercent() ?>%;"></div>
51
+ </div>
52
+ </td>
53
+ </tr>
54
+ <?php endforeach; ?>
55
+ </tbody>
56
+ </table>
57
+ <?php endif; ?>
58
+ <?php echo nl2br($this->htmlEscape($_review->getDetail())) ?>
59
+ <small class="date"><?php echo $this->__('(Posted on %s)', $this->formatDate($_review->getCreatedAt()), 'long') ?></small>
60
+ </dd>
61
+ <?php endforeach; ?>
62
+ </dl>
63
+ <?php echo $this->getChildHtml('toolbar') ?>
64
+ <?php endif;?>
65
+ <?php echo $this->getChildHtml('review_form') ?>
66
+ </div>
app/design/frontend/default/computer_store/template/review/product/view/other.phtml ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+
28
+ <?php $_product = Mage::registry('product'); ?>
29
+ <div class="buttons-set">
30
+ <p class="back-link"><a href="<?php echo $_product->getProductUrl() ?>"><small>&laquo; </small><?php echo $this->__('Back to Main Product Info') ?></a></p>
31
+ </div>
app/design/frontend/default/computer_store/template/review/view.phtml ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 if($this->getProductData()->getId()): ?>
28
+ <div class="product-review">
29
+ <div class="page-title">
30
+ <h1><?php echo $this->__('Review Details') ?></h1>
31
+ </div>
32
+ <div class="product-img-box">
33
+ <a href="<?php echo $this->getProductData()->getProductUrl() ?>" title="<?php echo $this->htmlEscape($this->getProductData()->getName()) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($this->getProductData(), 'small_image')->resize(125, 125); ?>" height="125" width="125" alt="<?php echo $this->htmlEscape($this->getProductData()->getName()) ?>" /></a>
34
+ <?php if( $this->getRating() && $this->getRating()->getSize()): ?>
35
+ <p class="label"><?php echo $this->__('Average Customer Rating') ?>:</p>
36
+ <?php echo $this->getReviewsSummaryHtml($this->getProductData()) ?>
37
+ <?php endif; ?>
38
+ </div>
39
+ <div class="product-details">
40
+ <h2 class="product-name"><?php echo $this->htmlEscape($this->getProductData()->getName()) ?></h2>
41
+ <?php if( $this->getRating() && $this->getRating()->getSize()): ?>
42
+ <h3><?php echo $this->__('Product Rating:') ?></h3>
43
+ <table class="ratings-table">
44
+ <?php foreach ($this->getRating() as $_rating): ?>
45
+ <?php if($_rating->getPercent()): ?>
46
+ <tr>
47
+ <th><?php echo $this->__($this->escapeHtml($_rating->getRatingCode())) ?></th>
48
+ <td>
49
+ <div class="rating-box">
50
+ <div class="rating" style="width:<?php echo ceil($_rating->getPercent()) ?>%;"></div>
51
+ </div>
52
+ </td>
53
+ </tr>
54
+ <?php endif; ?>
55
+ <?php endforeach; ?>
56
+ </table>
57
+ </dl>
58
+ <?php endif; ?>
59
+ <dl>
60
+ <dt>
61
+ <?php echo $this->__('Product Review (submitted on %s):', $this->dateFormat($this->getReviewData()->getCreatedAt())) ?>
62
+ </dt>
63
+ <dd>
64
+ <?php echo nl2br($this->htmlEscape($this->getReviewData()->getDetail())) ?>
65
+ </dd>
66
+ </dl>
67
+ </div>
68
+ <div class="buttons-set">
69
+ <p class="back-link"><a href="<?php echo $this->getBackUrl() ?>"><small>&laquo; </small><?php echo $this->__('Back to Product Reviews') ?></a></p>
70
+ </div>
71
+ </div>
72
+ <?php endif; ?>
installation_guide/computer_store/Computer Store User Manual.pdf ADDED
Binary file
package.xml ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <package>
3
+ <name>computer_store_template</name>
4
+ <version>0.1.0</version>
5
+ <stability>stable</stability>
6
+ <license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License</license>
7
+ <channel>community</channel>
8
+ <extends/>
9
+ <summary>Computer Store Template</summary>
10
+ <description>Computer Store Template</description>
11
+ <notes>Computer Store Template</notes>
12
+ <authors><author><name>Magebuzz</name><user>magebuzz</user><email>magebuzz@gmail.com</email></author></authors>
13
+ <date>2012-08-25</date>
14
+ <time>08:45:18</time>
15
+ <contents><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="computer_store"><dir name="layout"><file name="catalog.xml" hash="e02dd999c09034836903054f9599ce5e"/><file name="catalogsearch.xml" hash="266c421097376431c98cebaae5114808"/><file name="checkout.xml" hash="985b28943bddb87c73c22a8583d31658"/><file name="contacts.xml" hash="dd04b50b87c762aff2e98aba8a0dea2d"/><file name="customer.xml" hash="9d9997c7ebd876eae28afa01e5e436c1"/><file name="directory.xml" hash="c5c45798822d59dc661d3c2568957006"/><file name="newsletter.xml" hash="16c68965f8ea645c7e4d8ffd20d50b25"/><file name="page.xml" hash="cc86ce16681b8fa7faea5d0d309f7bef"/><file name="poll.xml" hash="41f3c0203c4d637230b6e1ffa10022ae"/><file name="productslider.xml" hash="7f029b5178b5b468b119f13f29579f8b"/><file name="reports.xml" hash="f9eda117608b7947f26742905589c67a"/><file name="review.xml" hash="3b29387c055022ab9671475d36c02b11"/><file name="tag.xml" hash="700e7923f31d266f4782ec575fe8095b"/></dir><dir name="template"><dir name="catalog"><dir name="category"><file name="page.phtml" hash="7623de9ff19532ebb567f016a643811f"/><file name="view.phtml" hash="773b595b26c4a73dd8f27c4e2275fbd2"/><dir name="widget"><dir name="link"><file name="link_block.phtml" hash="d215cc032f0b704e7d9820bd6938d33d"/><file name="link_inline.phtml" hash="22a9aadcf69d759971e763f16c4dea21"/></dir></dir></dir><dir name="layer"><file name="state.phtml" hash="7746a1d02b8ee588a7b384ebbd1c8a3b"/><file name="view.phtml" hash="17b790fca22c6befa182200ade93ca8a"/></dir><dir name="navigation"><file name="categories.phtml" hash="04f32b5d7b4766b054ee94d87d8763dd"/><file name="left.phtml" hash="b6705b10b3ea65546d95ba4fe5109dbd"/><file name="top.phtml" hash="a14626a9a2851e6810ac29266bc2d792"/></dir><dir name="product"><dir name="compare"><file name="list.phtml" hash="f4a0153eea2039de49e8c3db904df727"/><file name="sidebar.phtml" hash="dc2edc6666148269325d1bb7583526c7"/></dir><file name="gallery.phtml" hash="cc8052eb85a759a8fc550872a43820f5"/><dir name="list"><file name="related.phtml" hash="7e6a80a1e33d56e204de72bb6dac3513"/><file name="toolbar.phtml" hash="dc7f3d0bd2ea964fa80799a60e693326"/><file name="upsell.phtml" hash="0b6e931161f878523b30dc7d9e21e30c"/></dir><file name="list.phtml" hash="89878d9faab822ce312d7ddf0f6c7984"/><file name="new.phtml" hash="911b1f9b01fbd78df48b4b8437ba24fa"/><file name="price.phtml" hash="c2d0fce68ba0f9f44b2cec94e2573a2e"/><dir name="view"><file name="additional.phtml" hash="9bec67eecdce915d9fdc1bfe645e714a"/><file name="addto.phtml" hash="37c8e47099bbb6aa89ce5833eafec61d"/><file name="addtocart.phtml" hash="9a7fea80c340da9a40464a229be25256"/><file name="attributes.phtml" hash="787e864235bbe547d279fffdc3776dd7"/><file name="description.phtml" hash="47d65d32b4dc11357d51c61cabe776b3"/><file name="media.phtml" hash="db84ff6351904857159a2099705df221"/><dir name="options"><file name="js.phtml" hash="7cc617d9de867bcac20b5e3b9e0ecfa1"/><dir name="type"><file name="date.phtml" hash="3ddfd46c1fa1205d9d11f5ae4b4b63fb"/><file name="default.phtml" hash="2b3cd2dfb2d8563d1eeae981f94ade69"/><file name="file.phtml" hash="63c6fdaa66a9f4cc4400216efdb6c2f3"/><file name="select.phtml" hash="0a36c8f708a42dd944902078834085b4"/><file name="text.phtml" hash="118a4c7806220ed4c3635a040b5954ad"/></dir><dir name="wrapper"><file name="bottom.phtml" hash="08d65fcb78cb0ed1f1718c01661f73f4"/></dir><file name="wrapper.phtml" hash="c39d07409f58c5ca30bcccea31637a3d"/></dir><file name="options.phtml" hash="4a914327c2402f2fe7e01fa4fb01bf4e"/><file name="price.phtml" hash="b5f7636ed693c856c2fcfe12c19693c1"/><dir name="type"><file name="configurable.phtml" hash="c8c13c15b1d350f702ff1c8490732444"/><file name="default.phtml" hash="6e5b4b4a20822494440b22d7eb8d3b7e"/><file name="grouped.phtml" hash="238725ca26320716dfeeb2794712f30e"/><dir name="options"><file name="configurable.phtml" hash="2f16650aa1e239c6b6f15f8b22334d40"/></dir><file name="simple.phtml" hash="c8c13c15b1d350f702ff1c8490732444"/><file name="virtual.phtml" hash="c8c13c15b1d350f702ff1c8490732444"/></dir></dir><file name="view.phtml" hash="3a30d7a9073758d86a1e9e958f4bce7d"/><dir name="widget"><dir name="link"><file name="link_block.phtml" hash="f0c14aa6f5c60fe2b07fcac7a8d5d09e"/><file name="link_inline.phtml" hash="b80eb44f43eb3aa528bb87bec14844a4"/></dir><dir name="new"><dir name="column"><file name="new_default_list.phtml" hash="9de628d7c98f6e3c9055abb30ee49c22"/><file name="new_images_list.phtml" hash="fc265a0e7aa0d09c0af4545460464f6a"/><file name="new_names_list.phtml" hash="4baea0009e3a86cb15aceeb0f671ef34"/></dir><dir name="content"><file name="new_grid.phtml" hash="657e87abf91d511349a3a2ab5befe9f8"/><file name="new_list.phtml" hash="aa9b1525ba7a8ab80ca9d501be183d48"/></dir></dir></dir></dir></dir><dir name="catalogsearch"><file name="form.mini.phtml" hash="1c6a788a395af0eca886dd70c26ab4bc"/></dir><dir name="checkout"><dir name="cart"><file name="coupon.phtml" hash="61d094e3db692e69b761a85efc02e68f"/><file name="crosssell.phtml" hash="c7fa2be9abe60178d1778fe81229e2f4"/><dir name="item"><dir name="configure"><file name="updatecart.phtml" hash="495e8512a8cb68545b4458faab679548"/></dir><file name="default.phtml" hash="54aeb2c6d747edabc6b7f890e67288aa"/></dir><file name="noItems.phtml" hash="b015b9627c33c5ea11343d7c62d9ba7b"/><dir name="render"><file name="default.phtml" hash="70528d3d10bd43d62c3c2bfd5d9625d0"/><file name="simple.phtml" hash="f0c0600adb695d65726cdf08db0035ce"/></dir><file name="shipping.phtml" hash="942fbc73837a4e3021a8d19b96fd8aa3"/><dir name="sidebar"><file name="default.phtml" hash="291915da9dc5079fdaddf81d161d42a3"/></dir><file name="sidebar.phtml" hash="59302d22374108ceb38e6086b03f15e1"/><file name="totals.phtml" hash="eb87a3da72f038cbaa6e899142f3fd45"/></dir><file name="cart.phtml" hash="a7972c41888c8a9fa1ea97cf59c725a4"/><dir name="multishipping"><dir name="address"><file name="select.phtml" hash="e7eaa7f7443db3a84c965038170f3197"/></dir><file name="addresses.phtml" hash="4625ca2972efcf6b4a8dcd6e9bd14d6d"/><file name="agreements.phtml" hash="4f4688886a3d5cd0be21c1d91c73cb94"/><dir name="billing"><file name="items.phtml" hash="0a3207d2aba498b75255608f6a46eea3"/></dir><file name="billing.phtml" hash="251bd55fa6c10f8afe40df15e295353d"/><dir name="item"><file name="default.phtml" hash="2d4d1e9a4a7aaf150955e199411d78e9"/></dir><file name="link.phtml" hash="d4574e53a0649044dc21fda3ba4c9c2f"/><dir name="overview"><file name="item.phtml" hash="03983a5139694ba2a55ce011c5afcd6f"/></dir><file name="overview.phtml" hash="9d87737d3e456e56d79e97bdbcacbe27"/><file name="shipping.phtml" hash="645c6b8ae7c7908ebaa49d76c47b82d1"/><file name="state.phtml" hash="b75e38f9ec5d8ed1fccc58f388a4eb80"/><file name="success.phtml" hash="e6c2f92899a9fdda5b481616affcf045"/></dir><dir name="onepage"><file name="agreements.phtml" hash="0fff158d39ae95b7ccb4668615fc0fee"/><file name="billing.phtml" hash="dec38f3db30d6b4e259838eb1b2cd8d9"/><file name="failure.phtml" hash="12a3c6013c5b1644d3ded2f14db14276"/><file name="link.phtml" hash="2aa6b45b225677f279981fa87c6427c1"/><file name="login.phtml" hash="18dc6bddb9de845b013bb958b2f305c0"/><dir name="payment"><file name="methods.phtml" hash="5bece91669f62b693f9ccb0aee47127d"/></dir><file name="payment.phtml" hash="f423d101abec8152c1434005f6d5f51f"/><file name="progress.phtml" hash="874a965ce5d8dbb1a5ae467368e9bab9"/><dir name="review"><file name="button.phtml" hash="f39dbfa65b20567440b2aadec1f73be1"/><file name="info.phtml" hash="7123f45765105c29c129c6b9003648a3"/><file name="item.phtml" hash="8ad27c6c39dc0fbc004dfbd80619d429"/><file name="totals.phtml" hash="3fd3d3cb077f5460854f749f3b6c0369"/></dir><file name="review.phtml" hash="f4fad1be808013dc001e1bc725ed5038"/><file name="shipping.phtml" hash="3357649740cdc112fe3c9d4e0a69df72"/><dir name="shipping_method"><file name="additional.phtml" hash="4e77fb6f6df70325312494c483c6ebff"/><file name="available.phtml" hash="a9390618a4a6f6438fa93a4da3bb0ac3"/></dir><file name="shipping_method.phtml" hash="c915749209e84b3bdadd575fca762207"/></dir><file name="onepage.phtml" hash="2221293b0b58bc805feae93f3fd5bd8c"/><file name="success.phtml" hash="d94392aa3bc6ded274c4fa7877338f10"/><dir name="total"><file name="default.phtml" hash="db25fef3902cda876470ff300bd53a30"/><file name="nominal.phtml" hash="e282356be27bd3309b216173df1a2a40"/><file name="tax.phtml" hash="0b2cb4ff353a1f3ce6d88e4c54162cc5"/></dir></dir><dir name="directory"><file name="currency.phtml" hash="79cc3ca3f81e01a7abdffcea63c6e80f"/></dir><dir name="newsletter"><file name="subscribe.phtml" hash="509254a898423ebe188672e7d2681c74"/></dir><dir name="page"><dir name="html"><file name="breadcrumbs.phtml" hash="56ff71b3e7a04cb6a61cd9aa1f487b4a"/><file name="footer.phtml" hash="f9595b6514f88cc7dd9ae0b8a6185f0c"/><file name="head.phtml" hash="1bd092f33a491c68a4d62bdd1d6a7686"/><file name="header.phtml" hash="e4e759d30e850d4332ee8be14cca4e34"/><file name="notices.phtml" hash="9930b74e94a968027fa7bf12e6601c62"/><file name="pager.phtml" hash="40fd9faf365686bfb0eceaa9210cc5bf"/><file name="top.links.phtml" hash="fde49f828248b4cc633696903613b1b3"/><file name="wrapper.phtml" hash="b173617a7990f08975f446ec48cb1d58"/></dir></dir><dir name="poll"><file name="active.phtml" hash="5de1c13e345159053d3889b1aef6888a"/><file name="result.phtml" hash="48e6f0dcf465b3e12ba4011beafa8c67"/></dir><dir name="productslider"><file name="productslider.phtml" hash="bd485ac41efcfd7d55e4e19651742b8f"/><dir name="type"><file name="slider1.phtml" hash="d397e4290bf32b164d62ac0582cc035e"/></dir></dir><dir name="reports"><file name="product_compared.phtml" hash="87722407fbe5e8e406b8bf2f1d2d4f1d"/><file name="product_viewed.phtml" hash="9cd6dfd306a6e4b14d7e1198b0fc9bcc"/></dir><dir name="review"><dir name="customer"><file name="list.phtml" hash="74d4773abffe4b9994177357d35d6ff2"/><file name="recent.phtml" hash="38e988e3d2ff3b4f3441495f5ed66d59"/><file name="view.phtml" hash="b8695cc34f9d56570dd767a4573fa5ea"/></dir><file name="form.phtml" hash="f555f35de026b4184d6a2ca76d642f6c"/><dir name="helper"><file name="summary.phtml" hash="b43a19ac5cc9ed4bdf46d27979686fa4"/><file name="summary_short.phtml" hash="72fc1b0f782872ed04ce92ed802e3db8"/></dir><dir name="product"><dir name="view"><file name="count.phtml" hash="91ca84b3161f488787e8b00624003fbc"/><file name="list.phtml" hash="37f4bd5075c731f0b9c156dfb5bee3c7"/><file name="other.phtml" hash="9daabe25e3b6994004f59e4534e04489"/></dir></dir><file name="view.phtml" hash="049ef8252450409205649bff52f3c736"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="computer_store"><dir name="css"><dir name="fonts"><file name="calibri.ttf" hash="a78cfad3beb089a6ce86d4e280fa270b"/><file name="calibrib.ttf" hash="c8980f67879f6f08737d47c2ecb1cc43"/><file name="calibrii.ttf" hash="3e14931180b08416dd7c967a7163f8ea"/><file name="calibriz.ttf" hash="4b688ffc60e79cbd3bba465966a58e73"/></dir><file name="home-banner.css" hash="bd0a1397d41b9796d7d751fb2699ccb7"/><dir name="magebuzz"><dir name="productslider"><dir name="images"><file name="arrow-bg.png" hash="dd02d2e167a7ad76df8f10bf1147de70"/><file name="arrow-l.png" hash="9a4f1aadda0df80f8db6ebc7d0c938d7"/><file name="arrow-r.png" hash="94af413ec776ca1b09b9fff4f81cc618"/><file name="bg_dark.png" hash="7b2a5f91384c5506d0301407a23886b7"/><file name="bg_trans.png" hash="a79bdd39abd7923b383763cfa0b27068"/><file name="bkg_product-grid-first.png" hash="59aa1e50b4e5a3f18f7210d8fe165bfe"/><file name="btn-cart.gif" hash="121b944b70a24e293002a7046c3ea1f0"/><file name="btn_next.png" hash="b70dbdd9c9cdba2df7faa885a97263bc"/><file name="btn_next_active.png" hash="c1b752ab415ab2d91068f6ef846e34d2"/><file name="btn_prev-active.png" hash="1b9c4054799f8e6631b0f34e5c7edef8"/><file name="btn_prev.png" hash="5b2643aa2fe83a5d0d9e881579a3c10e"/><file name="grad-bg.gif" hash="ea5c5db23b9fb55afe5c64a14620a69e"/><file name="icon-uparrowsmallwhite.png" hash="e20f9a64db38e2345a876f85e3b87806"/><file name="lightbox-blank.gif" hash="fc94fb0c3ed8a8f909dbc7630a0987ff"/><file name="lightbox-btn-close.gif" hash="2c38ae5be85141bf8867c9523f4bc357"/><file name="lightbox-btn-next.gif" hash="23414965ebe526012e473c1d4d65d4e7"/><file name="lightbox-btn-prev.gif" hash="5a9118de4ef6226473190d6e82f6d80d"/><file name="lightbox-ico-loading.gif" hash="b5fe8df97005341f898e2cf84e68de01"/><file name="load-indicator.gif" hash="4de83e8e2fb6ae4fe8d50453e3bc45ea"/><dir name="mopSlider"><file name="logo.png" hash="32e36acaf9db2701f45071865312f296"/><file name="monoBack.gif" hash="e2b307a546021ba3ad60a643138a81d6"/><file name="mopSlider-2.4.js" hash="9ea653968b6a84309abadd192b3c9c73"/><file name="paperBack.gif" hash="ccea3ba0fa8b0573ca184e684944472b"/><file name="paperBack.jpg" hash="c7fc174d3febd06f94224741b8bee641"/><file name="sliderBack.png" hash="94975be258b7eb54187be1a42cc26d45"/><file name="sliderBackLeft.png" hash="5437ae9d84052d3ecec981eba1f21ce3"/><file name="sliderBackLeftLeft.png" hash="fb47be03e56323b7e37ee3462cf737d8"/><file name="sliderBackLeftLeftW.png" hash="1cbd1d2be5ec6fcc92e27ec404c2c73a"/><file name="sliderBackLeftW.png" hash="13a9d085973993fb7630dd339b0628af"/><file name="sliderBackRight.png" hash="4dcb5d823b828e1baa56a76107ef3d88"/><file name="sliderBackRightRight.png" hash="3255f0dc97e1153dc25f99a876da3c46"/><file name="sliderBackRightRightW.png" hash="3d3a86f2e5e34ab556c605e32c27e447"/><file name="sliderBackRightRightW_f.png" hash="cee2301871d372580491ae8184440f33"/><file name="sliderBackRightRight_f.png" hash="bc7a19ff713b2333cae923cab799a03f"/><file name="sliderBackRightW.png" hash="8010a4b73de14c717953c1753ebe0570"/><file name="sliderBackW.png" hash="cb402275562f8e92fd7f01e0f9de7bf9"/><file name="sliderBtn.png" hash="edca4077cfb86a1f26f88d915cb00b1d"/><file name="sliderBtnLeft.png" hash="1093dc30d956db98b09219ef0351ba45"/><file name="sliderBtnLeftW.png" hash="9f1f73ba01353ca46cb2d410d7c90864"/><file name="sliderBtnLeftW_f.png" hash="19cb085e46f3ddef12d093b76ee19081"/><file name="sliderBtnLeft_f.png" hash="d9724727ffb75de44544eccf4d87922b"/><file name="sliderBtnRight.png" hash="8958e20835265a084176526b85c21cb8"/><file name="sliderBtnRightW.png" hash="e51ff8cc303f6001c32ee85e330523fe"/><file name="sliderBtnRightW_f.png" hash="777873b6a65b0228bd126dd9a4590e4f"/><file name="sliderBtnRight_f.png" hash="e4f2ad444219019f069f4597376373e4"/><file name="sliderBtnW.png" hash="6db7ccfb6687f9c4f1a1d8a77e421c3a"/><file name="sliderCorner_leftBottom.png" hash="de61a254ab7b82ee055b493aaef6312b"/><file name="sliderCorner_leftTop.png" hash="d56736e6bd04a61b148ebefe03490e37"/><file name="sliderCorner_rightBottom.png" hash="bb4edc731175d3b6a3b3800fb775c5cf"/><file name="sliderCorner_rightTop.png" hash="86a124668cfbdab6a1f2bcad1fb7480d"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><file name="next-active.png" hash="74c7aac3278ef5c025796b47ccc9f2a1"/><file name="next.png" hash="2fafb3642e59ae4e35f0dddc793e5beb"/><file name="next_icon.png" hash="4493198fbdf6ec09cec91a1046e85e96"/><file name="previous-active.png" hash="ca83113aa61ff8029440139d87345343"/><file name="previous.png" hash="d033a08d98a5588d301a967227779cc9"/><file name="previous_icon.png" hash="7df329d7d8041cba7f7bc88aff1ca825"/><file name="product-image-bg.png" hash="217a3783c24845a87f38559cfe5523e2"/><file name="product_bg.png" hash="03eba209981fa189dd74cf13ca8076ac"/><file name="transpBlack.png" hash="346fd634dc6fd656232300275b4a26db"/><file name="transparent_bg.png" hash="341a78f55fb58bb02e93b2a385e0353f"/><file name="ui-bg_flat_75_ffffff_40x100.png" hash="8692e6efddf882acbff144c38ea7dfdf"/></dir><file name="jquery-ui-1.7.2.custom.css" hash="89308fee66b4562d35366650a8b664ac"/><file name="jquery.lightbox-0.5.css" hash="79ec543bbe42f8852aac14381b9ffff8"/><file name="layout.css" hash="1ff11e00d2d5cb416d7fd9d0c6188b6c"/><file name="lightbox.css" hash="50e739a0cabced22b6507a88846b9b8f"/><file name="simple-slider.css" hash="fd914686473b6b5137c8a7da00a86460"/><file name="slidebar.css" hash="74683c7c1795c61d3ce4afd1ffc3a813"/><file name="slider-navright.css" hash="c54cef4450dbb854c4071b30e1abd776"/><file name="slider-scroll.css" hash="d6915f6436371b7ae4a2a378e6856509"/><file name="slider.css" hash="b4ed86cd38192eef5ac14044cbfc29e6"/><file name="style.css" hash="9c649a282e340d7e52e0ed66043b642d"/></dir><file name="productslider.css" hash="e22224469f8fa122b12fdbaa55f585e3"/></dir><file name="print.css" hash="df224cf14394b5a84a8993688946cd6b"/><file name="styles-ie.css" hash="4bf8879fde578539a079d215916eaafc"/><file name="styles.css" hash="f65cbbe916a18878d7c5caa5eaff2983"/><file name="superfish.css" hash="ef66f265c26be3dc7659fbe92c99212e"/></dir><file name="favicon.ico" hash="88733ee53676a47fc354a61c32516e82"/><dir name="images"><file name="advertising.png" hash="222bf5361725dd1d40e9781178f8b07d"/><file name="back-pages.gif" hash="a21657659eff5fdc10fd1e1907a53a11"/><file name="banner.png" hash="419c30bc44e6b1877daf7edc3e16777e"/><file name="banner2.png" hash="4711a7d01b71e08df2663c9f378a1580"/><file name="best_selling_tr_even_bg.gif" hash="5022d648379090e306f00cd64738b146"/><file name="best_selling_tr_odd_bg.gif" hash="926622704f53796801bb5d097e116c8e"/><file name="bg-grid.png" hash="dc62e9dec844fc6c44d5ed8953b1fb89"/><file name="bg_toolbar.png" hash="1b861ea1277dc7dcf6d44aec33499ae1"/><file name="bkg-button-hover.png" hash="683aa7db767dd4083f1d17d87f85b7c1"/><file name="bkg-button-hover2.png" hash="a3b039beb4eed33c2ca9663938068949"/><file name="bkg-button-tags.png" hash="d5be95829b90590003db3f596234f0da"/><file name="bkg-button.png" hash="3e20067d35652ff824018262c168f623"/><file name="bkg_account_box.gif" hash="dd98174b6e3e5605a3f9551a59c66841"/><file name="bkg_block-actions.gif" hash="da2970eac0a22c850b19ee3680475d51"/><file name="bkg_block-content.png" hash="5a0e71e61ad5b72deb21e529b87bead9"/><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-layered1.png" hash="34a78105f7469435e334b248e72b643b"/><file name="bkg_block-title-account.gif" hash="a64f1df5a7e3d0f6a58b017f74311cb1"/><file name="bkg_block-title-newproducts.png" hash="6fc51ccd53c95bbd7c72a0ec28fe429e"/><file name="bkg_block-title.gif" hash="f8c1f130ad69464fe7aff2f589b2ec75"/><file name="bkg_block-title.png" hash="ef0ec9e46862f802195068e0447dca49"/><file name="bkg_body.gif" hash="82bfc5bfe346c8e974cd33b1314b0acf"/><file name="bkg_bottom-categories.png" hash="aa5bc8c1957161e2445325bf18859ed3"/><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_footer.png" hash="154f9ecd16c1274455eafafef562e787"/><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_head-sliderpr.png" hash="522b923cbf62d9f422f5c9dd16e8afc4"/><file name="bkg_header.jpg" hash="0211c47be1493bd0ec72949c47932b81"/><file name="bkg_input-text.png" hash="e58c99f44308a55a243b2ba29395edef"/><file name="bkg_input_search.png" hash="18776b918e2d4adc77346e037420473d"/><file name="bkg_li_categories.jpg" hash="f39174b975ca4d508bcbf6b1e8ec5eee"/><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_mycart.png" hash="bff8b1235482323a0667172bd6670edc"/><file name="bkg_nav0.jpg" hash="f9ac3f31e293cf075471d2d3fe07353a"/><file name="bkg_nav1.gif" hash="f4e26840c8cca0e74aba5b810341c5c0"/><file name="bkg_nav2.gif" hash="a64c8f5165b239e432d26a62ae5f79b6"/><file name="bkg_navigation.png" hash="9b3a7b9dc1af773f41676434333b01f9"/><file name="bkg_newletter.png" hash="47f49e4b7f138174517f2fd72255226e"/><file name="bkg_opc-title-off.gif" hash="f69b40b5331ab3760f54d038daf287eb"/><file name="bkg_opc-title-off.png" hash="94b57f9e66aa49efa7bc241de0f3480c"/><file name="bkg_pipe1.gif" hash="7852290f6a443000ead96b8cec5cd7c7"/><file name="bkg_pipe2.gif" hash="fe3bc75fdca95f3249a5f81ba9f0664d"/><file name="bkg_pipe3.gif" hash="11bfac1e590f0c77fb12f37d7f05cd3c"/><file name="bkg_product-grid-first.png" hash="59aa1e50b4e5a3f18f7210d8fe165bfe"/><file name="bkg_product-grid.png" hash="0081296de5a014b1b1af14e8a3de1b71"/><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_sepa_header_bottom.png" hash="5442d0a910e77e39eed2dba36039f69d"/><file name="bkg_shopby-title.png" hash="5e376f3733a9ff6e2196ea5b6bbe4c23"/><file name="bkg_sp-methods.gif" hash="17d68b5449adaa87dafc62ae0afa1b9a"/><file name="bkg_stretched-sliderpr.png" hash="80cc93e9e01d4b43ba9d1355331f562c"/><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="bkg_ul_adv.jpg" hash="cf51ec834bed0ea5294db1c690b0567d"/><file name="btn-back-hover.png" hash="8c5c6cc9935035378270798d8aea40ad"/><file name="btn-back.png" hash="64c172fc94a044b31b73d95b94b413d9"/><file name="btn-next-hover.png" hash="6e95ce676ae9ad80dc45295ec5d80ba9"/><file name="btn-next.png" hash="474aeffe8e83a50db953c946b65280d5"/><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_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_trash.gif" hash="bcb22f558a0eb32243a2a36645189e9f"/><file name="btn_window_close.gif" hash="c83f3cbbb2aedfc580dff78d5cfb63ed"/><file name="calendar.gif" hash="b1468e5239504974c689eea5d93f86d4"/><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="cs-buttons-games-1-nohover.png" hash="ef3cbf66157132b3710a09a7762a0994"/><file name="cs-buttons-games-1.png" hash="ed0eb06ea6e6062e170d121d7e152b2a"/><file name="cvv.gif" hash="ed0f392004a405466291071a760b285d"/><file name="cvv.jpg" hash="e27210d810bbab732935d9410936ef87"/><file name="fam_book_open.png" hash="0ba89b9fbe7e88d4c6896ed0a1f495aa"/><file name="free_shipping_callout.jpg" hash="cbf2e494ef7ca50acf8826321d739559"/><file name="grid-cal.gif" hash="b1468e5239504974c689eea5d93f86d4"/><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_asc_arrow.png" hash="34924222fe67300d34b4e759d6d02cda"/><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_desc_arrow.png" hash="3ac99c67ae4d042382504c09b5344bbd"/><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-links-footer.png" hash="77bd2fe376dc8cef20bba226b8f6c755"/><file name="icon_search.png" hash="9c993b71687bdfabbf5dede0393c28c6"/><file name="logo.gif" hash="48b7eb03807fdf80bdfb19b872cf84b8"/><file name="logo.png" hash="f3fbfacaec17221e3b48da311e863cb2"/><file name="logo_email.gif" hash="8de347192e0524cff7a69e4020182dbd"/><file name="logo_print.gif" hash="8de347192e0524cff7a69e4020182dbd"/><file name="magnifier_handle.gif" hash="fb8617f770a1f1f516889f6473e0fee6"/><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="next-pages.gif" hash="9dee6366870d8075adf3c7aa0bcf35ba"/><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="opc-ajax-loader.gif" hash="e805ea7eca1f34c75ba0f93780d32d38"/><file name="pager_arrow_left.gif" hash="75973b020105dccbaf34e49d7852552d"/><file name="pager_arrow_right.gif" hash="ed4d6640624c2b6edeab4c212314bd6d"/><file name="parent.png" hash="5ae4cc270ab9f7c76a567f8b84cd677d"/><file name="parent_hover.png" hash="0d6010ce006aea502e957462579f394b"/><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="slider_bg.gif" hash="2a55af7319db8226343b6653031660ce"/><file name="slider_btn_zoom_in.gif" hash="4ae5d01d133668a379d49af2910cbb66"/><file name="slider_btn_zoom_out.gif" hash="adf5328c6d9f693887e8abed2eae3be7"/><file name="spacer.gif" hash="df3e567d6f16d040326c7a0ea29a4f41"/><file name="validation_advice_bg.gif" hash="b85432906de8985a8b14eeb2dc652d3c"/><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></dir><dir name="js"><file name="coin-slider.js" hash="cfa8e8bb3ff0c0a152b581662407ff0d"/><file name="jquery-1.4.2.min.js" hash="223e1978ec4920a72140c1b0ea680dc3"/></dir></dir></dir></dir></target><target name="mageweb"><dir name="installation_guide"><dir name="computer_store"><file name="Computer Store User Manual.pdf" hash="c71c9ec9387247959ee0ed57b379dcd2"/></dir></dir></target></contents>
16
+ <compatible/>
17
+ <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
18
+ </package>
skin/frontend/default/computer_store/css/fonts/calibri.ttf ADDED
Binary file
skin/frontend/default/computer_store/css/fonts/calibrib.ttf ADDED
Binary file
skin/frontend/default/computer_store/css/fonts/calibrii.ttf ADDED
Binary file
skin/frontend/default/computer_store/css/fonts/calibriz.ttf ADDED
Binary file
skin/frontend/default/computer_store/css/home-banner.css ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .coin-slider { overflow: hidden; zoom: 1; position: relative;margin:12px 0 25px; }
2
+ #home-slider{width:1022px;float:left;text-align:left;margin-bottom:10px; border: 1px solid #D5D5D5}
3
+ .coin-slider .img { }
4
+ .coin-slider a{ text-decoration: none; outline: none; border: none; }
5
+ .cs-buttons {}
6
+ .cs-buttons a { margin-left: 5px; height: 14px; width: 14px; float: left;background: url(../images/cs-buttons-games-1-nohover.png) no-repeat left top; color: #B8C4CF; text-indent: -1000px; }
7
+ .cs-active { background: url(../images/cs-buttons-games-1.png) no-repeat left top !important; color: #FFFFFF; }
8
+ .cs-title { padding: 10px; background: #000000; color: #FFFFFF;}
9
+ #cs-navigation-home-slider a.cs-prev{width:33px; height:27px; background: url(../images/btn-back-hover.png) top left no-repeat; cursor:pointer;top: 350px !important;right:44px !important;left: auto !important;}
10
+ #cs-navigation-home-slider a.cs-prev:hover{width:33px; height:27px; background: url(../images/btn-back.png) top left no-repeat; cursor:pointer;}
11
+ #cs-navigation-home-slider a.cs-prev span{display:none;}
12
+ #cs-navigation-home-slider a.cs-next{width:33px; height:27px; background: url(../images/btn-next-hover.png) top left no-repeat; cursor:pointer;top: 350px !important;right:8px !important;}
13
+ #cs-navigation-home-slider a.cs-next:hover{width:33px; height:27px; background: url(../images/btn-next.png) top left no-repeat; cursor:pointer;}
14
+ #cs-navigation-home-slider a.cs-next span{display:none;}
skin/frontend/default/computer_store/css/magebuzz/productslider.css ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /********All CSS Productslider ************/
2
+ #product-slider{margin:0 0 20px;}
3
+ #product-slider button.btn-cart {
4
+ background: none repeat scroll 0 0 transparent;
5
+ border: 0 none;
6
+ cursor: pointer;
7
+ margin: 0;
8
+ overflow: visible;
9
+ padding: 0;
10
+ width: auto;
11
+ }
12
+ #product-slider button.btn-cart span {
13
+ background: url(productslider/images/btn-cart.gif) no-repeat scroll left top transparent;
14
+ border: 0 none;
15
+ float: left;
16
+ height: 30px;
17
+ line-height: 30px;
18
+ padding: 0;
19
+ width: 90px;
20
+ }
21
+ #product-slider button.btn-cart span span {
22
+ background: none repeat scroll 0 50% transparent;
23
+ color: #1E7EC8;
24
+ font-weight: bold;
25
+ padding-left: 20px;
26
+ width: auto;
27
+ }
28
+ #product-slider .price-box .price{color:#f4453c; font-size:15px;}
skin/frontend/default/computer_store/css/magebuzz/productslider/images/arrow-bg.png ADDED
Binary file
skin/frontend/default/computer_store/css/magebuzz/productslider/images/arrow-l.png ADDED
Binary file
skin/frontend/default/computer_store/css/magebuzz/productslider/images/arrow-r.png ADDED
Binary file
skin/frontend/default/computer_store/css/magebuzz/productslider/images/bg_dark.png ADDED
Binary file
skin/frontend/default/computer_store/css/magebuzz/productslider/images/bg_trans.png ADDED
Binary file
skin/frontend/default/computer_store/css/magebuzz/productslider/images/bkg_product-grid-first.png ADDED
Binary file
skin/frontend/default/computer_store/css/magebuzz/productslider/images/btn-cart.gif ADDED
Binary file
skin/frontend/default/computer_store/css/magebuzz/productslider/images/btn_next.png ADDED
Binary file
skin/frontend/default/computer_store/css/magebuzz/productslider/images/btn_next_active.png ADDED
Binary file
skin/frontend/default/computer_store/css/magebuzz/productslider/images/btn_prev-active.png ADDED
Binary file
skin/frontend/default/computer_store/css/magebuzz/productslider/images/btn_prev.png ADDED
Binary file
skin/frontend/default/computer_store/css/magebuzz/productslider/images/grad-bg.gif ADDED
Binary file
skin/frontend/default/computer_store/css/magebuzz/productslider/images/icon-uparrowsmallwhite.png ADDED
Binary file
skin/frontend/default/computer_store/css/magebuzz/productslider/images/lightbox-blank.gif ADDED
Binary file
skin/frontend/default/computer_store/css/magebuzz/productslider/images/lightbox-btn-close.gif ADDED
Binary file
skin/frontend/default/computer_store/css/magebuzz/productslider/images/lightbox-btn-next.gif ADDED
Binary file
skin/frontend/default/computer_store/css/magebuzz/productslider/images/lightbox-btn-prev.gif ADDED
Binary file
skin/frontend/default/computer_store/css/magebuzz/productslider/images/lightbox-ico-loading.gif ADDED
Binary file
skin/frontend/default/computer_store/css/magebuzz/productslider/images/load-indicator.gif ADDED
Binary file
skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/.DS_Store ADDED
Binary file
skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/logo.png ADDED
Binary file
skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/monoBack.gif ADDED
Binary file
skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/mopSlider-2.4.js ADDED
@@ -0,0 +1,443 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * mopSlider 2.4
3
+ * By Hiroki Miura (http://www.mopstudio.jp)
4
+ * Copyright (c) 2009 mopStudio
5
+ * Licensed under the MIT License: http://www.opensource.org/licenses/mit-license.php
6
+ * July 18, 2009
7
+ */
8
+
9
+ jQuery.fn.extend({
10
+ mopSlider:function(setting){
11
+ var ua=navigator.userAgent,browser,os,ie67=false;
12
+ var px="px"
13
+ var btnPosi,boxPosi,btnPast,boxPast,whitchDrag="";
14
+ var btnMoveNum,btnMoveTo,boxMoveNum,boxMoveTo;
15
+ var timeCheck1,timeCheck2,DragCheck1,DragCheck2,finalTime1,finalTime2;
16
+ var mopSliderName;
17
+ var nextMov=[];
18
+ var scrollMax,scrollNum,caseW,itemNum,sliderNum,checkNum,movNum;
19
+ var mopSliderMotion;
20
+ var boxW,itemMgnAll;
21
+ var finalCount=0;
22
+ var indication=setting.indi
23
+ var mopSliderW=setting.w;
24
+ var mopSliderH=setting.h;
25
+ var sldW=setting.sldW;
26
+ var btnW=setting.btnW;
27
+ var itemMgn=setting.itemMgn;
28
+ var shuffle=setting.shuffle;
29
+ var mopSliderNo=setting.no;
30
+ var mopSliderType=setting.type;
31
+ /*path to image*/
32
+ var btnLeft=new Image();
33
+ var btnLeftF=new Image();
34
+ var btnRight=new Image();
35
+ var btnRightF=new Image();
36
+ var btnCenter=new Image();
37
+ var btnChange=new Image();
38
+ var btnChangeF=new Image();
39
+ var backImg=new Image();
40
+ var sldcLeftImg=new Image();
41
+ var sldcRightImg=new Image();
42
+ var sldBackLeft=new Image();
43
+ var sldBackCenter=new Image();
44
+ var sldBackRight=new Image();
45
+ if(mopSliderType=="paper"){
46
+ btnLeft.src="mopSlider/sliderBtnLeftW.png";
47
+ btnLeftF.src="mopSlider/sliderBtnLeftW_f.png";
48
+ btnRight.src="mopSlider/sliderBtnRightW.png";
49
+ btnRightF.src="mopSlider/sliderBtnRightW_f.png";
50
+ btnCenter.src="mopSlider/sliderBtnW.png";
51
+ btnChange.src="mopSlider/sliderBackRightRightW.png";
52
+ btnChangeF.src="mopSlider/sliderBackRightRightW_f.png";
53
+ backImg.src="mopSlider/paperBack.gif";
54
+ sldcLeftImg.src="mopSlider/sliderBackLeftLeftW.png";
55
+ sldcRightImg.src="mopSlider/sliderBackRightRightW.png";
56
+ sldBackLeft.src="mopSlider/sliderBackLeftW.png";
57
+ sldBackCenter.src="mopSlider/sliderBackW.png";
58
+ sldBackRight.src="mopSlider/sliderBackRightW.png";
59
+ }else if(mopSliderType=="black"){
60
+ btnLeft.src="mopSlider/sliderBtnLeft.png";
61
+ btnLeftF.src="mopSlider/sliderBtnLeft_f.png";
62
+ btnRight.src="mopSlider/sliderBtnRight.png";
63
+ btnRightF.src="mopSlider/sliderBtnRight_f.png";
64
+ btnCenter.src="mopSlider/sliderBtn.png";
65
+ btnChange.src="mopSlider/sliderBackRightRight.png";
66
+ btnChangeF.src="mopSlider/sliderBackRightRight_f.png";
67
+ backImg.src="mopSlider/monoBack.gif";
68
+ sldcLeftImg.src="mopSlider/sliderBackLeftLeft.png";
69
+ sldcRightImg.src="mopSlider/sliderBackRightRight.png";
70
+ sldBackLeft.src="mopSlider/sliderBackLeft.png";
71
+ sldBackCenter.src="mopSlider/sliderBack.png";
72
+ sldBackRight.src="mopSlider/sliderBackRight.png";
73
+ }
74
+
75
+ /* Modifed for tutorialzine */
76
+ else if(mopSliderType=="tutorialzine"){
77
+ btnLeft.src="mopSlider/sliderBtnLeftW.png";
78
+ btnLeftF.src="mopSlider/sliderBtnLeftW_f.png";
79
+ btnRight.src="mopSlider/sliderBtnRightW.png";
80
+ btnRightF.src="mopSlider/sliderBtnRightW_f.png";
81
+ btnCenter.src="mopSlider/sliderBtnW.png";
82
+ btnChange.src="mopSlider/sliderBackRightRightW.png";
83
+ btnChangeF.src="mopSlider/sliderBackRightRightW_f.png";
84
+ /* backImg.src="mopSlider/paperBack.gif";*/
85
+ sldcLeftImg.src="mopSlider/sliderBackLeftLeftW.png";
86
+ sldcRightImg.src="mopSlider/sliderBackRightRightW.png";
87
+ sldBackLeft.src="mopSlider/sliderBackLeftW.png";
88
+ sldBackCenter.src="mopSlider/sliderBackW.png";
89
+ sldBackRight.src="mopSlider/sliderBackRightW.png";
90
+
91
+ }
92
+
93
+ if(setting.itemMgn==null){itemMgn=20};
94
+ if(setting.shuffle==null){shuffle=1};
95
+
96
+ if((mopSliderNo==null)||(mopSliderNo=="01")){
97
+ mopSliderName="#mopSlider01";
98
+ mopSliderNo="01";
99
+ }else{
100
+ mopSliderName="#mopSlider"+setting.no;
101
+ }
102
+ var noSharp=mopSliderName.split("#")[1];
103
+ $(mopSliderName).hide();
104
+ /*shuffle*/
105
+ var arr=jQuery.makeArray($(this).children());
106
+ Array.prototype.shuffle = function() {
107
+ var i = this.length;
108
+ while(i){
109
+ var j = Math.floor(Math.random()*i);
110
+ var t = this[--i];
111
+ this[i] = this[j];
112
+ this[j] = t;
113
+ };
114
+ return this;
115
+ };
116
+ if(shuffle==1){
117
+ arr.shuffle();
118
+ $(arr).appendTo(this);
119
+ };
120
+ if(ua.indexOf("Mac",0)>=0){
121
+ os="mac";
122
+ }else if(ua.indexOf("Win",0)>=0){
123
+ os="win";
124
+ };
125
+ if(ua.indexOf("MSIE 6")>-1){
126
+ browser="ie6";
127
+ };
128
+ if(ua.indexOf("MSIE 7")>-1){
129
+ browser="ie7";
130
+ };
131
+ if((browser=="ie6")||(browser=="ie7")){
132
+ ie67=true;
133
+ };
134
+ $(this).css({position:"absolute",overflow: "hidden",left: "0px",display: "block"});
135
+ /*items number*/
136
+ itemNum=$(this).children().length;
137
+ var allW=0;
138
+ var num=0;
139
+ for (i=1; i<(itemNum+1); i++){
140
+ var itemW=eval($(this).children().eq(num).css("width").split("px")[0]);
141
+ nextMov.push(itemW);
142
+ var itemH=eval($(this).children().eq(num).css("height").split("px")[0]);
143
+ var mgn=(mopSliderH-itemH)/2;
144
+ $(this).children().eq(num).css({marginTop:mgn+px});
145
+ num+=1;
146
+ allW+=itemW;
147
+ };
148
+ /*width of all content & margin*/
149
+ itemMgnAll=itemMgn*itemNum;
150
+ boxW=allW+itemMgnAll+itemMgn;
151
+ /*put mopSlider*/
152
+ $(this).wrap('<div id="mopSlider"><div id="'+noSharp+'"><div class="holder"></div></div></div>');
153
+ $(this).parent().after(
154
+ '<div class="sliderCase">'+
155
+ '<div class="sliderCaseLeft"></div>'+
156
+ '<div class="sliderCaseRight"></div>'+
157
+ '<div class="slider">'+
158
+ '<div class="sldLeft"></div>'+
159
+ '<div class="sldCenter"></div>'+
160
+ '<div class="sldRight"></div>'+
161
+ '<div class="sliderBtn">'+
162
+ '<div class="sldBtnLeft"></div>'+
163
+ '<div class="sldBtnCenter"><div class="indi"></div></div>'+
164
+ '<div class="sldBtnRight"></div>'+
165
+ '</div>'+
166
+ '</div>'+
167
+ '</div>'+
168
+ '<div class="leftTop"><div class="leftTopIn"></div></div>'+
169
+ '<div class="rightTop"><div class="rightTopIn"></div></div>'+
170
+ '<div class="leftBottom"><div class="leftBottomIn"></div></div>'+
171
+ '<div class="rightBottom"><div class="rightBottomIn"></div></div>'+
172
+ '<div class="logo"><div class="logoIn"></div></div>'
173
+ );
174
+ /*set css*/
175
+ $(mopSliderName+" .sliderCase").css({height:"22px",position:"relative",top:"0px"});
176
+ $(mopSliderName+" .sliderCaseLeft").css({height:"22px",width:"25px",position:"absolute",top:"0px",left:"0px",backgroundImage:"url("+sldcLeftImg.src+")",backgroundRepeat:"no-repeat"});
177
+ $(mopSliderName+" .sliderCaseRight").css({height:"22px",width:"25px",position:"absolute",top:"0px",right:"0px",backgroundImage:"url("+sldcRightImg.src+")",cursor:"",backgroundRepeat:"no-repeat"});
178
+ $(mopSliderName+" .slider").css({height:"22px",position:"relative",top:"0px",left:"25px"});
179
+ $(mopSliderName+" .sldLeft").css({left:"0px",position:"absolute",height:"22px",width:"20px",backgroundImage:"url("+sldBackLeft.src+")",backgroundRepeat:"no-repeat"});
180
+ $(mopSliderName+" .sldCenter").css({left:"20px",width:sldW-40+px,position:"absolute",height:"22px",backgroundImage:"url("+sldBackCenter.src+")",backgroundRepeat:"repeat-x"});
181
+ $(mopSliderName+" .sldRight").css({right:"0px",position:"absolute",height:"22px",width:"20px",backgroundImage:"url("+sldBackRight.src+")",backgroundRepeat:"no-repeat"});
182
+ $(mopSliderName+" .sliderBtn").css({position:"absolute",height:"22px",left:"0px",cursor:"default"});
183
+ $(mopSliderName+" .sldBtnLeft").css({left:"0px",position:"absolute",height:"22px",width:"20px",backgroundImage:"url("+btnLeft.src+")",backgroundRepeat:"no-repeat"});
184
+ $(mopSliderName+" .sldBtnCenter").css({left:"20px",width:btnW-40+px,position:"absolute",height:"22px",backgroundImage:"url("+btnCenter.src+")",backgroundRepeat:"repeat-x"});
185
+ $(mopSliderName+" .sldBtnRight").css({right:"0px",position:"absolute",height:"22px",width:"20px",backgroundImage:"url("+btnRight.src+")",backgroundRepeat:"no-repeat"});
186
+ $(mopSliderName+" .indi").css({paddingTop:"5px",fontSize: "10px",textAlign:"center",fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:"0.05em",color:"#2b313e"});
187
+ $(mopSliderName).css({width:mopSliderW+px,height:mopSliderH+28+px});
188
+ $(mopSliderName).css({position:"relative",overflow:"hidden",margin:"0 auto 0 auto",backgroundImage:"url("+backImg.src+")"});
189
+
190
+
191
+ if(mopSliderType=="black"){
192
+ $(mopSliderName).css({backgroundColor:"#484848",backgroundRepeat:"repeat-x",backgroundPosition:"bottom"});
193
+ }
194
+
195
+
196
+ if(mopSliderType!="tutorialzine")
197
+ {
198
+ $(mopSliderName+" .leftTop").css({height:"10px",width:"10px",position:"absolute",top:"0px",left:"0px"});
199
+ $(mopSliderName+" .leftTopIn").css({height:"10px",width:"10px",backgroundImage:"url(mopSlider/sliderCorner_leftTop.png)",backgroundRepeat:"no-repeat"});
200
+ $(mopSliderName+" .rightTop").css({height:"10px",width:"10px",position:"absolute",top:"0px",right:"0px"});
201
+ $(mopSliderName+" .rightTopIn").css({height:"10px",width:"10px",backgroundImage:"url(mopSlider/sliderCorner_rightTop.png)",backgroundRepeat:"no-repeat"});
202
+ $(mopSliderName+" .leftBottom").css({height:"10px",width:"10px",position:"absolute",bottom:"0px",left:"0px"});
203
+ $(mopSliderName+" .leftBottomIn").css({height:"10px",width:"10px",backgroundImage:"url(mopSlider/sliderCorner_leftBottom.png)",backgroundRepeat:"no-repeat",backgroundPosition:"bottom"});
204
+ $(mopSliderName+" .rightBottom").css({height:"10px",width:"10px",position:"absolute",bottom:"0px",right:"0px"});
205
+ $(mopSliderName+" .rightBottomIn").css({height:"10px",width:"10px",backgroundImage:"url(mopSlider/sliderCorner_rightBottom.png)",backgroundRepeat:"no-repeat",backgroundPosition:"bottom"});
206
+
207
+ /*logo*/
208
+ $(mopSliderName+" .logo").css({height:"50px",width:"80px",position:"absolute",top:"0px",left:"0px"});
209
+ $(mopSliderName+" .logoIn").css({height:"50px",width:"80px",backgroundImage:"url(mopSlider/logo.png)",backgroundRepeat:"no-repeat"});
210
+ }
211
+
212
+ if(os=="mac"){$(mopSliderName+" .indi").css({letterSpacing:"0.1em"})};/*foe mac*/
213
+ scrollMax=boxW-mopSliderW;
214
+ scrollNum=scrollMax*0.01;/*0 to100 (box)*/
215
+ sliderNum=(sldW-btnW)*0.01;/*0 to100 (slider)*/
216
+ var holderWidth=(mopSliderW+scrollMax*2);
217
+ $(mopSliderName+" .holder").css({width:holderWidth+"px",height:mopSliderH+px,position:"relative",left:-(scrollMax)+px,cursor:'move'});
218
+ $(mopSliderName+" .holder").children().css({width:boxW+px,left:scrollMax+px});
219
+ $(mopSliderName+" .holder").children().children().css({marginLeft:itemMgn+"px",float:"left",position:"relative"});
220
+ $(mopSliderName+" .sliderCase").css({width:sldW+50+px});
221
+ var sldCaseW=eval($(mopSliderName+" .sliderCase").css("width").split("px")[0]);
222
+ var sliderLeftMgn=(mopSliderW-sldCaseW)/2;
223
+ $(mopSliderName+" .sliderCase").css({left:sliderLeftMgn+px});
224
+ $(mopSliderName+" .slider").css({width:sldW+px});
225
+ $(mopSliderName+" .sliderBtn").css({width:btnW+px});
226
+ /*pngFix*/
227
+ $(this).pngFix();
228
+ $("#mopSlider .sliderCase,#mopSlider .leftTop,#mopSlider .rightTop").pngFix();
229
+ $("#mopSlider .leftBottom,#mopSlider .rightBottom,#mopSlider .logo").pngFix();
230
+ $(mopSliderName+" .indi").html(indication);
231
+ $(mopSliderName).show();
232
+ /*draggable*/
233
+ $(mopSliderName+" .sliderBtn").draggable({
234
+ axis:"x",
235
+ containment:"parent",
236
+ start:function(){
237
+ whitchDrag="btn";
238
+ btnMoveNum=0;
239
+ if(mopSliderNo=="01"){
240
+ DragCheck1=setInterval("mopSliderFunc.DragCheckItv('"+mopSliderNo+"','"+mopSliderName+"','"+whitchDrag+"','"+scrollNum+"','"+boxW+"','"+mopSliderW+"','"+sldW+"','"+btnW+"')",20);
241
+ timeCheck1=setInterval("mopSliderFunc.timeCheckItv('"+mopSliderName+"','"+whitchDrag+"')",50);/*finalMove speed*/
242
+ }
243
+ else if(mopSliderNo=="02"){
244
+ timeCheck2=setInterval("mopSliderFunc.timeCheckItv('"+mopSliderName+"','"+whitchDrag+"')",50);/*finalMove speed*/
245
+ DragCheck2=setInterval("mopSliderFunc.DragCheckItv('"+mopSliderNo+"','"+mopSliderName+"','"+whitchDrag+"','"+scrollNum+"','"+boxW+"','"+mopSliderW+"','"+sldW+"','"+btnW+"')",20);
246
+ }
247
+ },
248
+ drag:function(){},
249
+ stop:function(){
250
+ clearInterval(DragCheck1);
251
+ clearInterval(DragCheck2);
252
+ mopSliderFunc.finalMove(mopSliderName,whitchDrag,sldW,btnW,scrollNum,boxW,mopSliderW);
253
+ }
254
+ });
255
+ $(mopSliderName+" .holder").children().draggable({
256
+ axis:"x",
257
+ containment:"parent",
258
+ start:function(){
259
+ whitchDrag="holder";
260
+ boxMoveNum=0;
261
+ if(mopSliderNo=="01"){
262
+ timeCheck1=setInterval("mopSliderFunc.timeCheckItv()",50);
263
+ DragCheck1=setInterval("mopSliderFunc.DragCheckItv('"+mopSliderNo+"','"+mopSliderName+"','"+whitchDrag+"','"+scrollNum+"','"+boxW+"','"+mopSliderW+"','"+sldW+"','"+btnW+"')",20);
264
+ }
265
+ else if(mopSliderNo=="02"){
266
+ timeCheck2=setInterval("mopSliderFunc.timeCheckItv()",50);
267
+ DragCheck2=setInterval("mopSliderFunc.DragCheckItv('"+mopSliderNo+"','"+mopSliderName+"','"+whitchDrag+"','"+scrollNum+"','"+boxW+"','"+mopSliderW+"','"+sldW+"','"+btnW+"')",20);
268
+ }
269
+
270
+ },
271
+ drag:function(){},
272
+ stop:function(){
273
+ clearInterval(DragCheck1);
274
+ clearInterval(DragCheck2);
275
+ mopSliderFunc.finalMove(mopSliderName,whitchDrag,sldW,btnW,scrollNum,boxW,mopSliderW);
276
+ }
277
+ });
278
+ $("#mopSlider .sliderBtn").mousedown(
279
+ function(){
280
+ clearInterval(timeCheck1);
281
+ clearInterval(timeCheck2);
282
+ clearInterval(finalTime1);
283
+ clearInterval(finalTime2);
284
+ }
285
+ );
286
+ $("#mopSlider .holder").children().mousedown(
287
+ function(){
288
+ clearInterval(timeCheck1);
289
+ clearInterval(timeCheck2);
290
+ clearInterval(finalTime1);
291
+ clearInterval(finalTime2);
292
+ }
293
+ );
294
+ $(mopSliderName+" .sliderCaseRight").mouseover(
295
+ function(){
296
+ btnPosi=eval($(mopSliderName+" .sliderBtn").css("left").split("px")[0]);
297
+ if(btnPosi!=0){
298
+ $(mopSliderName+" .sliderCaseRight").css({cursor:"pointer"});
299
+ if(browser!="ie6"){
300
+ $(mopSliderName+" .sliderCaseRight").css({backgroundImage:"url("+btnChangeF.src+")"});
301
+ }
302
+ }else{
303
+ $(mopSliderName+" .sliderCaseRight").css({cursor:""});
304
+ }
305
+ }
306
+ );
307
+ $(mopSliderName+" .sliderCaseRight").mouseout(
308
+ function(){
309
+ if(browser!="ie6"){
310
+ $(mopSliderName+" .sliderCaseRight").css({backgroundImage:"url("+btnChange.src+")"});
311
+ }
312
+ }
313
+ );
314
+ $(mopSliderName+" .sliderCaseRight").click(
315
+ function(){
316
+ btnPosi=eval($(mopSliderName+" .sliderBtn").css("left").split("px")[0]);
317
+ if(btnPosi!=0){
318
+ if(browser!="ie6"){
319
+ $(mopSliderName+" .sldBtnLeft").css({backgroundImage:"url("+btnLeftF.src+")"});
320
+ $(mopSliderName+" .sldBtnRight").css({backgroundImage:"url("+btnRightF.src+")"});
321
+ }
322
+ }
323
+ $(mopSliderName+" .sliderBtn").animate({left:"0px"},{duration:"1000",easing:"linear",complete:function (){complate()}});
324
+ $(mopSliderName+" .holder").children().animate({left:scrollMax+px},{duration:"1000",easing:"linear",complete:function (){complate()}});
325
+ }
326
+ );
327
+ var complate=function(){
328
+ if(browser!="ie6"){
329
+ $(mopSliderName+" .sldBtnLeft").css({backgroundImage:"url("+btnLeft.src+")"});
330
+ $(mopSliderName+" .sldBtnRight").css({backgroundImage:"url("+btnRight.src+")"});
331
+ $(mopSliderName+" .sliderCaseRight").css({backgroundImage:"url("+btnChange.src+")"});
332
+ }
333
+ }
334
+ mopSliderFunc={
335
+ DragCheckItv:function(mopSliderNo,mopSliderName,whitchDrag,scrollNum,boxW,mopSliderW,sldW,btnW){
336
+ scrollMax=boxW-mopSliderW;
337
+ sliderNum=(sldW-btnW)*0.01;
338
+ var btnPosiPx=$(mopSliderName+" .sliderBtn").css("left");
339
+ var boxPosiPx=$(mopSliderName+" .holder").children().css("left");
340
+ btnPosi=eval(btnPosiPx.split("px")[0]);
341
+ boxPosi=eval(boxPosiPx.split("px")[0]);
342
+ var sliderNum100=btnPosi/sliderNum;
343
+ var boxPosi0=-(boxPosi-scrollMax);
344
+ var boxNum=-(boxPosi0/scrollNum);
345
+ if(whitchDrag=="btn"){
346
+ $(mopSliderName+" .holder").children().css({left:-(sliderNum100*scrollNum)+scrollMax+px});
347
+ }else if(whitchDrag=="holder"){
348
+ $(mopSliderName+" .sliderBtn").css({left:-(boxNum*sliderNum)+px});
349
+ };
350
+ },
351
+ timeCheckItv:function(mopSliderName,whitchDrag){
352
+ btnPast=btnPosi;
353
+ boxPast=boxPosi;
354
+ },
355
+ finalMove:function(mopSliderName,whitchDrag,sldW,btnW,scrollNum,boxW,mopSliderW){
356
+ finalCount=0;
357
+ if((btnPosi!=undefined)&&(btnPast!=undefined)){
358
+ btnMoveNumStart=btnPosi-btnPast;
359
+ boxMoveNumStart=boxPosi-boxPast;
360
+ if(mopSliderName=="#mopSlider01"){
361
+ finalTime1=setInterval("mopSliderFunc.finalTimeItv('"+mopSliderName+"','"+whitchDrag+"','"+btnMoveNumStart+"','"+boxMoveNumStart+"','"+sldW+"','"+btnW+"','"+scrollNum+"','"+boxW+"','"+mopSliderW+"')",50);/*last slip move*/
362
+ }
363
+ if(mopSliderName=="#mopSlider02"){
364
+ finalTime2=setInterval("mopSliderFunc.finalTimeItv('"+mopSliderName+"','"+whitchDrag+"','"+btnMoveNumStart+"','"+boxMoveNumStart+"','"+sldW+"','"+btnW+"','"+scrollNum+"','"+boxW+"','"+mopSliderW+"')",50);/*last slip move*/
365
+ }
366
+ }
367
+ },
368
+ finalTimeItv:function(mopSliderName,whitchDrag,btnMoveNumStart,boxMoveNumStart,sldW,btnW,scrollNum,boxW,mopSliderW){
369
+ finalCount+=1;
370
+ if(finalCount==1){
371
+ btnMoveNum=btnMoveNumStart;
372
+ boxMoveNum=boxMoveNumStart;
373
+ mopSliderNameTemp=mopSliderName;
374
+ }
375
+ btnPosi=eval($(mopSliderNameTemp+" .sliderBtn").css("left").split("px")[0]);
376
+ boxPosi=eval($(mopSliderNameTemp+" .holder").children().css("left").split("px")[0]);
377
+ if(whitchDrag=="btn"){
378
+ if((btnMoveNum<0.1)&&(btnMoveNum>-0.1)){
379
+ btnMoveNum=0;
380
+ }else{
381
+ if(browser=="ie6"){
382
+ btnMoveNum=btnMoveNum/1.75;
383
+ }else{
384
+ btnMoveNum=btnMoveNum/1.5;
385
+ }
386
+ }
387
+ btnMoveTo=btnMoveNum+btnPosi;
388
+ if(btnMoveTo>(sldW-btnW)){
389
+ btnMoveTo=sldW-btnW;
390
+ }else if(btnMoveTo<0){
391
+ btnMoveTo=0;
392
+ };
393
+ $(mopSliderNameTemp+" .sliderBtn").css({left:btnMoveTo+px});
394
+ /*set btnPast*/
395
+ btnPast=btnMoveTo;
396
+
397
+ if(btnMoveNum==0){
398
+ clearInterval(finalTime1);
399
+ clearInterval(finalTime2);
400
+ }
401
+ mopSliderFunc.checkFinal(mopSliderName,whitchDrag,sldW,btnW,scrollNum,boxW,mopSliderW);
402
+ }
403
+ else if(whitchDrag=="holder"){
404
+ if((boxMoveNum<1)&&(boxMoveNum>-1)){
405
+ boxMoveNum=0;
406
+ }else{
407
+ if(browser=="ie6"){
408
+ boxMoveNum=boxMoveNum/1.75;
409
+ }else{
410
+ boxMoveNum=boxMoveNum/1.5;
411
+ }
412
+ }
413
+ boxMoveTo=boxMoveNum+boxPosi;
414
+ if(boxMoveTo>scrollMax){
415
+ boxMoveTo=scrollMax;
416
+ }else if(boxMoveTo<0){
417
+ boxMoveTo=0;
418
+ };
419
+ $(mopSliderNameTemp+" .holder").children().css({left:boxMoveTo+px});
420
+ /*set boxPast*/
421
+ boxPast=boxMoveTo;
422
+ if(boxMoveNum==0){
423
+ clearInterval(finalTime1);
424
+ clearInterval(finalTime2);
425
+ }
426
+ mopSliderFunc.checkFinal(mopSliderName,whitchDrag,sldW,btnW,scrollNum,boxW,mopSliderW);
427
+ }
428
+ },
429
+ checkFinal:function(mopSliderName,whitchDrag,sldW,btnW,scrollNum,boxW,mopSliderW){
430
+ btnPosi=eval($(mopSliderName+" .sliderBtn").css("left").split("px")[0]);
431
+ boxPosi=eval($(mopSliderName+" .holder").children().css("left").split("px")[0]);
432
+ var sliderNum100=btnPosi/sliderNum;
433
+ var boxPosi0=-(boxPosi-scrollMax);
434
+ var boxNum=-(boxPosi0/scrollNum);
435
+ if(whitchDrag=="btn"){
436
+ $(mopSliderName+" .holder").children().css({left:-(sliderNum100*scrollNum)+scrollMax+px});
437
+ }else if(whitchDrag=="holder"){
438
+ $(mopSliderName+" .sliderBtn").css({left:-(boxNum*sliderNum)+px});
439
+ };
440
+ }/*end mopSliderFunc*/
441
+ }
442
+ }
443
+ });
skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/paperBack.gif ADDED
Binary file
skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/paperBack.jpg ADDED
Binary file
skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/sliderBack.png ADDED
Binary file
skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/sliderBackLeft.png ADDED
Binary file
skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/sliderBackLeftLeft.png ADDED
Binary file
skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/sliderBackLeftLeftW.png ADDED
Binary file
skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/sliderBackLeftW.png ADDED
Binary file
skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/sliderBackRight.png ADDED
Binary file
skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/sliderBackRightRight.png ADDED
Binary file
skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/sliderBackRightRightW.png ADDED
Binary file
skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/sliderBackRightRightW_f.png ADDED
Binary file
skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/sliderBackRightRight_f.png ADDED
Binary file
skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/sliderBackRightW.png ADDED
Binary file
skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/sliderBackW.png ADDED
Binary file
skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/sliderBtn.png ADDED
Binary file
skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/sliderBtnLeft.png ADDED
Binary file
skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/sliderBtnLeftW.png ADDED
Binary file
skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/sliderBtnLeftW_f.png ADDED
Binary file
skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/sliderBtnLeft_f.png ADDED
Binary file
skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/sliderBtnRight.png ADDED
Binary file
skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/sliderBtnRightW.png ADDED
Binary file
skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/sliderBtnRightW_f.png ADDED
Binary file
skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/sliderBtnRight_f.png ADDED
Binary file
skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/sliderBtnW.png ADDED
Binary file
skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/sliderCorner_leftBottom.png ADDED
Binary file
skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/sliderCorner_leftTop.png ADDED
Binary file
skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/sliderCorner_rightBottom.png ADDED
Binary file
skin/frontend/default/computer_store/css/magebuzz/productslider/images/mopSlider/sliderCorner_rightTop.png ADDED
Binary file
skin/frontend/default/computer_store/css/magebuzz/productslider/images/next-active.png ADDED
Binary file
skin/frontend/default/computer_store/css/magebuzz/productslider/images/next.png ADDED
Binary file
skin/frontend/default/computer_store/css/magebuzz/productslider/images/next_icon.png ADDED
Binary file
skin/frontend/default/computer_store/css/magebuzz/productslider/images/previous-active.png ADDED
Binary file
skin/frontend/default/computer_store/css/magebuzz/productslider/images/previous.png ADDED
Binary file
skin/frontend/default/computer_store/css/magebuzz/productslider/images/previous_icon.png ADDED
Binary file
skin/frontend/default/computer_store/css/magebuzz/productslider/images/product-image-bg.png ADDED
Binary file
skin/frontend/default/computer_store/css/magebuzz/productslider/images/product_bg.png ADDED
Binary file
skin/frontend/default/computer_store/css/magebuzz/productslider/images/transpBlack.png ADDED
Binary file
skin/frontend/default/computer_store/css/magebuzz/productslider/images/transparent_bg.png ADDED
Binary file
skin/frontend/default/computer_store/css/magebuzz/productslider/images/ui-bg_flat_75_ffffff_40x100.png ADDED
Binary file
skin/frontend/default/computer_store/css/magebuzz/productslider/jquery-ui-1.7.2.custom.css ADDED
@@ -0,0 +1,395 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * jQuery UI CSS Framework
3
+ * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
4
+ * Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses.
5
+ */
6
+
7
+ /* Layout helpers
8
+ ----------------------------------*/
9
+ .ui-helper-hidden { display: none; }
10
+ .ui-helper-hidden-accessible { position: absolute; left: -99999999px; }
11
+ .ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }
12
+ .ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
13
+ .ui-helper-clearfix { display: inline-block; }
14
+ /* required comment for clearfix to work in Opera \*/
15
+ * html .ui-helper-clearfix { height:1%; }
16
+ .ui-helper-clearfix { display:block; }
17
+ /* end clearfix */
18
+ .ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); }
19
+
20
+
21
+ /* Interaction Cues
22
+ ----------------------------------*/
23
+ .ui-state-disabled { cursor: default !important; }
24
+
25
+
26
+ /* Icons
27
+ ----------------------------------*/
28
+
29
+ /* states and images */
30
+ .ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }
31
+
32
+
33
+ /* Misc visuals
34
+ ----------------------------------*/
35
+
36
+ /* Overlays */
37
+ .ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
38
+
39
+
40
+
41
+ /*
42
+ * jQuery UI CSS Framework
43
+ * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
44
+ * Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses.
45
+ * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Verdana,Arial,sans-serif&fwDefault=normal&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=cccccc&bgTextureHeader=03_highlight_soft.png&bgImgOpacityHeader=75&borderColorHeader=aaaaaa&fcHeader=222222&iconColorHeader=222222&bgColorContent=ffffff&bgTextureContent=01_flat.png&bgImgOpacityContent=75&borderColorContent=aaaaaa&fcContent=222222&iconColorContent=222222&bgColorDefault=e6e6e6&bgTextureDefault=02_glass.png&bgImgOpacityDefault=75&borderColorDefault=d3d3d3&fcDefault=555555&iconColorDefault=888888&bgColorHover=dadada&bgTextureHover=02_glass.png&bgImgOpacityHover=75&borderColorHover=999999&fcHover=212121&iconColorHover=454545&bgColorActive=ffffff&bgTextureActive=02_glass.png&bgImgOpacityActive=65&borderColorActive=aaaaaa&fcActive=212121&iconColorActive=454545&bgColorHighlight=fbf9ee&bgTextureHighlight=02_glass.png&bgImgOpacityHighlight=55&borderColorHighlight=fcefa1&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=02_glass.png&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=aaaaaa&bgTextureOverlay=01_flat.png&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=01_flat.png&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px
46
+ */
47
+
48
+
49
+ /* Component containers
50
+ ----------------------------------*/
51
+ .ui-widget { font-family: Verdana,Arial,sans-serif; font-size: 1.1em; }
52
+ .ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Verdana,Arial,sans-serif; font-size: 1em; }
53
+ .ui-widget-content { border: 1px solid #aaaaaa; background: #ffffff url(images/ui-bg_flat_75_ffffff_40x100.png) 50% 50% repeat-x; color: #222222; }
54
+ .ui-widget-content a { color: #222222; }
55
+ .ui-widget-header { border: 1px solid #aaaaaa; background: #cccccc url(images/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x; color: #222222; font-weight: bold; }
56
+ .ui-widget-header a { color: #222222; }
57
+
58
+ /* Interaction states
59
+ ----------------------------------*/
60
+ .ui-state-default, .ui-widget-content .ui-state-default { border: 1px solid #d3d3d3; background: #e6e6e6 url(images/ui-bg_glass_75_e6e6e6_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #555555; outline: none; }
61
+ .ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #555555; text-decoration: none; outline: none; }
62
+ .ui-state-hover, .ui-widget-content .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus { border: 1px solid #999999; background: #dadada url(images/ui-bg_glass_75_dadada_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #212121; outline: none; }
63
+ .ui-state-hover a, .ui-state-hover a:hover { color: #212121; text-decoration: none; outline: none; }
64
+ .ui-state-active, .ui-widget-content .ui-state-active { border: 1px solid #aaaaaa; background: #ffffff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #212121; outline: none; }
65
+ .ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #212121; outline: none; text-decoration: none; }
66
+
67
+ /* Interaction Cues
68
+ ----------------------------------*/
69
+ .ui-state-highlight, .ui-widget-content .ui-state-highlight {border: 1px solid #fcefa1; background: #fbf9ee url(images/ui-bg_glass_55_fbf9ee_1x400.png) 50% 50% repeat-x; color: #363636; }
70
+ .ui-state-highlight a, .ui-widget-content .ui-state-highlight a { color: #363636; }
71
+ .ui-state-error, .ui-widget-content .ui-state-error {border: 1px solid #cd0a0a; background: #fef1ec url(images/ui-bg_glass_95_fef1ec_1x400.png) 50% 50% repeat-x; color: #cd0a0a; }
72
+ .ui-state-error a, .ui-widget-content .ui-state-error a { color: #cd0a0a; }
73
+ .ui-state-error-text, .ui-widget-content .ui-state-error-text { color: #cd0a0a; }
74
+ .ui-state-disabled, .ui-widget-content .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; }
75
+ .ui-priority-primary, .ui-widget-content .ui-priority-primary { font-weight: bold; }
76
+ .ui-priority-secondary, .ui-widget-content .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; }
77
+
78
+ /* Icons
79
+ ----------------------------------*/
80
+
81
+ /* states and images */
82
+ .ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_222222_256x240.png); }
83
+ .ui-widget-content .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }
84
+ .ui-widget-header .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }
85
+ .ui-state-default .ui-icon { background-image: url(images/ui-icons_888888_256x240.png); }
86
+ .ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_454545_256x240.png); }
87
+ .ui-state-active .ui-icon {background-image: url(images/ui-icons_454545_256x240.png); }
88
+ .ui-state-highlight .ui-icon {background-image: url(images/ui-icons_2e83ff_256x240.png); }
89
+ .ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_cd0a0a_256x240.png); }
90
+
91
+ /* positioning */
92
+ .ui-icon-carat-1-n { background-position: 0 0; }
93
+ .ui-icon-carat-1-ne { background-position: -16px 0; }
94
+ .ui-icon-carat-1-e { background-position: -32px 0; }
95
+ .ui-icon-carat-1-se { background-position: -48px 0; }
96
+ .ui-icon-carat-1-s { background-position: -64px 0; }
97
+ .ui-icon-carat-1-sw { background-position: -80px 0; }
98
+ .ui-icon-carat-1-w { background-position: -96px 0; }
99
+ .ui-icon-carat-1-nw { background-position: -112px 0; }
100
+ .ui-icon-carat-2-n-s { background-position: -128px 0; }
101
+ .ui-icon-carat-2-e-w { background-position: -144px 0; }
102
+ .ui-icon-triangle-1-n { background-position: 0 -16px; }
103
+ .ui-icon-triangle-1-ne { background-position: -16px -16px; }
104
+ .ui-icon-triangle-1-e { background-position: -32px -16px; }
105
+ .ui-icon-triangle-1-se { background-position: -48px -16px; }
106
+ .ui-icon-triangle-1-s { background-position: -64px -16px; }
107
+ .ui-icon-triangle-1-sw { background-position: -80px -16px; }
108
+ .ui-icon-triangle-1-w { background-position: -96px -16px; }
109
+ .ui-icon-triangle-1-nw { background-position: -112px -16px; }
110
+ .ui-icon-triangle-2-n-s { background-position: -128px -16px; }
111
+ .ui-icon-triangle-2-e-w { background-position: -144px -16px; }
112
+ .ui-icon-arrow-1-n { background-position: 0 -32px; }
113
+ .ui-icon-arrow-1-ne { background-position: -16px -32px; }
114
+ .ui-icon-arrow-1-e { background-position: -32px -32px; }
115
+ .ui-icon-arrow-1-se { background-position: -48px -32px; }
116
+ .ui-icon-arrow-1-s { background-position: -64px -32px; }
117
+ .ui-icon-arrow-1-sw { background-position: -80px -32px; }
118
+ .ui-icon-arrow-1-w { background-position: -96px -32px; }
119
+ .ui-icon-arrow-1-nw { background-position: -112px -32px; }
120
+ .ui-icon-arrow-2-n-s { background-position: -128px -32px; }
121
+ .ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
122
+ .ui-icon-arrow-2-e-w { background-position: -160px -32px; }
123
+ .ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
124
+ .ui-icon-arrowstop-1-n { background-position: -192px -32px; }
125
+ .ui-icon-arrowstop-1-e { background-position: -208px -32px; }
126
+ .ui-icon-arrowstop-1-s { background-position: -224px -32px; }
127
+ .ui-icon-arrowstop-1-w { background-position: -240px -32px; }
128
+ .ui-icon-arrowthick-1-n { background-position: 0 -48px; }
129
+ .ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
130
+ .ui-icon-arrowthick-1-e { background-position: -32px -48px; }
131
+ .ui-icon-arrowthick-1-se { background-position: -48px -48px; }
132
+ .ui-icon-arrowthick-1-s { background-position: -64px -48px; }
133
+ .ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
134
+ .ui-icon-arrowthick-1-w { background-position: -96px -48px; }
135
+ .ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
136
+ .ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
137
+ .ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
138
+ .ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
139
+ .ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
140
+ .ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
141
+ .ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
142
+ .ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
143
+ .ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
144
+ .ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
145
+ .ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
146
+ .ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
147
+ .ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
148
+ .ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
149
+ .ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
150
+ .ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
151
+ .ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
152
+ .ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
153
+ .ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
154
+ .ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
155
+ .ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
156
+ .ui-icon-arrow-4 { background-position: 0 -80px; }
157
+ .ui-icon-arrow-4-diag { background-position: -16px -80px; }
158
+ .ui-icon-extlink { background-position: -32px -80px; }
159
+ .ui-icon-newwin { background-position: -48px -80px; }
160
+ .ui-icon-refresh { background-position: -64px -80px; }
161
+ .ui-icon-shuffle { background-position: -80px -80px; }
162
+ .ui-icon-transfer-e-w { background-position: -96px -80px; }
163
+ .ui-icon-transferthick-e-w { background-position: -112px -80px; }
164
+ .ui-icon-folder-collapsed { background-position: 0 -96px; }
165
+ .ui-icon-folder-open { background-position: -16px -96px; }
166
+ .ui-icon-document { background-position: -32px -96px; }
167
+ .ui-icon-document-b { background-position: -48px -96px; }
168
+ .ui-icon-note { background-position: -64px -96px; }
169
+ .ui-icon-mail-closed { background-position: -80px -96px; }
170
+ .ui-icon-mail-open { background-position: -96px -96px; }
171
+ .ui-icon-suitcase { background-position: -112px -96px; }
172
+ .ui-icon-comment { background-position: -128px -96px; }
173
+ .ui-icon-person { background-position: -144px -96px; }
174
+ .ui-icon-print { background-position: -160px -96px; }
175
+ .ui-icon-trash { background-position: -176px -96px; }
176
+ .ui-icon-locked { background-position: -192px -96px; }
177
+ .ui-icon-unlocked { background-position: -208px -96px; }
178
+ .ui-icon-bookmark { background-position: -224px -96px; }
179
+ .ui-icon-tag { background-position: -240px -96px; }
180
+ .ui-icon-home { background-position: 0 -112px; }
181
+ .ui-icon-flag { background-position: -16px -112px; }
182
+ .ui-icon-calendar { background-position: -32px -112px; }
183
+ .ui-icon-cart { background-position: -48px -112px; }
184
+ .ui-icon-pencil { background-position: -64px -112px; }
185
+ .ui-icon-clock { background-position: -80px -112px; }
186
+ .ui-icon-disk { background-position: -96px -112px; }
187
+ .ui-icon-calculator { background-position: -112px -112px; }
188
+ .ui-icon-zoomin { background-position: -128px -112px; }
189
+ .ui-icon-zoomout { background-position: -144px -112px; }
190
+ .ui-icon-search { background-position: -160px -112px; }
191
+ .ui-icon-wrench { background-position: -176px -112px; }
192
+ .ui-icon-gear { background-position: -192px -112px; }
193
+ .ui-icon-heart { background-position: -208px -112px; }
194
+ .ui-icon-star { background-position: -224px -112px; }
195
+ .ui-icon-link { background-position: -240px -112px; }
196
+ .ui-icon-cancel { background-position: 0 -128px; }
197
+ .ui-icon-plus { background-position: -16px -128px; }
198
+ .ui-icon-plusthick { background-position: -32px -128px; }
199
+ .ui-icon-minus { background-position: -48px -128px; }
200
+ .ui-icon-minusthick { background-position: -64px -128px; }
201
+ .ui-icon-close { background-position: -80px -128px; }
202
+ .ui-icon-closethick { background-position: -96px -128px; }
203
+ .ui-icon-key { background-position: -112px -128px; }
204
+ .ui-icon-lightbulb { background-position: -128px -128px; }
205
+ .ui-icon-scissors { background-position: -144px -128px; }
206
+ .ui-icon-clipboard { background-position: -160px -128px; }
207
+ .ui-icon-copy { background-position: -176px -128px; }
208
+ .ui-icon-contact { background-position: -192px -128px; }
209
+ .ui-icon-image { background-position: -208px -128px; }
210
+ .ui-icon-video { background-position: -224px -128px; }
211
+ .ui-icon-script { background-position: -240px -128px; }
212
+ .ui-icon-alert { background-position: 0 -144px; }
213
+ .ui-icon-info { background-position: -16px -144px; }
214
+ .ui-icon-notice { background-position: -32px -144px; }
215
+ .ui-icon-help { background-position: -48px -144px; }
216
+ .ui-icon-check { background-position: -64px -144px; }
217
+ .ui-icon-bullet { background-position: -80px -144px; }
218
+ .ui-icon-radio-off { background-position: -96px -144px; }
219
+ .ui-icon-radio-on { background-position: -112px -144px; }
220
+ .ui-icon-pin-w { background-position: -128px -144px; }
221
+ .ui-icon-pin-s { background-position: -144px -144px; }
222
+ .ui-icon-play { background-position: 0 -160px; }
223
+ .ui-icon-pause { background-position: -16px -160px; }
224
+ .ui-icon-seek-next { background-position: -32px -160px; }
225
+ .ui-icon-seek-prev { background-position: -48px -160px; }
226
+ .ui-icon-seek-end { background-position: -64px -160px; }
227
+ .ui-icon-seek-first { background-position: -80px -160px; }
228
+ .ui-icon-stop { background-position: -96px -160px; }
229
+ .ui-icon-eject { background-position: -112px -160px; }
230
+ .ui-icon-volume-off { background-position: -128px -160px; }
231
+ .ui-icon-volume-on { background-position: -144px -160px; }
232
+ .ui-icon-power { background-position: 0 -176px; }
233
+ .ui-icon-signal-diag { background-position: -16px -176px; }
234
+ .ui-icon-signal { background-position: -32px -176px; }
235
+ .ui-icon-battery-0 { background-position: -48px -176px; }
236
+ .ui-icon-battery-1 { background-position: -64px -176px; }
237
+ .ui-icon-battery-2 { background-position: -80px -176px; }
238
+ .ui-icon-battery-3 { background-position: -96px -176px; }
239
+ .ui-icon-circle-plus { background-position: 0 -192px; }
240
+ .ui-icon-circle-minus { background-position: -16px -192px; }
241
+ .ui-icon-circle-close { background-position: -32px -192px; }
242
+ .ui-icon-circle-triangle-e { background-position: -48px -192px; }
243
+ .ui-icon-circle-triangle-s { background-position: -64px -192px; }
244
+ .ui-icon-circle-triangle-w { background-position: -80px -192px; }
245
+ .ui-icon-circle-triangle-n { background-position: -96px -192px; }
246
+ .ui-icon-circle-arrow-e { background-position: -112px -192px; }
247
+ .ui-icon-circle-arrow-s { background-position: -128px -192px; }
248
+ .ui-icon-circle-arrow-w { background-position: -144px -192px; }
249
+ .ui-icon-circle-arrow-n { background-position: -160px -192px; }
250
+ .ui-icon-circle-zoomin { background-position: -176px -192px; }
251
+ .ui-icon-circle-zoomout { background-position: -192px -192px; }
252
+ .ui-icon-circle-check { background-position: -208px -192px; }
253
+ .ui-icon-circlesmall-plus { background-position: 0 -208px; }
254
+ .ui-icon-circlesmall-minus { background-position: -16px -208px; }
255
+ .ui-icon-circlesmall-close { background-position: -32px -208px; }
256
+ .ui-icon-squaresmall-plus { background-position: -48px -208px; }
257
+ .ui-icon-squaresmall-minus { background-position: -64px -208px; }
258
+ .ui-icon-squaresmall-close { background-position: -80px -208px; }
259
+ .ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
260
+ .ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
261
+ .ui-icon-grip-solid-vertical { background-position: -32px -224px; }
262
+ .ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
263
+ .ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
264
+ .ui-icon-grip-diagonal-se { background-position: -80px -224px; }
265
+
266
+
267
+ /* Misc visuals
268
+ ----------------------------------*/
269
+
270
+ /* Overlays */
271
+ .ui-widget-overlay { background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); }
272
+ .ui-widget-shadow { margin: -8px 0 0 -8px; padding: 8px; background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); -moz-border-radius: 8px; -webkit-border-radius: 8px; }/* Accordion
273
+ ----------------------------------*/
274
+ .ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 1px; zoom: 1; }
275
+ .ui-accordion .ui-accordion-li-fix { display: inline; }
276
+ .ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; }
277
+ .ui-accordion .ui-accordion-header a { display: block; font-size: 1em; padding: .5em .5em .5em 2.2em; }
278
+ .ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; }
279
+ .ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; margin-top: -2px; position: relative; top: 1px; margin-bottom: 2px; overflow: auto; display: none; }
280
+ .ui-accordion .ui-accordion-content-active { display: block; }/* Datepicker
281
+ ----------------------------------*/
282
+ .ui-datepicker { width: 17em; padding: .2em .2em 0; }
283
+ .ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; }
284
+ .ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; }
285
+ .ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; }
286
+ .ui-datepicker .ui-datepicker-prev { left:2px; }
287
+ .ui-datepicker .ui-datepicker-next { right:2px; }
288
+ .ui-datepicker .ui-datepicker-prev-hover { left:1px; }
289
+ .ui-datepicker .ui-datepicker-next-hover { right:1px; }
290
+ .ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; }
291
+ .ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; }
292
+ .ui-datepicker .ui-datepicker-title select { float:left; font-size:1em; margin:1px 0; }
293
+ .ui-datepicker select.ui-datepicker-month-year {width: 100%;}
294
+ .ui-datepicker select.ui-datepicker-month,
295
+ .ui-datepicker select.ui-datepicker-year { width: 49%;}
296
+ .ui-datepicker .ui-datepicker-title select.ui-datepicker-year { float: right; }
297
+ .ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; }
298
+ .ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; }
299
+ .ui-datepicker td { border: 0; padding: 1px; }
300
+ .ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; }
301
+ .ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; }
302
+ .ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; }
303
+ .ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; }
304
+
305
+ /* with multiple calendars */
306
+ .ui-datepicker.ui-datepicker-multi { width:auto; }
307
+ .ui-datepicker-multi .ui-datepicker-group { float:left; }
308
+ .ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; }
309
+ .ui-datepicker-multi-2 .ui-datepicker-group { width:50%; }
310
+ .ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; }
311
+ .ui-datepicker-multi-4 .ui-datepicker-group { width:25%; }
312
+ .ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; }
313
+ .ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; }
314
+ .ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; }
315
+ .ui-datepicker-row-break { clear:both; width:100%; }
316
+
317
+ /* RTL support */
318
+ .ui-datepicker-rtl { direction: rtl; }
319
+ .ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; }
320
+ .ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; }
321
+ .ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; }
322
+ .ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; }
323
+ .ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; }
324
+ .ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; }
325
+ .ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; }
326
+ .ui-datepicker-rtl .ui-datepicker-group { float:right; }
327
+ .ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
328
+ .ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
329
+
330
+ /* IE6 IFRAME FIX (taken from datepicker 1.5.3 */
331
+ .ui-datepicker-cover {
332
+ display: none; /*sorry for IE5*/
333
+ display/**/: block; /*sorry for IE5*/
334
+ position: absolute; /*must have*/
335
+ z-index: -1; /*must have*/
336
+ filter: mask(); /*must have*/
337
+ top: -4px; /*must have*/
338
+ left: -4px; /*must have*/
339
+ width: 200px; /*must have*/
340
+ height: 200px; /*must have*/
341
+ }/* Dialog
342
+ ----------------------------------*/
343
+ .ui-dialog { position: relative; padding: .2em; width: 300px; }
344
+ .ui-dialog .ui-dialog-titlebar { padding: .5em .3em .3em 1em; position: relative; }
345
+ .ui-dialog .ui-dialog-title { float: left; margin: .1em 0 .2em; }
346
+ .ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; }
347
+ .ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; }
348
+ .ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; }
349
+ .ui-dialog .ui-dialog-content { border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; }
350
+ .ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; }
351
+ .ui-dialog .ui-dialog-buttonpane button { float: right; margin: .5em .4em .5em 0; cursor: pointer; padding: .2em .6em .3em .6em; line-height: 1.4em; width:auto; overflow:visible; }
352
+ .ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; }
353
+ .ui-draggable .ui-dialog-titlebar { cursor: move; }
354
+ /* Progressbar
355
+ ----------------------------------*/
356
+ .ui-progressbar { height:2em; text-align: left; }
357
+ .ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; }/* Resizable
358
+ ----------------------------------*/
359
+ .ui-resizable { position: relative;}
360
+ .ui-resizable-handle { position: absolute;font-size: 0.1px;z-index: 99999; display: block;}
361
+ .ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; }
362
+ .ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0px; }
363
+ .ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0px; }
364
+ .ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0px; height: 100%; }
365
+ .ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0px; height: 100%; }
366
+ .ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; }
367
+ .ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; }
368
+ .ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; }
369
+ .ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}/* Slider
370
+ ----------------------------------*/
371
+ .ui-slider { position: relative; text-align: left; }
372
+ .ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; }
373
+ .ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; }
374
+
375
+ .ui-slider-horizontal { height: .8em; }
376
+ .ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; }
377
+ .ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; }
378
+ .ui-slider-horizontal .ui-slider-range-min { left: 0; }
379
+ .ui-slider-horizontal .ui-slider-range-max { right: 0; }
380
+
381
+ .ui-slider-vertical { width: .8em; height: 100px; }
382
+ .ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; }
383
+ .ui-slider-vertical .ui-slider-range { left: 0; width: 100%; }
384
+ .ui-slider-vertical .ui-slider-range-min { bottom: 0; }
385
+ .ui-slider-vertical .ui-slider-range-max { top: 0; }/* Tabs
386
+ ----------------------------------*/
387
+ .ui-tabs { padding: .2em; zoom: 1; }
388
+ .ui-tabs .ui-tabs-nav { list-style: none; position: relative; padding: .2em .2em 0; }
389
+ .ui-tabs .ui-tabs-nav li { position: relative; float: left; border-bottom-width: 0 !important; margin: 0 .2em -1px 0; padding: 0; }
390
+ .ui-tabs .ui-tabs-nav li a { float: left; text-decoration: none; padding: .5em 1em; }
391
+ .ui-tabs .ui-tabs-nav li.ui-tabs-selected { padding-bottom: 1px; border-bottom-width: 0; }
392
+ .ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; }
393
+ .ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
394
+ .ui-tabs .ui-tabs-panel { padding: 1em 1.4em; display: block; border-width: 0; background: none; }
395
+ .ui-tabs .ui-tabs-hide { display: none !important; }
skin/frontend/default/computer_store/css/magebuzz/productslider/jquery.lightbox-0.5.css ADDED
@@ -0,0 +1,101 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * jQuery lightBox plugin
3
+ * This jQuery plugin was inspired and based on Lightbox 2 by Lokesh Dhakar (http://www.huddletogether.com/projects/lightbox2/)
4
+ * and adapted to me for use like a plugin from jQuery.
5
+ * @name jquery-lightbox-0.5.css
6
+ * @author Leandro Vieira Pinho - http://leandrovieira.com
7
+ * @version 0.5
8
+ * @date April 11, 2008
9
+ * @category jQuery plugin
10
+ * @copyright (c) 2008 Leandro Vieira Pinho (leandrovieira.com)
11
+ * @license CCAttribution-ShareAlike 2.5 Brazil - http://creativecommons.org/licenses/by-sa/2.5/br/deed.en_US
12
+ * @example Visit http://leandrovieira.com/projects/jquery/lightbox/ for more informations about this jQuery plugin
13
+ */
14
+ #jquery-overlay {
15
+ position: absolute;
16
+ top: 0;
17
+ left: 0;
18
+ z-index: 90;
19
+ width: 100%;
20
+ height: 500px;
21
+ }
22
+ #jquery-lightbox {
23
+ position: absolute;
24
+ top: 0;
25
+ left: 0;
26
+ width: 100%;
27
+ z-index: 100;
28
+ text-align: center;
29
+ line-height: 0;
30
+ }
31
+ #jquery-lightbox a img { border: none; }
32
+ #lightbox-container-image-box {
33
+ position: relative;
34
+ background-color: #fff;
35
+ width: 250px;
36
+ height: 250px;
37
+ margin: 0 auto;
38
+ }
39
+ #lightbox-container-image { padding: 10px; }
40
+ #lightbox-loading {
41
+ position: absolute;
42
+ top: 40%;
43
+ left: 0%;
44
+ height: 25%;
45
+ width: 100%;
46
+ text-align: center;
47
+ line-height: 0;
48
+ }
49
+ #lightbox-nav {
50
+ position: absolute;
51
+ top: 0;
52
+ left: 0;
53
+ height: 100%;
54
+ width: 100%;
55
+ z-index: 10;
56
+ }
57
+ #lightbox-container-image-box > #lightbox-nav { left: 0; }
58
+ #lightbox-nav a { outline: none;}
59
+ #lightbox-nav-btnPrev, #lightbox-nav-btnNext {
60
+ width: 49%;
61
+ height: 100%;
62
+ zoom: 1;
63
+ display: block;
64
+ }
65
+ #lightbox-nav-btnPrev {
66
+ left: 0;
67
+ float: left;
68
+ }
69
+ #lightbox-nav-btnNext {
70
+ right: 0;
71
+ float: right;
72
+ }
73
+ #lightbox-container-image-data-box {
74
+ font: 10px Verdana, Helvetica, sans-serif;
75
+ background-color: #fff;
76
+ margin: 0 auto;
77
+ line-height: 1.4em;
78
+ overflow: auto;
79
+ width: 100%;
80
+ padding: 0 10px 0;
81
+ }
82
+ #lightbox-container-image-data {
83
+ padding: 0 10px;
84
+ color: #666;
85
+ }
86
+ #lightbox-container-image-data #lightbox-image-details {
87
+ width: 70%;
88
+ float: left;
89
+ text-align: left;
90
+ }
91
+ #lightbox-image-details-caption { font-weight: bold; }
92
+ #lightbox-image-details-currentNumber {
93
+ display: block;
94
+ clear: left;
95
+ padding-bottom: 1.0em;
96
+ }
97
+ #lightbox-secNav-btnClose {
98
+ width: 66px;
99
+ float: right;
100
+ padding-bottom: 0.7em;
101
+ }
skin/frontend/default/computer_store/css/magebuzz/productslider/layout.css ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ body { margin:0px; font-family:Arial, Helvetica, sans-serif; background:#39414A; }
2
+ #container { width:980px; margin:0px auto 0px; background:#FFFFFF; padding:10px; font-size:12px; margin-top:50px; }
3
+
4
+ a{
5
+ text-transform:none;
6
+ color:#333
7
+ }
8
+ #footer{
9
+ background:#F0F0F0;
10
+ padding:10px;
11
+ border:#999 dotted 1px;
12
+ }
skin/frontend/default/computer_store/css/magebuzz/productslider/lightbox.css ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #lightbox{ position: absolute; left: 0; width: 100%; z-index: 100; text-align: center; line-height: 0;}
2
+ #lightbox img{ width: auto; height: auto;}
3
+ #lightbox a img{ border: none; }
4
+
5
+ #outerImageContainer{ position: relative; background-color: #fff; width: 250px; height: 250px; margin: 0 auto; }
6
+ #imageContainer{ padding: 10px; }
7
+
8
+ #loading{ position: absolute; top: 40%; left: 0%; height: 25%; width: 100%; text-align: center; line-height: 0; }
9
+ #hoverNav{ position: absolute; top: 0; left: 0; height: 100%; width: 100%; z-index: 10; }
10
+ #imageContainer>#hoverNav{ left: 0;}
11
+ #hoverNav a{ outline: none;}
12
+
13
+ #prevLink, #nextLink{ width: 49%; height: 100%; background-image: url(data:image/gif;base64,AAAA); /* Trick IE into showing hover */ display: block; }
14
+ #prevLink { left: 0; float: left;}
15
+ #nextLink { right: 0; float: right;}
16
+ #prevLink:hover, #prevLink:visited:hover { background: url(../../images/prevlabel.gif) left 15% no-repeat; }
17
+ #nextLink:hover, #nextLink:visited:hover { background: url(../../images/nextlabel.gif) right 15% no-repeat; }
18
+
19
+ #imageDataContainer{ font: 10px Verdana, Helvetica, sans-serif; background-color: #fff; margin: 0 auto; line-height: 1.4em; overflow: auto; width: 100% ; }
20
+
21
+ #imageData{ padding:0 10px; color: #666; }
22
+ #imageData #imageDetails{ width: 70%; float: left; text-align: left; }
23
+ #imageData #caption{ font-weight: bold; }
24
+ #imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em; }
25
+ #imageData #bottomNavClose{ width: 66px; float: right; padding-bottom: 0.7em; outline: none;}
26
+
27
+ #overlay{ position: absolute; top: 0; left: 0; z-index: 90; width: 100%; height: 500px; background-color: #000; }
skin/frontend/default/computer_store/css/magebuzz/productslider/simple-slider.css ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /********Css For Simple Slider ************/
2
+ .list-products{background:#E6E6E6; border: 3px solid #FFFFFF; padding:10px 10px 30px;}
3
+ .list-products #list-items{}
4
+ #list-items .item{}
5
+ #list-items .product-info{margin-left:180px;}
6
+ #list-items .product-name{}
7
+ #list-items .product-name a{font-size:14px; font-weight:bold; color:#2f2f2f; text-decoration:none;}
8
+ #list-items .product-image{
9
+ float:left;
10
+ background: url("images/product-image-bg.png") no-repeat scroll left top transparent;
11
+ display: block;
12
+ height: 123px;
13
+ padding: 1px 1px 14px;
14
+ text-align: left;
15
+ width: 161px;
16
+ }
17
+ .list-products .bx-prev{position:absolute; background:url(images/btn_prev.png) top left no-repeat; height: 32px; width: 32px;top:50%;left: -30px;right: auto;float:left; text-align:left; text-indent:-999em; }
18
+ .list-products .bx-next{position:absolute; background:url(images/btn_next.png) top right no-repeat; height: 32px; width: 32px;top:50%; right:-30px;float:left; text-align:left; text-indent:-999em; }
skin/frontend/default/computer_store/css/magebuzz/productslider/slidebar.css ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #sliderContent {
2
+ background-color: #E6E6E6;
3
+ border: 3px solid #FFFFFF;
4
+ margin: auto;
5
+ padding:10px 20px;
6
+ }
7
+ .viewer { margin:0 auto 20px; padding:1px; overflow:hidden; position:relative;}
8
+ .content-conveyor { position:relative; }
9
+ #sliderContent .item { width:200px; float:left;text-align:left;}
10
+ #sliderContent .item .product-name{ min-height:50px; margin:0 0 10px; width:163px;}
11
+ #sliderContent .item .product-name a{font-size:13px; font-weight:bold; color:#1E7EC8; text-decoration:none;}
12
+ #sliderContent .item .product-image{
13
+ background: url(images/product-image-bg.png) no-repeat scroll left top transparent;
14
+ display: block;
15
+ height: 123px;
16
+ padding: 1px 1px 14px;
17
+ text-align: left;
18
+ width: 161px;
19
+ }
20
+ #sliderContent li img{
21
+ border: 0 none;
22
+ height: 123px;
23
+ width: 161px;
24
+ }
skin/frontend/default/computer_store/css/magebuzz/productslider/slider-navright.css ADDED
@@ -0,0 +1,165 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @charset "utf-8";
2
+ /* CSS Document */
3
+ .lof-slidecontent{
4
+ position:relative;
5
+ overflow:hidden;
6
+ border:#F4F4F4 solid 4px;
7
+ height:300px;
8
+ }
9
+ .lof-slidecontent .preload{
10
+ height:100%;
11
+ width:100%;
12
+ background:#FFF;
13
+ position:absolute;
14
+ top:0;
15
+ left:0;
16
+ z-index:100000;
17
+ color:#FFF;
18
+ text-align:center
19
+ }
20
+ .lof-slidecontent .preload div{
21
+ height:100%;
22
+ width:100%;
23
+ background:transparent url(images/load-indicator.gif) no-repeat scroll 50% 50%;
24
+ }
25
+ .lof-main-outer{
26
+ position:relative;
27
+ height:100%;
28
+ z-index:3px;
29
+ overflow:hidden;
30
+ }
31
+
32
+
33
+ /*******************************************************/
34
+ .lof-main-item-desc{
35
+ z-index:100px;
36
+ position:absolute;
37
+ top:50px;
38
+ left:30px;
39
+ width:300px;
40
+ background:url(images/transparent_bg.png);
41
+
42
+ /* filter:0.7(opacity:60) */
43
+ }
44
+ .lof-main-item-desc p{
45
+ color:#FFF;
46
+ margin:0 8px;
47
+ padding:8px 0
48
+ }
49
+ .lof-main-item-desc h3 a{
50
+ color:#FFF;
51
+ margin:0;
52
+ font-size:140%;
53
+ padding:20px 8px 2px;
54
+ font-family:"Trebuchet MS",Trebuchet,Arial,Verdana,sans-serif;
55
+ }
56
+ .lof-main-item-desc h3 a:hover{
57
+ color:#FF6;
58
+ text-decoration:underline;
59
+ }
60
+
61
+
62
+ /* main flash */
63
+ ul.lof-main-wapper{
64
+ /* margin-right:auto; */
65
+ overflow:hidden;
66
+ background:transparent url(images/load-indicator.gif) no-repeat scroll 50% 50%;
67
+ padding:0px;
68
+ margin:0;
69
+ height:100%;
70
+ width:100%;
71
+ position:absolute;
72
+ overflow:hidden;
73
+ }
74
+
75
+ ul.lof-main-wapper li{
76
+ overflow:hidden;
77
+ padding:0px;
78
+ margin:0px;
79
+ height:100%;
80
+ width:100%;
81
+ float:left;
82
+ }
83
+ .lof-opacity li{
84
+ position:absolute;
85
+ top:0;
86
+ left:0;
87
+ float:inherit;
88
+ }
89
+ ul.lof-main-wapper li img{
90
+ padding:0px;
91
+ width:100%;
92
+ }
93
+
94
+ /* item navigator */
95
+ ul.lof-navigator{
96
+ top:0;
97
+ padding:0;
98
+ margin:0;
99
+ position:absolute;
100
+ width:100%;
101
+ }
102
+ ul.lof-navigator li{
103
+ cursor:hand;
104
+ cursor:pointer;
105
+ list-style:none;
106
+ width:100%;
107
+ padding:0;
108
+ margin:0;
109
+ overflow:hidden;
110
+ }
111
+ .lof-navigator-outer{
112
+ position:absolute;
113
+ right:0;
114
+ top:00px;
115
+ z-index:100;
116
+ height:300px;
117
+ width:310px;
118
+ overflow:hidden;
119
+ color:#FFF
120
+ }
121
+ .lof-navigator li.active{
122
+ background:url(images/arrow-bg.png) no-repeat scroll left center;
123
+ color:#FFF
124
+ }
125
+ .lof-navigator li:hover{
126
+
127
+ }
128
+
129
+
130
+ .lof-navigator li h3{
131
+ color:#FFF;
132
+ font-size:100%;
133
+ padding:15px 0 0 !important;
134
+ margin:0;
135
+ font-weight:bold;
136
+
137
+ }
138
+ .lof-navigator li div{
139
+ background:url(images/transparent_bg.png);
140
+ color:#FFF;
141
+ height:100%;
142
+ position:relative;
143
+ margin-left:15px;
144
+ padding-left:15px;
145
+ border-top:1px solid #E1E1E1;
146
+ }
147
+
148
+ .lof-navigator li.active div{
149
+ background:url(images/grad-bg.gif);
150
+ color:#FFF;
151
+ }
152
+ .lof-navigator li img{
153
+ height:60px;
154
+ width:60px;
155
+ margin:15px 15px 10px 0px;
156
+ float:left;
157
+ padding:3px;
158
+ border:#C5C5C5 solid 1px;
159
+ }
160
+ .lof-navigator li.active img{
161
+ border:#6C8E5C solid 1px;
162
+ }
163
+ .lof-navigator li.active h3{
164
+ color:#FFF;
165
+ }
skin/frontend/default/computer_store/css/magebuzz/productslider/slider-scroll.css ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .container{
2
+ color:white;
3
+ margin-top:30px;
4
+ width:100%;
5
+ overflow:hidden;
6
+
7
+ background:url(images/bg_dark.png) #28313b;
8
+ padding:20px 10px 10px;
9
+ -moz-border-radius:12px;
10
+ -khtml-border-radius: 12px;
11
+ -webkit-border-radius: 12px;
12
+ border-radius:12px;
13
+ }
14
+ .product{
15
+ width:370px;
16
+ height:150px;
17
+ background:url(images/product_bg.png) repeat-x;
18
+ padding-top:10px;
19
+ float:left;
20
+
21
+ -moz-border-radius:12px;
22
+ -khtml-border-radius: 12px;
23
+ -webkit-border-radius: 12px;
24
+ border-radius:12px;
25
+ }
26
+ .product .pic{
27
+ float:left;
28
+ width:128px;
29
+ height:128px;
30
+ padding:0 10px 5px;
31
+ margin-top:-15px;
32
+ }
skin/frontend/default/computer_store/css/magebuzz/productslider/slider.css ADDED
@@ -0,0 +1,110 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #slider-content #sl-screen li#sl-view, #slider-content #sl-screen li.nav-left{margin-right: 2px!important;}
2
+ #slider-content #sl-screen li.nav-right{ margin-right: 0;}
3
+ #slider-content #sl-screen li{
4
+ float:left;
5
+ list-style:none;
6
+ margin-right: 7px;
7
+ }
8
+ #list-items{
9
+ width: 753px;
10
+ }
11
+ #slider-content {
12
+ background: #FFFFFF ;
13
+ padding: 15px;
14
+ position:relative;
15
+
16
+ }
17
+ #slider-content #sl-screen{
18
+ margin:0 auto;
19
+ }
20
+ #slider-content #sl-screen .jq-ss-crop{
21
+ float:left;
22
+ border:0 none;
23
+
24
+ }
25
+ #slider-content #sl-screen li.nav-left, #slider-content #sl-screen li.nav-right{
26
+ cursor: pointer;
27
+ margin-right: 0;
28
+ padding: 0;
29
+ width: 12px;
30
+ }
31
+ #slider-content #sl-screen #left,#right{
32
+ display:block;
33
+ height: 13px; width: 12px;
34
+ text-decoration: none;
35
+ overflow:hidden;
36
+ position:absolute;
37
+ z-index: 9;
38
+ margin:0;
39
+ top:-21px;
40
+ }
41
+ #slider-content #sl-screen #left{background:url(images/previous.png) top left no-repeat; height: 11px; width: 12px;right: 35px;}
42
+ #slider-content #sl-screen #right{background:url(images/next.png) top right no-repeat; height: 11px; width: 12px; right: 10px;}
43
+
44
+ #slider-content #sl-screen #left:hover {background:url(images/previous-active.png) top left no-repeat; height: 11px; width: 12px;right: 35px;}
45
+ #slider-content #sl-screen #right:hover {background:url(images/next-active.png) top right no-repeat; height: 11px; width: 12px; right: 10px;}
46
+
47
+
48
+ #slider-content #sl-view{
49
+ margin: 0;
50
+ overflow: hidden;
51
+ padding: 0;
52
+ }
53
+ #slider-content #sl-images{
54
+ width:3818px !important;
55
+ width:3822px;
56
+ padding:0;
57
+ }
58
+ #slider-content #sl-images li{
59
+ text-align: left;
60
+ margin:0 -32px 0 40px;
61
+ border-right: 1px solid #dddddd;
62
+ }
63
+
64
+ #slider-content #sl-images li .item{
65
+ float:left;
66
+ text-align:left;
67
+ }
68
+ #slider-content #sl-images li .item .product-info{text-align: center;}
69
+ #slider-content #sl-images li .item .product-name{}
70
+ #slider-content #sl-images li .item .product-name a{font-size:14px; font-weight: normal; color:#464646; text-decoration:none;}
71
+ #slider-content #sl-images li .item .product-name a:hover {text-decoration: underline;}
72
+ #slider-content #sl-images li .item .product-image{
73
+ /* background: url("images/product-image-bg.png") no-repeat scroll left top transparent; */
74
+ display: block;
75
+ height: 123px;
76
+ padding: 1px 1px 14px;
77
+ text-align: center;
78
+ width: 100%;
79
+ }
80
+ #slider-content #sl-images li img{
81
+ border: 0 none;
82
+ height: 123px;
83
+ width: 161px;
84
+ }
85
+ #slider-content #sl-images li .item .price-box .price{color:#f7941d; font-size:20px;}
86
+ #slider-content #sl-images li .item button.btn-cart {
87
+ background: none repeat scroll 0 0 transparent;
88
+ border: 0 none;
89
+ cursor: pointer;
90
+ margin: 0;
91
+ overflow: visible;
92
+ padding: 0;
93
+ width: auto;
94
+ }
95
+ #slider-content #sl-images li .item button.btn-cart span {
96
+ background: url(images/btn-cart.gif) no-repeat scroll left top transparent;
97
+ border: 0 none;
98
+ float: left;
99
+ height: 30px;
100
+ line-height: 30px;
101
+ padding: 0;
102
+ width: 90px;
103
+ }
104
+ #slider-content #sl-images li .item button.btn-cart span span {
105
+ background: none repeat scroll 0 50% transparent;
106
+ color: #1E7EC8;
107
+ font-weight: bold;
108
+ padding-left: 20px;
109
+ width: auto;
110
+ }
skin/frontend/default/computer_store/css/magebuzz/productslider/style.css ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #page-wrap {position: relative;}
2
+ .slider-wrap {background:#FFFFFF;border: 3px solid #E6E6E6;}
3
+ .stripViewer .panelContainer
4
+ .panel ul { text-align: left; margin: 0 15px 0 30px; }
5
+ .stripViewer { position: relative; overflow: hidden;}
6
+ .stripViewer .panelContainer { position: relative; left: 0; top: 0; }
7
+ .stripViewer .panelContainer .panel { float: left; height: 100%; position: relative; }
8
+ .stripNavL, .stripNavR, .stripNav { display: none; }
9
+ .nav-thumb { border: 1px solid black; margin-right: 5px; }
10
+ #thumbnails-nav {background:#FFFFFF;border: 3px solid #E6E6E6; width:100%; border-top:0 none;}
11
+ #movers-row div {float: left; }
12
+ #movers-row div a.cross-link { float: right; }
13
+ .photo-meta-data { background: url(images/transpBlack.png); padding: 10px; height: 30px;
14
+ margin-top: -50px; position: relative; z-index: 9999; color: white; }
15
+ .photo-meta-data span { font-size: 13px; }
16
+ .cross-link { display: block; width:50px;position: relative;z-index: 9999; }
17
+ .active-thumb { background: transparent url(images/icon-uparrowsmallwhite.png) top center no-repeat; }
18
+
19
+
20
+
21
+
22
+
23
+
skin/frontend/default/computer_store/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) 2010 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/default/computer_store/css/styles-ie.css ADDED
@@ -0,0 +1,148 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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) 2010 Magento Inc. (http://www.magentocommerce.com)
23
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
24
+ */
25
+
26
+ /* 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
+
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
+
43
+ /********** < Navigation styles */
44
+ #nav li,
45
+ #nav li a { zoom:1; }
46
+ #nav li { vertical-align:top; }
47
+ /********** < Navigation styles */
48
+
49
+ select { margin-bottom:1px; }
50
+ input.radio { width:13px; height:13px; }
51
+ input.checkbox { width:13px; height:13px; }
52
+ button.button { height:21px; }
53
+ button.button span { position:relative; }
54
+ button.btn-checkout { height:40px; }
55
+ #opc-review .sp-methods .input-box { float:left; }
56
+ .form-list label { position:relative; z-index:0; }
57
+ .form-list label.required em { position:absolute; top:0; right:-8px; }
58
+
59
+ table { scrollbar-face-color:expression(runtimeStyle.scrollbarFaceColor = '#fff', cellSpacing = 0); }
60
+
61
+ .product-view .product-img-box .zoom.disabled { filter:alpha(opacity=30); }
62
+
63
+ .gift-messages-form { position:relative; zoom:1; }
64
+
65
+ .tool-tip .btn-close a { margin:0; }
66
+
67
+ .product-view .box-tags .product-tags li,
68
+ .footer li { padding:0 4px 0 7px; }
69
+
70
+ .product-options dd .time-picker select { margin:0; padding:0; }
71
+
72
+ /* Clearer */
73
+ .clearer { display:block; clear:both; font-size:0; line-height:0; height:0; overflow:hidden; }
74
+
75
+ /* Clears and hasLayout fixes */
76
+ .header-container,
77
+ .header-container .top-container,
78
+ .header,
79
+ .header .quick-access,
80
+ #nav,
81
+ .main,
82
+ .footer,
83
+ .footer-container .bottom-container,
84
+ .col-main,
85
+ .col2-set,
86
+ .col3-set,
87
+ .col3-layout .product-options-bottom .price-box,
88
+ .col4-set,
89
+ .messages li,
90
+ .search-autocomplete li,
91
+ .block,
92
+ .block .block-content,
93
+ .block .actions,
94
+ .block li.item,
95
+ .block-poll li,
96
+ .block-poll .label,
97
+ .block-layered-nav .currently li,
98
+ .block-account .block-content li a,
99
+ .mini-products-list .product-details,
100
+ .page-title,
101
+ .rss-title h1,
102
+ .products-grid,
103
+ .products-list li.item,
104
+ .box-account .box-head,
105
+ .dashboard .box .box-title,
106
+ .box-reviews li.item,
107
+ .box-tags li.item,
108
+ .pager,
109
+ .sorter,
110
+ .ratings,
111
+ .add-to-box,
112
+ .add-to-cart,
113
+ .product-essential,
114
+ .product-collateral,
115
+ .product-view .product-img-box .more-views ul,
116
+ .product-view .box-tags .form-add,
117
+ .product-view .product-shop .short-description,
118
+ .product-view .box-description,
119
+ .product-options .options-list li,
120
+ .product-options,
121
+ .product-options-bottom,
122
+ .truncated,
123
+ .truncated .truncated_full_value,
124
+ .product-review,
125
+ .cart,
126
+ .cart-collaterals,
127
+ .cart .crosssell li.item,
128
+ .cart .discount,
129
+ .opc .step-title,
130
+ .opc .step,
131
+ .multiple-checkout,
132
+ .sp-methods,
133
+ .checkout-progress,
134
+ .multiple-checkout .place-order,
135
+ .form-list li,
136
+ .form-list .field,
137
+ .group-select li,
138
+ .buttons-set,
139
+ .page-print .print-head,
140
+ .cart-tax-total,
141
+ .advanced-search-summary,
142
+ .advanced-search-summary p,
143
+ .gift-messages-form .item,
144
+ .send-friend .form-list li p,
145
+ .centinel .authentication { zoom:1; }
146
+
147
+ /* Hover Fix */
148
+ 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/default/computer_store/css/styles.css ADDED
@@ -0,0 +1,2103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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) 2010 Magento Inc. (http://www.magentocommerce.com)
23
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
24
+ */
25
+
26
+ /* Reset ================================================================================= */
27
+ * { margin:0; padding:0; }
28
+
29
+ body { background:#f2f2f2;font:12px/1.55 Arial, Helvetica, sans-serif; color:#2f2f2f; text-align:center;}
30
+
31
+ img { border:0; vertical-align:top; }
32
+
33
+ a { color:#f7941d; text-decoration:underline; }
34
+ a:hover { text-decoration:none; }
35
+ :focus { outline:0; }
36
+
37
+ /* Headings */
38
+ h1,h2,h3,
39
+ h4,h5,h6 { margin:0 0 5px; line-height:1.35; color:#464646; }
40
+ h1 { font-size:20px; font-weight:normal; }
41
+ h2 { font-size:18px; font-weight:normal; }
42
+ h3 { font-size:16px; font-weight:bold; }
43
+ h4 { font-size:14px; font-weight:bold; }
44
+ h5 { font-size:12px; font-weight:bold; }
45
+ h6 { font-size:11px; font-weight:bold; }
46
+ @font-face {
47
+ font-family: "Calibri";
48
+ src: url(fonts/calibrib.ttf);
49
+ }
50
+ /* Forms */
51
+ form { display:inline; }
52
+ fieldset { border:0; }
53
+ legend { display:none; }
54
+
55
+ /* Table */
56
+ table { border:0; /*border-collapse:collapse;*/ border-spacing:0; empty-cells:show; font-size:100%; }
57
+ caption,th,td { vertical-align:top; text-align:left; font-weight:normal; }
58
+
59
+ /* Content */
60
+ p { margin:0 0 10px; }
61
+ strong { font-weight:bold; color: #464646;}
62
+ address { font-style:normal; line-height:1.35; }
63
+ cite { font-style:normal; }
64
+ q,
65
+ blockquote { quotes:none; }
66
+ q:before,
67
+ q:after { content:''; }
68
+ small,big { font-size:1em; }
69
+ /*sup { font-size:1em; vertical-align:top; }*/
70
+
71
+ /* Lists */
72
+ ul,ol { list-style:none; }
73
+
74
+ /* Tools */
75
+ .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; }
76
+ .nobr { white-space:nowrap !important; }
77
+ .wrap { white-space:normal !important; }
78
+ .a-left { text-align:left !important; }
79
+ .a-center { text-align:center !important; }
80
+ .a-right { text-align:right !important; }
81
+ .v-top { vertical-align:top; }
82
+ .v-middle { vertical-align:middle; }
83
+ .f-left,
84
+ .left { float:left !important; }
85
+ .f-right,
86
+ .right { float:right !important; }
87
+ .f-none { float:none !important; }
88
+ .f-fix { float:left; width:100%; }
89
+ .no-display { display:none; }
90
+ .no-margin { margin:0 !important; }
91
+ .no-padding { padding:0 !important; }
92
+ .no-bg { background:none !important; }
93
+ /* ======================================================================================= */
94
+
95
+
96
+ /* Layout ================================================================================ */
97
+ .wrapper { min-width:1024px; overflow: hidden !important; margin: 0;}
98
+ .page {/* overflow: hidden; */}
99
+ .page-print { background:#fff; padding:25px 30px; text-align:left; }
100
+ .page-empty { background:#fff; padding:20px; text-align:left; }
101
+ .page-popup { background:#fff; padding:25px 30px; text-align:left; }
102
+ .main-container {}
103
+ .main { width:1024px; margin: 0 auto; min-height:400px;text-align:left; }
104
+
105
+ /* Base Columns */
106
+ .col-left { float:left; width:241px; padding:0 0 1px; }
107
+ .col-main { float:left; width:753px; padding:0; }
108
+ .col-right { float:right; width:241px; padding:0 0 1px; }
109
+
110
+ /* 1 Column Layout */
111
+
112
+ .col1-layout .col-main { float:none; width: 100%; }
113
+
114
+ /* 2 Columns Layout */
115
+ .col2-left-layout .col-main {
116
+ background: #ffffff;
117
+ float:right;
118
+ border-radius: 5px;
119
+ -moz-border-radius:5px;
120
+ -webkit-border-radius: 5px;
121
+ float: right;
122
+ width: 721px;
123
+ padding: 15px 16px;
124
+ }
125
+ .col2-left-layout,
126
+ .col2-right-layout {margin: 36px 0 0 0;}
127
+
128
+ /* 3 Columns Layout */
129
+ .col3-layout .col-main { width:490px; margin-left:17px; }
130
+ .col3-layout .col-wrapper { float:left; width:753px; }
131
+ .col3-layout .col-wrapper .col-main { float:right; }
132
+
133
+ /* Content Columns */
134
+ .col2-set .col-1 { float:left; width:48.5%; }
135
+ .col2-set .col-2 { float:right; width:48.5%; }
136
+ .col2-set .col-narrow { width:32%; }
137
+ .col2-set .col-wide { width:65%; }
138
+
139
+ .col3-set .col-1 { float:left; width:32%; }
140
+ .col3-set .col-2 { float:left; width:32%; margin-left:2%; }
141
+ .col3-set .col-3 { float:right; width:32%; }
142
+
143
+ .col4-set .col-1 { float:left; width:23.5%; }
144
+ .col4-set .col-2 { float:left; width:23.5%; margin:0 2%; }
145
+ .col4-set .col-3 { float:left; width:23.5%; }
146
+ .col4-set .col-4 { float:right; width:23.5%; }
147
+ /* ======================================================================================= */
148
+
149
+
150
+ /* Global Styles ========================================================================= */
151
+ /* Form Elements */
152
+ input,select,textarea,button { font:12px/15px Arial, Helvetica, sans-serif; vertical-align:middle; color:#2f2f2f; }
153
+ input.input-text,select,textarea { background:#fff; border:1px solid #dddddd; }
154
+ input.input-text,textarea { padding:2px; }
155
+ select { padding:1px; }
156
+ select option { padding-right:10px; }
157
+ select.multiselect option { padding:2px 5px; }
158
+ select.multiselect option:last-child { border-bottom:0; }
159
+ textarea { overflow:auto; }
160
+ input.radio { margin-right:3px; }
161
+ input.checkbox { margin-right:3px; }
162
+ input.qty { width:2.5em !important; }
163
+ button.button::-moz-focus-inner { padding:0; border:0; } /* FF Fix */
164
+ button.button { -webkit-border-fit:lines; } /* <- Safari & Google Chrome Fix */
165
+ button.button{ overflow:visible; width:auto; border:0; padding:0; margin:0; background:transparent; cursor:pointer;height: 24px!important;}
166
+ button.button span{
167
+ background: url(../images/bkg-button.png) no-repeat scroll 0 0 transparent;
168
+ color: white;
169
+ float: left;
170
+ font-size: 12px;
171
+ font-weight: bold;
172
+ height: 24px;
173
+ text-transform: capitalize;
174
+ line-height: 24px;
175
+ padding: 0 0 0 9px;
176
+ position: relative;
177
+ text-align: center;
178
+ white-space: nowrap;
179
+ overflow:visible;
180
+
181
+ }
182
+ button.button span span{background-position: 100% 0; padding: 0 12px 0 0; font-size:12px; font-weight:bold; color:white;}
183
+ button.btn-update { overflow:visible; width:auto; border:0; padding:0; margin:0; background:transparent; cursor:pointer;height: 28px!important; float: right; }
184
+ button.button:hover span{
185
+ background: url(../images/bkg-button-hover2.png) no-repeat scroll 0 0 transparent;
186
+ color: white;
187
+ float: left;
188
+ font-size: 12px;
189
+ font-weight: bold;
190
+ height: 24px;
191
+ text-transform: capitalize;
192
+ line-height: 24px;
193
+ padding: 0 0 0 9px;
194
+ position: relative;
195
+ text-align: center;
196
+ white-space: nowrap;
197
+ overflow:visible;
198
+
199
+ }
200
+ button.button:hover span span{background-position: 100% 0; padding: 0 12px 0 0; font-size:12px; font-weight:bold; color:white;}
201
+
202
+
203
+
204
+
205
+
206
+ button.disabled span { border-color:#bbb !important; background:#bbb !important; }
207
+
208
+ /* button.btn-checkout span { height:29px; border:0; font:bold 15px/40px Arial, Helvetica, sans-serif; color:#ffffff; }
209
+ button.btn-checkout span span { background-position:100% 0; padding:0 25px 0 16px; line-height: 28px; } */
210
+
211
+ button.btn-checkout::-moz-focus-inner { padding:0; border:0; } /* FF Fix */
212
+ button.btn-checkout { -webkit-border-fit:lines; } /* <- Safari & Google Chrome Fix */
213
+ button.btn-checkout{ overflow:visible; width:auto; border:0; padding:0; margin:0; background:transparent; cursor:pointer;height: 28px!important; float: right; }
214
+ button.btn-checkout span{
215
+ background: url(../images/bkg-button.png) no-repeat scroll 0 0 transparent;
216
+ color: white;
217
+ float: left;
218
+ font-size: 12px;
219
+ font-weight: bold;
220
+ height: 24px;
221
+ text-transform: uppercase;
222
+ line-height: 24px;
223
+ padding: 0 0 0 9px;
224
+ position: relative;
225
+ text-align: center;
226
+ white-space: nowrap;
227
+ overflow:visible;
228
+
229
+ }
230
+ button.btn-checkout span span{background-position: 100% 0; padding: 0 12px 0 0; font-size:12px; font-weight:bold; color:white;}
231
+
232
+ button.btn-checkout::-moz-focus-inner { padding:0; border:0; } /* FF Fix */
233
+ button.btn-checkout { -webkit-border-fit:lines; } /* <- Safari & Google Chrome Fix */
234
+ button.btn-checkout { overflow:visible; width:auto; border:0; padding:0; margin:0; background:transparent; cursor:pointer;height: 28px!important; float: right; }
235
+ button.btn-checkout:hover span{
236
+ background: url(../images/bkg-button-hover2.png) no-repeat scroll 0 0 transparent;
237
+ color: white;
238
+ float: left;
239
+ font-size: 12px;
240
+ font-weight: bold;
241
+ height: 24px;
242
+ text-transform: uppercase;
243
+ line-height: 24px;
244
+ padding: 0 0 0 9px;
245
+ position: relative;
246
+ text-align: center;
247
+ white-space: nowrap;
248
+ overflow:visible;
249
+
250
+ }
251
+ button.btn-checkout:hover span span{background-position: 100% 0; padding: 0 12px 0 0; font-size:12px; font-weight:bold; color:white;}
252
+
253
+ button.btn-checkout.no-checkout span { background-position:0 100%; color:#b8baba; }
254
+ button.btn-checkout.no-checkout span span { background-position:100% 100%; }
255
+
256
+ p.control input.checkbox,
257
+ p.control input.radio { margin-right:6px; }
258
+ /* Form Highlight */
259
+ input.input-text:focus,select:focus,textarea:focus { background-color:#edf7fd; }
260
+ /*.highlight { background:#efefef; }*/
261
+
262
+ /* Form lists */
263
+ /* Grouped fields */
264
+ /*.form-list { width:535px; margin:0 auto; overflow:hidden; }*/
265
+ .form-list li { margin:0 0 8px; }
266
+ .form-list label { float:left; color:#666; font-weight:bold; position:relative; z-index:0; }
267
+ .form-list label.required {}
268
+ .form-list label.required em { float:right; font-style:normal; color:#eb340a; position:absolute; top:0; right:-8px; }
269
+ .form-list li.control label { float:none; }
270
+ .form-list li.control input.radio,
271
+ .form-list li.control input.checkbox { margin-right:6px; }
272
+ .form-list li.control .input-box { clear:none; display:inline; width:auto; }
273
+ /*.form-list li.fields { margin-right:-15px; }*/
274
+ .form-list .input-box { display:block; clear:both; width:260px; }
275
+ .form-list .field { float:left; width:275px; }
276
+ .form-list input.input-text { width:254px; }
277
+ .form-list textarea { width:254px; height:10em; }
278
+ .form-list select { width:260px; }
279
+ .form-list li.wide .input-box { width:535px; }
280
+ .form-list li.wide input.input-text { width:529px; }
281
+ .form-list li.wide textarea { width:529px; }
282
+ .form-list li.wide select { width:535px; }
283
+ .form-list li.additional-row { border-top:1px solid #ccc; margin-top:10px; padding-top:7px; }
284
+ .form-list li.additional-row .btn-remove { float:right; margin:5px 0 0; }
285
+ .form-list .input-range input.input-text { width:74px; }
286
+ /* Customer */
287
+ .form-list .customer-name-prefix .input-box,
288
+ .form-list .customer-name-suffix .input-box,
289
+ .form-list .customer-name-prefix-suffix .input-box,
290
+ .form-list .customer-name-prefix-middlename .input-box,
291
+ .form-list .customer-name-middlename-suffix .input-box,
292
+ .form-list .customer-name-prefix-middlename-suffix .input-box { width:auto; }
293
+
294
+ .form-list .name-prefix { width:65px; }
295
+ .form-list .name-prefix select { width:55px; }
296
+ .form-list .name-prefix input.input-text { width:49px; }
297
+
298
+ .form-list .name-suffix { width:65px; }
299
+ .form-list .name-suffix select { width:55px; }
300
+ .form-list .name-suffix input.input-text { width:49px; }
301
+
302
+ .form-list .name-middlename { width:70px; }
303
+ .form-list .name-middlename input.input-text { width:49px; }
304
+
305
+ .form-list .customer-name-prefix-middlename-suffix .name-firstname,
306
+ .form-list .customer-name-prefix-middlename .name-firstname { width:140px; }
307
+ .form-list .customer-name-prefix-middlename-suffix .name-firstname input.input-text,
308
+ .form-list .customer-name-prefix-middlename .name-firstname input.input-text { width:124px; }
309
+ .form-list .customer-name-prefix-middlename-suffix .name-lastname { width:205px; }
310
+ .form-list .customer-name-prefix-middlename-suffix .name-lastname input.input-text { width:189px; }
311
+
312
+ .form-list .customer-name-prefix-suffix .name-firstname { width:210px; }
313
+ .form-list .customer-name-prefix-suffix .name-lastname { width:205px; }
314
+ .form-list .customer-name-prefix-suffix .name-firstname input.input-text,
315
+ .form-list .customer-name-prefix-suffix .name-lastname input.input-text { width:189px; }
316
+
317
+ .form-list .customer-name-prefix-suffix .name-firstname { width:210px; }
318
+ .form-list .customer-name-prefix-suffix .name-lastname { width:205px; }
319
+ .form-list .customer-name-prefix-suffix .name-firstname input.input-text,
320
+ .form-list .customer-name-prefix-suffix .name-lastname input.input-text { width:189px; }
321
+
322
+ .form-list .customer-name-prefix .name-firstname,
323
+ .form-list .customer-name-middlename .name-firstname { width:210px; }
324
+
325
+ .form-list .customer-name-suffix .name-lastname,
326
+ .form-list .customer-name-middlename .name-firstname,
327
+ .form-list .customer-name-middlename-suffix .name-firstname,
328
+ .form-list .customer-name-middlename-suffix .name-lastname { width:205px; }
329
+
330
+ .form-list .customer-name-prefix .name-firstname input.input-text,
331
+ .form-list .customer-name-suffix .name-lastname input.input-text,
332
+ .form-list .customer-name-middlename .name-firstname input.input-text,
333
+ .form-list .customer-name-middlename-suffix .name-firstname input.input-text,
334
+ .form-list .customer-name-middlename-suffix .name-lastname input.input-text { width:189px; }
335
+
336
+ .form-list .customer-dob .dob-month,
337
+ .form-list .customer-dob .dob-day,
338
+ .form-list .customer-dob .dob-year { float:left; width:85px; }
339
+ .form-list .customer-dob input.input-text { display:block; width:74px; }
340
+ .form-list .customer-dob label { font-size:10px; font-weight:normal; color:#888; }
341
+ .form-list .customer-dob .dob-day,
342
+ .form-list .customer-dob .dob-month { width:60px; }
343
+ .form-list .customer-dob .dob-day input.input-text,
344
+ .form-list .customer-dob .dob-month input.input-text { width:46px; }
345
+ .form-list .customer-dob .dob-year { width:140px; }
346
+ .form-list .customer-dob .dob-year input.input-text { width:134px; }
347
+
348
+ /* Independent fields */
349
+ /*.form-list li { margin:0 0 8px; }
350
+ .form-list li.fields { margin:0; }
351
+ .form-list .field { display:block; margin:0 0 8px; }
352
+ .form-list li.control {}
353
+ .form-list label { float:left; width:150px; padding:2px 10px 0 0; text-align:right; }
354
+ .form-list label.required { font-weight:bold; }
355
+ .form-list label.required em { font-variant:normal; color:#eb340a; margin-right:3px; }
356
+ .form-list .input-box { float:left; width:260px; }
357
+ .form-list input.input-text,
358
+ .form-list textarea { width:254px; }
359
+ .form-list select { width:260px; }
360
+ .form-list li.additional-row { border-top:1px solid #ddd; margin-top:10px; }
361
+ .form-list li.additional-row .btn-remove { float:right; margin:5px 5px 0 0; }
362
+ .form-list .input-range input.input-text { width:96px; }*/
363
+ /* Customer */
364
+ /*.form-list .customer-dob .dob-month,
365
+ .form-list .customer-dob .dob-day,
366
+ .form-list .customer-dob .dob-year { float:left; width:85px; }
367
+ .form-list .customer-dob input.input-text { display:block; width:74px; }
368
+ .form-list .customer-dob label { font-size:11px; font-weight:normal; color:#777; text-align:left; }
369
+ .form-list .customer-dob .dob-day,
370
+ .form-list .customer-dob .dob-month { width:60px; }
371
+ .form-list .customer-dob .dob-day input.input-text,
372
+ .form-list .customer-dob .dob-month input.input-text { width:46px; }
373
+ .form-list .customer-dob .dob-year { width:140px; }
374
+ .form-list .customer-dob .dob-year input.input-text { width:134px; }*/
375
+
376
+ .buttons-set { clear:both; margin:4em 0 0; padding:8px 0 0; border-top:1px solid #dddddd; text-align:right; }
377
+ .buttons-set p.required { margin:0 5px 10px 0; }
378
+ .buttons-set .back-link { float:left; margin:0 15px; }
379
+ .buttons-set button.button { float:right; margin: 0 5px 0 0;}
380
+
381
+ .buttons-set-order { margin:10px 0 0; }
382
+ .buttons-set-order .please-wait { padding:12px 7px 0 0; }
383
+
384
+ .fieldset { border:1px solid #dddddd; background:#fff; padding:22px 25px 12px 33px; margin:28px 0; }
385
+ .fieldset .legend { float:left; font-weight:bold; font-size:13px; border:1px solid #dddddd; background:#ffffff; color:#f7941d; margin:-33px 0 0 -10px; padding:0 8px; position:relative; }
386
+
387
+ /* Form Validation */
388
+ .validation-advice { clear:both; min-height:13px; margin:7px 0 0; padding-left:17px; font-size:11px; font-weight:bold; line-height:13px; background:url(../images/validation_advice_bg.gif) 2px 0 no-repeat; color:#eb340a; }
389
+ .validation-failed { border:1px dashed #eb340a !important; background:#faebe7 !important; }
390
+ .validation-passed {}
391
+ p.required { font-size:11px; text-align:right; color:#EB340A; }
392
+ /* Expiration date and CVV number validation fix */
393
+ .v-fix { float:left; }
394
+ .v-fix .validation-advice { display:block; width:12em; margin-right:-12em; position:relative; }
395
+
396
+ /* Global Messages */
397
+ .success { color:#3d6611; font-weight:bold; }
398
+ .error { color:#df280a; font-weight:bold; }
399
+ .notice { color:#e26703; }
400
+
401
+ .messages,
402
+ .messages ul { list-style:none !important; margin:0 !important; padding:0 !important; }
403
+ .messages { width:100%; overflow:hidden; }
404
+ .messages li { margin:0 0 10px !important; }
405
+ .messages li li { margin:0 0 3px !important; }
406
+ .error-msg,
407
+ .success-msg,
408
+ .note-msg,
409
+ .notice-msg { border-style:solid !important #dddddd; border-width:1px !important; background-position:10px 9px !important; background-repeat:no-repeat !important; min-height:24px !important; padding:8px 8px 8px 32px !important; font-size:11px !important; font-weight:bold !important; }
410
+ .error-msg { border-color:#f16048; background-color:#faebe7; background-image:url(../images/i_msg-error.gif); color:#df280a; }
411
+ .success-msg { border: 1px solid #dddddd; background-color:#eff5ea; background-image:url(../images/i_msg-success.gif); color:#3d6611; }
412
+ .note-msg,
413
+ .notice-msg { border-color:#fcd344; background-color:#fafaec; background-image:url(../images/i_msg-note.gif); color:#3d6611; }
414
+
415
+ /* BreadCrumbs */
416
+ .breadcrumbs { font-size:13px; line-height:1.25; margin:0 0 13px; }
417
+ .breadcrumbs li { display:inline; }
418
+ .breadcrumbs li strong { font-weight:bold; }
419
+
420
+ /* Page Heading */
421
+ .page-title { width:100%; overflow:hidden; border-bottom:1px solid #dddddd; margin:0 0 25px; }
422
+ .page-title h1,
423
+ .page-title h2 {font-size:20px; color:#f7941d; }
424
+ .category-title h1 {float: left; }
425
+ .my-account .page-title h1 {margin:5px 0;}
426
+ .page-title .separator { margin:0 3px; }
427
+ .page-title .link-rss { float:right; margin:7px 0 0; }
428
+ .title-buttons { text-align:right; }
429
+ .title-buttons h1,
430
+ .title-buttons h2,
431
+ .title-buttons h3,
432
+ .title-buttons h4,
433
+ .title-buttons h5,
434
+ .title-buttons h6 { float:left; }
435
+
436
+ .subtitle,
437
+ .sub-title { clear:both; padding:15px 0 0; font-size:15px; font-weight:bold; margin:0 0 6px; color:#e25203; }
438
+
439
+ /* Pager */
440
+ .pager { padding: 8px 0; margin: 0 13px;}
441
+ .pager .amount { float:left; margin:0; padding: 0 2px;}
442
+ .pager .limiter { float:right;}
443
+ .pager .limiter label { vertical-align:middle; }
444
+ .pager .limiter select { padding:0; margin:0 0 1px; vertical-align:middle; }
445
+ .pager .pages ol { display:inline; }
446
+ .pager .pages li { display:inline; margin:0 2px; }
447
+ .pager .pages .current {}
448
+
449
+ /* Sorter */
450
+ .sorter {padding: 7px 0; margin: 0 13px;}
451
+ .sorter .view-mode { float:left; margin:0; padding: 0 2px;}
452
+ .sorter .view-mode a {color: white; text-decoration: none;}
453
+ .sorter .view-mode strong {text-decoration: underline;}
454
+ .sorter .sort-by { float:right; margin: 0; padding-right: 6px; }
455
+ .col2-right-layout .toolbar .sorter .sort-by { float:right; margin: 0; padding-right: 17px; }
456
+ .sorter .sort-by select { padding:0; margin:0 0 1px; vertical-align:middle; }
457
+ .sorter .link-feed {}
458
+ .sorter .pages { margin:0 250px; }
459
+ .sorter .pages strong {color: #ffffff;}
460
+ .sorter .pages ol { display:inline; }
461
+ .sorter .pages li { display:inline; margin:0 2px; }
462
+ .sorter .pages .current {font-size: 16px; color: #fd8500; font-weight: bold;}
463
+
464
+ /*Pages*/
465
+ .pages li a {text-decoration: none; color: white;}
466
+ .pages li a:hover {text-decoration: underline;}
467
+
468
+ /* Toolbar */
469
+ .toolbar {background: url(../images/bg_toolbar.png) no-repeat left top;width: 721px; height: 70px; color: white; margin: 0 auto 5px;}
470
+ .toolbar .pager {border-bottom:1px dotted white; }
471
+ .toolbar .pager .amount strong {color: #ffffff;}
472
+ .toolbar .sorter {}
473
+ .toolbar-bottom {clear: both; margin: 5px auto 0;}
474
+ .toolbar .view-mode .grid {
475
+ background: url(../images/bg-grid.png) no-repeat scroll right center transparent;
476
+ padding: 0 9px;
477
+ margin-left: -10px;
478
+ color: #ffffff;
479
+ }
480
+
481
+ .toolbar .view-mode .list {color: #ffffff;}
482
+
483
+ /* Data Table */
484
+ .data-table { width:100%; border:1px solid #dddddd; background: #fff; border-bottom: 0 none;}
485
+ .data-table .odd { }
486
+ .data-table .even { }
487
+ .order-review .data-table {border-top: 0 none;}
488
+ /*.data-table tr.odd:hover,
489
+ .data-table tr.even:hover { background:#ebf1f6; }*/
490
+ .data-table td.last,
491
+ .data-table th.last { border-right:0; }
492
+ .data-table tr.last th,
493
+ .data-table tr.last td {}
494
+ .data-table th { padding:3px 8px; font-weight:bold; }
495
+ .data-table td { padding:3px 8px; }
496
+
497
+ .data-table thead th { font-weight:normal; border-bottom: 1px solid #dddddd;border-right:1px solid #dddddd; padding:5px 8px; color:#464646; white-space:nowrap; vertical-align:middle; font-size: 14px;}
498
+ .data-table thead th.wrap { white-space:normal; }
499
+ .data-table thead th a,
500
+ .data-table thead th a:hover { color:#fff; }
501
+ .data-table thead th {}
502
+ .data-table thead th .tax-flag { font-size:11px; white-space:nowrap; }
503
+
504
+ .data-table tfoot { border-bottom:1px solid #d9dde3; }
505
+ .data-table tfoot tr.first td {}
506
+ .data-table tfoot tr { }
507
+ .data-table tfoot td { padding-top:1px; padding-bottom:1px; border-bottom: 1px solid #dddddd; border-right:1px solid #dddddd; }
508
+ .data-table tfoot strong { font-size:16px; }
509
+
510
+ .data-table tbody th,
511
+ .data-table tbody td { border-bottom:1px solid #dddddd; border-right:1px solid #dddddd; }
512
+ /* Bundle products tables */
513
+ .data-table tbody.odd tr { background:#f8f7f5 !important; }
514
+ .data-table tbody.even tr { background:#f6f6f6 !important; }
515
+ .data-table tbody.odd tr td,
516
+ .data-table tbody.even tr td { border-bottom:0; }
517
+ .data-table tbody.odd tr.border td,
518
+ .data-table tbody.even tr.border td { border-bottom:1px solid #d9dde3; }
519
+
520
+ .data-table tbody td .option-label { font-weight:bold; font-style:italic; }
521
+ .data-table tbody td .option-value { padding-left:10px; }
522
+
523
+ /* Generic Info Box */
524
+ .info-box {border:1px solid #d0cbc1; padding:12px 15px; margin:0 0 15px; }
525
+ .info-box h2 { font-weight:bold; font-size:13px; }
526
+
527
+ .info-table th { font-weight:bold; padding:2px 15px 2px 0; }
528
+ .info-table td { padding:2px 0; }
529
+
530
+ /* Shopping cart total summary row expandable to details */
531
+ tr.summary-total { cursor:pointer; }
532
+ tr.summary-total td {}
533
+ tr.summary-total .summary-collapse { float:right; text-align:right; padding-left:20px; background:url(../images/bkg_collapse.gif) 0 5px no-repeat; cursor:pointer; }
534
+ tr.show-details .summary-collapse { background-position:0 -52px; }
535
+ tr.show-details td {}
536
+ tr.summary-details td { font-size:11px; background-color:#dae1e4; color:#626465; }
537
+ tr.summary-details-first td { border-top:1px solid #d2d8db; }
538
+ tr.summary-details-excluded { font-style:italic; }
539
+
540
+ /* Shopping cart tax info */
541
+ .cart-tax-info { display:block; }
542
+ .cart-tax-info,
543
+ .cart-tax-info .cart-price { padding-right:20px; }
544
+ .cart-tax-total { display:block; padding-right:20px; background:url(../images/bkg_collapse.gif) 100% 5px no-repeat; cursor:pointer; }
545
+ .cart-tax-info .price,
546
+ .cart-tax-total .price { display:inline !important; font-weight:normal !important; }
547
+ .cart-tax-total-expanded { background-position:100% -52px; }
548
+
549
+ /* Class: std - styles for admin-controlled content */
550
+ .std .subtitle { padding:0; }
551
+ .std ol.ol { list-style:decimal outside; padding-left:1.5em; }
552
+ .std ul.disc { list-style:disc outside; padding-left:18px; margin:0 0 10px; }
553
+ .std dl dt { font-weight:bold; }
554
+ .std dl dd { margin:0 0 10px; }
555
+ /*.std ul,
556
+ .std ol,
557
+ .std dl,
558
+ .std p,
559
+ .std address,
560
+ .std blockquote { margin:0 0 1em; padding:0; }
561
+ .std ul { list-style:disc outside; padding-left:1.5em; }
562
+ .std ol { list-style:decimal outside; padding-left:1.5em; }
563
+ .std ul ul { list-style-type:circle; }
564
+ .std ul ul,
565
+ .std ol ol,
566
+ .std ul ol,
567
+ .std ol ul { margin:.5em 0; }
568
+ .std dt { font-weight:bold; }
569
+ .std dd { padding:0 0 0 1.5em; }
570
+ .std blockquote { font-style:italic; padding:0 0 0 1.5em; }
571
+ .std address { font-style:normal; }
572
+ .std b,
573
+ .std strong { font-weight:bold; }
574
+ .std i,
575
+ .std em { font-style:italic; }*/
576
+
577
+ /* Misc */
578
+ .links li { display:inline; }
579
+ .links li.first { padding-left:0 !important; }
580
+ .links li.last { background:none !important; padding-right:0 !important; }
581
+
582
+ .link-cart { color:#dc6809 !important; font-weight:bold; }
583
+ .link-wishlist { color:#f7941d !important; font-weight:normal; }
584
+ .link-reorder { font-weight:bold; color:#dc6809 !important; }
585
+ .link-compare { font-weight:normail; color: #f00000 !important; }
586
+ .link-print { /*background:url(../images/i_print.gif) 0 2px no-repeat; padding:2px 0 2px 25px;*/ font-weight:bold; color:#dc6809; }
587
+ .link-rss { background:url(../images/i_rss.gif) 0 2px no-repeat; padding-left:18px; line-height:14px; white-space:nowrap; }
588
+ .btn-remove { display:block; width:11px; height:11px; font-size:0; line-height:0; background:url(../images/btn_remove.gif) 0 0 no-repeat; text-indent:-999em; overflow:hidden; }
589
+ .btn-remove2 { display:block; width:16px; height:16px; font-size:0; line-height:0; background:url(../images/btn_trash.gif) 0 0 no-repeat; text-indent:-999em; overflow:hidden; }
590
+ .btn-edit { display:block; width:11px; height:11px; font-size:0; line-height:0; background:url(../images/btn_edit.gif) 0 0 no-repeat; text-indent:-999em; overflow:hidden; }
591
+
592
+ .cards-list dt { margin:5px 0 0; }
593
+ .cards-list .offset { padding:2px 0 2px 20px; }
594
+
595
+ .separator { margin:0 3px; }
596
+
597
+ .divider { clear:both; display:block; font-size:0; line-height:0; height:1px; margin:10px 0; background:url(../images/bkg_divider1.gif) 0 50% repeat-x; text-indent:-999em; overflow:hidden; }
598
+
599
+ /* Noscript Notice */
600
+ .noscript { border:1px solid #ddd; border-width:0 0 1px; background:#ffff90; font-size:12px; line-height:1.25; text-align:center; color:#2f2f2f; }
601
+ .noscript .noscript-inner { width:950px; margin:0 auto; padding:12px 0 12px; background:url(../images/i_notice.gif) 20px 50% no-repeat; }
602
+ .noscript p { margin:0; }
603
+
604
+ /* Demo Notice */
605
+ .demo-notice { margin:0; padding:6px 10px; background:#d75f07; font-size:12px; line-height:1.15; text-align:center; color:#fff; }
606
+ /* ======================================================================================= */
607
+
608
+ /* Advertising ===========================================================================*/
609
+
610
+ .home-container .adv-content {float:left; background: url(../images/advertising.png) no-repeat left top; width: 1021px; height:90px; text-transform: uppercase; position: relative; border: 1px solid #d5d5d5;}
611
+ .home-container .adv-content ul {display: inline;float: left; width: 100%; position: relative;}
612
+ .home-container .adv-content ul li {background: url(../images/bkg_ul_adv.jpg) no-repeat right top;display: inline;cursor: pointer; height: 90px;}
613
+ .home-container .adv-content a {color: #5c5c5c; text-decoration: none;}
614
+
615
+ .home-container .adv-content .adv h1 {font-weight: bold; font-family:"Arial"; font-size: 45px; color: #f7941d;}
616
+ .home-container .adv-content .adv h2 {font-weight: bold; font-family:"Calibri"; font-size: 40px; color: #5c5c5c; line-height: 30px; margin: 20px 0 0;}
617
+ .home-container .adv-content .adv h5 {font-weight: ; font-family:"Arial"; font-size: 10px; color: #5c5c5c;}
618
+ .home-container .adv-content .adv .first {float: left; text-align: right; padding: 0 0 0 5px;}
619
+ .home-container .adv-content .adv .last {float: right; text-align: left;padding: 0 5px 0 0; margin: 9px 0 0 0;}
620
+
621
+
622
+ .home-container .adv-content .col1 {float: left; width: 348px;}
623
+ .home-container .adv-content .col2 {float: left; width: 373px; }
624
+ .home-container .adv-content .col3 {float: left; width: 300px;background: 0 none;}
625
+ .home-container .adv-content .col3 .first {float: left; padding: 0 0 0 20px;}
626
+
627
+ .home-container .adv-content .support {float: left;margin: 0; padding: 0;}
628
+
629
+
630
+
631
+
632
+ /* Header ================================================================================ */
633
+ .logo { float:left; }
634
+ .header-container {}
635
+ .header { width:1026px; margin:0 auto; padding:62px 0 0 0; text-align:right; position:relative; z-index:10; }
636
+ .header .logo { float:left; margin: 12px 0; text-decoration:none !important; }
637
+ .header .logo strong { position:absolute; top:-999em; left:-999em; width:0; height:0; font-size:0; line-height:0; text-indent:-999em; overflow:hidden; }
638
+ /* .header h1.logo { margin:0; } */
639
+ .header .quick-access { float:right; width:600px; padding: 0 0 12px; }
640
+ .header .welcome-msg {float:right; width:100%; text-align:right;}
641
+ .header .form-search { position:absolute; top: 7px; right:0; width:292px; height:30px; background:url(../images/bkg_input_search.png) 0 0 no-repeat; padding:1px 0 0 16px; }
642
+ /* .header .form-search label { float:left; width:24px; height:21px; text-align:left; text-indent:-999em; overflow:hidden; }
643
+ .header .form-search input.input-text { float:left; border-color:#5c7989; width:209px; margin-right:4px; }
644
+ .header .form-search button.button { float:left; }
645
+ .header .form-search button.button span { border:0; height:21px; background:url(../images/btn_search.gif) 0 0 no-repeat; padding:0 0 0 3px; font:bold 11px/21px Tahoma, Verdana, Arial, sans-serif; }
646
+ .header .form-search button.button span span { background-position:100% 0; padding:0 6px 0 3px; } */
647
+ .header .form-search input.input-text {float: left; width: 240px; margin: 4px 0 0 -2px; border: 0 none; background: 0 none; color: #707070; }
648
+ .header .form-search button.button {float: left; padding:0; margin: 3px 0 0 0;}
649
+ .header .form-search button.button span {background: url(../images/icon_search.png) no-repeat center top; width: 20px; height: 21px; border: 0 none;}
650
+ .header .form-search button.button span span {background: 0 none;}
651
+ .header .form-search .search-autocomplete { z-index:999; left:40px !important; top:22px !important; }
652
+ .header .form-search .search-autocomplete ul { border:1px solid #5c7989; background-color:#f9f5f0; }
653
+ .header .form-search .search-autocomplete li { text-align:left; border-bottom:1px solid #f4eee7; padding:2px 8px 1px 8px; cursor:pointer; }
654
+ .header .form-search .search-autocomplete li .amount { float:right; font-weight:bold; }
655
+ .header .form-search .search-autocomplete li.odd { background-color:#fffefb; }
656
+
657
+
658
+
659
+ .maincp-content {clear: both; float: left; margin: 30px 0 0 0;}
660
+ .maincp-left {float: left; width: 241px;position: relative; z-index:89;}
661
+ .maincp-right {float: right; width: 753px; margin: 0 0 0 29px;position: relative; z-index:80;}
662
+ .maincp-right .block-title-newpct {background: url(../images/bkg_block-title-newproducts.png) no-repeat left top; height: 31px; width: 753px;}
663
+ .maincp-right .block-title-newpct h2 {color: white; font-size: 16px; line-height: 27px;padding: 2px 20px; font-weight: normal;}
664
+
665
+ .new-products .bot-site {background:url(../images/bkg_stretched-sliderpr.png) no-repeat left top; height: 8px; width: 100%;}
666
+
667
+
668
+ .header .form-search .search-autocomplete li.selected { background-color:#f7e8dd; }
669
+ .header .form-language { clear:both; padding:5px 0 0; text-align:right; }
670
+ .header .form-language label { font-weight:bold; padding-right:5px; color:#a7c6dd; vertical-align:middle; }
671
+ .header .form-language select { padding:0; }
672
+ .header .form-language select.flags option { background-position:4px 50%; background-repeat:no-repeat; padding-left:25px; }
673
+ .header .links { float:right; margin:0 0 12px; }
674
+ .header .links li { float:left; font-size:12px; padding:0 8px 0 7px; }
675
+ .header .links a { color:#464646; }
676
+ .header .links a:hover {text-decoration: underline;}
677
+ .header a {text-decoration: none;}
678
+ .header .header-bottom {background: url(../images/bkg_navigation.png) no-repeat left top; width: 1026px; height: 48px; clear: both; position: relative; float: left;}
679
+ .header .list-top {float: left; font-size: 16px; font-weight: bold; text-transform: uppercase; color: #cccccc;}
680
+ .header .list-top ul li {display: inline; padding: 14px 15px 12px; line-height: 48px;background: url(../images/bkg_sepa_header_bottom.png) no-repeat right top; font-family:"Myriad Pro";}
681
+ .header .list-top ul li.last {background: 0 none;}
682
+ .header .list-top ul {margin: 0 0 0 10px;}
683
+ .header .list-top ul li a {color: #cccccc;}
684
+ .header .list-top ul li a:hover {color: #f7941d;}
685
+
686
+ .head {background: url(../images/bkg_head-sliderpr.png) no-repeat left top; height: 31px;}
687
+ .head h1 {color: #f7941d; font-size: 16px; padding: 0 0 0 22px; line-height: 31px;}
688
+
689
+ .header-container .top-container { clear:both; padding:5px 10px 0 12px; text-align:right; }
690
+ .header-container .top-container a { font-size:11px; color:#ebbc58; }
691
+
692
+ /********** < Navigation */
693
+ .nav-container { background:#0a263d url(../images/bkg_nav0.jpg) 50% 0 repeat-y; }
694
+ #nav { width:918px; margin:0 auto; padding:0 16px; font-size:13px; }
695
+
696
+ /* All Levels */ /* Style consistent throughout all nav levels */
697
+ #nav li { position:relative; text-align:left; }
698
+ #nav li.over { z-index:998; }
699
+ #nav a,
700
+ #nav a:hover { display:block; line-height:1.3em; text-decoration:none; }
701
+ #nav span { display:block; cursor:pointer; white-space:nowrap; }
702
+ #nav li ul span {white-space:normal; }
703
+ #nav ul li.parent a { background:url(../images/bkg_nav2.gif) 100% 100% no-repeat; }
704
+ #nav ul li.parent li a { background-image:none; }
705
+
706
+ /* 0 Level */
707
+ #nav li { float:left; }
708
+ #nav li.active a { color:#d96708; }
709
+ #nav a { float:left; padding:5px 12px 6px 8px; color:#a7c6dd; font-weight:bold; }
710
+ #nav li.over a,
711
+ #nav a:hover { color:#d96708; }
712
+
713
+ /* 1st Level */
714
+ #nav ul li,
715
+ #nav ul li.active { float:none; margin:0; padding-bottom:1px; background:#ecf3f6 url(../images/bkg_nav1.gif) 0 100% repeat-x; }
716
+ #nav ul li.last { background:#ecf3f6; padding-bottom:0; }
717
+
718
+ #nav ul a,
719
+ #nav ul a:hover { float:none; padding:0; background:none; }
720
+ #nav ul li a { font-weight:normal !important; }
721
+
722
+ /* 2nd Level */
723
+ #nav ul,
724
+ #nav div { position:absolute; width:15em; top:27px; left:-10000px; border:1px solid #899ba5; }
725
+ #nav div ul { position:static; width:auto; border:none; }
726
+
727
+ /* 3rd+ Level */
728
+ #nav ul ul,
729
+ #nav ul div { top:5px; }
730
+
731
+ #nav ul li a { background:#ecf3f6; }
732
+ #nav ul li a:hover { background:#d5e4eb; }
733
+ #nav ul li a,
734
+ #nav ul li a:hover { color:#2f2f2f !important; }
735
+ #nav ul span,
736
+ #nav ul li.last li span { padding:3px 15px 4px 15px; }
737
+
738
+ /* Show menu */
739
+ #nav li ul.shown-sub,
740
+ #nav li div.shown-sub { left:0; z-index:999; }
741
+ #nav li .shown-sub ul.shown-sub,
742
+ #nav li .shown-sub li div.shown-sub { left:100px; }
743
+ /********** Navigation > */
744
+ /* ======================================================================================= */
745
+
746
+
747
+ /* Sidebar =============================================================================== */
748
+ .block {margin:0 0 15px; }
749
+ .block .block-title { background:url(../images/bkg_block-title.png) no-repeat left top; padding: 0 9px; width: 223px; height: 31px;}
750
+ .block .block-title h2 {color: #f7941d; font-size: 16px; line-height: 28px;}
751
+ .block .block-title strong { display:block; font:bold 12px/16px Arial, Helvetica, sans-serif; min-height:16px; padding:1px 0 1px; text-transform:capitalize; color:#f7941d; }
752
+ .block .block-title strong span {}
753
+ .block .block-title a { text-decoration:none !important; }
754
+ .block .block-subtitle { margin:0; padding:5px 9px; font-size:1em; font-weight:bold; color:#0a263c; }
755
+ .block .block-content { background:#FFFFFF; padding: 10px;}
756
+ .block .block-content li.item { padding:7px 9px; }
757
+ .block .block-content .product-name { color:#1e7ec8; }
758
+ .block .btn-remove,
759
+ .block .btn-edit { float:right; margin:1px 0 2px 5px; }
760
+ /* .block .actions { background:#dee5e8 url(../images/bkg_block-actions.gif) 0 0 repeat-x; padding:6px 9px; text-align:right; } */
761
+ .block .actions a { float:left; }
762
+ .block .actions button.button { float:right; }
763
+ .block .empty { text-align: ; padding:24px 10px; }
764
+ .block-compare .actions a {margin: 0 0 0 8px;}
765
+ .block-compare .actions button.button {margin: 0 8px 0 0;}
766
+
767
+
768
+ .block li.odd {}
769
+ .block li.even {}
770
+
771
+ /* Mini Blocks */
772
+ .block-cart,
773
+ .block-wishlist,
774
+ .block-subscribe,
775
+ .block-compare,
776
+ .block-reorder,
777
+ .block-poll,
778
+ .block-viewed,
779
+ .block-compared,
780
+ .block-related,
781
+ .block-tags,
782
+ .block-login { font-size:11px; line-height:1.25; }
783
+ .block-cart .block-title strong,
784
+ .block-wishlist .block-title strong,
785
+ .block-subscribe .block-title strong,
786
+ .block-compare .block-title strong,
787
+ .block-reorder .block-title strong,
788
+ .block-poll .block-title strong,
789
+ .block-viewed .block-title strong,
790
+ .block-compared .block-title strong,
791
+ .block-related .block-title strong,
792
+ .block-tags .block-title strong,
793
+ .block-login .block-title strong { background-position:0 0; background-repeat:no-repeat; padding-left:21px; }
794
+
795
+ /* Mini Products List */
796
+ .mini-products-list .product-image { float:left; width:50px; border:1px solid #a9a9a9; }
797
+ .mini-products-list .product-details { margin-left:60px; }
798
+
799
+ /* Block: Account */
800
+ .block-account { border-color:#bbb; }
801
+ .block-account .block-title { border:0;}
802
+ .my-account p {margin: 0 0 0 15px;}
803
+ .block-account .block-title strong { font-size:16px; color:#f7941d; font-weight: normal;}
804
+ .block-account .block-title strong span {line-height: 30px;}
805
+ .block-account .block-content { background:#fbfaf6; padding:7px 10px 7px; }
806
+ .block-account .block-content li a { display:block; border-bottom:1px solid #ddd; padding:3px 0; color:#5f5d5c; text-decoration:none !important; }
807
+ .block-account .block-content li a:hover { color:#ea7900; }
808
+ .block-account .block-content li.last a { border-bottom:0; }
809
+ .block-account .block-content li.current { border-bottom:1px solid #ddd; padding:3px 0; color:#ea7900; }
810
+ .block-account .block-content li.current.last { border-bottom:0; }
811
+
812
+ /* Block: Currency Switcher */
813
+ .box-currency{float:right; width:100%; margin:0 0 12px;}
814
+ .block-currency { border:0;float: right;clear: both; margin:0;}
815
+ .block-currency .block-title { background:none; border:0;float: left; }
816
+ .block-currency .block-title strong { font:bold 12px/21px Arial, Helvetica, sans-serif;padding:0 0 0 21px; text-transform:none; color:#464646; font-weight: normal; }
817
+ .block-currency .block-content { background:none; padding:0;float: left; }
818
+ .block-currency .block-content select { width:128px; padding:0; border: 1px solid #dddddd; }
819
+
820
+ /* Block: Layered Navigation */
821
+ .block-layered-nav { border:0; }
822
+ .block-layered-nav strong { padding: 0; }
823
+ .block-layered-nav strong span { font-size: 16px;font-weight: normal;line-height: 30px;}
824
+ .block-layered-nav a {color: #464646; text-decoration: none;}
825
+ .block-layered-nav a:hover {text-decoration: underline;}
826
+ .block-layered-nav .block-title {border:0; height:31px;overflow:hidden; }
827
+ .block-layered-nav .block-subtitle { line-height:1.35;padding:3px 9px; text-transform:uppercase; color:#1f5070; }
828
+ .block-layered-nav .block-content {}
829
+ .block-layered-nav dt { padding:7px 10px 3px 11px; font-weight:bold; text-transform:uppercase; }
830
+ .block-layered-nav dd { padding:0 12px 12px; background:url(../images/bkg_block-layered-dd.gif) 0 100% repeat-x; }
831
+ .block-layered-nav dd.last { background:none; }
832
+ .block-layered-nav .currently li { background:#fff url(../images/bkg_block-layered-li.gif) 0 100% repeat-x; padding:4px 6px 4px 10px; }
833
+ .block-layered-nav .currently .label { font-weight:bold; padding-left:18px; background:url(../images/bkg_block-layered-label.gif) 0 3px no-repeat; text-transform:uppercase; }
834
+ .block-layered-nav .currently .btn-remove { margin:3px 0 0; }
835
+ .block-layered-nav .actions { font-size:11px; padding:4px 9px; background:#cad6e4; border:1px solid #dee5e8; border-width:1px 0; text-align:right; }
836
+ .block-layered-nav .actions a { float:none; }
837
+
838
+ /* Block: Cart */
839
+
840
+ .block-cart {padding: 0; margin: 0 0 15px 0;}
841
+ .block-cart .block-title { /*border-bottom:0;*/ }
842
+ .block-cart .block-title strong {padding: 0;}
843
+ .block-cart .summary { background:#fff; padding:2px 8px 8px; margin:-1px 0 0; position:relative; z-index:1; }
844
+ .block-cart .amount { margin:0; }
845
+ .block-cart .amount a { font-weight:bold; }
846
+ .block-cart .subtotal { margin:5px 0 0; padding:2px 0;text-align: ; }
847
+ .block-cart .subtotal .price { font-weight:bold; }
848
+ .block-cart .actions { border-bottom:1px solid #c2c2c2; margin: 0 5px 0 0; padding: 0 0 5px 0;}
849
+ .block-cart .actions .paypal-logo { float:left; width:100%; margin:3px 0 0; text-align:right; }
850
+ .block-cart .actions .paypal-logo .paypal-or { clear:both; display:block; padding:0 55px 8px 0; }
851
+ .block-cart .block-title {background: url(../images/bkg_mycart.png) no-repeat left top; }
852
+ .block-cart .block-title strong span {color: #ffffff; font-size: 16px; line-height: 30px; text-transform: capitalize; font-weight: normal;}
853
+ .block-cart .sidebarblock-content {}
854
+ .block-cart .bot-site {background: url(../images/bkg_bottom-categories.png) no-repeat left top; height: 8px;}
855
+ .block-cart .empty {padding: 24px 10px; text-align: left; font-size: 12px;}
856
+
857
+
858
+ /* Block: Wishlist */
859
+ .block-wishlist .block-title strong { padding: 0;}
860
+ .block-wishlist .block-title strong span { color: #f7941d; font-size: 16px; line-height: 30px; text-transform: capitalize; font-weight: normal;}
861
+ .block-wishlist .actions { text-align:right; }
862
+ .block-wishlist .actions a { float:none; }
863
+
864
+ /* Block: Related */
865
+ .block-related .block-title strong {padding: 0;}
866
+ /* .block-related .block-subtitle {
867
+ color: #0A263C;
868
+ font-size: 1em;
869
+ font-weight: bold;
870
+ margin: 0;
871
+ padding: 5px 9px;
872
+ text-align: center;
873
+ }
874
+ .block-related .block-subtitle a {clear: both;} */
875
+ .block-related input.checkbox { float:left; }
876
+ .block-related .product { margin-left:20px; }
877
+ .block-related .block-title strong span {
878
+ font-size: 16px;
879
+ font-weight: normal;
880
+ line-height: 30px;
881
+ }
882
+
883
+ /* Block: Compare Products */
884
+ .block-compare .block-title strong {padding: 0; }
885
+ .block-compare .block-title strong span { font-size: 16px;line-height: 30px; font-weight: normal;}
886
+ .block-compare button.button span {}
887
+ .page-popup .link-print { background:url(../images/i_print.gif) 0 2px no-repeat; padding:2px 0 2px 25px; font-weight:bold; color:#1e7ec8; }
888
+ .compare-table { border:0; }
889
+ .compare-table thead tr.first th,
890
+ .compare-table thead tr.first td { border:0; background:none; padding:0; font-size:0; line-height:0; }
891
+ .compare-table .btn-remove { float:right; background-image:url(../images/btn_remove2.gif); width:72px; height:15px; }
892
+ .compare-table tbody th { background:#d9e5ee url(../images/bkg_th-v.gif) 100% 0 repeat-y; }
893
+ .compare-table tbody th,
894
+ .compare-table tbody td { padding:10px; border:0; border-top:1px solid #ccc; border-left:1px solid #ccc; }
895
+ .compare-table tbody td.last { border-right:1px solid #ccc; }
896
+ .compare-table tbody tr.last th,
897
+ .compare-table tbody tr.last td { border-bottom:1px solid #ccc !important; }
898
+ .compare-table tr.add-to-row td { background:#fffada; text-align:center; }
899
+ .compare-table tr.first td { text-align:center; }
900
+ .compare-table tr.first td .product-name { font-size:13px; font-weight:bold; margin:0 0 5px; color:#203548; }
901
+ .compare-table tr.first td .product-name a { color:#203548; }
902
+ .compare-table tr.first td .ratings { width:69px; margin:0 auto; }
903
+ .compare-table tr.first td p,
904
+ .compare-table tr.add-to-row td p { margin:0; }
905
+
906
+ /* Block: Recently Viewed */
907
+ .block-viewed .block-title strong { padding: 0;}
908
+ .block-viewed .block-title strong span { font-size: 16px;line-height: 30px; font-weight: normal;}
909
+
910
+ /* Block: Recently Compared */
911
+ .block-compared .block-title strong {padding: 0;}
912
+ .block-compared .block-title strong span {font-size: 13px; line-height: 30px;}
913
+
914
+ /* Block: Poll */
915
+ .block-poll .block-title strong {padding: 0;}
916
+ .block-poll .block-subtitle {}
917
+ .block-poll .block-title {}
918
+ .block-poll .block-title strong span { font-size: 16px;line-height: 30px; font-weight: normal;}
919
+ .block-poll label { color:#777; font-weight:bold; }
920
+ .block-poll input.radio { float:left; margin:1px -18px 0 0; }
921
+ .block-poll .label { display:block; margin-left:18px; }
922
+ .block-poll li { padding:3px 9px; }
923
+ .block-poll .actions { margin:5px 0 0; }
924
+ .block-poll button.button span { border-color:#406a83; background:#618499; }
925
+ .block-poll .answer { font-weight:bold; }
926
+ .block-poll .votes { float:right; margin-left:10px; }
927
+ .block-poll button.button::-moz-focus-inner { padding:0; border:0; } /* FF Fix */
928
+ .block-poll button.button { -webkit-border-fit:lines; } /* <- Safari & Google Chrome Fix */
929
+ .block-poll button.button{ overflow:visible; width:auto; border:0; padding:0; margin:0; background:transparent; cursor:pointer;height: 28px!important; float: left; }
930
+ .block-poll button.button span{
931
+ background: url(../images/bkg-button-hover2.png) no-repeat scroll 0 0 transparent;
932
+ color: white;
933
+ float: left;
934
+ font-size: 12px;
935
+ font-weight: bold;
936
+ height: 28px;
937
+ text-transform: uppercase;
938
+ line-height: 26px;
939
+ padding: 0 0 0 9px;
940
+ position: relative;
941
+ text-align: center;
942
+ white-space: nowrap;
943
+ overflow:visible;
944
+
945
+ }
946
+ .block-poll button.button span span{background-position: 100% 0; padding: 0 12px 0 0; font-size:12px; font-weight:bold; color:white;}
947
+ .block-poll .actions button.button {float: right; margin: 0 5px 0 0;}
948
+
949
+
950
+
951
+ /* Block: Tags */
952
+ .block-tags .block-title strong {padding: 0;}
953
+ .block-tags .block-title {}
954
+ .block-tags .block-title strong span { font-size: 16px;line-height: 30px; font-weight: normal;}
955
+ .block-tags .block-content .tags-list { background:none; border:0; font-size:12px; }
956
+ .block-tags .block-content a { color:#1b2d3b; }
957
+ .block-tags .actions { text-align:right; }
958
+ .block-tags .actions a { float:none; margin: 0 5px 0 0;}
959
+
960
+ /* Block: Subscribe */
961
+ .block-subscribe .block-content { padding:5px 10px; }
962
+ .block-subscribe .block-title strong { background-image:url(../images/i_block-subscribe.gif); }
963
+ .block-subscribe label { font-weight:normal; color:#7f7f7f; float: left; font-size: 12px; margin: 0 0 10px 0;}
964
+ .block-subscribe input.input-text { display:block; width:180px; margin:4px 0 0 7px; background: 0 none; border: 0 none;}
965
+ .block-subscribe .actions { background:none;text-align:left; }
966
+ .block-subscribe .actions button.button { float:right; padding: 3px 5px 0 0;/* margin: 0 4px 0 0 ; */}
967
+ .block-subscribe .actions button.button span {}
968
+
969
+ /* Block: Reorder */
970
+ .block-reorder .block-title strong {padding: 1px 0;}
971
+ .block-reorder .block-title strong span {
972
+ color: #f7941d;
973
+ font-size: 16px;
974
+ line-height: 30px;
975
+ text-transform: capitalize;}
976
+ .block-reorder input.checkbox { float:left; margin:2px -20px 0 0; }
977
+ .block-reorder .product-name { margin-left:20px; }
978
+ .block-reorder .validation-advice { margin:3px 9px 7px; }
979
+
980
+ /* Block: Banner */
981
+ .block-banner { border:0; }
982
+ .block-banner .block-content { padding:0; text-align:center; }
983
+
984
+ /* Block: Login */
985
+ .block-login .block-title strong { background-image:url(../images/i_ma-info.gif); }
986
+ .block-login .block-content { padding:5px 10px; }
987
+ .block-login label { font-weight:bold; color:#666; }
988
+ .block-login input.input-text { display:block; width:167px; margin:3px 0; }
989
+ .block-login .actions { background:none; padding:0; margin:3px 0 0; }
990
+ .block-login .actions button.button span { border-color:#406a83; background:#618499; }
991
+
992
+ /* Paypal */
993
+ .sidebar .paypal-logo { display:block; margin:10px 0; text-align:center; }
994
+ .sidebar .paypal-logo a { float:none; }
995
+ /* ======================================================================================= */
996
+
997
+
998
+ /* Category Page ========================================================================= */
999
+ .category-title { border:0; margin:0 0 7px; }
1000
+ .category-image { width:100%; overflow:hidden; margin:0 0 10px; text-align:center; }
1001
+ .category-image img {}
1002
+ .category-description { margin:0 0 10px; }
1003
+ .category-products {}
1004
+
1005
+ /* View Type: Grid */
1006
+ .products-grid { border-bottom:1px solid #d9ddd3; position: relative; background: #ffffff url(../images/bkg_product-grid.png) repeat-y center top;}
1007
+ .products-grid.last { border-bottom:0; }
1008
+ .products-grit li {float: left;}
1009
+ .products-grid li.item { float:left; width:170px; padding:12px 10px 50px 67px; }
1010
+ .products-grid li.first { float:left; padding:12px 10px 50px 44px; }
1011
+ .products-grid li.last { float:left;}
1012
+ .products-grid li a {text-decoration: none; color: #464646;}
1013
+ .products-grid li a:hover {text-decoration: underline;}
1014
+ .products-grid .btn-cart {padding: 0 10px 0 0;float:left;}
1015
+ .products-grid .name-price {min-height: 75px;}
1016
+
1017
+ .products-grid .product-image { display:block; width:162px; height:123px; margin: 0 0 15px;}
1018
+ .products-grid .product-name { /*min-height:2.7em;*/ margin:0 0 5px; font-weight:normal; font-size:14px; color:#464646; }
1019
+ .products-grid .product-name a { color:#203548; }
1020
+ .products-grid .price-box { margin:5px 0; }
1021
+ .products-grid .availability { line-height:21px; }
1022
+ .products-grid .actions { }
1023
+ .new-products .sidebarblock-content{padding:6px 0 0; background:#FFFFFF;}
1024
+
1025
+
1026
+
1027
+
1028
+ .col2-left-layout .products-grid,
1029
+ .col2-right-layout .products-grid { width:721px; margin:0 auto; }
1030
+ .col2-left-layout .products-grid .actions{}
1031
+ .col2-right-layout .col-main {background: #ffffff; border-radius: 5px 5px 5px 5px; padding: 15px 16px; width: 721px;}
1032
+
1033
+ .col1-layout .products-grid {}
1034
+
1035
+ /* View Type: List */
1036
+ .products-list li.item { border-bottom:1px solid #d9ddd3; padding:12px 10px; }
1037
+ .products-list li.item.last { border-bottom:0; }
1038
+ .products-list .product-image { float:left; width:135px; height:135px; margin:0 0 10px; }
1039
+ .products-list .product-shop { margin-left:150px; }
1040
+ .products-list .product-name { margin:0 0 5px; font-weight:bold; font-size:13px; color:#203548; }
1041
+ .products-list .product-name a { color:#203548; }
1042
+ .products-list .price-box { float:left; margin:3px 13px 5px 0; }
1043
+ .products-list .availability { float:left; margin:3px 0 0; }
1044
+ .products-list .desc { clear:both; padding:6px 0 0; margin:0 0 15px; line-height:1.35; }
1045
+ .products-list .desc .link-learn { font-size:11px; }
1046
+ .products-list .add-to-links { clear:both; }
1047
+ .products-list .add-to-links li { display:inline; }
1048
+ .products-list .add-to-links .separator { display:inline; margin:0 2px; }
1049
+ /* ======================================================================================= */
1050
+
1051
+
1052
+ /* Product View ========================================================================== */
1053
+ /* Rating */
1054
+ .no-rating { margin:0; }
1055
+ .no-rating a { color: #464646;}
1056
+
1057
+ .ratings { font-size:11px; line-height:1.25; margin:7px 0; }
1058
+ .ratings strong { float:left; margin:1px 3px 0 0; }
1059
+ .ratings .rating-links { margin:0; }
1060
+ .ratings .rating-links .separator { margin:0 2px; }
1061
+ .ratings dt {}
1062
+ .ratings dd {}
1063
+ .rating-box { width:69px; height:13px; font-size:0; line-height:0; background:url(../images/bkg_rating.gif) 0 0 repeat-x; text-indent:-999em; overflow:hidden; }
1064
+ .rating-box .rating { float:left; height:13px; background:url(../images/bkg_rating.gif) 0 100% repeat-x; }
1065
+ .ratings .rating-box { float:left; margin-right:3px; }
1066
+ .ratings .amount {}
1067
+
1068
+ .ratings-table th,
1069
+ .ratings-table td { font-size:11px; line-height:1.15; padding:3px 0; }
1070
+ .ratings-table th { font-weight:bold; padding-right:8px; }
1071
+
1072
+ /* Availability */
1073
+ .availability { margin:0; }
1074
+ .availability span { font-weight:bold; }
1075
+ .availability.in-stock span {}
1076
+ .availability.out-of-stock span { color:#d83820; }
1077
+
1078
+ .availability-only { margin:10px 0 7px; line-height:16px; background:url(../images/i_availability_only.gif) 0 50% no-repeat; padding-left:15px; }
1079
+ .availability-only span,
1080
+ .availability-only a { border-bottom:1px dashed #751d02; color:#000; }
1081
+ .availability-only a { background:url(../images/i_availability_only_arrow.gif) 100% 0 no-repeat; cursor:pointer; padding-right:15px; text-decoration:none; }
1082
+ .availability-only .expanded { background-position:100% -15px; }
1083
+ .availability-only strong { color:#be2c00; }
1084
+
1085
+ .availability-only-details { margin:0 0 7px; }
1086
+ .availability-only-details th { background:#d2d6d9; font-size:10px; padding:0 8px; }
1087
+ .availability-only-details td { background:#ebf0f3; border-bottom:1px solid #fff; font-size:11px; padding:2px 8px 1px; }
1088
+ .availability-only-details tr.odd td.last { color:#d95e00; font-weight:bold; }
1089
+
1090
+ .product-view .product-shop .availability { font-size:11px; }
1091
+ .product-view .product-shop .availability span { font-weight:normal; }
1092
+
1093
+ /* Email to a Friend */
1094
+ .email-friend { margin:0; }
1095
+ .email-friend a { color: #707070; }
1096
+
1097
+ /* Alerts */
1098
+ .alert-price { margin:0; font-size:11px; }
1099
+ .alert-stock { margin:0; font-size:11px; }
1100
+
1101
+ /********** < Product Prices */
1102
+ .price { white-space:nowrap !important;font-size: 20px; color: #f7941d; }
1103
+
1104
+ .cart-price .price {text-align: center; float: left; margin: -5px 0 0;}
1105
+
1106
+ .price-box { margin:0 0; }
1107
+ .price-box .price { font-weight:normal; color:#f7941d; }
1108
+
1109
+ /* Regular price */
1110
+ .regular-price { color:#f7941d; }
1111
+ .regular-price .price { font-weight:normal; font-size:20px; color:#f7941d; }
1112
+ .product-shop .regular-price .price { font-weight:bold; font-size:20px; color:#f7941d; }
1113
+ .block .regular-price,
1114
+ .block .regular-price .price { color:#2f2f2f; }
1115
+
1116
+ /* Old price */
1117
+ .old-price { margin:0; }
1118
+ .old-price .price-label { white-space:nowrap; color:#999; }
1119
+ .old-price .price { font-weight:bold; color:#c76200; text-decoration:line-through; }
1120
+
1121
+ /* Special price */
1122
+ .special-price { margin:0; padding:3px 0; }
1123
+ .special-price .price-label { font-size:13px; font-weight:bold; white-space:nowrap; color:#cd5033; }
1124
+ .special-price .price { font-size:13px; font-weight:bold; color:#c76200; }
1125
+
1126
+ /* Minimal price (as low as) */
1127
+ .minimal-price { margin:0; }
1128
+ .minimal-price .price-label { font-weight:normal; white-space:nowrap; }
1129
+
1130
+ .minimal-price-link { display:block; margin: 0 0 0 -14px; text-decoration: none;}
1131
+ .minimal-price-link .label {color:#464646; margin: 0 0 0 14px;}
1132
+ .minimal-price-link .price { font-weight:normal; color:#f7941d;}
1133
+
1134
+ /* Excluding tax */
1135
+ .price-excluding-tax { display:block; color:#999; }
1136
+ .price-excluding-tax .label { white-space:nowrap; color:#999; }
1137
+ .price-excluding-tax .price { font-size:13px; font-weight:normal; color:#c76200; }
1138
+
1139
+ /* Including tax */
1140
+ .price-including-tax { display:block; color:#999; }
1141
+ .price-including-tax .label { white-space:nowrap; color:#999; }
1142
+ .price-including-tax .price { font-size:13px; font-weight:bold; color:#c76200; }
1143
+
1144
+ /* Configured price */
1145
+ .configured-price { margin:0; }
1146
+ .configured-price .price-label { font-weight:bold; white-space:nowrap; }
1147
+ .configured-price .price { font-weight:bold; }
1148
+
1149
+ /* FPT */
1150
+ .weee { display:block; font-size:11px; color:#444; }
1151
+ .weee .price { font-size:11px; font-weight:normal; }
1152
+
1153
+ /* Excl tax (for order tables) */
1154
+ .price-excl-tax { display:block; }
1155
+ .price-excl-tax .label { display:block; white-space:nowrap; }
1156
+ .price-excl-tax .price { display:block; }
1157
+
1158
+ /* Incl tax (for order tables) */
1159
+ .price-incl-tax { display:block; }
1160
+ .price-incl-tax .label { display:block; white-space:nowrap; }
1161
+ .price-incl-tax .price { display:block; font-weight:bold; }
1162
+
1163
+ /* Price range */
1164
+ .price-from { margin:0; }
1165
+ .price-from .price-label { font-weight:bold; white-space:nowrap; }
1166
+
1167
+ .price-to { margin:0; }
1168
+ .price-to .price-label { font-weight:bold; white-space:nowrap; }
1169
+
1170
+ /* Price notice next to the options */
1171
+ .price-notice { padding-left:10px; color:#999; }
1172
+ .price-notice .price { font-weight:bold; color:#2f2f2f; }
1173
+
1174
+ /* Price as configured */
1175
+ .price-as-configured { margin:0; }
1176
+ .price-as-configured .price-label { font-weight:bold; white-space:nowrap; }
1177
+
1178
+ .price-box-bundle { padding:0 0 10px 0; }
1179
+ .price-box-bundle .price-box { margin:0 !important; padding:0 !important; }
1180
+ .price-box-bundle .price { color:#555; }
1181
+ /********** Product Prices > */
1182
+
1183
+ /* Tier Prices */
1184
+ .tier-prices { margin:10px 0; padding:10px; background-color:#f4f7f7; border:1px solid #dadddd; }
1185
+ .tier-prices li { line-height:1.4; background:url(../images/i_tier.gif) no-repeat 0 3px; padding:2px 0 2px 10px; color:#424242; }
1186
+ .tier-prices .benefit { font-style:italic; font-weight:bold; color:#2f2f2f; }
1187
+ .tier-prices .price { font-weight:bold; color:#2f2f2f; }
1188
+
1189
+ .tier-prices-grouped li { padding:2px 0; color:#e26703; }
1190
+ .tier-prices-grouped li .price { font-weight:bold; }
1191
+
1192
+ /* Add to Links */
1193
+ .add-to-links { font-size:11px; clear: both;}
1194
+ .add-to-links li a {text-decoration: underline;}
1195
+ .add-to-links li a:hover {text-decoration: none;}
1196
+ .add-to-links .separator { display:none; }
1197
+
1198
+
1199
+ /* Add to Cart */
1200
+ .add-to-cart label { float:left; margin-right:5px; font-weight:bold; color:#666; }
1201
+ .add-to-cart .qty { float:left; margin-right:5px; }
1202
+ .add-to-cart button.button { float:left; margin: -4px 0 0 0; }
1203
+ .add-to-cart .paypal-logo { clear:left; margin:0; text-align:right; }
1204
+ .add-to-cart .paypal-logo .paypal-or { clear:both; display:block; margin:5px 60px 5px 0; }
1205
+ .product-view .add-to-cart .paypal-logo { margin:0; }
1206
+
1207
+ /* Add to Links + Add to Cart */
1208
+ .add-to-box { margin:10px 0; }
1209
+ .add-to-box .add-to-cart { float:left; }
1210
+ .add-to-box .or { float:left; font-weight:bold; margin:0 7px; color:#666; }
1211
+ .add-to-box .add-to-links { float:left; margin:0; font-size:12px !important; line-height:1.25 !important; text-align:left !important; }
1212
+ .add-to-box .add-to-links li { display:block !important; }
1213
+ .add-to-box .add-to-links li .separator { display:none !important; }
1214
+
1215
+
1216
+ .product-view { }
1217
+
1218
+ .product-essential {}
1219
+ .product-essential h2 { font:bold 13px/1.35 Arial, Helvetica, sans-serif; color: #f7941d; }
1220
+
1221
+ .product-collateral {}
1222
+ .product-collateral h2 {
1223
+ border-top: 1px dotted #999999;
1224
+ color: #F7941D;
1225
+ font-size: 14px;
1226
+ font-weight: bold;
1227
+ margin: 10px 0 0;
1228
+ padding: 15px 0 0 1px;
1229
+ text-transform: uppercase;
1230
+ }
1231
+ .product-collateral .box-collateral { margin:0 0 25px; }
1232
+
1233
+ /* Product Images */
1234
+ .product-view .product-img-box { float:left; width:308px;}
1235
+ .col3-layout .product-view .product-img-box { float:none; margin:0 auto; }
1236
+ .product-view .product-img-box .product-image { margin:0 0 13px; }
1237
+ .product-view .product-img-box .product-image-zoom { position:relative; width:308px; height:236px; overflow:hidden; z-index:9; border: 1px solid #dddddd;}
1238
+ .product-view .product-img-box .product-image-zoom img { position:absolute; left:0; top:0; cursor:move; }
1239
+ .product-view .product-img-box .zoom-notice { font-size:11px; margin:0 0 5px; text-align:center; }
1240
+ .product-view .product-img-box .zoom { position:relative; z-index:9; height:18px; margin:0 0 20px 0; padding:0 28px; background:url(../images/slider_bg.gif) 50% 50% no-repeat; cursor:pointer; }
1241
+ .product-view .product-img-box .zoom.disabled { -moz-opacity:.3; -webkit-opacity:.3; -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";/*IE8*/ opacity:.3; }
1242
+ .product-view .product-img-box .zoom #track { position:relative; height:18px; }
1243
+ .product-view .product-img-box .zoom #handle { position:absolute; left:0; top: 4px; width:42px; height:13px; background:url(../images/magnifier_handle.gif) 0 0 no-repeat; }
1244
+ .product-view .product-img-box .zoom .btn-zoom-out { position:absolute; left: -1px; top:0; }
1245
+ .product-view .product-img-box .zoom .btn-zoom-in { position:absolute; right: -3px; top:0; }
1246
+ .product-view .product-img-box .more-views h2 { font-size:12px; border-bottom:1px dotted #dddddd; margin:0 0 8px; color: #555555; }
1247
+ .product-view .product-img-box .more-views ul {}
1248
+ .product-view .product-img-box .more-views li { float:left; margin:0 9px 10px 0; }
1249
+ .product-view .product-img-box .more-views li.last { float:left; margin:0 0 10px 0; }
1250
+ .product-view .product-img-box .more-views li a { float:left; width:68px; height:51px; border:1px solid #e9e9e9; overflow:hidden; }
1251
+ .product-view .product-img-box .more-views li a:hover{ border:1px solid #f7941d; }
1252
+ .product-view .product-img-box .more-views {}
1253
+
1254
+ .product-image-popup { margin:0 auto; }
1255
+ .product-image-popup .buttons-set { float:right; clear:none; border:0; margin:0; padding:0; }
1256
+ .product-image-popup .nav { font-weight:bold; margin:0 100px; text-align:center; }
1257
+ .product-image-popup .image { display:block; margin:10px 0; }
1258
+ .product-image-popup .image-label { font-size:13px; font-weight:bold; margin:0 0 10px; color:#2f2f2f; }
1259
+
1260
+ /* Product Shop */
1261
+ .product-view .product-shop { float:right; width:375px; }
1262
+ .col1-layout .product-view .product-shop { float:right; width:545px; }
1263
+ .col3-layout .product-view .product-shop { float:none; width:auto; }
1264
+ .product-view .product-shop .product-name { margin:0 0 5px; }
1265
+ .product-view .product-shop .ratings a { color: #464646;}
1266
+ .product-view .product-shop .product-name h1 { margin:0; font:normal 14px/1.35 Arial, Helvetica, sans-serif; color: #464646; }
1267
+ .product-view .product-shop .availability { margin:10px 0; }
1268
+ .product-view .product-shop .short-description { margin:10px 0; background:url(../images/bkg_divider1.gif) 0 0 repeat-x; padding:10px 0 0; }
1269
+ .product-view .product-shop .short-description h2 {text-transform: uppercase;}
1270
+ .product-view .product-shop .price-box { margin:10px 0; }
1271
+ .product-view .product-shop .add-to-cart { float: left;}
1272
+ .product-view .product-shop .add-to-links { margin:-7px 0 0 0; clear: none;}
1273
+ .product-view .product-shop .add-to-links {
1274
+ font-size: 12px;
1275
+ margin: 18px 0 0;
1276
+ position: relative;
1277
+ text-align: left;
1278
+ clear: both;
1279
+ }
1280
+ .product-view .product-shop .add-to-links li, .product-view .product-shop .add-to-links li .separator {
1281
+ display: inline !important;;
1282
+ }
1283
+ .product-view .product-shop .add-to-links .link-wishlist {
1284
+ color: #FD9400 !important;
1285
+ font-size: 12px;
1286
+ padding-right: 14px;
1287
+ text-decoration: underline;
1288
+ }
1289
+ .product-view .product-shop .add-to-links li .separator {
1290
+ left: 85px;
1291
+ position: absolute;
1292
+ }
1293
+ .product-view .product-shop .add-to-links .link-compare {
1294
+ color: #636363 !important;
1295
+ font-size: 12px;
1296
+ text-decoration: underline;
1297
+ }
1298
+ .product-view .product-shop .add-to-links a {
1299
+ font-weight: normal !important;
1300
+ }
1301
+
1302
+ .product-view .product-shop .add-to-links li,
1303
+ .product-view .product-shop .add-to-links li .separator { display:inline; }
1304
+ .product-view .product-shop .add-to-links a {font-weight:normal !important; }
1305
+ .product-view .product-shop .add-to-links .link-compare {color: #464646;}
1306
+ .product-view .product-shop .add-to-links .link-wishlist {color: #f7941d;}
1307
+
1308
+
1309
+
1310
+
1311
+ /* Product Options */
1312
+ .product-options { margin:20px 0 0; padding:10px 15px 20px; position:relative;border:1px solid #dddddd; }
1313
+ .product-options dt { padding:10px 0 0; font-weight:normal; }
1314
+ .product-options dt label { font-weight:bold; color:#2f2f2f; }
1315
+ .product-options dt label.required em { color:#eb340a; margin-left:5px; }
1316
+ .product-options dd .qty-holder { display:block; padding:10px 0 0; }
1317
+ .product-options dd .qty-holder label { vertical-align:middle; }
1318
+ .product-options dt .qty-disabled { background:none; border:0; padding:3px; color:#2f2f2f; }
1319
+ .product-options dd { padding:5px 10px 15px; margin:0 0 5px; border-bottom:1px solid #dddddd; }
1320
+ .product-options dl.last dd.last { border-bottom:0; padding-bottom:5px; margin-bottom:0; }
1321
+ .product-options dd input.input-text { width:98%; }
1322
+ .product-options dd input.datetime-picker { width:150px; }
1323
+ .product-options dd .time-picker { display:-moz-inline-box; display:inline-block; padding:2px 0; vertical-align:middle; }
1324
+ .product-options dd textarea { width:98%; height:8em; }
1325
+ .product-options dd select { width:99%; }
1326
+ .product-options dd .multiselect option { border-bottom:1px dotted #d9e5ee; padding:2px 4px; }
1327
+ .product-options ul.options-list { margin-right:5px; }
1328
+ .product-options ul.options-list li { line-height:1.5; padding:2px 0; }
1329
+ .product-options ul.options-list input.radio { float:left; margin-top:3px; }
1330
+ .product-options ul.options-list input.checkbox { float:left; margin-top:3px; }
1331
+ .product-options ul.options-list .label { display:block; margin-left:18px; }
1332
+ .product-options ul.options-list label { font-weight:normal; }
1333
+ .product-options ul.validation-failed { padding:0 7px; }
1334
+ .product-options p.note { margin:0; font-size:11px; }
1335
+ .product-options p.required { position:absolute; right:20px; top:20px; }
1336
+
1337
+ .product-options-bottom {padding:15px 20px; border:1px solid #dddddd; border-top:0; }
1338
+ .product-options-bottom .tier-prices { margin:0; padding:0 0 10px; border:0; background:0; }
1339
+ .product-options-bottom .tier-prices li { background:0; padding:2px 0; color:#e26703; }
1340
+ .product-options-bottom .tier-prices .price,
1341
+ .product-options-bottom .tier-prices .benefit { color:#e26703; }
1342
+ .product-options-bottom .price-box { float:left; margin:0; padding:0; }
1343
+ .product-options-bottom .add-to-links { clear:both; padding:5px 0 0; text-align:right; }
1344
+ .col3-layout .product-options-bottom .price-box { float:none; padding:0 0 5px; }
1345
+ .product-options-bottom .price-label { float:left; padding-right:5px; }
1346
+ .product-options-bottom .price-tax { float:left; }
1347
+ .product-options-bottom .add-to-cart { float:right; }
1348
+ .product-shop .product-options-bottom { margin:0 0 10px; }
1349
+ .product-shop .product-options-bottom .price-box { float:none; margin:0 0 5px; }
1350
+ .product-shop .product-options-bottom .price-label { float:none; padding-right:0; }
1351
+ .product-shop .product-options-bottom .price-tax { float:none; }
1352
+ .product-shop .product-options-bottom .add-to-cart-box { clear:both; float:left; padding-top:12px; }
1353
+ .product-shop .product-options-bottom .add-to-links { clear:both; padding:5px 0 0; text-align:right; }
1354
+
1355
+ /* Grouped Product */
1356
+ .product-view .grouped-items-table .price-box { margin:0; padding:0; }
1357
+
1358
+ /* Block: Description */
1359
+ .product-view .box-description {}
1360
+
1361
+ /* Block: Additional */
1362
+ .product-view .box-additional .data-table th,
1363
+ .product-view .box-additional .data-table td { line-height:1.25; }
1364
+
1365
+ /* Block: Upsell */
1366
+ .product-view .box-up-sell h2 { border:0; padding:0; margin:0 0 8px; }
1367
+ .product-view .box-up-sell .products-grid { width:100%; background: 0 none; border-bottom: 1px dotted #999999; padding: 0 0 20px;}
1368
+ .product-view .box-up-sell .products-grid td { width:25.7%; border-bottom:1px solid #dddddd;line-height:1.6em; }
1369
+ .product-view .box-up-sell .products-grid tr.last td { border-bottom:0; }
1370
+ .product-view .box-up-sell .products-grid td.last { border-right:0; }
1371
+ .product-view .box-up-sell .products-grid td img { border:1px solid #dddddd; }
1372
+ .product-view .box-up-sell .products-grid .product-image { text-align:center; }
1373
+ .product-view .box-up-sell .products-grid td.empty { border-right:0;}
1374
+ .product-view .box-up-sell .products-grid .ratings .rating-box { float:none; display:block; margin:0 0 3px; }
1375
+
1376
+ /* Block: Tags */
1377
+ .product-view .box-tags { margin:0; }
1378
+ .product-view .box-tags h2 { border: 0 none; }
1379
+ .product-view .box-tags h3 { font-size:13px; }
1380
+ .product-view .box-tags .product-tags { display:block; margin:0 0 15px; }
1381
+ .product-view .box-tags .product-tags li { display:inline; background:url(../images/bkg_pipe3.gif) 100% 4px no-repeat; padding:0 7px 0 4px; }
1382
+ .product-view .box-tags .product-tags li.first { padding-left:0; }
1383
+ .product-view .box-tags .product-tags li.last { background:none; padding-right:0; }
1384
+ .product-view .box-tags .form-add label { display:block; font-size:13px; font-weight:bold; margin:0 0 5px; color:#0a263c;}
1385
+ .product-view .box-tags .form-add .input-box { background: url(../images/bkg_input-text.png) no-repeat left top;float:left; width:509px;height: 29px; margin:0 5px 0 0;}
1386
+ .product-view .box-tags .form-add input.input-text { width:490px; height: 16px; margin: 3px 0 0 7px; border: 0 none; background: none;}
1387
+ .product-view .box-tags .form-add button.button::-moz-focus-inner { padding:0; border:0; } /* FF Fix */
1388
+ .product-view .box-tags .form-add button.button { -webkit-border-fit:lines; } /* <- Safari & Google Chrome Fix */
1389
+ .product-view .box-tags .form-add button.button { overflow:visible; width:auto; border:0; padding:0; margin:0; background:transparent; cursor:pointer;height: 28px!important; float: left; }
1390
+ .product-view .box-tags .form-add button.button span{
1391
+ background: url(../images/bkg-button-tags.png) no-repeat scroll 0 0 transparent;
1392
+ color: white;
1393
+ float: left;
1394
+ font-size: 12px;
1395
+ font-weight: bold;
1396
+ height: 29px;
1397
+ text-transform: uppercase;
1398
+ line-height: 28px;
1399
+ padding: 0 0 0 10px;
1400
+ position: relative;
1401
+ text-align: center;
1402
+ white-space: nowrap;
1403
+ overflow:visible;
1404
+
1405
+ }
1406
+ .product-view .box-tags .form-add button.button span span{
1407
+ background-position: 100% 0;
1408
+ color: white;
1409
+ font-size: 14px;
1410
+ font-weight: normal;
1411
+ padding: 0 12px 0 0;
1412
+ text-transform: capitalize;
1413
+ }
1414
+
1415
+ .product-view .box-tags .note { margin:18px 0 0;font-size:11px; }
1416
+
1417
+ /* Block: Reviews */
1418
+ .product-view .box-reviews dl { margin:15px 0; }
1419
+ .product-view .box-reviews dt a,
1420
+ .product-view .box-reviews dt span { font-weight:bold; }
1421
+ .product-view .box-reviews dd { margin:0 0 15px; }
1422
+ .product-view .box-reviews dd small { font-style:italic; }
1423
+ .product-view .box-reviews .form-add { margin:15px 0 0; }
1424
+ .product-view .box-reviews .form-add h3 { font-size:13px; font-weight:normal; }
1425
+ .product-view .box-reviews .form-add h3 span { font-weight:bold; }
1426
+ .product-view .box-reviews .form-add h4 { font-size:12px; }
1427
+ .product-view .box-reviews .form-add .data-table td { text-align:center; }
1428
+ .product-view .box-reviews .form-add .form-list { margin:15px 0 0; }
1429
+ .product-view .box-reviews .form-add .form-list .input-box { width:360px; }
1430
+ .product-view .box-reviews .form-add .form-list input.input-text,
1431
+ .product-view .box-reviews .form-add .form-list textarea { width:354px; }
1432
+
1433
+ /* Send a Friend */
1434
+ .send-friend .form-list { width:615px; overflow:hidden; }
1435
+ .send-friend .form-list li { margin-right:-15px; }
1436
+ .send-friend .form-list li p { margin:0 15px 0 0; }
1437
+ .send-friend .form-list .field { width:315px; }
1438
+ .send-friend .form-list .input-box { width:300px; }
1439
+ .send-friend .form-list input.input-text,
1440
+ .send-friend .form-list textarea { width:294px; }
1441
+ .send-friend .form-list li.wide .input-box { width:612px; }
1442
+ .send-friend .form-list li.wide textarea { width:609px; }
1443
+ .send-friend .buttons-set .limit { float:right; margin:0 7px 0 0; font-size:11px; line-height:21px; }
1444
+ /* ======================================================================================= */
1445
+
1446
+
1447
+ /* Content Styles ================================================================= */
1448
+ .product-name { margin:0; font-size:12px; font-weight:normal; }
1449
+ .product-name a { color:#464646; text-decoration: none; font-weight: normal; }
1450
+ .product-name a:hover { color:#464646; text-decoration: underline; }
1451
+
1452
+ /* Product Tags */
1453
+ .tags-list { display:block; font-size:13px; border:1px solid #c1c4bc; background:#f8f7f5; padding:10px; }
1454
+ .tags-list li { display:inline !important; margin:0 4px 0 0; }
1455
+ .tags-list li a { color:#1b2d3b; }
1456
+
1457
+ /* Advanced Search */
1458
+ .advanced-search .form-list label { width:160px; padding-right:10px; }
1459
+ .advanced-search .form-list .input-box,
1460
+ .advanced-search .form-list .input-range { float:left; clear:none; }
1461
+ .advanced-search-amount { margin:0 0 10px; }
1462
+ .advanced-search-summary { margin:10px 0; border:1px solid #dddddd; padding:10px; }
1463
+ .advanced-search-summary ul { float:left; width:49%; }
1464
+ .advanced-search-summary strong { color:#E17C24; padding-left:15px; background:url(../images/i_search_criteria.gif) 0 3px no-repeat; }
1465
+ .advanced-search-summary p { clear:both; font-weight:bold; margin:0; }
1466
+
1467
+ /* CMS Home Page */
1468
+ .cms-home .subtitle {}
1469
+ .cms-index-index .subtitle {}
1470
+
1471
+ /* Sitemap */
1472
+ .page-sitemap .links { text-align:right; margin:0 8px -22px 0; }
1473
+ .page-sitemap .links a { text-decoration:none; position:relative; }
1474
+ .page-sitemap .links a:hover { text-decoration:underline; }
1475
+ .page-sitemap .sitemap { margin:12px; }
1476
+ .page-sitemap .sitemap a { color:#1b2d3b; }
1477
+ .page-sitemap .sitemap li { margin:3px 0; }
1478
+ .page-sitemap .sitemap li.level-0 { margin:10px 0 0; font-weight:bold; }
1479
+ .page-sitemap .sitemap li.level-0 a { color:#1e7ec8; }
1480
+
1481
+ /* RSS */
1482
+ .rss-title h1 { background:url(../images/i_rss-big.png) 0 4px no-repeat; padding-left:27px; }
1483
+ .rss-table .link-rss { display:block; line-height:1.55; background-position:0 4px; }
1484
+ /* ======================================================================================= */
1485
+
1486
+
1487
+ /* Shopping Cart ========================================================================= */
1488
+ .cart .page-title { border-bottom:0; margin:0 0 12px; }
1489
+ .cart .page-title h1 { margin:10px 0 0; }
1490
+
1491
+ /* Checkout Types */
1492
+ .cart .page-title .checkout-types li { margin:0 0 5px; }
1493
+ .cart .title-buttons .checkout-types { float:right; }
1494
+ .cart .title-buttons .checkout-types li { float:left; margin:0 0 5px 5px; }
1495
+ .cart .checkout-types .paypal-or { margin:0 8px; line-height:2.3; }
1496
+ .cart .totals .checkout-types .paypal-or { clear:both; display:block; padding:8px 55px 0 0; line-height:1.0; font-size:11px; }
1497
+
1498
+ /* Shopping Cart Table */
1499
+ .cart-table th { padding:2px 10px; }
1500
+ .cart-table td { padding:10px; }
1501
+ .cart-table .product-name { font-weight:bold; margin:0 0 5px; color:#2f2f2f; }
1502
+ .cart-table .item-msg { margin:5px 0; font-size:11px; font-weight:bold; color:#df280a; }
1503
+ .cart-table tfoot td { padding:5px 10px; }
1504
+ .cart-table .btn-continue { float:left; padding: 0 10px 0 0;}
1505
+ .cart-table .btn-continue span,
1506
+ .cart-table .btn-update span {}
1507
+
1508
+ /* Shopping Cart Collateral boxes */
1509
+ .cart .cart-collaterals { padding:25px 0 0; }
1510
+ .cart .cart-collaterals .col2-set { float:left; width:605px; }
1511
+ .cart .cart-collaterals .col2-set .col-2 { width:294px; }
1512
+
1513
+ .cart .crosssell { border:1px solid #dddddd; background:#fff; padding:12px 15px; }
1514
+ .cart .crosssell h2 { font-size:13px; font-weight:bold; }
1515
+ .cart .crosssell .product-image { float:left; width:75px; height:75px; border:1px solid #dddddd; }
1516
+ .cart .crosssell .product-details { margin-left:90px; }
1517
+ .cart .crosssell .product-name { font-weight:bold; }
1518
+ .cart .crosssell li.item { margin:12px 0; }
1519
+ .cart .crosssell .link-compare { font-weight:normal; }
1520
+
1521
+ /* Discount Codes & Estimate Shipping and Tax Boxes */
1522
+ .cart .discount,
1523
+ .cart .shipping { border:1px solid #dddddd; background:#fff ; padding:12px 15px; margin:0 0 18px; }
1524
+ .cart .discount h2,
1525
+ .cart .shipping h2 { background-position:0 0; background-repeat:no-repeat; font:bold 13px/16px Arial, Helvetica, sans-serif; padding:0 0 0 21px; color:#f7941d; text-transform:uppercase; }
1526
+ .cart .discount button span,
1527
+ .cart .shipping button span { }
1528
+ .cart .discount .buttons-set,
1529
+ .cart .shipping .buttons-set { margin:10px 0 0; border:0; padding:0; text-align:left; }
1530
+ .cart .discount .buttons-set button.button,
1531
+ .cart .shipping .buttons-set button.button { float:none; margin-left:0; }
1532
+
1533
+ .cart .discount h2 { background-image:url(../images/i_discount.gif); }
1534
+ .cart .discount .input-box { margin:8px 0 0; width:260px; }
1535
+ .cart .discount input.input-text { width:254px; }
1536
+
1537
+ .cart .shipping h2 { background-image:url(../images/i_shipping.gif); }
1538
+ .cart .shipping .sp-methods { margin:10px 0 0; padding:5px 0 0; background:url(../images/bkg_divider1.gif) 0 0 repeat-x; }
1539
+
1540
+ /* Shopping Cart Totals */
1541
+ .cart .totals { float:right; width:268px; background:#fff; border:1px solid #dddddd; }
1542
+ .cart .totals table { width:100%; margin:7px 0; }
1543
+ .cart .totals td { padding:1px 15px 1px 7px; }
1544
+ .cart .totals tr.last td {}
1545
+ .cart .totals tfoot th { padding:5px 15px 5px 7px; }
1546
+ .cart .totals tfoot td { padding-top:5px; padding-bottom:5px; }
1547
+ .cart .totals tfoot th strong,
1548
+ .cart .totals tfoot td strong { font-size:15px; }
1549
+ .cart .totals .checkout-types { font-size:13px; padding:8px 15px 15px; text-align:right; }
1550
+ .cart .totals .checkout-types li { clear:both; margin:10px 0; }
1551
+
1552
+ /* Options Tool Tip */
1553
+ .item-options dt { font-weight:bold; font-style:italic; }
1554
+ .item-options dd { padding-left:10px; margin:0 0 6px; }
1555
+ .truncated { cursor:help; }
1556
+ .truncated a.dots { cursor:help; }
1557
+ .truncated a.details { cursor:help; }
1558
+ .truncated .truncated_full_value { position:relative; z-index:999; }
1559
+ .truncated .truncated_full_value dl { position:absolute; top:-99999em; left:-99999em; z-index:999; width:250px; padding:8px; border:1px solid #ddd; background-color:#f6f6f6; }
1560
+ .truncated .show dl { top:-20px; left:50%; }
1561
+ .col-left .truncated .show dl { left:15px; top:7px; }
1562
+ .col-right .truncated .show dl { left:-240px; top:7px; }
1563
+ /* ======================================================================================= */
1564
+
1565
+
1566
+ /* Checkout ============================================================================== */
1567
+ /********** < Common Checkout Styles */
1568
+ /* Shipping and Payment methods */
1569
+ .sp-methods { margin:0 0 8px; }
1570
+ .sp-methods dt { margin:13px 0 5px; font-weight:bold; }
1571
+ .sp-methods dd {}
1572
+ .sp-methods dd li { margin:5px 0; }
1573
+ .sp-methods label { font-weight:bold; color:#666; }
1574
+ .sp-methods .price { font-weight:bold; }
1575
+ .sp-methods .form-list { padding-left:20px; }
1576
+ .sp-methods .form-list li { margin:0 0 8px; }
1577
+ .sp-methods select.month { width:154px; margin-right:10px; }
1578
+ .sp-methods select.year { width:96px; }
1579
+ .sp-methods input.cvv { width:3em !important; }
1580
+
1581
+ .sp-methods .checkmo-list li { margin:0 0 5px; }
1582
+ .sp-methods .checkmo-list label { width:135px; padding-right:10px; text-align:right; }
1583
+ .sp-methods .checkmo-list address { float:left; }
1584
+
1585
+ .sp-methods .centinel-logos a { margin-right:3px; }
1586
+ .sp-methods .centinel-logos img { vertical-align:middle; }
1587
+
1588
+ .sp-methods .release-amounts { margin:0.5em 0; }
1589
+ .sp-methods .release-amounts button { float:left; margin:5px 10px 0 0; }
1590
+
1591
+ .please-wait { float:right; }
1592
+ .please-wait img { vertical-align:middle; }
1593
+ .cvv-what-is-this { font-size:11px; cursor:help; margin-left:10px; }
1594
+
1595
+ /* Tooltip */
1596
+ .tool-tip { border:1px solid #7BA7C9; background:#EAF6FF; padding:15px 20px; position:absolute; z-index:9999; }
1597
+ .tool-tip .btn-close { margin:-9px -14px 0; text-align:right; }
1598
+ .tool-tip .btn-close a { display:block; margin:0 0 0 auto; width:15px; height:15px; background:url(../images/btn_window_close.gif) 100% 0 no-repeat; text-align:left; text-indent:-999em; overflow:hidden; }
1599
+ .tool-tip .tool-tip-content { padding:5px; }
1600
+
1601
+ /* Gift Messages */
1602
+ .gift-messages h3 { font-size:12px; font-weight:bold; color:#e87403; }
1603
+ .gift-messages p.control { color:#8e8d8b; }
1604
+ .gift-messages-form { position:relative; }
1605
+ .gift-messages-form label { float:none !important; position:static !important; }
1606
+ .gift-messages-form h4 { font-size:12px; font-weight:bold; color:#e87403; }
1607
+ .gift-messages-form .whole-order { margin:0 0 25px; }
1608
+ .gift-messages-form .item { margin:0 0 10px; }
1609
+ .gift-messages-form .item .product-img-box { float:left; width:75px; }
1610
+ .gift-messages-form .item .product-image { margin:0 0 7px; }
1611
+ .gift-messages-form .item .number { margin:0; font-weight:bold; text-align:center; color:#8a8987; }
1612
+ .gift-messages-form .item .details { margin-left:90px; }
1613
+ .gift-messages-form .item .details .product-name { font-size:13px; font-weight:bold; margin:0 0 10px; }
1614
+ .gift-messages-form .item .details .form-list .field { width:255px; }
1615
+ .gift-messages-form .item .details .form-list .input-box { width:240px; }
1616
+ .gift-messages-form .item .details .form-list input.input-text { width:234px; }
1617
+ .gift-messages-form .item .details .form-list li.wide .input-box { width:500px; }
1618
+ .gift-messages-form .item .details .form-list li.wide textarea { width:494px; }
1619
+
1620
+ .gift-message-link { font-size:11px; background:url(../images/bkg_collapse-gm.gif) 100% 6px no-repeat; padding-right:7px; }
1621
+ .gift-message-link.expanded { background-position:100% -40px; }
1622
+ .gift-message-row { background:#f2efe9; }
1623
+ .gift-message-row .btn-close { float:right; width:16px; height:16px; background:url(../images/btn_gm-close.gif) 0 0 no-repeat; font-size:0; line-height:0; text-indent:-999em; overflow:hidden; }
1624
+
1625
+ /* Checkout Agreements */
1626
+ .checkout-agreements li { margin:30px 0; }
1627
+ .checkout-agreements .agreement-content { overflow:auto; height:12em; padding:10px; background-color:#fbfaf6; border:1px solid #bbb6a5; }
1628
+ .checkout-agreements .agree { margin:0; padding:10px 0 10px 11px; }
1629
+ .checkout-agreements .agree input.checkbox { margin-right:6px; }
1630
+ .checkout-agreements .agree label { font-weight:bold; color:#666; }
1631
+
1632
+ .opc .checkout-agreements { border:1px solid #d9dde3; border-width:0 1px; padding:5px 30px; }
1633
+ .opc .checkout-agreements li { margin:20px 0 0; }
1634
+ .opc .checkout-agreements .agreement-content { background-color:#fff; border-color:#e4e4e4; padding:5px; }
1635
+ .opc .checkout-agreements .agree { padding-left:6px; }
1636
+
1637
+ /* Centinel */
1638
+ .centinel {}
1639
+ .centinel .authentication { border:1px solid #ddd; background:#fff; }
1640
+ .centinel .authentication iframe { width:99%; height:400px; background:transparent !important; margin:0 !important; padding:0 !important; border:0 !important; }
1641
+
1642
+ .opc .centinel { border:1px solid #bbb6a5; border-width:0 1px 1px; padding:10px 30px; }
1643
+
1644
+ /* Generic Info Set */
1645
+ .info-set { background:#fbfaf6 url(../images/bkg_checkout.gif) 0 0 repeat-x; border:1px solid #bbb6a5; margin:0 0 25px; padding:20px; }
1646
+ .info-set h2 { font-size:13px; font-weight:bold; margin:0 0 10px; }
1647
+ .info-set h3,
1648
+ .info-set h4 { font-size:13px; font-weight:bold; color:#E26703; }
1649
+ .info-set h2 a,
1650
+ .info-set h3 a,
1651
+ .info-set h4 a { font-weight:normal; }
1652
+ .info-set h2.legend { margin:-20px -20px 15px; padding:5px 10px; background:#f9f3e3; border-bottom:1px solid #bbafa0; position:relative; }
1653
+ .info-set h3.legend { margin:0 0 10px; color:#0a263c; }
1654
+ .info-set .divider { margin:0 -20px; padding:25px 0; position:relative; }
1655
+ .info-set .box { margin:0 0 15px; }
1656
+ .info-set .box h2 { color:#e26703; }
1657
+ .info-set .data-table .product-name { font-size:1em !important; font-weight:bold !important; color:#1e7ec8 !important; }
1658
+ .info-set .data-table .product-name a { font-weight:bold !important; }
1659
+ .info-set .data-table .item-options { margin:5px 0 0; }
1660
+ /********** Common Checkout Styles > */
1661
+
1662
+ /* One Page Checkout */
1663
+ .block-progress { border:0; margin:0; }
1664
+ .block-progress .block-title { border:0; }
1665
+ .block-progress .block-title strong { padding: 0;}
1666
+ .block-progress .block-title strong span { font-size: 16px;font-weight: normal;line-height: 30px;}
1667
+ .block-progress .block-content { background: #ffffff; }
1668
+ .block-progress dt { font-size:13px; font-weight:bold; line-height:1.35; background:#fff; margin:0 0 6px; padding:2px 8px; color:#999; }
1669
+ .block-progress dd { background:#fff;border-width: 0 0 1px; border:1px solid #dddddd; border-top:0; border-right: 0; border-left: 0; padding:8px 13px; margin:0 0 6px; border-style: 0 0 1px; }
1670
+ .block-progress dt.complete { margin:0; background:#fff; color:#464646; }
1671
+ .block-progress dd.complete {}
1672
+ .block-progress p { margin:0; }
1673
+ .block-progress .cards-list dt { background:none; border:0 none; color:inherit; font-size:12px; margin:5px 0; padding:0; }
1674
+ .block-progress .cards-list dd { border:0 none; margin:0; padding:0; }
1675
+ .block-progress .cards-list .info-table th { font-weight:normal; }
1676
+
1677
+ .opc .buttons-set { margin-top:0; padding-top:2em; }
1678
+ .opc .buttons-set p.required { margin:0; padding:0 0 10px; }
1679
+ .opc .buttons-set .back-link small { display:none; }
1680
+ .opc .buttons-set .back-link a { background:url(../images/i_arrow-top.gif) 0 50% no-repeat; padding-left:16px; }
1681
+ .opc .buttons-set.disabled button.button { display:none; }
1682
+ .opc .buttons-set .please-wait { height:21px; line-height:21px; }
1683
+ .opc .ul { list-style:disc outside; padding-left:18px; }
1684
+
1685
+ .opc { position:relative; }
1686
+ .opc li.section {}
1687
+
1688
+ .opc .step-title { border-width:0 1px 1px; border-style:solid; border-color:#dddddd; padding:4px 8px 6px; text-align:right; background: #f2f2f2;}
1689
+ .opc .step-title .number { float:left; background:#fff; border:1px solid #fff; padding:0 4px; margin:0 5px 0 0; font:bold 11px/14px arial, helvetica, sans-serif; color:#999; }
1690
+ .opc .step-title h2 { float:left; margin:0; font:bold 13px/16px Arial, Helvetica, sans-serif; color:#999; }
1691
+ .opc .step-title a { display:none; float:right; font-size:11px; line-height:16px; }
1692
+
1693
+ .opc .allow .step-title { background:#f8f8f8; border:1px solid #dddddd; border-bottom:0; color:#f2f2f2; cursor:pointer; }
1694
+ .opc .allow .step-title .number { background:#ffffff; border-color:#ffffff; color:#999999; }
1695
+ .opc .allow .step-title h2 { color:#999999; }
1696
+ /*.opc .allow .step-title a { display:block; }*/
1697
+
1698
+ .opc .active .step-title { background:black; border:1px solid #dddddd; padding-bottom:5px; color:#f18200; cursor:default; }
1699
+ .opc .active .step-title .number { background: 0 none; border-color:#fff; color:#fff; }
1700
+ .opc .active .step-title h2 { color:#fff; }
1701
+ /*.opc .active .step-title a { display:none; }*/
1702
+
1703
+ .opc .step { border:1px solid #dddddd; border-top:0; background:#fff; padding:15px 30px; position:relative; }
1704
+ .opc .step .tool-tip { right:30px; }
1705
+
1706
+ #opc-login .buttons-set { border-top:0; }
1707
+ #opc-login h3 { font-size:13px; border-bottom:1px solid #dddddd; padding-bottom:2px; text-transform:uppercase; }
1708
+ #opc-login h4 { font-size:1em; font-weight:bold; margin:0; color:#2f2f2f; }
1709
+
1710
+ #opc-shipping_method .buttons-set { border-top:0; }
1711
+ .opc .gift-messages-form { margin:0 -30px; background:#f6f1eb; border:1px solid #e9e4de; border-width:1px 0; padding:22px 24px 22px 30px; }
1712
+ .opc .gift-messages-form .inner-box { padding:5px; height:260px; overflow:auto; }
1713
+
1714
+ #opc-review .step { border:0; padding:0; }
1715
+ #opc-review .product-name { font-weight:bold; color:#0a263c; }
1716
+ #opc-review .item-options { margin:5px 0 0; }
1717
+ #opc-review .buttons-set { padding:20px 30px; border:1px solid #dddddd; border-width:0 1px 1px; }
1718
+ #opc-review .buttons-set p { margin:0; line-height:40px; }
1719
+ #opc-review .buttons-set .please-wait { height:40px; line-height:40px; }
1720
+
1721
+ /* Multiple Addresses Checkout */
1722
+ .checkout-progress { padding:0 90px; margin:0 0 20px; }
1723
+ .checkout-progress li { float:left; width:19%; margin:0 3px 0 0; border-top:10px solid #999; padding:2px 0 0; font-weight:bold; text-align:center; color:#abb5ba; }
1724
+ .checkout-progress li.active { border-top-color:#e96200; color:#e96200; }
1725
+
1726
+ .multiple-checkout h2 { font-size:13px; font-weight:bold; margin:0 0 10px; }
1727
+ .multiple-checkout h3,
1728
+ .multiple-checkout h4 { font-size:13px; font-weight:bold; color:#E26703; }
1729
+ .multiple-checkout h2 a,
1730
+ .multiple-checkout h3 a,
1731
+ .multiple-checkout h4 a { font-weight:normal; }
1732
+ .multiple-checkout .data-table .product-name { font-size:1em !important; font-weight:bold !important; color:#1e7ec8 !important; }
1733
+ .multiple-checkout .data-table .product-name a { font-weight:bold !important; }
1734
+ .multiple-checkout .data-table .item-options { margin:5px 0 0; }
1735
+
1736
+ .multiple-checkout .gift-messages { margin:15px 0 0; }
1737
+
1738
+ .multiple-checkout .tool-tip { top:50%; margin-top:-120px; right:20px; }
1739
+
1740
+ .multiple-checkout .col2-set,
1741
+ .multiple-checkout .col3-set { background:#fbfaf6 url(../images/bkg_checkout.gif) 0 0 repeat-x; border:1px solid #bbb6a5; margin:0 0 25px; padding:20px; }
1742
+ .multiple-checkout .col2-set h2.legend { margin:-20px -20px 15px; padding:5px 10px; background:#f9f3e3; border-bottom:1px solid #bbafa0; position:relative; }
1743
+ .multiple-checkout .col2-set h3.legend { margin:0 0 10px; color:#0a263c; }
1744
+ .multiple-checkout .col2-set .divider { margin:0 -20px; padding:25px 0; position:relative; }
1745
+ .multiple-checkout .box { margin:0 0 15px; }
1746
+ .multiple-checkout .box h2 { color:#e26703; }
1747
+
1748
+ .multiple-checkout .place-order .please-wait { float:right; padding:27px 7px 0 0; }
1749
+ .multiple-checkout .place-order .grand-total { float:right; height:71px; font-size:1.5em; padding:0 0 0 21px; background:url(../images/bkg_grand-total.gif) 0 0 no-repeat; overflow:hidden; }
1750
+ .multiple-checkout .place-order .grand-total .inner { float:left; height:57px; padding:14px 21px 0 0; background:url(../images/bkg_grand-total.gif) 100% 0 no-repeat; }
1751
+ .multiple-checkout .place-order .grand-total .inner div { display:inline; }
1752
+ .multiple-checkout .place-order .grand-total big { display:inline; margin-right:12px; }
1753
+ .multiple-checkout .place-order .grand-total .price { color:#E26703; }
1754
+ .multiple-checkout .place-order .grand-total button.button span { font-size:16px; }
1755
+ .multiple-checkout .place-order .grand-total button.button span span { padding:0 45px 0 36px; }
1756
+
1757
+ /* Step 1 */
1758
+ .multiple-checkout .title-buttons button.button span { border-color:#406a83; background:#618499; }
1759
+ #multiship-addresses-table td { padding:10px; }
1760
+ #multiship-addresses-table tfoot td { padding:5px 10px; }
1761
+ #multiship-addresses-table tfoot button.button span { border-color:#406a83; background:#618499; }
1762
+
1763
+ /* Step 2 */
1764
+ .multiple-checkout .gift-messages-form .item .details .form-list { width:100%; overflow:hidden; }
1765
+ .multiple-checkout .gift-messages-form .item .details .form-list li { margin-right:-15px; }
1766
+ .multiple-checkout .gift-messages-form .item .details .form-list .field { width:230px; }
1767
+ .multiple-checkout .gift-messages-form .item .details .form-list .input-box { width:215px; }
1768
+ .multiple-checkout .gift-messages-form .item .details .form-list input.input-text { width:209px; }
1769
+ .multiple-checkout .gift-messages-form .item .details .form-list li.wide .input-box { width:445px; }
1770
+ .multiple-checkout .gift-messages-form .item .details .form-list li.wide textarea { width:439px; }
1771
+ .checkout-multishipping-shipping .box-sp-methods { border:1px solid #d9d2be; background:#f9f3e3; padding:13px; position:relative; }
1772
+ .checkout-multishipping-shipping .box-sp-methods .pointer { position:absolute; top:-20px; right:-40px; width:178px; height:41px; background:url(../images/bkg_sp-methods.gif) 0 0 no-repeat; overflow:hidden; }
1773
+
1774
+ /* Step 3 */
1775
+ .checkout-multishipping-billing .multiple-checkout { position:relative; }
1776
+ /* ======================================================================================= */
1777
+
1778
+
1779
+ /* Account Login/Create Pages ============================================================ */
1780
+ .account-login .content { min-height:240px; padding:14px 21px; background:#fff; border:1px solid #dddddd; border-bottom:0; }
1781
+ .account-login .content h2 { font-weight:bold; font-size:13px; margin:0 0 14px; padding:0 0 5px 23px; border-bottom:1px solid #dddddd; background-position:0 1px; background-repeat:no-repeat; text-transform:uppercase; color:#e76200; }
1782
+ .account-login .new-users h2 { background-image:url(../images/i_page1.gif)}
1783
+ .account-login .registered-users h2 { background-image:url(../images/i_page2.gif); }
1784
+ .account-login .buttons-set { border:1px solid #dddddd; border-top:0; margin:0; padding:8px 13px; background:#fff;}
1785
+
1786
+ .account-create {}
1787
+ /* Account Login/Create Pages ============================================================ */
1788
+
1789
+
1790
+ /* My Account ============================================================================= */
1791
+ .my-account .title-buttons .link-rss { float:none; margin:0; }
1792
+
1793
+ /********** < Dashboard */
1794
+ .dashboard .welcome-msg { margin:0 8em 15px 15px; }
1795
+ .dashboard .welcome-msg p { margin:0; }
1796
+ .dashboard .col2-set { margin:0 0 15px; }
1797
+
1798
+ /* General Box */
1799
+ .box-account {padding:15px; margin: 0 0 20px; }
1800
+ .box-account .box-head { border-bottom:1px solid #dddddd; margin:0 0 10px; text-align:right; }
1801
+ .box-account .box-head h2 { float:left; margin:0; font-size:13px; font-weight:bold; text-transform:uppercase; background-position:0 0; background-repeat:no-repeat; padding-left:21px; color:#f7941d; }
1802
+
1803
+ .dashboard .box .box-title { background:url(../images/bkg_divider1.gif) 0 100% repeat-x; padding:0 0 2px; margin:0 0 8px; text-align:right; }
1804
+ .dashboard .box .box-title h3,
1805
+ .dashboard .box .box-title h4 { float:left; font-size:13px; font-weight:bold; margin:0; }
1806
+
1807
+ /* Block: Recent Orders */
1808
+ .dashboard .box-recent .box-head h2 { background-image:url(../images/i_folder-table.gif); }
1809
+
1810
+ /* Block: Account Information */
1811
+ .dashboard .box-info .box-head h2 { background-image:url(../images/i_ma-info.gif); }
1812
+ .dashboard .box-info h4 { font-size:11px; font-weight:bold; text-transform:uppercase; }
1813
+
1814
+ /* Block: Reviews */
1815
+ .dashboard .box-reviews .box-head h2 { background-image:url(../images/i_ma-reviews.gif); }
1816
+ .dashboard .box-reviews .number { float:left; font-size:10px; font-weight:bold; line-height:1; color:#fff; margin:3px -20px 0 0; padding:2px 3px; background:#0a263c; }
1817
+ .dashboard .box-reviews .details { margin-left:20px; }
1818
+ .dashboard .box-reviews li.item { margin:0 0 7px; }
1819
+ .dashboard .box-reviews li.item.last { margin:0; }
1820
+ .dashboard .box-reviews .ratings { margin:7px 0 0; }
1821
+
1822
+ /* Block: Tags */
1823
+ .dashboard .box-tags .box-head h2 { background-image:url(../images/i_ma-tags.gif); }
1824
+ .dashboard .box-tags .number { float:left; font-size:10px; font-weight:bold; line-height:1; color:#fff; margin:3px -20px 0 0; padding:2px 3px; background:#0a263c; }
1825
+ .dashboard .box-tags .details { margin-left:20px; }
1826
+ .dashboard .box-tags li.item { margin:0 0 7px; }
1827
+ .dashboard .box-tags li.item.last { margin:0; }
1828
+ .dashboard .box-tags .tags strong,
1829
+ .dashboard .box-tags .tags ul,
1830
+ .dashboard .box-tags .tags ul li { display:inline; }
1831
+ /********** Dashboard > */
1832
+
1833
+ /* Address Book */
1834
+ .addresses-list h2 { font-weight:bold; font-size:13px; color:#e26703; text-transform:uppercase; }
1835
+ .addresses-list h3 { font-weight:bold; font-size:13px; }
1836
+ .addresses-list address { margin:0 0 3px; }
1837
+ .addresses-list p { margin:0; }
1838
+ .addresses-list a { font-weight:bold; }
1839
+ .addresses-list .link-remove { color:#646464; }
1840
+ .addresses-list .separator { margin:0 3px; }
1841
+ .addresses-list li.item { background:#fff url(../images/bkg_account_box.gif) 0 0 repeat-x; border:1px solid #ccc; padding:10px 13px; margin:0 0 10px; }
1842
+ .addresses-list li.empty { background:none; border:0; padding:0; }
1843
+ .addresses-list li.empty p { font-weight:bold; }
1844
+ .addresses-list .addresses-additional li.item { background:none; border:0; padding:0; }
1845
+
1846
+ /* Order View */
1847
+ .order-info { background:#dddddd; border:1px solid #d0cbc1; padding:4px 8px; margin:0 0 8px; }
1848
+ .order-info dt,
1849
+ .order-info dd,
1850
+ .order-info ul,
1851
+ .order-info li { display:inline; }
1852
+ .order-info .current { font-weight:bold; }
1853
+ .order-info li { margin:0 3px; }
1854
+
1855
+ .order-date { margin:10px 0; }
1856
+
1857
+ .order-info-box { border:1px solid #dddddd; padding:12px 15px; margin:0 0 15px; }
1858
+ .order-info-box h2 { font-weight:bold; font-size:13px; }
1859
+ .order-info-box .box-payment p { margin:0 0 3px; }
1860
+ .order-info-box .box-payment th { font-weight:bold; padding-right:7px; }
1861
+
1862
+ .order-items { width:100%; overflow-x:auto; }
1863
+ .order-items h2,
1864
+ .order-items h3 { clear:none; font-weight:bold; font-size:13px; padding:0; margin:0 0 5px; color:#0a263c; }
1865
+ .order-items .product-name { font-size:1em !important; font-weight:normal !important; }
1866
+ .order-items .link-print { color:#1e7ec8; font-weight:normal; }
1867
+ .order-items .order-links { text-align:right; }
1868
+
1869
+ .order-additional { margin:15px 0; }
1870
+ /* Order Gift Message */
1871
+ .gift-message dt strong { color:#666; }
1872
+ .gift-message dd { font-size:13px; margin:5px 0 0; }
1873
+ /* Order Comments */
1874
+ .order-about dt { font-weight:bold; }
1875
+ .order-about dd { font-size:13px; margin:0 0 7px; }
1876
+
1877
+ .tracking-table { margin:0 0 15px; }
1878
+ .tracking-table th { font-weight:bold; white-space:nowrap; }
1879
+
1880
+ .tracking-table-popup { width:100%; }
1881
+ .tracking-table-popup th { font-weight:bold; white-space:nowrap; }
1882
+ .tracking-table-popup th,
1883
+ .tracking-table-popup td { padding:1px 8px; }
1884
+
1885
+ /* Order Print Pages */
1886
+ .page-print .print-head { margin:0 0 15px; }
1887
+ .page-print .print-head .logo { float:left; }
1888
+ .page-print .print-head address { float:left; margin-left:15px; }
1889
+ .page-print h1 { font-size:16px; font-weight:bold; }
1890
+ .page-print h2,
1891
+ .page-print h3 { font-size:13px; font-weight:bold; }
1892
+ .page-print h2.h2 { font-size:16px; font-weight:bold; }
1893
+ .page-print .order-date { background:url(../images/bkg_divider1.gif) 0 100% repeat-x; padding:0 0 10px; margin:0 0 10px; }
1894
+ .page-print .col2-set { margin:0 0 10px; }
1895
+ /* Price Rewrites */
1896
+ .page-print .gift-message-link { display:none; }
1897
+ .page-print .price-excl-tax,
1898
+ .page-print .price-incl-tax { display:block; white-space:nowrap; }
1899
+ .page-print .cart-price,
1900
+ .page-print .price-excl-tax .label,
1901
+ .page-print .price-incl-tax .label,
1902
+ .page-print .price-excl-tax .price,
1903
+ .page-print .price-incl-tax .price { display:inline; }
1904
+
1905
+ /* My Wishlist */
1906
+ .my-wishlist .data-table td { padding:10px; }
1907
+ .my-wishlist .product-image { display:block; width:113px; height:113px; margin:0 0 5px; }
1908
+ .my-wishlist textarea { display:block; width:97%; height:109px; }
1909
+ .my-wishlist .buttons-set { margin-top:2em; }
1910
+ .my-wishlist .buttons-set button.button { float:none; }
1911
+ .my-wishlist .buttons-set .btn-add span,
1912
+ .my-wishlist .buttons-set .btn-share span { border-color:#406a83;}
1913
+ #wishlist-table .add-to-links { white-space:nowrap; }
1914
+
1915
+ /* My Tags */
1916
+ .my-tag-edit { float:left; margin:0 0 10px; }
1917
+ .my-tag-edit .btn-remove { float:right; margin:4px 0 0 5px; }
1918
+ #my-tags-table { clear:both; }
1919
+ #my-tags-table td { padding:10px; }
1920
+ #my-tags-table .add-to-links { white-space:nowrap; }
1921
+
1922
+ /* My Reviews */
1923
+ #my-reviews-table td { padding:10px; }
1924
+
1925
+ .product-review .product-img-box { float:left; width:140px; }
1926
+ .product-review .product-img-box .product-image { display:block; width:125px; height:125px; }
1927
+ .product-review .product-img-box .label { font-size:11px; margin:0 0 3px; }
1928
+ .product-review .product-img-box .ratings .rating-box { float:none; display:block; margin:0 0 3px; }
1929
+ .product-review .product-details { margin-left:150px; }
1930
+ .product-review .product-name { font-size:16px; font-weight:bold; margin:0 0 10px; }
1931
+ .product-review h3 { font-size:12px; margin:0 0 3px; color:#2f2f2f; }
1932
+ .product-review .ratings-table { margin:0 0 10px; }
1933
+ .product-review dt { font-weight:bold; }
1934
+ .product-review dd { font-size:13px; margin:5px 0 0; }
1935
+
1936
+ /* Billing Agreements */
1937
+ .billing-agreements .info-box{ margin:15px 0; }
1938
+ .billing-agreements .form-list li select { float:left; }
1939
+ .billing-agreements .form-list li button.button { float:left; margin-left:10px; }
1940
+ .billing-agreements .table-caption { font-weight:bold; font-size:13px; }
1941
+ /* ======================================================================================= */
1942
+
1943
+
1944
+ /* Footer ================================================================================ */
1945
+ .footer-container {}
1946
+ .footer { width:1024px; margin:0 auto; padding:10px 0; position: relative;}
1947
+ .footer .store-switcher {
1948
+ color: #7F7F7F;
1949
+ display: inline;
1950
+ float: right;
1951
+ margin: 20px 0 0;
1952
+ }
1953
+ .footer .store-switcher label { font-weight:normal; vertical-align:middle; }
1954
+ .footer .store-switcher select { padding:0; vertical-align:middle; }
1955
+ .footer a { color:#464646; text-decoration:none; }
1956
+ .footer a:hover { text-decoration:underline; }
1957
+ .footer .bugs { margin:13px 0 0; color:#ecf3f6; }
1958
+ .footer .bugs a { color:#ecf3f6; text-decoration:underline; }
1959
+ .footer .bugs a:hover { text-decoration:none; }
1960
+ .footer address { margin:0 0 20px; color:#f7941d; float: left; clear: both;}
1961
+ .footer address a { color:#ecf3f6; text-decoration:underline; }
1962
+ .footer address a:hover { text-decoration:none; }
1963
+ .footer ul { display:inline;}
1964
+ .footer ul.links { display:block; }
1965
+ .footer li { display:inline; background:url(../images/bkg_pipe2.gif) 100% 60% no-repeat; padding:0 7px 0 4px; }
1966
+ .footer li.last {}
1967
+ .footer-container .bottom-container { margin:0 0 5px; }
1968
+
1969
+ .footer .bottom-links {float: left; margin: 20px auto 0; font-size: 12px; font-weight: normal; background: url(../images/bkg_footer.png) no-repeat left top; width: 100%;}
1970
+ .footer .bottom-links ul {float: left; padding: 27px 0 20px 0;}
1971
+ .footer .bottom-links .top ul {margin-right: 26px;}
1972
+ .footer .bottom-links ul a {color: #7f7f7f;}
1973
+ .footer .bottom-links .top strong {background: url(../images/icon-links-footer.png) no-repeat left center; font-weight: normal;}
1974
+ .footer .bottom-links .top strong span {padding:0 0 0 12px;}
1975
+
1976
+
1977
+ .footer .bottom-links ul li{float: left;display: inline; background: 0 none; padding:0;}
1978
+ .footer .bottom-links ul li.last {clear: both;}
1979
+ .footer .block-subscribe {float: right; position: absolute; top: 53px; left: 710px; }
1980
+ .footer .block-subscribe .block-content {background: 0 none;}
1981
+ .footer .block-subscribe .form-newletter {background:url(../images/bkg_newletter.png) no-repeat left top; width:292px ; height: 29px; clear: both;}
1982
+ .footer .block-subscribe .form-newletter .input-box {float: left;}
1983
+
1984
+ .footer .bottom-links .bot ul {float: left; padding: 20px 6px 8px 0 ;}
1985
+ .footer .bottom-links .bot ul li {
1986
+ display: inline; float: none;
1987
+ background: url(../images/bkg_pipe2.gif) no-repeat scroll 100% 60% transparent;
1988
+ display: inline;
1989
+ padding: 0 10px 0 6px;}
1990
+
1991
+
1992
+ /* ======================================================================================= */
1993
+
1994
+ /* Sample Data============================================================================ */
1995
+ .home-callout { margin-bottom:12px; }
1996
+ .home-callout img { display:block }
1997
+ .home-spot { float:left; width:470px; margin-left:20px; }
1998
+ .best-selling h3 { margin:12px 0 6px 0; color:#e25203; font-size:1.2em; }
1999
+ .best-selling table { border-top:1px solid #ccc; }
2000
+ .best-selling tr.odd { background:#eee url(../images/best_selling_tr_odd_bg.gif) 0 100% repeat-x; }
2001
+ .best-selling tr.even { background:#fff url(../images/best_selling_tr_even_bg.gif) 0 100% repeat-x; }
2002
+ .best-selling td { width:50%; border-bottom:1px solid #ccc; padding:8px 10px 8px 8px; font-size:11px; }
2003
+ .best-selling .product-img { float:left; border:2px solid #dcdcdc; }
2004
+ .best-selling .product-description { margin-left:107px; line-height:1.3em; }
2005
+ .best-selling a.product-name,
2006
+ .home-spot .best-selling a.product-name:hover { color:#203548; }
2007
+ /* ======================================================================================= */
2008
+
2009
+
2010
+ /* Clears ================================================================================ */
2011
+ .clearer:after,
2012
+ .header-container:after,
2013
+ .header-container .top-container:after,
2014
+ .header:after,
2015
+ .header .quick-access:after,
2016
+ #nav:after,
2017
+ .main:after,
2018
+ .footer:after,
2019
+ .footer-container .bottom-container:after,
2020
+ .col-main:after,
2021
+ .col2-set:after,
2022
+ .col3-set:after,
2023
+ .col3-layout .product-options-bottom .price-box:after,
2024
+ .col4-set:after,
2025
+ .search-autocomplete li:after,
2026
+ .block .block-content:after,
2027
+ .block .actions:after,
2028
+ .block li.item:after,
2029
+ .block-poll li:after,
2030
+ .block-layered-nav .currently li:after,
2031
+ .page-title:after,
2032
+ .products-grid:after,
2033
+ .products-list li.item:after,
2034
+ .box-account .box-head:after,
2035
+ .dashboard .box .box-title:after,
2036
+ .box-reviews li.item:after,
2037
+ .box-tags li.item:after,
2038
+ .pager:after,
2039
+ .sorter:after,
2040
+ .ratings:after,
2041
+ .add-to-box:after,
2042
+ .add-to-cart:after,
2043
+ .product-essential:after,
2044
+ .product-collateral:after,
2045
+ .product-view .product-img-box .more-views ul:after,
2046
+ .product-view .box-tags .form-add:after,
2047
+ .product-view .product-shop .short-description:after,
2048
+ .product-view .box-description:after,
2049
+ .product-options .options-list li:after,
2050
+ .product-options-bottom:after,
2051
+ .product-review:after,
2052
+ .cart:after,
2053
+ .cart-collaterals:after,
2054
+ .cart .crosssell li.item:after,
2055
+ .opc .step-title:after,
2056
+ .checkout-progress:after,
2057
+ .multiple-checkout .place-order:after,
2058
+ .group-select li:after,
2059
+ .form-list li:after,
2060
+ .form-list .field:after,
2061
+ .buttons-set:after,
2062
+ .page-print .print-head:after,
2063
+ .advanced-search-summary:after,
2064
+ .gift-messages-form .item:after,
2065
+ .send-friend .form-list li p:after { display:block; content:"."; clear:both; font-size:0; line-height:0; height:0; overflow:hidden; }
2066
+ /* ======================================================================================= */
2067
+
2068
+
2069
+
2070
+
2071
+ .menu-left-update .sidebarblock-content {background: #ffffff; width: 241px; color: #464646; font-size: 14px;}
2072
+ .menu-left-update .sidebarblock-content .sf-menu {margin: 0;}
2073
+ .menu-left-update .sidebarblock-content .sf-menu li {padding: 4px 0; background: url(../images/bkg_li_categories.jpg) no-repeat center bottom}
2074
+ .menu-left-update .sidebarblock-content .sf-menu li a {}
2075
+ .menu-left-update .sidebarblock-content .sf-menu li.parent a {background: url(../images/parent.png) no-repeat 92% center;}
2076
+ .menu-left-update .sidebarblock-content .sf-menu li.parent a:hover {background: url(../images/parent_hover.png) no-repeat 92% center;}
2077
+ .menu-left-update .sidebarblock-content .sf-menu li.parent ul.level0 li.parent a {background: url(../images/parent.png) no-repeat 92% center;}
2078
+ .menu-left-update .sidebarblock-content .sf-menu li.parent ul.level0 li.parent a:hover {background: url(../images/parent_hover.png) no-repeat 92% center;}
2079
+ .menu-left-update .sidebarblock-content .sf-menu li.parent ul.level0 li.parent ul.level1 li.parent a {background: url(../images/parent.png) no-repeat 92% center;}
2080
+
2081
+ .menu-left-update .sidebarblock-content .sf-menu li.parent ul.level0 li a {background: none;}
2082
+ .menu-left-update .sidebarblock-content .sf-menu li.parent ul.level0 li.parent ul.level1 li a {background: none;}
2083
+
2084
+
2085
+
2086
+
2087
+ .menu-left-update .bot-site {background: url(../images/bkg_bottom-categories.png) no-repeat left top; height: 8px;}
2088
+ #product-slider .bot-site {background: url(../images/bkg_stretched-sliderpr.png) no-repeat left top; height: 8px;}
2089
+
2090
+ .block-layered-nav .bot-site {background: url(../images/bkg_bottom-categories.png) no-repeat left top; height: 8px;}
2091
+ .block-tags .bot-site {background: url(../images/bkg_bottom-categories.png) no-repeat left top; height: 8px;}
2092
+ .block-poll .bot-site {background: url(../images/bkg_bottom-categories.png) no-repeat left top; height: 8px;}
2093
+ .block-related .bot-site {background: url(../images/bkg_bottom-categories.png) no-repeat left top; height: 8px;}
2094
+ .block-wishlist .bot-site {background: url(../images/bkg_bottom-categories.png) no-repeat left top; height: 8px;}
2095
+ .block-progress .bot-site {background: url(../images/bkg_bottom-categories.png) no-repeat left top; height: 8px;}
2096
+ .add-to-box button.button {margin:-3px 0 0 0;}
2097
+
2098
+ .block-viewed .bot-site {background: url(../images/bkg_bottom-categories.png) no-repeat left top; height: 8px;}
2099
+ .block-compare .bot-site {background: url(../images/bkg_bottom-categories.png) no-repeat left top; height: 8px;}
2100
+ .block-compared .bot-site {background: url(../images/bkg_bottom-categories.png) no-repeat left top; height: 8px;}
2101
+ .block-reorder .bot-site {background: url(../images/bkg_bottom-categories.png) no-repeat left top; height: 8px;}
2102
+ .block-reorder .actions a {float: left; margin: 0 0 0 5px;}
2103
+ .block-reorder .actions button.button {float: right; margin: -5px 5px 0 0;}
skin/frontend/default/computer_store/css/superfish.css ADDED
@@ -0,0 +1,183 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ /*** ESSENTIAL STYLES ***/
3
+ .sf-menu, .sf-menu * {
4
+ margin: 0;
5
+ padding: 0;
6
+ list-style: none;
7
+ }
8
+ .sf-menu ul {
9
+ position: absolute;
10
+ top: -999em;
11
+ }
12
+ .sf-menu ul li {
13
+ /* width: 100%; */
14
+ }
15
+ .sf-menu li:hover {
16
+ visibility: inherit; /* fixes IE7 'sticky bug' */
17
+ }
18
+ .sf-menu li {
19
+ position: relative;
20
+ }
21
+ .sf-menu a {
22
+ display: block;
23
+ position: relative;
24
+ }
25
+ .sf-menu a:hover{color:#f26522}
26
+ .sf-menu li:hover ul,
27
+ .sf-menu li.sfHover ul {
28
+ background: none repeat scroll 0 0 #ffffff;
29
+ border: 1px solid #C4C4C4;
30
+ border-radius: 5px 5px 5px 5px;
31
+ box-shadow: 5px 5px 5px;
32
+ left: 230px;
33
+ padding: 15px 12px;
34
+ top: 2.5px;
35
+ width: 175px;
36
+ z-index: 999;
37
+ padding:8px 10px 10px 18px!important;
38
+ }
39
+ ul.sf-menu li:hover li ul,
40
+ ul.sf-menu li.sfHover li ul {
41
+ top: -999em;
42
+
43
+ }
44
+ ul.sf-menu li li:hover ul,
45
+ ul.sf-menu li li.sfHover ul {
46
+ left: 177px; /* match ul width */
47
+ top: 0;
48
+ }
49
+ ul.sf-menu li li:hover li ul,
50
+ ul.sf-menu li li.sfHover li ul {
51
+ top: -999em;
52
+
53
+ }
54
+ ul.sf-menu li li li:hover ul,
55
+ ul.sf-menu li li li.sfHover ul {
56
+ left: 10em; /* match ul width */
57
+ top: 0;
58
+ }
59
+
60
+ /*** DEMO SKIN ***/
61
+ .sf-menu {
62
+ /* float:left;
63
+ margin-bottom: 1em;
64
+ border:1px solid #c4c4c4;
65
+ margin-top: -37px; */
66
+ }
67
+
68
+ .sf-menu li.level-top a {padding: 0 0 0 19px;}
69
+ .sf-menu li.level1 a {padding: 0;}
70
+
71
+ .sf-menu li.title{ background:url(../images/list-cat-title.png) top left no-repeat;
72
+ width:184px;
73
+ height:34px;
74
+ border-bottom: 1px solid #C4C4C4;
75
+ }
76
+ .sf-menu li.title span{
77
+ font-size:14px;
78
+ font-weight:bold;
79
+ color:#FFFFFF;
80
+ text-transform:uppercase;
81
+ padding-left:18px;
82
+ }
83
+ .header-nav{z-index: 99999;}
84
+ .sf-menu a {
85
+ text-decoration:none;
86
+ padding-left: 0;
87
+ font-size: 14px;
88
+ color: #464646;
89
+ }
90
+
91
+
92
+ .sf-menu a:hover {color: #f7941d;}
93
+
94
+ .sf-menu a, .sf-menu a:visited { /* visited pseudo selector so IE6 applies text colour*/
95
+ }
96
+ .sf-menu li.last {background: none transparent!important;}
97
+ .sf-menu li {
98
+ line-height: 30px;
99
+ }
100
+ .sf-menu li li {
101
+ background:0 none;
102
+ width:100%;
103
+ float:left;
104
+ height:25px;
105
+ line-height:25px;
106
+ }
107
+ .sf-menu li li li {
108
+
109
+ }
110
+ .sf-menu li li li a:hover{color:#f26522}
111
+ .sf-menu li.sfHover,
112
+ .sf-menu a:focus, .sf-menu a:hover, .sf-menu a:active {
113
+ outline: 0;
114
+ }
115
+
116
+ /*** arrows **/
117
+ .sf-menu a.sf-with-ul {min-width: 1px;}
118
+ .sf-menu li.parent a.sf-with-ul {
119
+ background: url("../images/arrow-menu2.png") no-repeat scroll right center transparent;
120
+ }
121
+ .sf-menu li.sfHover a{
122
+ /* border-top:1px solid #c4c4c4;
123
+ border-bottom:1px solid #c4c4c4; */
124
+ /* height:32px; */
125
+ color:#595959;
126
+ }
127
+ .sf-menu li.sfHover a.level-top
128
+ {
129
+ /* background:#FFFFFF; */
130
+ }
131
+ .sf-menu li.sfHover ul li a:hover{color:#f26522}
132
+ .sf-menu li.sfHover ul li.sfHover{/* background:#f26522!important; */}
133
+ .sf-menu li.sfHover li a{border:0 none;height: auto;}
134
+ .sf-menu li.sfHover li.parent li a{background: none transparent!important;}
135
+ .sf-menu li.sfHover li.parent a{
136
+ background: url("../images/arrow-menu-sub2.png") no-repeat scroll right center transparent;
137
+ color: #595959;
138
+ margin-right: 10px;
139
+ }
140
+ .sf-menu li.sfHover li li a{color:#595959;}
141
+ .sf-menu li.sfHover ul li a{ padding-left: 0;padding-right: 10px;}
142
+ .sf-menu li.sfHover ul li.sfHover a.hover{ color:#f26522}
143
+ .sf-sub-indicator {
144
+ position: absolute;
145
+ display: block;
146
+ right: .75em;
147
+ top: 1.05em; /* IE6 only */
148
+ width: 5px;
149
+ height: 9px;
150
+ text-indent: -999em;
151
+ overflow: hidden;
152
+ background: url(../images/sub-cat-icon.png) no-repeat center right; /* 8-bit indexed alpha png. IE6 gets solid image only */
153
+ }
154
+ .sf-menu li.sfHover a.level-top .sf-sub-indicator{ background:0 none;}
155
+ a > .sf-sub-indicator { /* give all except IE6 the correct values */
156
+
157
+ }
158
+ /* apply hovers to modern browsers */
159
+ a:focus > .sf-sub-indicator,
160
+ a:hover > .sf-sub-indicator,
161
+ a:active > .sf-sub-indicator,
162
+ li:hover > a > .sf-sub-indicator,
163
+ li.sfHover > a > .sf-sub-indicator {
164
+ }
165
+
166
+ /* point right for anchors in subs */
167
+ .sf-menu ul .sf-sub-indicator { background-position: -10px 0; }
168
+ .sf-menu ul a > .sf-sub-indicator { background-position: 0 0; }
169
+ /* apply hovers to modern browsers */
170
+ .sf-menu ul a:focus > .sf-sub-indicator,
171
+ .sf-menu ul a:hover > .sf-sub-indicator,
172
+ .sf-menu ul a:active > .sf-sub-indicator,
173
+ .sf-menu ul li:hover > a > .sf-sub-indicator,
174
+ .sf-menu ul li.sfHover > a > .sf-sub-indicator {
175
+ background-position: -10px 0; /* arrow hovers for modern browsers*/
176
+ }
177
+
178
+ /*** shadows for all but IE6 ***/
179
+ .sf-shadow ul {
180
+ }
181
+ .sf-shadow ul.sf-shadow-off {
182
+ background: transparent;
183
+ }
skin/frontend/default/computer_store/favicon.ico ADDED
Binary file
skin/frontend/default/computer_store/images/advertising.png ADDED
Binary file
skin/frontend/default/computer_store/images/back-pages.gif ADDED
Binary file
skin/frontend/default/computer_store/images/banner.png ADDED
Binary file
skin/frontend/default/computer_store/images/banner2.png ADDED
Binary file
skin/frontend/default/computer_store/images/best_selling_tr_even_bg.gif ADDED
Binary file
skin/frontend/default/computer_store/images/best_selling_tr_odd_bg.gif ADDED
Binary file
skin/frontend/default/computer_store/images/bg-grid.png ADDED
Binary file
skin/frontend/default/computer_store/images/bg_toolbar.png ADDED
Binary file
skin/frontend/default/computer_store/images/bkg-button-hover.png ADDED
Binary file
skin/frontend/default/computer_store/images/bkg-button-hover2.png ADDED
Binary file
skin/frontend/default/computer_store/images/bkg-button-tags.png ADDED
Binary file
skin/frontend/default/computer_store/images/bkg-button.png ADDED
Binary file
skin/frontend/default/computer_store/images/bkg_account_box.gif ADDED
Binary file
skin/frontend/default/computer_store/images/bkg_block-actions.gif ADDED
Binary file
skin/frontend/default/computer_store/images/bkg_block-content.png ADDED
Binary file
skin/frontend/default/computer_store/images/bkg_block-currency.gif ADDED
Binary file
skin/frontend/default/computer_store/images/bkg_block-layered-dd.gif ADDED
Binary file
skin/frontend/default/computer_store/images/bkg_block-layered-dt.gif ADDED
Binary file
skin/frontend/default/computer_store/images/bkg_block-layered-label.gif ADDED
Binary file
skin/frontend/default/computer_store/images/bkg_block-layered-li.gif ADDED
Binary file
skin/frontend/default/computer_store/images/bkg_block-layered-title.gif ADDED
Binary file
skin/frontend/default/computer_store/images/bkg_block-layered1.gif ADDED
Binary file
skin/frontend/default/computer_store/images/bkg_block-layered1.png ADDED
Binary file
skin/frontend/default/computer_store/images/bkg_block-title-account.gif ADDED
Binary file
skin/frontend/default/computer_store/images/bkg_block-title-newproducts.png ADDED
Binary file
skin/frontend/default/computer_store/images/bkg_block-title.gif ADDED
Binary file
skin/frontend/default/computer_store/images/bkg_block-title.png ADDED
Binary file
skin/frontend/default/computer_store/images/bkg_body.gif ADDED
Binary file
skin/frontend/default/computer_store/images/bkg_bottom-categories.png ADDED
Binary file
skin/frontend/default/computer_store/images/bkg_buttons-set1.gif ADDED
Binary file
skin/frontend/default/computer_store/images/bkg_checkout.gif ADDED
Binary file
skin/frontend/default/computer_store/images/bkg_collapse-gm.gif ADDED
Binary file
skin/frontend/default/computer_store/images/bkg_collapse.gif ADDED
Binary file
skin/frontend/default/computer_store/images/bkg_divider1.gif ADDED
Binary file
skin/frontend/default/computer_store/images/bkg_footer.png ADDED
Binary file
skin/frontend/default/computer_store/images/bkg_form-search.gif ADDED
Binary file
skin/frontend/default/computer_store/images/bkg_grand-total.gif ADDED
Binary file
skin/frontend/default/computer_store/images/bkg_grid.gif ADDED
Binary file
skin/frontend/default/computer_store/images/bkg_head-sliderpr.png ADDED
Binary file
skin/frontend/default/computer_store/images/bkg_header.jpg ADDED
Binary file
skin/frontend/default/computer_store/images/bkg_input-text.png ADDED
Binary file
skin/frontend/default/computer_store/images/bkg_input_search.png ADDED
Binary file
skin/frontend/default/computer_store/images/bkg_li_categories.jpg ADDED
Binary file
skin/frontend/default/computer_store/images/bkg_login-box.gif ADDED
Binary file
skin/frontend/default/computer_store/images/bkg_main1.gif ADDED
Binary file
skin/frontend/default/computer_store/images/bkg_main2.gif ADDED
Binary file
skin/frontend/default/computer_store/images/bkg_mycart.png ADDED
Binary file
skin/frontend/default/computer_store/images/bkg_nav0.jpg ADDED
Binary file
skin/frontend/default/computer_store/images/bkg_nav1.gif ADDED
Binary file
skin/frontend/default/computer_store/images/bkg_nav2.gif ADDED
Binary file
skin/frontend/default/computer_store/images/bkg_navigation.png ADDED
Binary file
skin/frontend/default/computer_store/images/bkg_newletter.png ADDED
Binary file
skin/frontend/default/computer_store/images/bkg_opc-title-off.gif ADDED
Binary file
skin/frontend/default/computer_store/images/bkg_opc-title-off.png ADDED
Binary file
skin/frontend/default/computer_store/images/bkg_pipe1.gif ADDED
Binary file
skin/frontend/default/computer_store/images/bkg_pipe2.gif ADDED
Binary file
skin/frontend/default/computer_store/images/bkg_pipe3.gif ADDED
Binary file
skin/frontend/default/computer_store/images/bkg_product-grid-first.png ADDED
Binary file
skin/frontend/default/computer_store/images/bkg_product-grid.png ADDED
Binary file
skin/frontend/default/computer_store/images/bkg_product-view.gif ADDED
Binary file
skin/frontend/default/computer_store/images/bkg_product_collateral.gif ADDED
Binary file
skin/frontend/default/computer_store/images/bkg_rating.gif ADDED
Binary file
skin/frontend/default/computer_store/images/bkg_sepa_header_bottom.png ADDED
Binary file
skin/frontend/default/computer_store/images/bkg_shopby-title.png ADDED
Binary file
skin/frontend/default/computer_store/images/bkg_sp-methods.gif ADDED
Binary file
skin/frontend/default/computer_store/images/bkg_stretched-sliderpr.png ADDED
Binary file
skin/frontend/default/computer_store/images/bkg_tfoot.gif ADDED
Binary file
skin/frontend/default/computer_store/images/bkg_th-v.gif ADDED
Binary file
skin/frontend/default/computer_store/images/bkg_th.gif ADDED
Binary file
skin/frontend/default/computer_store/images/bkg_toolbar.gif ADDED
Binary file
skin/frontend/default/computer_store/images/bkg_ul_adv.jpg ADDED
Binary file
skin/frontend/default/computer_store/images/btn-back-hover.png ADDED
Binary file
skin/frontend/default/computer_store/images/btn-back.png ADDED
Binary file
skin/frontend/default/computer_store/images/btn-next-hover.png ADDED
Binary file
skin/frontend/default/computer_store/images/btn-next.png ADDED
Binary file
skin/frontend/default/computer_store/images/btn_checkout.gif ADDED
Binary file
skin/frontend/default/computer_store/images/btn_edit.gif ADDED
Binary file
skin/frontend/default/computer_store/images/btn_gm-close.gif ADDED
Binary file
skin/frontend/default/computer_store/images/btn_google_checkout.gif ADDED
Binary file
skin/frontend/default/computer_store/images/btn_paypal_checkout.gif ADDED
Binary file
skin/frontend/default/computer_store/images/btn_place_order.gif ADDED
Binary file
skin/frontend/default/computer_store/images/btn_proceed_to_checkout.gif ADDED
Binary file
skin/frontend/default/computer_store/images/btn_proceed_to_checkout_dis.gif ADDED
Binary file
skin/frontend/default/computer_store/images/btn_remove.gif ADDED
Binary file
skin/frontend/default/computer_store/images/btn_remove2.gif ADDED
Binary file
skin/frontend/default/computer_store/images/btn_search.gif ADDED
Binary file
skin/frontend/default/computer_store/images/btn_trash.gif ADDED
Binary file
skin/frontend/default/computer_store/images/btn_window_close.gif ADDED
Binary file
skin/frontend/default/computer_store/images/calendar.gif ADDED
Binary file
skin/frontend/default/computer_store/images/catalog/product/placeholder/image.jpg ADDED
Binary file
skin/frontend/default/computer_store/images/catalog/product/placeholder/small_image.jpg ADDED
Binary file
skin/frontend/default/computer_store/images/catalog/product/placeholder/thumbnail.jpg ADDED
Binary file
skin/frontend/default/computer_store/images/cs-buttons-games-1-nohover.png ADDED
Binary file
skin/frontend/default/computer_store/images/cs-buttons-games-1.png ADDED
Binary file
skin/frontend/default/computer_store/images/cvv.gif ADDED
Binary file
skin/frontend/default/computer_store/images/cvv.jpg ADDED
Binary file
skin/frontend/default/computer_store/images/fam_book_open.png ADDED
Binary file
skin/frontend/default/computer_store/images/free_shipping_callout.jpg ADDED
Binary file
skin/frontend/default/computer_store/images/grid-cal.gif ADDED
Binary file
skin/frontend/default/computer_store/images/home_left_callout.jpg ADDED
Binary file
skin/frontend/default/computer_store/images/home_main_callout.jpg ADDED
Binary file
skin/frontend/default/computer_store/images/i_arrow-top.gif ADDED
Binary file
skin/frontend/default/computer_store/images/i_asc_arrow.gif ADDED
Binary file
skin/frontend/default/computer_store/images/i_asc_arrow.png ADDED
Binary file
skin/frontend/default/computer_store/images/i_availability_only.gif ADDED
Binary file
skin/frontend/default/computer_store/images/i_availability_only_arrow.gif ADDED
Binary file
skin/frontend/default/computer_store/images/i_block-cart.gif ADDED
Binary file
skin/frontend/default/computer_store/images/i_block-currency.gif ADDED
Binary file
skin/frontend/default/computer_store/images/i_block-list.gif ADDED
Binary file
skin/frontend/default/computer_store/images/i_block-poll.gif ADDED
Binary file
skin/frontend/default/computer_store/images/i_block-related.gif ADDED
Binary file
skin/frontend/default/computer_store/images/i_block-subscribe.gif ADDED
Binary file
skin/frontend/default/computer_store/images/i_block-tags.gif ADDED
Binary file
skin/frontend/default/computer_store/images/i_block-viewed.gif ADDED
Binary file
skin/frontend/default/computer_store/images/i_block-wishlist.gif ADDED
Binary file
skin/frontend/default/computer_store/images/i_desc_arrow.gif ADDED
Binary file
skin/frontend/default/computer_store/images/i_desc_arrow.png ADDED
Binary file
skin/frontend/default/computer_store/images/i_discount.gif ADDED
Binary file
skin/frontend/default/computer_store/images/i_folder-table.gif ADDED
Binary file
skin/frontend/default/computer_store/images/i_ma-info.gif ADDED
Binary file
skin/frontend/default/computer_store/images/i_ma-reviews.gif ADDED
Binary file
skin/frontend/default/computer_store/images/i_ma-tags.gif ADDED
Binary file
skin/frontend/default/computer_store/images/i_msg-error.gif ADDED
Binary file
skin/frontend/default/computer_store/images/i_msg-note.gif ADDED
Binary file
skin/frontend/default/computer_store/images/i_msg-success.gif ADDED
Binary file
skin/frontend/default/computer_store/images/i_notice.gif ADDED
Binary file
skin/frontend/default/computer_store/images/i_page1.gif ADDED
Binary file
skin/frontend/default/computer_store/images/i_page2.gif ADDED
Binary file
skin/frontend/default/computer_store/images/i_pager-next.gif ADDED
Binary file
skin/frontend/default/computer_store/images/i_pager-prev.gif ADDED
Binary file
skin/frontend/default/computer_store/images/i_print.gif ADDED
Binary file
skin/frontend/default/computer_store/images/i_rss-big.png ADDED
Binary file
skin/frontend/default/computer_store/images/i_rss.gif ADDED
Binary file
skin/frontend/default/computer_store/images/i_search_criteria.gif ADDED
Binary file
skin/frontend/default/computer_store/images/i_shipping.gif ADDED
Binary file
skin/frontend/default/computer_store/images/i_tag_add.gif ADDED
Binary file
skin/frontend/default/computer_store/images/i_tier.gif ADDED
Binary file
skin/frontend/default/computer_store/images/i_type_grid.gif ADDED
Binary file
skin/frontend/default/computer_store/images/i_type_list.gif ADDED
Binary file
skin/frontend/default/computer_store/images/icon-links-footer.png ADDED
Binary file
skin/frontend/default/computer_store/images/icon_search.png ADDED
Binary file
skin/frontend/default/computer_store/images/logo.gif ADDED
Binary file
skin/frontend/default/computer_store/images/logo.png ADDED
Binary file
skin/frontend/default/computer_store/images/logo_email.gif ADDED
Binary file
skin/frontend/default/computer_store/images/logo_print.gif ADDED
Binary file
skin/frontend/default/computer_store/images/magnifier_handle.gif ADDED
Binary file
skin/frontend/default/computer_store/images/media/404_callout1.jpg ADDED
Binary file
skin/frontend/default/computer_store/images/media/404_callout2.jpg ADDED
Binary file
skin/frontend/default/computer_store/images/media/about_us_img.jpg ADDED
Binary file
skin/frontend/default/computer_store/images/media/best_selling_img01.jpg ADDED
Binary file
skin/frontend/default/computer_store/images/media/best_selling_img02.jpg ADDED
Binary file
skin/frontend/default/computer_store/images/media/best_selling_img03.jpg ADDED
Binary file
skin/frontend/default/computer_store/images/media/best_selling_img04.jpg ADDED
Binary file
skin/frontend/default/computer_store/images/media/best_selling_img05.jpg ADDED
Binary file
skin/frontend/default/computer_store/images/media/best_selling_img06.jpg ADDED
Binary file
skin/frontend/default/computer_store/images/media/cell_phone_landing_banner1.jpg ADDED
Binary file
skin/frontend/default/computer_store/images/media/col_left_callout.jpg ADDED
Binary file
skin/frontend/default/computer_store/images/media/col_right_callout.jpg ADDED
Binary file
skin/frontend/default/computer_store/images/media/electronics_cellphones.jpg ADDED
Binary file
skin/frontend/default/computer_store/images/media/electronics_digitalcameras.jpg ADDED
Binary file
skin/frontend/default/computer_store/images/media/electronics_laptops.jpg ADDED
Binary file
skin/frontend/default/computer_store/images/media/furniture_callout_spot.jpg ADDED
Binary file
skin/frontend/default/computer_store/images/media/furnitures_bed_room.jpg ADDED
Binary file
skin/frontend/default/computer_store/images/media/furnitures_living_room.jpg ADDED
Binary file
skin/frontend/default/computer_store/images/media/head_electronics_cellphones.gif ADDED
Binary file
skin/frontend/default/computer_store/images/media/head_electronics_digicamera.gif ADDED
Binary file
skin/frontend/default/computer_store/images/media/head_electronics_laptops.gif ADDED
Binary file
skin/frontend/default/computer_store/images/media/laptop_callout_mid1.jpg ADDED
Binary file
skin/frontend/default/computer_store/images/media/laptop_callout_mid2.jpg ADDED
Binary file
skin/frontend/default/computer_store/images/media/laptop_callout_mid3.jpg ADDED
Binary file
skin/frontend/default/computer_store/images/media/laptop_callout_spot.jpg ADDED
Binary file
skin/frontend/default/computer_store/images/media/shirts_landing_banner1.jpg ADDED
Binary file
skin/frontend/default/computer_store/images/next-pages.gif ADDED
Binary file
skin/frontend/default/computer_store/images/np_cart_thumb.gif ADDED
Binary file
skin/frontend/default/computer_store/images/np_more_img.gif ADDED
Binary file
skin/frontend/default/computer_store/images/np_product_main.gif ADDED
Binary file
skin/frontend/default/computer_store/images/np_thumb.gif ADDED
Binary file
skin/frontend/default/computer_store/images/np_thumb2.gif ADDED
Binary file
skin/frontend/default/computer_store/images/opc-ajax-loader.gif ADDED
Binary file
skin/frontend/default/computer_store/images/pager_arrow_left.gif ADDED
Binary file
skin/frontend/default/computer_store/images/pager_arrow_right.gif ADDED
Binary file
skin/frontend/default/computer_store/images/parent.png ADDED
Binary file
skin/frontend/default/computer_store/images/parent_hover.png ADDED
Binary file
skin/frontend/default/computer_store/images/ph_callout_left_rebel.jpg ADDED
Binary file
skin/frontend/default/computer_store/images/ph_callout_left_top.gif ADDED
Binary file
skin/frontend/default/computer_store/images/product_zoom_overlay_magnif.gif ADDED
Binary file
skin/frontend/default/computer_store/images/slider_bg.gif ADDED
Binary file
skin/frontend/default/computer_store/images/slider_btn_zoom_in.gif ADDED
Binary file
skin/frontend/default/computer_store/images/slider_btn_zoom_out.gif ADDED
Binary file
skin/frontend/default/computer_store/images/spacer.gif ADDED
Binary file
skin/frontend/default/computer_store/images/validation_advice_bg.gif ADDED
Binary file
skin/frontend/default/computer_store/images/xmlconnect/catalog/category/placeholder/image.jpg ADDED
Binary file
skin/frontend/default/computer_store/images/xmlconnect/catalog/category/placeholder/small_image.jpg ADDED
Binary file
skin/frontend/default/computer_store/images/xmlconnect/catalog/category/placeholder/thumbnail.jpg ADDED
Binary file
skin/frontend/default/computer_store/images/xmlconnect/tab_account.png ADDED
Binary file
skin/frontend/default/computer_store/images/xmlconnect/tab_cart.png ADDED
Binary file
skin/frontend/default/computer_store/images/xmlconnect/tab_home.png ADDED
Binary file
skin/frontend/default/computer_store/images/xmlconnect/tab_more.png ADDED
Binary file
skin/frontend/default/computer_store/images/xmlconnect/tab_page.png ADDED
Binary file
skin/frontend/default/computer_store/images/xmlconnect/tab_search.png ADDED
Binary file
skin/frontend/default/computer_store/images/xmlconnect/tab_shop.png ADDED
Binary file
skin/frontend/default/computer_store/js/coin-slider.js ADDED
@@ -0,0 +1,483 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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($) {
13
+
14
+ var params = new Array;
15
+ var order = new Array;
16
+ var images = new Array;
17
+ var links = new Array;
18
+ var linksTarget = new Array;
19
+ var titles = new Array;
20
+ var interval = new Array;
21
+ var imagePos = new Array;
22
+ var appInterval = new Array;
23
+ var squarePos = new Array;
24
+ var reverse = new Array;
25
+
26
+ $.fn.coinslider= $.fn.CoinSlider = function(options){
27
+
28
+ init = function(el){
29
+
30
+ order[el.id] = new Array(); // order of square appereance
31
+ images[el.id] = new Array();
32
+ links[el.id] = new Array();
33
+ linksTarget[el.id] = new Array();
34
+ titles[el.id] = new Array();
35
+ imagePos[el.id] = 0;
36
+ squarePos[el.id] = 0;
37
+ reverse[el.id] = 1;
38
+
39
+ params[el.id] = $.extend({}, $.fn.coinslider.defaults, options);
40
+
41
+ // create images, links and titles arrays
42
+ $.each($('#'+el.id+' img'), function(i,item){
43
+ images[el.id][i] = $(item).attr('src');
44
+ links[el.id][i] = $(item).parent().is('a') ? $(item).parent().attr('href') : '';
45
+ linksTarget[el.id][i] = $(item).parent().is('a') ? $(item).parent().attr('target') : '';
46
+ titles[el.id][i] = $(item).next().is('span') ? $(item).next().html() : '';
47
+ $(item).hide();
48
+ $(item).next().hide();
49
+ });
50
+
51
+
52
+ // set panel
53
+ $(el).css({
54
+ 'background-image':'url('+images[el.id][0]+')',
55
+ 'width': params[el.id].width,
56
+ 'height': params[el.id].height,
57
+ 'position': 'relative',
58
+ 'background-position': 'top left'
59
+ }).wrap("<div class='coin-slider' id='coin-slider-"+el.id+"' />");
60
+
61
+
62
+ // create title bar
63
+ $('#'+el.id).append("<div class='cs-title' id='cs-title-"+el.id+"' style='position: absolute; bottom:0; left: 0; z-index: 1000;'></div>");
64
+
65
+ $.setFields(el);
66
+
67
+ if(params[el.id].navigation)
68
+ $.setNavigation(el);
69
+
70
+ $.transition(el,0);
71
+ $.transitionCall(el);
72
+
73
+ }
74
+
75
+ // squares positions
76
+ $.setFields = function(el){
77
+
78
+ tWidth = sWidth = parseInt(params[el.id].width/params[el.id].spw);
79
+ tHeight = sHeight = parseInt(params[el.id].height/params[el.id].sph);
80
+
81
+ counter = sLeft = sTop = 0;
82
+ tgapx = gapx = params[el.id].width - params[el.id].spw*sWidth;
83
+ tgapy = gapy = params[el.id].height - params[el.id].sph*sHeight;
84
+
85
+ for(i=1;i <= params[el.id].sph;i++){
86
+ gapx = tgapx;
87
+
88
+ if(gapy > 0){
89
+ gapy--;
90
+ sHeight = tHeight+1;
91
+ } else {
92
+ sHeight = tHeight;
93
+ }
94
+
95
+ for(j=1; j <= params[el.id].spw; j++){
96
+
97
+ if(gapx > 0){
98
+ gapx--;
99
+ sWidth = tWidth+1;
100
+ } else {
101
+ sWidth = tWidth;
102
+ }
103
+
104
+ order[el.id][counter] = i+''+j;
105
+ counter++;
106
+
107
+ if(params[el.id].links)
108
+ $('#'+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>");
109
+ else
110
+ $('#'+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>");
111
+
112
+ // positioning squares
113
+ $("#cs-"+el.id+i+j).css({
114
+ 'background-position': -sLeft +'px '+(-sTop+'px'),
115
+ 'left' : sLeft ,
116
+ 'top': sTop
117
+ });
118
+
119
+ sLeft += sWidth;
120
+ }
121
+
122
+ sTop += sHeight;
123
+ sLeft = 0;
124
+
125
+ }
126
+
127
+
128
+ /* $('.cs-'+el.id).mouseover(function(){
129
+ $('#cs-navigation-'+el.id).show();
130
+ });
131
+
132
+ $('.cs-'+el.id).mouseout(function(){
133
+ $('#cs-navigation-'+el.id).hide();
134
+ });
135
+
136
+ $('#cs-title-'+el.id).mouseover(function(){
137
+ $('#cs-navigation-'+el.id).show();
138
+ });
139
+
140
+ $('#cs-title-'+el.id).mouseout(function(){
141
+ $('#cs-navigation-'+el.id).hide();
142
+ }); */
143
+
144
+ if(params[el.id].hoverPause){
145
+ $('.cs-'+el.id).mouseover(function(){
146
+ params[el.id].pause = true;
147
+ });
148
+
149
+ $('.cs-'+el.id).mouseout(function(){
150
+ params[el.id].pause = false;
151
+ });
152
+
153
+ $('#cs-title-'+el.id).mouseover(function(){
154
+ params[el.id].pause = true;
155
+ });
156
+
157
+ $('#cs-title-'+el.id).mouseout(function(){
158
+ params[el.id].pause = false;
159
+ });
160
+ }
161
+
162
+
163
+ };
164
+
165
+
166
+ $.transitionCall = function(el){
167
+
168
+ clearInterval(interval[el.id]);
169
+ delay = params[el.id].delay + params[el.id].spw*params[el.id].sph*params[el.id].sDelay;
170
+ interval[el.id] = setInterval(function() { $.transition(el) }, delay);
171
+
172
+ }
173
+
174
+ // transitions
175
+ $.transition = function(el,direction){
176
+
177
+ if(params[el.id].pause == true) return;
178
+
179
+ $.effect(el);
180
+
181
+ squarePos[el.id] = 0;
182
+ appInterval[el.id] = setInterval(function() { $.appereance(el,order[el.id][squarePos[el.id]]) },params[el.id].sDelay);
183
+
184
+ $(el).css({ 'background-image': 'url('+images[el.id][imagePos[el.id]]+')' });
185
+
186
+ if(typeof(direction) == "undefined")
187
+ imagePos[el.id]++;
188
+ else
189
+ if(direction == 'prev')
190
+ imagePos[el.id]--;
191
+ else
192
+ imagePos[el.id] = direction;
193
+
194
+ if (imagePos[el.id] == images[el.id].length) {
195
+ imagePos[el.id] = 0;
196
+ }
197
+
198
+ if (imagePos[el.id] == -1){
199
+ imagePos[el.id] = images[el.id].length-1;
200
+ }
201
+
202
+ $('.cs-button-'+el.id).removeClass('cs-active');
203
+ $('#cs-button-'+el.id+"-"+(imagePos[el.id]+1)).addClass('cs-active');
204
+
205
+ if(titles[el.id][imagePos[el.id]]){
206
+ $('#cs-title-'+el.id).css({ 'opacity' : 0 }).animate({ 'opacity' : params[el.id].opacity }, params[el.id].titleSpeed);
207
+ $('#cs-title-'+el.id).html(titles[el.id][imagePos[el.id]]);
208
+ } else {
209
+ $('#cs-title-'+el.id).css('opacity',0);
210
+ }
211
+
212
+ };
213
+
214
+ $.appereance = function(el,sid){
215
+
216
+ $('.cs-'+el.id).attr('href',links[el.id][imagePos[el.id]]).attr('target',linksTarget[el.id][imagePos[el.id]]);
217
+
218
+ if (squarePos[el.id] == params[el.id].spw*params[el.id].sph) {
219
+ clearInterval(appInterval[el.id]);
220
+ return;
221
+ }
222
+
223
+ $('#cs-'+el.id+sid).css({ opacity: 0, 'background-image': 'url('+images[el.id][imagePos[el.id]]+')' });
224
+ $('#cs-'+el.id+sid).animate({ opacity: 1 }, 300);
225
+ squarePos[el.id]++;
226
+
227
+ };
228
+
229
+ // navigation
230
+ $.setNavigation = function(el){
231
+ // create prev and next
232
+ $(el).append("<div id='cs-navigation-"+el.id+"'></div>");
233
+ //$('#cs-navigation-'+el.id).hide();
234
+
235
+ $('#cs-navigation-'+el.id).append("<a href='#' id='cs-prev-"+el.id+"' class='cs-prev'><span>prev</span></a>");
236
+ $('#cs-navigation-'+el.id).append("<a href='#' id='cs-next-"+el.id+"' class='cs-next'><span>next</span></a>");
237
+ $('#cs-prev-'+el.id).css({
238
+ 'position' : 'absolute',
239
+ 'top' : params[el.id].height/2 - 15,
240
+ 'left' : 0,
241
+ 'z-index' : 1001,
242
+ 'line-height': '30px',
243
+ 'opacity' : params[el.id].opacity
244
+ }).click( function(e){
245
+ e.preventDefault();
246
+ $.transition(el,'prev');
247
+ $.transitionCall(el);
248
+ }).mouseover( function(){ $('#cs-navigation-'+el.id).show() });
249
+
250
+ $('#cs-next-'+el.id).css({
251
+ 'position' : 'absolute',
252
+ 'top' : params[el.id].height/2 - 15,
253
+ 'right' : 0,
254
+ 'z-index' : 1001,
255
+ 'line-height': '30px',
256
+ 'opacity' : params[el.id].opacity
257
+ }).click( function(e){
258
+ e.preventDefault();
259
+ $.transition(el);
260
+ $.transitionCall(el);
261
+ }).mouseover( function(){ $('#cs-navigation-'+el.id).show() });
262
+
263
+ // image buttons
264
+ $("<div id='cs-buttons-"+el.id+"' class='cs-buttons'></div>").appendTo($('#coin-slider-'+el.id));
265
+
266
+
267
+ for(k=1;k<images[el.id].length+1;k++){
268
+ $('#cs-buttons-'+el.id).append("<a href='#' class='cs-button-"+el.id+"' id='cs-button-"+el.id+"-"+k+"'>"+k+"</a>");
269
+ }
270
+
271
+ $.each($('.cs-button-'+el.id), function(i,item){
272
+ $(item).click( function(e){
273
+ $('.cs-button-'+el.id).removeClass('cs-active');
274
+ $(this).addClass('cs-active');
275
+ e.preventDefault();
276
+ $.transition(el,i);
277
+ $.transitionCall(el);
278
+ })
279
+ });
280
+ $("#cs-buttons-"+el.id).css({
281
+ 'left' : '50%',
282
+ 'margin-left' : -images[el.id].length*15/2-5,
283
+ 'position' : 'relative'
284
+
285
+ });
286
+ /* $('#cs-navigation-'+el.id+' a').mouseout(function(){
287
+ $('#cs-navigation-'+el.id).hide();
288
+ params[el.id].pause = false;
289
+ }); */
290
+ }
291
+
292
+
293
+
294
+
295
+ // effects
296
+ $.effect = function(el){
297
+
298
+ effA = ['random','swirl','rain','straight'];
299
+ if(params[el.id].effect == '')
300
+ eff = effA[Math.floor(Math.random()*(effA.length))];
301
+ else
302
+ eff = params[el.id].effect;
303
+
304
+ order[el.id] = new Array();
305
+
306
+ if(eff == 'random'){
307
+ counter = 0;
308
+ for(i=1;i <= params[el.id].sph;i++){
309
+ for(j=1; j <= params[el.id].spw; j++){
310
+ order[el.id][counter] = i+''+j;
311
+ counter++;
312
+ }
313
+ }
314
+ $.random(order[el.id]);
315
+ }
316
+
317
+ if(eff == 'rain') {
318
+ $.rain(el);
319
+ }
320
+
321
+ if(eff == 'swirl')
322
+ $.swirl(el);
323
+
324
+ if(eff == 'straight')
325
+ $.straight(el);
326
+
327
+ reverse[el.id] *= -1;
328
+ if(reverse[el.id] > 0){
329
+ order[el.id].reverse();
330
+ }
331
+
332
+ }
333
+
334
+
335
+ // shuffle array function
336
+ $.random = function(arr) {
337
+
338
+ var i = arr.length;
339
+ if ( i == 0 ) return false;
340
+ while ( --i ) {
341
+ var j = Math.floor( Math.random() * ( i + 1 ) );
342
+ var tempi = arr[i];
343
+ var tempj = arr[j];
344
+ arr[i] = tempj;
345
+ arr[j] = tempi;
346
+ }
347
+ }
348
+
349
+ //swirl effect by milos popovic
350
+ $.swirl = function(el){
351
+
352
+ var n = params[el.id].sph;
353
+ var m = params[el.id].spw;
354
+
355
+ var x = 1;
356
+ var y = 1;
357
+ var going = 0;
358
+ var num = 0;
359
+ var c = 0;
360
+
361
+ var dowhile = true;
362
+
363
+ while(dowhile) {
364
+
365
+ num = (going==0 || going==2) ? m : n;
366
+
367
+ for (i=1;i<=num;i++){
368
+
369
+ order[el.id][c] = x+''+y;
370
+ c++;
371
+
372
+ if(i!=num){
373
+ switch(going){
374
+ case 0 : y++; break;
375
+ case 1 : x++; break;
376
+ case 2 : y--; break;
377
+ case 3 : x--; break;
378
+
379
+ }
380
+ }
381
+ }
382
+
383
+ going = (going+1)%4;
384
+
385
+ switch(going){
386
+ case 0 : m--; y++; break;
387
+ case 1 : n--; x++; break;
388
+ case 2 : m--; y--; break;
389
+ case 3 : n--; x--; break;
390
+ }
391
+
392
+ check = $.max(n,m) - $.min(n,m);
393
+ if(m<=check && n<=check)
394
+ dowhile = false;
395
+
396
+ }
397
+ }
398
+
399
+ // rain effect
400
+ $.rain = function(el){
401
+ var n = params[el.id].sph;
402
+ var m = params[el.id].spw;
403
+
404
+ var c = 0;
405
+ var to = to2 = from = 1;
406
+ var dowhile = true;
407
+
408
+
409
+ while(dowhile){
410
+
411
+ for(i=from;i<=to;i++){
412
+ order[el.id][c] = i+''+parseInt(to2-i+1);
413
+ c++;
414
+ }
415
+
416
+ to2++;
417
+
418
+ if(to < n && to2 < m && n<m){
419
+ to++;
420
+ }
421
+
422
+ if(to < n && n>=m){
423
+ to++;
424
+ }
425
+
426
+ if(to2 > m){
427
+ from++;
428
+ }
429
+
430
+ if(from > to) dowhile= false;
431
+
432
+ }
433
+
434
+ }
435
+
436
+ // straight effect
437
+ $.straight = function(el){
438
+ counter = 0;
439
+ for(i=1;i <= params[el.id].sph;i++){
440
+ for(j=1; j <= params[el.id].spw; j++){
441
+ order[el.id][counter] = i+''+j;
442
+ counter++;
443
+ }
444
+
445
+ }
446
+ }
447
+
448
+ $.min = function(n,m){
449
+ if (n>m) return m;
450
+ else return n;
451
+ }
452
+
453
+ $.max = function(n,m){
454
+ if (n<m) return m;
455
+ else return n;
456
+ }
457
+
458
+ this.each (
459
+ function(){ init(this); }
460
+ );
461
+
462
+
463
+ };
464
+
465
+
466
+ // default values
467
+ $.fn.coinslider.defaults = {
468
+ width: 565, // width of slider panel
469
+ height: 290, // height of slider panel
470
+ spw: 7, // squares per width
471
+ sph: 5, // squares per height
472
+ delay: 3000, // delay between images in ms
473
+ sDelay: 30, // delay beetwen squares in ms
474
+ opacity: 0.7, // opacity of title and navigation
475
+ titleSpeed: 500, // speed of title appereance in ms
476
+ effect: '', // random, swirl, rain, straight
477
+ navigation: true, // prev next and buttons
478
+ links : true, // show images as links
479
+ hoverPause: true // pause on hover
480
+ };
481
+
482
+ })(jQuery);
483
+
skin/frontend/default/computer_store/js/jquery-1.4.2.min.js ADDED
@@ -0,0 +1,154 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * jQuery JavaScript Library v1.4.2
3
+ * Copyright 2010, John Resig, http://jquery.com/
4
+ * Distributed in whole under the terms of the MIT license
5
+ * http://www.opensource.org/licenses/mit-license.php
6
+ *
7
+ * Includes Sizzle.js
8
+ * http://sizzlejs.com/
9
+ * Copyright 2010, The Dojo Foundation
10
+ * Released under the MIT, BSD, and GPL Licenses.
11
+ */
12
+ (function(A, w) {
13
+ 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) {
14
+ 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 ?
15
+ 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=
16
+ 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,
17
+ "&")}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=
18
+ 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/,
19
+ 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))&&
20
+ (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,
21
+ 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===
22
+ "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,
23
+ 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)||
24
+ 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",
25
+ 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,
26
+ "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 "+
27
+ 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],
28
+ 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]===
29
+ 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&&
30
+ !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=
31
+ 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'/>";
32
+ 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,
33
+ 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=
34
+ 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=
35
+ 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,
36
+ 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];
37
+ 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,
38
+ 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===
39
+ 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,
40
+ 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+" ",
41
+ 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]+" ",
42
+ " ");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=
43
+ 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=
44
+ 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=
45
+ 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");
46
+ 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,
47
+ 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(".");
48
+ 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),
49
+ 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!=
50
+ 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=
51
+ 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()&&
52
+ 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;
53
+ 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(" "),
54
+ 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||
55
+ 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,
56
+ "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=
57
+ 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,
58
+ 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=
59
+ {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")}};
60
+ 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",
61
+ 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,
62
+ "_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,
63
+ 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"&&
64
+ !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}},
65
+ 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,
66
+ 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(" "),
67
+ 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];
68
+ 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,
69
+ 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();
70
+ 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||
71
+ 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[];
72
+ 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-
73
+ 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-]|\\.)+)/,
74
+ 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")}},
75
+ 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]=
76
+ 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=[];
77
+ 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()},
78
+ 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,
79
+ 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)},
80
+ 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)}},
81
+ 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=
82
+ 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=
83
+ 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===
84
+ "="?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,
85
+ 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||
86
+ !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=
87
+ 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"&&
88
+ 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>";
89
+ 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}}();
90
+ (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)}:
91
+ 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)/,
92
+ 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;
93
+ 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=
94
+ {},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===
95
+ "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",
96
+ 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")?
97
+ 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===
98
+ 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)?
99
+ 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=
100
+ 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},
101
+ 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)})},
102
+ 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,
103
+ 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);
104
+ 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,
105
+ ""):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]&&
106
+ 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]||
107
+ 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===
108
+ 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]);
109
+ 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)||["",
110
+ ""])[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=
111
+ 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]?
112
+ 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=
113
+ 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=
114
+ 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,
115
+ "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=
116
+ 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=
117
+ 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!==
118
+ "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},
119
+ 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(" "),
120
+ 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,
121
+ 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&&
122
+ 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)?
123
+ "&":"?")+(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===
124
+ 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=
125
+ 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",
126
+ 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||
127
+ 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);
128
+ 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===
129
+ 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===
130
+ "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;
131
+ 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");
132
+ 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],
133
+ "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)},
134
+ 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=
135
+ 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([]);
136
+ 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===
137
+ "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]||
138
+ 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;
139
+ 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=
140
+ 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,
141
+ 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||
142
+ 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?
143
+ 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=
144
+ 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;
145
+ 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&&
146
+ 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>";
147
+ 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);
148
+ 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,
149
+ 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-
150
+ 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":
151
+ "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
152
+ 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);
153
+
154
+ jQuery.noConflict();