<?php
/************************************************************************
- * MXChange v0.2.1 Start: 10/25/2009 *
- * =============== Last change: 10/25/2009 *
+ * Mailer v0.2.1-FINAL Start: 10/25/2009 *
+ * =================== Last change: 10/25/2009 *
* *
* -------------------------------------------------------------------- *
* File : reset_100_bonus.php *
}
// Do not execute when script is in CSS mode or no daily reset
-if ((getOutputMode() != 0) || (!isResetModeEnabled()) || (getConfig('beg_rallye') == 'Y')) return;
+if ((getOutputMode() != 0) || (!isResetModeEnabled())) return;
//* DEBUG: */ outputHtml(basename(__FILE__)."<br />");
// Check for 100% klickrate mails
FROM
`{?_MYSQL_PREFIX?}_user_stats`
WHERE
- `max_rec`=`clicks` AND `clicks` > 0 AND `bonus_stats_active`='N'
+ `max_rec`=`clicks` AND
+ `clicks` > 0 AND
+ `bonus_stats_active`='N'
ORDER BY
`userid` ASC", __FILE__, __LINE__);
if (SQL_NUMROWS($result_bonus) > 0) {
- // Remember stats bonus in constant
- $content['points'] = translateComma(getConfig('bonus_stats'));
-
// We found some mail orders...
while ($content = merge_array($content, SQL_FETCHARRAY($result_bonus))) {
// Add points