筛选功能的实现:
$_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');
转载于:https://blog.51cto.com/wuzhicms/1787071