]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/what-welcome.php
First batch of removal of the headers needed for revision-functions.php
[mailer.git] / inc / modules / guest / what-welcome.php
index c8e885c4a06704585a8c8d3a0cd601073d2e40c0..a980e64fd5ae6650b7c07c08da874529e7d19e7d 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /************************************************************************
- * MXChange v0.2.1                                    Start: 10/10/2003 *
- * ===============                              Last change: 03/26/2004 *
+ * Mailer v0.2.1-FINAL                                Start: 10/10/2003 *
+ * ===================                          Last change: 03/26/2004 *
  *                                                                      *
  * -------------------------------------------------------------------- *
  * File              : what-welcome.php                                 *
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : Willkommensseite                                 *
  * -------------------------------------------------------------------- *
- *                                                                      *
- * -------------------------------------------------------------------- *
- * Copyright (c) 2003 - 2008 by Roland Haeder                           *
- * For more information visit: http://www.mxchange.org                  *
+ * Copyright (c) 2003 - 2009 by Roland Haeder                           *
+ * Copyright (c) 2009 - 2013 by Mailer Developer Team                   *
+ * For more information visit: http://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 *
 
 // Some security stuff...
 if (!defined('__SECURITY')) {
-       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
-       require($INC);
-}
+       exit();
+} // END - if
 
 // Add description as navigation point
-ADD_DESCR("guest", basename(__FILE__));
+addYouAreHereLink('guest', __FILE__);
+
+// Prepare content
+$content['ref_levels'] = countSumTotalData('', 'refdepths', 'id', '', TRUE, ' WHERE `level` > 0');
 
 // Load default template
-LOAD_TEMPLATE(substr(basename(__FILE__), 5, -4));
+loadTemplate('welcome', FALSE, $content);
 
-//
+// [EOF]
 ?>