{include file="components/header"}
{php} $ui_about_history = uiId('about_history'); $seller_id = (int)($seller_id ?? 1); $history_items = getContentByCategory($ui_about_history, $seller_id, 9999, 'sort desc', []); if (!is_array($history_items)) { $history_items = []; } usort($history_items, function ($a, $b) { return (int)($b['sub_title'] ?? 0) - (int)($a['sub_title'] ?? 0); }); foreach ($history_items as &$history_item) { if (!empty($history_item['content'])) { $history_item['content'] = htmlspecialchars_decode($history_item['content']); } } unset($history_item); {/php}
{volist name="history_items" id="item"} {php}$year = trim((string)($item['sub_title'] ?? ''));{/php} {if $year !== ''}
{$item.content|raw}
{/if} {/volist}
{include file="components/mask"} {include file="components/footer"}