f226cba7 |
1 | <?php |
2 | |
35586184 |
3 | /** |
4 | * printer_friendly_main.php |
5 | * |
82d304a0 |
6 | * Copyright (c) 1999-2004 The SquirrelMail Project Team |
35586184 |
7 | * Licensed under the GNU GPL. For full terms see the file COPYING. |
8 | * |
30967a1e |
9 | * @version $Id$ |
8f6f9ba5 |
10 | * @package squirrelmail |
35586184 |
11 | */ |
f226cba7 |
12 | |
30967a1e |
13 | /** |
14 | * Path for SquirrelMail required files. |
15 | * @ignore |
16 | */ |
86725763 |
17 | define('SM_PATH','../'); |
18 | |
19 | /* SquirrelMail required files. */ |
08185f2a |
20 | require_once(SM_PATH . 'include/validate.php'); |
86725763 |
21 | require_once(SM_PATH . 'functions/page_header.php'); |
692155b7 |
22 | |
3bbf5974 |
23 | displayHtmlHeader( _("Printer Friendly"), '', FALSE ); |
692155b7 |
24 | |
0b97a708 |
25 | /* get those globals into gear */ |
26 | $passed_ent_id = $_GET['passed_ent_id']; |
9b761dbd |
27 | $passed_id = (int) $_GET['passed_id']; |
0b97a708 |
28 | $mailbox = $_GET['mailbox']; |
29 | /* end globals */ |
30 | |
3bbf5974 |
31 | echo "<frameset rows=\"60, *\" noresize border=\"0\">\n". |
d68323ff |
32 | '<frame src="printer_friendly_top.php" name="top_frame" scrolling="no" />'. |
3bbf5974 |
33 | '<frame src="printer_friendly_bottom.php?passed_ent_id='. |
9b761dbd |
34 | urlencode($passed_ent_id) . '&mailbox=' . urlencode($mailbox) . |
5e9e90fd |
35 | '&passed_id=' . $passed_id . |
d68323ff |
36 | '" name="bottom_frame" />'. |
37 | "\n</frameset>\n". |
3bbf5974 |
38 | "</html>\n"; |
692155b7 |
39 | |
5e9e90fd |
40 | ?> |