NoteStar 5 anni fa
parent
commit
5dbbe8bc76
100 ha cambiato i file con 10690 aggiunte e 6 eliminazioni
  1. 0 2
      appfront/theme/terry/theme01/assets/css/.gitignore
  2. 1 0
      appfront/theme/terry/theme01/assets/css/ie.css
  3. 0 0
      appfront/theme/terry/theme01/assets/css/ltie9.css
  4. 163 0
      appfront/theme/terry/theme01/assets/css/owl.carousel.css
  5. 2873 0
      appfront/theme/terry/theme01/assets/css/style.css
  6. 1790 0
      appfront/theme/terry/theme01/assets/elevatezoom/jquery.elevatezoom.js
  7. BIN
      appfront/theme/terry/theme01/assets/fancybox/blank.gif
  8. BIN
      appfront/theme/terry/theme01/assets/fancybox/fancybox_loading.gif
  9. BIN
      appfront/theme/terry/theme01/assets/fancybox/fancybox_loading@2x.gif
  10. BIN
      appfront/theme/terry/theme01/assets/fancybox/fancybox_overlay.png
  11. BIN
      appfront/theme/terry/theme01/assets/fancybox/fancybox_sprite.png
  12. BIN
      appfront/theme/terry/theme01/assets/fancybox/fancybox_sprite@2x.png
  13. BIN
      appfront/theme/terry/theme01/assets/fancybox/helpers/fancybox_buttons.png
  14. 97 0
      appfront/theme/terry/theme01/assets/fancybox/helpers/jquery.fancybox-buttons.css
  15. 122 0
      appfront/theme/terry/theme01/assets/fancybox/helpers/jquery.fancybox-buttons.js
  16. 201 0
      appfront/theme/terry/theme01/assets/fancybox/helpers/jquery.fancybox-media.js
  17. 55 0
      appfront/theme/terry/theme01/assets/fancybox/helpers/jquery.fancybox-thumbs.css
  18. 165 0
      appfront/theme/terry/theme01/assets/fancybox/helpers/jquery.fancybox-thumbs.js
  19. 275 0
      appfront/theme/terry/theme01/assets/fancybox/jquery.fancybox.css
  20. 2018 0
      appfront/theme/terry/theme01/assets/fancybox/jquery.fancybox.js
  21. 46 0
      appfront/theme/terry/theme01/assets/fancybox/jquery.fancybox.pack.js
  22. 0 2
      appfront/theme/terry/theme01/assets/image/.gitignore
  23. BIN
      appfront/theme/terry/theme01/assets/images/1.jpg
  24. BIN
      appfront/theme/terry/theme01/assets/images/16.jpg
  25. BIN
      appfront/theme/terry/theme01/assets/images/17.jpg
  26. BIN
      appfront/theme/terry/theme01/assets/images/18.jpg
  27. BIN
      appfront/theme/terry/theme01/assets/images/2.jpg
  28. BIN
      appfront/theme/terry/theme01/assets/images/3.jpg
  29. BIN
      appfront/theme/terry/theme01/assets/images/AjaxLoader.gif
  30. BIN
      appfront/theme/terry/theme01/assets/images/Star_0.png
  31. BIN
      appfront/theme/terry/theme01/assets/images/Star_1.png
  32. BIN
      appfront/theme/terry/theme01/assets/images/Star_2.png
  33. BIN
      appfront/theme/terry/theme01/assets/images/Star_3.png
  34. BIN
      appfront/theme/terry/theme01/assets/images/Star_4.png
  35. BIN
      appfront/theme/terry/theme01/assets/images/Star_5.png
  36. BIN
      appfront/theme/terry/theme01/assets/images/add_Close_hover.jpg
  37. BIN
      appfront/theme/terry/theme01/assets/images/add_save_hover.jpg
  38. BIN
      appfront/theme/terry/theme01/assets/images/bg_direction_nav2.png
  39. BIN
      appfront/theme/terry/theme01/assets/images/btn_trash.gif
  40. BIN
      appfront/theme/terry/theme01/assets/images/cart.gif
  41. BIN
      appfront/theme/terry/theme01/assets/images/checkbox.png
  42. BIN
      appfront/theme/terry/theme01/assets/images/cur.png
  43. BIN
      appfront/theme/terry/theme01/assets/images/en_.jpg
  44. BIN
      appfront/theme/terry/theme01/assets/images/en_a.jpg
  45. BIN
      appfront/theme/terry/theme01/assets/images/favourite.png
  46. BIN
      appfront/theme/terry/theme01/assets/images/fb.png
  47. BIN
      appfront/theme/terry/theme01/assets/images/footer_fixed.png
  48. BIN
      appfront/theme/terry/theme01/assets/images/free_en.jpg
  49. BIN
      appfront/theme/terry/theme01/assets/images/googole.png
  50. BIN
      appfront/theme/terry/theme01/assets/images/i_msg-error.gif
  51. BIN
      appfront/theme/terry/theme01/assets/images/i_msg-success.gif
  52. BIN
      appfront/theme/terry/theme01/assets/images/icon_like.png
  53. BIN
      appfront/theme/terry/theme01/assets/images/jj.png
  54. BIN
      appfront/theme/terry/theme01/assets/images/new.jpg
  55. BIN
      appfront/theme/terry/theme01/assets/images/paypaltopay.jpg
  56. BIN
      appfront/theme/terry/theme01/assets/images/pinter.png
  57. BIN
      appfront/theme/terry/theme01/assets/images/pp.png
  58. BIN
      appfront/theme/terry/theme01/assets/images/product_rating_big_blank_star.png
  59. BIN
      appfront/theme/terry/theme01/assets/images/product_rating_big_full_star.png
  60. BIN
      appfront/theme/terry/theme01/assets/images/sammy.jpg
  61. BIN
      appfront/theme/terry/theme01/assets/images/scart_step1.gif
  62. BIN
      appfront/theme/terry/theme01/assets/images/sign.png
  63. BIN
      appfront/theme/terry/theme01/assets/images/signloading.gif
  64. BIN
      appfront/theme/terry/theme01/assets/images/tag.png
  65. BIN
      appfront/theme/terry/theme01/assets/images/toptip.png
  66. BIN
      appfront/theme/terry/theme01/assets/images/twitter.png
  67. BIN
      appfront/theme/terry/theme01/assets/images/validation_advice_bg.gif
  68. BIN
      appfront/theme/terry/theme01/assets/images/vip.jpg
  69. 0 2
      appfront/theme/terry/theme01/assets/js/.gitignore
  70. 4 0
      appfront/theme/terry/theme01/assets/js/jquery-3.0.0.min.js
  71. 240 0
      appfront/theme/terry/theme01/assets/js/jquery.lazyload.js
  72. 3 0
      appfront/theme/terry/theme01/assets/js/jquery.lazyload.min.js
  73. 93 0
      appfront/theme/terry/theme01/assets/js/js.js
  74. 1517 0
      appfront/theme/terry/theme01/assets/js/owl.carousel.js
  75. 47 0
      appfront/theme/terry/theme01/assets/js/owl.carousel.min.js
  76. BIN
      appfront/theme/terry/theme01/assets/onestepcheckout/images/ajax-loader.gif
  77. BIN
      appfront/theme/terry/theme01/assets/onestepcheckout/images/button-background.png
  78. BIN
      appfront/theme/terry/theme01/assets/onestepcheckout/images/hm.png
  79. BIN
      appfront/theme/terry/theme01/assets/onestepcheckout/images/line-gradient.gif
  80. BIN
      appfront/theme/terry/theme01/assets/onestepcheckout/images/onestepcheckout-error.jpg
  81. BIN
      appfront/theme/terry/theme01/assets/onestepcheckout/images/onestepcheckout-numbers-1.gif
  82. BIN
      appfront/theme/terry/theme01/assets/onestepcheckout/images/onestepcheckout-numbers-1.png
  83. BIN
      appfront/theme/terry/theme01/assets/onestepcheckout/images/onestepcheckout-numbers-2.gif
  84. BIN
      appfront/theme/terry/theme01/assets/onestepcheckout/images/onestepcheckout-numbers-2.png
  85. BIN
      appfront/theme/terry/theme01/assets/onestepcheckout/images/onestepcheckout-numbers-3.gif
  86. BIN
      appfront/theme/terry/theme01/assets/onestepcheckout/images/onestepcheckout-numbers-3.png
  87. BIN
      appfront/theme/terry/theme01/assets/onestepcheckout/images/onestepcheckout-numbers-4.gif
  88. BIN
      appfront/theme/terry/theme01/assets/onestepcheckout/images/onestepcheckout-numbers-4.png
  89. BIN
      appfront/theme/terry/theme01/assets/onestepcheckout/images/onestepcheckout-place-order.png
  90. BIN
      appfront/theme/terry/theme01/assets/onestepcheckout/images/onestepcheckout-popup-footer.gif
  91. BIN
      appfront/theme/terry/theme01/assets/onestepcheckout/images/onestepcheckout-popup-footer.png
  92. BIN
      appfront/theme/terry/theme01/assets/onestepcheckout/images/onestepcheckout-popup-header.gif
  93. BIN
      appfront/theme/terry/theme01/assets/onestepcheckout/images/onestepcheckout-popup-header.png
  94. BIN
      appfront/theme/terry/theme01/assets/onestepcheckout/images/skin-magento/onestepcheckout-numbers-1.png
  95. BIN
      appfront/theme/terry/theme01/assets/onestepcheckout/images/skin-magento/onestepcheckout-numbers-2.png
  96. BIN
      appfront/theme/terry/theme01/assets/onestepcheckout/images/skin-magento/onestepcheckout-numbers-3.png
  97. BIN
      appfront/theme/terry/theme01/assets/onestepcheckout/images/skin-magento/onestepcheckout-numbers-4.png
  98. 822 0
      appfront/theme/terry/theme01/assets/onestepcheckout/onestepcheckout.css
  99. 158 0
      appfront/theme/terry/theme01/catalog/category/index.php
  100. 0 0
      appfront/theme/terry/theme01/catalog/category/index/filter/attr.php

+ 0 - 2
appfront/theme/terry/theme01/assets/css/.gitignore

@@ -1,2 +0,0 @@
-*
-!.gitignore

+ 1 - 0
appfront/theme/terry/theme01/assets/css/ie.css

@@ -0,0 +1 @@
+img{border:none;}

+ 0 - 0
appfront/theme/terry/theme01/assets/css/ltie9.css


+ 163 - 0
appfront/theme/terry/theme01/assets/css/owl.carousel.css

