<style> .container{ width:100%; max-width:1200px;} .search_box{border:2px solid #c30404;width:100%;margin:0 auto;border-radius:5px; margin-top:5px;} .btn{background:#c30404;border:0;width:8%;height:36px;float:right; color:#FFF;} select { border-radius: 10px; background-color: #FFFFFF; border: 1px solid #E8E8E8; padding: 7px 3px; width: 20%; line-height: normal;} input{-webkit-border-radius:2px; -moz-border-radius:2px;-o-border-radius:2px;border-radius:10px; background-color: #FFFFFF; border: 1px solid #E8E8E8; padding: 7px 0px; width:70%; line-height: normal; } </style> |
<article class="container"> <form action="{dede:field name='phpurl'/}/search.php" name="formsearch"> <p class="search_box"> <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='1'>全部欄目</option> {dede:channelartlist typeid='top' typeid=1,2,3,4,5} {dede:type} <option value='[field:id/]'>[field:typename/]</option>{/dede:type} {/dede:channelartlist} </select> <button type="submit" class="btn">搜索</button> </p> </form> </p> </article> |
<article class="container"> <form action="{dede:field name='phpurl'/}/search.php" name="formsearch"> <p class="search_box"> <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='1'>全部欄目</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" class="btn">搜索</button> </p> </form> </p> </article> |
版權(quán)聲明: 本站資源均來自互聯(lián)網(wǎng)或會員發(fā)布,如果侵犯了您的權(quán)益請與我們聯(lián)系,我們將在24小時內(nèi)刪除!謝謝!
轉(zhuǎn)載請注明: dedecms織夢按照欄目分類進行搜索