<form action="{dede:field name='phpurl'/}/search.php" name="formsearch"><div class="form"><input type="hidden" name="kwtype" value="0" /> <input type="hidden" name="searchtype" value="titlekeyword" /> <input name="keyword" type="text" id="search-keyword" /> <select name="typeid" id="typeid"> <option value="0" selected="selected">全部欄目</option> {dede:channelartlist typeid='top' } {dede:type} <option value="[field:id/]">[field:typename/]</option>{/dede:type} {dede:channel type='son' noself='yes'} <option value="[field:id/]">-[field:typename/]</option> {/dede:channel} {/dede:channelartlist} </select><button type="submit">搜索</button> </div></form>
版權(quán)聲明: 本站資源均來(lái)自互聯(lián)網(wǎng)或會(huì)員發(fā)布,如果侵犯了您的權(quán)益請(qǐng)與我們聯(lián)系,我們將在24小時(shí)內(nèi)刪除!謝謝!
轉(zhuǎn)載請(qǐng)注明: 織夢(mèng)dedeCMS實(shí)現(xiàn)按欄目分類(lèi)進(jìn)行搜索