This commit is contained in:
Thibault GUILLAUME 2016-04-04 11:47:52 +02:00
parent 5c9f1e5d29
commit 3d0ebede08
43 changed files with 1027 additions and 912 deletions

View File

@ -792,10 +792,10 @@ class AdminImport extends AdminTab
VALUES (
'.(int) $product->id.',
"'.pSQL($product->nc8).'",
'.(int) $product->origin_country_id.'
'. pSQL($product->origin_country_id).'
)
ON DUPLICATE KEY UPDATE `nc8` = "'.pSQL($product->nc8).'",
`id_country` = '.(int) $product->origin_country_id.'
`id_country` = '.pSQL($product->origin_country_id).'
');
}

View File

@ -1381,10 +1381,10 @@ class AdminProducts extends AdminTab
VALUES (
'.(int) $object->id.',
"'.pSQL(Tools::getValue('nc8')).'",
'.(int) Tools::getValue('id_country').'
'.pSQL(Tools::getValue('id_country')).'
)
ON DUPLICATE KEY UPDATE `nc8` = "'.pSQL(Tools::getValue('nc8')).'",
`id_country` = '.(int) Tools::getValue('id_country').'
`id_country` = '.pSQL(Tools::getValue('id_country')).'
');
if (Validate::isLoadedObject($object))

25
cgi-bin/index.php Normal file
View File

@ -0,0 +1,25 @@
<?php
/**
* 2007-2014 PrestaShop
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2014 PrestaShop SA
* @license http://addons.prestashop.com/en/content/12-terms-and-conditions-of-use
* International Registered Trademark & Property of PrestaShop SA
*/
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;

Binary file not shown.

BIN
cgi-bin/modulev2.cgi Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
cgi-bin/modulev2_SCO.cgi Normal file

Binary file not shown.

BIN
cgi-bin/modulev2__old.cgi Normal file

Binary file not shown.

Binary file not shown.

BIN
cgi-bin/modulev2_cobalt.cgi Normal file

Binary file not shown.

Binary file not shown.

BIN
cgi-bin/modulev2_old.cgi Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -3,7 +3,7 @@
{if isset($smarty.get.sponsor) && isset($smarty.get.create_account)}
<a title="{l s='Return to the homepage' mod='blocklogo'}"><img src="{$base_dir_ssl}img/logo_{$cookie->id_lang}.png" alt="Bebeboutik" /></a>
{else}
<a href="{$base_dir_ssl}" title="{l s='Return to the homepage' mod='blocklogo'}"><img src="http://static.bebeboutik.com/img/logo_{$cookie->id_lang}.png" alt="Bebeboutik" /></a>
<a href="{$base_dir_ssl}" title="{l s='Return to the homepage' mod='blocklogo'}"><img src="https://static.bebeboutik.com/img/logo_{$cookie->id_lang}.png" alt="Bebeboutik" /></a>
{/if}
</div>
<!-- /MODULE Block logo -->

View File

@ -0,0 +1,24 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Message de votre boutique</title>
</head>
<body>
<table style="font-family: tahoma,arial,sans-serif; font-size: 12px; color:#000000; width: 550px;">
<tr>
<td align="left" style="background: #514c8c; color:#ffffff; font-size: 12px; font-weight:bold; padding: 0.5em 1em;">Vous avez reçu un message de la part d'un client depuis votre boutique</td>
</tr>
<tr><td>&nbsp;</td></tr>
<tr>
<td align="left"> <b>{lastname} {firstname}</b> </td>
<td align="left"> {function} </td>
<td align="left"> {compagny} </td>
<td align="left"> Adresse électronique : {email1} {if email2 =! ''} - {email2}{/if} </td>
<td align="left"> Téléphone : Adresse électronique : {phone1} {if phone2 =! ''} - {phone2}{/if} </td>
<td align="left"> &nbsp; </td>
<td align="left"> {content} </td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,9 @@
Vous avez reçu un message de la part d'un client depuis votre boutique
Nom: {lastname} {firstname}
{function}
{compagny}
Adresse électronique : {email1} {if email2 =! ''} - {email2}{/if}
Téléphone : Adresse électronique : {phone1} {if phone2 =! ''} - {phone2}{/if}
{content}

