在不所有的header.htm
找複製程式
<!--{if $allowsearch || $qihoo_status}-->| <a href="search.php">{lang search}</a> <!--{/if}-->
改做複製程式
<!--{if $allowsearch || $qihoo_status}-->| <span id="searchbox"onmouseover="showMenu(this.id)"><a href="search.php">{lang search}</a><img alt="" title="" src="{IM無法使用之字串R}/jsmenu.gif" border="0"></span>
<div class="headermenu_popup" id="searchbox_menu" style="display: none; z-index: 100">
<table cellpadding="4" cellspacing="0" border="0">
<tr><td class="popupmenu_option"><form method="post" action="search.php?searchsubmit=yes" ><input type="hidden" name="searchsubmit" value="yes">
<input type="text" name="srchtxt" value="在此輸入關鍵字" size="20" class="input" onmouseover="this.focus();this.value=''this.onmouseover=null;" onfocus="this.select()">
<input name="searchsubmit" class="button" type="submit" value="{lang search}">
</form>
</table>
</div>
<!--{/if}-->
完成