Srv Bebeboutik 340bc7c146 push site
2016-01-04 12:48:08 +01:00

21 lines
1.2 KiB
Smarty
Executable File

<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title><![CDATA[{l s='Upcoming sales on' mod='privatesales' js=1} {$shop_name|escape:html:'UTF-8'}]]></title>
<link href="{$shop_url}" />
<updated>{$date}</updated>
<author>
<name>{$base_dir_ssl}</name>
</author>
<id>{$base_dir_ssl}{if $rewriting}{$feed_url}{else}modules/privatesales/feed.php{/if}?format={$format}&amp;id_lang={$lang}</id>
{foreach $sales as $sale}
<entry>
<title><![CDATA[{$sale->title[$lang]|escape:html:'UTF-8'}]]></title>
<link href="{$base_dir_ssl}{if $rewriting}{$base_url}/{$sale->id}-{$sale->title[$lang]|str2url}{else}modules/privatesales/trailer.php?id_sale={$sale->id}{/if}" />
<id>{$base_dir_ssl}{if $rewriting}{$base_url}/{$sale->id}-{$sale->title[$lang]|str2url}{else}modules/privatesales/trailer.php?id_sale={$sale->id}{/if}</id>
<updated>{$sale->date_upd|strtotime|date_format:'Y-m-d\TH:i:sP'}</updated>
<summary><![CDATA[{if strpos($sale->description[$cookie->id_lang], 'Ã')!==false}{$sale->description[$cookie->id_lang]|utf8_decode}{else}{$sale->description[$cookie->id_lang]}{/if}{if isset($HOOK_PRIVATESALES_LISTING_ITEM[$sale->id])}{$HOOK_PRIVATESALES_LISTING_ITEM[$sale->id]}{/if}]]></summary>
</entry>
{/foreach}
</feed>