View File

@ -0,0 +1,26 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Message de votre boutique</title>
</head>
<body>
<table style="font-family: tahoma,arial,sans-serif; font-size: 12px; color:#000000; width: 550px;">
<tr>
<td align="left" style="background: #514c8c; color:#ffffff; font-size: 12px; font-weight:bold; padding: 0.5em 1em;">Vous avez reçu un message de la part d'un client depuis votre boutique</td>
</tr>
<tr><td>&nbsp;</td></tr>
<tr>
<td align="left"> <b>{lastname} {firstname}</b> </td>
<td align="left"> {function} </td>
<td align="left"> {brand} - {compagny} </td>
<td align="left"> Adresse électronique : {email1} {if email2 =! ''} - {email2}{/if} </td>
<td align="left"> Téléphone : Adresse électronique : {phone1} {if phone2 =! ''} - {phone2}{/if} </td>
<td align="left"> &nbsp; </td>
<td align="left"> Proposition : {purpose} </td>
<td align="left"> &nbsp; </td>
<td align="left"> {content} </td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,11 @@
Vous avez reçu un message de la part d'un client depuis votre boutique
Nom: {lastname} {firstname}
{function}
{brand} - {compagny}
Adresse électronique : {email1} {if email2 =! ''} - {email2}{/if}
Téléphone : Adresse électronique : {phone1} {if phone2 =! ''} - {phone2}{/if}
Proposition : {purpose}
{content}

View File

@ -155,7 +155,7 @@ class Catalog
$this->_xml .= '<reduction><![CDATA['.$item->reduction.']]></reduction>';
$this->_xml .= '<image>';
$this->_xml .= '<title><![CDATA['.$item->title[(int) $id_lang].']]></title>';
$this->_xml .= '<url>http://static.bebeboutik.com/modules/privatesales/img/'.$item->id.'/liston_2.jpg</url>';
$this->_xml .= '<url>http://static.bebeboutik.com/modules/privatesales/img/'.$item->id.'/liston_'.(int) $id_lang.'.jpg</url>';
$this->_xml .= '</image>';
$this->_xml.='</sect_01>';
@ -187,7 +187,7 @@ class Catalog
$this->_xml .= '<reduction><![CDATA['.$item->reduction.']]></reduction>';
$this->_xml .= '<image>';
$this->_xml .= '<title><![CDATA['.$item->title[(int) $id_lang].']]></title>';
$this->_xml .= '<url>http://static.bebeboutik.com/modules/privatesales/img/'.$item->id.'/liston_2.jpg</url>';
$this->_xml .= '<url>http://static.bebeboutik.com/modules/privatesales/img/'.$item->id.'/liston_'.(int) $id_lang.'.jpg</url>';
$this->_xml .= '</image>';
$this->_xml.='</sect_02>';
@ -219,7 +219,7 @@ class Catalog
$this->_xml .= '<reduction><![CDATA['.$item->reduction.']]></reduction>';
$this->_xml .= '<image>';
$this->_xml .= '<title><![CDATA['.$item->title[(int) $id_lang].']]></title>';
$this->_xml .= '<url>http://static.bebeboutik.com/modules/privatesales/img/'.$item->id.'/liston_2.jpg</url>';
$this->_xml .= '<url>http://static.bebeboutik.com/modules/privatesales/img/'.$item->id.'/liston_'.(int) $id_lang.'.jpg</url>';
$this->_xml .= '</image>';
$this->_xml.='</sect_04>';
@ -239,7 +239,7 @@ class Catalog
$this->_xml .= '<reduction><![CDATA['.$item->reduction.']]></reduction>';
$this->_xml .= '<image>';
$this->_xml .= '<title><![CDATA['.$item->title[(int) $id_lang].']]></title>';
$this->_xml .= '<url>http://static.bebeboutik.com/modules/privatesales/img/'.$item->id.'/liston_2.jpg</url>';
$this->_xml .= '<url>http://static.bebeboutik.com/modules/privatesales/img/'.$item->id.'/liston_'.(int) $id_lang.'.jpg</url>';
$this->_xml .= '</image>';
$this->_xml.='</sect_03>';

