locked == 1) { array_push($locked_categories, $e_cat->guid); } } $cloud = ""; foreach ($value as $key => $cat_number) { if (!in_array($cat_number, $locked_categories)) { $cat_object = get_koolielu_category($cat_number); if (!empty($cloud)) $cloud .= ", "; $cloud .= " wwwroot . "pg/info/news/". $cat_number ."\" title=\"" . $cat_object->title . "\">" . $cat_object->title. ""; } } echo $cloud; ?>