In the config file, right before:
Code:
// now set $template_demo to clean $template filename or empty string
Set the following:
Code:
$template = "array";
Now backup your old custom_search.php, use the original search.php, and then try out the attached file.