*/ ?> <div class="centerColumn" id="allProductsDefault"> <header> <h4 id="allProductsDefaultHeading"><?php echo HEADING_TITLE; ?> </h4> </header> <!-- Top Product Sorter --> <?php $gridlist_tab = ''; if (defined('PRODUCT_LISTING_LAYOUT_STYLE_CUSTOMER') and PRODUCT_LISTING_LAYOUT_STYLE_CUSTOMER == '1') { //echo '<div class="view-mode">' . array(array('id'=>'rows','text'=>PRODUCT_LISTING_LAYOUT_ROWS),array('id'=>'columns','text'=>PRODUCT_LISTING_LAYOUT_COLUMNS))) . '</div>'; $gridlist_tab = mb_gridlist_tab(FILENAME_PRODUCTS_ALL); } require $template->get_template_dir('/tpl_modules_listing_display_order.php', DIR_WS_TEMPLATE, $current_page_base, 'templates') . '/tpl_modules_listing_display_order.php'; ?> <!-- Top Product Sorter --> <!-- Product List --> <?php /** * display the new products */ require $template->get_template_dir('/tpl_modules_products_all_listing.php', DIR_WS_TEMPLATE, $current_page_base, 'templates') . '/tpl_modules_products_all_listing.php'; ?> <!-- Product List Ends --> <!-- Bottom Pagination and button --> <?php if ($products_all_split->number_of_rows > 0 && (PREV_NEXT_BAR_LOCATION == '2' || PREV_NEXT_BAR_LOCATION == '3')) {
?> <div class="centerColumn" id="newProductsDefault"> <header> <h4 id="newProductsDefaultHeading"><?php echo HEADING_TITLE; ?> </h4> </header> <!-- Top Product Sorter --> <?php /********************************** GRID LIST VIEW ***************************************/ $gridlist_tab = ''; if (defined('PRODUCT_LISTING_LAYOUT_STYLE_CUSTOMER') and PRODUCT_LISTING_LAYOUT_STYLE_CUSTOMER == '1') { //echo '<div class="view-mode">' . array(array('id'=>'rows','text'=>PRODUCT_LISTING_LAYOUT_ROWS),array('id'=>'columns','text'=>PRODUCT_LISTING_LAYOUT_COLUMNS))) . '</div>'; $gridlist_tab = mb_gridlist_tab(FILENAME_PRODUCTS_NEW); } /**********************************EOF GRID LIST VIEW ***************************************/ /** * display the product order dropdown */ require $template->get_template_dir('/tpl_modules_listing_display_order.php', DIR_WS_TEMPLATE, $current_page_base, 'templates') . '/tpl_modules_listing_display_order.php'; ?> <!-- Top Product Sorter Ends--> <!-- Product List --> <?php /** * display the new products */ require $template->get_template_dir('/tpl_modules_products_new_listing.php', DIR_WS_TEMPLATE, $current_page_base, 'templates') . '/tpl_modules_products_new_listing.php'; ?>
</tr> </tbody> </table> </div> <p></p> </div> </div> <!-- bof: specials --> <?php /********************************** GRID LIST VIEW ***************************************/ $gridlist_tab = ''; if (defined('PRODUCT_LISTING_LAYOUT_STYLE_CUSTOMER') and PRODUCT_LISTING_LAYOUT_STYLE_CUSTOMER == '1') { //echo '<div class="view-mode">' . array(array('id'=>'rows','text'=>PRODUCT_LISTING_LAYOUT_ROWS),array('id'=>'columns','text'=>PRODUCT_LISTING_LAYOUT_COLUMNS))) . '</div>'; $gridlist_tab = mb_gridlist_tab(FILENAME_SPECIALS); } /**********************************EOF GRID LIST VIEW ***************************************/ /** * require the list_box_content template to display the products */ ?> <div class="sorter filters-container"> <?php echo $gridlist_tab; ?> </div> <!-- Product List --> <?php
*/ ?> <div class="centerColumn" id="featuredDefault"> <header> <h4 id="featuredDefaultHeading"><?php echo HEADING_TITLE; ?> </h4> </header> <!-- Top Product Sorter --> <?php $gridlist_tab = ''; if (defined('PRODUCT_LISTING_LAYOUT_STYLE_CUSTOMER') and PRODUCT_LISTING_LAYOUT_STYLE_CUSTOMER == '1') { //echo '<div class="view-mode">' . array(array('id'=>'rows','text'=>PRODUCT_LISTING_LAYOUT_ROWS),array('id'=>'columns','text'=>PRODUCT_LISTING_LAYOUT_COLUMNS))) . '</div>'; $gridlist_tab = mb_gridlist_tab(FILENAME_FEATURED_PRODUCTS); } /** * require code to display the list-display-order dropdown */ require $template->get_template_dir('/tpl_modules_listing_display_order.php', DIR_WS_TEMPLATE, $current_page_base, 'templates') . '/tpl_modules_listing_display_order.php'; ?> <!-- Top Product Sorter Ends--> <!-- Product List --> <?php /** * display the featured products */ require $template->get_template_dir('/tpl_modules_products_featured_listing.php', DIR_WS_TEMPLATE, $current_page_base, 'templates') . '/tpl_modules_products_featured_listing.php'; ?> <!-- Product List Ends -->
} // draw typefilter if (isset($_GET['typefilter']) && $_GET['typefilter'] != '') { echo zen_draw_hidden_field('typefilter', $_GET['typefilter']); } // draw manufacturers_id if not already done earlier if ($get_option_variable != 'manufacturers_id' && isset($_GET['manufacturers_id']) && $_GET['manufacturers_id'] > 0) { echo zen_draw_hidden_field('manufacturers_id', $_GET['manufacturers_id']); } // draw sort echo zen_draw_hidden_field('sort', $_GET['sort']); // draw filter_id (ie: category/mfg depending on $options) if ($do_filter_list) { echo zen_draw_pull_down_menu('filter_id', $options, isset($_GET['filter_id']) ? $_GET['filter_id'] : '', 'onchange="this.form.submit()"'); } echo mb_gridlist_tab(FILENAME_DEFAULT); if (defined('PRODUCT_LISTING_LAYOUT_STYLE_CUSTOMER') and PRODUCT_LISTING_LAYOUT_STYLE_CUSTOMER == '1') { // echo '<div id="viewControl">' . zen_draw_pull_down_menu('view', array(array('id'=>'rows','text'=>PRODUCT_LISTING_LAYOUT_ROWS),array('id'=>'columns','text'=>PRODUCT_LISTING_LAYOUT_COLUMNS)), (isset($_GET['view']) ? $_GET['view'] : (defined('PRODUCT_LISTING_LAYOUT_STYLE')? PRODUCT_LISTING_LAYOUT_STYLE: 'rows')), 'onchange="this.form.submit()"') . '</div>'; } // draw alpha sorter require DIR_WS_MODULES . zen_get_module_directory(FILENAME_PRODUCT_LISTING_ALPHA_SORTER); ?> </form> <?php } ?> </div> <!--<br class="clearBoth" />--> <?php /**