您的浏览器版本过低,为保证更佳的浏览体验,请点击更新高版本浏览器
以后再说X政采云代办,代办政采云入驻,代办政采云供应商注册,政府采购网,公采易 hp $_block = db('block')->where("title='".'head_text1'."'")->find(); $_block = update_str_dq($_block, config('sys.sys_area')); $_block_content = ''; if ($_block) { if ($_block['type'] == 2) { if (!0) { $_block_content = ''; }else { $_block_content = $_block['content']; } }else { if(0) { $_block_content = str2sub(strip_tags($_block['content']), 0, 0);//清除html再截取 }else { $_block_content = $_block['content']; } } $_blockurl = ''; if ($_block['url']) { $_blockurl = $_block['url']; if (substr($_blockurl, 0,1) == '@') { $_catemodel = new app\index\model\CategoryModel(); $_category = $_catemodel->getOneCategory(substr($_blockurl, 1)); if ($_category) { $_blockurl = $_catemodel->getCategoryUrl($_category); } } $_block_content= "".$_block_content.""; } } echo $_block_content; ?>