Moving some HTML out of PHP
[squirrelmail.git] / src / printer_friendly_main.php
CommitLineData
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 17define('SM_PATH','../');
18
19/* SquirrelMail required files. */
08185f2a 20require_once(SM_PATH . 'include/validate.php');
86725763 21require_once(SM_PATH . 'functions/page_header.php');
692155b7 22
3bbf5974 23displayHtmlHeader( _("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 */
5e9e90fd 30?>
ce6d6a99 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) . '&amp;mailbox=' . urlencode($mailbox) .
35 '&amp;passed_id=' . $passed_id;
36 ?>" name="bottom_frame" />
37</frameset>
38</html>