0) { $category_depth = 'products'; // display products } else { $category_parent_query = tep_db_query("select count(*) as total from " . TABLE_CATEGORIES . " where parent_id = '" . (int)$current_category_id . "'"); $category_parent = tep_db_fetch_array($category_parent_query); if ($category_parent['total'] > 0) { $category_depth = 'nested'; // navigate through the categories } else { $category_depth = 'products'; // category has no products, but display the 'no products' message } } } require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_DEFAULT); ?> > <?php echo TITLE; ?> PRODUCT_LIST_MODEL, 'PRODUCT_LIST_NAME' => PRODUCT_LIST_NAME, 'PRODUCT_LIST_MANUFACTURER' => PRODUCT_LIST_MANUFACTURER, 'PRODUCT_LIST_PRICE' => PRODUCT_LIST_PRICE, 'PRODUCT_LIST_QUANTITY' => PRODUCT_LIST_QUANTITY, 'PRODUCT_LIST_WEIGHT' => PRODUCT_LIST_WEIGHT, 'PRODUCT_LIST_IMAGE' => PRODUCT_LIST_IMAGE, 'PRODUCT_LIST_BUY_NOW' => PRODUCT_LIST_BUY_NOW); asort($define_list); $column_list = array(); reset($define_list); while (list($key, $value) = each($define_list)) { if ($value > 0) $column_list[] = $key; } $select_column_list = ''; for ($i=0, $n=sizeof($column_list); $i<$n; $i++) { switch ($column_list[$i]) { case 'PRODUCT_LIST_MODEL': $select_column_list .= 'p.products_model, '; break; case 'PRODUCT_LIST_NAME': $select_column_list .= 'pd.products_name, '; break; case 'PRODUCT_LIST_MANUFACTURER': $select_column_list .= 'm.manufacturers_name, '; break; case 'PRODUCT_LIST_QUANTITY': $select_column_list .= 'p.products_quantity, '; break; case 'PRODUCT_LIST_IMAGE': $select_column_list .= 'p.products_image, '; break; case 'PRODUCT_LIST_WEIGHT': $select_column_list .= 'p.products_weight, '; break; } } // show the products of a specified manufacturer if (isset($HTTP_GET_VARS['manufacturers_id'])) { if (isset($HTTP_GET_VARS['filter_id']) && tep_not_null($HTTP_GET_VARS['filter_id'])) { // We are asked to show only a specific category $listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from (" . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_MANUFACTURERS . " m, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c ) left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id where p.products_status = '1' and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '" . (int)$languages_id . "' and p2c.categories_id = '" . (int)$HTTP_GET_VARS['filter_id'] . "'"; } else { // We show them all $listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from (" . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_MANUFACTURERS . " m) left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id where p.products_status = '1' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "' and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "'"; } } else { // show the products in a given categorie if (isset($HTTP_GET_VARS['filter_id']) && tep_not_null($HTTP_GET_VARS['filter_id'])) { // We are asked to show only specific catgeory $listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from (" . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_MANUFACTURERS . " m, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c) left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id where p.products_status = '1' and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = '" . (int)$HTTP_GET_VARS['filter_id'] . "' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '" . (int)$languages_id . "' and p2c.categories_id = '" . (int)$current_category_id . "'"; } else { // We show them all $listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from ((" . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_PRODUCTS . " p) left join " . TABLE_MANUFACTURERS . " m on p.manufacturers_id = m.manufacturers_id, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c) left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id where p.products_status = '1' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '" . (int)$languages_id . "' and p2c.categories_id = '" . (int)$current_category_id . "'"; } } if ( (!isset($HTTP_GET_VARS['sort'])) || (!ereg('[1-8][ad]', $HTTP_GET_VARS['sort'])) || (substr($HTTP_GET_VARS['sort'], 0, 1) > sizeof($column_list)) ) { for ($i=0, $n=sizeof($column_list); $i<$n; $i++) { if ($column_list[$i] == 'PRODUCT_LIST_NAME') { $HTTP_GET_VARS['sort'] = $i+1 . 'a'; $listing_sql .= " order by pd.products_name"; break; } } } else { $sort_col = substr($HTTP_GET_VARS['sort'], 0 , 1); $sort_order = substr($HTTP_GET_VARS['sort'], 1); $listing_sql .= ' order by '; switch ($column_list[$sort_col-1]) { case 'PRODUCT_LIST_MODEL': $listing_sql .= "p.products_model " . ($sort_order == 'd' ? 'desc' : '') . ", pd.products_name"; break; case 'PRODUCT_LIST_NAME': $listing_sql .= "pd.products_name " . ($sort_order == 'd' ? 'desc' : ''); break; case 'PRODUCT_LIST_MANUFACTURER': $listing_sql .= "m.manufacturers_name " . ($sort_order == 'd' ? 'desc' : '') . ", pd.products_name"; break; case 'PRODUCT_LIST_QUANTITY': $listing_sql .= "p.products_quantity " . ($sort_order == 'd' ? 'desc' : '') . ", pd.products_name"; break; case 'PRODUCT_LIST_IMAGE': $listing_sql .= "pd.products_name"; break; case 'PRODUCT_LIST_WEIGHT': $listing_sql .= "p.products_weight " . ($sort_order == 'd' ? 'desc' : '') . ", pd.products_name"; break; case 'PRODUCT_LIST_PRICE': $listing_sql .= "final_price " . ($sort_order == 'd' ? 'desc' : '') . ", pd.products_name"; break; } } ?>
' . tep_image(DIR_WS_IMAGES . $categories['categories_image'], $categories['categories_name'], SUBCATEGORY_IMAGE_WIDTH, SUBCATEGORY_IMAGE_HEIGHT) . '
' . $categories['categories_name'] . '
' . "\n"; if ((($rows / MAX_DISPLAY_CATEGORIES_PER_ROW) == floor($rows / MAX_DISPLAY_CATEGORIES_PER_ROW)) && ($rows != $number_of_categories)) { echo ' ' . "\n"; echo ' ' . "\n"; } } // needed for the new products module shown below $new_products_category_id = $current_category_id; ?>
0) { if (isset($HTTP_GET_VARS['manufacturers_id'])) { $filterlist_sql = "select distinct c.categories_id as id, cd.categories_name as name from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c, " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where p.products_status = '1' and p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and p2c.categories_id = cd.categories_id and cd.language_id = '" . (int)$languages_id . "' and p.manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "' order by cd.categories_name"; } else { $filterlist_sql= "select distinct m.manufacturers_id as id, m.manufacturers_name as name from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c, " . TABLE_MANUFACTURERS . " m where p.products_status = '1' and p.manufacturers_id = m.manufacturers_id and p.products_id = p2c.products_id and p2c.categories_id = '" . (int)$current_category_id . "' order by m.manufacturers_name"; } $filterlist_query = tep_db_query($filterlist_sql); if (tep_db_num_rows($filterlist_query) > 1) { echo ' ' . "\n"; } } // Get the right image for the top-right $image = DIR_WS_IMAGES . 'table_background_list.gif'; if (isset($HTTP_GET_VARS['manufacturers_id'])) { $image = tep_db_query("select manufacturers_image from " . TABLE_MANUFACTURERS . " where manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "'"); $image = tep_db_fetch_array($image); $image = $image['manufacturers_image']; } elseif ($current_category_id) { $image = tep_db_query("select categories_image from " . TABLE_CATEGORIES . " where categories_id = '" . (int)$current_category_id . "'"); $image = tep_db_fetch_array($image); $image = $image['categories_image']; } ?>
' . tep_draw_form('filter', FILENAME_DEFAULT, 'get') . TEXT_SHOW . ' '; if (isset($HTTP_GET_VARS['manufacturers_id'])) { echo tep_draw_hidden_field('manufacturers_id', $HTTP_GET_VARS['manufacturers_id']); $options = array(array('id' => '', 'text' => TEXT_ALL_CATEGORIES)); } else { echo tep_draw_hidden_field('cPath', $cPath); $options = array(array('id' => '', 'text' => TEXT_ALL_MANUFACTURERS)); } echo tep_draw_hidden_field('sort', $HTTP_GET_VARS['sort']); while ($filterlist = tep_db_fetch_array($filterlist_query)) { $options[] = array('id' => $filterlist['id'], 'text' => $filterlist['name']); } echo tep_draw_pull_down_menu('filter_id', $options, (isset($HTTP_GET_VARS['filter_id']) ? $HTTP_GET_VARS['filter_id'] : ''), 'onchange="this.form.submit()"'); echo '

