0 && tep_count_products_in_category_without_sub($category_id) > 0 && $count < 10) { $id = 0; $produkt_query = tep_db_query("select products_id as ID from ". TABLE_PRODUCTS_TO_CATEGORIES ." WHERE categories_id = ". $category_id. " LIMIT 0,". rand(1,10) ); while($ids = tep_db_fetch_array($produkt_query)) { $id = $ids['ID']; } $image_query = tep_db_query("select products_image as img from ". TABLE_PRODUCTS ." WHERE products_id = ". $id. " LIMIT 0,1"); while($img_src = tep_db_fetch_array($image_query)) { if(strlen($img_src['img']) > 0) { $retun_val = $img_src['img']; } } if(!(tep_not_null($retun_val))) { $retun_val = get_random_cat_image($category_id, $count++); } } else if($category_id > 0 && tep_has_category_subcategories($category_id) && $count < 10) { $category_query = tep_db_query("select categories_id as ID from ". TABLE_CATEGORIES ." WHERE parent_id = ". $category_id ." LIMIT 0,". rand(1,10) ); while($ids = tep_db_fetch_array($category_query)) { $id = $ids['ID']; $retun_val = get_random_cat_image($id, $count++); } } else { $retun_val = 'empty.gif'; } return $retun_val; } //Changed from osCommerce function tep_count_products_in_category_without_sub($category_id, $include_inactive = false) { $products_count = 0; if ($include_inactive == true) { $products_query = tep_db_query("select count(*) as total from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c where p.products_id = p2c.products_id and p2c.categories_id = '" . (int)$category_id . "'"); } else { $products_query = tep_db_query("select count(*) as total from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c where p.products_id = p2c.products_id and p.products_status = '1' and p2c.categories_id = '" . (int)$category_id . "'"); } $products = tep_db_fetch_array($products_query); return $products['total']; } ?> Deck Plans, Double Level Designs
Home Decks, Inc. My Account  |  Create Account  |  Site Map    
Deck Picture
Online Deck Catalog
 Deck Plans
 Pay & Download Plans Instantly
 Instructions & Material List Included
SHOPPING CART
Your cart is empty 
Total: $0.00
Cart Contents Checkout
homedecks.comAbout Deck PlansHow To Download and Opening PlansLinking to homedecks.comAffiliate InformationAbout homedecks.com
DECK PLANS
Decks Single Level
Decks Double Level
  351-420 sq.ft
  421-520 sq.ft.
  521-620 sq.ft.
  621-1020 sq.ft.
Decks Multi Level
L-Shape Decks
Pool Decks
Hot Tub Decks
Access Ramps
Deck Magazines
COMPLETED DECKS
Pictures of Decks
Deck Pictures

Pictures of decks built from downloaded deck plans.
DECK ARTICLES
Deck Planning
Deck Permits
Selecting Materials
Before Building
Deck Glosssary
Helpful Tips
Questions & Answers
Deck Railings
Repairing Decks
Replacing a Deck
Cleaning & Sealing
Building Departments
Designing a Deck
Message Board
One-Call UFPO
DECK MATERIALS
Cedar
Redwood
Pressure Treated
Trex
Evergrain
Timbertech
Ipe
Mahogany
WHAT'S NEW? more
Building Decks
Building Decks
$14.95

View Latest Additions
SHOPPING CART more
You have 0 items in the shopping cart
Deck Questions and Answers
Newspaper Article, The Record

Deck Plans, Double Level Designs


Fatal error: Call to undefined function get_random_cat_image() in /home/steve845/public_html/index.php on line 132