@@ -0,0 +1,163 @@
+/* 
+ * 	Core Owl Carousel CSS File
+ *	v1.3.3
+ */
+
+/* clearfix */
+.owl-carousel .owl-wrapper:after {
+	content: ".";
+	display: block;
+	clear: both;
+	visibility: hidden;
+	line-height: 0;
+	height: 0;
+}
+/* display none until init */
+.owl-carousel{
+	display: none;
+	position: relative;
+	width: 100%;
+	-ms-touch-action: pan-y;
+}
+.owl-carousel .owl-wrapper{
+	display: none;
+	position: relative;
+	-webkit-transform: translate3d(0px, 0px, 0px);
+}
+.owl-carousel .owl-wrapper-outer{
+	overflow: hidden;
+	position: relative;
+	width: 100%;
+}
+.owl-carousel .owl-wrapper-outer.autoHeight{
+	-webkit-transition: height 500ms ease-in-out;
+	-moz-transition: height 500ms ease-in-out;
+	-ms-transition: height 500ms ease-in-out;
+	-o-transition: height 500ms ease-in-out;
+	transition: height 500ms ease-in-out;
+}
+	
+.owl-carousel .owl-item{
+	float: left;
+}
+.owl-controls .owl-page,
+.owl-controls .owl-buttons div{
+	cursor: pointer;
+}
+.owl-controls {
+	-webkit-user-select: none;
+	-khtml-user-select: none;
+	-moz-user-select: none;
+	-ms-user-select: none;
+	user-select: none;
+	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
+}
+
+/* mouse grab icon */
+.grabbing { 
+    cursor:url(grabbing.png) 8 8, move;
+}
+
+/* fix */
+.owl-carousel  .owl-wrapper,
+.owl-carousel  .owl-item{
+	-webkit-backface-visibility: hidden;
+	-moz-backface-visibility:    hidden;
+	-ms-backface-visibility:     hidden;
+  -webkit-transform: translate3d(0,0,0);
+  -moz-transform: translate3d(0,0,0);
+  -ms-transform: translate3d(0,0,0);
+}
+
+/*
+* 	Owl Carousel Owl Demo Theme 
+*	v1.3.3
+*/
+
+.owl-theme .owl-controls{
+	margin-top: 10px;
+	text-align: center;
+}
+
+/* Styling Next and Prev buttons */
+
+.owl-theme .owl-controls .owl-buttons div{
+	background-image: url("../images/bg_direction_nav2.png");
+    background-repeat: no-repeat;
+    cursor: pointer;
+    display: block;
+    height: 58px;
+    margin: -29px 0 0;
+    position: absolute;
+    text-indent: -9999px;
+    top: 50%;
+    width: 28px;
+    z-index: 10;
+}
+.owl-carousel{overflow:hidden}
+
+.owl-theme .owl-controls .owl-buttons div.owl-prev{
+    background-position: 0 0;
+    left: -50px;
+}
+.owl-theme .owl-controls .owl-buttons div.owl-next{
+    background-position: -28px 0;
+    right: -50px;
+}
+.owl-theme:hover .owl-controls .owl-buttons div.owl-prev{left:0}
+
+.owl-theme:hover .owl-controls .owl-buttons div.owl-next{right:0}
+.owl-pagination{margin-top:-40px;}
+/* Clickable class fix problem with hover on touch devices */
+/* Use it for non-touch hover action */
+.owl-theme .owl-controls.clickable .owl-buttons div:hover{
+	filter: Alpha(Opacity=100);/*IE7 fix*/
+	opacity: 1;
+	text-decoration: none;
+}
+
+/* Styling Pagination*/
+
+.owl-theme .owl-controls .owl-page{
+	display: inline-block;
+	zoom: 1;
+	*display: inline;/*IE7 life-saver */
+}
+.owl-theme .owl-controls .owl-page span{
+	display: block;
+	width: 14px;
+	height: 14px;
+	margin: 5px 7px;
+	filter: Alpha(Opacity=50);/*IE7 fix*/
+	opacity: 0.5;
+	-webkit-border-radius: 20px;
+	-moz-border-radius: 20px;
+	border-radius: 20px;
+	background: #aaa;
+}
+
+.owl-theme .owl-controls .owl-page.active span,
+.owl-theme .owl-controls.clickable .owl-page:hover span{
+	background: #fff;
+	width: 14px;
+	height: 14px;
+}
+
+/* If PaginationNumbers is true */
+
+.owl-theme .owl-controls .owl-page span.owl-numbers{
+	height: auto;
+	width: auto;
+	color: #FFF;
+	padding: 2px 10px;
+	font-size: 12px;
+	-webkit-border-radius: 30px;
+	-moz-border-radius: 30px;
+	border-radius: 30px;
+}
+
+/* preloading images */
+.owl-item.loading{
+	min-height: 100px;
+	background: url(../images/AjaxLoader.gif) no-repeat center center
+}

File diff suppressed because it is too large
+ 2873 - 0
appfront/theme/terry/theme01/assets/css/style.css


File diff suppressed because it is too large
+ 1790 - 0
appfront/theme/terry/theme01/assets/elevatezoom/jquery.elevatezoom.js


BIN
appfront/theme/terry/theme01/assets/fancybox/blank.gif


BIN
appfront/theme/terry/theme01/assets/fancybox/fancybox_loading.gif


BIN
appfront/theme/terry/theme01/assets/fancybox/fancybox_loading@2x.gif


BIN
appfront/theme/terry/theme01/assets/fancybox/fancybox_overlay.png


BIN
appfront/theme/terry/theme01/assets/fancybox/fancybox_sprite.png


BIN
appfront/theme/terry/theme01/assets/fancybox/fancybox_sprite@2x.png


BIN
appfront/theme/terry/theme01/assets/fancybox/helpers/fancybox_buttons.png


+ 97 - 0
appfront/theme/terry/theme01/assets/fancybox/helpers/jquery.fancybox-buttons.css

@@ -0,0 +1,97 @@
+#fancybox-buttons {
+	position: fixed;
+	left: 0;
+	width: 100%;
+	z-index: 8050;
+}
+
+#fancybox-buttons.top {
+	top: 10px;
+}
+
+#fancybox-buttons.bottom {
+	bottom: 10px;
+}
+
+#fancybox-buttons ul {
+	display: block;
+	width: 166px;
+	height: 30px;
+	margin: 0 auto;
+	padding: 0;
+	list-style: none;
+	border: 1px solid #111;
+	border-radius: 3px;
+	-webkit-box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
+	   -moz-box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
+	        box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
+	background: rgb(50,50,50);
+	background: -moz-linear-gradient(top, rgb(68,68,68) 0%, rgb(52,52,52) 50%, rgb(41,41,41) 50%, rgb(51,51,51) 100%);
+	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgb(68,68,68)), color-stop(50%,rgb(52,52,52)), color-stop(50%,rgb(41,41,41)), color-stop(100%,rgb(51,51,51)));
+	background: -webkit-linear-gradient(top, rgb(68,68,68) 0%,rgb(52,52,52) 50%,rgb(41,41,41) 50%,rgb(51,51,51) 100%);
+	background: -o-linear-gradient(top, rgb(68,68,68) 0%,rgb(52,52,52) 50%,rgb(41,41,41) 50%,rgb(51,51,51) 100%);
+	background: -ms-linear-gradient(top, rgb(68,68,68) 0%,rgb(52,52,52) 50%,rgb(41,41,41) 50%,rgb(51,51,51) 100%);
+	background: linear-gradient(to bottom, rgb(68,68,68) 0%,rgb(52,52,52) 50%,rgb(41,41,41) 50%,rgb(51,51,51) 100%);
+	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#444444', endColorstr='#222222',GradientType=0 );
+}
+
+#fancybox-buttons ul li {
+	float: left;
+	margin: 0;
+	padding: 0;
+}
+
+#fancybox-buttons a {
+	display: block;
+	width: 30px;
+	height: 30px;
+	text-indent: -9999px;
+	background-color: transparent;
+	background-image: url('fancybox_buttons.png');
+	background-repeat: no-repeat;
+	outline: none;
+	opacity: 0.8;
+}
+
+#fancybox-buttons a:hover {
+	opacity: 1;
+}
+
+#fancybox-buttons a.btnPrev {
+	background-position: 5px 0;
+}
+
+#fancybox-buttons a.btnNext {
+	background-position: -33px 0;
+	border-right: 1px solid #3e3e3e;
+}
+
+#fancybox-buttons a.btnPlay {
+	background-position: 0 -30px;
+}
+
+#fancybox-buttons a.btnPlayOn {
+	background-position: -30px -30px;
+}
+
+#fancybox-buttons a.btnToggle {
+	background-position: 3px -60px;
+	border-left: 1px solid #111;
+	border-right: 1px solid #3e3e3e;
+	width: 35px
+}
+
+#fancybox-buttons a.btnToggleOn {
+	background-position: -27px -60px;
+}
+
+#fancybox-buttons a.btnClose {
+	border-left: 1px solid #111;
+	width: 35px;
+	background-position: -56px 0px;
+}
+
+#fancybox-buttons a.btnDisabled {
+	opacity : 0.4;
+	cursor: default;
+}

+ 122 - 0
appfront/theme/terry/theme01/assets/fancybox/helpers/jquery.fancybox-buttons.js

@@ -0,0 +1,122 @@
+ /*!
+ * Buttons helper for fancyBox
+ * version: 1.0.5 (Mon, 15 Oct 2012)
+ * @requires fancyBox v2.0 or later
+ *
+ * Usage:
+ *     $(".fancybox").fancybox({
+ *         helpers : {
+ *             buttons: {
+ *                 position : 'top'
+ *             }
+ *         }
+ *     });
+ *
+ */
+;(function ($) {
+	//Shortcut for fancyBox object
+	var F = $.fancybox;
+
+	//Add helper object
+	F.helpers.buttons = {
+		defaults : {
+			skipSingle : false, // disables if gallery contains single image
+			position   : 'top', // 'top' or 'bottom'
+			tpl        : '<div id="fancybox-buttons"><ul><li><a class="btnPrev" title="Previous" href="javascript:;"></a></li><li><a class="btnPlay" title="Start slideshow" href="javascript:;"></a></li><li><a class="btnNext" title="Next" href="javascript:;"></a></li><li><a class="btnToggle" title="Toggle size" href="javascript:;"></a></li><li><a class="btnClose" title="Close" href="javascript:;"></a></li></ul></div>'
+		},
+
+		list : null,
+		buttons: null,
+
+		beforeLoad: function (opts, obj) {
+			//Remove self if gallery do not have at least two items
+
+			if (opts.skipSingle && obj.group.length < 2) {
+				obj.helpers.buttons = false;
+				obj.closeBtn = true;
+
+				return;
+			}
+
+			//Increase top margin to give space for buttons
+			obj.margin[ opts.position === 'bottom' ? 2 : 0 ] += 30;
+		},
+
+		onPlayStart: function () {
+			if (this.buttons) {
+				this.buttons.play.attr('title', 'Pause slideshow').addClass('btnPlayOn');
+			}
+		},
+
+		onPlayEnd: function () {
+			if (this.buttons) {
+				this.buttons.play.attr('title', 'Start slideshow').removeClass('btnPlayOn');
+			}
+		},
+
+		afterShow: function (opts, obj) {
+			var buttons = this.buttons;
+
+			if (!buttons) {
+				this.list = $(opts.tpl).addClass(opts.position).appendTo('body');
+
+				buttons = {
+					prev   : this.list.find('.btnPrev').click( F.prev ),
+					next   : this.list.find('.btnNext').click( F.next ),
+					play   : this.list.find('.btnPlay').click( F.play ),
+					toggle : this.list.find('.btnToggle').click( F.toggle ),
+					close  : this.list.find('.btnClose').click( F.close )
+				}
+			}
+
+			//Prev
+			if (obj.index > 0 || obj.loop) {
+				buttons.prev.removeClass('btnDisabled');
+			} else {
+				buttons.prev.addClass('btnDisabled');
+			}
+
+			//Next / Play
+			if (obj.loop || obj.index < obj.group.length - 1) {
+				buttons.next.removeClass('btnDisabled');
+				buttons.play.removeClass('btnDisabled');
+
+			} else {
+				buttons.next.addClass('btnDisabled');
+				buttons.play.addClass('btnDisabled');
+			}
+
+			this.buttons = buttons;
+
+			this.onUpdate(opts, obj);
+		},
+
+		onUpdate: function (opts, obj) {
+			var toggle;
+
+			if (!this.buttons) {
+				return;
+			}
+
+			toggle = this.buttons.toggle.removeClass('btnDisabled btnToggleOn');
+
+			//Size toggle button
+			if (obj.canShrink) {
+				toggle.addClass('btnToggleOn');
+
+			} else if (!obj.canExpand) {
+				toggle.addClass('btnDisabled');
+			}
+		},
+
+		beforeClose: function () {
+			if (this.list) {
+				this.list.remove();
+			}
+
+			this.list    = null;
+			this.buttons = null;
+		}
+	};
+
+}(jQuery));

