[4] ErrorException in 3157a8ca142d1fc8dd3688eaa9e95307.php line 240

语法错误: unexpected '}'

  1. if (substr($_blockurl, 0,1) == '@') {
  2. $_catemodel = new app\index\model\CategoryModel();
  3. $_category = $_catemodel->getOneCategory(substr($_blockurl, 1));
  4. if ($_category) {
  5. $_blockurl = $_catemodel->getCategoryUrl($_category);
  6. }
  7. }
  8. $_block_content= "<a href='".$_blockurl."' target='_blank'>".$_block_content."</a>";
  9. }
  10. }
  11. echo $_block_content;
  12. ?>
  13. </div>
  14. <script type="text/javascript">
  15. $(document).ready(function(){
  16. $('#banner').roll({
  17. height: 550,
  18. banner: true,
  19. btn: true,