"Default", "2" => "Frontpage", "3" => "Κατηγορίες", "4" => "Προιόντα", "5" => "Καλάθι", "6" => ""); $products_patterns = array ("1" => "style1", "2" => "style2", "3" => "style3", "4" => "style4", "5" => "style5", "6" => "style6", "7" => "style7", "8" => "style8", "9" => "style9", "10" => "style10"); $users_categories = array ( "0" => "Όλοι", "1" => "Cat1", "2" => "Cat2", "3" => "Cat3", "4" => "Cat4", "5" => "Cat5"); ?>

 
=" . $theprice1; } else { $thequery01 = $thequery01. " WHERE (products_price<=" . $theprice2 . " AND products_price>=" . $theprice1 . ")"; } } else { $thequery01 = $thequery01. " WHERE products_group=" . $wh; } $thequery01 = $thequery01. " AND (products_access &" . $user_access . " OR products_access=0)"; $thequery01 = $thequery01. " AND (products_active=1)"; if (($wh==4) || ($wh==6) || ($wh==7)) { $thequery01 = $thequery01. " ORDER BY products_count DESC"; } else { $thequery01 = $thequery01. " ORDER BY products_order ASC"; } $thequery01 = $thequery01. " LIMIT $from, $max_results"; //echo "The query is $thequery01"; //<------- to be comment ?>