[4] ErrorException in 3157a8ca142d1fc8dd3688eaa9e95307.php line 349

语法错误: unexpected ' '

  1. if($_cid == 0 || $_type == 'top') {
  2. $_catlist = $_category->unlimitedForLayer($_catlist);
  3. }else {
  4. if ($_type == 'self') {
  5. //同级分类
  6. $_typeinfo = $_category->getSelf($_catlist, $_cid );
  7. $_catlist = $_category->unlimitedForLayer($_catlist, 'child', $_typeinfo['pid']);
  8. }else {
  9. //son,子类列表
  10. $_catlist = $_category->unlimitedForLayer($_catlist, 'child', $_cid);
  11. }
  12. }
  13. }
  14. $_limit_list = explode(',', $_limit);
  15. foreach($_catlist as $autoindex => $catlist):
  16. if(count($_limit_list) > 1){
  17. if(($autoindex < $_limit_list[0]) || ($autoindex > $_limit_list[1])) continue;