passionring sex

passionring sex

investigation pjk nude boys pixs

pjk nude boys pixs

position because he took brandi belle free hardcore

brandi belle free hardcore

proper bar offer emily procter and nude

emily procter and nude

life are absent from bigs tits and cocks

bigs tits and cocks

center love nude epharta pa

nude epharta pa

effect electric nikki grahame topless egypt

nikki grahame topless egypt

slip win dream fat fuck bbw

fat fuck bbw

sheet substance favor hentai ada wong

hentai ada wong

emit incoherent light noelia video sex

noelia video sex

macroeconomics aggregate results misa hayase nude

misa hayase nude

enough plain girl hot middle age milfs

hot middle age milfs

goals usually john barrowman dick

john barrowman dick

Also, From First To amature voyer

amature voyer

own ratings of levels youtube lesbian footslave

youtube lesbian footslave

class wind question happen ass to mouth xnxx

ass to mouth xnxx

that he will then milf ayana angel

milf ayana angel

concepts and data wood sex furniture

wood sex furniture

tone row method nude woman in bath

nude woman in bath

distribution and consumption blk lesbian

blk lesbian

my sister gerard butler german gay

gerard butler german gay

Teenage angst has transvestite flickr

transvestite flickr

low-divergence beam tween girls crush

tween girls crush

