first commit

This commit is contained in:
2025-01-06 20:47:25 +01:00
commit 3bdbd78c2f
25591 changed files with 3586440 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
.adminleoslideshow #header, .adminleoslideshow #footer, .adminleoslideshow #nav-sidebar, .page-head{
display: none;
}
.page-sidebar #content, .adminleoslideshow #main{margin: 0;padding: 0}
#list-imgs {
padding-left: 0;
padding-bottom: 1px;
margin-bottom: 20px;
list-style: none;
overflow: hidden;
}
#list-imgs li a{
font-size: 11px
}
#list-imgs li {
float: left;
width: 20%;
height: 115px;
padding: 10px 5px;
margin: 0 -1px -1px 0;
font-size: 12px;
line-height: 1.4;
text-align: center;
border: 1px solid #ddd;
}
.img-row{
overflow: hidden;
height: 80px;
}
.typos{
padding: 10px
}
.typos-wrap .typo {
position: relative;
min-height: 60px;
}
.typos-wrap .typo-big{
min-height: 123px
}

View File

@@ -0,0 +1,35 @@
<?php
/**
* 2007-2014 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2014 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;

View File

@@ -0,0 +1,370 @@
.ui-dialog{
z-index: 99999;
}
.ui-dialog .ui-dialog-titlebar-close span{
margin:-8px !important;
}
#slides li li{
margin: 0;
padding: 0;
}
.clearfix:after {
content: ".";
display: block;
clear: both;
visibility: hidden;
line-height: 0;
height: 0;
}
.nullimg{display: none}
.clearfix {
display: inline-block;
}
html[xmlns] .clearfix {
display: block;
}
* html .clearfix {
height: 1%;
}
h3 span { color:#FAA732;}
.box > .heading{
-webkit-border-radius: 7px 7px 7px 7px;
-moz-border-radius: 7px 7px 7px 7px;
-khtml-border-radius: 7px 7px 7px 7px;
border-radius: 7px 7px 7px 7px;
}
.slider-params-wrap{
background: #f9f9f9;
padding: 12px;
clear: both;
}
.page-content{ padding:30px 0; }
.pull-right{ float: right;}
/**
* Group Page Name
*/
.groups {
width: 300px; float: left;
}
.group-form{ overflow: hidden; float: left; min-width: 60%; }
.groups ul{padding-left: 18px }
.groups ul li { font-weight: bold; padding: 6px 0}
.groups ul li .active{ color: #5BB75B }
/**
*
*/
.buttons > div{ float: left; padding: 8px 12px; background: #000; color: #FFF}
/****/
.slider-foot .layer-collection-wrapper{ float: right; }
.slider-foot .layer-form {overflow: hidden;}
div.layer-form {
background-color: #FFFFFF;
border: 1px solid #DDDDDD;
margin: 10px 0;
padding: 11px;
float: left; width: 45%
}
/*******/
.slider-layers{margin-top: 10px;}
.slider-toolbar{
overflow: hidden;
background: #F5F5F5;
width: 70px;
padding: 12px 6px;
border: 1px solid rgba(0, 0, 0, 0.15);
font-size: 10px;
margin: 109px auto 0;
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px;
-webkit-box-shadow: 0 1px 4px rgba(0,0,0,.065);
-moz-box-shadow: 0 1px 4px rgba(0,0,0,.065);
box-shadow: 0 1px 4px rgba(0,0,0,.065);
}
.slider-toolbar ul{ padding: 0; margin: 0}
.slider-toolbar li{
display: block;
margin: 0 0 -1px;
padding: 8px 1px;
text-align: center;
border-bottom: 1px solid #f3f3f3;
display: block;
margin: 2px;
background: #3A87AD;
color: #FFF;
font-size: 11px;
cursor: hand; cursor: pointer;
border-radius: 10px 10px 10px 10px; -moz-transition:all 0.5s
}
.slider-toolbar li:hover{ background: #1BA6E5;-moz-transition:all 0.5s; }
.slider-toolbar .icon{
height: 35px;
margin: 0 auto;
width: 35px;
}
.slider-toolbar .icon-image{
background: url("../../img/admin/image.png") no-repeat scroll left 0;
}
.slider-toolbar .icon-video{
background: url("../../img/admin/video.png") no-repeat scroll left 0;
}
.slider-toolbar .icon-text{
background: url("../../img/admin/text.png") no-repeat scroll left 0;
}
.slider-toolbar .icon-delete{
background: url("../../img/admin/delete.png") no-repeat scroll left 0;
}
.btn-delete{ padding-top:20px;color: red;}
.slider-toolbar h4{ text-align: center; font-size: 11px; }
.slider-editor-wrap{
position: relative;
width: 980px;
height: 400px;
border: solid 1px #888;
}
.slider-layers .simage{
overflow: hidden;
width: 100%;
height: 100%;
position: relative;
}
.slider-layers .slider-editor {
top: 0;
right: 0;
position: absolute;
overflow: hidden;
width: 980px;
height: 400px;
}
.dialog-video{
position: absolute;
top: 80px;
background: #FFF;
z-index: 99999;
left: 120px;
border: solid 1px #000;
padding: 12px 20px;
display: none;
min-width: 500px;
min-height: 300px;
max-width: 680px;
display: none ;
}
/**********************/
.slider-editor {
}
.slider-editor .in-active{
visibility: hidden;
}
.slider-editor .draggable-item{
position: absolute;
top: 10px;
left: 10px;
padding:0;
cursor: hand;cursor: pointer;
}
.slider-editor .layer-active{
box-shadow: 1px 1px 2px 1px rgba(217,110,74,0.45), 1px 1px 5px 2px rgba(221,221,221,1), 1px 1px 10px 5px rgba(221,221,221,1);
-webkit-box-shadow: 1px 1px 2px 1px rgba(217,110,74,0.45), 1px 1px 5px 2px rgba(221,221,221,1), 1px 1px 10px 5px rgba(221,221,221,1);
-moz-box-shadow: 1px 1px 2px 1px rgba(217,110,74,0.45), 1px 1px 5px 2px rgba(221,221,221,1), 1px 1px 10px 5px rgba(221,221,221,1);
}
.layers-wrapper{ position: relative; }
.slider-foot{position: relative; }
/****/
#layer-form{ display: none; }
.layer-form {
minx-width: 500px;
padding: 12px;
margin:12px 0;
background-color: #FFF;
border: 1px solid #DDDDDD;
}
.layer-form table.form tr td{ font-size: 10px }
.layer-form table.form tr > td:first-child{
width: 70px;
font-size: 100%;
}
.layer-form textarea{resize: vertical}
.slider-form label{
margin-left: 12px;
}
/****/
.layer-collection-wrapper { width: 48%; padding: 15px 12px 30px; margin-left: 12px; margin-top: 12px; border: 1px solid #DDDDDD }
.layer-collection .layer-active{ background: #f6f6f6; border: 1px solid #ccc }
.layer-index{ background: #fff; padding: 5px 8px; margin-bottom: 1px; cursor:hand; cursor: pointer;
border: solid 1px #eee; overflow: hidden;
}
.layer-index span{
margin: 0 5px;
padding: 5px 12px;
}
.layer-index .layer-index-caption{
display: block;
float: left;
font-size: 12px;
height: 24px;
overflow: hidden;
width: 235px;
}
.layer-index .i-no{ background:#D9EDF7; margin-left: 0; display: block; float: left;}
.layer-index .status { display: block; float: right; background: #F2DEDE;}
.layer-index .input-time{ float: right; }
.layer-index .in-active{ background: #ccc }
.slider-wrap { position: relative; padding:6px 0 8px;}
.slider-wrap .t-start, .slider-wrap .t-end { position: absolute; bottom:4px ; left:0; z-index: 10;font-size: 9px }
.slider-wrap .t-end { left: auto; right: 0}
.layer-index .slider-timing{ display: block; clear: both; height: 5px; width: 80%; margin:0 auto; }
.layer-index .ui-slider .ui-slider-handle { width: 8px; top: -7px; }
.layer-content {}
.layer-content .caption-layer, .layer-content .btn-change-img,.layer-content .btn-change-video{
display: none;
position: absolute;
left: 0;
font-size: 10px;
background: red; padding: 3px 5px;
background-color: #F2DEDE
}
.layer-content .caption-layer{ top: 0; }
.layer-content .btn-change-img, .layer-content .btn-change-video{ bottom: 0;}
.layer-content:hover .caption-layer, .layer-content:hover .btn-change-img , .layer-content:hover .btn-change-video{
display: block;
}
.layer_video .content-sample{ width: 190px; height: 190px; background: green;}
.layer_image .content-sample{ width: 190px; height: 190px; background: #888;}
.buttons .pull-right {float:right}
.buttons .btn {
background: none repeat scroll 0 0 #003A88;
border-radius: 10px 10px 10px 10px;
color: #FFFFFF;
display: inline-block;
padding: 10px 15px;
text-decoration: none;
margin-right: 12px;
font-weight: bold;
font-size: 11px; text-align: center;
cursor: pointer;cursor: hand; border:#f3f3f3 solid 3px;
}
td .buttons .btn{ padding:5px 12px; font-weight: normal; margin:0;}
.buttons .grey{ background: #5BB75B; color:#fff }
.buttons .orange {
background: #FAA732;
}
.buttons .btn:hover{ border:#CCC solid 3px;}
/*
*
*/
.group-sliders > div{ display: block; width: 200px; height: 115px; overflow: hidden; background: #CCC; float:left; margin: 5px 8px; position: relative; }
.group-sliders > div div{ font-size: 11px; padding:3px 5px; position: absolute;bottom: 0; left: 0; }
.group-sliders > div a.image { display: block; width: 100%;height: 100%}
.slider-item.active{background: #999}
.new-slider-item a { display: block;width: 100%; height: 100%; background: url(../../img/admin/plus_orange.png) no-repeat center center #888; }
.new-slider-item div{position: absolute;bottom: 0;left: 0; color: #f3f3f3; padding:12px; }
.slider-status,.slider-clone, .slider-delete{
position: absolute; top: 6px; left: 6px; display: block; width: 20px; height: 20px; background: red; overflow: hidden;text-indent: -999em;
}
.slider-clone{left: auto;right:6px;background: url(../../img/admin/copy.png) no-repeat center center }
.slider-delete{left: auto;right:36px;background: url(../../img/admin/delete.gif) no-repeat center center }
.slider-status-off{ background: #000 }
.upload-img-form{
border: 1px solid #EEEEEE;
display: inline-block;
padding: 10px;
}
.action-simage{position: absolute;z-index: 100;top: -18px}
.action-simage a{color: red;}
.back-ground{margin-bottom: 20px;border:1px solid #DDDDDD;padding: 10px;position: relative;height: 50px}
.back-ground lable{line-height: 24px}
.title-back{font-weight: bold;left: -1px;position: absolute;top: -20px;}
.text-attr td{padding: 2px}
.leo-width-val{float:left;width: 45px}
.leo-add-column,.leo-w-option, .leo-change-width{height: 30px}
.leo-width{width: 328px;float: left;height: 17px;background: url(../../img/admin/colsize.png);background-position:-3px -3px}
ul.leo-col-class li{display: inline-block;padding: 5px 10px}
.leo-w-2 { background-position:-3px -255px }
.leo-w-2-4 { background-position:-3px -234px }
.leo-w-3 { background-position:-3px -213px }
.leo-w-4 { background-position:-3px -192px }
.leo-w-4-8 { background-position:-3px -171px }
.leo-w-6{background-position:-3px -129px}
.leo-w-7-2 { background-position:-3px -108px }
.leo-w-8 { background-position:-3px -87px }
.leo-w-9 { background-position:-3px -66px }
.leo-w-9-6 { background-position:-3px -45px }
.leo-w-10 { background-position:-3px -24px }
/***************DONGND:: CSS for tab config BEGIN *******************/
.leoslideshow-tablist a:hover, .leoslideshow-tablist li.active a {
border-bottom: medium none !important;
border-top: 3px solid #25b9d7 !important;
}
.leoslideshow-tablist a:focus {
border-bottom: medium none !important;
border-top: 3px solid #25b9d7 !important;
}
#slideshowgeneralsetting .panel {
display: none;
}
#slideshowgeneralsetting .panel.active {
display: block;
}
#slideshowgeneralsetting .panel {
border-radius: 0 0 5px 5px !important;
}
.nav-tabs a:focus {
outline: medium none;
}
#slides li
{
list-style: none;
margin: 0 0 4px 0;
padding: 10px;
background-color: #F4E6C9;
border: #CCCCCC solid 1px;
color:#000;
}
/***************DONGND:: CSS for tab config END *******************/

View File

@@ -0,0 +1,35 @@
<?php
/**
* 2007-2014 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2014 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;

View File

@@ -0,0 +1,146 @@
/* The slider */
.iviewSlider {
overflow: hidden;
}
/* The timer in the Slider */
.iview-timer {
position: absolute;
z-index: 100;
border-radius: 5px;
cursor: pointer;
}
.iview-timer div {
border-radius: 3px;
}
/* The Preloader in the Slider */
.iview-preloader {
position: absolute;
z-index: 1000;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
border: #000 1px solid;
padding: 1px;
width: 100px;
height: 3px;
}
.iview-preloader div {
float: left;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
height: 3px;
background: #000;
width: 0px;
}
/* The strips and boxes in the Slider */
.iview-strip {
display:block;
position:absolute;
z-index:5;
}
.iview-block {
display:block;
position:absolute;
z-index:5;
}
/* Direction nav styles (e.g. Next & Prev) */
.iview-directionNav a {
position:absolute;
top:45%;
z-index:9;
cursor:pointer;
}
.iview-prevNav {
left:0px;
}
.iview-nextNav {
right:0px;
}
/* Control nav styles (e.g. 1,2,3...) */
.iview-controlNav {
position:absolute;
z-index:9;
}
.iview-controlNav a {
z-index:9;
cursor:pointer;
}
.iview-controlNav a.active {
font-weight:bold;
}
.iview-controlNav .iview-items ul {
list-style: none;
}
.iview-controlNav .iview-items ul li {
display: inline;
position: relative;
}
.iview-controlNav .iview-tooltip {
position: absolute;
}
/* The captions in the Slider */
.tp-caption {
position:absolute;
z-index:4;
overflow: hidden;
cursor: default;
}
/* The video show in the Slider */
.iview-video-show {
background: #000;
position: absolute;
width: 100%;
height: 100%;
z-index: 101;
}
.iview-video-show .iview-video-container {
position: relative;
width: 100%;
height: 100%;
}
.iview-video-show .iview-video-container a.iview-video-close {
position: absolute;
right: 10px;
top: 10px;
background: #222;
color: #FFF;
height: 20px;
width: 20px;
text-align: center;
line-height: 29px;
font-size: 22px;
font-weight: bold;
overflow: hidden;
-webkit-border-radius: 15px;
-moz-border-radius: 15px;
border-radius: 15px;
}
.iview-video-show .iview-video-container a.iview-video-close:hover {
background: #444;
}
/********************DONGND:: CSS for preview BEGIN******************************/
#module-leoslideshow-preview .content-only
{
overflow: hidden;
}
#module-leoslideshow-preview .container
{
width: 100%;
}
#module-leoslideshow-preview .leo-paneltool
{
display: none;
}
/********************DONGND:: CSS for preview END******************************/

View File

@@ -0,0 +1,35 @@
<?php
/**
* 2007-2014 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2014 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;

View File

@@ -0,0 +1,201 @@
.container {
display: block;
width: 910px;
margin: 0px auto;
}
.iview {
display: block;
width: 900px;
height: 500px;
background: #000;
background: rgba(0, 0, 0, 0.7);
padding: 5px;
border-radius: 5px;
position: relative;
-webkit-box-shadow: 0 38px 30px -18px rgba(0, 0, 0, 0.5);
-moz-box-shadow: 0 38px 30px -18px rgba(0, 0, 0, 0.5);
box-shadow: 0 38px 30px -18px rgba(0, 0, 0, 0.5);
margin: 40px auto;
}
.iview .iviewSlider {
display: block;
width: 900px;
height: 500px;
overflow: hidden;
border-radius: 4px;
}
.iview-controlNav {
position: absolute;
bottom: 30px;
left: 347px;
height: 44px;
}
.iview-controlNav a {
text-indent: -9999px;
}
.iview-controlNav a.iview-controlPrevNav {
float: left;
width: 50px;
height: 44px;
background: url('../../../img/iView/slider-controls.png') no-repeat;
}
.iview-controlNav a.iview-controlNextNav {
float: left;
width: 50px;
height: 44px;
background: url('../../../img/iView/slider-controls.png') no-repeat -50px 0px;
}
.iview-controlNav div.iview-items {
float: left;
padding: 0px 10px 0px 10px;
height: 44px;
background: url('../../../img/iView/nav-bg.png');
}
.iview-controlNav a.iview-control {
padding: 0px;
float: left;
width: 11px;
height: 12px;
background: url('../../../img/iView/bullets.png') no-repeat;
line-height: 0px;
}
.iview-controlNav a.iview-control.active {
background-position: 0px -12px;
}
.tp-caption {
background: url('../../../img/iView/caption-bg.png');
color: #FFF;
border-radius: 3px;
padding: 10px 15px;
font-family: Verdana;
font-size: 12px;
text-shadow: #000 1px 1px 0px;
}
.tp-caption.caption1 {
font-size: 36px;
font-weight: bold;
height: 45px;
}
.tp-caption.caption2 {
background: #00b4ff;
font-size: 36px;
font-weight: bold;
text-shadow: none;
}
.tp-caption.caption3 {
background: #FFF;
color: #000;
font-size: 26px;
text-shadow: none;
}
.tp-caption.caption4 {
font-size: 22px;
font-weight: bold;
}
.tp-caption.caption5 {
background: #c4302b;
box-shadow: rgba(0, 0, 0, 0.7) 10px 10px 15px 0px;
font-size: 20px;
font-weight: bold;
text-shadow: none;
}
.tp-caption.caption6 {
font-size: 18px;
}
.tp-caption.caption7 {
text-align: left;
font-size: 11px;
color: #888;
border-radius: 0px;
}
.tp-caption.caption7 div {
line-height: 200%;
}
.tp-caption.caption7 h3 {
margin-bottom: 20px;
color: #FFF;
}
.tp-caption.blackcaption {
background: #000;
box-shadow: rgba(0, 0, 0, 0.7) 10px 10px 15px 0px;
text-shadow: none;
}
.iview-preloader {
border: #666 1px solid;
width: 150px
}
.iview-preloader div {
background: #666;
}
.iview-controlNav div.iview-items ul li {
padding: 0px;
float: left;
width: 11px;
height: 12px;
margin: 3px;
margin-top: 16px;
line-height: 0px;
}
.iview .iview-tooltip {
display: none;
position: absolute;
background: url('../../../img/iView/tooltip.png') no-repeat;
width: 124px;
height: 90px;
bottom: 30px;
left: -67px;
padding: 10px;
z-index: 100;
}
.iview .iview-tooltip div.holder {
display: block;
width: 124px;
height: 84px;
overflow: hidden;
border-radius: 2px;
}
.iview .iview-tooltip div.holder div.container {
display: block;
width: 4000px;
}
.iview .iview-tooltip div.holder div.container div {
float: left;
display: block;
overflow: hidden;
width: 124px;
height: 84px;
left: -50%;
text-align: center;
}
.iview .iview-tooltip div.holder div.container div img {
height: 84px;
margin: 0 auto;
}

View File

@@ -0,0 +1,35 @@
<?php
/**
* 2007-2014 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2014 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;

View File

@@ -0,0 +1,193 @@
.container {
display: block;
width: 910px;
margin: 0px auto;
}
.iview, .iview2 {
display: block;
width: 900px;
height: 400px;
background: #000;
background: rgba(0, 0, 0, 0.7);
padding: 5px;
border-radius: 5px;
position: relative;
-webkit-box-shadow: 0 38px 30px -18px rgba(0, 0, 0, 0.5);
-moz-box-shadow: 0 38px 30px -18px rgba(0, 0, 0, 0.5);
box-shadow: 0 38px 30px -18px rgba(0, 0, 0, 0.5);
margin: 40px auto;
overflow: hidden;
}
.iview2 {
margin-top: 20px;
}
.iview .iviewSlider, .iview2 .iviewSlider {
display: block;
width: 900px;
height: 400px;
overflow: hidden;
border-radius: 4px;
}
.iview div.iview-directionNav {
position: absolute;
top: 187px;
left: 0px;
z-index: 9;
width: 100%;
}
.iview div.iview-directionNav a {
display: block;
cursor: pointer;
position: absolute;
width: 27px;
height: 27px;
background-image: url(../../../img/iView/bg_direction_nav.png);
text-indent: -9999px;
-webkit-transition: left 0.3s ease-in-out;
-webkit-transition-property: left,right;
-moz-transition: left 0.3s ease-in-out;
-moz-transition-property: left,right;
-o-transition: left 0.3s ease-in-out;
-o-transition-property: left,right;
-ms-transition: left 0.3s ease-in-out;
-ms-transition-property: left,right;
transition: left 0.3s ease-in-out;
transition-property: left,right;
}
.iview div.iview-directionNav a.iview-nextNav {
right: -27px;
background-position: 27px 0px;
}
.iview div.iview-directionNav a.iview-prevNav {
left: -27px;
background-position: 0px 0px
}
.iview.iview-hover div.iview-directionNav a.iview-nextNav {
right: 20px;
}
.iview.iview-hover div.iview-directionNav a.iview-prevNav {
left: 20px;
}
.iview2 .iview-controlNav {
position: absolute;
bottom: 20px;
left: 418px;
}
.iview2 .iview-controlNav a {
text-indent: -9999px;
}
.iview2 .iview-controlNav a.iview-control {
padding: 0px;
float: left;
width: 11px;
height: 11px;
background: url('../../../img/iView/bullets_2.png') no-repeat 0px 0px;
line-height: 0px;
margin-right: 7px;
}
.iview2 .iview-controlNav a.iview-control.active {
background-position: 0px -11px;
}
.iview2 div.iview-directionNav {
position: absolute;
top: 150px;
left: 0px;
z-index: 9;
width: 100%;
}
.iview2 div.iview-directionNav a {
display: block;
cursor: pointer;
position: absolute;
width: 40px;
height: 100px;
background-image: url(../../../img/iView/nav_paddles.png);
text-indent: -9999px;
}
.iview2 div.iview-directionNav a:active {
background-image: url(../../../img/iView/nav_paddles_down.png);
}
.iview2 div.iview-directionNav a.iview-nextNav {
right: 20px;
background-position: 56px 0px;
}
.iview2 div.iview-directionNav a.iview-prevNav {
left: 20px;
background-position: -16px 0px
}
.tp-caption {
background: url('../../../img/iView/caption-bg.png');
color: #FFF;
border-radius: 3px;
padding: 10px 15px;
font-family: Verdana;
font-size: 12px;
text-shadow: #000 1px 1px 0px;
}
.tp-caption.video-caption {
padding: 10px;
}
.tp-caption.caption1 {
text-shadow: none;
}
.tp-caption.caption2 {
background: #FFF;
color: #000;
text-shadow: none;
}
.tp-caption.caption3 {
background: #c4302b;
box-shadow: rgba(0, 0, 0, 0.7) 10px 10px 15px 0px;
text-shadow: none;
}
.tp-caption.caption3 div {
line-height: 150%;
text-align: justify;
}
.tp-caption.caption4 {
background: #00b4ff;
font-size: 36px;
font-weight: bold;
text-shadow: none;
}
.tp-caption.caption5 {
background: #FFF;
color: #000;
font-size: 26px;
text-shadow: none;
}
.iview-preloader {
border: #666 1px solid;
width: 150px
}
.iview-preloader div {
background: #666;
}

View File

@@ -0,0 +1,35 @@
<?php
/**
* 2007-2014 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2014 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;

View File

@@ -0,0 +1,86 @@
.container {
display: block;
width: 910px;
margin: 0px auto;
}
.iview {
display: block;
width: 900px;
background: #000;
background: rgba(0, 0, 0, 0.7);
padding: 5px;
border-radius: 5px;
position: relative;
-webkit-box-shadow: 0 38px 30px -18px rgba(0, 0, 0, 0.5);
-moz-box-shadow: 0 38px 30px -18px rgba(0, 0, 0, 0.5);
box-shadow: 0 38px 30px -18px rgba(0, 0, 0, 0.5);
margin: 40px auto;
}
.iview .iviewSlider{
display: block;
width: 900px;
height: 400px;
overflow: hidden;
border-radius: 4px 4px 0px 0px;
}
.iview-controlNav {
position: static;
height: 45px;
text-align: center;
background: url('../../../img/iView/navigation-bg.png');
border-radius: 0px 0px 4px 4px;
}
.iview-controlNav .iview-items {
display: block;
padding: 0px 20px;
}
.iview-controlNav a img {
height: 30px;
border: #000 1px solid;
margin: 7px 7px 0px 0px;
border-radius: 2px;
}
.iview-controlNav a.active img {
border-color: #999;
}
.tp-caption {
background: url('../../../img/iView/caption-bg.png');
color: #FFF;
border-radius: 3px;
padding: 10px 15px;
font-family: Verdana;
font-size: 12px;
text-shadow: #000 1px 1px 0px;
}
.tp-caption.caption1 {
text-shadow: none;
}
.tp-caption.caption2 {
background: #FFF;
color: #000;
text-shadow: none;
}
.tp-caption.caption3 {
background: #c4302b;
box-shadow: rgba(0, 0, 0, 0.7) 10px 10px 15px 0px;
text-shadow: none;
}
.iview-preloader {
border: #666 1px solid;
width: 150px
}
.iview-preloader div {
background: #666;
}

View File

@@ -0,0 +1,35 @@
<?php
/**
* 2007-2014 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2014 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;

View File

@@ -0,0 +1,127 @@
.container {
display: block;
margin: 0px auto;
}
.iview {
display: block;
min-width: 300px;
background: #000;
background: rgba(0, 0, 0, 0.7);
position: relative;
overflow: hidden;
max-width: 100%;
}
.iview .iviewSlider {
display: block;
overflow: hidden;
width: 100%; /* hard fixed (ex 950px) is enable responsive, auto not responve*/
}
.iview div.iview-directionNav {
position: absolute;
top: 47%;
left: 0px;
z-index: 9;
width: 100%;
}
.iview div.iview-directionNav a {
display: block;
cursor: pointer;
position: absolute;
width: 27px;
height: 27px;
background-image: url(../../../img/iView/bg_direction_nav.png);
text-indent: -9999px;
-webkit-transition: left 0.3s ease-in-out;
-webkit-transition-property: left,right;
-moz-transition: left 0.3s ease-in-out;
-moz-transition-property: left,right;
-o-transition: left 0.3s ease-in-out;
-o-transition-property: left,right;
-ms-transition: left 0.3s ease-in-out;
-ms-transition-property: left,right;
transition: left 0.3s ease-in-out;
transition-property: left,right;
}
.iview div.iview-directionNav a.iview-nextNav {
right: -27px;
background-position: 27px 0px;
}
.iview div.iview-directionNav a.iview-prevNav {
left: -27px;
background-position: 0px 0px
}
.iview.iview-hover div.iview-directionNav a.iview-nextNav {
right: 20px;
}
.iview.iview-hover div.iview-directionNav a.iview-prevNav {
left: 20px;
}
.tp-caption.data-link:hover{
cursor: pointer;
}
.slide_config.data-link:hover {
cursor: pointer;
}
.iview-preloader {
border: #666 1px solid;
width: 150px
}
.iview-preloader div {
background: #666;
}
.iview-timer {
border-radius: 10px;
}
.iview-timer div {
border-radius: 10px;
}
.iview .iview-tooltip {
display: none;
position: absolute;
background: url('../../../img/iView/tooltip.png') no-repeat;
}
.iview .iview-tooltip div.holder {
display: block;
width: 124px;
height: 84px;
overflow: hidden;
border-radius: 2px;
}
.iview .iview-tooltip div.holder div.container {
display: block;
width: 4000px;
}
.iview .iview-tooltip div.holder div.container div {
float: left;
display: block;
overflow: hidden;
width: 124px;
height: 84px;
left: -50%;
text-align: center;
}
.iview .iview-tooltip div.holder div.container div img {
height: 84px;
margin: 0 auto;
max-width: 100%;
}

View File

@@ -0,0 +1,35 @@
<?php
/**
* 2007-2014 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2014 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;

View File

@@ -0,0 +1,162 @@
.container {
display: block;
margin: 0px auto;
}
.iview {
display: block;
width: 728px;
background: #000;
background: rgba(0, 0, 0, 1);
padding: 5px;
position: relative;
margin: 40px auto;
overflow: hidden;
-webkit-box-shadow: 0 38px 30px -18px rgba(0, 0, 0, 0.5);
-moz-box-shadow: 0 38px 30px -18px rgba(0, 0, 0, 0.5);
box-shadow: 0 38px 30px -18px rgba(0, 0, 0, 0.5);
}
.iview .iviewSlider {
display: block;
width: 728px;
height: 90px;
margin: 0px auto;
}
.iview2 {
display: block;
width: 300px;
background: #000;
background: rgba(0, 0, 0, 1);
padding: 5px;
position: relative;
margin: 40px auto;
overflow: hidden;
-webkit-box-shadow: 0 38px 30px -18px rgba(0, 0, 0, 0.5);
-moz-box-shadow: 0 38px 30px -18px rgba(0, 0, 0, 0.5);
box-shadow: 0 38px 30px -18px rgba(0, 0, 0, 0.5);
}
.iview2 .iviewSlider {
display: block;
width: 300px;
height: 600px;
margin: 0px auto;
}
.iview div.iview-directionNav {
position: absolute;
top: 37%;
left: 0px;
z-index: 9;
width: 100%;
}
.iview2 div.iview-directionNav {
top: 49%;
}
.iview div.iview-directionNav a {
display: block;
cursor: pointer;
position: absolute;
width: 27px;
height: 27px;
background-image: url(../../../img/iView/bg_direction_nav_white.png);
text-indent: -9999px;
-webkit-transition: left 0.3s ease-in-out;
-webkit-transition-property: left,right;
-moz-transition: left 0.3s ease-in-out;
-moz-transition-property: left,right;
-o-transition: left 0.3s ease-in-out;
-o-transition-property: left,right;
-ms-transition: left 0.3s ease-in-out;
-ms-transition-property: left,right;
transition: left 0.3s ease-in-out;
transition-property: left,right;
}
.iview div.iview-directionNav a.iview-nextNav {
right: -27px;
background-position: 27px 0px;
}
.iview div.iview-directionNav a.iview-prevNav {
left: -27px;
background-position: 0px 0px
}
.iview.iview-hover div.iview-directionNav a.iview-nextNav {
right: 20px;
}
.iview.iview-hover div.iview-directionNav a.iview-prevNav {
left: 20px;
}
.iview2 .iview-controlNav {
position: absolute;
bottom: 30px;
left: 133px;
}
.iview2 .iview-controlNav a {
text-indent: -9999px;
}
.iview2 .iview-controlNav a.iview-control {
padding: 0px;
float: left;
width: 11px;
height: 11px;
background: url('../../../img/iView/bullets_2.png') no-repeat 0px 0px;
line-height: 0px;
margin-right: 7px;
}
.iview2 .iview-controlNav a.iview-control.active {
background-position: 0px -11px;
}
.tp-caption {
background: url('../../../img/iView/caption-bg.png');
color: #FFF;
border-radius: 3px;
padding: 10px 15px;
font-family: Verdana;
font-size: 12px;
text-shadow: #000 1px 1px 0px;
}
.tp-caption.caption1 {
text-shadow: none;
}
.tp-caption.caption2 {
background: #FFF;
color: #000;
text-shadow: none;
}
.tp-caption.caption3 {
background: #c4302b;
box-shadow: rgba(0, 0, 0, 0.7) 10px 10px 15px 0px;
text-shadow: none;
}
.iview-preloader {
border: #666 1px solid;
width: 150px
}
.iview-preloader div {
background: #666;
}
.iview-timer {
border-radius: 10px;
}
.iview-timer div {
border-radius: 10px;
}

View File

@@ -0,0 +1,35 @@
<?php
/**
* 2007-2014 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2014 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;

View File

@@ -0,0 +1,15 @@
.jscom, .mix htcom { color: #4040c2; }
.com { color: green; }
.regexp { color: maroon; }
.string { color: teal; }
.keywords { color: blue; }
.global { color: #008; }
.numbers { color: #880; }
.comm { color: green; }
.tag { color: blue; }
.entity { color: blue; }
.string { color: teal; }
.aname { color: maroon; }
.avalue { color: maroon; }
.jquery { color: #00a; }
.plugin { color: red; }

View File

@@ -0,0 +1,47 @@
/**********************************
Name: cmxform Styles
***********************************/
form.cmxform {
width: 370px;
font-size: 1.0em;
color: #333;
}
form.cmxform legend {
padding-left: 0;
}
form.cmxform legend, form.cmxform label {
color: #333;
}
form.cmxform fieldset {
border: none;
border-top: 1px solid #C9DCA6;
background: url(../../../img/jquery-validation-1.9.0/cmxform-fieldset.gif) left bottom repeat-x;
background-color: #F8FDEF;
}
form.cmxform fieldset fieldset {
background: none;
}
form.cmxform fieldset p, form.cmxform fieldset fieldset {
padding: 5px 10px 7px;
background: url(../../../img/jquery-validation-1.9.0/cmxform-divider.gif) left bottom repeat-x;
}
form.cmxform label.error, label.error {
/* remove the next line when you have trouble in IE6 with labels in list */
color: red;
font-style: italic;
font-weight: normal;
}
div.error { display: none; }
input { border: 1px solid black; }
input.checkbox { border: none }
input:focus { border: 1px dotted black; }
input.error { border: 1px dotted red; }
form.cmxform .gray * { color: gray; }

View File

@@ -0,0 +1,55 @@
/**********************************
Use: cmxform template
***********************************/
form.cmxform fieldset {
margin-bottom: 10px;
}
form.cmxform legend {
padding: 0 2px;
font-weight: bold;
_margin: 0 -7px; /* IE Win */
}
form.cmxform label {
display: inline-block;
line-height: 1.8;
vertical-align: top;
cursor: hand;
}
form.cmxform fieldset p {
list-style: none;
padding: 5px;
margin: 0;
}
form.cmxform fieldset fieldset {
border: none;
margin: 3px 0 0;
}
form.cmxform fieldset fieldset legend {
padding: 0 0 5px;
font-weight: normal;
}
form.cmxform fieldset fieldset label {
display: block;
width: auto;
}
form.cmxform label { width: 100px; } /* Width of labels */
form.cmxform fieldset fieldset label { margin-left: 103px; } /* Width plus 3 (html space) */
form.cmxform label.error {
margin-left: 103px;
width: 220px;
}
form.cmxform input.submit {
margin-left: 103px;
}
/*\*//*/ form.cmxform legend { display: inline-block; } /* IE Mac legend fix */

View File

@@ -0,0 +1,21 @@
body, div { font-family: 'lucida grande', helvetica, verdana, arial, sans-serif }
body { margin: 0; padding: 0; font-size: small; color: #333 }
h1, h2 { font-family: 'trebuchet ms', verdana, arial; padding: 10px; margin: 0 }
h1 { font-size: large }
/*#main { padding: 1em; }*/
#banner { padding: 15px; background-color: #06b; color: white; font-size: large; border-bottom: 1px solid #ccc;
background: url(../../../img/jquery-validation-1.9.0/bg.gif) repeat-x; text-align: center }
#banner a { color: white; }
p { margin: 10px 0; }
li { margin-left: 10px; }
h3 { margin: 1em 0 0; }
h1 { font-size: 2em; }
h2 { font-size: 1.8em; }
h3 { font-size: 1.6em; }
h4 { font-size: 1.4em; }
h5 { font-size: 1.2em; }

View File

@@ -0,0 +1,35 @@
<?php
/**
* 2007-2014 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2014 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;

View File

@@ -0,0 +1,61 @@
/**********************************
Use: Reset Styles for all browsers
***********************************/
body, p, blockquote {
margin: 0;
padding: 0;
}
a img, iframe { border: none; }
/* Headers
------------------------------*/
h1, h2, h3, h4, h5, h6 {
margin: 0;
padding: 0;
font-size: 100%;
}
/* Lists
------------------------------*/
ul, ol, dl, li, dt, dd {
margin: 0;
padding: 0;
}
/* Links
------------------------------*/
a, a:link {}
a:visited {}
a:hover {}
a:active {}
/* Forms
------------------------------*/
form, fieldset {
margin: 0;
padding: 0;
}
fieldset { border: 1px solid #000; }
legend {
padding: 0;
color: #000;
}
input, textarea, select {
margin: 0;
padding: 1px;
font-size: 100%;
font-family: inherit;
}
select { padding: 0; }

View File

@@ -0,0 +1,11 @@
/**********************************
Use: Main Screen Import
***********************************/
@import "reset.css";
/*@import "core.css";*/
@import "cmxformTemplate.css";
@import "cmxform.css";

View File

@@ -0,0 +1,35 @@
<?php
/**
* 2007-2014 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2014 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 613 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 579 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

@@ -0,0 +1,35 @@
<?php
/**
* 2007-2014 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2014 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 259 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 799 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 930 B

View File

@@ -0,0 +1,35 @@
<?php
/**
* 2007-2014 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2014 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 930 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 930 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 227 B

View File

@@ -0,0 +1,35 @@
<?php
/**
* 2007-2014 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2014 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 220 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 314 B

View File

@@ -0,0 +1,35 @@
<?php
/**
* 2007-2014 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2014 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;

Binary file not shown.

After

Width:  |  Height:  |  Size: 418 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 223 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 807 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 348 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 820 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 343 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 924 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 278 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 184 B

View File

@@ -0,0 +1,35 @@
<?php
/**
* 2007-2014 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2014 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 743 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 149 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 670 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 846 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 668 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 807 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 125 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 287 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 260 B

View File

@@ -0,0 +1,35 @@
<?php
/**
* 2007-2014 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2014 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;

View File

@@ -0,0 +1,35 @@
<?php
/**
* 2007-2014 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2014 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,964 @@
/**
* Slider Editor
*
* @copyright Commercial License By LeoTheme.Com
* @email leotheme.com
* @visit http://www.leotheme.com
*/
(function($) {
$.fn.leoSliderEditor = function(initvar) {
/**
* Variables.
*/
this.data = null;
this.currentLayer = null;
this.stoolbar = $(".slider-toolbar");
this.seditor = $(".slider-editor");
this.ilayers = $(".layer-collection");
this.lform = $(".layer-form");
this.siteURL = null;
this.adminURL = null;
this.countItem = new Array();
this.delayTime = 9000;
this.state = false;
/**
* Create List Layers By JSON Data.
*/
this.createList = function(JSLIST, langID) {
var list = jQuery.parseJSON(JSLIST);
var $this = this;
//var $stoolbar = $( ".slider-toolbar" );
var layer = '';
if (list) {
$.each(list, function(i, jslayer) {
var type = list[i]['layer_type'] ? 'add-' + list[i]['layer_type'] : 'add-text';
$this.countItem[langID]++;
layer = $this.createLayer(type, list[i], list[i]['layer_id'], langID);
});
}
}
/**
* Crete A Layer By Type with Default data or specified data.
*/
this.createLayer = function(type, data, slayerID, langID) {
var $this = this;
if (!langID)
langID = findActiveLang();
this.seditor = $("#slider-editor_" + langID);
this.ilayers = $("#layer-collection_" + langID);
this.lform = $("#layer-form_" + langID);
if(data !== null && data.layer_status == "0")
{
var layer = $('<div class="draggable-item tp-caption in-active"><div class="caption-layer"></div></div>');
layer.attr('id','slayerID_'+ slayerID );
var ilayer = $('<div class="layer-index"></div>').attr("id","i-"+layer.attr("id"));
ilayer.append( '<div class="slider-wrap"></div><div class="clearfix"></div>' );
ilayer.append( '<span class="i-no">'+($(".draggable-item",$this.seditor).length+1)+'</span>' );
ilayer.append( '<span class="layer-index-caption"></span>' );
ilayer.append('<span class="status in-active">show</span>');
}else{
var layer = $('<div class="draggable-item tp-caption"><div class="caption-layer"></div></div>');
layer.attr('id','slayerID_'+ slayerID );
var ilayer = $('<div class="layer-index"></div>').attr("id","i-"+layer.attr("id"));
ilayer.append( '<div class="slider-wrap"></div><div class="clearfix"></div>' );
ilayer.append( '<span class="i-no">'+($(".draggable-item",$this.seditor).length+1)+'</span>' );
ilayer.append( '<span class="layer-index-caption"></span>' );
ilayer.append( '<span class="status">show</span>' );
}
switch (type) {
case 'add-text':
if (data === null)
$this.addLayerText(layer, ilayer, "Your Caption Here " + $this.countItem[langID], langID);
else
$this.addLayerText(layer, ilayer, data.layer_caption, langID);
break;
case 'add-video':
if (data === null)
$this.addLayerVideo(layer, ilayer, "Your Video Here " + $this.countItem[langID], langID);
else
$this.addLayerVideo(layer, ilayer, data.layer_caption, langID);
break;
case 'add-image':
if (data === null)
$this.addLayerImage(layer, ilayer, "Your Image Here " + $this.countItem[langID], langID);
else
$this.addLayerImage(layer, ilayer, data.layer_caption, langID);
break;
}
$("#layer_id_" + langID).val(slayerID);
// create slider timing
$('#islider_' + slayerID).slider({max: $this.delayTime,
value: (400 * $this.countItem[langID]),
slide: function(event, ui) {
$('#input-islider_' + slayerID).val(ui.value);
}
});
$('#input-islider_' + slayerID).val(400 * $this.countItem[langID]);
// auto set current active.
$this.setCurrentLayerActive(layer, langID);
//auto bind the drag and drap for this
$(layer).draggable({containment: "#slider-editor_" + langID,
drag: function() {
$this.setCurrentLayerActive(layer, langID);
$this.updatePosition(layer.css('left'), layer.css("top"));
},
create: function() {
$this.createDefaultLayerData(layer, data, langID);
}
});
// bind current layer be actived when this selected.
layer.click(function() {
if (!$(this).hasClass('layer-active'))
{
$this.setCurrentLayerActive(layer, langID);
}
});
$("#i-" + layer.attr("id")).click(function() {
if (!$(this).hasClass('layer-active'))
{
// if ($this.currentLayer != null) {
// $this.storeCurrentLayerData(langID);
// }
$this.setCurrentLayerActive(layer, langID);
}
});
/// insert typo
return layer;
};
/**
* Process All First Handler.
*/
this.process = function(adminURL, delayTime) {
this.adminURL = adminURL;
this.delayTime = delayTime;
var $this = this;
$("div.btn-create", $this.stoolbar).click(function() {
langID = findActiveLang();
++$this.countItem[langID];
slayerID = langID + "_" + $this.countItem[langID];
var layer = $this.createLayer($(this).attr("data-action"), null, slayerID);
if ($(this).attr("data-action") == 'add-image') {
$this.showDialogImage('img-' + layer.attr('id'));
}
if ($(this).attr("data-action") == 'add-video') {
$this.showDialogVideo( );
}
return false;
});
$(".btn-delete").click(function() {
$this.deleteCurrentLayer();
});
/////////// FORM SETTING ///////////
// auto save when any change of element form.
$('input, select ,textarea', '.slider-form').change(function() {
langID = findActiveLang();
if ($(this).hasClass('layer_top') || $(this).hasClass('layer_left')) {
$this.currentLayer.css({top: $('.layer_top', '#slider-form_' + langID + ' #slider-toolbar_' + langID).val() + "px",
left: $('.layer_left', '#slider-form_' + langID + ' #slider-toolbar_' + langID).val() + "px"
});
}
$this.state = true;
if ($this.currentLayer != null) {
$this.storeCurrentLayerData(langID);
}
});
$('.layer_class', '.slider-form').change(function() {
$this.currentLayer.attr("class", "draggable-item tp-caption layer-text layer-active ui-draggable " + $(this).val())
});
$('.layer_background_color', '.slider-form').change(function() {
$this.currentLayer.css("background-color", $(this).val());
});
$('.layer_color', '.slider-form').change(function() {
$this.currentLayer.css("color", $(this).val());
});
$('.layer_font_size', '.slider-form').change(function() {
$this.currentLayer.css("font-size", $(this).val());
});
// auto fill text for name or any.
$('.input-slider-caption', '.slider-form').keyup(function() {
setTimeout(function()
{
langID = findActiveLang();
$(".caption-layer", $this.currentLayer).html($('.input-slider-caption', '#slider-form_' + langID + ' #slider-toolbar_' + langID).val());
$('.layer-index-caption', "#i-" + $this.currentLayer.attr("id")).text($(".caption-layer", $this.currentLayer).text());
}, 6);
$this.state = true;
});
$('.input-slider-caption', '.slider-form').change(function() {
langID = findActiveLang();
$this.storeCurrentLayerData(langID);
});
/**** GLOBAL PROCESS ****/
$('.slider-editor').each(function() {
$(".draggable-item", $(this)).draggable({containment: $(this)});
});
//$(".draggable-item", this.seditor).draggable({ containment: "#slider-toolbar .slider-editor" });
$(".layer-collection").sortable({accept: "div",
update: function() {
var j = 1;
$(".layer-index", $this.ilayers).each(function(i, e) {
$(".i-no", e).html((j++));
// $("#"+e.replace("i-","").css('z-index',j));
});
}
});
$this.ilayers.delegate('.status', 'click', function() {
$(this).toggleClass('in-active');
$('#' + ($(this).parent('.layer-index').attr("id").replace("i-", ""))).toggleClass("in-active");
// togle value hidden input status
langID = findActiveLang();
val = $('[name="layer_status"]', '#slider-form_' + langID).val();
val = (val === "1" ? "0" : "1");
$('[name="layer_status"]', '#slider-form_' + langID).val(val).trigger('change');
});
/**
* - Change image
*/
$this.seditor.delegate('.btn-change-img', 'click', function() {
$this.showDialogImage('img-' + $this.currentLayer.attr('id'));
});
$('.slider-editor').each(function() {
$(this).delegate('.btn-change-video', 'click', function() {
$this.showDialogVideo();
});
});
/**
* Close video for layer
*/
$(".layer-close-video").click(function() {
langID = findActiveLang();
$("#dialog-video_" + langID).hide();
//$("#" + $this.currentLayer.attr('id')).remove();
$this.deleteCurrentLayer();
});
/**
* Find video for layer
*/
$(".layer-find-video").click(function() {
langID = findActiveLang();
if ($("#dialog_video_id_" + langID).val()) {
$this.videoDialogProcess($("#dialog_video_id_" + langID).val(), langID);
}
else {
$("#video-preview_" + langID).html('<div class="error">Could not find any thing</div>');
}
});
/**
* Apply video for layer
*/
$(".apply_this_video").click(function() {
langID = findActiveLang();
$("#video-" + $this.currentLayer.attr('id')).html('<img width="' + $('[name="layer_video_width"]', '#slider-form_' + langID).val() + '" height="' + $('[name="layer_video_height"]', '#slider-form_' + langID).val() + '" src="' + $("#layer_video_thumb_" + langID).val() + '"/>');
$("#dialog-video_" + langID).hide();
$this.storeCurrentLayerData(langID);
});
this.insertTypo();
$("#btn-preview-slider").click(function() {
$this.preview();
});
/** SUBMIT FORM **/
this.submitForm();
};
this.submitForm = function() {
var $this = this;
$("#module_form").submit(function() {
errorList = 0;
//when add new
if ($("#id_slide").length) {
$(".slider-title").each(function() {
if ($(this).val() == "") {
errorList = 1;
alert(txt_input_title);
return false;
}
});
} else {
if ($("#title_" + $("#current_language").val()).val() == "" || $("#title_" + findActiveLang()).val() == "") {
errorList = 1;
alert(txt_input_title);
}
}
if (errorList)
return false;
var data = [];
var i = 0;
var params = $("#module_form").serialize() + "&";
var times = '';
$('.slider-form').each(function() {
langID = $(this).attr("id").replace("slider-form_", "");
$(".slider-editor .draggable-item", $(this)).each(function() {
var param = '';
$.each($(this).data("data-form"), function(_, e) {
if ($(this).attr('name').indexOf('layer_time') == -1 && $(this).attr('name').indexOf('slider-image')) {
if (e.name == 'layer_caption' || e.name == 'layer_link') {
e.value = e.value.replace(/\&/g, '_ASM_');
}
param += 'layers_' + langID + '[' + i + '][' + e.name + ']=' + e.value + '&';
}
});
params += param + "&";
i++;
});
$(".input-time input", $(this)).each(function(i, e) {
params += $(e).attr('name') + "=" + $(e).val() + "&";
});
// console.log('test1');
$(".slider-backcolor", $(this)).each(function(i, e) {
// console.log('test');
params += "background_color_" + langID + "=" + $(e).val() + "&";
});
});
$.ajax({
url: $(".slider-form").attr('action'),
dataType: "JSON",
type: "POST",
'data': params
}).done(function(json) {
if (json && json.hasError == true){
alert(json.errors);
}else{
if(json.error == 2)
{
// add, edit SLIDE
$('#content #leo_error').remove();
$('#content').prepend(json.text);
// $('body').scrollTo('#content #leo_error');
$('body').scrollTo('0');
}
else if (json.error) {
alert(json.text);
} else {
if ($("#id_slide").length && $("#id_slide").val()) {
location.reload();
} else {
// console.log(admin_modules_link);
// console.log(json.text);
// location.reload();
location.assign(leo_admin_module_link + json.text);
}
}
}
});
return false;
});
};
this.getFormsData = function(langID) {
var objects = new Object();
objects.params = new Object();
objects.video = new Object();
//get params
$.each($("#module_form").serializeArray(), function(_, e) {
if (e.name == "title_" + langID) {
objects.title = e.value;
} else if (e.name == "link_" + langID) {
objects.link = e.value;
} else if (e.name == "thumbnail_" + langID) {
objects.thumbnail = e.value;
} else if (e.name == "image_" + langID) {
objects.image = e.value;
} else if (e.name == "active_slide") {
objects.active = e.value;
}
//video
else if (e.name == "usevideo_" + langID) {
objects.video["usevideo"] = e.value;
} else if (e.name == "videoid_" + langID) {
objects.video["videoid"] = e.value;
} else if (e.name == "videoauto_" + langID) {
objects.video["videoauto"] = e.value;
}
//param
else if (e.name.indexOf("slider") != -1) {
e.name = e.name.replace("slider[", "");
e.name = e.name.replace("]", "");
objects.params[e.name] = e.value;
}
});
var i = 0;
objects.layers = new Object();
$(".slider-editor .draggable-item", $("#slider-form_" + langID)).each(function() {
var iobject = new Object();
$.each($(this).data("data-form"), function(_, e) {
if ($(this).attr('name').indexOf('layer_time') == -1) {
var content_e = e.value;
// console.log(content_e);
content_e = content_e.replace(/"/g, "_LEO_DOUBLE_QUOTE_");
content_e = content_e.replace(/\\/g, "_LEO_BACKSLASH_");
// console.log(content_e);
iobject[e.name] = content_e;
}
});
iobject.time_start = $("#input-islider_" + iobject.layer_id).val();
objects.layers[i] = iobject;
i++;
});
objects.background_color = $('.slider-backcolor[data-lang='+langID+']').val();
objects.times = new Object();
// console.log(objects);
return (JSON.stringify(objects));
}
this.preview = function() {
langID = findActiveLang();
var params = this.getFormsData(langID);
// console.log(params);
url = $("#btn-preview-slider").attr("data-link") + "&content_only=1&preview=1";
url = url.replace("id_lang=" + $("#current_language").val(), "id_lang=" + langID);
var field = 'input-layer-class';
var $class = $("#" + field).val();
$('#dialog').remove();
$('#content').prepend('<div id="dialog" style="padding: 3px 0px 0px 0px;"><form action="' + url + '&field='
+ encodeURIComponent(field) + '" method="post" target="iframename" id="formid"><input type="hidden" name="slider_preview_data" id="slider-preview-data"></form><iframe name="iframename" src="' + url + '&field='
+ encodeURIComponent(field) + '" style="padding:0; margin: 0; display: block; width: 100%; height: 100%;" frameborder="no" scrolling="auto"></iframe></div>');
$("#slider-preview-data").val(params);
$('#dialog').dialog({
title: 'Preview Management',
close: function(event, ui) {
},
bgiframe: false,
width: 1024,
height: 780,
resizable: true,
draggable: false,
modal: true
});
$("#formid").submit();
};
this.insertTypo = function() {
var $this = this;
$(".btn-insert-typo").click(function() {
langID = findActiveLang()
var field = 'input-layer-class_' + langID;
var $class = $("#" + field).val();
$('#dialog').remove();
$('#content').prepend('<div id="dialog" style="padding: 3px 0px 0px 0px;"><iframe src="' + ajaxfilelink + '&typo=1&field=' + encodeURIComponent(field) + '" style="padding:0; margin: 0; display: block; width: 100%; height: 100%;" frameborder="no" scrolling="auto"></iframe></div>');
$('#dialog').dialog({
title: 'Typo Management',
close: function(event, ui) {
if ($("#" + field).val()) {
$this.currentLayer.removeClass($class).addClass($("#" + field).val());
$this.storeCurrentLayerData(langID);
}
},
bgiframe: false,
width: 1024,
height: 780,
resizable: true,
modal: false
});
});
}
/**
*
*/
this.showDialogVideo = function( ) {
$("#dialog-video_" + findActiveLang()).show();
this.videoDialogProcess('');
}
this.videoDialogProcess = function(videoID, langID) {
var $this = this;
var error = false;
if (videoID != "") {
if ($("#layer_video_type_" + langID).val() == 'vimeo') {
$.getJSON('http://www.vimeo.com/api/v2/video/' + videoID + '.json?callback=?', {format: "json"}, function(data) {
$this.showVideoPreview(data[0].title, data[0].description, data[0].thumbnail_large, langID);
});
} else {
$.getJSON("https://www.googleapis.com/youtube/v3/videos", {
key: "AIzaSyCd_0-QlEJxyXP8LerrvLUJZjQY3s7sbis",
part: "snippet,statistics",
id: videoID
}, function(data) {
if (data.items.length === 0) {
// Video not found.
return;
}
$this.showVideoPreview(data.items['0'].snippet.title, data.items['0'].snippet.description, data.items['0'].snippet.thumbnails.high.url, langID)
});
}
}
};
this.showVideoPreview = function(title, description, image, langID) {
if (title) {
var html = '';
html += '<div class="video-title">' + title + '</div>';
html += '<img src="' + image + '">';
html += '<div class="video-description">' + description + '</div>';
$("#layer_video_thumb_" + langID).val(image);
$("#video-preview_" + langID).html(html);
$("#apply_this_video_" + langID).show();
} else {
$("#video-preview_" + langID).html('<div class="error">Could not find any thing</div>');
}
}
/**
* Set Current Layer is Actived And Show Form Setting For It.
*/
this.setCurrentLayerActive = function(layer, langID) {
// console.log($(layer));
//$(".draggable-item", this.seditor).removeClass("layer-active");
$('#slider-editor_'+langID).find(".draggable-item").removeClass("layer-active");
// console.log(this.seditor);
$(layer).addClass("layer-active");
// console.log($(layer));
//$(".layer-index", this.layers).removeClass("layer-active");
$('#layer-collection_'+langID).find(".layer-index").removeClass("layer-active");
// console.log(this.layers);
$("#i-" + layer.attr("id")).addClass("layer-active");
// console.log($("#i-" + layer.attr("id")));
this.currentLayer = layer;
// console.log(this.currentLayer);
this.showLayerForm(layer, langID);
// console.log(this.currentLayer);
};
/**
* Add Layer Having Type Text
*/
this.addLayerText = function(layer, ilayer, caption, langID) {
layer.addClass('layer-text');
$(".caption-layer", layer).html(caption);
this.seditor.append(layer);
$("#layer_type_" + langID).val('text');
this.ilayers.append(ilayer);
$(".layer-index-caption", ilayer).html(caption);
};
/**
* Add Layer Having Type Video: Support YouTuBe And Vimeo.
*/
this.addLayerVideo = function(layer, ilayer, caption, langID) {
layer.addClass('layer-content');
$(".caption-layer", layer).html(caption);
this.seditor.append(layer);
this.ilayers.append(ilayer);
$(".layer-index-caption", ilayer).html(caption);
$("#layer_type_" + langID).val('video');
layer.append('<div class="layer_video" id="' + 'video-' + layer.attr('id') + '"><div class="content-sample"></div></div><div class="btn-change-video">Change Video</div>');
};
/**
* Add Layer Having Type Image.
*/
this.addLayerImage = function(layer, ilayer, caption, langID) {
layer.addClass('layer-content');
$(".caption-layer", layer).html(caption);
layer.append('<div class="layer_image" id="' + 'img-' + layer.attr('id') + '"><div class="content-sample"></div></div><div class="btn-change-img">Change Image</div>');
this.seditor.append(layer);
this.ilayers.append(ilayer);
$(".layer-index-caption", ilayer).html(caption);
$("#layer_type_" + langID).val('image');
$("#layer_content_" + langID).val('');
// show input form
};
this.showDialogImage = function(thumb) {
var $this = this;
var field = 'layer_content_' + findActiveLang();
var $url = this.adminURL;
$('#dialog').remove();
$('#content').prepend('<div id="dialog" style="padding: 3px 0px 0px 0px;"><iframe src="' + $url + '&field=' + encodeURIComponent(field) + '" style="padding:0; margin: 0; display: block; width: 100%; height: 100%;" frameborder="no" scrolling="auto"></iframe></div>');
$('#dialog').dialog({
title: 'Image Management',
close: function(event, ui) {
if ($('#' + field).val()) {
correctLink = $('#' + field).val();
$('#' + field).val(correctLink);
$('#' + thumb).replaceWith('<img src="' + psBaseModuleUri + $('#' + field).val() + '" alt="" id="' + thumb + '" />');
$this.storeCurrentLayerData(findActiveLang());
}else{
$this.storeCurrentLayerData(findActiveLang());
$this.deleteCurrentLayer(); // Close image
}
},
bgiframe: false,
width: 1024,
height: 780,
resizable: true,
modal: false
});
}
/**
* Delete Current Layer: Remove HTML and Data. Hidden Form When Delete All Layers.
*/
this.deleteCurrentLayer = function() {
var $this = this;
if ($this.currentLayer) {
$("#i-" + $this.currentLayer.attr("id")).remove();
$this.currentLayer.remove();
$this.currentLayer.data("data-form", null);
$this.currentLayer = null;
// if( $(".draggable-item",$this.seditor).length <= 0 ) {
$this.lform.hide();
$('#dialog').remove();
$('#dialog-video').hide();
// }
} else {
alert("Please click one to delete");
}
};
/**
* Set Default Value For Data Element Form Of Layer With Default Setting Or Sepecified Data.
*/
this.createDefaultLayerData = function(layer, data, langID) {
var $this = this;
if (data != null && data) {
$.each(data, function(key, valu) {
if (key != 'layer_slider') {
if (key == 'layer_caption' || key == 'layer_link') {
if (valu)
valu = valu.replace(/_ASM_/g, '&').replace(/&apos;/g, "'");
}
$('[name="' + key + '"]', '#slider-form_' + langID).val(valu);
}
if (key == 'layer_top') {
$this.currentLayer.css('top', valu + 'px');
}
if (key == 'layer_left') {
$this.currentLayer.css('left', valu + 'px');
}
});
if (data['layer_type'] == 'image') {
var thumb = 'img-' + $this.currentLayer.attr('id');
//var src = $this.siteURL+"image/"+data['layer_content_'+langID];
$('#' + thumb).replaceWith('<img src="' + psBaseModuleUri + data['layer_content'] + '" alt="" id="' + thumb + '" />');
// this.siteURL
}
if (data['layer_type'] == 'video') {
var thumb = 'video-' + $this.currentLayer.attr('id');
var src = data['layer_video_thumb'];
$(".content-sample", $this.currentLayer).html('<img height="' + data['layer_video_height'] + '" width="' + data['layer_video_width'] + '" src="' + src + '"/>');
// this.siteURL
}
if (data['layer_type'] == 'text') {
$this.currentLayer.addClass(data['layer_class']);
$('[name="layer_font_size"]', '#slider-form_' + langID).trigger('change');
$('[name="layer_background_color"]', '#slider-form_' + langID).css('background-color', $('[name="layer_background_color"]', '#slider-form_' + langID).val());
$('[name="layer_background_color"]', '#slider-form_' + langID).trigger('change');
$('[name="layer_color"]', '#slider-form_' + langID).css('background-color', $('[name="layer_color"]', '#slider-form_' + langID).val());
$('[name="layer_color"]', '#slider-form_' + langID).trigger('change');
$this.currentLayer.addClass(data['layer_class']);
}
if (data['layer_caption'])
data['layer_caption'] = data['layer_caption'].replace(/_ASM_/g, '&').replace(/&apos;/g, "'");
if (data['layer_link'] != undefined)
data['layer_link'] = data['layer_link'].replace(/_ASM_/g, '&').replace(/&apos;/g, "'");
$(".caption-layer", $this.currentLayer).html(data['layer_caption']);
$(".layer-index-caption", '#i-slayerID' + data['layer_id']).text($(".caption-layer", $this.currentLayer).text());
$('[name="layer_time[' + data['layer_id'] + ']"]', '#slider-form_' + langID).val(data['time_start']);
$("#islider_" + data['layer_id']).slider('value', data['time_start']);
//$this.currentLayer = layer;
} else {
// Add new layer
$('[name="layer_caption"]', '#slider-form_' + langID).val($(".caption-layer", layer).html()).trigger('change');
$('[name="layer_left"]', '#slider-form_' + langID).val(0);
$('[name="layer_top"]', '#slider-form_' + langID).val(0);
$('[name="layer_class"]', '#slider-form_' + langID).val('');
$('[name="layer_font_size"]', '#slider-form_' + langID).val('');
$('[name="layer_background_color"]', '#slider-form_' + langID).val('');
$('[name="layer_background_color"]', '#slider-form_' + langID).trigger('change');
$('[name="layer_color"]', '#slider-form_' + langID).val('');
$('[name="layer_color"]', '#slider-form_' + langID).trigger('change');
$('[name="layer_link"]', '#slider-form_' + langID).val('');
$('[name="layer_speed"]', '#slider-form_' + langID).val(350);
$('[name="layer_endtime"]', '#slider-form_' + langID).val(0);
$('[name="layer_endspeed"]', '#slider-form_' + langID).val(300);
$('[name="layer_endanimation"]', '#slider-form_' + langID).val('auto');
$('[name="layer_endeasing"]', '#slider-form_' + langID).val('nothing');
$('[name="layer_status"]', '#slider-form_' + langID).val('1');
}
this.storeCurrentLayerData(langID);
};
/**
* Update Position In Element Form Of Current When Draping.
*/
this.updatePosition = function(left, top) {
langID = findActiveLang();
$('[name="layer_top"]', '#slider-form_' + langID).val(parseInt(top));
$('[name="layer_left"]', '#slider-form_' + langID).val(parseInt(left));
this.storeCurrentLayerData(langID);
};
/**
* Show Layer Form When A Layer Is Actived.
* Set data to form
*/
this.showLayerForm = function(layer, langID) {
// restore data form for
var $currentLayer = this.currentLayer;
if ($currentLayer.data("data-form")) {
$.each($currentLayer.data("data-form"), function(_, kv) {
if ($(this).attr('name').indexOf('layer_time') == -1) {
$('[name="' + kv.name + '"]', '#slider-form_' + langID).val(kv.value);
//console.log('[name="'+kv.name+'"]' + ' : ' + kv);
}
});
}
// Change color 2 button
$('[name="layer_color"]', '#slider-form_' + langID).css('background-color', $('[name="layer_color"]', '#slider-form_' + langID).val());
$('[name="layer_background_color"]', '#slider-form_' + langID).css('background-color', $('[name="layer_background_color"]', '#slider-form_' + langID).val());
$("#layer-form_" + langID).show();
};
/**
* Set Current Layer Data.
*/
this.storeCurrentLayerData = function(langID) {
this.state = false;
this.currentLayer.data("data-form", $('#slider-form_' + langID).serializeArray());
};
//THIS IS VERY IMPORTANT TO KEEP AT THE END
return this;
};
})(jQuery);
/***/
function background_upload(field, thumb, ajaxfilelink, psBaseModuleUri) {
$('#dialog').remove();
$('#content').prepend('<div id="dialog" style="padding: 3px 0px 0px 0px;"><iframe src="' + ajaxfilelink + '&field=' + encodeURIComponent(field) + '" style="padding:0; margin: 0; display: block; width: 100%; height: 100%;" frameborder="no" scrolling="auto"></iframe></div>');
$('#dialog').dialog({
title: 'Select Background',
close: function(event, ui) {
correctLink = $('#' + field).val();
$('#' + field).val(correctLink);
$('#' + thumb).attr("src", psBaseModuleUri + correctLink);
$('#' + thumb).show();
},
bgiframe: false,
width: 1024,
height: 780,
resizable: true,
modal: false
});
return false;
}
$(document).ready(function() {
$(".leo-w-option").click(function() {
widthVal = $(this).data("width");
html = $(this).html() + '<span class="caret"></span>';
elementDiv = $(this).closest("div");
$(".col-val", $(elementDiv)).val(widthVal);
$("button", $(elementDiv)).html(html);
});
$(".choise-class").click(function() {
$(this).parent().find('input[type=checkbox]').trigger("click");
});
$(".leo-col-class input[type=radio]").click(function() {
if (!$(this).hasClass('active'))
{
// classChk = $(this).attr("name").replace("col_", "");
classChk = $(this).data("name");
elementText = $(this).closest('.well').find('.group-class').first();
if ($(elementText).val() != "")
{
var check_class_exists = false;
if ($(".leo-col-class input[type=radio]:checked").length)
{
// console.log($(".leo-col-class input[type=radio]:checked").data("name"));
// console.log($(elementText).val());
$(".leo-col-class input[type=radio]:not(:checked)").each(function(){
// console.log($(this).data("name"));
// console.log($(elementText).val());
var e_val = $(elementText).val();
// $(elementText).val(e_val.replace($(this).data("name"),""));
// console.log($(elementText).val());
//console.log(e_val.indexOf($(this).data("name")));
if (e_val.indexOf($(this).data("name")) != -1) {
$(elementText).val(e_val.replace($(this).data("name"),classChk));
check_class_exists = true;
}
})
}
if (check_class_exists == false)
{
// $(elementText).val($(elementText).val() + " " + classChk);
if ($(elementText).val() != "")
{
$(elementText).val($(elementText).val() + " " + classChk);
}
else
{
$(elementText).val(classChk);
}
}
}
else
{
$(elementText).val(classChk);
}
$(".leo-col-class input.active").removeClass('active');
$(this).addClass('active');
}
// $(elementText).val('');
// $(elementText).val(classChk);
//add
// if ($(this).is(':checked')) {
// if ($(elementText).val().indexOf(classChk) == -1) {
// if ($(elementText).val() != "") {
// $(elementText).val($(elementText).val() + " " + classChk);
// } else {
// $(elementText).val(classChk);
// }
// }
// } else {
//remove
// if ($(elementText).val().indexOf(classChk) != -1) {
// $(elementText).val($(elementText).val().replace(classChk + " ", ""));
// $(elementText).val($(elementText).val().replace(" " + classChk, ""));
// $(elementText).val($(elementText).val().replace(classChk, ""));
// }
// }
});
$(".group-class").change(function() {
elementChk = $(this).closest('.well').find('input[type=checkbox]');
classText = $(this).val();
$(elementChk).each(function() {
classChk = $(this).attr("name").replace("col_", "");
if (classText.indexOf(classChk) != -1) {
if (!$(this).is(':checked'))
$(this).prop("checked", true);
} else {
$(this).prop("checked", false);
}
});
});
$(".group-class").trigger('change');
$(".slideshow-mode").change(function() {
classShow = "mode-" + $(this).val();
$('.mode-width').each(function() {
if ($(this).hasClass(classShow))
$(this).closest('.form-group').show();
else
$(this).closest('.form-group').hide();
});
});
$(".slideshow-mode").trigger('change');
//DONGND:: move form javascript inline
if (typeof leo_slider_list_link != 'undefined' && leo_slider_list_link.length)
{
var $mySlides = $("#slides");
$mySlides.sortable({
opacity: 0.6,
cursor: "move",
update: function() {
var order = $(this).sortable("serialize") + "&action=updateSlidesPosition";
$.post(leo_slider_list_link , order).done(function(){
showSuccessMessage(update_success_msg);
});
}
});
$mySlides.hover(function() {
$(this).css("cursor","move");
},
function() {
$(this).css("cursor","auto");
});
}
});

View File

@@ -0,0 +1,79 @@
/**
* @copyright Commercial License By LeoTheme.Com
* @email leotheme.com
* @visit http://www.leotheme.com
*/
$(document).ready(function() {
$('.alert.alert-info').css( 'cursor', 'pointer' );
$("#module_form").validate({
rules: {
'group[blockCols]': {
min: 5 // fix : Slideshow Iview die Timer
}
}
});
$('.form-action').change(function() {
var elementName = $(this).attr('name');
elementName = elementName.replace('[', '');
elementName = elementName.replace(']', '');
$('.' + elementName + '_sub').closest(".form-group").hide(300);
$('.' + elementName + '-' + $(this).val()).closest(".form-group").show(300);
$('.' + elementName + '_sub').closest(".form_sub").hide(300);
$('.' + elementName + '-' + $(this).val()).closest(".form_sub").show(300); // color has two class form-group
});
$('.form-action').trigger("change");
// $('.sperator_form').click(function() {
// var elementName = $(this).attr('name');
// var flag = $(this).attr('nextClick');
// if(flag=='false'){
// flag = 'true';
// $('.' + elementName + '_sub').closest(".form-group").hide(300);
// $('.' + elementName + '_sub').closest(".form_sub").hide(300);
// }else{
// flag = 'false';
// $('.' + elementName + '_sub').closest(".form-group").show(300);
// $('.' + elementName + '_sub').closest(".form_sub").show(300);
// $('.form-action').trigger("change");
// }
// $(this).attr( 'nextClick',flag);
// });
// $('.sperator_form').trigger("click");
//DONGND:: tab change in group config
var id_panel = $("#slideshowgeneralsetting .leoslideshow-tablist li.active a").attr("href");
$(id_panel).addClass('active').show();
$('.leoslideshow-tablist li').click(function(){
if(!$(this).hasClass('active'))
{
var default_tab = $(this).find('a').attr("href");
$('#LEOSLIDESHOW_GROUP_DEFAULTTAB').val(default_tab);
}
})
});
(function ($) {
$.each($.validator.methods, function (key, value) {
$.validator.methods[key] = function () {
if(arguments.length > 0) {
arguments[0] = $.trim(arguments[0]);
}
return value.apply(this, arguments);
};
});
} (jQuery));

View File

@@ -0,0 +1,35 @@
<?php
/**
* 2007-2014 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2014 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;

File diff suppressed because it is too large Load Diff

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