<!--{if $_G['setting']['search']}--> <!--{eval $slist = array();}--> <!--{block slist[user]}--><li><a href="javascript:;" rel="user">{lang users}</a></li><!--{/block}--> <!--{/if}--> <!--{if $_G['setting']['search'] && $slist}--> <div id="" class="{if $_G['setting']['srchhotkeywords'] && count($_G['setting']['srchhotkeywords']) > 5}scbar_narrow {/if}cl"> <form id="scbar_form" method="{if $_G[fid] && !empty($searchparams[url])}get{else}post{/if}" autocomplete="off" onsubmit="searchFocus($('scbar_txt'))" action="{if $_G[fid] && !empty($searchparams[url])}$searchparams[url]{else}search.php?searchsubmit=yes{/if}" target="_blank""> <input type="hidden" name="mod" id="scbar_mod" value="forum" /> <input type="hidden" name="formhash" value="{FORMHASH}" /> <input type="hidden" name="srchtype" value="title" /> <input type="hidden" name="srhfid" value="$_G[fid]" /> <input type="hidden" name="srhlocality" value="$_G['basescript']::{CURMODULE}" /> <!--{if !empty($searchparams[params])}--> <!--{loop $searchparams[params] $key $value}--> <!--{eval $srchotquery .= '&' . $key . '=' . rawurlencode($value);}--> <input type="hidden" name="$key" value="$value" /> <!--{/loop}--> <input type="hidden" name="source" value="discuz" /> <input type="hidden" name="fId" id="srchFId" value="$_G[fid]" /> <input type="hidden" name="q" id="cloudsearchquery" value="" /> <!--{/if}--> <div class="form-group"> <input type="text" name="srchtxt" id="s" autocomplete="off" x-webkit-speech speech placeholder="搜索…" class="form-control"/> </div> </form> </div> <!--{/if}--> |
版權(quán)聲明: 本站資源均來(lái)自互聯(lián)網(wǎng)或會(huì)員發(fā)布,如果侵犯了您的權(quán)益請(qǐng)與我們聯(lián)系,我們將在24小時(shí)內(nèi)刪除!謝謝!
轉(zhuǎn)載請(qǐng)注明: discuz x3.2簡(jiǎn)化的搜索框代碼