search.php now strictly php code using templator