]> git.mxchange.org Git - mailer.git/blobdiff - 0.2.1/inc/footer.php
win32 to unix line delimiters changed
[mailer.git] / 0.2.1 / inc / footer.php
index ac69417377efd830c44995c5565b2ee4531c5785..cbd10e8da55d57fb500ad79294e30e6eb521340c 100644 (file)
@@ -1,96 +1,96 @@
-<?php\r
-/************************************************************************\r
- * MXChange v0.2.1                                    Start: 08/25/2003 *\r
- * ===============                              Last change: 10/23/2004 *\r
- *                                                                      *\r
- * -------------------------------------------------------------------- *\r
- * File              : footer.php                                       *\r
- * -------------------------------------------------------------------- *\r
- * Short description : Add the HTML code for the footer                 *\r
- * -------------------------------------------------------------------- *\r
- * Kurzbeschreibung  : Den Fuss des HTML-Codes hinzufügen               *\r
- * -------------------------------------------------------------------- *\r
- *                                                                      *\r
- * -------------------------------------------------------------------- *\r
- * Copyright (c) 2003 - 2007 by Roland Haeder                           *\r
- * For more information visit: http://www.mxchange.org                  *\r
- *                                                                      *\r
- * This program is free software; you can redistribute it and/or modify *\r
- * it under the terms of the GNU General Public License as published by *\r
- * the Free Software Foundation; either version 2 of the License, or    *\r
- * (at your option) any later version.                                  *\r
- *                                                                      *\r
- * This program is distributed in the hope that it will be useful,      *\r
- * but WITHOUT ANY WARRANTY; without even the implied warranty of       *\r
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the        *\r
- * GNU General Public License for more details.                         *\r
- *                                                                      *\r
- * You should have received a copy of the GNU General Public License    *\r
- * along with this program; if not, write to the Free Software          *\r
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,               *\r
- * MA  02110-1301  USA                                                  *\r
- ************************************************************************/\r
-\r
-// Global variable stuff\r
-global $link, $frame, $CSS, $_GET, $header, $_SERVER;\r
-\r
-// Some security stuff...\r
-if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
-{\r
-       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
-       require($INC);\r
-}\r
-\r
-if (($FOOTER != "1") && ($FOOTER != "2") && ($CSS != "1"))\r
-{\r
-       // Currently nothing more...\r
-       if (((frameset_active) || ($GLOBALS['module'] == "frametester") || ($header < 2)) && (empty($frame)))\r
-       {\r
-               // Add some non-frameset stuff\r
-               OUTPUT_HTML ("<NOFRAMES>\r
-<BODY>");\r
-       }\r
-\r
-       // Output the generated HTML code or do nothing in direct-mode\r
-       if (!empty($FATAL[0]))\r
-       {\r
-               // Output fatal error messages\r
-               require_once(PATH."inc/fatal_errors.php");\r
-       }\r
-\r
-       // Shall we display the copyright notice?\r
-       if ((empty($frame)) && (basename($_SERVER['PHP_SELF']) != "mailid_top.php") && (WRITE_FOOTER == true))\r
-       {\r
-               LOAD_TEMPLATE("copyright");\r
-       }\r
-\r
-       // Load page footer\r
-       LOAD_TEMPLATE("page_footer");\r
-\r
-       if (((frameset_active) || ($GLOBALS['module'] == "frametester")) && ($FOOTER == "1"))\r
-       {\r
-               // Add the closing NOFRAMES tag\r
-               OUTPUT_HTML ("</NOFRAMES>");\r
-       }\r
-       // And the last closing HTML tag\r
-       OUTPUT_HTML ("</HTML>");\r
-\r
-       // Footer has been reached\r
-       $FOOTER = 1;\r
-\r
-       // Output HTML code\r
-       OUTPUT_HTML ("");\r
-\r
-       // Close link\r
-       if ($link) { SQL_CLOSE($link, __FILE__, __LINE__); } else { ADD_FATAL(NO_DB_LINK); }\r
-}\r
- elseif ($CSS == "1")\r
-{\r
-       // Footer has been reached\r
-       $FOOTER = 1;\r
-\r
-       // Output CSS content\r
-       OUTPUT_HTML ("");\r
-}\r
-//\r
-?>\r
+<?php
+/************************************************************************
+ * MXChange v0.2.1                                    Start: 08/25/2003 *
+ * ===============                              Last change: 10/23/2004 *
+ *                                                                      *
+ * -------------------------------------------------------------------- *
+ * File              : footer.php                                       *
+ * -------------------------------------------------------------------- *
+ * Short description : Add the HTML code for the footer                 *
+ * -------------------------------------------------------------------- *
+ * Kurzbeschreibung  : Den Fuss des HTML-Codes hinzuf�gen               *
+ * -------------------------------------------------------------------- *
+ *                                                                      *
+ * -------------------------------------------------------------------- *
+ * Copyright (c) 2003 - 2008 by Roland Haeder                           *
+ * For more information visit: http://www.mxchange.org                  *
+ *                                                                      *
+ * 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., 51 Franklin St, Fifth Floor, Boston,               *
+ * MA  02110-1301  USA                                                  *
+ ************************************************************************/
+
+// Global variable stuff
+global $link, $frame, $CSS, $_GET, $header, $_SERVER;
+
+// Some security stuff...
+if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))
+{
+       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
+       require($INC);
+}
+
+if (($FOOTER != "1") && ($FOOTER != "2") && ($CSS != "1"))
+{
+       // Currently nothing more...
+       if (((frameset_active) || ($GLOBALS['module'] == "frametester") || ($header < 2)) && (empty($frame)))
+       {
+               // Add some non-frameset stuff
+               OUTPUT_HTML ("<NOFRAMES>
+<BODY>");
+       }
+
+       // Output the generated HTML code or do nothing in direct-mode
+       if (!empty($FATAL[0]))
+       {
+               // Output fatal error messages
+               require_once(PATH."inc/fatal_errors.php");
+       }
+
+       // Shall we display the copyright notice?
+       if ((empty($frame)) && (basename($_SERVER['PHP_SELF']) != "mailid_top.php") && (WRITE_FOOTER == true))
+       {
+               LOAD_TEMPLATE("copyright");
+       }
+
+       // Load page footer
+       LOAD_TEMPLATE("page_footer");
+
+       if (((frameset_active) || ($GLOBALS['module'] == "frametester")) && ($FOOTER == "1"))
+       {
+               // Add the closing NOFRAMES tag
+               OUTPUT_HTML ("</NOFRAMES>");
+       }
+       // And the last closing HTML tag
+       OUTPUT_HTML ("</HTML>");
+
+       // Footer has been reached
+       $FOOTER = 1;
+
+       // Output HTML code
+       OUTPUT_HTML ("");
+
+       // Close link
+       if ($link) { SQL_CLOSE($link, __FILE__, __LINE__); } else { ADD_FATAL(NO_DB_LINK); }
+}
+ elseif ($CSS == "1")
+{
+       // Footer has been reached
+       $FOOTER = 1;
+
+       // Output CSS content
+       OUTPUT_HTML ("");
+}
+//
+?>