I found it! figures.. but I dont know what code to pull out.
here it is.
{* $Id: search_result.tpl,v 1.15 2002/06/13 11:58:02 zorg Exp $ *}
{ include file="location.tpl" last_location=$lng.lbl_search_products }
{capture name=dialog}
<table border=0>
<form name="searchform" action="search.php" method=get>
<TR>
<TD height="10" class="TableCenterCustomerForm" nowrap>{$lng.lbl_product} #</TD>
<TD width="10" height="10"></TD>
<TD height="10">
<INPUT type=text name=search_productid size=6 value="{$smarty.get.search_productid}">
</TD>
</TR>
<tr>
<td height="10" class="TableCenterCustomerForm" nowrap>{$lng.lbl_product_title}</td>
<td width="10" height="10"></td>
<td height="10">
<input type="text" name="substring" size="30" value="{$smarty.get.substring}">
</td>
</tr>
{if $usertype eq "A"}
<tr>
<td height="10" class="TableCenterCustomerForm" nowrap>{$lng.lbl_provider}</td>
<td width="10" height="10"></td>
<td height="10">
<input type="text" name="provider_substring" size="30" value="{$smarty.get.provider_substring}">
</td>
</tr>
{/if}
<tr>
<td height="10" class="TableCenterCustomerForm" nowrap>{$lng.lbl_in_category}</td>
<td width="10" height="10"><font class="TableCenterCustomerFormOrange">*</font></td>
<td height="10">
<select name="search_category">
<option value="">{$lng.lbl_all}</option>
{section name=cat_num loop=$allcategories}
<option value={$allcategories[cat_num].categoryid} {if $smarty.get.search_category eq $allcategories[cat_num].categoryid}selected{/if}>{$allcategories[cat_num].category}</option>
{/section}
</select>
</td>
</tr>
<tr>
<td width="78" class="TableCenterCustomerForm"></td>
<td width="10"></td>
<td width="282">
<input type=submit value="Search">
</td>
</tr>
</form>
</table>
{/capture}
{include file="dialog.tpl" title=$lng.lbl_search_products content=$smarty.capture.dialog extra="width=100%"}
{if $smarty.server.QUERY_STRING ne ""}
{$items_count} {$lng.lbl_products_found}
{/if}
{if $products ne ""}
{capture name=dialog}
<form action="process_product.php" method=post name=processproductform>
<INPUT type=hidden name=substring value="{$smarty.get.substring}">
<INPUT type=hidden name=search_category value="{$smarty.get.search_category}">
<INPUT type=hidden name=search_productid value="{$smarty.get.search_productid}">
{include file="main/products.tpl" products=$products}
<input type=hidden name=mode value="">
<table border=0>
<tr valign=middle>
<td><a href="javascript
:document.processproductform.mode. value='details'; document.processproductform.submit();">
{include file="buttons/details.tpl"}</a></td>
<td width=10> </td>
<td><a href="javascript
:document.processproductform.mode. value='modify'; document.processproductform.submit();">
{include file="buttons/modify.tpl"}</a></td>
<td width=10> </td>
<td><a href="javascript
:document.processproductform.mode. value='delete'; document.processproductform.submit();">
{include file="buttons/delete.tpl"}</a></td>
<td width=10> </td>
<TD>
{include file="buttons/update.tpl"}</TD>
</tr>
</table>
</form>
{/capture}
{include file="dialog.tpl" title=$lng.lbl_search_results content=$smarty.capture.dialog extra="width=100%"}
{/if}