<?php /** * currencies sidebox - allows customer to select from available currencies * * @package templateSystem * @copyright Copyright 2003-2013 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0 * @version GIT: $Id: Author: DrByte Sun Feb 17 22:58:47 2013 -0500 Modified in v1.5.2 $ */ // test if box should display $show_currencies = false; // don't display on checkout page: if (substr($current_page, 0, 8) != 'checkout') { $show_currencies = true; } if ($show_currencies == true) { if (isset($currencies) && is_object($currencies)) { reset($currencies->currencies); $currencies_array = array(); while (list($key, $value) = each($currencies->currencies)) { $currencies_array[] = array('id' => $key, 'text' => $value['title']); } $hidden_get_variables = zen_post_all_get_params('currency'); require $template->get_template_dir('tpl_currencies.php', DIR_WS_TEMPLATE, $current_page_base, 'sideboxes') . '/tpl_currencies.php'; $title = '<label>' . BOX_HEADING_CURRENCIES . '</label>'; $title_link = false; require $template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base, 'common') . '/' . $column_box_default; } }
?> <div class="centerColumn" id="advSearchResultsDefault"> <h1 id="advSearchResultsDefaultHeading"><?php echo HEADING_TITLE; ?> </h1> <?php if ($do_filter_list || PRODUCT_LIST_ALPHA_SORTER == 'true') { // $form = zen_draw_form('filter', zen_href_link(FILENAME_ADVANCED_SEARCH_RESULT), 'get') . '<label class="inputLabel">' .TEXT_SHOW . '</label>'; $form = zen_draw_form('filter', zen_href_link(FILENAME_ADVANCED_SEARCH_RESULT), 'get'); echo $form; echo zen_hide_session_id(); /* Re-Get all GET'ed variables */ echo zen_post_all_get_params('currency'); require DIR_WS_MODULES . zen_get_module_directory(FILENAME_PRODUCT_LISTING_ALPHA_SORTER); ?> </form> <?php } /** * Used to collate and display products from advanced search results */ require $template->get_template_dir('tpl_modules_product_listing.php', DIR_WS_TEMPLATE, $current_page_base, 'templates') . '/' . 'tpl_modules_product_listing.php'; ?> <div class="buttonRow back"><?php echo '<a href="' . zen_href_link(FILENAME_ADVANCED_SEARCH, zen_get_all_get_params(array('sort', 'page', 'x', 'y')), 'NONSSL', true, false) . '">' . zen_image_button(BUTTON_IMAGE_BACK, BUTTON_BACK_ALT) . '</a>'; ?> </div>