How to print out search results
Here's the solution:

&lt;div class="searchblock"&gt;
&lt;?php
print drupal_get_form('search_form');
?&gt;
&lt;/div&gt;

&lt;?php
$keys = arg(2);
print search_data($keys, $type = 'node');
?&gt;
&lt;/div&gt;