+ 201 - 0
appfront/theme/terry/theme01/assets/fancybox/helpers/jquery.fancybox-media.js

@@ -0,0 +1,201 @@
+/*!
+ * Media helper for fancyBox
+ * version: 1.0.6 (Fri, 14 Jun 2013)
+ * @requires fancyBox v2.0 or later
+ *
+ * Usage:
+ *     $(".fancybox").fancybox({
+ *         helpers : {
+ *             media: true
+ *         }
+ *     });
+ *
+ * Set custom URL parameters:
+ *     $(".fancybox").fancybox({
+ *         helpers : {
+ *             media: {
+ *                 youtube : {
+ *                     params : {
+ *                         autoplay : 0
+ *                     }
+ *                 }
+ *             }
+ *         }
+ *     });
+ *
+ * Or:
+ *     $(".fancybox").fancybox({,
+ *         helpers : {
+ *             media: true
+ *         },
+ *         youtube : {
+ *             autoplay: 0
+ *         }
+ *     });
+ *
+ *  Supports:
+ *
+ *      Youtube
+ *          http://www.youtube.com/watch?v=opj24KnzrWo
+ *          http://www.youtube.com/embed/opj24KnzrWo
+ *          http://youtu.be/opj24KnzrWo
+ *			http://www.youtube-nocookie.com/embed/opj24KnzrWo
+ *      Vimeo
+ *          http://vimeo.com/40648169
+ *          http://vimeo.com/channels/staffpicks/38843628
+ *          http://vimeo.com/groups/surrealism/videos/36516384
+ *          http://player.vimeo.com/video/45074303
+ *      Metacafe
+ *          http://www.metacafe.com/watch/7635964/dr_seuss_the_lorax_movie_trailer/
+ *          http://www.metacafe.com/watch/7635964/
+ *      Dailymotion
+ *          http://www.dailymotion.com/video/xoytqh_dr-seuss-the-lorax-premiere_people
+ *      Twitvid
+ *          http://twitvid.com/QY7MD
+ *      Twitpic
+ *          http://twitpic.com/7p93st
+ *      Instagram
+ *          http://instagr.am/p/IejkuUGxQn/
+ *          http://instagram.com/p/IejkuUGxQn/
+ *      Google maps
+ *          http://maps.google.com/maps?q=Eiffel+Tower,+Avenue+Gustave+Eiffel,+Paris,+France&t=h&z=17
+ *          http://maps.google.com/?ll=48.857995,2.294297&spn=0.007666,0.021136&t=m&z=16
+ *          http://maps.google.com/?ll=48.859463,2.292626&spn=0.000965,0.002642&t=m&z=19&layer=c&cbll=48.859524,2.292532&panoid=YJ0lq28OOy3VT2IqIuVY0g&cbp=12,151.58,,0,-15.56
+ */
+;(function ($) {
+	"use strict";
+
+	//Shortcut for fancyBox object
+	var F = $.fancybox,
+		format = function( url, rez, params ) {
+			params = params || '';
+
+			if ( $.type( params ) === "object" ) {
+				params = $.param(params, true);
+			}
+
+			$.each(rez, function(key, value) {
+				url = url.replace( '$' + key, value || '' );
+			});
+
+			if (params.length) {
+				url += ( url.indexOf('?') > 0 ? '&' : '?' ) + params;
+			}
+
+			return url;
+		};
+
+	//Add helper object
+	F.helpers.media = {
+		defaults : {
+			youtube : {
+				matcher : /(youtube\.com|youtu\.be|youtube-nocookie\.com)\/(watch\?v=|v\/|u\/|embed\/?)?(videoseries\?list=(.*)|[\w-]{11}|\?listType=(.*)&list=(.*)).*/i,
+				params  : {
+					autoplay    : 1,
+					autohide    : 1,
+					fs          : 1,
+					rel         : 0,
+					hd          : 1,
+					wmode       : 'opaque',
+					enablejsapi : 1,
+                    			ps: 'docs',
+                    			controls: 1
+				},
+				type : 'iframe',
+				url  : '//www.youtube.com/embed/$3'
+			},
+			vimeo : {
+				matcher : /(?:vimeo(?:pro)?.com)\/(?:[^\d]+)?(\d+)(?:.*)/,
+				params  : {
+					autoplay      : 1,
+					hd            : 1,
+					show_title    : 1,
+					show_byline   : 1,
+					show_portrait : 0,
+					fullscreen    : 1
+				},
+				type : 'iframe',
+				url  : '//player.vimeo.com/video/$1'
+			},
+			metacafe : {
+				matcher : /metacafe.com\/(?:watch|fplayer)\/([\w\-]{1,10})/,
+				params  : {
+					autoPlay : 'yes'
+				},
+				type : 'swf',
+				url  : function( rez, params, obj ) {
+					obj.swf.flashVars = 'playerVars=' + $.param( params, true );
+
+					return '//www.metacafe.com/fplayer/' + rez[1] + '/.swf';
+				}
+			},
+			dailymotion : {
+				matcher : /dailymotion.com\/video\/(.*)\/?(.*)/,
+				params  : {
+					additionalInfos : 0,
+					autoStart : 1
+				},
+				type : 'swf',
+				url  : '//www.dailymotion.com/swf/video/$1'
+			},
+			twitvid : {
+				matcher : /twitvid\.com\/([a-zA-Z0-9_\-\?\=]+)/i,
+				params  : {
+					autoplay : 0
+				},
+				type : 'iframe',
+				url  : '//www.twitvid.com/embed.php?guid=$1'
+			},
+			twitpic : {
+				matcher : /twitpic\.com\/(?!(?:place|photos|events)\/)([a-zA-Z0-9\?\=\-]+)/i,
+				type : 'image',
+				url  : '//twitpic.com/show/full/$1/'
+			},
+			instagram : {
+				matcher : /(instagr\.am|instagram\.com)\/p\/([a-zA-Z0-9_\-]+)\/?/i,
+				type : 'image',
+				url  : '//$1/p/$2/media/?size=l'
+			},
+			google_maps : {
+				matcher : /maps\.google\.([a-z]{2,3}(\.[a-z]{2})?)\/(\?ll=|maps\?)(.*)/i,
+				type : 'iframe',
+				url  : function( rez ) {
+					return '//maps.google.' + rez[1] + '/' + rez[3] + '' + rez[4] + '&output=' + (rez[4].indexOf('layer=c') > 0 ? 'svembed' : 'embed');
+				}
+			}
+		},
+
+		beforeLoad : function(opts, obj) {
+			var url   = obj.href || '',
+				type  = false,
+				what,
+				item,
+				rez,
+				params;
+
+			for (what in opts) {
+				if (opts.hasOwnProperty(what)) {
+					item = opts[ what ];
+					rez  = url.match( item.matcher );
+
+					if (rez) {
+						type   = item.type;
+						params = $.extend(true, {}, item.params, obj[ what ] || ($.isPlainObject(opts[ what ]) ? opts[ what ].params : null));
+
+						url = $.type( item.url ) === "function" ? item.url.call( this, rez, params, obj ) : format( item.url, rez, params );
+
+						break;
+					}
+				}
+			}
+
+			if (type) {
+				obj.href = url;
+				obj.type = type;
+
+				obj.autoHeight = false;
+			}
+		}
+	};
+
+}(jQuery));

+ 55 - 0
appfront/theme/terry/theme01/assets/fancybox/helpers/jquery.fancybox-thumbs.css

@@ -0,0 +1,55 @@
+#fancybox-thumbs {
+	position: fixed;
+	left: 0;
+	width: 100%;
+	overflow: hidden;
+	z-index: 8050;
+}
+
+#fancybox-thumbs.bottom {
+	bottom: 2px;
+}
+
+#fancybox-thumbs.top {
+	top: 2px;
+}
+
+#fancybox-thumbs ul {
+	position: relative;
+	list-style: none;
+	margin: 0;
+	padding: 0;
+}
+
+#fancybox-thumbs ul li {
+	float: left;
+	padding: 1px;
+	opacity: 0.5;
+}
+
+#fancybox-thumbs ul li.active {
+	opacity: 0.75;
+	padding: 0;
+	border: 1px solid #fff;
+}
+
+#fancybox-thumbs ul li:hover {
+	opacity: 1;
+}
+
+#fancybox-thumbs ul li a {
+	display: block;
+	position: relative;
+	overflow: hidden;
+	border: 1px solid #222;
+	background: #111;
+	outline: none;
+}
+
+#fancybox-thumbs ul li img {
+	display: block;
+	position: relative;
+	border: 0;
+	padding: 0;
+	max-width: none;
+}

+ 165 - 0
appfront/theme/terry/theme01/assets/fancybox/helpers/jquery.fancybox-thumbs.js

