4 * printer_friendly_main.php
6 * Copyright (c) 1999-2003 The SquirrelMail Project Team
7 * Licensed under the GNU GPL. For full terms see the file COPYING.
12 /* Path for SquirrelMail required files. */
13 define('SM_PATH','../');
15 /* SquirrelMail required files. */
16 require_once(SM_PATH
. 'include/validate.php');
17 require_once(SM_PATH
. 'functions/page_header.php');
19 displayHtmlHeader( _("Printer Friendly"), '', FALSE );
21 /* get those globals into gear */
22 $passed_ent_id = $_GET['passed_ent_id'];
23 $passed_id = (int) $_GET['passed_id'];
24 $mailbox = $_GET['mailbox'];
27 echo "<frameset rows=\"60, *\" noresize border=\"0\">\n".
28 '<frame src="printer_friendly_top.php" name="top_frame" scrolling="no" />'.
29 '<frame src="printer_friendly_bottom.php?passed_ent_id='.
30 urlencode($passed_ent_id) . '&mailbox=' . urlencode($mailbox) .
31 '&passed_id=' . $passed_id .
32 '" name="bottom_frame" />'.