Can Someone plz gimme the code for the searchbox like vbteam in the homepage ??

Astra-Rudra

New Member
Can Someone plz gimme the code for the searchbox like vbteam in the homepage ?? i mean the one to logout's right in the header
 
i am not advance user of templates but try this code



PHP:
<br />
<br />
<center>
<table>	
	<div class="vbmenu_popup" id="navbar_search_menu" style="display:none">
		<table cellpadding="4" cellspacing="1" border="0">
		<tr>
			<td class="thead">$vbphrase[search_forums]</td>
		</tr>
		<tr>
			<td class="vbmenu_option" title="nohilite">
			<form action="search.php" method="post">
				<input type="hidden" name="do" value="process" />
				<input type="hidden" name="showposts" value="0" />
				<input type="hidden" name="quicksearch" value="1" />
				<input type="hidden" name="s" value="$session[sessionhash]" />
				<input type="text" class="bginput" name="query" size="20" />$gobutton<br />
			</form>
			</td>
		</tr>
		<tr>
			<td class="vbmenu_option"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td>
		</tr>
		</table>
	</div>

</center>
 
Thanks for the tip .. i made it perfect like it is, here it is
PHP:
            <form action="search.php" method="post"> 
                 <input type="hidden" name="s" value="$session[sessionhash]" />
                 <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
                 <input type="hidden" name="do" value="process" />
                 <input type="hidden" name="showposts" value="0" /> 
                 <input type="hidden" name="quicksearch" value="1" />
                  <input name="query" type="text" class="search-style" id="searchq" size="20" value="To search, just type and hit enter." onfocus="value='';"/> 
            </form>
 
Back
Top