@@ -0,0 +1,165 @@
+ /*!
+ * Thumbnail helper for fancyBox
+ * version: 1.0.7 (Mon, 01 Oct 2012)
+ * @requires fancyBox v2.0 or later
+ *
+ * Usage:
+ *     $(".fancybox").fancybox({
+ *         helpers : {
+ *             thumbs: {
+ *                 width  : 50,
+ *                 height : 50
+ *             }
+ *         }
+ *     });
+ *
+ */
+;(function ($) {
+	//Shortcut for fancyBox object
+	var F = $.fancybox;
+
+	//Add helper object
+	F.helpers.thumbs = {
+		defaults : {
+			width    : 50,       // thumbnail width
+			height   : 50,       // thumbnail height
+			position : 'bottom', // 'top' or 'bottom'
+			source   : function ( item ) {  // function to obtain the URL of the thumbnail image
+				var href;
+
+				if (item.element) {
+					href = $(item.element).find('img').attr('src');
+				}
+
+				if (!href && item.type === 'image' && item.href) {
+					href = item.href;
+				}
+
+				return href;
+			}
+		},
+
+		wrap  : null,
+		list  : null,
+		width : 0,
+
+		init: function (opts, obj) {
+			var that = this,
+				list,
+				thumbWidth  = opts.width,
+				thumbHeight = opts.height,
+				thumbSource = opts.source;
+
+			//Build list structure
+			list = '';
+
+			for (var n = 0; n < obj.group.length; n++) {
+				list += '<li><a style="width:' + thumbWidth + 'px;height:' + thumbHeight + 'px;" href="javascript:jQuery.fancybox.jumpto(' + n + ');"></a></li>';
+			}
+
+			this.wrap = $('<div id="fancybox-thumbs"></div>').addClass(opts.position).appendTo('body');
+			this.list = $('<ul>' + list + '</ul>').appendTo(this.wrap);
+
+			//Load each thumbnail
+			$.each(obj.group, function (i) {
+				var el   = obj.group[ i ],
+					href = thumbSource( el );
+
+				if (!href) {
+					return;
+				}
+
+				$("<img />").load(function () {
+					var width  = this.width,
+						height = this.height,
+						widthRatio, heightRatio, parent;
+
+					if (!that.list || !width || !height) {
+						return;
+					}
+
+					//Calculate thumbnail width/height and center it
+					widthRatio  = width / thumbWidth;
+					heightRatio = height / thumbHeight;
+
+					parent = that.list.children().eq(i).find('a');
+
+					if (widthRatio >= 1 && heightRatio >= 1) {
+						if (widthRatio > heightRatio) {
+							width  = Math.floor(width / heightRatio);
+							height = thumbHeight;
+
+						} else {
+							width  = thumbWidth;
+							height = Math.floor(height / widthRatio);
+						}
+					}
+
+					$(this).css({
+						width  : width,
+						height : height,
+						top    : Math.floor(thumbHeight / 2 - height / 2),
+						left   : Math.floor(thumbWidth / 2 - width / 2)
+					});
+
+					parent.width(thumbWidth).height(thumbHeight);
+
+					$(this).hide().appendTo(parent).fadeIn(300);
+
+				})
+				.attr('src',   href)
+				.attr('title', el.title);
+			});
+
+			//Set initial width
+			this.width = this.list.children().eq(0).outerWidth(true);
+
+			this.list.width(this.width * (obj.group.length + 1)).css('left', Math.floor($(window).width() * 0.5 - (obj.index * this.width + this.width * 0.5)));
+		},
+
+		beforeLoad: function (opts, obj) {
+			//Remove self if gallery do not have at least two items
+			if (obj.group.length < 2) {
+				obj.helpers.thumbs = false;
+
+				return;
+			}
+
+			//Increase bottom margin to give space for thumbs
+			obj.margin[ opts.position === 'top' ? 0 : 2 ] += ((opts.height) + 15);
+		},
+
+		afterShow: function (opts, obj) {
+			//Check if exists and create or update list
+			if (this.list) {
+				this.onUpdate(opts, obj);
+
+			} else {
+				this.init(opts, obj);
+			}
+
+			//Set active element
+			this.list.children().removeClass('active').eq(obj.index).addClass('active');
+		},
+
+		//Center list
+		onUpdate: function (opts, obj) {
+			if (this.list) {
+				this.list.stop(true).animate({
+					'left': Math.floor($(window).width() * 0.5 - (obj.index * this.width + this.width * 0.5))
+				}, 150);
+			}
+		},
+
+		beforeClose: function () {
+			if (this.wrap) {
+				this.wrap.remove();
+			}
+
+			this.wrap  = null;
+			this.list  = null;
+			this.width = 0;
+		}
+	}
+
+}(jQuery));

+ 275 - 0
appfront/theme/terry/theme01/assets/fancybox/jquery.fancybox.css

@@ -0,0 +1,275 @@
+/*! fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancybox/#license */
+.fancybox-wrap,
+.fancybox-skin,
+.fancybox-outer,
+.fancybox-inner,
+.fancybox-image,
+.fancybox-wrap iframe,
+.fancybox-wrap object,
+.fancybox-nav,
+.fancybox-nav span,
+.fancybox-tmp
+{
+	padding: 0;
+	margin: 0;
+	border: 0;
+	outline: none;
+	vertical-align: top;
+}
+
+.fancybox-wrap {
+	position: absolute;
+	top: 0;
+	left: 0;
+	-webkit-transform: translate3d(0, 0, 0);
+	transform: translate3d(0, 0, 0);
+	z-index: 8020;
+}
+
+.fancybox-skin {
+	position: relative;
+	background: #f9f9f9;
+	color: #444;
+	text-shadow: none;
+	-webkit-border-radius: 4px;
+	   -moz-border-radius: 4px;
+	        border-radius: 4px;
+}
+
+.fancybox-opened {
+	z-index: 8030;
+}
+
+.fancybox-opened .fancybox-skin {
+	-webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
+	   -moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
+	        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
+}
+
+.fancybox-outer, .fancybox-inner {
+	position: relative;
+}
+
+.fancybox-inner {
+	overflow: hidden;
+}
+
+.fancybox-type-iframe .fancybox-inner {
+	-webkit-overflow-scrolling: touch;
+}
+
+.fancybox-error {
+	color: #444;
+	font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
+	margin: 0;
+	padding: 15px;
+	white-space: nowrap;
+}
+
+.fancybox-image, .fancybox-iframe {
+	display: block;
+	width: 100%;
+	height: 100%;
+}
+
+.fancybox-image {
+	max-width: 100%;
+	max-height: 100%;
+}
+
+#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
+	background-image: url(fancybox_sprite.png);
+}
+
+#fancybox-loading {
+	position: fixed;
+	top: 50%;
+	left: 50%;
+	margin-top: -22px;
+	margin-left: -22px;
+	background-position: 0 -108px;
+	opacity: 0.8;
+	cursor: pointer;
+	z-index: 8060;
+}
+
+#fancybox-loading div {
+	width: 44px;
+	height: 44px;
+	background: url(fancybox_loading.gif) center center no-repeat;
+}
+
+.fancybox-close {
+	position: absolute;
+	top: -18px;
+	right: -18px;
+	width: 36px;
+	height: 36px;
+	cursor: pointer;
+	z-index: 8040;
+}
+
+.fancybox-nav {
+	position: absolute;
+	top: 0;
+	width: 40%;
+	height: 100%;
+	cursor: pointer;
+	text-decoration: none;
+	background: transparent url(blank.gif); /* helps IE */
+	-webkit-tap-highlight-color: rgba(0,0,0,0);
+	z-index: 8040;
+}
+
+.fancybox-prev {
+	left: 0;
+}
+
+.fancybox-next {
+	right: 0;
+}
+
+.fancybox-nav span {
+	position: absolute;
+	top: 50%;
+	width: 36px;
+	height: 34px;
+	margin-top: -18px;
+	cursor: pointer;
+	z-index: 8040;
+	visibility: hidden;
+}
+
+.fancybox-prev span {
+	left: 10px;
+	background-position: 0 -36px;
+}
+
+.fancybox-next span {
+	right: 10px;
+	background-position: 0 -72px;
+}
+
+.fancybox-nav:hover span {
+	visibility: visible;
+}
+
+.fancybox-tmp {
+	position: absolute;
+	top: -99999px;
+	left: -99999px;
+	max-width: 99999px;
+	max-height: 99999px;
+	overflow: visible !important;
+}
+
+/* Overlay helper */
+
+.fancybox-lock {
+    overflow: visible !important;
+    width: auto;
+}
+
+.fancybox-lock body {
+    overflow: hidden !important;
+}
+
+.fancybox-lock-test {
+    overflow-y: hidden !important;
+}
+
+.fancybox-overlay {
+	position: absolute;
+	top: 0;
+	left: 0;
+	overflow: hidden;
+	display: none;
+	z-index: 8010;
+	background: url(fancybox_overlay.png);
+}
+
+.fancybox-overlay-fixed {
+	position: fixed;
+	bottom: 0;
+	right: 0;
+}
+
+.fancybox-lock .fancybox-overlay {
+	overflow: auto;
+	overflow-y: scroll;
+}
+
+/* Title helper */
+
+.fancybox-title {
+	visibility: hidden;
+	font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
+	position: relative;
+	text-shadow: none;
+	z-index: 8050;
+}
+
+.fancybox-opened .fancybox-title {
+	visibility: visible;
+}
+
+.fancybox-title-float-wrap {
+	position: absolute;
+	bottom: 0;
+	right: 50%;
+	margin-bottom: -35px;
+	z-index: 8050;
+	text-align: center;
+}
+
+.fancybox-title-float-wrap .child {
+	display: inline-block;
+	margin-right: -100%;
+	padding: 2px 20px;
+	background: transparent; /* Fallback for web browsers that doesn't support RGBa */
+	background: rgba(0, 0, 0, 0.8);
+	-webkit-border-radius: 15px;
+	   -moz-border-radius: 15px;
+	        border-radius: 15px;
+	text-shadow: 0 1px 2px #222;
+	color: #FFF;
+	font-weight: bold;
+	line-height: 24px;
+	white-space: nowrap;
+}
+
+.fancybox-title-outside-wrap {
+	position: relative;
+	margin-top: 10px;
+	color: #fff;
+}
+
+.fancybox-title-inside-wrap {
+	padding-top: 10px;
+}
+
+.fancybox-title-over-wrap {
+	position: absolute;
+	bottom: 0;
+	left: 0;
+	color: #fff;
+	padding: 10px;
+	background: #000;
+	background: rgba(0, 0, 0, .8);
+}
+
+/*Retina graphics!*/
+@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
+	   only screen and (min--moz-device-pixel-ratio: 1.5),
+	   only screen and (min-device-pixel-ratio: 1.5){
+
+	#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
+		background-image: url(fancybox_sprite@2x.png);
+		background-size: 44px 152px; /*The size of the normal image, half the size of the hi-res image*/
+	}
+
+	#fancybox-loading div {
+		background-image: url(fancybox_loading@2x.gif);
+		background-size: 24px 24px; /*The size of the normal image, half the size of the hi-res image*/
+	}
+}

File diff suppressed because it is too large
+ 2018 - 0
appfront/theme/terry/theme01/assets/fancybox/jquery.fancybox.js


File diff suppressed because it is too large
+ 46 - 0
appfront/theme/terry/theme01/assets/fancybox/jquery.fancybox.pack.js


+ 0 - 2
appfront/theme/terry/theme01/assets/image/.gitignore

@@ -1,2 +0,0 @@
-*
-!.gitignore

BIN
appfront/theme/terry/theme01/assets/images/1.jpg


BIN
appfront/theme/terry/theme01/assets/images/16.jpg


BIN
appfront/theme/terry/theme01/assets/images/17.jpg


BIN
appfront/theme/terry/theme01/assets/images/18.jpg


BIN
appfront/theme/terry/theme01/assets/images/2.jpg


BIN
appfront/theme/terry/theme01/assets/images/3.jpg


BIN
appfront/theme/terry/theme01/assets/images/AjaxLoader.gif


BIN
appfront/theme/terry/theme01/assets/images/Star_0.png


BIN
appfront/theme/terry/theme01/assets/images/Star_1.png


BIN
appfront/theme/terry/theme01/assets/images/Star_2.png


BIN
appfront/theme/terry/theme01/assets/images/Star_3.png


BIN
appfront/theme/terry/theme01/assets/images/Star_4.png


BIN
appfront/theme/terry/theme01/assets/images/Star_5.png


BIN
appfront/theme/terry/theme01/assets/images/add_Close_hover.jpg


BIN
appfront/theme/terry/theme01/assets/images/add_save_hover.jpg


BIN
appfront/theme/terry/theme01/assets/images/bg_direction_nav2.png


BIN
appfront/theme/terry/theme01/assets/images/btn_trash.gif


BIN
appfront/theme/terry/theme01/assets/images/cart.gif


BIN
appfront/theme/terry/theme01/assets/images/checkbox.png


BIN
appfront/theme/terry/theme01/assets/images/cur.png


BIN
appfront/theme/terry/theme01/assets/images/en_.jpg


BIN
appfront/theme/terry/theme01/assets/images/en_a.jpg


BIN
appfront/theme/terry/theme01/assets/images/favourite.png


