</div> <!--End of adblock--> <div class="content_block"> <div id="content"> <?php //$settings = new SliderSettings(); include_once "phplibs/class_item.php"; $n = 5; //кол-во товара на одну строку $width = 200; $height = 270; $tovar = new Tovar(); $toolbar = new ToolBar(); $toolbar->construct(); $tovar->setSize($width, $height); $tovar->setStyle("#FF7373"); $tovar->setMargin($n * $width + 20 * $n); //задать равноудаленность для товаров $odrer_query = ""; $title = "Главная"; switch ($_GET['age']) { case "jun": $odrer_query .= " WHERE `pet_age_id` = 1"; break; case "pregnant": $odrer_query .= " WHERE `pet_age_id` = 2"; break; case "adults": $odrer_query .= " WHERE `pet_age_id` = 3"; break; case "grand":