{*
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
Copyright (c) 2003 osCommerce
Released under the GNU General Public License
*}
{include_php file="`$smarty.const.DIR_FS_MODULES`product_listing.php"}
{if (($listing_split->number_of_rows > 0) && (($smarty.const.PREV_NEXT_BAR_LOCATION == '1') || ($smarty.const.PREV_NEXT_BAR_LOCATION == '3')))}
{$listing_split->display_count($smarty.const.TEXT_DISPLAY_NUMBER_OF_PRODUCTS)} |
{$smarty.const.TEXT_RESULT_PAGE} {$listing_split->display_links($smarty.const.MAX_DISPLAY_PAGE_LINKS, $tep_get_all_get_params)} |
{/if}
{if ($products_listing_contents[1] != null)}
{section name=sh loop=$products_listing_contents[0]}
{if ($products_listing_contents[0][sh].align != null)}
{$products_listing_contents[0][sh].text} |
{else}
{$products_listing_contents[0][sh].text} |
{/if}
{/section}
{section name=sb1 loop=$products_listing_contents start=1}
{section name=sb2 loop=$products_listing_contents[sb1]}
{if ($products_listing_contents[sb1][sb2].text != null)}
{if ($products_listing_contents[sb1][sb2].align != null)}
{$products_listing_contents[sb1][sb2].text} |
{else}
{$products_listing_contents[sb1][sb2].text} |
{/if}
{/if}
{/section}
{/section}
{else} {* no contents *}
{$products_listing_contents[0][0].text} |
{/if}
{if (($listing_split->number_of_rows > 0) && (($smarty.const.PREV_NEXT_BAR_LOCATION == '2') || ($smarty.const.PREV_NEXT_BAR_LOCATION == '3')))}
{$listing_split->display_count($smarty.const.TEXT_DISPLAY_NUMBER_OF_PRODUCTS)} |
{$smarty.const.TEXT_RESULT_PAGE} {$listing_split->display_links($smarty.const.MAX_DISPLAY_PAGE_LINKS, $tep_get_all_get_params)} |
{/if}