1樓
大 中
小 發表於 2006-12-16 22:50
【 PHP】版面加上"搜尋本區"
這個插件的功能是 在各個版顯示單獨搜尋此區的搜尋按鈕。
簡易的作法是:打開 thread.htm 引用:尋找
<td align=left valign=bottom width=60%>$fenye </td>
將其覆蓋:
<td align=left valign=bottom width=50%>$fenye </td>
<form action='search.php?' method=post onsubmit='return chkscr()'><td>
搜尋此區:<input type=text name=keyword size=10>
<input type='submit' value='搜尋'>
<input type='hidden' name='sch_area' value='S'>
<input type='hidden' name='method' value='OR'>
<input type='hidden' name='asc' value='ASC'>
<input type='hidden' name='seekfid' value='$fid'>
</td></form> 這樣應該就可以了
|