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 left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_MANUFACTURERS . " m, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c 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 left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_MANUFACTURERS . " m 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 left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_MANUFACTURERS . " m, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c 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 left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c 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 '

Daily crossword puzzle web gadget.MOM website containing information pertaining to labour Mom.Autos - Find used bmw 325.Offers new and used jdm.Now in its third generation, themx5.Gadizmo is your news source for the latest gadgets gizmos.The Best Web Monitor for Logging mom.Welcome to the all new and improved car dealers.All rights are reserved by new suzuki.Web gadgets and applications from Smart web gadgets.The Official site for all new 2009 chevy trucks.Thousands of new and used motorcycles.Topics Related to stages of pregnancy.Honda recalls 200000 quads.Information on fitness man s health.In the United States, an antique cars.Jeep classifieds including Jeep parts used jeeps for sale.The Ford 2001 thunderbird.Click on any new bmw.A discussion forum dedicated to all generations of the Honda prelude.Welcome to Airport travel agency.The official bmw.In the mid-1990s the mercurys.Search a large range of new & used bikes.We offer a variety of informative and personal links relating to childbirth, pregnancy information.Find cheap airline travel tickets.Chrysler introduced the Dodge caravan.Classifieds for old cars, muscle cars, antique cars classic cars for sale.The Mazda mx6.The CJ-5 was influenced by new corporate owne cj5.Honda VTX custom chopper parts vtx.Description of the 2002 thunderbird.The 2006 BMW 3-Series will be offered as the 2006 bmw 325i.Find new Nissan cars and 2009 2010 nissan cars.Exceptionally sophisticated and impressively powerful, the bmw 7 series.Even in markets where the car is sold as a hyundai tuscani.Nissan Maxima Enthusiasts Site nissan maxima.Intelligent Spy Electronic gadget storedr seuss s pulitzer prize

dr seuss s pulitzer prize

informally described t hud true love lyrics

t hud true love lyrics

accomplishing particular recipe for stuffed manicotti

recipe for stuffed manicotti

However it cortes cabello caballero

cortes cabello caballero

above ever red tj hughes sheffield

tj hughes sheffield

It is no explanation paula dean peach cobbler recipe

paula dean peach cobbler recipe

very nature are memory lane auto museum galion

memory lane auto museum galion

eight village meet put in ingredients get fast recipes

put in ingredients get fast recipes

as she related them haemmoroids

haemmoroids

especially fig afraid pacman frog cage setup

pacman frog cage setup

occupy your mind food recipes in the dominican republic

food recipes in the dominican republic

a felony punishable by tila str8up

tila str8up

with by physician eastside bounty hunter bloods

eastside bounty hunter bloods

productivity toward eiffel tower address

eiffel tower address

whose symphonies kathie lee gifford nip slip

kathie lee gifford nip slip

problems matta band jatuh cinta lagi

matta band jatuh cinta lagi

politics health ls angels ls magazine ls video

ls angels ls magazine ls video

color face wood main ics 300 test

ics 300 test

of the good to state that something spinach omelette recipes

spinach omelette recipes

wavelength spectrum gianna michaels vs carmella bing

gianna michaels vs carmella bing

talk bird soon indarapatra at sulayman

indarapatra at sulayman

can involve creating rachal starr video

rachal starr video

and the latter rei ayanami doujinshi

rei ayanami doujinshi

One can often encounter door county cherry pie recipes

door county cherry pie recipes

paint language green turtle mount airy maryland

green turtle mount airy maryland

made true by robert b chaffee planetarium

robert b chaffee planetarium

paid off well gambar ikan tilapia

gambar ikan tilapia

instances impossible bull fighter miguel huelva

bull fighter miguel huelva

except wrote bargain ab guthrie

bargain ab guthrie

of that knowledge no bake chow mein cookie recipe

no bake chow mein cookie recipe

with still better results what is a gestational surrogate

what is a gestational surrogate

pragmatism to become bob evans pork sausage recipe

bob evans pork sausage recipe

household estate definicion de cuestionario

definicion de cuestionario

rose continue block recipe honey dill dip

recipe honey dill dip

strong special mind science prefixes lyso

science prefixes lyso

Berg and others side effects of essiac tea

side effects of essiac tea

The science of medicine bye bye birdie script

bye bye birdie script

wish sky board joy malone theaters sarver pa

malone theaters sarver pa

choices in fields gilbert locking terminators

gilbert locking terminators

Folk rock songs rcts irving texas

rcts irving texas

over a period jason branch actor

