if ($k == "value") { $description = $v; } } } } } } //房屋配置 $equip = ""; if (is_array($node->field_h_equipment)) { foreach ($node->field_h_equipment as $key => $var) { if (is_array($var)) { foreach ($var as $key1 => $var1) { foreach ($var1 as $k => $v) { $equip .= get_taxonomy_namy_by_tid($v) . ' , '; //if($k=="value") //$deposit = $v; } } } } } $equip = substr($equip, 0, -2); //联系人field_contacts if (is_array($node->field_contacts)) { foreach ($node->field_contacts as $key => $var) { if (is_array($var)) { foreach ($var as $key1 => $var1) { foreach ($var1 as $k => $v) { if ($k == "value") {
if ($k == "tid") { $cqnd = get_taxonomy_namy_by_tid($v); } } } } } } //产权类型 if (is_array($node->field_rights)) { foreach ($node->field_rights as $key => $var) { if (is_array($var)) { foreach ($var as $key1 => $var1) { foreach ($var1 as $k => $v) { if ($k == "tid") { $rights = get_taxonomy_namy_by_tid($v); } } } } } } //建筑年代 if (is_array($node->field_years)) { foreach ($node->field_years as $key => $var) { if (is_array($var)) { foreach ($var as $key1 => $var1) { foreach ($var1 as $k => $v) { if ($k == "value") { $years = $v; }