4 * printer_friendly_main.php
6 * Copyright (c) 1999-2004 The SquirrelMail Project Team
7 * Licensed under the GNU GPL. For full terms see the file COPYING.
10 * @package squirrelmail
14 * Path for SquirrelMail required files.
17 define('SM_PATH','../');
19 /* SquirrelMail required files. */
20 require_once(SM_PATH
. 'include/validate.php');
21 require_once(SM_PATH
. 'functions/page_header.php');
23 displayHtmlHeader( _("Printer Friendly"), '', FALSE );
25 /* get those globals into gear */
26 $passed_ent_id = $_GET['passed_ent_id'];
27 $passed_id = (int) $_GET['passed_id'];
28 $mailbox = $_GET['mailbox'];
31 <frameset rows
="60, *" noresize
="noresize" border
="0">
32 <frame src
="printer_friendly_top.php" name
="top_frame" scrolling
="no" />
33 <frame src
="printer_friendly_bottom.php?passed_ent_id=<?php
34 echo urlencode($passed_ent_id) . '&mailbox=' . urlencode($mailbox) .
35 '&passed_id=' . $passed_id;
36 ?>" name
="bottom_frame" />