rendered paste body<? block_begin("Search"); print("<div id='search_block'>");global $btit_settings; ?><form action="index.php" method="get" name="torrent_search"> <input type="hidden" name="page" value="torrents" /> <table border="0" align="center"> <td><input onfocus="if (this.value == 'Torrents') this.value='';" onblur="if(this.value == '') this.value='Torrents';" type="text" name="search" size="15" maxlength="50" value="Torrents" /></td> </form> <form action="index.php" method="get" name="user_search"> <input type="hidden" name="page" value="users" /> <td><input onfocus="if (this.value == 'Users') this.value='';" onblur="if(this.value == '') this.value='Users';" type="text" name="searchtext" size="15" maxlength="50" value="Users" /></td> <input type="hidden" name="level" value="0" /> </form> <? if ($btit_settings["forum"]=="smf") { ?> <form action="forum/forum.index.php" method="post" name="forum_search"> <td><input onfocus="if (this.value == 'Forums') this.value='';" onblur="if(this.value == '') this.value='Forums';" type="text" name="search" size="15" maxlength="50" value="Forums" /></td> </form><? } elseif ($btit_settings["forum"]=="") { ?> <form action="index.php" method="get" name="xbtit_forum_search"> <input type="hidden" name="page" value="forum" /> <input type="hidden" name="action" value="search" /> <td><input onfocus="if (this.value == 'Forums') this.value='';" onblur="if(this.value == '') this.value='Forums';" type="text" name="keywords" size="15" maxlength="50" value="Forums" /></td> </form> <? } ///////////////////// IF YOU USE ANOTHER FORUM SORRY I AM NOT ADDING THE SEARCH INTERGRATION FOR THAT/////////////////?></table></div> <? block_end();?>