[4] ErrorException in 3157a8ca142d1fc8dd3688eaa9e95307.php line 307

语法错误: unexpected '='

  1. <?php endif; ?>
  2. <div class="main container">
  3. <div class="center">
  4. <div class="main_l fl" id="main_l">
  5. <p>
  6. <span><?php
  7. $_type = "parent";
  8. $_typeid = intval($category['id']);
  9. $_category = new app\index\model\CategoryModel();
  10. $_catlist = $_category->getCategory(1);
  11. if ($_type == 'parent') {
  12. $_parent = $_category->getParents($_catlist, $_typeid);
  13. $_typeid = $_parent[0]['id'];
  14. }
  15. $type = $_category->getOneCategory($_typeid);
  16. $type['url'] = $_category->getCategoryUrl($type);
  17. $type = update_str_dq($type, config('sys.sys_area'));