eyedock_search_display('parameters_lenses'); } elseif ($_POST['mode'] == 'advanced_search') { $criteria = $_POST; unset($criteria['mode']); $lenses = eyedock_get_parameters_lenses($criteria); ed_output_register('parameters_lenses', $lenses); eyedock_search_display('advanced_lenses'); } elseif ($_GET['mode'] == 'get_advanced_search') { eyedock_search_display('advanced_search'); } elseif ($_GET['mode'] == 'get_compare_lenses') { eyedock_search_display('compare_lenses'); } elseif ($_POST['mode'] == 'get_lenses_data') { $productids = $_POST['productids']; $lenses = eyedock_get_lenses($productids); ed_output_register('lenses', $lenses); eyedock_search_display('compare_lenses_display'); } elseif ($_POST['mode'] == 'search_lenses') { $str = trim(stripslashes($_POST['str'])); $lenses = eyedock_search_lenses($str); ed_output_register('lenses', $lenses); eyedock_search_display('compare_lenses_display'); } elseif ($_GET['mode'] == 'lens_detail') { $id = abs(intval($_GET['id'])); $lens = eyedock_lens_detail($id); ed_output_register('lens', $lens); eyedock_search_display('lens_detail'); } else { $companies = eyedock_get_companies(); ed_output_register('companies', $companies); eyedock_search_display('main'); }
</div></div> <div class="edas-clear"></div> <div class="edas-content"> <div class="edas-tab-content" id="edas-tab-content-1"><?php eyedock_search_display('company_search', false); ?> </div> <div class="edas-tab-content" id="edas-tab-content-2" style="display: none;"><?php eyedock_search_display('parameter_search', false); ?> </div> </div> <!-- <div class="edas-bottom" style="visibility: hidden;"><div class="edas-bottom-left"><div class="edas-bottom-right"><div class="edas-bottom-content"> <div class="edas-compare-lenses"> <span class="edas-gray-button" id="search-compare-lenses"><div class="edas-gray-button-left"><div class="edas-gray-button-right"><div class="edas-gray-button-content"><div class="edas-gray-button-content-rt"> Compare all lenses </div></div></div></div></span> </div>