BIN
appfront/theme/terry/theme01/assets/images/fb.png


BIN
appfront/theme/terry/theme01/assets/images/footer_fixed.png


BIN
appfront/theme/terry/theme01/assets/images/free_en.jpg


BIN
appfront/theme/terry/theme01/assets/images/googole.png


BIN
appfront/theme/terry/theme01/assets/images/i_msg-error.gif


BIN
appfront/theme/terry/theme01/assets/images/i_msg-success.gif


BIN
appfront/theme/terry/theme01/assets/images/icon_like.png


BIN
appfront/theme/terry/theme01/assets/images/jj.png


BIN
appfront/theme/terry/theme01/assets/images/new.jpg


BIN
appfront/theme/terry/theme01/assets/images/paypaltopay.jpg


BIN
appfront/theme/terry/theme01/assets/images/pinter.png


BIN
appfront/theme/terry/theme01/assets/images/pp.png


BIN
appfront/theme/terry/theme01/assets/images/product_rating_big_blank_star.png


BIN
appfront/theme/terry/theme01/assets/images/product_rating_big_full_star.png


BIN
appfront/theme/terry/theme01/assets/images/sammy.jpg


BIN
appfront/theme/terry/theme01/assets/images/scart_step1.gif


BIN
appfront/theme/terry/theme01/assets/images/sign.png


BIN
appfront/theme/terry/theme01/assets/images/signloading.gif


BIN
appfront/theme/terry/theme01/assets/images/tag.png


BIN
appfront/theme/terry/theme01/assets/images/toptip.png


BIN
appfront/theme/terry/theme01/assets/images/twitter.png


BIN
appfront/theme/terry/theme01/assets/images/validation_advice_bg.gif


BIN
appfront/theme/terry/theme01/assets/images/vip.jpg


+ 0 - 2
appfront/theme/terry/theme01/assets/js/.gitignore

@@ -1,2 +0,0 @@
-*
-!.gitignore

File diff suppressed because it is too large
+ 4 - 0
appfront/theme/terry/theme01/assets/js/jquery-3.0.0.min.js


+ 240 - 0
appfront/theme/terry/theme01/assets/js/jquery.lazyload.js

@@ -0,0 +1,240 @@
+/*!
+ * Lazy Load - jQuery plugin for lazy loading images
+ *
+ * Copyright (c) 2007-2015 Mika Tuupola
+ *
+ * Licensed under the MIT license:
+ *   http://www.opensource.org/licenses/mit-license.php
+ *
+ * Project home:
+ *   http://www.appelsiini.net/projects/lazyload
+ *
+ * Version:  1.9.7
+ *
+ */
+(function($, window, document, undefined) {
+    var $window = $(window);
+
+    $.fn.lazyload = function(options) {
+        var elements = this;
+        var $container;
+        var settings = {
+            threshold       : 0,
+            failure_limit   : 0,
+            event           : "scroll",
+            effect          : "show",
+            container       : window,
+            data_attribute  : "original",
+            skip_invisible  : false,
+            appear          : null,
+            load            : null,
+            placeholder     : "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB/AAffA0nNPuCLAAAAAElFTkSuQmCC"
+        };
+
+        function update() {
+            var counter = 0;
+
+            elements.each(function() {
+                var $this = $(this);
+                if (settings.skip_invisible && !$this.is(":visible")) {
+                    return;
+                }
+                if ($.abovethetop(this, settings) ||
+                    $.leftofbegin(this, settings)) {
+                        /* Nothing. */
+                } else if (!$.belowthefold(this, settings) &&
+                    !$.rightoffold(this, settings)) {
+                        $this.trigger("appear");
+                        /* if we found an image we'll load, reset the counter */
+                        counter = 0;
+                } else {
+                    if (++counter > settings.failure_limit) {
+                        return false;
+                    }
+                }
+            });
+
+        }
+
+        if(options) {
+            /* Maintain BC for a couple of versions. */
+            if (undefined !== options.failurelimit) {
+                options.failure_limit = options.failurelimit;
+                delete options.failurelimit;
+            }
+            if (undefined !== options.effectspeed) {
+                options.effect_speed = options.effectspeed;
+                delete options.effectspeed;
+            }
+
+            $.extend(settings, options);
+        }
+
+        /* Cache container as jQuery as object. */
+        $container = (settings.container === undefined ||
+                      settings.container === window) ? $window : $(settings.container);
+
+        /* Fire one scroll event per scroll. Not one scroll event per image. */
+        if (0 === settings.event.indexOf("scroll")) {
+            $container.on(settings.event, function() {
+                return update();
+            });
+        }
+
+        this.each(function() {
+            var self = this;
+            var $self = $(self);
+
+            self.loaded = false;
+
+            /* If no src attribute given use data:uri. */
+            if ($self.attr("src") === undefined || $self.attr("src") === false) {
+                if ($self.is("img")) {
+                    $self.attr("src", settings.placeholder);
+                }
+            }
+
+            /* When appear is triggered load original image. */
+            $self.one("appear", function() {
+                if (!this.loaded) {
+                    if (settings.appear) {
+                        var elements_left = elements.length;
+                        settings.appear.call(self, elements_left, settings);
+                    }
+                    $("<img />")
+                        .one("load", function() {
+                            var original = $self.attr("data-" + settings.data_attribute);
+                            $self.hide();
+                            if ($self.is("img")) {
+                                $self.attr("src", original);
+                            } else {
+                                $self.css("background-image", "url('" + original + "')");
+                            }
+                            $self[settings.effect](settings.effect_speed);
+
+                            self.loaded = true;
+
+                            /* Remove image from array so it is not looped next time. */
+                            var temp = $.grep(elements, function(element) {
+                                return !element.loaded;
+                            });
+                            elements = $(temp);
+
+                            if (settings.load) {
+                                var elements_left = elements.length;
+                                settings.load.call(self, elements_left, settings);
+                            }
+                        })
+                        .attr("src", $self.attr("data-" + settings.data_attribute));
+                }
+            });
+
+            /* When wanted event is triggered load original image */
+            /* by triggering appear.                              */
+            if (0 !== settings.event.indexOf("scroll")) {
+                $self.on(settings.event, function() {
+                    if (!self.loaded) {
+                        $self.trigger("appear");
+                    }
+                });
+            }
+        });
+
+        /* Check if something appears when window is resized. */
+        $window.on("resize", function() {
+            update();
+        });
+
+        /* With IOS5 force loading images when navigating with back button. */
+        /* Non optimal workaround. */
+        if ((/(?:iphone|ipod|ipad).*os 5/gi).test(navigator.appVersion)) {
+            $window.on("pageshow", function(event) {
+                if (event.originalEvent && event.originalEvent.persisted) {
+                    elements.each(function() {
+                        $(this).trigger("appear");
+                    });
+                }
+            });
+        }
+
+        /* Force initial check if images should appear. */
+        $(document).ready(function() {
+            update();
+        });
+
+        return this;
+    };
+
+    /* Convenience methods in jQuery namespace.           */
+    /* Use as  $.belowthefold(element, {threshold : 100, container : window}) */
+
+    $.belowthefold = function(element, settings) {
+        var fold;
+
+        if (settings.container === undefined || settings.container === window) {
+            fold = (window.innerHeight ? window.innerHeight : $window.height()) + $window.scrollTop();
+        } else {
+            fold = $(settings.container).offset().top + $(settings.container).height();
+        }
+
+        return fold <= $(element).offset().top - settings.threshold;
+    };
+
+    $.rightoffold = function(element, settings) {
+        var fold;
+
+        if (settings.container === undefined || settings.container === window) {
+            fold = $window.width() + $window.scrollLeft();
+        } else {
+            fold = $(settings.container).offset().left + $(settings.container).width();
+        }
+
+        return fold <= $(element).offset().left - settings.threshold;
+    };
+
+    $.abovethetop = function(element, settings) {
+        var fold;
+
+        if (settings.container === undefined || settings.container === window) {
+            fold = $window.scrollTop();
+        } else {
+            fold = $(settings.container).offset().top;
+        }
+
+        return fold >= $(element).offset().top + settings.threshold  + $(element).height();
+    };
+
+    $.leftofbegin = function(element, settings) {
+        var fold;
+
+        if (settings.container === undefined || settings.container === window) {
+            fold = $window.scrollLeft();
+        } else {
+            fold = $(settings.container).offset().left;
+        }
+
+        return fold >= $(element).offset().left + settings.threshold + $(element).width();
+    };
+
+    $.inviewport = function(element, settings) {
+         return !$.rightoffold(element, settings) && !$.leftofbegin(element, settings) &&
+                !$.belowthefold(element, settings) && !$.abovethetop(element, settings);
+     };
+
+    /* Custom selectors for your convenience.   */
+    /* Use as $("img:below-the-fold").something() or */
+    /* $("img").filter(":below-the-fold").something() which is faster */
+
+    $.extend($.expr[":"], {
+        "below-the-fold" : function(a) { return $.belowthefold(a, {threshold : 0}); },
+        "above-the-top"  : function(a) { return !$.belowthefold(a, {threshold : 0}); },
+        "right-of-screen": function(a) { return $.rightoffold(a, {threshold : 0}); },
+        "left-of-screen" : function(a) { return !$.rightoffold(a, {threshold : 0}); },
+        "in-viewport"    : function(a) { return $.inviewport(a, {threshold : 0}); },
+        /* Maintain BC for couple of versions. */
+        "above-the-fold" : function(a) { return !$.belowthefold(a, {threshold : 0}); },
+        "right-of-fold"  : function(a) { return $.rightoffold(a, {threshold : 0}); },
+        "left-of-fold"   : function(a) { return !$.rightoffold(a, {threshold : 0}); }
+    });
+
+})(jQuery, window, document);

File diff suppressed because it is too large
+ 3 - 0
appfront/theme/terry/theme01/assets/js/jquery.lazyload.min.js


+ 93 - 0
appfront/theme/terry/theme01/assets/js/js.js

