使用搜索代碼搜索內(nèi)容后,分頁(yè)出錯(cuò)。(沒有開靜態(tài)功能)

搜索代碼(前端首頁(yè)):
<form id="search_box" action="/index.php" method="get">
<input type="hidden" name="s" value="news">
<input type="hidden" name="c" value="search">
<input type="text" id="search_cl" name="keyword" class="fc-search-keyword form-control" onblur="if(this.value==''){this.value='請(qǐng)輸入關(guān)鍵字';}" onfocus="if(this.value=='請(qǐng)輸入關(guān)鍵字'){this.value='';}" value="請(qǐng)輸入關(guān)鍵字" />
<input type="image" src="{THEME_PATH}img/sousuo.png" width="30" height="30" id="search_go" alt="輸入關(guān)鍵字" />
<script>
// 這段js是用來執(zhí)行搜索的(跟原版一樣無修改)
</script>
</form>顯示頁(yè)代碼:
<div class="content-wenleftt">
<div class="wrapperr">
<div>
<div class="news-boxx"> {search module=MOD_DIR id=$searchid total=$sototal order=$params.order catid=$catid page=1 pagesize=10 urlrule=$urlrule}
<ul class="news-listt">
<li>
<div class="img-boxx"> <a target="_blank" href="{$t.url}"><img src="{dr_thumb($t.thumb)}" width="320" height="240"></a> </div>
<div class="txt-boxx">
<h33> <a target="_blank" href="{$t.url}">{$t.title}</a> </h33>
<p class="txt-infoo">{$t.description}</p>
<div class="s-pp"><a href="{dr_cat_value($t.catid, 'url')}">{dr_cat_value($t.catid, 'name')}</a> {$t.updatetime}</div>
</div>
</li>
</ul>
{/search}<div class="p-fyy">{$pages}</div>
</div>
{if !$count}
<div class="col-md-12 page-404">
<div class="number font-green"> 錯(cuò) 誤 </div>
<div class="details"> <br />
<h3>沒有找到相關(guān)內(nèi)容...</h3>
<br />
<p><a href="{SITE_URL}">返回首頁(yè)</a></p>
</div>
</div>
{/if}</div>
</div>
</div>其他頁(yè)面,如文章等,分頁(yè)
1、需要開啟偽靜態(tài)
第2步、需要些解析規(guī)則rewrite.php
開源是一種精神,但不是義務(wù),幫忙是情分,不幫也不要抱怨,建議大家多研究代碼、多閱讀代碼、多翻閱社區(qū)歷史問題!
回復(fù)迅??蚣軇?chuàng)始人
官方有參考的偽靜態(tài)規(guī)則嗎?
rewrite.php要單獨(dú)寫?放在哪個(gè)位置?
手冊(cè)有教程
xunruicsm可以自動(dòng)生成解析規(guī)則,很方便的