\n"; while (list($undef, $row) = each($res)) { $email = htmlspecialchars(addcslashes(AddressBook::full_address($row), "'"), ENT_QUOTES); if ($line % 2) { $tr_bgcolor = $color[12]; } else { $tr_bgcolor = $color[4]; } echo html_tag( 'tr', '', '', $tr_bgcolor, 'nowrap' ) . html_tag( 'td', '"._("To")." | " . '"._("Cc")." | " . '"._("Bcc")."", 'center', '', 'valign="top" width="5%" nowrap' ) . html_tag( 'td', ' ' . htmlspecialchars($row['name']), 'left', '', 'valign="top" nowrap' ) . html_tag( 'td', ' ' . '" . htmlspecialchars($row['email']) . '' , 'left', '', 'valign="top"' ) . html_tag( 'td', htmlspecialchars($row['label']), 'left', '', 'valign="top" nowrap' ); if ($includesource) { echo html_tag( 'td', ' ' . $row['source'], 'left', '', 'valign="top" nowrap' ); } echo "\n"; $line++; } echo ''; } /* ================= End of functions ================= */ require_once('../functions/strings.php'); require_once('../functions/addressbook.php'); displayHtmlHeader(); /* Initialize vars */ if (!isset($query)) { $query = ''; } if (!isset($show)) { $show = ''; } if (!isset($backend)) { $backend = ''; } /* Choose correct colors for top and bottom frame */ if ($show == 'form' && !isset($listall)) { echo '
'; } else { echo '\n"; } /* Empty search */ if (empty($query) && empty($show) && empty($listall)) { echo html_tag( 'p', '