@@ -0,0 +1,93 @@
+$(document).ready(function(){
+	currentBaseUrl = $(".currentBaseUrl").val();
+	$(".top_currency .currency_list ul li").click(function(){
+		currency = $(this).attr("rel");
+		
+		htmlobj=$.ajax({url:currentBaseUrl+"/cms/home/changecurrency?currency="+currency,async:false});
+		//alert(htmlobj.responseText);
+		location.reload() ;
+	});
+	$(".top_lang .store_lang").click(function(){
+		//http = document.location.protocol+"://";
+		currentStore = $(".current_lang").attr("rel");
+		changeStore = $(this).attr("rel");
+		currentUrl = window.location.href;
+		redirectUrl = currentUrl.replace("://"+currentStore,"://"+changeStore);
+		//alert(redirectUrl);
+		//alert(2);
+		location.href=redirectUrl;
+	});
+	
+	// ajax get account login info
+	
+	loginInfoUrl = currentBaseUrl+"/customer/ajax";
+	logoutUrl 	 = $(".logoutUrl").val();
+	product_id   = $(".product_view_id").val();
+	product_id	 = product_id ? product_id : null;
+	jQuery.ajax({
+		async:true,
+		timeout: 6000,
+		dataType: 'json', 
+		type:'get',
+		data: {
+			'currentUrl':window.location.href,
+			'product_id':product_id
+		},
+		url:loginInfoUrl,
+		success:function(data, textStatus){ 
+			welcome = $('.welcome_str').val();
+			logoutStr = $('.logoutStr').val();
+			if(data.loginStatus){
+				customer_name = data.customer_name;
+				str = '<span id="welcome">'+welcome+' '+customer_name+'</span>';
+				str += '<span id="js_isNotLogin">';
+				str += '<a href="'+logoutUrl+'" rel="nofollow">'+logoutStr+'</a>';
+				str += '</span>';
+				$(".login-text").html(str);
+			}
+			if(data.favorite){
+				$(".myFavorite_nohove").addClass("act");
+				$(".myFavorite_nohove a").addClass("act");
+			}
+			if(data.favorite_product_count){
+				$("#js_favour_num").html(data.favorite_product_count);
+			}
+			if(data.csrfName && data.csrfVal && data.product_id){
+				$(".product_csrf").attr("name",data.csrfName);
+				$(".product_csrf").val(data.csrfVal);
+			}
+			if(data.cart_qty){
+				$("#js_cart_items").html(data.cart_qty);
+			}
+			
+			
+		},
+		error:function (XMLHttpRequest, textStatus, errorThrown){}
+	});
+	
+	$("#goTop").click(function(){
+		$("html,body").animate({scrollTop:0},"slow");
+	});
+	
+	$("#goBottom").click(function(){
+		var screenb = $(document).height();
+		$("html,body").animate({scrollTop:screenb},"slow");
+	});
+	
+});
+
+function doPost(to, p) { // to:提交动作(action),p:参数
+    var myForm = document.createElement("form");
+    myForm.method = "post";
+    myForm.action = to;
+    for (var i in p){
+        var myInput = document.createElement("input");
+        myInput.setAttribute("name", i); // 为input对象设置name
+        myInput.setAttribute("value", p[i]); // 为input对象设置value
+        myForm.appendChild(myInput);
+    }
+    document.body.appendChild(myForm);
+    myForm.submit();
+    document.body.removeChild(myForm); // 提交后移除创建的form
+}
+

File diff suppressed because it is too large
+ 1517 - 0
appfront/theme/terry/theme01/assets/js/owl.carousel.js


File diff suppressed because it is too large
+ 47 - 0
appfront/theme/terry/theme01/assets/js/owl.carousel.min.js


BIN
appfront/theme/terry/theme01/assets/onestepcheckout/images/ajax-loader.gif


BIN
appfront/theme/terry/theme01/assets/onestepcheckout/images/button-background.png


BIN
appfront/theme/terry/theme01/assets/onestepcheckout/images/hm.png


BIN
appfront/theme/terry/theme01/assets/onestepcheckout/images/line-gradient.gif


BIN
appfront/theme/terry/theme01/assets/onestepcheckout/images/onestepcheckout-error.jpg


BIN
appfront/theme/terry/theme01/assets/onestepcheckout/images/onestepcheckout-numbers-1.gif


BIN
appfront/theme/terry/theme01/assets/onestepcheckout/images/onestepcheckout-numbers-1.png


BIN
appfront/theme/terry/theme01/assets/onestepcheckout/images/onestepcheckout-numbers-2.gif


BIN
appfront/theme/terry/theme01/assets/onestepcheckout/images/onestepcheckout-numbers-2.png


BIN
appfront/theme/terry/theme01/assets/onestepcheckout/images/onestepcheckout-numbers-3.gif


BIN
appfront/theme/terry/theme01/assets/onestepcheckout/images/onestepcheckout-numbers-3.png


BIN
appfront/theme/terry/theme01/assets/onestepcheckout/images/onestepcheckout-numbers-4.gif


BIN
appfront/theme/terry/theme01/assets/onestepcheckout/images/onestepcheckout-numbers-4.png


BIN
appfront/theme/terry/theme01/assets/onestepcheckout/images/onestepcheckout-place-order.png


BIN
appfront/theme/terry/theme01/assets/onestepcheckout/images/onestepcheckout-popup-footer.gif


BIN
appfront/theme/terry/theme01/assets/onestepcheckout/images/onestepcheckout-popup-footer.png


BIN
appfront/theme/terry/theme01/assets/onestepcheckout/images/onestepcheckout-popup-header.gif


BIN
appfront/theme/terry/theme01/assets/onestepcheckout/images/onestepcheckout-popup-header.png


BIN
appfront/theme/terry/theme01/assets/onestepcheckout/images/skin-magento/onestepcheckout-numbers-1.png


BIN
appfront/theme/terry/theme01/assets/onestepcheckout/images/skin-magento/onestepcheckout-numbers-2.png


BIN
appfront/theme/terry/theme01/assets/onestepcheckout/images/skin-magento/onestepcheckout-numbers-3.png


BIN
appfront/theme/terry/theme01/assets/onestepcheckout/images/skin-magento/onestepcheckout-numbers-4.png


+ 822 - 0
appfront/theme/terry/theme01/assets/onestepcheckout/onestepcheckout.css

