]> git.mxchange.org Git - mailer.git/blobdiff - doubler.php
also prevent it in .htacces. You may want to add this to one of your files in /etc...
[mailer.git] / doubler.php
index 46f16f9122829361268eb60b0b08369c2629307e..c1b3b91a6ede2251280abda4083589d942a6fec9 100644 (file)
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : Punkteverdoppler                                 *
  * -------------------------------------------------------------------- *
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : Punkteverdoppler                                 *
  * -------------------------------------------------------------------- *
- * $Revision::                                                        $ *
- * $Date::                                                            $ *
- * $Tag:: 0.2.1-FINAL                                                 $ *
- * $Author::                                                          $ *
- * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2013 by Mailer Developer Team                   *
+ * Copyright (c) 2009 - 2016 by Mailer Developer Team                   *
  * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
  * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -45,8 +40,8 @@ $GLOBALS['__start_time'] = microtime(TRUE);
 $GLOBALS['__module']      = 'doubler';
 $GLOBALS['__output_mode'] = '0';
 
 $GLOBALS['__module']      = 'doubler';
 $GLOBALS['__output_mode'] = '0';
 
-// Load the required file(s)
-require('inc/config-global.php');
+// Initialize application
+require('inc/init.php');
 
 // Set content type
 setContentType('text/html');
 
 // Set content type
 setContentType('text/html');
@@ -177,7 +172,7 @@ if (getDoublerSendMode() == 'DIRECT') {
 } // END - if
 
 // Output header
 } // END - if
 
 // Output header
-loadIncludeOnce('inc/header.php');
+loadPageHeader();
 
 if (isValidUserData()) {
        // Transfer userid/nickname to constant
 
 if (isValidUserData()) {
        // Transfer userid/nickname to constant
@@ -206,7 +201,7 @@ $content['payout_history'] = generateDoublerTable(0, 'Y', 'N', 'DESC');
 loadTemplate('doubler_index', FALSE, $content);
 
 // Output footer
 loadTemplate('doubler_index', FALSE, $content);
 
 // Output footer
-loadIncludeOnce('inc/footer.php');
+loadPageFooter();
 
 // [EOF]
 ?>
 
 // [EOF]
 ?>