<?php
/************************************************************************
* Mailer v0.2.1-FINAL Start: 02/04/2005 *
<?php
/************************************************************************
* Mailer v0.2.1-FINAL Start: 02/04/2005 *
* *
* -------------------------------------------------------------------- *
* File : what-list_bonus.php *
* *
* -------------------------------------------------------------------- *
* File : what-list_bonus.php *
* svn:keywords Date Revision" (autoprobset!) at least!!!!!! *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
* svn:keywords Date Revision" (autoprobset!) at least!!!!!! *
* -------------------------------------------------------------------- *
* 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 *
* For more information visit: http://www.mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
// Add description as navigation point
addMenuDescription('admin', __FILE__);
if (getConfig('bonus_active') == 'Y') {
// Shall I withdraw now?
// Add description as navigation point
addMenuDescription('admin', __FILE__);
if (getConfig('bonus_active') == 'Y') {
// Shall I withdraw now?
// Okay, let's prepare...
$curr = date('m', time()) - 1;
if (strlen($curr) == 1) $curr = '0' . $curr;
// Okay, let's prepare...
$curr = date('m', time()) - 1;
if (strlen($curr) == 1) $curr = '0' . $curr;
- if (getConfig('bonus_click_yn') == 'Y') $USE .= " + `turbo_bonus`";
- if (getConfig('bonus_login_yn') == 'Y') $USE .= " + `login_bonus`";
- if (getConfig('bonus_order_yn') == 'Y') $USE .= " + `bonus_order`";
- if (getConfig('bonus_stats_yn') == 'Y') $USE .= " + `bonus_stats`";
- if (getConfig('bonus_ref_yn') == 'Y') $USE .= " + `bonus_ref`";
+ if (getConfig('bonus_click_yn') == 'Y') $USE .= ' + `turbo_bonus`';
+ if (getConfig('bonus_login_yn') == 'Y') $USE .= ' + `login_bonus`';
+ if (getConfig('bonus_order_yn') == 'Y') $USE .= ' + `bonus_order`';
+ if (getConfig('bonus_stats_yn') == 'Y') $USE .= ' + `bonus_stats`';
+ if (getConfig('bonus_ref_yn') == 'Y') $USE .= ' + `bonus_ref`';
$content['withdraw_form'] = loadTemplate('admin_list_bonus_form', true);
} else {
// Display message "no manual withdraw possible"
$content['withdraw_form'] = loadTemplate('admin_list_bonus_form', true);
} else {
// Display message "no manual withdraw possible"
- $content['withdraw_form'] = loadTemplate('admin_settings_saved', true, "<div class=\"admin_failed\">{--ADMIN_BONUS_ALREADY_WITHDRAW--}</div>");
+ $content['withdraw_form'] = loadTemplate('admin_settings_saved', true, '<div class="admin_failed">{--ADMIN_BONUS_ALREADY_WITHDRAW--}</div>');
}
// Prepare constant for timemark
if (isExtensionActive('autopurge')) {
$content['autopurge_timeout'] = generateDateTime(time() - getConfig('ap_inactive_since'), 2);
} else {
}
// Prepare constant for timemark
if (isExtensionActive('autopurge')) {
$content['autopurge_timeout'] = generateDateTime(time() - getConfig('ap_inactive_since'), 2);
} else {
- $content['autopurge_timeout'] = loadTemplate('admin_settings_saved', true, sprintf(getMessage('EXTENSION_PROBLEM_NOT_INSTALLED'), 'autopurge'));
+ $content['autopurge_timeout'] = loadTemplate('admin_settings_saved', true, getMaskedMessage('EXTENSION_PROBLEM_NOT_INSTALLED', 'autopurge'));