rendered paste bodyfunction contact_info($id){ $empty = array(); $empty[CONTACT_AIM] = contact($id , CONTACT_AIM) ? 0 : 1; $empty[CONTACT_MSN] = contact($id , CONTACT_MSN) ? 0 : 1; $empty[CONTACT_ICQ] = contact($id , CONTACT_ICQ) ? 0 : 1; $empty[CONTACT_YAH] = contact($id , CONTACT_YAH) ? 0 : 1; $empty[CONTACT_MAIL] = contact($id , CONTACT_MAIL) ? 0 : 1; $str = "<table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"2\" class=\"profileTable\">"; $str .= "<tr class=\"profileTitle\">"; $str .= "<td><span class=\"profileTitleText\">Contact Info.</span></td>"; $str .= "</tr>"; $str .= "<tr class=\"profileContent\">"; $str .= "<td>"; $str .= contact($id , CONTACT_AIM) . $empty[CONTACT_AIM] ? "" : "<br \>"; $str .= contact($id , CONTACT_MSN) . $empty[CONTACT_MSN] ? "" : "<br \>"; $str .= contact($id , CONTACT_ICQ) . $empty[CONTACT_ICQ] ? "" : "<br \>"; $str .= contact($id , CONTACT_YAH) . $empty[CONTACT_YAH] ? "" : "<br \>"; $str .= contact($id , CONTACT_MAIL) . $empty[CONTACT_MAIL] ? "" : "<br \>"; $str .= "</td>"; $str .= "</tr>"; $str .= "</table>"; return $str;}