]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-start_surfbar.php
Code style changed, ext-user continued:
[mailer.git] / inc / modules / member / what-start_surfbar.php
index 4ea60d771b6414e38dee8fa66e3c75efad1d1c4d..297d8391465ca0f9df1bce15ab4e11a70a9302cf 100644 (file)
@@ -16,7 +16,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
+ * Copyright (c) 2009 - 2012 by Mailer Developer Team                   *
  * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -37,7 +37,7 @@
 
 // Some security stuff...
 if (!defined('__SECURITY')) {
-       die();
+       exit();
 } elseif (!isMember()) {
        redirectToIndexMemberOnlyModule();
 }
@@ -52,19 +52,19 @@ if ((!isExtensionActive('surfbar')) && (!isAdmin())) {
 
 // Prepare content for output
 $content = array(
-       'surfbar_total_urls'    => SURFBAR_GET_TOTAL_URLS('ACTIVE', 0)
+       'surfbar_total_urls'    => getSurfbarTotalUrls('ACTIVE', 0)
 );
 
 // In dynamic mode we need some more data
 if (getSurfbarPaymentModel() == 'DYNAMIC') {
        // Prepare content for dynamic surfbar
        $content = array(
-               'surfbar_total_urls'  => SURFBAR_GET_TOTAL_URLS('ACTIVE', 0),
+               'surfbar_total_urls'  => getSurfbarTotalUrls('ACTIVE', 0),
        );
 } // END - if
 
 // Load the template
-loadTemplate('member_start_surfbar_' . strtolower(getSurfbarPaymentModel()), false, $content);
+loadTemplate('member_start_surfbar_' . strtolower(getSurfbarPaymentModel()), FALSE, $content);
 
 // Load surfbar link template
 loadTemplate('member_surfbar_link');