{if $category_depth == 'nested'}
{$smarty.const.HEADING_TITLE} {osc_image src="`$smarty.const.DIR_WS_IMAGES``$category.categories_image`" alt="`$category.categories_name`" width="`$smarty.const.HEADING_IMAGE_WIDTH`" height="`$smarty.const.HEADING_IMAGE_HEIGHT`"}
{osc_draw_separator image='pixel_trans.gif' width='100%' height='10'}
{section name="s_c1" loop=$tpl_categories start=1 } {if ((($tpl_categories[s_c1].row / $smarty.const.MAX_DISPLAY_CATEGORIES_PER_ROW) == floor($tpl_categories[s_c1].row / $smarty.const.MAX_DISPLAY_CATEGORIES_PER_ROW)) && ($tpl_categories[s_c1].row != $number_of_categories)) } {/if} {/section} {assign var="new_products_category_id" value=$current_category_id}
{$tpl_categories[s_c1].image}
{$tpl_categories[s_c1].name}
{osc_draw_separator image='pixel_trans.gif' width='100%' height='10'}
{include file="`$smarty.const.DIR_FS_HTML_INCLUDE`new_products.html"}
{elseif ($category_depth == 'products' || (isset($smarty.get.manufacturers_id) && tep_not_null($smarty.get.manufacturers_id)))} {* create column list *}
{* optional Product List Filter *} {if $smarty.const.PRODUCT_LIST_FILTER > 0 && $tep_db_num_rows1 > 1 } {/if} {*<-- // Get the right image for the top-right -->*}
{$smarty.const.HEADING_TITLE} {osc_draw_form name="filter" action="`$smarty.const.FILENAME_DEFAULT`" method="get"} {$smarty.const.TEXT_SHOW}   {if isset($smarty.get.manufacturers_id)} {osc_draw_hidden_field name="manufacturers_id" value="`$smarty.get.manufacturers_id`"} {else} {$tep_draw_hidden_field2} {/if} {osc_draw_hidden_field name='sort' value=$smarty.get.sort} {$tep_draw_pull_down_menu} {osc_image src=$image alt=$title width=$smarty.const.HEADDING_IMAGE_WIDTH height=$smarty.const.HEADING_IMAGE_HEIGHT}
{osc_draw_separator image='pixel_trans.gif' width='100%' height='10'}
{include file="`$smarty.const.DIR_FS_HTML_INCLUDE`product_listing.html"}
{else} {* // default page *}
{$smarty.const.HEADING_TITLE} {osc_image src="`$smarty.const.DIR_WS_IMAGES`table_background_default.gif" alt=$smarty.const.HEADING_TITLE width=$smarty.const.HEADING_IMAGE_WIDTH height=$smarty.const.HEADING_IMAGE_HEIGHT}
{osc_draw_separator image='pixel_trans.gif' width='100%' height='10'}
{include file="`$smarty.const.DIR_FS_HTML_INCLUDE`upcoming_products.html"}
{osc_customer_greeting}
{osc_draw_separator image='pixel_trans.gif' width='100%' height='10'}
{$smarty.const.TEXT_MAIN}
{osc_draw_separator image='pixel_trans.gif' width='100%' height='10'}
{include file="`$smarty.const.DIR_FS_HTML_INCLUDE`new_products.html"}
{/if}