Initial commit

This commit is contained in:
2019-11-20 07:44:43 +01:00
commit 5bf49c4a81
41188 changed files with 5459177 additions and 0 deletions

View File

@@ -0,0 +1,568 @@
/**
* 2007-2018 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 DPD France S.A.S. <support.ecommerce@dpd.fr>
* @copyright 2018 DPD France S.A.S.
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
*/
@font-face
{
font-family:DPDPlutoSansExtraLight;
src:url(../../fonts/PlutoSansDPDExtraLight-Web.ttf);
}
@font-face
{
font-family:DPDPlutoSansLight;
src:url(../../fonts/PlutoSansDPDLight-Web.ttf);
}
@font-face
{
font-family:DPDPlutoSansRegular;
src:url(../../fonts/PlutoSansDPDRegular-Web.ttf);
}
#fieldset_rss {
background-color: #e6e7e7 !important;
}
#fieldset_rss legend {
padding: 0;
margin: 0;
font-size: 14px;
font-family: DPDPlutoSansLight;
border-style: none;
}
#fieldset_grid {
background-color: white !important;
}
#zonemarquee {
padding: 0;
margin: 0;
position: relative;
overflow: hidden;
width: 100%;
}
div.js-marquee {
font-family: DPDPlutoSansExtraLight;
height: 24px;
padding: 4px 0;
}
div.js-marquee strong {
font-family: DPDPlutoSansLight;
color: #dc0032;
}
.marquee {
display: block;
padding: 10px;
width: 800px;
color: #424143;
margin: 0;
padding: 0;
}
.row {
background-color: white;
padding: 10px;
margin: 5px !important;
}
#exportform p {
padding: 20px 0;
}
#tableFilter {
height: 25px;
padding: 0px 10px;
width: 50%;
color: #808285 !important;
font-family: "DPDPlutoSansLight";
font-size : 11px;
border-style: none;
background-color: #e6e7e7;
margin: 0px;
}
#filtericon {
height: 25px;
width: 32px;
padding: 0 4px 0 3px;
background-color: #424143;
}
tbody tr td {
width: 20px;
font-size: 12px;
border-color: #bfbfbf;
border-bottom-width: 1px;
border-left-width: 0;
border-top-width: 0;
border-right-width: 0;
border-style: solid;
font-family: DPDPlutoSansLight;
}
td.id {
width: 50px;
font-size: 12px;
border-color: #bfbfbf;
border-bottom-width: 1px;
border-left-width: 0;
border-top-width: 0;
border-right-width: 0;
border-style: solid;
}
td.ref {
width: 90px;
font-size: 12px;
border-color: #bfbfbf;
border-bottom-width: 1px;
border-left-width: 0;
border-top-width: 0;
border-right-width: 0;
border-style: solid;
}
td.date {
width: 130px;
font-size: 11px;
border-color: #bfbfbf;
border-bottom-width: 1px;
border-left-width: 0;
border-top-width: 0;
border-right-width: 0;
border-style: solid;
}
td.nom {
width: 200px;
font-size: 12px;
border-color: #bfbfbf;
border-bottom-width: 1px;
border-left-width: 0;
border-top-width: 0;
border-right-width: 0;
border-style: solid;
}
td.type {
width: 50px;
font-size: 0pc;
border-color: #bfbfbf;
border-bottom-width: 1px;
border-left-width: 0;
border-top-width: 0;
border-right-width: 0;
border-style: solid;
}
td.pr {
width: 250px;
font-size: 12px;
border-color: #bfbfbf;
border-bottom-width: 1px;
border-left-width: 0;
border-top-width: 0;
border-right-width: 0;
border-style: solid;
}
a.popup {
font-family: "DPDPlutoSansLight";
text-decoration: none;
color: #424143;
}
a.popup:hover {
color: #dc0032;
}
td.cp {
width: 45px;
font-size: 12px;
border-color: #bfbfbf;
border-bottom-width: 1px;
border-left-width: 0;
border-top-width: 0;
border-right-width: 0;
border-style: solid;
}
td.ville {
width: 200px;
font-size: 12px;
border-color: #bfbfbf;
border-bottom-width: 1px;
border-left-width: 0;
border-top-width: 0;
border-right-width: 0;
border-style: solid;
}
td.prix {
width: 75px;
font-size: 12px;
border-color: #bfbfbf;
border-bottom-width: 1px;
border-left-width: 0;
border-top-width: 0;
border-right-width: 0;
border-style: solid;
padding-left: 20px;
text-align:right;
}
td.advalorem {
width: 20px;
font-size: 12px;
padding-left: 10px;
padding-right: 5px;
border-color: #bfbfbf;
border-bottom-width: 1px;
border-left-width: 0;
border-top-width: 0;
border-right-width: 0;
border-style: solid;
}
td.retour {
text-align: center;
width: 50px;
}
td.poids {
width: 80px;
font-size: 12px;
text-align:center;
border-color: #bfbfbf;
border-bottom-width: 1px;
border-left-width: 0;
border-top-width: 0;
border-right-width: 0;
border-style: solid;
}
td.poids input {
text-align: right;
font-size: 12px;
background-color: white !important;
height: 20px !important;
line-height: 16px;
padding: 2px !important;
width: 50px !important;
display: inline !important;
}
td.statutcommande {
width: 200px;
font-size: 12px;
border-color: #bfbfbf;
border-bottom-width: 1px;
border-left-width: 1px;
border-top-width: 0;
border-right-width: 0;
border-style: solid;
}
td.statutcolis {
width: 90px;
height: 42px;
font-size: 12px;
border-color: #bfbfbf;
border-bottom-width: 1px;
border-left-width: 0;
border-top-width: 0;
border-right-width: 0;
border-style: solid;
}
th {
font-family: DPDPlutoSansRegular;
}
th.hid {
width: 50px;
font-size: 12px;
border-width: 0;
text-align: left;
}
th.href {
width: 90px;
font-size: 12px;
border-width: 0;
text-align: left;
}
th.hdate {
width: 130px;
font-size: 12px;
border-width: 0;
text-align: left;
}
th.hnom {
width: 200px;
font-size: 12px;
border-width: 0;
text-align: left;
}
th.htype {
width: 50px;
font-size: 12px;
border-width: 0;
text-align: left;
}
th.hpr {
width: 250px;
font-size: 12px;
border-width: 0;
text-align: left;
}
th.hcp {
width: 45px;
font-size: 12px;
border-width: 0;
text-align: left;
}
th.hville {
width: 200px;
font-size: 12px;
border-width: 0;
text-align: left;
}
th.hprix {
width: 100px;
font-size: 12px;
padding-right: 5px;
border-width: 0;
text-align: right;
}
th.hprix span {
font-weight: normal;
}
th.hcheckadvalorem {
width: 35px;
font-size: 12px;
border-width: 0;
}
th.hretour {
text-align: center;
}
th.hpoids {
width: 80px;
font-size: 12px;
border-width: 0;
text-align: center;
}
th.hstatutcommande {
width: 200px;
font-size: 12px;
border-width: 0;
text-align: center;
}
th.hstatutcolis {
width: 90px;
font-size: 12px;
border-width: 0;
text-align: center;
}
table.h {
font-weight: bold;
font-size: 12px;
padding-bottom: 10px;
}
th.hcheckexport {
border-width: 0;
text-align: left;
}
div.news_box_title {
font-weight: bold;
}
div.news_box a {
text-decoration: underline;
font-style: italic;
}
table.orders {
border-collapse: collapse;
}
div.okmsg
{
background-color:#dff0d8!important;
box-sizing:border-box!important;
color:#424143!important;
display:block!important;
font-family:DPDPlutoSansLight !important;
font-size:13px!important;
margin:15px 0!important;
padding:15px 15px 15px 50px !important;
position:relative!important;
width:100%!important;
-webkit-transform-style: preserve-3d;
-moz-transform-style: preserve-3d;
transform-style: preserve-3d;
}
div.okmsg::before
{
-moz-osx-font-smoothing:grayscale;
-webkit-font-smoothing:antialiased;
box-sizing:border-box;
color:#7cc67c;
content:" ";
background:url(../../img/admin/ok_icon.png) no-repeat center;
display:block;
font-family:DPDPlutoSansRegular;
font-size:42px;
font-style:normal;
font-weight:400;
height:48px;
left:15px;
margin:auto;
position:absolute;
width:25px;
top: 45%;
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
}
div.warnmsg
{
background-color:#fff !important;
box-sizing:border-box !important;
border-style: solid;
border-color: #a90034;
border-width: 2px;
color:#a90034!important;
display:block!important;
font-family:DPDPlutoSansRegular !important;
font-size:13px!important;
font-weight:bold;
margin:15px 0!important;
padding:15px 15px 15px 50px !important;
position:relative!important;
width:100%!important;
-webkit-transform-style: preserve-3d;
-moz-transform-style: preserve-3d;
transform-style: preserve-3d;
}
div.warnmsg::before
{
-moz-osx-font-smoothing:grayscale;
-webkit-font-smoothing:antialiased;
box-sizing:border-box;
color:#a90034;
content:" ";
background:url(../../img/admin/warn_icon.png) no-repeat center;
display:block;
font-family:DPDPlutoSansRegular;
font-size:42px;
font-style:normal;
font-weight:400;
height:25px;
left:10px;
line-height:1;
margin:auto;
position:absolute;
width:32px;
top: 45%;
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
}
fieldset legend img {
height: 24px;
}
#content fieldset legend {
background: #fff;
color: #424143;
font-family: DPDPlutoSansRegular;
}
fieldset legend a {
color: #424143 !important;
font-family: DPDPlutoSansRegular;
}
#content fieldset {
background-color: #e6e7e7;
}
div.js-marquee strong {
color: #dc0032;
}
div.alert-danger {
padding: 15px;
margin-bottom: 18px;
border: 1px solid transparent;
border-radius: 0px;
background-color: #f3515c;
border-color: #d4323d;
color: white;
}
div.alert.alert-danger:before {
font-family: "FontAwesome";
content: "\f057";
font-size: 32px;
vertical-align: -2px;
padding-right: 15px;
margin: -12px -5px;
float: left;
}
#showhide {
width: 18px;
height: 18px;
line-height: 16px;
background-color: transparent;
color: #dc0032;
font-size: 28px;
display: inline-block;
margin-left: 10px;
text-align: center;
vertical-align: middle;
}

View File

