]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/what-infos.php
Huge script change, see http://forum.mxchange.org/topic-458.html for details:
[mailer.git] / inc / modules / guest / what-infos.php
index 03e203339f55160bf81caf7d9cb1c3cc716d9ef3..db0320149fc5991ea7b485366ba62276245cc64e 100644 (file)
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : Allgemeine Informationen                         *
  * -------------------------------------------------------------------- *
- *                                                                      *
+ * $Revision::                                                        $ *
+ * $Date::                                                            $ *
+ * $Tag:: 0.2.1-FINAL                                                 $ *
+ * $Author::                                                          $ *
+ * Needs to be in all Files and every File needs "svn propset           *
+ * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
- * Copyright (c) 2003 - 2008 by Roland Haeder                           *
+ * Copyright (c) 2003 - 2009 by Roland Haeder                           *
  * For more information visit: http://www.mxchange.org                  *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
  ************************************************************************/
 
 // 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 (!defined('__SECURITY')) {
+       die();
+} // END - if
+
 // Add description as navigation point
-ADD_DESCR("guest", basename(__FILE__));
+addMenuDescription('guest', __FILE__);
+
+// Load default template
+loadTemplate(substr(basename(__FILE__), 5, -4));
 
-OPEN_TABLE("100%", "guest_content_align", "");
-LOAD_TEMPLATE(substr(basename(__FILE__), 5, -4));
-CLOSE_TABLE();
-//
+// [EOF]
 ?>