首页调用的筛选,筛选条件如何获取 后边的参数?
<ul>
{php $field = dr_field_options(9);}
{loop $field $v $name}
<li class="{if dr_is_double_search($params.zhizr, $value)} color_f00 {else}{/if}"><a target="_blank" href="{Router::search_url($params, 'zhizr', $value,'news')}">{$name}</a></li>
{/loop}
</ul>目前首页生成的链接是:
/index.php?s=news&c=search
搜索页这种的用什么函数自动获取?
/index.php?s=news&c=search&catid=1&zhizr=1 需要获取这块 &catid=1&zhizr=1
目前链接跳转实现是这么写的
{Router::search_url($params, 'zhizr', $value,'news')}&catid=1&zhizr={$key+1}
{Router::search_url($params, 'zhizr', $value,'news')}首页的参数链接显示的是这样的首页获取以下字段参数的点击链接 怎样获取?
{Router::search_url($params, ['zhizr', 'catid'], [$value, 1],'news')}理论上跟search.html写法一致的xmzt {Router::search_url($params, ['xmzt', 'catid'], [$value, 1],'news')}目前就剩字段这块还没显示了{Router::search_url($params, ['xmzt', 'catid'], [2222222, 1],'news')}这种搜索{Router::search_url($params, ['xmzt', 'catid'], [2222222, 1],'news')}这种生成什么地址