@@ -0,0 +1,718 @@
/**
* 2007-2018 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 DPD France S.A.S. <support.ecommerce@dpd.fr>
* @copyright 2018 DPD France S.A.S.
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
*/
@font-face
{
font-family:DPDPlutoSansExtraLight;
src:url(../../fonts/PlutoSansDPDExtraLight-Web.ttf);
}
@font-face
{
font-family:DPDPlutoSansLight;
src:url(../../fonts/PlutoSansDPDLight-Web.ttf);
}
@font-face
{
font-family:DPDPlutoSansRegular;
src:url(../../fonts/PlutoSansDPDRegular-Web.ttf);
}
.margin_contactform
{
line-height: 18px;
display: inline-block;
width: 215px;
vertical-align: middle;
margin: 0px 5px;
}
.input_contactform {
width: 200px;
margin-bottom: 10px;
}
input.button
{
font-family:DPDPlutoSansLight;
}
label.error {
float: inherit;
color: red;
font-weight: normal;
}
div.notabene
{
color:#dc0032;
font-family:DPDPlutoSansRegular;
text-align:center;
font-size: 12px;
}
div.notabene a {
font-family: DPDPlutoSansRegular;
}
#modes_transport label
{
margin-top:5px;
}
td.hint_cargo
{
font-size:10px;
text-align:center;
}
input.checkbox
{
margin-right:35px;
}
input.relais_shipper_code
{
margin:0;
}
input.predict_shipper_code
{
margin:0;
}
input.classic_shipper_code
{
margin:0;
}
input.relais_carrier_id
{
margin-right:35px;
}
input.predict_carrier_id
{
margin-right:35px;
}
input.classic_carrier_id
{
margin-right:35px;
}
table.entete
{
font-size:11px;
margin-left:208px;
}
form fieldset div {
font-family: DPDPlutoSansLight;
}
#onglets
{
list-style-type:none;
margin:auto;
padding-bottom:26px;
width:800px;
font-size: 11px;
font-family: DPDPlutoSansLight;
}
#onglets li
{
list-style-type:none;
background-color:#808285;
float:left;
height:25px;
margin:0;
}
#onglets a
{
color:#fff;
display:block;
margin-left: 15px;
margin-right: 15px;
text-decoration:none;
font-family: DPDPlutoSansLight;
line-height: 25px;
}
#onglets li:hover
{
background-color:#dc0032;
}
#accueil_subtitle {
font-size: 14px;
font-weight: normal;
}
td.h_carrierid
{
padding-left:145px;
}
div.okmsg
{
background-color:#dff0d8!important;
box-sizing:border-box!important;
color:#424143!important;
display:block!important;
font-family:DPDPlutoSansLight !important;
font-size:13px!important;
margin:15px 0!important;
padding:15px 15px 15px 50px !important;
position:relative!important;
width:100%!important;
-webkit-transform-style: preserve-3d;
-moz-transform-style: preserve-3d;
transform-style: preserve-3d;
}
div.okmsg::before
{
-moz-osx-font-smoothing:grayscale;
-webkit-font-smoothing:antialiased;
box-sizing:border-box;
color:#7cc67c;
content:" ";
background:url(../../img/admin/ok_icon.png) no-repeat center;
display:block;
font-family:DPDPlutoSansRegular;
font-size:42px;
font-style:normal;
font-weight:400;
height:48px;
left:15px;
margin:auto;
position:absolute;
width:25px;
top: 45%;
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
}
div.warnmsg
{
background-color:#fff !important;
box-sizing:border-box !important;
border-style: solid;
border-color: #a90034;
border-width: 2px;
color:#a90034!important;
display:block!important;
font-family:DPDPlutoSansRegular !important;
font-size:13px!important;
font-weight:bold;
margin:15px 0!important;
padding:15px 15px 15px 50px !important;
position:relative!important;
width:100%!important;
-webkit-transform-style: preserve-3d;
-moz-transform-style: preserve-3d;
transform-style: preserve-3d;
}
div.warnmsg::before
{
-moz-osx-font-smoothing:grayscale;
-webkit-font-smoothing:antialiased;
box-sizing:border-box;
color:#a90034;
content:" ";
background:url(../../img/admin/warn_icon.png) no-repeat center;
display:block;
font-family:DPDPlutoSansRegular;
font-size:42px;
font-style:normal;
font-weight:400;
height:25px;
left:10px;
line-height:1;
margin:auto;
position:absolute;
width:25px;
top: 45%;
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
}
fieldset legend img
{
height:24px;
}
div.alert-danger
{
background-color:#f3515c;
border:1px solid transparent;
border-color:#d4323d;
border-radius:0;
color:#FFF;
margin-bottom:18px;
padding:15px;
}
div.alert.alert-danger:before
{
content:"\f057";
float:left;
font-family:FontAwesome;
font-size:32px;
margin:-12px -5px;
padding-right:15px;
vertical-align:-2px;
}
#accueil_wrap
{
height:200px;
margin:auto;
padding:10px;
width:450px;
}
.client_title
{
color:#fff;
font-family:DPDPlutoSansLight;
font-weight:700;
text-align:center;
}
.client_subtitle
{
color:#fff;
font-family:DPDPlutoSansLight;
font-weight:700;
text-align:center;
}
#documentation
{
background-color:#808285;
cursor:pointer;
float:left;
height:160px;
padding:20px;
text-align:center;
width:160px;
}
#client_img
{
background:url(../../img/admin/client.png) no-repeat center;
height:96px;
margin:auto;
padding:10px;
width:96px;
}
#documentation_img
{
background:url(../../img/admin/documentation.png) no-repeat center;
height:96px;
margin:auto;
padding:10px;
width:96px;
}
#client
{
background-color:#dc0032;
cursor:pointer;
float:right;
height:160px;
padding:20px;
text-align:center;
width:160px;
}
#accueil
{
margin:auto;
text-align:center;
}
#donnees_exp_wrap
{
margin:auto;
width:600px;
}
#donnees_exp
{
font-family:DPDPlutoSansLight;
text-align:center;
}
span.section_title
{
line-height:52px;
font-family:DPDPlutoSansLight;
font-weight: bold;
text-align:center;
}
span.section_title_alt
{
line-height:52px;
font-family:DPDPlutoSansLight;
font-weight: bold;
text-align:center;
left: 41%;
position: relative;
}
#service_next_img {
padding-left: 10px;
padding-right: 10px;
}
#service_relais
{
background-color:#FFF;
border-style: none;
height: 130px;
margin:5px;
padding:10px;
text-align:center;
width:100%;
}
#service_relais label
{
font-family:DPDPlutoSansLight;
text-align:center;
width: 100%;
margin: 0;
padding: 0;
padding-bottom: 20px;
}
#service_relais_img
{
background:url(../../img/front/relais/carrier_logo.jpg) no-repeat center;
height: 72px;
width: 96px;
float: left;
padding: 0;
margin: 0;
}
#service_relais_contract {
height: 100px;
width: 190px;
float: left;
}
#service_relais_addcarrier {
height: 100px;
width: 230px;
margin: 0;
padding: 0;
float: left;
}
#service_relais_selectcarrier {
height: 100px;
width: 220px;
float: left;
}
#service_relais select
{
font-family:DPDPlutoSansLight;
width:95%;
}
#service_predict
{
background-color:#FFF;
border-style: none;
height: 130px;
margin:5px;
padding:10px;
text-align:center;
width:100%;
}
#service_predict label
{
font-family:DPDPlutoSansLight;
text-align:center;
width: 100%;
margin: 0;
padding: 0;
padding-bottom: 20px;
}
#service_predict_img
{
background:url(../../img/front/predict/carrier_logo.jpg) no-repeat center;
height: 72px;
width: 96px;
float: left;
padding: 0;
margin: 0;
}
#service_predict_contract {
height: 100px;
width: 190px;
float: left;
}
#service_predict_addcarrier {
height: 100px;
width: 230px;
margin: 0;
padding: 0;
float: left;
}
#service_predict_selectcarrier {
height: 100px;
width: 220px;
float: left;
}
#service_predict select
{
font-family:DPDPlutoSansLight;
width:95%;
}
#service_classic
{
background-color:#FFF;
border-style: none;
height: 150px;
margin:5px;
padding:10px;
text-align:center;
width:100%;
}
#service_classic label
{
font-family:DPDPlutoSansLight;
text-align:center;
width: 100%;
margin: 0;
padding: 0;
padding-bottom: 20px;
}
#service_classic_img
{
background:url(../../img/front/classic/carrier_logo.jpg) no-repeat center;
height: 72px;
width: 96px;
float: left;
padding: 0;
margin: 0;
}
#service_classic_contract {
height: 100px;
width: 190px;
float: left;
}
#service_classic_addcarrier {
height: 100px;
width: 230px;
margin: 0;
padding: 0;
float: left;
}
#service_classic_selectcarrier {
height: 100px;
width: 220px;
float: left;
}
#service_classic select
{
font-family:DPDPlutoSansLight;
width:95%;
}
#service_next_img
{
background:url(../../img/admin/next_icon.png) no-repeat center;
height:100px;
width: 20px;
float: left;
padding: 0 3px;
margin: 0;
}
#modes_transport
{
font-family:DPDPlutoSansLight;
margin:auto;
text-align:center;
width:790px;
}
#donnees_exp_wrap label
{
font-family:DPDPlutoSansLight;
}
div.margin-form input
{
font-family:DPDPlutoSansLight;
}
#gestion_exp
{
margin:auto;
width:800px;
font-family:DPDPlutoSansLight;
}
#options_supp
{
font-family:DPDPlutoSansLight;
margin:auto;
width:760px;
}
#options_supp label
{
font-family:DPDPlutoSansLight;
}
div.margin-form
{
font-family:DPDPlutoSansLight;
}
div.margin-form a
{
font-family:DPDPlutoSansLight;
}
#gestion_exp label
{
font-family:DPDPlutoSansLight;
}
div.margin-form select
{
font-family:DPDPlutoSansLight;
}
div.margin-form p
{
font-family:DPDPlutoSansLight;
}
#gestion_exp div
{
font-family:DPDPlutoSansLight;
font-size:11px;
line-height:24px;
}
a.button
{
font-family:DPDPlutoSansLight;
}
#recap strong center
{
font-family:DPDPlutoSansLight;
}
input.button {
font-size: 11px;
}
#save_settings_button
{
background: #dc0032 url(../../img/admin/save_settings.png) no-repeat 50% 25%;
cursor:pointer;
height:160px;
padding:110px 10px 20px 10px ;
text-align:center;
width:220px;
font-size: 14px !important;
font-family: DPDPlutoSansLight;
color: #fff;
border-style: none !important;
border-radius: 0px !important;
}
#content fieldset legend {
background: #fff;
color: #424143;
font-family: DPDPlutoSansRegular;
}
fieldset legend a {
background-color: #ffffff;
color: #424143;
font-family: DPDPlutoSansRegular;
}
#content fieldset {
background-color: #e6e7e7;
}
span.client_subtitle
{
font-size:11px;
}
span.client_title
{
font-size:14px;
}
input.relais_depot_code {
font-family: DPDPlutoSansLight;
}
input.relais_shipper_code {
font-family: DPDPlutoSansLight;
}
input.predict_depot_code {
font-family: DPDPlutoSansLight;
}
input.predict_shipper_code {
font-family: DPDPlutoSansLight;
}
input.classic_depot_code {
font-family: DPDPlutoSansLight;
}
input.classic_shipper_code {
font-family: DPDPlutoSansLight;
}

View File

@@ -0,0 +1,34 @@
<?php
/**
* 2007-2018 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 DPD France S.A.S. <support.ecommerce@dpd.fr>
* @copyright 2018 DPD France S.A.S.
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
*/
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,968 @@
/**
* 2007-2018 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 DPD France S.A.S. <support.ecommerce@dpd.fr>
* @copyright 2018 DPD France S.A.S.
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
*/
@font-face
{
font-family:DPDPlutoSansExtraLight;
src:url(../../fonts/PlutoSansDPDExtraLight-Web.ttf);
}
@font-face
{
font-family:DPDPlutoSansLight;
src:url(../../fonts/PlutoSansDPDLight-Web.ttf);
}
@font-face
{
font-family:DPDPlutoSansRegular;
src:url(../../fonts/PlutoSansDPDRegular-Web.ttf);
}
div[name=dpdfrance_wait] {
background: transparent url(../../img/front/relais/loader.gif) no-repeat center;
height: 32px;
width: 32px;
margin: 10px auto;
}
.dpdfrance_fo {
margin-top: 20px !important;
background-color: transparent !important;
}
/* Table */
#dpdfrance_relais_point_table
{
padding-bottom:5px;
margin-top:0;
text-rendering:optimizelegibility;
border-style:none;
border-width:0;
padding:0;
width:100%;
background-color:#fff;
border-collapse:separate;
border-spacing:0 0;
font-family:DPDPlutoSansLight;
padding-bottom:0!important;
}
#tr_carrier_dpdfrance_relais
{
padding:0;
}
div.dpdfrance_relais_error
{
background-color:#a90034;
padding-left:10px;
padding-bottom:0;
font-size:13px;
color:#fff;
line-height:20px;
font-family:DPDPlutoSansRegular;
}
table.dpdfrance_relais_container
{
width:100%;
}
div.dpdfrance_relais_error
{
background-color:#fff;
color:#dc0032;
text-align:center;
line-height:24px;
border:1px solid #dc0032;
}
/* Lignes choix PR */
#dpdfrance_div_relais_header
{
width:100%;
height:25px;
line-height:24px;
padding:0 !important;
background-color:#DC0032;
}
#dpdfrance_div_relais_header td {
padding: 0;
}
#dpdfrance_div_relais_header p
{
height:25px;
padding:0;
margin:0;
padding-left:15px;
font-size:13px;
font-family:DPDPlutoSansLight;
color:#fff;
text-align: left !important;
line-height: 24px;
}
#dpdfrance_div_relais_srch_link {
background-color: #e6e7e7;
color: #424143;
padding: 7px 10px 7px 14px;
line-height: 12px;
font-size: 13px;
text-align: left;
}
#dpdfrance_div_relais_srch_panel {
padding-top: 7px;
padding-bottom: 7px;
}
#dpdfrance_search_address {
line-height: 16px;
margin-top: 4px;
margin-bottom: 5px;
border: 1px solid #808285;
height: 26px;
width: 249px;
padding: 1px 6px;
box-sizing: border-box;
font-size: 12px;
font-family: DPDPlutoSansLight;
background-color: #fff;
color: #424143;
}
#dpdfrance_search_zipcode {
line-height: 16px;
margin-top: 4px;
margin-bottom: 5px;
margin-right: 6px;
border: 1px solid #808285;
font-size: 12px;
font-family: DPDPlutoSansLight;
background-color: #fff;
color: #424143;
padding: 1px 6px;
width: 90px;
box-sizing: border-box;
height: 26px;
}
#dpdfrance_search_city {
line-height: 16px;
margin: 4px 5px 5px 0px;
border: 1px solid #808285;
font-size: 12px;
font-family: DPDPlutoSansLight;
background-color: #fff;
color: #424143;
padding: 1px 6px;
height: 26px;
width: 150px;
box-sizing: border-box;
}
#dpdfrance_search_submit {
border-style: none;
border-color: #808285;
border-width: 1px;
background-color: #dc0032;
color: #fff;
font-size: 12px;
line-height: 18px;
height: 25px;
padding: 1px 6px;
font-family: DPDPlutoSansLight;
cursor:pointer;
}
#dpdfrance_reset_submit {
border-style: solid;
border-color: #808285;
border-width: 1px;
background-color: #fff;
color: #808285;
font-size: 12px;
line-height: 18px;
height: 25px;
padding: 1px 6px;
font-family: DPDPlutoSansLight;
cursor:pointer;
}
.dpdfrance_lignepr
{
height:60px;
display:inline-block;
padding:0;
margin:0 !important;
width:100%;
margin-left:10px;
border-style:solid;
border-color:#808285;
border-width:0 0 1px 0;
}
.dpdfrance_lignepr:nth-child(6)
{
border:none;
}
td.dpdfrance_logorelais
{
min-width:40px;
width:8%;
background:#fff url(../../img/front/relais/pointrelais.png) no-repeat center;
border-style: none !important;
vertical-align: middle !important;
}
td.dpdfrance_adressepr
{
background-color:#fff;
width:60%;
font-size:12px;
font-weight:400;
color:#424143;
height: 59px;
padding: 0 !important;
padding-left: 5px !important;
margin:0;
font-family:DPDPlutoSansLight;
text-align: left !important;
vertical-align: middle !important;
border-style: none !important;
line-height: 16px;
}
td.dpdfrance_adressepr b
{
font-family:DPDPlutoSansRegular;
}
td.dpdfrance_distancepr
{
background-color:#fff;
width:12.5%;
padding-right:0!important;
line-height:14px;
font-weight:400;
font-size:12px;
color:#444;
text-align: left !important;
vertical-align: middle !important;
border-style: none !important;
}
td.dpdfrance_popinpr
{
background-color:#fff;
line-height:14px;
font-weight:300;
font-variant:normal;
font-size:11px;
color:#434142;
padding:0 !important;
width:17.5%;
text-align: right;
vertical-align: middle !important;
border-style: none !important;
}
td.dpdfrance_popinpr span u:hover
{
color:#DC0042;
}
a.dpdfrance_notfancy span
{
font-family:DPDPlutoSansLight;
}
a.dpdfrance_notfancy span:hover
{
color:#DC0042;
text-decoration:underline;
}
td.dpdfrance_radiopr
{
background-color:#fff;
width:10%;
padding: 0px 10px !important;
text-align: left !important;
vertical-align: middle !important;
border-style: none !important;
font-family: DPDPlutoSansRegular;
font-weight: 700;
}
td.dpdfrance_radiopr label span:hover
{
cursor:pointer;
}
td.dpdfrance_relais_radio.radio {
border-width: 0;
}
input[name=dpdfrance_relay_id]:not(old)
{
width:2em;
margin:0;
padding:0;
font-size:1em;
opacity:0;
}
/* Bouton */
input[name=dpdfrance_relay_id]:not(old) + label
{
display:inline-block;
margin-left:0;
line-height:1.5em;
margin-top:-15px;
}
input[name=dpdfrance_relay_id]:not(old) + label > span
{
display:inline-block;
width:35px;
height:25px;
margin:.25em;
background:#E6E7E7;
vertical-align:bottom;
}
/* Bouton gris normal */
input[name=dpdfrance_relay_id]:not(old):checked + label > span
{
background:#E6E7E7;
}
/* Texte ICI blanc sur bouton checked*/
input[name=dpdfrance_relay_id]:not(old):checked + label > span:before
{
content:'ICI';
display:block;
width:35px;
color:#fff;
font-size:14px;
line-height:25px;
text-align:center;
}
/* Overlay rouge sur bouton checked */
input[name=dpdfrance_relay_id]:not(old):checked + label > span > span
{
display:block;
width:35px;
height:25px;
margin-top:-25px;
margin-right:0;
background-color:#DC0032;
}
/* Texte ICI gris sur bouton normal */
input[name=dpdfrance_relay_id]:not(old) + label > span:before
{
content:'ICI';
display:block;
width:35px;
color:#424143;
font-size:14px;
line-height:25px;
text-align:center;
}
/* Masquer le label ICI */
td.dpdfrance_radiopr label b
{
display:none;
}
/* Pop-in details */
#dpdfrance_relais_filter
{
display:none;
position:fixed;
width:100%;
height:100%;
background-color:#000;
top:0;
left:0;
padding:14px;
text-align:left;
z-index:1000;
opacity:0.85;
filter:alpha(opacity=85);
/*IE8 et avant */
}
.dpdfrance_relaisbox
{
font-family:DPDPlutoSansLight, sans-serif;
text-rendering:optimizelegibility;
display:block;
border-radius:6px;
position:fixed;
width:60%;
height:90%;
background-color:#FFF;
top:5%;
left:20%;
padding:0;
text-align:left;
z-index:1110;
}
.dpdfrance_relaisboxcarto
{
width:100%;
min-height:62%;
top:0;
left:0;
border-radius:6px 6px 0 0;
}
div.gm-style-cc div
{
display:none;
}
div.gm-style {
border-radius: 6px 6px 0 0;
}
div.dpdfrance_relaisboxbottom
{
position:relative;
margin:0 auto;
width:800px;
}
.dpdfrance_relaisboxadresseheader
{
width:240px;
height:48px;
background:#fff url(../../img/front/relais/pointrelais.png) no-repeat center;
font-weight:300;
font-size:12px;
text-align:center;
border-style:none;
margin:5px 0 20px 0;
line-height: 130px;
padding: 0;
}
.dpdfrance_relaisboxadresse
{
min-height:88px;
height:auto;
line-height:22px;
font-size:11px;
width:240px;
margin-bottom:0;
position:absolute;
left:0;
}
div.dpdfrance_relaisboxadresse p
{
padding:0;
font-style:italic;
font-size:11px;
line-height:12px;
margin:0;
margin-top:5px;
margin-bottom:5px;
}
div.dpdfrance_relaisboxhoraires
{
text-align:left;
background:#FFF;
height:auto;
line-height:22px;
font-size:11px;
width:250px;
left:260px;
position:absolute;
}
.dpdfrance_relaisboxhorairesheader
{
width:250px;
height:48px;
background:#fff url(../../img/front/relais/horaires.png) no-repeat center;
font-weight:300;
font-size:12px;
text-align:center;
border-style:none;
margin:5px 0 20px 0;
line-height: 130px;
padding: 0;
}
div.dpdfrance_relaisboxhoraires h5
{
font-family:DPDPlutoSansLight, sans-serif;
display:inline-block;
background:#dc0032;
color:#fff;
font-size:11px;
font-weight:700;
min-width:250px;
padding:5px;
margin-top:10px;
margin-bottom:5px;
text-align:center;
}
div.dpdfrance_relaisboxhoraires p
{
padding:0;
padding-top:5px;
padding-left:5px;
line-height:11px;
font-size:11px;
margin:0!important;
}
.dpdfrance_relaisboxinfos
{
text-align:left;
background:#FFF;
height:auto;
line-height:22px;
font-size:11px;
width:265px;
margin-right:10px;
position:absolute;
left:520px;
}
.dpdfrance_relaisboxinfosheader
{
width:260px;
height:48px;
background:#fff url(../../img/front/relais/info.png) no-repeat center;
font-weight:300;
font-size:12px;
text-align:center;
border-style:none;
margin:5px 0 20px 0;
line-height: 130px;
padding: 0;
}
div.dpdfrance_relaisboxinfos h5
{
font-family:DPDPlutoSansLight, sans-serif;
display:inline-block;
color:#dc0032;
font-size:11px;
font-weight:400;
width:210px;
margin:0;
}
div.dpdfrance_relaisboxinfos h4
{
font-family:DPDPlutoSansLight, sans-serif;
display:inline-block;
color:#dc0032;
font-size:11px;
font-weight:700;
width:120px;
}
.dpdfrance_relaisboxjour
{
display:inline-block;
color:#dc0032;
font-size:11px;
font-weight:400;
min-width:75px;
}
.dpdfrance_relaisboxclose
{
background:no-repeat;
cursor:pointer;
display:block;
position:fixed;
top:5%;
left:80.5%;
z-index:1111;
transition:all .15s;
}
.dpdfrance_relaisboxclose img
{
float:right;
padding-top:2px;
padding-right:2px;
}
.dpdfrance_relaisboxclose:hover
{
transform:rotate(90deg);
}
div.warnmsg
{
background-color:#fff !important;
box-sizing:border-box !important;
border-style: solid;
border-color: #a90034;
border-width: 2px;
color:#a90034!important;
font-family:DPDPlutoSansRegular !important;
font-size:13px!important;
font-weight:700;
margin:15px 0!important;
padding:15px 15px 15px 50px !important;
position:relative!important;
width:100%!important;
-webkit-transform-style: preserve-3d;
-moz-transform-style: preserve-3d;
transform-style: preserve-3d;
}
div.warnmsg::before
{
-moz-osx-font-smoothing:grayscale;
-webkit-font-smoothing:antialiased;
box-sizing:border-box;
color:#a90034;
content:"!";
display:block;
font-family:DPDPlutoSansRegular;
font-size:42px;
font-style:normal;
font-weight:400;
height:25px;
left:20px;
line-height:1;
margin:auto;
position:absolute;
width:25px;
top: 39%;
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
}
table.dpdfrance_predict_container
{
width:100%;
}
#div_dpdfrance_predict_header
{
width:100%;
height:25px;
line-height:24px;
margin:0;
padding:0;
background-color:#DC0032;
}
#div_dpdfrance_predict_header p
{
height:25px;
margin:0;
padding:0;
padding-left:15px;
font-size:13px;
font-family:DPDPlutoSansLight;
color:#fff;
text-align: left !important;
}
#div_dpdfrance_predict_block
{
width:100%;
height:auto;
background-color:#fff;
margin:0;
padding:0;
font-size:12px;
font-family:DPDPlutoSansLight;
display: inline-block;
text-align:left;
}
#div_dpdfrance_predict_logo
{
width:100%;
height:64px;
padding:0;
background:url(../../img/front/predict/dpd_predict_logo.png) no-repeat center;
}
#div_dpdfrance_dpd_logo
{
height: 45px;
margin-top: -30px;
width: 99%;
background:url(../../img/front/predict/dpd_logo.png) no-repeat right;
}
#div_dpdfrance_predict_text
{
width:100%;
height:auto;
}
#div_dpdfrance_predict_text h
{
font-weight:700;
padding:10px;
}
#div_dpdfrance_predict_text p
{
width:100%;
padding:10px;
}
#div_dpdfrance_predict_block i
{
padding:5px;
display:block;
}
#div_dpdfrance_predict_gsm
{
background-color:#cac4be;
color:#424143;
padding:15px;
display:block;
font-size:13px;
font-family:DPDPlutoSansRegular;
text-align: left;
}
#input_dpdfrance_predict_gsm_dest
{
font-size:12px;
font-weight:400;
height:25px;
border:none;
width: 100px;
margin-left: 5px;
padding-left: 5px;
}
#div_dpdfrance_predict_gsm form
{
margin:0;
display:inline-block;
}
#div_dpdfrance_predict_gsm form p {
padding: 0;
}
#dpdfrance_predict_gsm_button
{
height:25px;
width:28px;
background-color:#424143;
color:#fff;
line-height:25px;
text-align:center;
cursor:pointer;
font-size:22px;
display:inline-block;
vertical-align: middle;
}
div.dpdfrance_predict_error
{
color:#fff;
background-color:#A90034;
margin:0;
padding:15px;
font-size:13px;
font-family:DPDPlutoSansRegular;
}
#predict
{
background:url(../../img/front/predict/predict_receive.jpg) no-repeat;
background-size:cover;
background-position: 25%;
font-size:12px;
color:#424143;
}
div.copy
{
min-height:301px;
padding-left:45%;
padding-right:10px;
}
div.copy p
{
margin:10px;
}
div.copy h2
{
padding:0;
font-family:DPDPlutoSansRegular;
margin:10px;
font-size:16px;
text-transform:none;
color:#424143;
background:transparent;
height: auto;
}
.copy ul li
{
list-style-type:none;
padding-bottom: 5px;
}
.copy ul li:before
{
content:'•';
margin-right:8px;
color:#dc0042;
}
a.dpdfrance_more
{
margin-left:10px;
color:#424143;
}
a.dpdfrance_more:hover
{
color:#DC0042;
}
/* Responsive design */
/* Condition horizontale (PC) */
@media only screen and (max-width: 1350px) {
.dpdfrance_relaisbox
{
width:80%;
left:10%;
top:5%;
}
.dpdfrance_relaisboxclose
{
left:91%;
top:5%;
}
}
@media only screen and (max-width: 1020px) {
.dpdfrance_relaisboxinfos
{
display:none;
}
div.dpdfrance_relaisboxbottom
{
width:520px;
}
}
@media only screen and (max-width: 1199px) {
#dpdfrance_div_relais_header
{
display:none;
}
td.dpdfrance_logorelais
{
display:none;
}
td.dpdfrance_adressepr
{
padding-left:5px;
font-size:10px;
}
td.dpdfrance_distancepr
{
font-size:10px;
}
#predict
{
background:#fff;
}
div.copy
{
padding-left:10px;
padding-right:10px;
text-align: left;
}
}
@media only screen and (max-width: 680px) {
td.dpdfrance_popinpr
{
display:none;
}
.dpdfrance_relaisboxcarto
{
min-height:40%;
}
.dpdfrance_relaisboxadresse
{
position:relative;
}
div.dpdfrance_relaisboxhoraires
{
left:0;
}
div.dpdfrance_relaisboxbottom
{
width:250px;
}
}
/* Condition verticale (Smartphone) */
@media only screen and (max-height: 610px) {
.dpdfrance_relaisboxcarto
{
display:none;
}
}

View File

@@ -0,0 +1,34 @@
<?php
/**
* 2007-2018 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 DPD France S.A.S. <support.ecommerce@dpd.fr>
* @copyright 2018 DPD France S.A.S.
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
*/
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,34 @@
<?php
/**
* 2007-2018 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 DPD France S.A.S. <support.ecommerce@dpd.fr>
* @copyright 2018 DPD France S.A.S.
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
*/
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,34 @@
<?php
/**
* 2007-2018 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 DPD France S.A.S. <support.ecommerce@dpd.fr>
* @copyright 2018 DPD France S.A.S.
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
*/
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: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 967 B

View File

@@ -0,0 +1,34 @@
<?php
/**
* 2007-2018 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 DPD France S.A.S. <support.ecommerce@dpd.fr>
* @copyright 2018 DPD France S.A.S.
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
*/
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: 441 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 364 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 263 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 447 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 742 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

@@ -0,0 +1,34 @@
<?php
/**
* 2007-2018 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 DPD France S.A.S. <support.ecommerce@dpd.fr>
* @copyright 2018 DPD France S.A.S.
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
*/
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,34 @@
<?php
/**
* 2007-2018 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 DPD France S.A.S. <support.ecommerce@dpd.fr>
* @copyright 2018 DPD France S.A.S.
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
*/
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: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

@@ -0,0 +1,34 @@
<?php
/**
* 2007-2018 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 DPD France S.A.S. <support.ecommerce@dpd.fr>
* @copyright 2018 DPD France S.A.S.
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
*/
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: 147 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

@@ -0,0 +1,34 @@
<?php
/**
* 2007-2018 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 DPD France S.A.S. <support.ecommerce@dpd.fr>
* @copyright 2018 DPD France S.A.S.
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
*/
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: 361 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 742 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

@@ -0,0 +1,34 @@
<?php
/**
* 2007-2018 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 DPD France S.A.S. <support.ecommerce@dpd.fr>
* @copyright 2018 DPD France S.A.S.
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
*/
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,34 @@
<?php
/**
* 2007-2018 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 DPD France S.A.S. <support.ecommerce@dpd.fr>
* @copyright 2018 DPD France S.A.S.
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
*/
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,34 @@
<?php
/**
* 2007-2018 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 DPD France S.A.S. <support.ecommerce@dpd.fr>
* @copyright 2018 DPD France S.A.S.
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
*/
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,34 @@
<?php
/**
* 2007-2018 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 DPD France S.A.S. <support.ecommerce@dpd.fr>
* @copyright 2018 DPD France S.A.S.
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
*/
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,34 @@
<?php
/**
* 2007-2018 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 DPD France S.A.S. <support.ecommerce@dpd.fr>
* @copyright 2018 DPD France S.A.S.
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
*/
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

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1003 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

View File

