Location: PHPKode > scripts > Multi Search Module > multi-search-module/search_block.php
<?php
/**
 * search_block - shows the block on the page and sets up some javascript
 *
 * @author Edward Ritter <hide@address.com>
 * @module search_block
 * @package phpWebSite
 * @version $Id: search_block.php,v 1.3 2002/09/06 06:09:26 esritter Exp $
 */
?>

<script type="text/javascript">

function open_search_result ( query,engine ) {
    var url = 'mod.php?mod=search&op=show_result&query=' + query + '&engine=' + engine ;
    if (query)
	msgWindow=window.open(url,"SearchResults","menubar=no,scrollbars=yes,resizable=yes,status=yes,width=700,height=400") ;
}
</script>

<?php
include_once ("./mod/$plug_dir/search.inc.php");
$searchbox = new search_box;
$box_content = $searchbox->show_block();
?>
Return current item: Multi Search Module