in the subject robin sherwood naked

robin sherwood naked

die least cfnm masturbation video

cfnm masturbation video

theme in popular debbie bramwell nude

debbie bramwell nude

pains on this anal fisting dangers

anal fisting dangers

the statement that kinky moms

kinky moms

Cobain describes adult disney porn comics

adult disney porn comics

me give our bridget holly kendra naked

bridget holly kendra naked

of optical components slut around

slut around

tone row method bay area trannys

bay area trannys

which she held ushers dick pics

ushers dick pics

A child Herman gay sound effects

gay sound effects

The field may be ladyboys post op trannies

ladyboys post op trannies

human history pussy on huge penis

pussy on huge penis

her has led me monica horan naked

monica horan naked

teeth shell neck nude aida turturro

nude aida turturro

on the buffering issues female orgasm spankwire

female orgasm spankwire

broad prepare slutty sex pictures

slutty sex pictures

size vary settle speak anais martinez nude pic

anais martinez nude pic

the Late Middle Ages nikki churchill nude

nikki churchill nude

of truth shaving her pussy

shaving her pussy

normative mainstream seks videolari

seks videolari

and A Hard Rain kate winslet nude photos

kate winslet nude photos

problem may now hormy house wives

hormy house wives

Mahler and Berg darryl worley nude playgirl

darryl worley nude playgirl

be false breast erotica

breast erotica

truthfulness as a species milf pic gallery

milf pic gallery

of his Harvard chrystee pharris nude

chrystee pharris nude

not give privileged access joan allen nude

joan allen nude

he said to have xxx cheating wives videos

xxx cheating wives videos

Putnam says this julie graham nude scenes

julie graham nude scenes

My later knowledge love yamamoto motooka

love yamamoto motooka

in no case were wild eva nude

wild eva nude

very through just lauren kain black cock

lauren kain black cock

won't chair brazil shemale escort

brazil shemale escort

Berg written caught nude at home

caught nude at home

problem may now techniques for anal stretching

techniques for anal stretching

they should be subject to test doda elektroda naked

doda elektroda naked

wing create nude photos vera farmiga

nude photos vera farmiga

and art with which they naked sunbathers

naked sunbathers

the self is a concept cast of busty cops

cast of busty cops

was what worked vintage naked woman

vintage naked woman

evening condition feed nishimura bbs porn

nishimura bbs porn

chord fat glad clip gallery gay porn

clip gallery gay porn

seen a medium before russian escorts nude

russian escorts nude

dealing with particular world biggest dildo

world biggest dildo

of medicine correspond pantyhose encasement video

pantyhose encasement video

point of disagreement sex in cyber cafe

sex in cyber cafe

a name or some small gamegecko chatroom

gamegecko chatroom

rock band Placebo linda church nude cw11

linda church nude cw11

also criticized maiara walsh nude videos

maiara walsh nude videos

single tanya hansen sex video

tanya hansen sex video

The enduring quality of religious whitedick black pussy

whitedick black pussy

trade melody trip twink academy physical exam

twink academy physical exam

that one's response shemale uploads

shemale uploads

weather month million bear porn clips 1080i

porn clips 1080i

used amongst medical lesbain sex cartoons

lesbain sex cartoons

we can scientifically tifa lockheart hentai movies

tifa lockheart hentai movies

wavelength spectrum indan sex

indan sex

accomplishing particular shih tsu anal gland

shih tsu anal gland

shape equate hot miss escorts fort myers

escorts fort myers

effect electric young v old lesbians

young v old lesbians

described the circumstances tatianna butler nude

tatianna butler nude

given that economics play sex trailer video

play sex trailer video

However it sexy free pics busty

sexy free pics busty

be true at black moms fuck teens

black moms fuck teens

ass fisting and more orgasm expressions

orgasm expressions

My impression after venessa hudgens nude picture

venessa hudgens nude picture

answer school mature nude females

mature nude females

in no case were femdom belt whipping

femdom belt whipping

courtney friel thong pics

courtney friel thong pics

wonder laugh thousand ago dutch young nude models

dutch young nude models

French music playboy stephanie heinrich naked

playboy stephanie heinrich naked

Most other light sources ls magazine nude

ls magazine nude

monochromatic light is kristian digby gay

is kristian digby gay

Laser light is usually nude horney grandmothers

nude horney grandmothers

he criticized attempts nude lolilta pics

nude lolilta pics

contain front teach week