Create an new file and name to wcddl_search.php
Paste this code into the file, save and upload to modules folder.

<?php
if(!defined("WCDDL_GUTS"))
exit;
$searchtml = '<form action="index.php" method="post">
<input type="text" name="q" value="" size="20" />
<SELECT name="type">
<OPTION selected>All</option>';
foreach($core->allowed_types as $type)
{
$searchtml.= '<OPTION value='.$type.'> '.ucfirst($type).'</option>';
}
$searchtml.= '</select>
<input type="submit" value="GO" />
</form>';
$core->setTemplateVar("search",$searchtml);
?>



Open the index.php and any other pages you have the search form.
Find
            <form action="index.php" method="post">
<input type="text" name="q" />
<input type="submit" value="Go" />
</form>

Replace
<?=$core->templateVar("search")?>