0) { $even_odd = 'odd'; foreach ($profile_fields as $key => $valtype) { // do not show the name or hidden values if ($key == 'name' || $valtype == 'hidden') { continue; } $value = $group->$key; if (empty($value)) { continue; } $options = array('value' => $group->$key); if ($valtype == 'tags') { $options['tag_names'] = $key; } if ($output = elgg_view("output/$valtype", $options)) { echo "