{php} $mac_cf_obj = isset($obj) && is_array($obj) ? $obj : []; $mac_cf_mid = isset($mac_cf_obj['type_mid']) ? (int)$mac_cf_obj['type_mid'] : 1; $mac_cf_tid = (int)($mac_cf_obj['type_id'] ?? 0); $mac_cf_pid = (int)($mac_cf_obj['type_pid'] ?? 0); $mac_filter_subtype_parent = ($mac_cf_pid > 0) ? $mac_cf_pid : $mac_cf_tid; $mac_filter_subtype_mid = $mac_cf_mid; $mac_cf_primary_f = ($mac_cf_mid === 2) ? 'class' : 'area'; $mac_catalog_filter_config = [ 'mid' => $mac_cf_mid, 'scopeParentId' => $mac_filter_subtype_parent, 'listTypeId' => $mac_cf_tid, 'isParentTypePage' => $mac_cf_pid === 0, ]; {/php} {include file="ads/ads_icon1"}
分类

{maccms:type parent="'.$mac_filter_subtype_parent.'" mid="'.$mac_filter_subtype_mid.'" order="asc" by="sort" id="vo_subtype" key="k_subtype"}
{/maccms:type}

{if condition="strpos(($tplconfig['theme']['show']['filter'] ?? 'c'),'c') !== false"}
{if condition="$mac_cf_mid eq 2"}类型{else/}地区{/if}

{/if} {if condition="$mac_cf_mid neq 2 && strpos(($tplconfig['theme']['show']['filter'] ?? 'd'),'d') !== false"}
年份

{/if} {if condition="strpos(($tplconfig['theme']['show']['filter'] ?? 'e'),'e') !== false"}
字母

{maccms:foreach name=":explode(',','A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,0-9')" id="vo2" key="key2"}
{/maccms:foreach}

{/if}