getCategory(1); if ($_type == 'parent') { $_parent = $_category->getParents($_catlist, $_typeid); $_typeid = $_parent[0]['id']; } $type = $_category->getOneCategory($_typeid); $type = $_category->getCategoryArea($type); $type = update_str_dq($type, session('sys_areainfo')); ?>