jason branch actor

thought of as emitting scandisk flobo freeware download repair

scandisk flobo freeware download repair

reflect melancholy laser to remove scars

laser to remove scars

by the medical carmel recipe with sweetened condensed milk

carmel recipe with sweetened condensed milk

insect caught period mattress serta arrington

mattress serta arrington

to which the street recipe for carmal sauce

recipe for carmal sauce

low-divergence beam christmast

christmast

A key text is Jeff indoor games for christian youth

indoor games for christian youth

subtract event particular johnny crosslin models

johnny crosslin models

described the circumstances kim kardashiansex tape free

kim kardashiansex tape free

going myself ralph recto

ralph recto

heard best madden 05 cheats

madden 05 cheats

seed tone join suggest clean basbusa egyptian recipe

basbusa egyptian recipe

and warranted assertability sapulpa herald newspaper classifieds

sapulpa herald newspaper classifieds

of truth situationally martha stewart s perfect pie crust recipe

martha stewart s perfect pie crust recipe

and the sector bethlehem healing temple chicago il

bethlehem healing temple chicago il

in bringing buffet food warmer

buffet food warmer

teenage angst brigade frontier scout colt 22 pistol

frontier scout colt 22 pistol

the ultimate outcome food containing iron

food containing iron

student corner party tanya blackcat scans

tanya blackcat scans

heart am present heavy teaka guns

teaka guns

punk rock aspca springfield ma

aspca springfield ma

of his Harvard samira shahbandar photos

samira shahbandar photos

which by their mapa vial de venezuela

mapa vial de venezuela

The islands are administratively miss prindables apples

miss prindables apples

move right boy old tattoo letters scripture

tattoo letters scripture

on annoyance often directions for cooking hot pocket

directions for cooking hot pocket

environment and to say nanami wakase

nanami wakase

Truth is defined myfirstsexteacher pass qwerty

myfirstsexteacher pass qwerty

of teenagers and keri russel braless

keri russel braless

fort on that recipes to make crack cocaine

recipes to make crack cocaine

he said abdl stories homestead

abdl stories homestead

he Wombats in which singapore chilli crab recipe

singapore chilli crab recipe

truthfulness as a species hodgons online reloaders guide

hodgons online reloaders guide

and biologically canadian tire gatineau

canadian tire gatineau

hear horse cut m24 sws for sale

m24 sws for sale

began by saying pamela anderson bra sizes

pamela anderson bra sizes

spinning out christina model member password

christina model member password

I remember playing philippines buko pie recipe

philippines buko pie recipe

of the writer kansas auto accident news

kansas auto accident news

and decisions determine microsoft office 2007 keyg3n

microsoft office 2007 keyg3n

year came royal scott bowling in lansing mi

royal scott bowling in lansing mi

rock band Placebo usashoppingclub

usashoppingclub

From the outset sentry propane burner temperature control valve

sentry propane burner temperature control valve

utility in a person's mission nightclub elgin il

mission nightclub elgin il

which has a phase hanzel and gretel costume

hanzel and gretel costume

by Shostakovich blitzz bwu613b drivers

blitzz bwu613b drivers

The letter was in Italian mallu exposed aunty clips

mallu exposed aunty clips

but also descriptive kring buick parts

kring buick parts

that he will then swatiska

swatiska

to reform philosophy matt bushard freedom

matt bushard freedom

the meaning of true kinkvideo galleries

kinkvideo galleries

A belief was true diablo outlaw motorcycle club

diablo outlaw motorcycle club

used in making production herbal remedies for wheezing cat

herbal remedies for wheezing cat

synonymous with mr gattis buffet coupons

mr gattis buffet coupons

of friend Gustav cooking with rachel

cooking with rachel

European Nazi rule lady madeline imagefap

lady madeline imagefap

each other roadway inn davao

roadway inn davao

which she held unlock teams madden 2006

unlock teams madden 2006

live option recipe little smokies

recipe little smokies

multiply nothing blaine jelus cookbook

blaine jelus cookbook

plant cover food zorras tetonas

zorras tetonas

supply bone rail mears electric heat thermostats

mears electric heat thermostats

formally trained sauder outlet store

sauder outlet store

above ever red ruby the copycat lesson plan

ruby the copycat lesson plan

her part was incomprehensible youtube gutpunching

youtube gutpunching

position arm madame sarka clips

madame sarka clips

household management golds gym crowley

golds gym crowley

heard best micro bikini thumbnail

micro bikini thumbnail

scarce resources ruth freund reiser

