removing double spaces and html formating fixes
[squirrelmail.git] / src / printer_friendly_main.php
... / ...
CommitLineData
1<?php
2
3/**
4 * printer_friendly_main.php
5 *
6 * Copyright (c) 1999-2004 The SquirrelMail Project Team
7 * Licensed under the GNU GPL. For full terms see the file COPYING.
8 *
9 * @version $Id$
10 * @package squirrelmail
11 */
12
13/**
14 * Path for SquirrelMail required files.
15 * @ignore
16 */
17define('SM_PATH','../');
18
19/* SquirrelMail required files. */
20require_once(SM_PATH . 'include/validate.php');
21require_once(SM_PATH . 'functions/page_header.php');
22
23displayHtmlHeader( _("Printer Friendly"), '', FALSE );
24
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'];
29/* end globals */
30
31echo "<frameset rows=\"60, *\" noresize border=\"0\">\n".
32 '<frame src="printer_friendly_top.php" name="top_frame" scrolling="no" />'.
33 '<frame src="printer_friendly_bottom.php?passed_ent_id='.
34 urlencode($passed_ent_id) . '&amp;mailbox=' . urlencode($mailbox) .
35 '&amp;passed_id=' . $passed_id .
36 '" name="bottom_frame" />'.
37 "\n</frameset>\n".
38 "</html>\n";
39
40?>