message_details_main.php 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. /** Message Source
  3. *
  4. * Plugin to view the RFC822 raw message output and the bodystructure of a message
  5. *
  6. * Copyright (c) 2002 Marc Groot Koerkamp, The Netherlands
  7. * Licensed under the GNU GPL. For full terms see the file COPYING.
  8. *
  9. * $Id$
  10. * @package plugins
  11. * @subpackage message_details
  12. */
  13. /**
  14. * Path for SquirrelMail required files.
  15. * @ignore
  16. */
  17. define('SM_PATH','../../');
  18. /* SquirrelMail required files. */
  19. require_once(SM_PATH . 'include/validate.php');
  20. require_once(SM_PATH . 'functions/page_header.php');
  21. require_once(SM_PATH . 'functions/strings.php');
  22. displayHtmlHeader( _("Message Details"), '', FALSE );
  23. sqgetGlobalVar('mailbox', $mailbox, SQ_GET);
  24. sqgetGlobalVar('passed_id', $passed_id, SQ_GET);
  25. echo "<frameset rows=\"60, *\" noresize border=\"0\">\n";
  26. echo '<frame src="message_details_top.php?mailbox=' . urlencode($mailbox) .'&passed_id=' . "$passed_id". '" name="top_frame" scrolling="off">';
  27. echo '<frame src="message_details_bottom.php?mailbox=' . urlencode($mailbox) .'&passed_id=' . "$passed_id" . '" name="bottom_frame">';
  28. echo '</frameset>'."\n"."</html>\n";
  29. ?>