$tit\n"; } displayPageHeader($color, $mailbox); $imapConnection = sqimap_login($username, $key, $imapServerAddress, $imapPort, 0); do_hook('search_before_form'); echo "
\n". " \n". " \n". '
\n". "
"._("Search")."
\n". "
'. "
\n". " \n". " \n". " \n". " '. "\n". " \n". " \n". "
\n". ' '. " \n"; if (!isset($what)) $what = ''; $what_disp = ereg_replace(',', ' ', $what); $what_disp = str_replace('\\\\', '\\', $what_disp); $what_disp = str_replace('\\"', '"', $what_disp); $what_disp = str_replace('"', '"', $what_disp); echo " \n". '\n". '\n" . " \n". " \n". "
\n". "
". "
"; do_hook("search_after_form"); if (isset($where) && $where && isset($what) && $what) { sqimap_mailbox_select($imapConnection, $mailbox); sqimap_search($imapConnection, $where, $what, $mailbox, $color); } do_hook("search_bottom"); sqimap_logout ($imapConnection); ?>