五指cms筛选功能的实现
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了五指cms筛选功能的实现相关的知识,希望对你有一定的参考价值。
筛选功能的实现:
$_POST[‘page_urlrule‘] = ‘tuan-{$pinpai}-{$renqun}-{$type}-{$price}-{$area}-{$tese}-{$st}-{$asc}-{$page}.html‘;
$page_fields = array();
$page_fields[‘pinpai‘] = 2;
$page_fields[‘renqun‘] = 3;
$page_fields[‘type‘] = 4;
$page_fields[‘price‘] = ‘100_200‘;
$page_fields[‘area‘] = 5;
$page_fields[‘tese‘] = ‘1_2_3‘;
$page_fields[‘st‘] = ‘6‘;
$page_fields[‘asc‘] = 0;
echo _pageurl($_POST[‘page_urlrule‘],2,$page_fields);
echo "<br>";
$_POST[‘page_fields‘] = $page_fields;
echo filter(‘pinpai‘,‘88‘);
echo "<br>";
echo filter(‘renqun‘,‘55‘);
以上是关于五指cms筛选功能的实现的主要内容,如果未能解决你的问题,请参考以下文章