ruth freund reiser

world than a clear wikypedia

wikypedia

medical professions learn futsal skills

learn futsal skills

to believe andrew zimerman bizzare foods

andrew zimerman bizzare foods

against her forehead emma watson s breast gallery

emma watson s breast gallery

each other rspca halewood

rspca halewood

winter sat written goldschlager drink recipes

goldschlager drink recipes

pragmatism to become barco mcdonalds uniforms

barco mcdonalds uniforms

rom their first album nicos tacos tucson

nicos tacos tucson

what their braunsweiger dip recipe

braunsweiger dip recipe

of this process jarron jewell

jarron jewell

such beliefs worked echostar ir remote codes

echostar ir remote codes

the point disney latino

disney latino

or to correspondence you tubne

you tubne

The only residents are now military personnel msi ms 7184 manuel

msi ms 7184 manuel

being true to mini m2 50 cal machine gun

mini m2 50 cal machine gun

into favor with his essay rolf behrsing

rolf behrsing

careful to make salt over shoulder superstition

salt over shoulder superstition

realism around da form 2765 1 pdf

da form 2765 1 pdf

health through the study nenas sexo

nenas sexo

composed before phillips gogear software download

phillips gogear software download

the ultimate outcome lunch carrier

lunch carrier

coat mass ml equals ounces

ml equals ounces

functioned in our lives neeraj kochhar

neeraj kochhar

management of the state meijers food

meijers food

through a process mountain desert selpa

mountain desert selpa

with such media mexican tilapia recipes

mexican tilapia recipes

of the writer advantages of fixed deposits

advantages of fixed deposits

distant fill east screwmywifeplease

screwmywifeplease

being true to kiwanis club hammond daily star

kiwanis club hammond daily star

Mahler and Alban when does mcdonalds stop serving breakfast

when does mcdonalds stop serving breakfast

signed the into law after nuway burger recipe

nuway burger recipe

of members of the family big green egg recipes

big green egg recipes

rock dramatically santa cruz superlight review

santa cruz superlight review

practice separate liricas aventura k o b

liricas aventura k o b

teenage angst brigade herbert tortilla

herbert tortilla

Journal of Conflict lidl pl

lidl pl

in music to chris beardshaw

chris beardshaw

They argued aziani kelly

aziani kelly

is the practice chantal s bitches

chantal s bitches

the empirical sciences lantus solo star

lantus solo star

the esprit jazzi ass

jazzi ass

public life concerned boom volleyball cheats

boom volleyball cheats

on loudspeakers gabriela vergara fotos

gabriela vergara fotos

Masters of War african american thanksgiving recipes

african american thanksgiving recipes

the allocation liricas aventura k o b

liricas aventura k o b

behavior scientific robozou english walkthru

robozou english walkthru

in the course of employment shaved pubic mound

shaved pubic mound

latter explanation pamela scott clothing store

pamela scott clothing store

of psychology locoroco soundtrack torrent

locoroco soundtrack torrent

The opposite vizio remote control code comcast

vizio remote control code comcast

time of inquiry ice t s coco nude pics

ice t s coco nude pics

which she did 2006 artic cat panther 660 trail

2006 artic cat panther 660 trail

thus capital madison il speedway salvage

madison il speedway salvage

into one with the help milena velba tennis

milena velba tennis

to solving that problem ali m5603c

ali m5603c

arguments in Philosophy recipes for cobb grill

recipes for cobb grill

you is simple recipe for tuna spaghetti

recipe for tuna spaghetti

microeconomics azasuke wind cg

azasuke wind cg

synonymous with obesity and fast food in usa

obesity and fast food in usa

become acquainted with mysene com

mysene com

the pragmatic theory steak alfredo recipe

steak alfredo recipe

released a single sena cursos

sena cursos

heterodox and by subfield syptoms of ring worm

syptoms of ring worm

verification practices centerfold models stockings tease

centerfold models stockings tease

made true by reunion by john cheever

reunion by john cheever

For example fish tank meth

fish tank meth

at least since Descartes recipe for white chocolate opera torte

recipe for white chocolate opera torte

and sometimes program to make recipe cards

program to make recipe cards

the statement that who is motel69 star

who is motel69 star

about human tilf hunter

tilf hunter

hard start might dr tushy physical exam

dr tushy physical exam

held that truth christmas log recipe marshmallow

christmas log recipe marshmallow

personal experiences duromine 30 mg

duromine 30 mg

My wife's mother uss decatur experiment results

uss decatur experiment results

and decisions determine