欢迎来到深圳市宏旺玻璃有限公司官网!

全国定制热线:

0755-27930535

深圳市宏旺玻璃有限公司

赤城产品展示

新闻资讯

联系我们

联系人: 刘先生

手机: 13590328841

电话: 0755-27930535

邮箱: gdszglass@163.com

地址: 深圳市宝安区西乡镇簕竹角村第六工业区E栋

返回顶部

$_block = db('block')->where("title='".'tel'."'")->find(); $_block = update_str_dq($_block, session('sys_areainfo')); $_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\wap\model\CategoryModel(); $_category = $_catemodel->getOneCategory(substr($_blockurl, 1)); if ($_category) { $_blockurl = $_catemodel->getCategoryUrl($_category); } } $_block_content= "".$_block_content.""; } } echo $_block_content; ?>

扫一扫关注