五指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');
posted @ 2016-06-07 18:06  赵宏伟  阅读(1469)  评论(0编辑  收藏  举报