'; } } if($i%12 != 0){ $content.=''; } echo $content; unset($i); ?>
Execute($categories_query); $i = 0; $content = ''; while (!$categories->EOF) { $content = ''; if($j<11){ $box_categories_array_query = "select c.categories_id, cd.categories_name, c.parent_id from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.categories_id = cd.categories_id and cd.language_id = '" . (int)$_SESSION['languages_id'] . "' and c.categories_status=1 and c.parent_id = ".(int)$categories->fields["categories_id"]." order by c.sort_order, cd.categories_name"; $box_categories_array = $db->Execute($box_categories_array_query); if($box_categories_array->RecordCount() > 0){ $all_catelogies_ = explode('-->split<--',trim($all_catelogies->buildBranch((int)$categories->fields["categories_id"],$level = 0, $parent_link = (int)$categories->fields["categories_id"].'_'))); //$all_catelogies_[0]= ''.MEMU_SHOP_BY_CATALOG.'
'; $all_catelogies_[0] = ''; ?> '; } } if($i%12 != 0){ $content.=''; } echo $content; unset($content); ?> MoveNext(); } ?> '; echo $content; unset($content); ?>