当前位置: 首页 > 工具软件 > 五指CMS > 使用案例 >

五指cms筛选功能的实现:

邢承弼
2023-12-01
筛选功能的实现:

$_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://www.cnblogs.com/wuzhicms/p/5567842.html

 类似资料: