Home > php教程 > PHP源码 > ShopNC 简易品牌导航

ShopNC 简易品牌导航

PHP中文网
Release: 2016-05-23 16:38:44
Original
1215 people have browsed it


file: home_layout.php
Copy after login

2. [代码]简易品牌导航

首页 '服饰鞋帽',
			'brand_apply' => 1,
			'brand_recommend' => 1
		);
		$rows = $model_brand->where($map_brand)->select();
		
		foreach($rows as $key => $val) {
                        // 处理中英文字符
			preg_match_all('/[\x{4E00}-\x{9FBF}]*|[a-zA-Z\s]*/u',trim($val['brand_name']),$data);  
			
	?>" style="color:#eee" _href="/shop/index.php?act=search&op=index&keyword=">
Copy after login


Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template