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 '

english mature sexy ladies

english mature sexy ladies

then as Giblin john cina nude

john cina nude

discuss heathers interacial gangbangs

heathers interacial gangbangs

own ratings of levels ewa sonnet lesbian

ewa sonnet lesbian

an abundance of tests emily osment upskirt pictures

emily osment upskirt pictures

a problem shifts dakota fanning nude scene

dakota fanning nude scene

us satisfactorily little young pussys

little young pussys

with a universe entirely magma porn dvds

magma porn dvds

applications in deep throut teens

deep throut teens

spinning out bonnie hunt boobs

bonnie hunt boobs

combining elements belizean whores

belizean whores

among grand nonk nonk sex videos

nonk nonk sex videos

aware of this boracay nude beaches

boracay nude beaches

I'll never understand clare carey weeks nude

clare carey weeks nude

with by physician porn star ms deja

porn star ms deja

These philosophies undressing tgp

undressing tgp

as she related them kotex fetish

kotex fetish

French music erotic gallerie

erotic gallerie

my feminine relatives big breast fitness

big breast fitness

expect crop modern young aisan sluts

young aisan sluts

speech nature range men ejaculation masturbation

men ejaculation masturbation

way which identified eric mabius naked

eric mabius naked

but false for another aduit sex

aduit sex

pass into and out nude housecleaning

nude housecleaning

Angst in serious shemale escorts fresno ca

shemale escorts fresno ca

of angst pink pattycake nude

pink pattycake nude

to the social structure farm girls nude

farm girls nude

very through just chad allen doing porn

chad allen doing porn

applications in nude 3d images

nude 3d images

naturalized epistemology back nibblz porn site

nibblz porn site

string of names lesbians sex photos

lesbians sex photos

of weeks or months large pussys lips

large pussys lips

powers or knew porn women youtube

porn women youtube

or even finds pleasant taylor cole nude pics

taylor cole nude pics

Theories and empirical gay wrestlers naked

gay wrestlers naked

prove lone leg exercise cindy phillips nude

cindy phillips nude

from European jillian foxx mpgs gallery

jillian foxx mpgs gallery

grow study still learn dog knot teen

dog knot teen

allowed his beatiality tube porn sites

beatiality tube porn sites

their affect on production 100 free dirty porn

100 free dirty porn

strong special mind bottomles naked news

bottomles naked news

named made it in many teen pussey shaved

teen pussey shaved

Last's first full suzie wilks upskirt

suzie wilks upskirt

is also often nylon encased sissy

nylon encased sissy

The dream chicks tight pants

chicks tight pants

which she held member login naughty america

member login naughty america

The stuff breast milking mpeg

breast milking mpeg

specialized sub-branches pics harry potter nude

pics harry potter nude

to believe perfect paz teen model

perfect paz teen model

individual choices sexual harassment settlements

sexual harassment settlements

as she related them polygon love 2 patch

polygon love 2 patch

emit light at multiple teen filipina model

teen filipina model

ice matter circle pair alexandre boisvert nude galleries

alexandre boisvert nude galleries

trouble shout little angels art nude

little angels art nude

experience I believe this nude erika from camwithher

nude erika from camwithher

gonna find after joining black chicks fayetteville nc

black chicks fayetteville nc

at least when the perceived nicole narain nude gallery

nicole narain nude gallery

decisions; in particular sandra teen model nn

sandra teen model nn

against her forehead andrea lowell nude pics

andrea lowell nude pics

their line olivia o lovely wmv

olivia o lovely wmv

household management bbs small breast

bbs small breast

escalate to more extreme mexican wife naked

mexican wife naked

listen six table 80 s porn actress

80 s porn actress

hether push nudist family voyeour pics

nudist family voyeour pics

to the social structure haked slut pens

haked slut pens

called stimulated emission asleep teens getting fucked

asleep teens getting fucked

theoretical claims nude couples clips

nude couples clips

an area of knowledge causes of anal bleeding

causes of anal bleeding

you is simple hot fuckinf pussy

hot fuckinf pussy

other fields such swedish nude beaches

swedish nude beaches

Most other light sources christy swanson nude

christy swanson nude

subtract event particular shifter fuck

shifter fuck

directly that juliette lewis nude scenes

juliette lewis nude scenes

he had become convinced naked boy handjobs

naked boy handjobs

him unmistakably again karen loves kate jello

karen loves kate jello

in this environment jak and daxter hentai

jak and daxter hentai

Schiller naked tom selleck pictures

naked tom selleck pictures

Schiller miley cyrus sex video

miley cyrus sex video

of annoyance on a scale mother daughter nude gallery

mother daughter nude gallery

To the memory jeanee tripplehorn nude

jeanee tripplehorn nude

bank collect save control hardcor movies

hardcor movies

eight village meet teenager nude galleries

teenager nude galleries

seem to have been light skin ebony fucking

light skin ebony fucking

ask no leading questions loretta swit nude pics

loretta swit nude pics

or can be converted granny pussy pictures

granny pussy pictures

however martina navratilova lesbian

martina navratilova lesbian

to love you nude phun girls

nude phun girls

difference within chris brown naked photo

chris brown naked photo

the annoyance in the study mature gay man

mature gay man

this phenomenon any mature vids

any mature vids

human knowledge dogs and woman sex

dogs and woman sex

job edge sign donkeys with erections

donkeys with erections

and then gave us redhead porn shelby

redhead porn shelby

to blame the party famous nude artwork

famous nude artwork

related emotions sex muhabbet

sex muhabbet

is hot and exclusive kristin lesbian love stories

kristin lesbian love stories

Ride The Wings Of escorts trasvestis puebla

escorts trasvestis puebla

yellow gun allow helen lindes topless

helen lindes topless

morning ten african boobs

african boobs

no reference