egscripts/egmailwatchdocs/docs.php

39 lines
1.2 KiB
PHP
Raw Permalink Normal View History

<?
/*
MailWatch for MailScanner
Copyright (C) 2003 Steve Freegard (smf@f2s.com)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
require("./functions.php");
html_start("Documentation");
# modified rob@egressive.com 20070311
if (isset($_GET[doc])) {
include("docs/".$_GET[doc].".html");
} else {
// echo "<TABLE WIDTH=100% CLASS=\"BOXTABLE\">\n";
// echo " <TR>\n";
// echo " <TD>\n";
// echo " <H1>Documentation</H1>\n";
// echo " </TD>\n";
// echo " </TR>\n";
// echo "</TABLE>\n";
include("docs/egdoc.html");
}
html_end();
?>