@@ -0,0 +1,822 @@
+
+
+.onestepcheckout-extraproducts {
+    margin-top: 10px;
+    margin-bottom: 10px;
+}
+
+.onestepcheckout-extraproducts span {
+    font-weight: bold;
+}
+
+.onestepcheckout-extraproducts li {
+    padding: 2px 0;
+}
+
+
+
+/* Button CSS */
+.onestepcheckout-button, .onestepcheckout-button:visited {
+    background: #222 url(images/button-background.png) repeat-x; 
+    display: inline-block; 
+    padding: 5px 10px 6px; 
+    color: #fff; 
+    text-decoration: none;
+    -moz-border-radius: 5px; 
+    -webkit-border-radius: 5px;
+    -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.5);
+    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.5);
+    text-shadow: 0 -1px 1px rgba(0,0,0,0.25);
+    border-bottom: 1px solid rgba(0,0,0,0.25);
+    position: relative;
+    cursor: pointer;
+}
+
+    .onestepcheckout-button:hover                          { background-color: #111; color: #fff; }
+    .onestepcheckout-button:active                         { top: 1px; }
+    .small.onestepcheckout-button, .small.onestepcheckout-button:visited          { font-size: 11px; padding: ; }
+    .onestepcheckout-button, .onestepcheckout-button:visited,
+    .medium.onestepcheckout-button, .medium.onestepcheckout-button:visited        { font-size: 13px; font-weight: bold; line-height: 1; text-shadow: 0 -1px 1px rgba(0,0,0,0.25); }
+    .large.onestepcheckout-button, .large.onestepcheckout-button:visited          { font-size: 16px; padding: 8px 30px 9px; }
+    
+    .green.onestepcheckout-button, .green.onestepcheckout-button:visited      { background-color: #91bd09; }
+    .green.onestepcheckout-button:hover                        { background-color: #749a02; }
+    .blue.onestepcheckout-button, .blue.onestepcheckout-button:visited        { background-color: #2daebf; }
+    .blue.onestepcheckout-button:hover                         { background-color: #007d9a; }
+    .red.onestepcheckout-button, .red.onestepcheckout-button:visited          { background-color: #e33100; }
+    .red.onestepcheckout-button:hover                          { background-color: #872300; }
+    .magenta.onestepcheckout-button, .magenta.onestepcheckout-button:visited      { background-color: #a9014b; }
+    .magenta.onestepcheckout-button:hover                          { background-color: #630030; }
+    .orange.onestepcheckout-button, .orange.onestepcheckout-button:visited        { background-color: #ff5c00; }
+    .orange.onestepcheckout-button:hover                           { background-color: #d45500; }
+    .yellow.onestepcheckout-button, .yellow.onestepcheckout-button:visited        { background-color: #ffb515; }
+    .yellow.onestepcheckout-button:hover                           { background-color: #fc9200; }
+
+    .grey.onestepcheckout-button, .grey.onestepcheckout-button:visited        { background-color: #cccccc; }
+    .grey.onestepcheckout-button:hover                           { background-color: #cccccc; }
+
+
+
+.onestepcheckout-place-order-loading {
+    text-align: right;
+    margin-top: 10px;
+    font-style: italic;
+}
+
+select.address-select {
+    margin-top: 3px;
+    margin-bottom: 3px;
+    width: 95% !important;
+}
+
+.onestepcheckout-enterprise {
+    
+}
+
+.onestepcheckout-enterprise span.validation-error,.onestepcheckout-enterprise div.validation-error
+    {
+    padding-right: 0;
+}
+
+ul.onestepcheckout-custom-options {
+    margin: 0;
+    padding: 0;
+    margin-left: 20px;
+    list-style-type: disc;
+}
+
+.onestepcheckout-coupons input#id_couponcode {
+    margin-bottom: 5px;
+    width: 200px;
+}
+
+#onestepcheckout-form label {
+    font-weight: normal !important;
+}
+
+.onestepcheckout-summary,.onestepcheckout-totals {
+    border-collapse: collapse;
+}
+
+.onestepcheckout-totals {
+    
+}
+
+.onestepcheckout-summary th,.onestepcheckout-summary,.onestepcheckout-summary td,.onestepcheckout-totals td
+    {
+    padding: 3px 0;
+}
+
+.onestepcheckout-summary th {
+    border-bottom: 1px solid #BEBCB7;
+    border-top: 1px solid #BEBCB7;
+}
+
+.onestepcheckout-totals td,.onestepcheckout-summary td {
+    border-bottom: 1px solid #BEBCB7;
+}
+
+h1.onestepcheckout-title {
+    font-size: 20px;
+    text-transform: uppercase;
+}
+
+p.onestepcheckout-description {
+    font-size: 18px;
+}
+
+#onestepcheckout-form .group-select {
+    padding: 10px 0px !important;
+}
+
+div.onestepcheckout-threecolumns {
+    margin-top: 10px;
+}
+
+div.onestepcheckout-threecolumns h1 {
+    font-family: Arial;
+    font-size: 18px;
+    font-weight: bold;
+}
+
+div.onestepcheckout-threecolumns div.onestepcheckout-column-left {
+    width: 27%;
+    float: left;
+    margin-right: 15px;
+    background: transparent url(images/line-gradient.gif) no-repeat scroll
+        right top;
+    padding-top: 15px;
+    min-width: 260px;
+    min-height:460px;
+}
+
+div.onestepcheckout-threecolumns div.onestepcheckout-column-middle {
+    width: 31%;
+    float: left;
+    margin-right: 0px;
+    padding-right: 30px;
+    background: transparent url(images/line-gradient.gif) no-repeat scroll
+        right top;
+    padding-top: 15px;
+    min-width: 316px;
+}
+
+div.onestepcheckout-threecolumns div.onestepcheckout-column-right {
+    width: 37%;
+    float: left;
+    padding-top: 15px;
+    min-width: 302px;
+}
+
+p.onestepcheckout-login-link {
+    padding-top: 5px;
+}
+
+#onestepcheckout-email-error {
+    width: 245px;
+}
+
+div.onestepcheckout-error {
+    background-color: #FAEBE7;
+    color: #DF280A;
+    border: 1px solid #DF280A;
+    margin-top: 5px;
+    margin-bottom: 5px;
+    text-align: left;
+    padding-top: 3px;
+    padding-bottom: 3px;
+    padding-left: 25px;
+    background-image: url(images/onestepcheckout-error.jpg);
+    background-repeat: no-repeat;
+    background-position: 5px 5px;
+}
+
+.onestepcheckout-column-left .onestepcheckout-error {
+    width: 85% !important;
+}
+
+div.onestepcheckout-enable-newsletter {
+    margin-bottom: 10px;
+    /*text-align: right;*/
+}
+
+div.onestepcheckout-enable-newsletter-bottom {
+    margin-top: 20px;
+    text-align: right;
+}
+
+div.onestepcheckout-enable-terms { /*text-align: right;*/
+    
+}
+
+table.onestepcheckout-summary {
+    width: 100%;
+}
+
+table.onestepcheckout-summary td.name {
+    width: 55%;
+	 text-transform: capitalize;
+	 padding:2px 5px;
+}
+
+table.onestepcheckout-summary td.qty,table.onestepcheckout-summary th.qty
+    {
+    width: 10%;
+    text-align: center;
+}
+
+table.onestepcheckout-summary td.total,table.onestepcheckout-summary th.total
+    {
+    width: 35%;
+    text-align: right;
+}
+
+table.onestepcheckout-totals {
+    width: 100%;
+    margin-bottom: 20px;
+}
+
+table.onestepcheckout-totals tr.grand-total td {
+    font-weight: bold;
+}
+
+table.onestepcheckout-totals td.title {
+    width: 65%;
+    text-align: right;
+}
+
+table.onestepcheckout-totals td.value {
+    width: 35%;
+    text-align: right;
+}
+
+div.onestepcheckout-place-order {
+    text-align: right;
+    margin-top: 20px;
+}
+
+div.checkoutcontainer {
+    border-top: 1px solid #D8D2C7;
+    min-height: 33em;
+    overflow: hidden;
+}
+
+div.checkoutcontainer .checkout-error-message {
+    font-size: 14px;
+    margin-left: 10px;
+    color: red;
+}
+
+div.checkoutcontainer .payment-methods .form-list label {
+    text-align: left !important;
+}
+
+div.checkoutcontainer div.input-error label {
+    color: red !important;
+}
+
+div.checkoutcontainer div.input-error input,div.checkoutcontainer div.input-error select
+    {
+    border: 1px solid red !important;
+}
+
+div.checkoutcontainer div.input-different-shipping {
+    margin-top: 10px;
+}
+
+div.checkoutcontainer div.input-firstname,div.checkoutcontainer div.input-lastname,div.checkoutcontainer div.input-email,div.checkoutcontainer div.input-telephone,div.checkoutcontainer div.input-company,div.checkoutcontainer div.input-fax,div.checkoutcontainer div.input-password
+    {
+    width: 49%;
+    float: left;
+}
+
+div.checkoutcontainer li.taxvat .input-text {
+    width: 83% !important;
+}
+
+div.checkoutcontainer div.input-firstname .input-text,div.checkoutcontainer div.input-lastname .input-text,div.checkoutcontainer div.input-email .input-text,div.checkoutcontainer div.input-telephone .input-text,div.checkoutcontainer div.input-company .input-text,div.checkoutcontainer div.input-fax .input-text,div.checkoutcontainer div.input-password .input-text
+    {
+    width: 70%;
+}
+
+div.checkoutcontainer div.input-address,div.checkoutcontainer div.input-city,div.checkoutcontainer li.taxvat div.input-box
+    {
+    width: 100% !important;
+}
+
+div.checkoutcontainer div.input-address .input-text,div.checkoutcontainer div.input-city .input-text
+    {
+    width: 83%;
+}
+
+div.checkoutcontainer div.input-postcode {
+    width: 39%;
+    float: left;
+}
+
+div.checkoutcontainer div.input-postcode .input-text {
+    width: 70%;
+}
+
+div.checkoutcontainer div.input-region {
+    width: 60%;
+    float: left;
+}
+
+div.checkoutcontainer div.input-region .input-text {
+    width: 77%;
+}
+
+div.checkoutcontainer div.input-country {
+    width: 100%;
+}
+
+div.checkoutcontainer div.input-country select {
+    width: 85%;
+	float:none;
+}
+
+div.checkoutcontainer div.input-region select {
+    width: 77% !important;
+	float: left;
+}
+
+fieldset.group-select {
+    padding: 10px 10px;
+}
+
+.group-select li {
+    padding: 4px 0;
+}
+
+.shipment-methods .flatrate{
+       font-size: 12px;
+    font-weight: bold;
+    margin: 15px 0 5px;
+}
+
+p.checkout-choose-payment-method,p.checkout-choose-shipping-method {
+    margin-top: 1em;
+    font-size: 14px;
+    font-weight: bold;
+    margin-bottom: 5px;
+}
+
+p.checkout-choose-payment-method {
+    margin-top: 2em !important;
+}
+
+.payment-methods dd {
+    padding: 0;
+    padding-left: 20px;
+}
+
+.payment-methods dd li {
+    padding: 0;
+}
+
+div.onestepcheckout-shipping-method {
+    margin-bottom: 20px;
+}
+
+div.loading-ajax {
+    height: 50px;
+    text-align: center;
+    background-image: url(images/ajax-loader.gif);
+    background-repeat: no-repeat;
+    background-position: center center;
+}
+
+p.onestepcheckout-numbers {
+    background-repeat: no-repeat;
+    height: 35px;
+    color: #404040;
+    text-transform: uppercase;
+    padding-top: 6px;
+    padding-left: 38px;
+    font-size: 15px;
+    font-weight: bold;
+}
+
+p.onestepcheckout-numbers-1 {
+    background-image: url(images/onestepcheckout-numbers-1.png);
+}
+
+p.onestepcheckout-numbers-2 {
+    background-image: url(images/onestepcheckout-numbers-2.png);
+}
+
+p.onestepcheckout-numbers-3 {
+    background-image: url(images/onestepcheckout-numbers-3.png);
+	margin:30px 0 0 ;
+}
+
+p.onestepcheckout-numbers-4 {
+    background-image: url(images/onestepcheckout-numbers-4.png);
+}
+
+div.onestepcheckout-skin-magento .onestepcheckout-numbers {
+    padding-top: 0px !important;
+    padding-left: 28px !important;
+    height: 25px !important;
+    text-transform: capitalize !important;
+    color: #F18200 !important;
+    font-size: 13px !important;
+}
+
+div.onestepcheckout-skin-magento p.onestepcheckout-numbers-1 {
+    background-image: url(images/skin-magento/onestepcheckout-numbers-1.png)
+        !important;
+}
+
+div.onestepcheckout-skin-magento p.onestepcheckout-numbers-2 {
+    background-image: url(images/skin-magento/onestepcheckout-numbers-2.png)
+        !important;
+}
+
+div.onestepcheckout-skin-magento p.onestepcheckout-numbers-3 {
+    background-image: url(images/skin-magento/onestepcheckout-numbers-3.png)
+        !important;
+}
+
+div.onestepcheckout-skin-magento p.onestepcheckout-numbers-4 {
+    background-image: url(images/skin-magento/onestepcheckout-numbers-4.png)
+        !important;
+}
+
+/* Popup CSS */
+#onestepcheckout_popup_overlay_iframe {
+    z-index: 100000;
+    background-color: black;
+    opacity: 0.8;
+    filter: alpha(opacity =   80);
+    position: absolute;
+    width: 100%;
+    height: 100%;
+    left: 0;
+    top: 0;
+    right: 0;
+}
+
+#onestepcheckout_popup_overlay {
+    z-index: 1000000;
+    background-color: black;
+    opacity: 0.8;
+    filter: alpha(opacity =   80);
+    position: absolute;
+    width: 100%;
+    height: 100%;
+    left: 0;
+    top: 0;
+    right: 0;
+    cursor: pointer;
+}
+
+#onestepcheckout-toc-popup {
+    width: 482px;
+    height: 530px;
+    position: absolute;
+    z-index: 1000001;
+}
+
+#onestepcheckout-toc-popup .onestepcheckout-popup-wrapper {
+    height: 515px !important;
+}
+
+#onestepcheckout-toc-popup div.onestepcheckout-popup-contents {
+    overflow: auto;
+    height: 450px;
+}
+
+#onestepcheckout-toc-popup h1 {
+    margin-left: 20px;
+}
+
+#onestepcheckout-toc-popup .onestepcheckout-toc-terms {
+    margin: 20px;
+    margin-top: 0 !important;
+    height: 440px !important;
+    overflow: auto;
+    padding-right: 10px;
+}
+
+#onestepcheckout-login-popup,#onestepcheckout-toc-popup {
+    text-align: left !important;
+}
+
+.onestepcheckout-popup-footer {
+    background-image: url(images/onestepcheckout-popup-footer.png);
+    background-repeat: no-repeat;
+    height: 13px;
+}
+
+.onestepcheckout-popup-wrapper {
+    background-image: url(images/onestepcheckout-popup-header.png);
+    *background-image: url(images/onestepcheckout-popup-header.png)
+        !important;
+    background-repeat: no-repeat;
+}
+
+.onestepcheckout-popup-wrapper h1 {
+    font-size: 18px !important;
+    padding-bottom: 10px !important;
+    padding-top: 15px !important;
+}
+
+.onestepcheckout-popup-contents {
+    margin-left: 20px;
+    margin-right: 20px;
+    margin-bottom: 0;
+    padding-bottom: 1px;
+}
+
+.onestepcheckout-popup-wrapper label {
+    font-weight: normal;
+}
+
+.onestepcheckout-popup-wrapper .input-text {
+    width: 190px !important;
+}
+
+#onestepcheckout-forgot-table td {
+    vertical-align: middle !important;
+}
+
+/* Popup CSS (login link) */
+#onestepcheckout-login-popup {
+    width: 482px;
+    position: absolute;
+    z-index: 1000001;
+    /*position: fixed;*/
+}
+
+#onestepcheckout-login-popup table {
+    width: 99%;
+}
+
+#onestepcheckout-login-popup table td {
+    padding-top: 3px;
+    padding-bottom: 3px;
+}
+
+#onestepcheckout-login-popup button {
+    padding: 3px 10px;
+}
+
+#onestepcheckout-login-popup div.onestepcheckout-popup-contents {
+    
+}
+
+#onestepcheckout-login-popup p.close,#onestepcheckout-toc-popup p.close
+    {
+    font-size: 15px;
+    text-transform: uppercase;
+    font-weight: bold;
+    position: absolute;
+    right: 10px;
+    bottom: -5px;
+}
+
+#onestepcheckout-login-popup p.close a,#onestepcheckout-login-popup p.close a:link,#onestepcheckout-login-popup p.close a:visited,#onestepcheckout-toc-popup p.close a,#onestepcheckout-toc-popup p.close a:link,#onestepcheckout-toc-popup p.close a:visited
+    {
+    text-decoration: none;
+    color: black;
+}
+
+#onestepcheckout-login-popup p.close a:hover,#onestepcheckout-toc-popup p.close a:hover
+    {
+    text-decoration: underline;
+}
+
+#onestepcheckout-login-error,#onestepcheckout-forgot-error {
+    color: red;
+    margin-bottom: 10px;
+}
+
+div.onestepcheckout-comments {
+    margin-top: 5px;
+    margin-bottom: 20px;
+}
+
+div.onestepcheckout-comments textarea {
+    margin-top: 5px;
+    width: 95%;
+}
+
+/* onestepcheckout-twocolumns */
+.onestepcheckout-two-columns .onestepcheckout-column-left {
+    width: 47%;
+    float: left;
+    margin-right: 30px;
+    background: transparent url(images/line-gradient.gif) no-repeat scroll
+        right top;
+}
+
+.onestepcheckout-two-columns .onestepcheckout-column-right {
+    width: 43%;
+    float: left;
+}
+
+.onestepcheckout-two-columns p.onestepcheckout-numbers {
+    margin-top: 20px !important;
+}
+
+.onestepcheckout-two-columns div.onestepcheckout-enable-terms {
+    text-align: center !important;
+}
+
+.onestepcheckout-two-columns div.onestepcheckout-place-order {
+    text-align: center !important;
+    margin-top: 10px !important;
+}
+
+.onestepcheckout-two-columns div.onestepcheckout-enable-newsletter {
+    text-align: center !important;
+}
+
+.checkoutcontainer .payment-methods .input-box {
+    width: 100% !important;
+}
+
+.checkoutcontainer .payment-methods .input-box .input-text,.checkoutcontainer .payment-methods .input-box textarea,.checkoutcontainer .payment-methods .input-box select
+    {
+    width: 95% !important;
+}
+
+.checkoutcontainer .payment-methods .input-box select.year,.checkoutcontainer .payment-methods .input-box select#protxDirect_expiration_yr,.checkoutcontainer .payment-methods .input-box select#protxDirect_start_yr
+    {
+    width: 75px !important;
+}
+
+.checkoutcontainer .payment-methods .input-box select.month,.checkoutcontainer .payment-methods .input-box select#protxDirect_start,.checkoutcontainer .payment-methods .input-box select#protxDirect_expiration
+    {
+    width: 140px !important;
+}
+
+.checkoutcontainer li.shipping-address-title {
+    font-family: Arial;
+    font-size: 16px;
+    text-transform: uppercase;
+    color: #404040;
+    font-weight: bold;
+    padding-top: 5px;
+}
+
+.onestepcheckout-giftmessagecontainer {
+    margin-bottom: 10px;
+}
+
+.onestepcheckout-giftmessagecontainer .input-checkbox {
+    /*text-align: right;*/
+    
+}
+
+.onestepcheckout-giftmessages fieldset.group-select {
+    padding: 0 !important;
+    border: 0 !important;
+    margin: 0 !important;
+}
+
+.onestepcheckout-giftmessages .group-select li .input-box-last {
+    margin-right: 0 !important;
+}
+
+.onestepcheckout-giftmessages .group-select li .input-box {
+    width: 125px;
+    margin-right: 20px;
+}
+
+.onestepcheckout-giftmessages .group-select li .input-box .input-text {
+    width: 120px;
+}
+
+.onestepcheckout-giftmessages .group-select li textarea {
+    width: 267px;
+}
+
+.onestepcheckout-address-line {
+    margin-bottom: 10px;
+}
+
+.onestepcheckout-column-left .customer-dob .dob-month,.onestepcheckout-column-left .customer-dob .dob-day,.onestepcheckout-column-left .customer-dob .dob-year
+    {
+    float: left;
+}
+
+.onestepcheckout-column-left .customer-dob input.input-text {
+    display: block;
+    width: 74px;
+}
+
+.onestepcheckout-column-left .customer-dob label {
+    font-size: 10px;
+    font-weight: normal;
+    color: #888;
+}
+
+.onestepcheckout-column-left .customer-dob .dob-day,.onestepcheckout-column-left .customer-dob .dob-month
+    {
+    width: 60px;
+}
+
+.onestepcheckout-column-left .customer-dob .dob-day input.input-text,.onestepcheckout-column-left .customer-dob .dob-month input.input-text
+    {
+    width: 46px;
+}
+
+.onestepcheckout-column-left .customer-dob .dob-year {
+    width: 110px;
+}
+
+.onestepcheckout-column-left .customer-dob .dob-year input.input-text {
+    width: 115px;
+}
+.onestepcheckout-feedback, .onestepcheckout-feedback-freetext {
+    padding-top: 10px;
+}
+.onestepcheckout-feedback select {
+    width:95%;
+}
+.onestepcheckout-feedback-freetext textarea{
+    width:95%;
+}
+.onestepcheckout-coupon-code-notice {
+}
+#checkout-payment-method-load .payment{
+  background: url("images/hm.png") no-repeat scroll -56px -503px transparent;
+  float: left;
+  height: 30px;
+  text-align: left;
+  width: 286px;
+}
+#p_method_paypal_standard{
+    display: none;
+}
+.onestepcheckout-column-left #billing_address_list .selectBox{
+    width: 140px;
+}
+.onestepcheckout-coupons{
+    margin-top: 30px;
+}
+.onestepcheckout-coupons .op_block_title {
+  border-bottom: 1px solid #EEEEEE;
+  color: #000000;
+  font-size: 11pt;
+  margin: 15px 0 5px;
+  padding-bottom: 5px;
+  text-transform: uppercase;
+}
+#onestepcheckout-form .onestepcheckout-coupons label{
+    font:12px/1.55;
+    color:#2f2f2f;
+    text-align: left;
+    font-family: Arial;
+	margin:10px 0;
+	display:block;
+}
+form label {
+    color: #707070;
+    
+    font: bold 13px/13px Segoeui-Bold,Myriad Pro,Verdana,serif;
+  
+}
+
+{
+	
+}
+
+form #billing_address_list .input-box  label {
+    color: #707070;
+    display: block;
+    font: bold 13px/13px Segoeui-Bold,Myriad Pro,Verdana,serif;
+    margin: 6px 0 10px;
+}
+
+form #billing_address_list  label {
+    color: #707070;
+   
+    font: bold 13px/13px Segoeui-Bold,Myriad Pro,Verdana,serif;
+   
+}
+
+#onestepcheckout-form select{height:33px;}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

