dedecms搜索框制作

时间:2022-06-04 22:59:18
<form method="post" action="{dede:global.cfg_basehost/}/plus/search.php" name="formsearch" class="search"><input type="hidden" value="www.dedecms.com" name="domains"><input type="hidden" value="" name="kwtype">
<table width="100%" height="100%" border="" cellspacing="" cellpadding="">
<tr>
<td width=""> </td>
<td width="" valign="middle"><input class="keywords" name="q" type="text" id="search" value="请输入搜索内容...">
<input type="hidden" value="titlekeyword" name="searchtype" >
</td>
<td width=""> </td>
<td> <button type="submit" class="submit"></button> </td>
</tr>
</table>
</form>