View File

@ -72,7 +72,13 @@ class Catalog
$this->_xml .= '<infos_boutique>';
$this->_xml .= '<logo>http://www.bebeboutik.com/img/logo.png</logo>';
$this->_xml .= '<nom>bebeboutik.com</nom>';
$this->_xml .= '<url>www.bebeboutik.com</url>';
if (Tools::getValue('partenaire')
&& Tools::getValue('partenaire') == "family_deal") {
$this->_xml .= '<url><![CDATA[http://www.bebeboutik.com/invite/MjAxMy0xMC0y=02bj5yapRXdvJWZiVmYAxWYlRWL5xWatFmZ&lp=mosaique-enfant]]></url>';
} else {
$this->_xml .= '<url>www.bebeboutik.com</url>';
}
$this->_xml .= '</infos_boutique>';
foreach ($items as $item) {

File diff suppressed because it is too large Load Diff

View File

@ -7,6 +7,7 @@ class Sale {
var $date_start;
var $date_end;
var $timelaps;
var $id_country = 0;
var $enabled = 0;
var $featured = 0;
var $logout = 0;
@ -31,6 +32,7 @@ class Sale {
$this->date_start = $sale['date_start'];
$this->date_end = $sale['date_end'];
$this->date_upd = $sale['date_upd'];
$this->id_country = $sale['id_country'];
$this->enabled = $sale['enabled'];
$this->featured = $sale['featured'];
$this->logout = $sale['logout'];
@ -82,6 +84,7 @@ class Sale {
UPDATE `'._DB_PREFIX_.'privatesale` SET
`date_start` = "'.pSQL($this->date_start).'",
`date_end` = "'.pSQL($this->date_end).'",
`id_country` = '.(int) $this->id_country.',
`enabled` = '.(int) $this->enabled.',
`featured` = '.(int) $this->featured.',
`logout` = '.(int) $this->logout.',
@ -175,6 +178,7 @@ class Sale {
DEFAULT,
"'.pSQL($this->date_start).'",
"'.pSQL($this->date_end).'",
'.(int) $this->id_country.',
'.(int) $this->enabled.',
'.(int) $this->featured.',
'.(int) $this->logout.',
@ -309,6 +313,7 @@ class Sale {
'date_end' => $ps[0]['date_end'],
'date_upd' => $ps[0]['date_upd'],
'timelaps' => $diff,
'id_country' => $ps[0]['id_country'],
'enabled' => $ps[0]['enabled'],
'featured' => $ps[0]['featured'],
'logout' => $ps[0]['logout'],

View File

@ -18,7 +18,7 @@
</div>
<div class="actions">
{*<a class="button_small" href="{$base_dir_ssl}{if $rewriting}{$base_url}/{$sale->id}-{$sale->title[$lang]|str2url}{else}modules/privatesales/trailer.php?id_sale={$sale->id}{/if}">{l s='Trailer' mod='privatesales'}</a>*}
<a href="http://www.facebook.com/sharer.php?u={$base_dir_ssl}{if $rewriting}{$base_url}/{$sale->id}-{$sale->title[$cookie->id_lang]|str2url}{else}modules/privatesales/trailer.php%3Fid_sale={$sale->id}{/if}&t={$sale->title[$cookie->id_lang]|rawurlencode}%20{l s='on' mod='privatesales'}%20{$shop_name|rawurlencode}" class="pop fbshare">{l s='Share on Facebook' mod='privatesales'}</a>
<a href="https://www.facebook.com/sharer.php?u={$base_dir_ssl}{if $rewriting}{$base_url}/{$sale->id}-{$sale->title[$cookie->id_lang]|str2url}{else}modules/privatesales/trailer.php%3Fid_sale={$sale->id}{/if}&t={$sale->title[$cookie->id_lang]|rawurlencode}%20{l s='on' mod='privatesales'}%20{$shop_name|rawurlencode}" class="pop fbshare">{l s='Share on Facebook' mod='privatesales'}</a>
<a href="https://twitter.com/share?url={$base_dir_ssl}{if $rewriting}{$base_url}/{$sale->id}-{$sale->title[$cookie->id_lang]|str2url}{else}modules/privatesales/trailer.php%3Fid_sale={$sale->id}{/if}" class="pop twshare">{l s='Tweet this page' mod='privatesales'}</a>
<a href="{$base_dir_ssl}modules/advsendtoafriend/sendtoafriend-form.php?id_sale={$sale->id}" class="mailshare">{l s='Send to a friend' mod='privatesales'}</a>
<a class="enter" href="{$link->getCategoryLink($sale->id_category, $sale->alias[$cookie->id_lang])|escape:'htmlall':'UTF-8'}">{l s='View the sale' mod='privatesales'}</a>
@ -51,7 +51,7 @@
{l s='From' mod='privatesales'} {$sale->date_start|date_format:'%A %e %B %H:%M'} {l s='To' mod='privatesales'} {$sale->date_end|date_format:'%A %e %B %H:%M'}
</div>
<div class="actions">
<a href="http://www.facebook.com/sharer.php?u={$base_dir_ssl}{if $rewriting}{$base_url}/{$sale->id}-{$sale->title[$cookie->id_lang]|str2url}{else}modules/privatesales/trailer.php%3Fid_sale={$sale->id}{/if}&t={$sale->title[$cookie->id_lang]|rawurlencode}%20{l s='on' mod='privatesales'}%20{$shop_name|rawurlencode}" class="pop fbshare">{l s='Share on Facebook' mod='privatesales'}</a>
<a href="https://www.facebook.com/sharer.php?u={$base_dir_ssl}{if $rewriting}{$base_url}/{$sale->id}-{$sale->title[$cookie->id_lang]|str2url}{else}modules/privatesales/trailer.php%3Fid_sale={$sale->id}{/if}&t={$sale->title[$cookie->id_lang]|rawurlencode}%20{l s='on' mod='privatesales'}%20{$shop_name|rawurlencode}" class="pop fbshare">{l s='Share on Facebook' mod='privatesales'}</a>
<a href="https://twitter.com/share?url={$base_dir_ssl}{if $rewriting}{$base_url}/{$sale->id}-{$sale->title[$cookie->id_lang]|str2url}{else}modules/privatesales/trailer.php%3Fid_sale={$sale->id}{/if}" class="pop twshare">{l s='Tweet this page' mod='privatesales'}</a>
<a href="{$base_dir_ssl}modules/advsendtoafriend/sendtoafriend-form.php?id_sale={$sale->id}" class="mailshare">{l s='Send to a friend' mod='privatesales'}</a>
<a class="button_small" href="{$base_dir_ssl}{if $rewriting}{$base_url}/{$sale->id}-{$sale->title[$cookie->id_lang]|str2url}{else}modules/privatesales/trailer.php?id_sale={$sale->id}{/if}">{l s='Trailer' mod='privatesales'}</a>

View File

@ -166,16 +166,7 @@
</head>
<body {if $page_name}id="{$page_name|escape:'htmlall':'UTF-8'}"{/if} class="{$bodyClass}{if $cookie->isLogged()} logged{/if}{if isset($smarty.get.content_only)} content_only{/if}{if isset($smarty.post.email_create) || isset($smarty.get.create_account)} create{/if} lang{$cookie->id_lang}">
<!--[if lte IE 6]>
<div id="ie_notification" style="background: #FFFFE1; border-bottom: 1px solid #A0A0A0; padding: 10px;line-height: 1.4em; text-align: justify;">
<strong>{l s='Warning, you are currently using an obsolete browser.'}</strong>
{l s='It is a potential source of security breaches and may not display this website properly. Please update your browser to'} <a style="text-decoration: underline;" href="http://windows.microsoft.com/{$lang_iso}-{$lang_iso|strtoupper}/internet-explorer/downloads/ie" onclick="window.open(this.href); return false;">Microsoft Internet Explorer 8</a>.
{l s='You can also use an alternative browser, such as'} <a style="text-decoration: underline;" href="http://mozilla-europe.org/{$lang_iso}/" onclick="window.open(this.href); return false;">Mozilla Firefox</a>, <a style="text-decoration: underline;" href="http://www.opera.com/" onclick="window.open(this.href); return false;">Opera</a>, <a style="text-decoration: underline;" href="http://www.google.com/chrome" onclick="window.open(this.href); return false;">Google Chrome</a> {l s='or'} <a style="text-decoration: underline;" href="http://www.apple.com/{$lang_iso}/safari/" onclick="window.open(this.href); return false;">Safari</a>.
{l s='These softwares are free. If you don\'t have administrative rights on your computer to install programs, please contact your system administrator.'}
</div>
<![endif]-->
{if !$content_only}
{if isset($restricted_country_mode) && $restricted_country_mode}
<div id="restricted-country">

View File

@ -310,6 +310,7 @@ $_LANG['order-carrier_8f90815af11493295587f91f571c2f95'] = 'Il n\'y a pas de tra
$_LANG['order-carrier_914419aa32f04011357d3b604a86d7eb'] = 'Transporteur';
$_LANG['order-carrier_a82be0f551b8708bc08eb33cd9ded0cf'] = 'Informations';
$_LANG['order-carrier_3601146c4e948c32b6424d2c0a7f0118'] = 'Prix';
$_LANG['order-carrier_4cd4c5ff8d8913c314f7c26f32f6cf96'] = 'Délai de livraison affiché durant la commande';
$_LANG['order-carrier_21034ae6d01a83e702839a72ba8a77b0'] = 'HT';
$_LANG['order-carrier_1f87346a16cf80c372065de3c54c86d9'] = 'TTC';
$_LANG['order-carrier_0d9175fe89fb80d815e7d03698b6e83a'] = 'Cadeau';

View File

@ -184,7 +184,7 @@
<ul>{strip}{assign var=sales_index value=0}
{foreach $sales as $sale name=sales}
{if count(array_intersect($customer_groups, $sale->groups))>0}
<li style="background:url('http://static.bebeboutik.com{$path}img/{$sale->id}/liston_{$cookie->id_lang}.jpg') no-repeat;"
<li style="background:url('https://static.bebeboutik.com{$path}img/{$sale->id}/liston_{$cookie->id_lang}.jpg') no-repeat;"
class="modalbox {if $sales_index > 4}{if ($sales_index + 2) % 3 == 0}first{/if}{else}{if ($sales_index) % 2 == 0}first{/if}{/if}"
{if $cookie->isLogged() OR $showtoguests}
onclick="window.location.href='{$link->getCategoryLink($sale->id_category, $sale->alias[$cookie->id_lang])|escape:'htmlall':'UTF-8'}';"
@ -215,7 +215,7 @@
{l s='To' mod='privatesales'} {$sale->date_end|date_format:'%d/%m'}
</div>
{*<a class="button_small" href="{$base_dir_ssl}{if $rewriting}{$base_url}/{$sale->id}-{$sale->title[$lang]|str2url}{else}modules/privatesales/trailer.php?id_sale={$sale->id}{/if}">{l s='Trailer' mod='privatesales'}</a>*}
<a href="http://www.facebook.com/sharer.php?u={$base_dir_ssl}{if $rewriting}{$base_url}/{$sale->id}-{$sale->title[$cookie->id_lang]|str2url}{else}modules/privatesales/trailer.php%3Fid_sale={$sale->id}{/if}&t={$sale->title[$cookie->id_lang]|rawurlencode}%20{l s='on' mod='privatesales'}%20{$shop_name|rawurlencode}" class="pop fbshare">{l s='Share on Facebook' mod='privatesales'}</a>
<a href="https://www.facebook.com/sharer.php?u={$base_dir_ssl}{if $rewriting}{$base_url}/{$sale->id}-{$sale->title[$cookie->id_lang]|str2url}{else}modules/privatesales/trailer.php%3Fid_sale={$sale->id}{/if}&t={$sale->title[$cookie->id_lang]|rawurlencode}%20{l s='on' mod='privatesales'}%20{$shop_name|rawurlencode}" class="pop fbshare">{l s='Share on Facebook' mod='privatesales'}</a>
<a href="https://twitter.com/share?url={$base_dir_ssl}{if $rewriting}{$base_url}/{$sale->id}-{$sale->title[$cookie->id_lang]|str2url}{else}modules/privatesales/trailer.php%3Fid_sale={$sale->id}{/if}" class="pop twshare">{l s='Tweet this page' mod='privatesales'}</a>
<a href="{$base_dir_ssl}modules/advsendtoafriend/sendtoafriend-form.php?id_sale={$sale->id}" class="pop mailshare">{l s='Send to a friend' mod='privatesales'}</a>
<a class="enter" href="{$link->getCategoryLink($sale->id_category, $sale->alias[$cookie->id_lang])|escape:'htmlall':'UTF-8'}">{l s='View the sale' mod='privatesales'}</a>
@ -240,9 +240,9 @@
</div>
<div class="fb_block">
{if $cookie->id_lang == 2}
<iframe src="http://www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fbebeboutik&amp;width=271&amp;height=62&amp;colorscheme=light&amp;show_faces=false&amp;border_color&amp;stream=false&amp;header=false" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:271px; height:62px;" allowTransparency="true"></iframe>
<iframe src="https://www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fbebeboutik&amp;width=271&amp;height=62&amp;colorscheme=light&amp;show_faces=false&amp;border_color&amp;stream=false&amp;header=false" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:271px; height:62px;" allowTransparency="true"></iframe>
{elseif $cookie->id_lang == 3}
<iframe src="http://www.facebook.com/plugins/likebox.php?href=https://www.facebook.com/Beb%C3%A9-Boutik-ES-703873103075174/&amp;width=271&amp;height=62&amp;colorscheme=light&amp;show_faces=false&amp;border_color&amp;stream=false&amp;header=false" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:271px; height:62px;" allowTransparency="true"></iframe>
<iframe src="https://www.facebook.com/plugins/likebox.php?href=https://www.facebook.com/Beb%C3%A9-Boutik-ES-703873103075174/&amp;width=271&amp;height=62&amp;colorscheme=light&amp;show_faces=false&amp;border_color&amp;stream=false&amp;header=false" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:271px; height:62px;" allowTransparency="true"></iframe>
{/if}
</div>
</li>
@ -265,7 +265,7 @@
<ul>{strip}
{foreach $futuresales as $sale name=futuresales}
{if count(array_intersect($customer_groups, $sale->groups))>0}
<li{if $smarty.foreach.futuresales.index % 3 == 0} class="first"{/if} style="background:url('http://static.bebeboutik.com{$path}img/{$sale->id}/listoff_{$cookie->id_lang}.jpg') no-repeat;"
<li{if $smarty.foreach.futuresales.index % 3 == 0} class="first"{/if} style="background:url('https://static.bebeboutik.com{$path}img/{$sale->id}/listoff_{$cookie->id_lang}.jpg') no-repeat;"
{if $cookie->isLogged() && in_array('2', $customer_groups)}
onclick="window.location.href='{$link->getCategoryLink($sale->id_category, $sale->alias[$cookie->id_lang])|escape:'htmlall':'UTF-8'}';"
{/if}>
@ -289,7 +289,7 @@
</div>
{* <div class="actions">
<a href="http://www.facebook.com/sharer.php?u={$base_dir_ssl}{if $rewriting}{$base_url}/{$sale->id}-{$sale->title[$cookie->id_lang]|str2url}{else}modules/privatesales/trailer.php%3Fid_sale={$sale->id}{/if}&t={$sale->title[$cookie->id_lang]|rawurlencode}%20{l s='on' mod='privatesales'}%20{$shop_name|rawurlencode}" class="pop fbshare">{l s='Share on Facebook' mod='privatesales'}</a>
<a href="https://www.facebook.com/sharer.php?u={$base_dir_ssl}{if $rewriting}{$base_url}/{$sale->id}-{$sale->title[$cookie->id_lang]|str2url}{else}modules/privatesales/trailer.php%3Fid_sale={$sale->id}{/if}&t={$sale->title[$cookie->id_lang]|rawurlencode}%20{l s='on' mod='privatesales'}%20{$shop_name|rawurlencode}" class="pop fbshare">{l s='Share on Facebook' mod='privatesales'}</a>
<a href="https://twitter.com/share?url={$base_dir_ssl}{if $rewriting}{$base_url}/{$sale->id}-{$sale->title[$cookie->id_lang]|str2url}{else}modules/privatesales/trailer.php%3Fid_sale={$sale->id}{/if}" class="pop twshare">{l s='Tweet this page' mod='privatesales'}</a>
<a href="{$base_dir_ssl}modules/advsendtoafriend/sendtoafriend-form.php?id_sale={$sale->id}" class="pop mailshare">{l s='Send to a friend' mod='privatesales'}</a>
<a class="button_small" href="{$base_dir_ssl}{if $rewriting}{$base_url}/{$sale->id}-{$sale->title[$cookie->id_lang]|str2url}{else}modules/privatesales/trailer.php?id_sale={$sale->id}{/if}">{l s='Trailer' mod='privatesales'}</a>
@ -301,7 +301,7 @@
<div class="date">
{l s='From 1' mod='privatesales'} {$sale->date_start|date_format:'%e/%m'} {l s='on 1' mod='privatesales'} {$sale->date_start|date_format:'%H:%M'}
</div>
<a href="http://www.facebook.com/sharer.php?u={$base_dir_ssl}{if $rewriting}{$base_url}/{$sale->id}-{$sale->title[$cookie->id_lang]|str2url}{else}modules/privatesales/trailer.php%3Fid_sale={$sale->id}{/if}&t={$sale->title[$cookie->id_lang]|rawurlencode}%20{l s='on' mod='privatesales'}%20{$shop_name|rawurlencode}" class="pop fbshare">{l s='Share on Facebook' mod='privatesales'}</a>
<a href="https://www.facebook.com/sharer.php?u={$base_dir_ssl}{if $rewriting}{$base_url}/{$sale->id}-{$sale->title[$cookie->id_lang]|str2url}{else}modules/privatesales/trailer.php%3Fid_sale={$sale->id}{/if}&t={$sale->title[$cookie->id_lang]|rawurlencode}%20{l s='on' mod='privatesales'}%20{$shop_name|rawurlencode}" class="pop fbshare">{l s='Share on Facebook' mod='privatesales'}</a>
<a href="https://twitter.com/share?url={$base_dir_ssl}{if $rewriting}{$base_url}/{$sale->id}-{$sale->title[$cookie->id_lang]|str2url}{else}modules/privatesales/trailer.php%3Fid_sale={$sale->id}{/if}" class="pop twshare">{l s='Tweet this page' mod='privatesales'}</a>
<a href="{$base_dir_ssl}modules/advsendtoafriend/sendtoafriend-form.php?id_sale={$sale->id}" class="pop mailshare">{l s='Send to a friend' mod='privatesales'}</a>
{* <a class="enter" href="{$link->getCategoryLink($sale->id_category, $sale->alias[$cookie->id_lang])|escape:'htmlall':'UTF-8'}">{l s='View the sale' mod='privatesales'}</a>*}

View File

@ -19,7 +19,7 @@
{foreach from=$child.sales item=sale}
<li>
<a class="link_sale" href="{$link->getCategoryLink($sale.id_category, $sale.link_rewrite)|escape:'htmlall':'UTF-8'}">
<img class="thumb_menu" height="50px" src="http://static3.bebeboutik.com{$sale.img}" alt="">
<img class="thumb_menu" height="50px" src="https://static3.bebeboutik.com{$sale.img}" alt="">
{$sale.name}</a>
</li>
{/foreach}