+ 158 - 0
appfront/theme/terry/theme01/catalog/category/index.php

@@ -0,0 +1,158 @@
+<?php
+/**
+ * FecShop file.
+ *
+ * @link http://www.fecshop.com/
+ * @copyright Copyright (c) 2016 FecShop Software LLC
+ * @license http://www.fecshop.com/license/
+ */
+?>
+<div class="main container two-columns-left">
+<?php // echo count($products); ?>
+<?php  $count = 4; $end = $count-1; ?>
+	<div class="col-main">
+		<?= Yii::$service->page->widget->render('breadcrumbs',$this); ?>
+		<div class="menu_category">
+			<div class="category_img">
+				<a href="#"><?=  $image ? '<img style="width:980px;" src="'.$image.'"/>' : '';?><a>
+			</div>
+			<div class="category_description">
+				<h1><?=  $name ?></h1>
+				<?=  $description ?>
+			</div>
+			<div class="panelBar">
+				<?php  if(is_array($products) && !empty($products)): ?>
+					<?php
+						$parentThis = [
+							'query_item' => $query_item,
+							'product_page'=>$product_page,
+						];
+						$config = [
+							'view'  		=> 'catalog/category/index/toolbar.php',
+						];
+						$toolbar = Yii::$service->page->widget->renderContent('category_toolbar',$config,$parentThis);
+						echo $toolbar;
+					?>
+				<?php endif; ?>
+			</div>
+			<div class="category_product">
+				<?php  if(is_array($products) && !empty($products)): ?>
+					<?php $i = 0;  foreach($products as $product): ?>
+						<?php  if($i%$count == 0): ?>
+						<ul>
+						<?php  endif; ?>
+							<li>
+                                <div style="display:none">
+                                    <?= $currentOff = Yii::$service->product->price->currentOff; // 通过这个函数也可以得到特价折扣值  OFF ?>
+                                </div>
+								<div class="c_img">
+									<a href="<?= $product['url'] ?>">
+										<img class="js_lazy" src="<?= Yii::$service->image->getImgUrl('images/lazyload.gif');   ?>" data-original="<?= Yii::$service->product->image->getResize($product['image'],[230,230],false) ?>"  />
+									</a>
+								</div>
+								<div class="c_name">
+									<a href="<?= $product['url'] ?>">
+										<?= $product['name'] ?>
+									</a>
+								</div>
+								<?php
+									$config = [
+										'class' 		=> 'fecshop\app\appfront\modules\Catalog\block\category\Price',
+										'view'  		=> 'catalog/category/price.php',
+										'price' 		=> $product['price'],
+										'special_price' => $product['special_price'],
+										'special_from' => $product['special_from'],
+										'special_to' => $product['special_to'],
+									];
+									echo Yii::$service->page->widget->renderContent('category_product_price',$config);
+								?>
+							</li>
+						<?php  if($i%$count == $end): ?>
+						</ul>
+						<?php  endif; ?>
+						<?php  $i++; ?>
+					<?php  endforeach;  ?>
+					<?php  if($i%$count != $end): ?>
+						</ul>
+					<?php  endif; ?>
+				<?php  endif;  ?>
+			</div>
+			<div class="clear"></div>
+			<div class="panelBar">
+				<?php  if(is_array($products) && !empty($products)): ?>
+					<?php echo $toolbar; ?>
+				<?php  endif;  ?>
+			</div>
+		</div>
+	</div>
+	<div class="col-left ">
+
+		<?php
+			# Refind By
+			$parentThis = [
+				'refine_by_info' => $refine_by_info,
+			];
+			$config = [
+				'view'  		=> 'catalog/category/index/filter/refineby.php',
+			];
+			echo Yii::$service->page->widget->renderContent('category_product_filter_refine_by',$config,$parentThis);
+		?>
+		<?php
+			# Category Left Filter subCategory
+			$parentThis = [
+				'filter_category' => $filter_category,
+				'current_category'=> $name,
+			];
+			$config = [
+				'view'  		=> 'catalog/category/index/filter/subcategory.php',
+			];
+			echo Yii::$service->page->widget->renderContent('category_product_filter_sub_category',$config,$parentThis);
+		?>
+		<?php
+			# Category Left Filter Product Attributes
+			$parentThis = [
+				'filters' => $filter_info,
+			];
+			$config = [
+				'view'  		=> 'catalog/category/index/filter/attr.php',
+			];
+			echo Yii::$service->page->widget->renderContent('category_product_filter_attr',$config,$parentThis);
+		?>
+		<?php
+			# Category Left Filter Product Price
+			$parentThis = [
+				'filter_price' => $filter_price,
+			];
+			$config = [
+				'view'  		=> 'catalog/category/index/filter/price.php',
+			];
+			echo Yii::$service->page->widget->renderContent('category_product_filter_price',$config,$parentThis);
+		?>
+	</div>
+	<div class="clear"></div>
+</div>
+<script>
+<?php $this->beginBlock('category_product_filter') ?>
+$(document).ready(function(){
+	$(".product_sort").change(function(){
+		url = $(this).find("option:selected").attr('url');
+		window.location.href = url;
+	});
+	$(".product_num_per_page").change(function(){
+		url = $(this).find("option:selected").attr('url');
+		window.location.href = url;
+	});
+
+	$(".filter_attr_info a").click(function(){
+		if($(this).hasClass("checked")){
+			$(this).removeClass("checked");
+		}else{
+			$(this).parent().find("a.checked").removeClass("checked");
+			$(this).addClass("checked");
+		}
+	});
+});
+<?php $this->endBlock(); ?>
+</script>
+<?php $this->registerJs($this->blocks['category_product_filter'],\yii\web\View::POS_END);//将编写的js代码注册到页面底部 ?>
+<?= Yii::$service->page->trace->getTraceCategoryJsCode($name_default_lang)  ?>

+ 0 - 0
appfront/theme/terry/theme01/catalog/category/index/filter/attr.php


Some files were not shown because too many files changed in this diff