{extend name="$base" /} {block name="resources"}
{/block} {block name="main"} {php} $discounts_adv = api('System.Shop.advDetail', ['ap_keyword' => 'WAP_DISCOUNT_SWIPER', 'export_type' => 'data']); {/php}
{notempty name="$discounts_adv['data']"}
{foreach name="$discounts_adv['data']['advs']" item="vo"}
{if is_url($vo['adv_url'])} {else/} {/if}
{/foreach}
{/notempty}

{/block} {block name="footer"}{/block} {block name="script"}
{/block}