|
|
@ -61,7 +61,10 @@ $current_cate_id = $current_cate['id'] ?? 0; |
|
|
{if !empty($sub_cates[0])} |
|
|
{if !empty($sub_cates[0])} |
|
|
<section class="sl2-hero"> |
|
|
<section class="sl2-hero"> |
|
|
<div class="sl2-hero__intro section__wrap" data-header-dark> |
|
|
<div class="sl2-hero__intro section__wrap" data-header-dark> |
|
|
<h1 class="sl2-hero__title">{$sub_cates[0]['title'] ?? ''}</h1> |
|
|
|
|
|
|
|
|
{php} |
|
|
|
|
|
$sub_cates_tmp0 = $sub_cates[0]['title'] ?? ''; |
|
|
|
|
|
{/php} |
|
|
|
|
|
<h1 class="sl2-hero__title">{$sub_cates_tmp0|raw}</h1> |
|
|
<p class="sl2-hero__desc"> |
|
|
<p class="sl2-hero__desc"> |
|
|
{$sub_cates[0]['description'] ?? ''} |
|
|
{$sub_cates[0]['description'] ?? ''} |
|
|
</p> |
|
|
</p> |
|
|
@ -74,7 +77,7 @@ $current_cate_id = $current_cate['id'] ?? 0; |
|
|
|
|
|
|
|
|
{if !empty($sub_cates[1])} |
|
|
{if !empty($sub_cates[1])} |
|
|
<section class="sl2-adv section__wrap" id="adv" data-header-dark> |
|
|
<section class="sl2-adv section__wrap" id="adv" data-header-dark> |
|
|
<h2 class="sl2-adv__title">{$sub_cates[1]['title'] ?? ''}</h2> |
|
|
|
|
|
|
|
|
<h2 class="sl2-adv__title">{$sub_cates[1]['title'] ?? ''|raw}</h2> |
|
|
<ul class="sl2-adv__list"> |
|
|
<ul class="sl2-adv__list"> |
|
|
{php} |
|
|
{php} |
|
|
$contents = getContentByCategory($sub_cates[1]['id'], $seller_id, 6, 'sort asc', ['thumbnail', 'category']); |
|
|
$contents = getContentByCategory($sub_cates[1]['id'], $seller_id, 6, 'sort asc', ['thumbnail', 'category']); |
|
|
|