function showfiltervalues($filter_array, $count_filter_array, $params)
 {
     $output = "";
     $column = $this->column;
     $path = $this->path;
     $list = "";
     $counter = 0;
     $extra = "";
     $links = "";
     $links = $this->generatelink($this->items);
     if (!empty($filter_array)) {
         if ($column == 'make') {
             $all_makes = array('CHEVROLET', 'GMC', 'FORD', 'DODGE', 'TOYOTA', 'NISSAN', 'HONDA', 'JEEP', 'HYUNDAI', 'CHRYSLER', 'INFINITI', 'LEXUS');
             //$temp_arr =  array_diff($filter_array,$all_makes); // commented as need to show the abpve makes with all other makes also
             $temp_arr = $filter_array;
             $srch_str = "";
             if (isset($_REQUEST['abtesting']) && $_REQUEST['abtesting'] != "") {
                 $srch_str = "a-b-testing/" . MakeURLSafe(strtolower($_REQUEST['abtesting']));
             } else {
                 if (isset($GLOBALS['ISC_SRCH_CATG_NAME']) && !isset($this->items['category'])) {
                     $srch_str = MakeURLSafe(strtolower($GLOBALS['ISC_SRCH_CATG_NAME']));
                 } else {
                     if (isset($GLOBALS['ISC_SRCH_BRAND_NAME'])) {
                         $srch_str = MakeURLSafe(strtolower($GLOBALS['ISC_SRCH_BRAND_NAME']));
                     }
                 }
             }
             $ymm_link = $this->leftnavigationlink($srch_str, $links, $column, $params);
             foreach ($all_makes as $key => $value) {
                 $counter++;
                 // here applied the counter++ seperately as we are avoiding all & universal fit many vehicles.
                 if ($srch_str == "" && preg_match('/%s/', $ymm_link)) {
                     $ymm_link = sprintf($ymm_link, $value);
                 }
                 $list_val = "<li><a href='" . $ymm_link . MakeURLSafe(strtolower($value)) . "'>{$value}</a></li>";
                 if ($counter < 13) {
                     $list .= $list_val;
                 } else {
                     $extra .= $list_val;
                 }
             }
             if (count($temp_arr) > 0) {
                 foreach ($temp_arr as $key => $value) {
                     if (strtoupper($value) != "NON-SPEC VEHICLE" && strtolower($value) != "all") {
                         $counter++;
                         // here applied the counter++ seperately as we are avoiding all & universal fit many vehicles.
                         if ($srch_str == "" && preg_match('/%s/', $ymm_link)) {
                             $ymm_link = sprintf($ymm_link, $value);
                         }
                         $list_val = "<li><a href='" . $ymm_link . MakeURLSafe(strtolower($value)) . "'>{$value}</a></li>";
                         if ($counter < 13) {
                             $list .= $list_val;
                         } else {
                             $extra .= $list_val;
                         }
                     }
                 }
             }
         } else {
             $srch_str = "";
             if ($_REQUEST['abtesting'] && $_REQUEST['abtesting'] != "") {
                 $srch_str = "a-b-testing/" . MakeURLSafe(strtolower($_REQUEST['abtesting']));
             } else {
                 if (isset($GLOBALS['ISC_SRCH_CATG_NAME']) && !isset($this->items['category'])) {
                     $srch_str = MakeURLSafe(strtolower($GLOBALS['ISC_SRCH_CATG_NAME']));
                 } else {
                     if (isset($GLOBALS['ISC_SRCH_BRAND_NAME']) && $column != 'prodbrandid') {
                         $srch_str = MakeURLSafe(strtolower($GLOBALS['ISC_SRCH_BRAND_NAME']));
                     }
                 }
             }
             $ymm_link = $this->leftnavigationlink($srch_str, $links, $column, $params);
             foreach ($filter_array as $key => $value) {
                 if ($column == 'prodbrandid') {
                     if (empty($params['search_query'])) {
                         $srch_str = urlencode($value);
                     } else {
                         $srch_str = $params['search_query'];
                     }
                     $counter++;
                     // here applied the counter++ seperately as we are avoiding all & universal fit many vehicles.
                     //$column = 'brand';
                     if (!isset($GLOBALS['ISC_SRCH_CATG_NAME'])) {
                         if ($GLOBALS['EnableSEOUrls'] == 1) {
                             $list_val = "<li><a href='" . $this->path . "/" . MakeURLSafe(strtolower($value));
                             if ($links != "") {
                                 $list_val .= "/{$links}";
                             }
                             $list_val .= "'>{$value}  (" . $count_filter_array[$value] . ")</a></li>";
                         } else {
                             $list_val = "<li><a href='" . $this->path . "/search.php?search_query={$value}" . $links . "'>{$value}  (" . $count_filter_array[$value] . ")</a></li>";
                         }
                     } else {
                         $list_val = "<li><a href='{$ymm_link}" . MakeURLSafe(strtolower($value)) . "'>{$value} (" . $count_filter_array[$value] . ")</a></li>";
                     }
                     if ($counter < 11) {
                         $list .= $list_val;
                     } else {
                         $extra .= $list_val;
                     }
                 } else {
                     if ($column == 'model' || $column == 'submodel' || $column == 'year') {
                         //echo "<li><a href='$path/search.php?search_query=".$value."$links&$column=".urlencode($value)."'>$value</a> (".$count_filter_array[$value].")</li>"; // commented for backup
                         if (strtoupper($value) != "NON-SPEC VEHICLE" && strtolower($value) != "all") {
                             $counter++;
                             // here applied the counter++ seperately as we are avoiding all & universal fit many vehicles.
                             $ymm_new_link = $ymm_link;
                             if ($srch_str == "" && preg_match('/%s/', $ymm_link)) {
                                 if (isset($params['make'])) {
                                     $ymm_new_link = sprintf($ymm_link, $params['make']);
                                 } else {
                                     $ymm_new_link = sprintf($ymm_link, $value);
                                 }
                             }
                             $list_val = "<li><a href='" . $ymm_new_link . MakeURLSafe(strtolower($value)) . "'>{$value}</a></li>";
                             if ($counter < 11) {
                                 $list .= $list_val;
                             } else {
                                 $extra .= $list_val;
                             }
                         }
                     } else {
                         $counter++;
                         // here applied the counter++ seperately as we are avoiding all & universal fit many vehicles.
                         $list_val = "<li><a href='{$ymm_link}" . MakeURLSafe(strtolower($value)) . "'>{$value} (" . $count_filter_array[$value] . ")</a></li>";
                         if ($counter < 11) {
                             $list .= $list_val;
                         } else {
                             $extra .= $list_val;
                         }
                     }
                 }
             }
             if ($counter == 0) {
                 $list .= "<li>No options available</li>";
             }
         }
     } else {
         $list .= "<li>No options available</li>";
     }
     if ($counter >= 11) {
         $GLOBALS['FilterID'] = $column;
         $GLOBALS['ExtraValues'] = $extra;
         $output .= "<ul>" . $list . "</ul>";
         $output .= $GLOBALS['ISC_CLASS_TEMPLATE']->GetSnippet("SideFilterMoreLink");
     } else {
         $output .= "<ul>" . $list . "</ul>";
     }
     try {
         $ymm_tmp_column = isset($_GET['column']) ? MakeURLSafe($_GET['column']) : "";
         $ymm_tmp_year = isset($_GET['year']) ? MakeURLSafe($_GET['year']) : "";
         $ymm_tmp_make = isset($_GET['make']) ? MakeURLSafe($_GET['make']) : "";
         $ymm_tmp_model = isset($_GET['model']) ? MakeURLSafe($_GET['model']) : "";
         $fn = 'column=' . $ymm_tmp_column . '_year=' . $ymm_tmp_year . '_make=' . $ymm_tmp_make . '_model=' . $ymm_tmp_model;
         $fc = new file_cache($fn);
         $fc->save_cache($output);
     } catch (Exception $e) {
         return $e->getMessage();
     }
     return $output;
 }