@@ -0,0 +1,34 @@
<?php
/**
* 2007-2018 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 DPD France S.A.S. <support.ecommerce@dpd.fr>
* @copyright 2018 DPD France S.A.S.
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
*/
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,274 @@
/*! 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;
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;
visibility: hidden;
max-width: 99999px;
max-height: 99999px;
overflow: visible !important;
}
/* Overlay helper */
.fancybox-lock {
overflow: hidden !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 Load Diff

View File

@@ -0,0 +1,34 @@
<?php
/**
* 2007-2018 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 DPD France S.A.S. <support.ecommerce@dpd.fr>
* @copyright 2018 DPD France S.A.S.
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
*/
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,34 @@
<?php
/**
* 2007-2018 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 DPD France S.A.S. <support.ecommerce@dpd.fr>
* @copyright 2018 DPD France S.A.S.
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
*/
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,7 @@
/*
* jQuery.marquee - scrolling text like old marquee element
* @author Aamir Afridi - aamirafridi(at)gmail(dot)com / http://aamirafridi.com/jquery/jquery-marquee-plugin
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
*/
;(function(e){e.fn.marquee=function(t){return this.each(function(){var n=e.extend({},e.fn.marquee.defaults,t),r=e(this),i,s,o,u,a,f=3,l="animation-play-state",c=false,h=function(e,t,n){var r=["webkit","moz","MS","o",""];for(var i=0;i<r.length;i++){if(!r[i])t=t.toLowerCase();e.addEventListener(r[i]+t,n,false)}},p=function(e){var t=[];for(var n in e){if(e.hasOwnProperty(n)){t.push(n+":"+e[n])}}t.push();return"{"+t.join(",")+"}"},d=function(){r.timer=setTimeout(M,n.delayBeforeStart)},v={pause:function(){if(c&&n.allowCss3Support){i.css(l,"paused")}else{if(e.fn.pause){i.pause()}}r.data("runningStatus","paused");r.trigger("paused")},resume:function(){if(c&&n.allowCss3Support){i.css(l,"running")}else{if(e.fn.resume){i.resume()}}r.data("runningStatus","resumed");r.trigger("resumed")},toggle:function(){v[r.data("runningStatus")=="resumed"?"pause":"resume"]()},destroy:function(){clearTimeout(r.timer);r.find("*").andSelf().unbind();r.html(r.find(".js-marquee:first").html())}};if(typeof t==="string"){if(e.isFunction(v[t])){if(!i){i=r.find(".js-marquee-wrapper")}if(r.data("css3AnimationIsSupported")===true){c=true}v[t]()}return}var m={},g;e.each(n,function(e,t){g=r.attr("data-"+e);if(typeof g!=="undefined"){switch(g){case"true":g=true;break;case"false":g=false;break}n[e]=g}});n.duration=n.speed||n.duration;u=n.direction=="up"||n.direction=="down";n.gap=n.duplicated?n.gap:0;r.wrapInner('<div class="js-marquee"></div>');var y=r.find(".js-marquee").css({"margin-right":n.gap,"float":"left"});if(n.duplicated){y.clone(true).appendTo(r)}r.wrapInner('<div style="width:100000px" class="js-marquee-wrapper"></div>');i=r.find(".js-marquee-wrapper");if(u){var b=r.height();i.removeAttr("style");r.height(b);r.find(".js-marquee").css({"float":"none","margin-bottom":n.gap,"margin-right":0});if(n.duplicated)r.find(".js-marquee:last").css({"margin-bottom":0});var w=r.find(".js-marquee:first").height()+n.gap;n.duration=(parseInt(w,10)+parseInt(b,10))/parseInt(b,10)*n.duration}else{a=r.find(".js-marquee:first").width()+n.gap;s=r.width();n.duration=(parseInt(a,10)+parseInt(s,10))/parseInt(s,10)*n.duration}if(n.duplicated){n.duration=n.duration/2}if(n.allowCss3Support){var E=document.body||document.createElement("div"),S="marqueeAnimation-"+Math.floor(Math.random()*1e7),x="Webkit Moz O ms Khtml".split(" "),T="animation",N="",C="";if(E.style.animation){C="@keyframes "+S+" ";c=true}if(c===false){for(var k=0;k<x.length;k++){if(E.style[x[k]+"AnimationName"]!==undefined){var L="-"+x[k].toLowerCase()+"-";T=L+T;l=L+l;C="@"+L+"keyframes "+S+" ";c=true;break}}}if(c){N=S+" "+n.duration/1e3+"s "+n.delayBeforeStart/1e3+"s infinite "+n.css3easing;r.data("css3AnimationIsSupported",true)}}var A=function(){i.css("margin-top",n.direction=="up"?b+"px":"-"+w+"px")},O=function(){i.css("margin-left",n.direction=="left"?s+"px":"-"+a+"px")};if(n.duplicated){if(u){i.css("margin-top",n.direction=="up"?b:"-"+(w*2-n.gap)+"px")}else{i.css("margin-left",n.direction=="left"?s+"px":"-"+(a*2-n.gap)+"px")}f=1}else{if(u){A()}else{O()}}var M=function(){if(n.duplicated){if(f===1){n._originalDuration=n.duration;if(u){n.duration=n.direction=="up"?n.duration+b/(w/n.duration):n.duration*2}else{n.duration=n.direction=="left"?n.duration+s/(a/n.duration):n.duration*2}if(N){N=S+" "+n.duration/1e3+"s "+n.delayBeforeStart/1e3+"s "+n.css3easing}f++}else if(f===2){n.duration=n._originalDuration;if(N){S=S+"0";C=e.trim(C)+"0 ";N=S+" "+n.duration/1e3+"s 0s infinite "+n.css3easing}f++}}if(u){if(n.duplicated){if(f>2){i.css("margin-top",n.direction=="up"?0:"-"+w+"px")}o={"margin-top":n.direction=="up"?"-"+w+"px":0}}else{A();o={"margin-top":n.direction=="up"?"-"+i.height()+"px":b+"px"}}}else{if(n.duplicated){if(f>2){i.css("margin-left",n.direction=="left"?0:"-"+a+"px")}o={"margin-left":n.direction=="left"?"-"+a+"px":0}}else{O();o={"margin-left":n.direction=="left"?"-"+a+"px":s+"px"}}}r.trigger("beforeStarting");if(c){i.css(T,N);var t=C+" { 100% "+p(o)+"}",l=e("style");if(l.length!==0){l.filter(":last").append(t)}else{e("head").append("<style>"+t+"</style>")}h(i[0],"AnimationIteration",function(){r.trigger("finished")});h(i[0],"AnimationEnd",function(){M();r.trigger("finished")})}else{i.animate(o,n.duration,n.easing,function(){r.trigger("finished");if(n.pauseOnCycle){d()}else{M()}})}r.data("runningStatus","resumed")};r.bind("pause",v.pause);r.bind("resume",v.resume);if(n.pauseOnHover){r.bind("mouseenter mouseleave",v.toggle)}if(c&&n.allowCss3Support){M()}else{d()}})};e.fn.marquee.defaults={allowCss3Support:true,css3easing:"linear",easing:"linear",delayBeforeStart:1e3,direction:"left",duplicated:false,duration:5e3,gap:20,pauseOnCycle:false,pauseOnHover:false}})(jQuery);

View File

@@ -0,0 +1,34 @@
<?php
/**
* 2007-2018 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 DPD France S.A.S. <support.ecommerce@dpd.fr>
* @copyright 2018 DPD France S.A.S.
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
*/
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,216 @@
/**
* 2007-2018 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 DPD France S.A.S. <support.ecommerce@dpd.fr>
* @copyright 2018 DPD France S.A.S.
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
*/
$(document).ready(function()
{
$("input[name*='delivery_option[']").change(function() {
dpdfrance_display();
});
dpdfrance_display();
});
/* Call AJAX to push Pudo selection */
function dpdfrance_registerPudo(pudo_id)
{
if (pudo_id) {
$.ajax({
type : 'POST',
url : dpdfrance_base_dir+'/ajax.php',
data: {
'action_ajax_dpdfrance' : 'ajaxRegisterPudo',
'dpdfrance_cart_id' : dpdfrance_cart_id,
'pudo_id' : pudo_id,
'dpdfrance_token' : dpdfrance_token,
},
dataType: 'json',
error : function(er) {
dpdfrance_allowOrder(false);
alert('Votre relais Pickup n\'a pas été sauvegardé, merci d\'en sélectionner un autre.');
}
});
dpdfrance_allowOrder(true);
} else {
dpdfrance_allowOrder(false);
alert('Votre relais Pickup n\'a pas été sauvegardé, merci d\'en sélectionner un autre.');
}
}
/* Check Pudo selection */
function dpdfrance_checkPudo()
{
if ($("[name=dpdfrance_relay_id]:checked") && $(".dpdfrance_relais_error").length == 0) {
dpdfrance_registerPudo($("[name=dpdfrance_relay_id]:checked").val());
dpdfrance_allowOrder(true);
return true;
} else {
dpdfrance_allowOrder(false);
return false;
}
}
/* Call AJAX to push GSM number */
function dpdfrance_registerGsm(phone)
{
if (phone) {
$.ajax({
type : 'POST',
url : dpdfrance_base_dir+'/ajax.php',
data: {
'action_ajax_dpdfrance' : 'ajaxRegisterGsm',
'dpdfrance_cart_id' : dpdfrance_cart_id,
'gsm_dest' : phone,
'dpdfrance_token' : dpdfrance_token,
},
dataType: 'json',
error : function(er) {
dpdfrance_allowOrder(false);
alert('Votre numéro de téléphone n\'a pas été sauvegardé, merci de rééssayer.');
}
});
dpdfrance_allowOrder(true);
} else {
dpdfrance_allowOrder(false);
$('#input_dpdfrance_predict_gsm_dest').css('border', '2px solid red');
}
}
/* In_array JS function implementation */
function dpdfrance_in_array(search, array)
{
for (i = 0; i < array.length; i++) {
if (array[i] == search)
return true;
}
return false;
}
/* Check European GSM validity */
function dpdfrance_checkGSM()
{
if (document.getElementById('input_dpdfrance_predict_gsm_dest')) {
var gsmDest = document.getElementById('input_dpdfrance_predict_gsm_dest');
var gsm_fr = new RegExp(/^((\+33|0)[67])(?:[ _.-]?(\d{2})){4}$/);
var gsm_de = new RegExp(/^(\+|00)49(15|16|17)(\s?\d{7,8})$/);
var gsm_be = new RegExp(/^(\+|00)324(60|[789]\d)(\s?\d{6})$/);
var gsm_at = new RegExp(/^(\+|00)436([56789]\d)(\s?\d{4})$/);
var gsm_uk = new RegExp(/^(\+|00)447([3456789]\d)(\s?\d{7})$/);
var gsm_nl = new RegExp(/^(\+|00)316(\s?\d{8})$/);
var gsm_pt = new RegExp(/^(\+|00)3519(\s?\d{7})$/);
var gsm_ei = new RegExp(/^(\+|00)3538(\s?\d{8})$/);
var gsm_es = new RegExp(/^(\+|00)34(6|7)(\s?\d{8})$/);
var gsm_it = new RegExp(/^(\+|00)393(\s?\d{9})$/);
var numbers = gsmDest.value.substr(-6);
var pattern = new Array('000000','111111','222222','333333','444444','555555','666666','777777','888888','999999', '123456', '234567', '345678', '456789');
if ((gsm_fr.test(gsmDest.value)
|| gsm_it.test(gsmDest.value)
|| gsm_es.test(gsmDest.value)
|| gsm_ei.test(gsmDest.value)
|| gsm_pt.test(gsmDest.value)
|| gsm_nl.test(gsmDest.value)
|| gsm_uk.test(gsmDest.value)
|| gsm_at.test(gsmDest.value)
|| gsm_de.test(gsmDest.value)
|| gsm_be.test(gsmDest.value))
&& !dpdfrance_in_array(numbers, pattern)) {
// GSM OK
$("#dpdfrance_predict_gsm_button").css('background-color', '#34a900');
$("#dpdfrance_predict_gsm_button").html('&#10003');
$("#dpdfrance_predict_error").hide();
dpdfrance_registerGsm(gsmDest.value);
dpdfrance_allowOrder(true);
return true;
} else {
// GSM NOK
$('#dpdfrance_predict_gsm_button').css('background-color','#424143');
$("#dpdfrance_predict_gsm_button").html('>');
$("#dpdfrance_predict_error").show();
dpdfrance_allowOrder(false);
return false;
}
}
}
/* Displays/hide DPD France FO blocks */
function dpdfrance_display() {
if ($("input[name*='delivery_option[']:checked").length != 0) {
checkedCarrier = $("input[name*='delivery_option[']:checked").val().substr(0,$("input[name*='delivery_option[']:checked").val().indexOf(','));
if (checkedCarrier == dpdfranceRelaisCarrierId) {
$("#dpdfrance_relais_point_table").detach().appendTo($("[id^=delivery_option]:checked").parents('.delivery-option').children('label'));
$(".dpdfrance_fo").hide();
$("#dpdfrance_relais_point_table").fadeIn('fast');
$('#dpdfrance_relais_point_table').children('#dpdfrance_relais_point_table').css('display', '');
dpdfrance_checkPudo();
return true;
}
if (checkedCarrier == dpdfrancePredictCarrierId) {
$("#div_dpdfrance_predict_block").detach().appendTo($("[id^=delivery_option]:checked").parents('.delivery-option').children('label'));
$(".dpdfrance_fo").hide();
$("#div_dpdfrance_predict_block").fadeIn('fast');
dpdfrance_checkGSM();
return true;
}
$(".dpdfrance_fo").hide();
dpdfrance_allowOrder(true);
}
}
/* Block/Unblock Order button */
function dpdfrance_allowOrder($status)
{
if ($status == true) {
$('[name=confirmDeliveryOption]').removeAttr('disabled');
} else {
$('[name=confirmDeliveryOption]').attr('disabled', 'disabled');
}
}
/* Google Maps */
function initializeDpdfranceGM(mapid,lat,longti,baseurl) {
var latlng = new google.maps.LatLng(lat, longti);
var myOptions = {
zoom : 16,
center : latlng,
mapTypeId : google.maps.MapTypeId.ROADMAP,
styles:[{"featureType":"landscape","stylers":[{"visibility":"on"},{"color":"#e6e7e7"}]},{"featureType":"poi.sports_complex","stylers":[{"visibility":"on"}]},{"featureType":"poi.attraction","stylers":[{"visibility":"off"}]},{"featureType":"poi.government","stylers":[{"visibility":"on"}]},{"featureType":"poi.medical","stylers":[{"visibility":"on"}]},{"featureType":"poi.place_of_worship","stylers":[{"visibility":"on"}]},{"featureType":"poi.school","stylers":[{"visibility":"on"}]},{"featureType":"water","elementType":"geometry","stylers":[{"visibility":"on"},{"color":"#d2e4f3"}]},{"featureType":"water","elementType":"labels","stylers":[{"visibility":"on"}]},{"featureType":"transit","elementType":"labels","stylers":[{"visibility":"off"}]},{"featureType":"road","elementType":"geometry.fill","stylers":[{"visibility":"on"},{"color":"#ffffff"}]},{"featureType":"road","elementType":"geometry.stroke","stylers":[{"visibility":"on"},{"color":"#e6e7e7"}]},{"elementType":"labels.text.fill","stylers":[{"visibility":"on"},{"color":"#666666"}]},{"featureType":"poi.business","stylers":[{"visibility":"off"}]},{"featureType":"road","elementType":"labels.icon","stylers":[{"visibility":"off"}]},{"featureType":"poi","elementType":"geometry.fill","stylers":[{"visibility":"on"},{"color":"#dbdbdb"}]},{"featureType":"administrative.locality","elementType":"labels.text.fill","stylers":[{"visibility":"on"},{"color":"#808285"}]},{"featureType":"transit.station","stylers":[{"visibility":"on"}]},{"featureType":"transit","elementType":"geometry","stylers":[{"visibility":"on"},{"color":"#dbdbdb"}]},{"elementType":"labels.icon","stylers":[{"visibility":"on"},{"saturation":-100}]},{"featureType":"road","elementType":"labels.icon","stylers":[{"visibility":"off"}]},{"elementType":"labels.text","stylers":[{"visibility":"on"}]},{"featureType":"transit.line","elementType":"labels.text","stylers":[{"visibility":"off"}]}]
};
var map = new google.maps.Map(document.getElementById(mapid), myOptions);
var marker = new google.maps.Marker({
icon : baseurl+"/views/img/front/relais/logo-max-png.png",
position : latlng,
animation : google.maps.Animation.DROP,
map : map
});
}
function openDpdfranceDialog(id,mapid,lat,longti,baseurl) {
$("#header").css('z-index', 0);
$("#dpdfrance_relais_filter").fadeIn(150, function() {$("#"+id).fadeIn(150);});
window.setTimeout(function () {initializeDpdfranceGM(mapid,lat,longti,baseurl)},200);
}

View File

@@ -0,0 +1,216 @@
/**
* 2007-2018 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 DPD France S.A.S. <support.ecommerce@dpd.fr>
* @copyright 2018 DPD France S.A.S.
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
*/
$(document).ready(function()
{
$("input[name*='delivery_option[']").change(function() {
dpdfrance_display();
});
dpdfrance_display();
});
/* Call AJAX to push Pudo selection */
function dpdfrance_registerPudo(pudo_id)
{
if (pudo_id) {
$.ajax({
type : 'POST',
url : dpdfrance_base_dir+'/ajax.php',
data: {
'action_ajax_dpdfrance' : 'ajaxRegisterPudo',
'dpdfrance_cart_id' : dpdfrance_cart_id,
'pudo_id' : pudo_id,
'dpdfrance_token' : dpdfrance_token,
},
dataType: 'json',
error : function(er) {
dpdfrance_allowOrder(false);
alert('Votre relais Pickup n\'a pas été sauvegardé, merci d\'en sélectionner un autre.');
}
});
dpdfrance_allowOrder(true);
} else {
dpdfrance_allowOrder(false);
alert('Votre relais Pickup n\'a pas été sauvegardé, merci d\'en sélectionner un autre.');
}
}
/* Check Pudo selection */
function dpdfrance_checkPudo()
{
if ($("[name=dpdfrance_relay_id]:checked") && $(".dpdfrance_relais_error").length == 0) {
dpdfrance_registerPudo($("[name=dpdfrance_relay_id]:checked").val());
dpdfrance_allowOrder(true);
return true;
} else {
dpdfrance_allowOrder(false);
return false;
}
}
/* Call AJAX to push GSM number */
function dpdfrance_registerGsm(phone)
{
if (phone) {
$.ajax({
type : 'POST',
url : dpdfrance_base_dir+'/ajax.php',
data: {
'action_ajax_dpdfrance' : 'ajaxRegisterGsm',
'dpdfrance_cart_id' : dpdfrance_cart_id,
'gsm_dest' : phone,
'dpdfrance_token' : dpdfrance_token,
},
dataType: 'json',
error : function(er) {
dpdfrance_allowOrder(false);
alert('Votre numéro de téléphone n\'a pas été sauvegardé, merci de rééssayer.');
}
});
dpdfrance_allowOrder(true);
} else {
dpdfrance_allowOrder(false);
$('#input_dpdfrance_predict_gsm_dest').css('border', '2px solid red');
}
}
/* In_array JS function implementation */
function dpdfrance_in_array(search, array)
{
for (i = 0; i < array.length; i++) {
if (array[i] == search)
return true;
}
return false;
}
/* Check European GSM validity */
function dpdfrance_checkGSM()
{
if (document.getElementById('input_dpdfrance_predict_gsm_dest')) {
var gsmDest = document.getElementById('input_dpdfrance_predict_gsm_dest');
var gsm_fr = new RegExp(/^((\+33|0)[67])(?:[ _.-]?(\d{2})){4}$/);
var gsm_de = new RegExp(/^(\+|00)49(15|16|17)(\s?\d{7,8})$/);
var gsm_be = new RegExp(/^(\+|00)324([56789]\d)(\s?\d{6})$/);
var gsm_at = new RegExp(/^(\+|00)436([56789]\d)(\s?\d{4})$/);
var gsm_uk = new RegExp(/^(\+|00)447([3456789]\d)(\s?\d{7})$/);
var gsm_nl = new RegExp(/^(\+|00)316(\s?\d{8})$/);
var gsm_pt = new RegExp(/^(\+|00)3519(\s?\d{7})$/);
var gsm_ei = new RegExp(/^(\+|00)3538(\s?\d{8})$/);
var gsm_es = new RegExp(/^(\+|00)34(6|7)(\s?\d{8})$/);
var gsm_it = new RegExp(/^(\+|00)393(\s?\d{9})$/);
var numbers = gsmDest.value.substr(-6);
var pattern = new Array('000000','111111','222222','333333','444444','555555','666666','777777','888888','999999', '123456', '234567', '345678', '456789');
if ((gsm_fr.test(gsmDest.value)
|| gsm_it.test(gsmDest.value)
|| gsm_es.test(gsmDest.value)
|| gsm_ei.test(gsmDest.value)
|| gsm_pt.test(gsmDest.value)
|| gsm_nl.test(gsmDest.value)
|| gsm_uk.test(gsmDest.value)
|| gsm_at.test(gsmDest.value)
|| gsm_de.test(gsmDest.value)
|| gsm_be.test(gsmDest.value))
&& !dpdfrance_in_array(numbers, pattern)) {
// GSM OK
$("#dpdfrance_predict_gsm_button").css('background-color', '#34a900');
$("#dpdfrance_predict_gsm_button").html('&#10003');
$("#dpdfrance_predict_error").hide();
dpdfrance_registerGsm(gsmDest.value);
dpdfrance_allowOrder(true);
return true;
} else {
// GSM NOK
$('#dpdfrance_predict_gsm_button').css('background-color','#424143');
$("#dpdfrance_predict_gsm_button").html('>');
$("#dpdfrance_predict_error").show();
dpdfrance_allowOrder(false);
return false;
}
}
}
/* Displays/hide DPD France FO blocks */
function dpdfrance_display() {
if ($("input[name*='delivery_option[']:checked").length != 0) {
checkedCarrier = $("input[name*='delivery_option[']:checked").val().substr(0,$("input[name*='delivery_option[']:checked").val().indexOf(','));
if (checkedCarrier == dpdfranceRelaisCarrierId) {
$("#dpdfrance_relais_point_table").detach().appendTo($("[id^=delivery_option]:checked").parents('.delivery-option').children('label'));
$(".dpdfrance_fo").hide();
$("#dpdfrance_relais_point_table").fadeIn('fast');
$('#dpdfrance_relais_point_table').children('#dpdfrance_relais_point_table').css('display', '');
dpdfrance_checkPudo();
return true;
}
if (checkedCarrier == dpdfrancePredictCarrierId) {
$("#div_dpdfrance_predict_block").detach().appendTo($("[id^=delivery_option]:checked").parents('.delivery-option').children('label'));
$(".dpdfrance_fo").hide();
$("#div_dpdfrance_predict_block").fadeIn('fast');
dpdfrance_checkGSM();
return true;
}
$(".dpdfrance_fo").hide();
dpdfrance_allowOrder(true);
}
}
/* Block/Unblock Order button */
function dpdfrance_allowOrder($status)
{
if ($status == true) {
$('[name=confirmDeliveryOption]').removeAttr('disabled');
} else {
$('[name=confirmDeliveryOption]').attr('disabled', 'disabled');
}
}
/* Google Maps */
function initializeDpdfranceGM(mapid,lat,longti,baseurl) {
var latlng = new google.maps.LatLng(lat, longti);
var myOptions = {
zoom : 16,
center : latlng,
mapTypeId : google.maps.MapTypeId.ROADMAP,
styles:[{"featureType":"landscape","stylers":[{"visibility":"on"},{"color":"#e6e7e7"}]},{"featureType":"poi.sports_complex","stylers":[{"visibility":"on"}]},{"featureType":"poi.attraction","stylers":[{"visibility":"off"}]},{"featureType":"poi.government","stylers":[{"visibility":"on"}]},{"featureType":"poi.medical","stylers":[{"visibility":"on"}]},{"featureType":"poi.place_of_worship","stylers":[{"visibility":"on"}]},{"featureType":"poi.school","stylers":[{"visibility":"on"}]},{"featureType":"water","elementType":"geometry","stylers":[{"visibility":"on"},{"color":"#d2e4f3"}]},{"featureType":"water","elementType":"labels","stylers":[{"visibility":"on"}]},{"featureType":"transit","elementType":"labels","stylers":[{"visibility":"off"}]},{"featureType":"road","elementType":"geometry.fill","stylers":[{"visibility":"on"},{"color":"#ffffff"}]},{"featureType":"road","elementType":"geometry.stroke","stylers":[{"visibility":"on"},{"color":"#e6e7e7"}]},{"elementType":"labels.text.fill","stylers":[{"visibility":"on"},{"color":"#666666"}]},{"featureType":"poi.business","stylers":[{"visibility":"off"}]},{"featureType":"road","elementType":"labels.icon","stylers":[{"visibility":"off"}]},{"featureType":"poi","elementType":"geometry.fill","stylers":[{"visibility":"on"},{"color":"#dbdbdb"}]},{"featureType":"administrative.locality","elementType":"labels.text.fill","stylers":[{"visibility":"on"},{"color":"#808285"}]},{"featureType":"transit.station","stylers":[{"visibility":"on"}]},{"featureType":"transit","elementType":"geometry","stylers":[{"visibility":"on"},{"color":"#dbdbdb"}]},{"elementType":"labels.icon","stylers":[{"visibility":"on"},{"saturation":-100}]},{"featureType":"road","elementType":"labels.icon","stylers":[{"visibility":"off"}]},{"elementType":"labels.text","stylers":[{"visibility":"on"}]},{"featureType":"transit.line","elementType":"labels.text","stylers":[{"visibility":"off"}]}]
};
var map = new google.maps.Map(document.getElementById(mapid), myOptions);
var marker = new google.maps.Marker({
icon : baseurl+"/views/img/front/relais/logo-max-png.png",
position : latlng,
animation : google.maps.Animation.DROP,
map : map
});
}
function openDpdfranceDialog(id,mapid,lat,longti,baseurl) {
$("#header").css('z-index', 0);
$("#dpdfrance_relais_filter").fadeIn(150, function() {$("#"+id).fadeIn(150);});
window.setTimeout(function () {initializeDpdfranceGM(mapid,lat,longti,baseurl)},200);
}

View File

@@ -0,0 +1,34 @@
<?php
/**
* 2007-2018 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 DPD France S.A.S. <support.ecommerce@dpd.fr>
* @copyright 2018 DPD France S.A.S.
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
*/
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,34 @@
<?php
/**
* 2007-2018 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 DPD France S.A.S. <support.ecommerce@dpd.fr>
* @copyright 2018 DPD France S.A.S.
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
*/
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,347 @@
{**
* 2007-2018 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 DPD France S.A.S. <support.ecommerce@dpd.fr>
* @copyright 2018 DPD France S.A.S.
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
*}
<link rel="stylesheet" type="text/css" href="../modules/dpdfrance/views/css/admin/dpdfrance_config.css"/>
<link rel="stylesheet" type="text/css" href="../modules/dpdfrance/views/js/admin/jquery/plugins/fancybox/jquery.fancybox.css" media="screen"/>
<script type="text/javascript" src="../modules/dpdfrance/views/js/admin/jquery/plugins/fancybox/jquery.fancybox.js"></script>
<script type="text/javascript" src="../modules/dpdfrance/views/js/admin/jquery/plugins/validation/jquery.validate.min.js"></script>
{literal}
<script type="text/javascript">
function dpdfrance_attr_carrier(element) {
var maxValue = undefined;
$('option', element).each(function() {
var val = $(this).attr('value');
val = parseInt(val, 10);
if (maxValue === undefined || maxValue < val) {
maxValue = val;
}
});
element.val(maxValue);
}
</script>
{/literal}
<form action="{$form_submit_url|escape:'htmlall':'UTF-8'}" method="post">
<fieldset><legend><img src="../modules/dpdfrance/views/img/admin/admin.png" alt="" title="" />{l s='Settings' mod='dpdfrance'}</legend>
<!-- Tabs header -->
<div id="dpdfrance_menu">
<ul id="onglets">
<li style="background-color: #dc0032;"><a id="onglet0" href="javascript:void(0)" onclick="$(&quot;#donnees_exp,#modes_transport,#options_supp,#gestion_exp,#recap&quot;).fadeOut(0, function() {literal}{{/literal}$(&quot;#accueil&quot;).fadeIn(&quot;slow&quot;);$(&quot;#onglet0&quot;).parent().css(&quot;background-color&quot;, &quot;#dc0032&quot;);
$(&quot;#onglet1,#onglet2,#onglet3,#onglet4,#onglet5&quot;).parent().css(&quot;background-color&quot;, &quot;#808285&quot;);{literal}}{/literal});"> {l s='Start' mod='dpdfrance'} </a></li>
<li><a id="onglet1" href="javascript:void(0)" onclick="$(&quot;#accueil,#modes_transport,#options_supp,#gestion_exp,#recap&quot;).fadeOut(0, function() {literal}{{/literal}$(&quot;#donnees_exp&quot;).fadeIn(&quot;slow&quot;);$(&quot;#onglet1&quot;).parent().css(&quot;background-color&quot;, &quot;#dc0032&quot;);
$(&quot;#onglet0,#onglet2,#onglet3,#onglet4,#onglet5&quot;).parent().css(&quot;background-color&quot;, &quot;#808285&quot;);{literal}}{/literal});"> {l s='Your personal data' mod='dpdfrance'} </a></li>
<li><a id="onglet2" href="javascript:void(0)" onclick="$(&quot;#accueil,#donnees_exp,#options_supp,#gestion_exp,#recap&quot;).fadeOut(0, function() {literal}{{/literal}$(&quot;#modes_transport&quot;).fadeIn(&quot;slow&quot;);$(&quot;#onglet2&quot;).parent().css(&quot;background-color&quot;, &quot;#dc0032&quot;);
$(&quot;#onglet1,#onglet0,#onglet3,#onglet4,#onglet5&quot;).parent().css(&quot;background-color&quot;, &quot;#808285&quot;);{literal}}{/literal});"> {l s='Delivery services' mod='dpdfrance'} </a></li>
<li><a id="onglet3" href="javascript:void(0)" onclick="$(&quot;#accueil,#donnees_exp,#modes_transport,#gestion_exp,#recap&quot;).fadeOut(0, function() {literal}{{/literal}$(&quot;#options_supp&quot;).fadeIn(&quot;slow&quot;);$(&quot;#onglet3&quot;).parent().css(&quot;background-color&quot;, &quot;#dc0032&quot;);
$(&quot;#onglet1,#onglet2,#onglet0,#onglet4,#onglet5&quot;).parent().css(&quot;background-color&quot;, &quot;#808285&quot;);{literal}}{/literal});"> {l s='Advanced settings' mod='dpdfrance'} </a></li>
<li><a id="onglet4" href="javascript:void(0)" onclick="$(&quot;#accueil,#donnees_exp,#modes_transport,#options_supp,#recap&quot;).fadeOut(0, function() {literal}{{/literal}$(&quot;#gestion_exp&quot;).fadeIn(&quot;slow&quot;);$(&quot;#onglet4&quot;).parent().css(&quot;background-color&quot;, &quot;#dc0032&quot;);
$(&quot;#onglet1,#onglet2,#onglet3,#onglet0,#onglet5&quot;).parent().css(&quot;background-color&quot;, &quot;#808285&quot;);{literal}}{/literal});"> {l s='Orders management' mod='dpdfrance'} </a></li>
<li><a id="onglet5" href="javascript:void(0)" onclick="$(&quot;#accueil,#donnees_exp,#modes_transport,#options_supp,#gestion_exp&quot;).fadeOut(0, function() {literal}{{/literal}$(&quot;#recap&quot;).fadeIn(&quot;slow&quot;);$(&quot;#onglet5&quot;).parent().css(&quot;background-color&quot;, &quot;#dc0032&quot;);
$(&quot;#onglet1,#onglet2,#onglet3,#onglet4,#onglet0&quot;).parent().css(&quot;background-color&quot;, &quot;#808285&quot;);{literal}}{/literal});"> {l s='Summary' mod='dpdfrance'} </a></li>
</ul>
</div>
<!-- Tab Accueil -->
<div id="accueil" style="display:block;">
<strong><br/><span class="section_title">{l s='Welcome to DPD' mod='dpdfrance'}</span></strong><br/>
<div class="notabene" style="font-size:14px;">{l s='You must be a DPD France customer to use this module, if not please get in touch with us at ' mod='dpdfrance'}<a href="http://www.dpd.fr/nous_contacter_prestashop" target="_blank">www.dpd.fr</a></div><br/>
<div id="accueil_wrap">
<div id="documentation" href="javascript:void(0)" onclick="window.open(&quot;../modules/dpdfrance/docs/readme_dpdfrance_prestashop.pdf&quot;, &quot;s&quot;, &quot;width= 640, height= 900, left=0, top=0, resizable=yes, toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=no, copyhistory=no&quot;);"><span class="client_title">{l s='Open documentation' mod='dpdfrance'}</span><div id="documentation_img"></div><span class="client_subtitle">{l s='Please click here first to access the user manual' mod='dpdfrance'}</span></div>
<div id="client" href="javascript:void(0)" onclick="$(&quot;#onglet1&quot;).click();"><span class="client_title">{l s='I\'m already a customer' mod='dpdfrance'}</span><div id="client_img"></div><span class="client_subtitle">{l s='Proceed to the plugin configuration' mod='dpdfrance'}</span></div>
<br/>
</div>
</div>
<!-- Tab Vos données expéditeur -->
<div id="donnees_exp" style="display:none;">
<br/><span class="section_title">{l s='Your personal data' mod='dpdfrance'}</span><br/><br/>
<div id="donnees_exp_wrap">
<label>{l s='Company Name' mod='dpdfrance'}</label><div class="margin-form"><input type="text" size="33" name="nom_exp" value="{$nom_exp|escape:'htmlall':'UTF-8'}" /></div>
<label>{l s='Address 1' mod='dpdfrance'}</label><div class="margin-form"><input type="text" size="33" name="address_exp" value="{$address_exp|escape:'htmlall':'UTF-8'}" /></div>
<label>{l s='Address 2' mod='dpdfrance'}</label><div class="margin-form"><input type="text" size="33" name="address2_exp" value="{$address2_exp|escape:'htmlall':'UTF-8'}" /></div>
<label>{l s='Postal code' mod='dpdfrance'}</label><div class="margin-form"><input type="text" size="33" name="cp_exp" value="{$cp_exp|escape:'htmlall':'UTF-8'}" /></div>
<label>{l s='City' mod='dpdfrance'}</label><div class="margin-form"><input type="text" size="33" name="ville_exp" value="{$ville_exp|escape:'htmlall':'UTF-8'}" /></div>
<label>{l s='Telephone' mod='dpdfrance'}</label><div class="margin-form"><input type="text" size="33" name="tel_exp" value="{$tel_exp|escape:'htmlall':'UTF-8'}" /></div>
<label>{l s='GSM' mod='dpdfrance'}</label><div class="margin-form"><input type="text" size="33" name="gsm_exp" value="{$gsm_exp|escape:'htmlall':'UTF-8'}" /></div>
<label>{l s='E-mail' mod='dpdfrance'}</label><div class="margin-form"><input type="text" size="33" name="email_exp" value="{$email_exp|escape:'htmlall':'UTF-8'}" /></div>
<center><a size="6" name="next" class="button" href="javascript:void(0)" onclick="$(&quot;#onglet0&quot;).click();">{l s='Previous' mod='dpdfrance'}</a>
<a size="6" name="next" class="button" href="javascript:void(0)" onclick="$(&quot;#onglet2&quot;).click();">{l s='Next' mod='dpdfrance'}</a></center>
<br/>
</div>
</div>
<!-- Tab Services de transport -->
<div id="modes_transport" style="display:none;">
<br/><span class="section_title">{l s='Delivery services' mod='dpdfrance'}</span><br/><br/>
<div id="modes_transport_wrap">
<!-- DPD Relais -->
<div id="service_relais">
<label>{l s='DPD Relais' mod='dpdfrance'} {l s='(France)' mod='dpdfrance'}</label>
<div id="service_relais_img"></div>
<div id="service_relais_contract">
{l s='Depot code - Contract number' mod='dpdfrance'}<br/>{l s='(i.e.: 013 - 12345)' mod='dpdfrance'}<br/><br/>
<input type="text" size="4" maxlength="4" name="relais_depot_code" class="relais_depot_code" value="{$relais_depot_code|escape:'htmlall':'UTF-8'}" /> -
<input type="text" size="8" maxlength="8" name="relais_shipper_code" class="relais_shipper_code" value="{$relais_shipper_code|escape:'htmlall':'UTF-8'}" /><br/><br/>
</div>
<div id="service_next_img"></div>
<div id="service_relais_addcarrier">
{l s='Carrier creation' mod='dpdfrance'}<br/><br/>
<input type="submit" name="submitCreateCarrierRelais" value="{l s='Create DPD Relais carrier' mod='dpdfrance'}" class="button"/>
</div>
<div id="service_next_img"></div>
<div id="service_relais_selectcarrier">
{l s='Carrier assignation' mod='dpdfrance'}<br/><br/>
<select name="dpdfrance_relais_carrier_id"><option value="0">{l s='None - Disable this carrier' mod='dpdfrance'}</option>
{foreach from=$carriers item=carrier}
{if $carrier.id_carrier == $dpdfrance_relais_carrier_id}
<option value="{$carrier.id_carrier|escape:'htmlall':'UTF-8'}" selected>{$carrier.id_carrier|escape:'htmlall':'UTF-8'} - {$carrier.name|escape:'htmlall':'UTF-8'}</option>
{else}
<option value="{$carrier.id_carrier|escape:'htmlall':'UTF-8'}">{$carrier.id_carrier|escape:'htmlall':'UTF-8'} - {$carrier.name|escape:'htmlall':'UTF-8'}</option>
{/if}
{/foreach}
</select>
</div>
</div>
<br/>
<!-- DPD Predict -->
<div id="service_predict">
<label>{l s='DPD Predict' mod='dpdfrance'}</label>
<div id="service_predict_img"></div>
<div id="service_predict_contract">
{l s='Depot code - Contract number' mod='dpdfrance'}<br/>{l s='(i.e.: 013 - 12345)' mod='dpdfrance'}<br/><br/>
<input type="text" size="4" maxlength="4" name="predict_depot_code" class="predict_depot_code" value="{$predict_depot_code|escape:'htmlall':'UTF-8'}" /> -
<input type="text" size="8" maxlength="8" name="predict_shipper_code" class="predict_shipper_code" value="{$predict_shipper_code|escape:'htmlall':'UTF-8'}" /><br/><br/>
</div>
<div id="service_next_img"></div>
<div id="service_predict_addcarrier">
{l s='Carrier creation' mod='dpdfrance'}<br/><br/>
<input type="submit" name="submitCreateCarrierPredict" value="{l s='Create DPD Predict carrier' mod='dpdfrance'}" class="button"/>
</div>
<div id="service_next_img"></div>
<div id="service_predict_selectcarrier">
{l s='Carrier assignation' mod='dpdfrance'}<br/><br/>
<select name="dpdfrance_predict_carrier_id"><option value="0">{l s='None - Disable this carrier' mod='dpdfrance'}</option>
{foreach from=$carriers item=carrier}
{if $carrier.id_carrier == $dpdfrance_predict_carrier_id}
<option value="{$carrier.id_carrier|escape:'htmlall':'UTF-8'}" selected>{$carrier.id_carrier|escape:'htmlall':'UTF-8'} - {$carrier.name|escape:'htmlall':'UTF-8'}</option>
{else}
<option value="{$carrier.id_carrier|escape:'htmlall':'UTF-8'}">{$carrier.id_carrier|escape:'htmlall':'UTF-8'} - {$carrier.name|escape:'htmlall':'UTF-8'}</option>
{/if}
{/foreach}
</select>
</div>
</div>
<br/>
<!-- DPD Classic -->
<div id="service_classic">
<label>{l s='DPD Classic' mod='dpdfrance'}<br/>
{l s='Europe & Intercontinental' mod='dpdfrance'} {l s='(France : delivery at workplace)' mod='dpdfrance'}</label>
<div id="service_classic_img"></div>
<div id="service_classic_contract">
{l s='Depot code - Contract number' mod='dpdfrance'}<br/>{l s='(i.e.: 013 - 12345)' mod='dpdfrance'}<br/><br/>
<input type="text" size="4" maxlength="4" name="classic_depot_code" class="classic_depot_code" value="{$classic_depot_code|escape:'htmlall':'UTF-8'}" /> -
<input type="text" size="8" maxlength="8" name="classic_shipper_code" class="classic_shipper_code" value="{$classic_shipper_code|escape:'htmlall':'UTF-8'}" /><br/><br/>
</div>
<div id="service_next_img"></div>
<div id="service_classic_addcarrier">
{l s='Carrier creation' mod='dpdfrance'}<br/><br/>
<input type="submit" name="submitCreateCarrierClassic" value="{l s='Create DPD Classic carrier' mod='dpdfrance'}" class="button"/><br/>
<input type="submit" name="submitCreateCarrierWorld" value="{l s='Create DPD Intercontinental carrier' mod='dpdfrance'}" class="button"/><br/>
</div>
<div id="service_next_img"></div>
<div id="service_classic_selectcarrier">
{l s='Carrier assignation' mod='dpdfrance'}<br/><br/>
<select name="dpdfrance_classic_carrier_id"><option value="0">{l s='None - Disable this carrier' mod='dpdfrance'}</option>
{foreach from=$carriers item=carrier}
{if $carrier.id_carrier == $dpdfrance_classic_carrier_id}
<option value="{$carrier.id_carrier|escape:'htmlall':'UTF-8'}" selected>{$carrier.id_carrier|escape:'htmlall':'UTF-8'} - {$carrier.name|escape:'htmlall':'UTF-8'}</option>
{else}
<option value="{$carrier.id_carrier|escape:'htmlall':'UTF-8'}">{$carrier.id_carrier|escape:'htmlall':'UTF-8'} - {$carrier.name|escape:'htmlall':'UTF-8'}</option>
{/if}
{/foreach}
</select>
</div>
</div>
<div class="notabene">{l s='Please contact your DPD sales representative to get your contract numbers and depot code.' mod='dpdfrance'}</div><br/><br/>
<center><a size="6" name="next" class="button" href="javascript:void(0)" onclick="$(&quot;#onglet1&quot;).click();">{l s='Previous' mod='dpdfrance'}</a>
<a size="6" name="next" class="button" href="javascript:void(0)" onclick="$(&quot;#onglet3&quot;).click();">{l s='Next' mod='dpdfrance'}</a></center>
<br/>
</div>
</div>
<!-- Tab Options supplémentaires -->
<div id="options_supp" style="display:none;">
<br/><span class="section_title_alt">{l s='Advanced settings' mod='dpdfrance'}</span><br/><br/>
<label>{l s='DPD Relais WebService URL' mod='dpdfrance'}</label>
<div class="margin-form">
<input type="text" size="48" name="mypudo_url" value="{$mypudo_url|escape:'htmlall':'UTF-8'}" />
<br/>
<a style="color: #dc0042; font-size: 12px;" href="javascript:void(0)" onclick="window.open(&quot;../modules/dpdfrance/docs/readme_dpdfrance_prestashop.pdf#page=7&quot;, &quot;s&quot;, &quot;width= 640, height= 900, left=0, top=0, resizable=yes, toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=no, copyhistory=no&quot;);">{l s='Caution! Critical setting' mod='dpdfrance'}</a>
</div>
{if $ps_version >= '1.4'}
<label>{l s='Coastal islands & Corsica overcost' mod='dpdfrance'}</label><div class="margin-form"><input type="text" size="3" name="supp_iles" value="{$supp_iles|escape:'htmlall':'UTF-8'}" />{l s=' € (-1 to disable delivery to these areas)' mod='dpdfrance'}</div><br/>
<label>{l s='Mountain areas overcost' mod='dpdfrance'}</label><div class="margin-form"><input type="text" size="3" name="supp_montagne" value="{$supp_montagne|escape:'htmlall':'UTF-8'}" />{l s=' € (-1 to disable delivery to these areas)' mod='dpdfrance'}</div>
{/if}
<br/>
<label>{l s='Google Maps API Key' mod='dpdfrance'}</label>
<div class="margin-form">
<input type="text" size="48" name="google_api_key" value="{$google_api_key|escape:'htmlall':'UTF-8'}" />
<br/>
<a href="https://console.developers.google.com/flows/enableapi?apiid=maps_backend,geocoding_backend,directions_backend,distance_matrix_backend,elevation_backend,places_backend&keyType=CLIENT_SIDE&reusekey=true" target="_blank" >{l s='Click here to retrieve your Google API Key' mod='dpdfrance'}</a>
</div>
<br/>
<center><a size="6" name="next" class="button" href="javascript:void(0)" onclick="$(&quot;#onglet2&quot;).click();">{l s='Previous' mod='dpdfrance'}</a>
<a size="6" name="next" class="button" href="javascript:void(0)" onclick="$(&quot;#onglet4&quot;).click();">{l s='Next' mod='dpdfrance'}</a></center>
<br/>
</div>
<!-- Tab Gestion des expéditions -->
<div id="gestion_exp" style="display:none;">
<br/><span class="section_title_alt">{l s='Orders management' mod='dpdfrance'}</span><br/><br/>
<label>{l s='Preparation in progress status' mod='dpdfrance'}<br/></label>
<div class="margin-form">
<select name="id_expedition">
{foreach from=$etats_factures item=value}
{if $value.id_order_state == $dpdfrance_etape_expedition}
<option value="{$value.id_order_state|escape:'htmlall':'UTF-8'}" selected>{$value.name|escape:'htmlall':'UTF-8'}</option>
{else}
<option value="{$value.id_order_state|escape:'htmlall':'UTF-8'}">{$value.name|escape:'htmlall':'UTF-8'}</option>
{/if}
{/foreach}
</select>
<br/>{l s='Orders in this state will be selected by default for exporting.' mod='dpdfrance'}<br/>
</div>
<label>{l s='Shipped status' mod='dpdfrance'}<br/></label>
<div class="margin-form">
<select name="id_expedie">
{foreach from=$etats_factures item=value}
{if $value.id_order_state == $dpdfrance_etape_expediee}
<option value="{$value.id_order_state|escape:'htmlall':'UTF-8'}" selected>{$value.name|escape:'htmlall':'UTF-8'}</option>
{else}
<option value="{$value.id_order_state|escape:'htmlall':'UTF-8'}">{$value.name|escape:'htmlall':'UTF-8'}</option>
{/if}
{/foreach}
</select>
<br/>{l s='Once parcel trackings are generated, orders will be updated to this state.' mod='dpdfrance'}<br/>
</div>
<label>{l s='Delivered status' mod='dpdfrance'}<br/></label>
<div class="margin-form">
<select name="id_livre">
{foreach from=$etats_factures item=value}
{if $value.id_order_state == $dpdfrance_etape_livre}
<option value="{$value.id_order_state|escape:'htmlall':'UTF-8'}" selected>{$value.name|escape:'htmlall':'UTF-8'}</option>
{else}
<option value="{$value.id_order_state|escape:'htmlall':'UTF-8'}">{$value.name|escape:'htmlall':'UTF-8'}</option>
{/if}
{/foreach}
</select>
<br/>{l s='Once parcels are delivered, orders will be updated to this state.' mod='dpdfrance'}<br/>
</div>
<label>{l s='Auto update of status and tracking links' mod='dpdfrance'}<br/></label>
<div class="margin-form">
<select name="auto_update">
{foreach from=$optupdate item=option key=key}
{if $key == $auto_update}
<option value="{$key|escape:'htmlall':'UTF-8'}" selected>{$option|escape:'htmlall':'UTF-8'}</option>
{else}
<option value="{$key|escape:'htmlall':'UTF-8'}">{$option|escape:'htmlall':'UTF-8'}</option>
{/if}
{/foreach}
</select>
<br/>{l s='Order statuses and tracking links will be automatically updated following parcel delivery.' mod='dpdfrance'}<br/>
</div>
<label>{l s='Allow management of non-DPD orders' mod='dpdfrance'}<br/></label>
<div class="margin-form">
<select name="marketplace_mode">
{foreach from=$optmarketplace item=option key=key}
{if $key == $marketplace_mode}
<option value="{$key|escape:'htmlall':'UTF-8'}" selected>{$option|escape:'htmlall':'UTF-8'}</option>
{else}
<option value="{$key|escape:'htmlall':'UTF-8'}">{$option|escape:'htmlall':'UTF-8'}</option>
{/if}
{/foreach}
</select>
<br/>{l s='All orders will be manageable regardless of the carrier, useful when using marketplace connectors.' mod='dpdfrance'}<br/>
</div>
<label>{l s='Parcel insurance service' mod='dpdfrance'}<br/></label>
<div class="margin-form">
<select name="ad_valorem">
{foreach from=$optvd item=option key=key}
{if $key == $dpdfrance_ad_valorem}
<option value="{$key|escape:'htmlall':'UTF-8'}" selected>{$option|escape:'htmlall':'UTF-8'}</option>
{else}
<option value="{$key|escape:'htmlall':'UTF-8'}">{$option|escape:'htmlall':'UTF-8'}</option>
{/if}
{/foreach}
</select>
<br/>{l s='Ad Valorem : Please refer to your pricing conditions.' mod='dpdfrance'}<br/>
</div>
<label>{l s='DPD Returns service' mod='dpdfrance'}<br/></label>
<div class="margin-form">
<select name="retour">
{foreach from=$optretour item=option key=key}
{if $key == $dpdfrance_retour_option}
<option value="{$key|escape:'htmlall':'UTF-8'}" selected>{$option|escape:'htmlall':'UTF-8'}</option>
{else}
<option value="{$key|escape:'htmlall':'UTF-8'}">{$option|escape:'htmlall':'UTF-8'}</option>
{/if}
{/foreach}
</select>
<br/>{l s='DPD Returns options : Please refer to your pricing conditions.' mod='dpdfrance'}<br/>
</div>
<center><a size="6" name="next" class="button" href="javascript:void(0)" onclick="$(&quot;#onglet3&quot;).click();">{l s='Previous' mod='dpdfrance'}</a>
<a size="6" name="next" class="button" href="javascript:void(0)" onclick="$(&quot;#onglet5&quot;).click();">{l s='Next' mod='dpdfrance'}</a></center>
<br/>
</div>
<!-- Tab Recapitulatif -->
<div id="recap" style="display:none;">
<strong><center><br/><br/>{l s='You\'re all set!' mod='dpdfrance'}</center></strong><br/><br/>
<center><input id="save_settings_button" type="submit" name="submitRcReferer" value="{l s='Save settings' mod='dpdfrance'}" class="button"></center></br>
<center><a size="6" name="next" class="button" href="javascript:void(0)" onclick="$(&quot;#onglet4&quot;).click();">{l s='Return to configuration' mod='dpdfrance'}</a></center><br/>
<br/>
</div>
</fieldset>
</form>

View File

@@ -0,0 +1,160 @@
{**
* 2007-2018 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 DPD France S.A.S. <support.ecommerce@dpd.fr>
* @copyright 2018 DPD France S.A.S.
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
*}
{literal}
<script type='text/javascript'>
$(document).ready(function(){
$('.page-title').prepend('<img src="../modules/dpdfrance/views/img/admin/admin.png"/>')
$('.marquee').marquee({
duration: 20000,
gap: 50,
delayBeforeStart: 0,
direction: 'left',
duplicated: true,
pauseOnHover: true
});
$('a.popup').fancybox({
'hideOnContentClick': true,
'padding' : 0,
'overlayColor' :'#D3D3D3',
'overlayOpacity' : 0.7,
'width' : 1024,
'height' : 640,
'type' :'iframe'
});
jQuery.expr[':'].contains = function(a, i, m) {
return jQuery(a).text().toUpperCase().indexOf(m[3].toUpperCase()) >= 0;
};
$("#tableFilter").keyup(function () {
//split the current value of tableFilter
var data = this.value.split(";");
//create a jquery object of the rows
var jo = $("#fbody").find("tr");
if (this.value == "") {
jo.show();
return;
}
//hide all the rows
jo.hide();
//Recusively filter the jquery object to get results.
jo.filter(function (i, v) {
var t = $(this);
for (var d = 0; d < data.length; ++d) {
if (t.is(":contains('" + data[d] + "')")) {
return true;
}
}
return false;
})
//show the rows that match.
.show();
}).focus(function () {
this.value = "";
$(this).css({
"color": "black"
});
$(this).unbind('focus');
}).css({
"color": "#C0C0C0"
});
});
function checkallboxes(ele) {
var checkboxes = $("#fbody").find(".checkbox:visible");
if (ele.checked) {
for (var i = 0; i < checkboxes.length; i++) {
if (checkboxes[i].type == 'checkbox') {
checkboxes[i].checked = true;
}
}
} else {
for (var i = 0; i < checkboxes.length; i++) {
if (checkboxes[i].type == 'checkbox') {
checkboxes[i].checked = false;
}
}
}
}
</script>
{/literal}
{if !isset($stream.error) || (isset($stream.error) && !$stream.error)}
<fieldset id="fieldset_rss"><legend><a href="javascript:void(0)" onclick="$(&quot;#zonemarquee&quot;).toggle(&quot;fast&quot;, function() {literal}{}{/literal});"><img src="../modules/dpdfrance/views/img/admin/rss_icon.png" />{l s='DPD News (show/hide)' mod='dpdfrance'}</a></legend>
<div id="zonemarquee"><div id="marquee" class="marquee">
{foreach from=$stream item=item key=key}
<strong style="color:red;">{$item.category|escape:'htmlall':'UTF-8'} > {$item.title|escape:'htmlall':'UTF-8'} : </strong> {$item.description|escape:'htmlall':'UTF-8'}
{/foreach}
</div></div></fieldset><br/><br/>
{/if}
{$msg|escape:'quotes':'UTF-8'}
<div id="fieldset_grid">
{if !isset($order_info.error) || (isset($order_info.error) && !$order_info.error)}
<input id="tableFilter" placeholder="{l s='Search something, separate values with ; ' mod='dpdfrance'}"/><img id="filtericon" src="../modules/dpdfrance/views/img/admin/search.png"/><br/><br/>
<form id="exportform" action="index.php?tab=AdminDPDFrance&token={$token|escape:'htmlall':'UTF-8'}" method="POST" enctype="multipart/form-data">
<body><table>
<thead>
<tr>
<th class="hcheckexport"><input type="checkbox" onchange="checkallboxes(this)"/></th>
<th class="hid">ID</th>
<th class="href">{l s='Reference' mod='dpdfrance'}</th>
<th class="hdate">{l s='Date of order' mod='dpdfrance'}</th>
<th class="hnom">{l s='Recipient' mod='dpdfrance'}</th>
<th class="htype">{l s='Service' mod='dpdfrance'}</th>
<th class="hpr">{l s='Destination' mod='dpdfrance'}</th>
<th class="hpoids">{l s='Weight' mod='dpdfrance'}</th>
<th colspan="2" class="hprix" align="right">{l s='Amount' mod='dpdfrance'}<br/><span style="font-size:10px;">{l s='(tick to insure<br/>this parcel)' mod='dpdfrance'}</span></th>
{if $dpdfrance_retour_option !== 0}<th class="hretour">{l s='Allow return' mod='dpdfrance'}</th>{/if}
<th class="hstatutcommande" align="center">{l s='Order status' mod='dpdfrance'}</th>
<th class="hstatutcolis" align="center">{l s='Parcel trace' mod='dpdfrance'}</th>
</tr>
</thead><tbody id="fbody">
{foreach from=$order_info item=order}
<tr>
<td><input class="checkbox" type="checkbox" name="checkbox[]" {$order.checked|escape:'htmlall':'UTF-8'} value="{$order.id|escape:'htmlall':'UTF-8'}"></td><td class="id">{$order.id|escape:'htmlall':'UTF-8'}</td>
<td class="ref">{$order.reference|escape:'htmlall':'UTF-8'}</td>
<td class="date">{$order.date|escape:'htmlall':'UTF-8'}</td>
<td class="nom">{$order.nom|escape:'htmlall':'UTF-8'}</td>
<td class="type">{$order.type|escape:'quotes':'UTF-8'}</td>
<td class="pr">{$order.address|escape:'quotes':'UTF-8'}</td>
<td class="poids"><input name="parcelweight[{$order.id|escape:'htmlall':'UTF-8'}]" type="text" value="{$order.poids|escape:'htmlall':'UTF-8'}" /> {$order.weightunit|escape:'htmlall':'UTF-8'}</td>
<td class="prix" align="right">{$order.prix|escape:'htmlall':'UTF-8'}</td>
<td class="advalorem"><input class="advalorem" type="checkbox" name="advalorem[]" {$order.advalorem_checked|escape:'htmlall':'UTF-8'} value="{$order.id|escape:'htmlall':'UTF-8'}"></td>
{if $dpdfrance_retour_option !== 0}<td class="retour"><input class="retour" type="checkbox" name="retour[]" {$order.retour_checked|escape:'htmlall':'UTF-8'} value="{$order.id|escape:'htmlall':'UTF-8'}"></td>{/if}
<td class="statutcommande" align="center">{$order.statut|escape:'quotes':'UTF-8'}</td>
<td class="statutcolis" align="center"><a href="javascript:void(0)" onclick="window.open('http://www.dpd.fr/tracex_{$order.reference|escape:'htmlall':'UTF-8'}_{$order.depot_code|escape:'htmlall':'UTF-8'}{$order.shipper_code|escape:'htmlall':'UTF-8'}','','width=1024,height=768,top=30,left=20')">{$order.dernier_statut_colis|escape:'quotes':'UTF-8'}</a></td>
</tr>
{/foreach}
</tbody></table>
<p>
<input type="submit" class="button" name="exportOrders" value="{l s='Export selected orders to DPD Station' mod='dpdfrance'}" />
<input type="submit" class="button" name="updateShippedOrders" value="{l s='Update shipped orders' mod='dpdfrance'}" />
<input type="submit" class="button" name="updateDeliveredOrders" value="{l s='Update delivered orders' mod='dpdfrance'}" />
</p>
</form></div>
{else}
<div class="alert warn">{l s='There are no orders' mod='dpdfrance'}</div>
{/if}

View File

@@ -0,0 +1,34 @@
<?php
/**
* 2007-2018 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 DPD France S.A.S. <support.ecommerce@dpd.fr>
* @copyright 2018 DPD France S.A.S.
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
*/
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,34 @@
<?php
/**
* 2007-2018 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 DPD France S.A.S. <support.ecommerce@dpd.fr>
* @copyright 2018 DPD France S.A.S.
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
*/
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,34 @@
<?php
/**
* 2007-2018 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 DPD France S.A.S. <support.ecommerce@dpd.fr>
* @copyright 2018 DPD France S.A.S.
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
*/
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,34 @@
<?php
/**
* 2007-2018 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 DPD France S.A.S. <support.ecommerce@dpd.fr>
* @copyright 2018 DPD France S.A.S.
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
*/
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,318 @@
{**
* 2007-2018 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 DPD France S.A.S. <support.ecommerce@dpd.fr>
* @copyright 2018 DPD France S.A.S.
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
*}
<script type="text/javascript">
{literal}
var delay = (function(){
var timer = 0;
return function(callback, ms){
clearTimeout (timer);
timer = setTimeout(callback, ms);
};
})();
function dpdfrance_relais_ajaxupdate(address, zipcode, city, action, dpdfrance_cart_id)
{
if ((zipcode && zipcode.length >= 5 && action == 'search') || action == 'reset') {
$('#dpdfrance_reset_submit').after(' <img src="{/literal}{$dpdfrance_base_dir|escape:'htmlall':'UTF-8'}{literal}/views/img/front/relais/loader.gif"/>');
$.ajax('{/literal}{$dpdfrance_base_dir|escape:'htmlall':'UTF-8'}{literal}/ajax.php?action_ajax_dpdfrance=ajaxUpdatePoints', {
data: {
'address': address,
'zipcode': zipcode,
'city': city,
'action': action,
'dpdfrance_cart_id': dpdfrance_cart_id,
'dpdfrance_token': dpdfrance_token,
},
success: function(data) {
var $html = $(data);
$('#dpdfrance_relais_point_table').html($html);
$('#dpdfrance_relais_point_table').children('#dpdfrance_relais_point_table').css('display', '');
dpdfrance_checkPudo();
}
});
} else {
$('#dpdfrance_search_zipcode').css('border', '1px solid #dc0032');
}
}
$(document).ready(function(){
setTimeout(function () {
if ($('#input_dpdfrance_predict_gsm_dest:-webkit-autofill').val()) {
dpdfrance_checkGSM();
}
}, 25);
$("#input_dpdfrance_predict_gsm_dest").keyup(function() {
delay(function(){
dpdfrance_checkGSM();
}, 200);
});
if ($("#div_dpdfrance_predict_block").is(":visible")) {
dpdfrance_checkGSM();
}
});
{/literal}
</script>
<noscript>
<tr>
<td colspan="5"><div class="dpdfrance_relais_error"><strong>{l s='It seems that your browser doesn\'t allow Javascript execution, therefore DPD Relais is not available. Please change browser settings, or try another browser.' mod='dpdfrance'}</strong></div></td>
</tr><br/>
<div style="display:none;">
</noscript>
<div id="dpdfrance_relais_filter" onclick="
var i = 1;
for (i=1; i<6; i++){
document.getElementById('dpdfrance_relais_filter').style.display='none';
document.getElementById('dpdfrance_relaydetail'+i).style.display='none';
}">
</div>
<table align="center" id="dpdfrance_relais_point_table" class="dpdfrance_fo" style="display:none;">
{if isset($error)}
<tr>
<td colspan="5"><div class="dpdfrance_relais_error"> {$error|escape:'htmlall':'UTF-8'} </div></td>
</tr>
{else}
{if $dpdfrance_relais_status == 'error'}
<tr>
<td colspan="5" style="padding:0px;"><div class="dpdfrance_relais_error"><p>{l s='It seems that you haven\'t selected a DPD Pickup point, please pick one from this list' mod='dpdfrance'}</p></div></td>
</tr>
{/if}
<tr>
<td colspan="5" style="padding:0px;">
<div id="dpdfrance_div_relais_header"><p>{l s='Please select your DPD Relais parcelshop among this list' mod='dpdfrance'}</p></div>
{if $ssl == 0 || $ssl_everywhere == 1}
<div id="dpdfrance_div_relais_srch_link"><span onMouseOver="javascript:this.style.cursor='pointer';javascript:this.style.textDecoration='underline';" onMouseOut="javascript:this.style.cursor='auto';javascript:this.style.textDecoration='none';" onClick="$('#dpdfrance_div_relais_srch_panel').slideToggle();">{l s='Search for Pickup points near another address' mod='dpdfrance'}</span>
<div id="dpdfrance_div_relais_srch_panel" style="display:none;">
<input type="text" id="dpdfrance_search_address" placeholder="{l s='Address' mod='dpdfrance'}" /><br/>
<input type="text" id="dpdfrance_search_zipcode" maxlength="5" placeholder="{l s='Postcode' mod='dpdfrance'}" /> <input type="text" id="dpdfrance_search_city" placeholder="{l s='City' mod='dpdfrance'}" />
<button type="button" id="dpdfrance_search_submit" name="dpdfrance_search_submit" onclick="dpdfrance_relais_ajaxupdate($('#dpdfrance_search_address').val(), $('#dpdfrance_search_zipcode').val(), $('#dpdfrance_search_city').val(), 'search', dpdfrance_cart_id);">{l s='Search' mod='dpdfrance'}</button>
<button type="button" id="dpdfrance_reset_submit" name="dpdfrance_reset_submit" onclick="dpdfrance_relais_ajaxupdate($('#dpdfrance_search_address').val(), $('#dpdfrance_search_zipcode').val(), $('#dpdfrance_search_city').val(), 'reset', dpdfrance_cart_id);">{l s='Reset' mod='dpdfrance'}</button>
</div>
{/if}
</td>
</tr>
{if isset($dpdfrance_relais_empty)}
<tr>
<td colspan="5" style="padding:0px;"><div class="dpdfrance_relais_error"><p>{l s='There are no Pickup points near this address, please modify it.' mod='dpdfrance'}</p></div></td>
</tr>
{/if}
{foreach from=$dpdfrance_relais_points item=points name=dpdfranceRelaisLoop}
<tr class="dpdfrance_lignepr" onclick="dpdfrance_registerPudo('{$points.relay_id|escape:'htmlall':'UTF-8'}');document.getElementById('{$points.relay_id|escape:'htmlall':'UTF-8'}').checked=true;">
<td align="left" class="dpdfrance_logorelais"></td>
<td align="left" class="dpdfrance_adressepr"><b>{$points.shop_name|escape:'htmlall':'UTF-8'}</b><br/>{$points.address1|escape:'htmlall':'UTF-8'}<br/>{$points.postal_code|escape:'htmlall':'UTF-8'} {$points.city|escape:'htmlall':'UTF-8'}<br/></td>
<td align="right" class="dpdfrance_distancepr">{$points.distance|escape:'htmlall':'UTF-8'} km</td>
<td align="center" class="dpdfrance_popinpr">
<span onMouseOver="javascript:this.style.cursor='pointer';" onMouseOut="javascript:this.style.cursor='auto';"
onClick="openDpdfranceDialog('dpdfrance_relaydetail{$smarty.foreach.dpdfranceRelaisLoop.index+1|escape:'htmlall':'UTF-8'}','map_canvas{$smarty.foreach.dpdfranceRelaisLoop.index+1|escape:'htmlall':'UTF-8'}',{$points.coord_lat|escape:'htmlall':'UTF-8'},{$points.coord_long|escape:'htmlall':'UTF-8'},'{$dpdfrance_base_dir|escape:'htmlall':'UTF-8'}')">
<u>{l s='More details' mod='dpdfrance'}</u>
</span>
</td>
<td align="center" class="dpdfrance_radiopr">
{if $dpdfrance_selectedrelay == $points.relay_id}
<input type="radio" name="dpdfrance_relay_id" id="{$points.relay_id|escape:'htmlall':'UTF-8'}" value="{$points.relay_id|escape:'htmlall':'UTF-8'}" checked="checked">
{else}
<input type="radio" name="dpdfrance_relay_id" id="{$points.relay_id|escape:'htmlall':'UTF-8'}" value="{$points.relay_id|escape:'htmlall':'UTF-8'}" {if $smarty.foreach.dpdfranceRelaisLoop.first} checked="checked" {/if}>
{/if}
<label for="{$points.relay_id|escape:'htmlall':'UTF-8'}"><span><span></span></span><b>ICI</b></label>
</td>
</tr>
<div id="dpdfrance_relaydetail{$smarty.foreach.dpdfranceRelaisLoop.index+1|escape:'htmlall':'UTF-8'}" class="dpdfrance_relaisbox" style="display:none;">
<div class="dpdfrance_relaisboxclose" onclick="
document.getElementById('dpdfrance_relaydetail{$smarty.foreach.dpdfranceRelaisLoop.index+1|escape:'htmlall':'UTF-8'}').style.display='none';
document.getElementById('dpdfrance_relais_filter').style.display='none'">
<img src="{$dpdfrance_base_dir|escape:'htmlall':'UTF-8'}/views/img/front/relais/box-close.png"/>
</div>
<div class="dpdfrance_relaisboxcarto" id="map_canvas{$smarty.foreach.dpdfranceRelaisLoop.index+1|escape:'htmlall':'UTF-8'}"></div>
<div id="relaisboxbottom" class="dpdfrance_relaisboxbottom">
<div id="relaisboxadresse" class="dpdfrance_relaisboxadresse">
<div class="dpdfrance_relaisboxadresseheader">{l s='Your DPD Pickup point' mod='dpdfrance'}</div><br/>
<b>{$points.shop_name|escape:'htmlall':'UTF-8'}</b><br/>
{$points.address1|escape:'htmlall':'UTF-8'}<br/>
{if isset($points.address2)}
{$points.address2|escape:'htmlall':'UTF-8'}<br/>
{/if}
{$points.postal_code|escape:'htmlall':'UTF-8'} {$points.city|escape:'htmlall':'UTF-8'}<br/>
{if isset($points.local_hint)}
<p>{l s='Landmark' mod='dpdfrance'} : {$points.local_hint|escape:'htmlall':'UTF-8'}</p>
{/if}
</div>
<div class="dpdfrance_relaisboxhoraires">
<div class="dpdfrance_relaisboxhorairesheader">{l s='Opening hours' mod='dpdfrance'}</div><br/>
<p>
<span class="dpdfrance_relaisboxjour">{l s='Monday' mod='dpdfrance'} : </span>
{if !isset($points.monday)} {l s='Closed' mod='dpdfrance'}
{else}
{if $points.monday[0]}
{$points.monday[0]|escape:'htmlall':'UTF-8'}
{if isset($points.monday[1])}
& {$points.monday[1]|escape:'htmlall':'UTF-8'}
{/if}
{/if}
{/if}
</p>
<p>
<span class="dpdfrance_relaisboxjour">{l s='Tuesday' mod='dpdfrance'} : </span>
{if !isset($points.tuesday)} {l s='Closed' mod='dpdfrance'}
{else}
{if $points.tuesday[0]}
{$points.tuesday[0]|escape:'htmlall':'UTF-8'}
{if isset($points.tuesday[1])}
& {$points.tuesday[1]|escape:'htmlall':'UTF-8'}
{/if}
{/if}
{/if}
</p>
<p>
<span class="dpdfrance_relaisboxjour">{l s='Wednesday' mod='dpdfrance'} : </span>
{if !isset($points.wednesday)} {l s='Closed' mod='dpdfrance'}
{else}
{if $points.wednesday[0]}
{$points.wednesday[0]|escape:'htmlall':'UTF-8'}
{if isset($points.wednesday[1])}
& {$points.wednesday[1]|escape:'htmlall':'UTF-8'}
{/if}
{/if}
{/if}
</p>
<p>
<span class="dpdfrance_relaisboxjour">{l s='Thursday' mod='dpdfrance'} : </span>
{if !isset($points.thursday)} {l s='Closed' mod='dpdfrance'}
{else}
{if $points.thursday[0]}
{$points.thursday[0]|escape:'htmlall':'UTF-8'}
{if isset($points.thursday[1])}
& {$points.thursday[1]|escape:'htmlall':'UTF-8'}
{/if}
{/if}
{/if}
</p>
<p>
<span class="dpdfrance_relaisboxjour">{l s='Friday' mod='dpdfrance'} : </span>
{if !isset($points.friday)} {l s='Closed' mod='dpdfrance'}
{else}
{if $points.friday[0]}
{$points.friday[0]|escape:'htmlall':'UTF-8'}
{if isset($points.friday[1])}
& {$points.friday[1]|escape:'htmlall':'UTF-8'}
{/if}
{/if}
{/if}
</p>
<p>
<span class="dpdfrance_relaisboxjour">{l s='Saturday' mod='dpdfrance'} : </span>
{if !isset($points.saturday)} {l s='Closed' mod='dpdfrance'}
{else}
{if $points.saturday[0]}
{$points.saturday[0]|escape:'htmlall':'UTF-8'}
{if isset($points.saturday[1])}
& {$points.saturday[1]|escape:'htmlall':'UTF-8'}
{/if}
{/if}
{/if}
</p>
<p>
<span class="dpdfrance_relaisboxjour">{l s='Sunday' mod='dpdfrance'} : </span>
{if !isset($points.sunday)} {l s='Closed' mod='dpdfrance'}
{else}
{if $points.sunday[0]}
{$points.sunday[0]|escape:'htmlall':'UTF-8'}
{if isset($points.sunday[1])}
& {$points.sunday[1]|escape:'htmlall':'UTF-8'}
{/if}
{/if}
{/if}
</p>
</div>
<div id="relaisboxinfos" class="dpdfrance_relaisboxinfos">
<div class="dpdfrance_relaisboxinfosheader">{l s='More info' mod='dpdfrance'}</div><br/>
<h5>{l s='Distance in km' mod='dpdfrance'} : </h5>{$points.distance|escape:'htmlall':'UTF-8'} km <br/>
<h5>{l s='DPD Relais code' mod='dpdfrance'} : </h5>{$points.relay_id|escape:'htmlall':'UTF-8'} <br/>
{if isset($points.closing_period[0])}
<h4><img src="{$dpdfrance_base_dir|escape:'htmlall':'UTF-8'}/views/img/front/relais/warning.png"/> {l s='Closing period' mod='dpdfrance'} : </h4>{$points.closing_period[0]|escape:'htmlall':'UTF-8'} <br/>
{/if}
{if isset($points.closing_period[1])}
<h4></h4>{$points.closing_period[1]|escape:'htmlall':'UTF-8'} <br/>
{/if}
{if isset($points.closing_period[2])}
<h4></h4>{$points.closing_period[2]|escape:'htmlall':'UTF-8'} <br/>
{/if}
</div>
</div>
</div>
{/foreach}
{/if}
</table>
<noscript></div></noscript>
<div id="div_dpdfrance_predict_block" class="dpdfrance_fo" style="display:none;">
<div id="div_dpdfrance_predict_header"><p>{l s='Your order will be delivered by DPD with Predict service' mod='dpdfrance'}</p></div>
<div class="module" id="predict">
<div id="div_dpdfrance_predict_logo"></div>
<div class="copy">
<p><h2>{l s='Predict offers you the following benefits' mod='dpdfrance'} :</h2></p>
<ul>
<li><b>{l s='A parcel delivery in a 3-hour time window (choice is made by SMS or through our website)' mod='dpdfrance'}</b></li>
<li><b>{l s='A complete and detailed tracking of your delivery' mod='dpdfrance'}</b></li>
<li><b>{l s='In case of absence, you can schedule a new delivery when and where you it suits you best' mod='dpdfrance'}</b></li>
</ul>
<br/>
<p><h2>{l s='How does it work?' mod='dpdfrance'}</h2></p>
<ul>
<li>{l s='Once your order is ready for shipment, you will receive an SMS proposing various days and time windows for your delivery.' mod='dpdfrance'}</li>
<li>{l s='You choose the moment which suits you best for the delivery by replying to the SMS (no extra cost) or through our website' mod='dpdfrance'} <a href="http://destinataires.dpd.fr" target="_blank">dpd.fr</a></li>
<li>{l s='On the day of delivery, a text message will remind you the selected time window.' mod='dpdfrance'}</li>
</ul>
</div>
<br/>
<div id="div_dpdfrance_dpd_logo"></div>
</div>
<div id="div_dpdfrance_predict_gsm">
{l s='Get all the advantages of DPD\'s Predict service by providing a french GSM number here ' mod='dpdfrance'}
<input type="text" name="dpdfrance_predict_gsm_dest" id="input_dpdfrance_predict_gsm_dest" maxlength="15" value="{$dpdfrance_predict_gsm_dest|escape:'htmlall':'UTF-8'}"></input><div id="dpdfrance_predict_gsm_button">></div>
</div>
<div id="dpdfrance_predict_error" class="warnmsg" style="display:none;">{l s='It seems that the GSM number you provided is incorrect. Please provide a french GSM number, starting with 06 or 07, on 10 consecutive digits.' mod='dpdfrance'}</div>
</div>

View File

@@ -0,0 +1,32 @@
{**
* 2007-2018 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 DPD France S.A.S. <support.ecommerce@dpd.fr>
* @copyright 2018 DPD France S.A.S.
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
*}
<script type="text/javascript">
var dpdfranceRelaisCarrierId = "{$dpdfrance_relais_carrier_id|escape:'javascript':'UTF-8'}";
var dpdfrancePredictCarrierId = "{$dpdfrance_predict_carrier_id|escape:'javascript':'UTF-8'}";
var psVer = parseFloat("{$ps_version|escape:'javascript':'UTF-8'}");
var dpdfrance_cart_id = "{$dpdfrance_cart->id|escape:'javascript':'UTF-8'}";
var dpdfrance_base_dir = "{$dpdfrance_base_dir|escape:'javascript':'UTF-8'}";
var dpdfrance_token = "{$dpdfrance_token|escape:'javascript':'UTF-8'}";
</script>

View File

@@ -0,0 +1,34 @@
<?php
/**
* 2007-2018 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 DPD France S.A.S. <support.ecommerce@dpd.fr>
* @copyright 2018 DPD France S.A.S.
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
*/
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,34 @@
<?php
/**
* 2007-2018 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 DPD France S.A.S. <support.ecommerce@dpd.fr>
* @copyright 2018 DPD France S.A.S.
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
*/
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;