if (GET_EXT_VERSION("bonus") >= "0.6.9") {
// Add more bonus points here
$USE = "(0";
- if ($CONFIG['bonus_click_yn'] == "Y") $USE .= " + turbo_bonus";
- if ($CONFIG['bonus_login_yn'] == "Y") $USE .= " + login_bonus";
- if ($CONFIG['bonus_order_yn'] == "Y") $USE .= " + bonus_order";
- if ($CONFIG['bonus_stats_yn'] == "Y") $USE .= " + bonus_stats";
- if ($CONFIG['bonus_ref_yn'] == "Y") $USE .= " + bonus_ref";
+ if ($CONFIG['bonus_click_yn'] == 'Y') $USE .= " + turbo_bonus";
+ if ($CONFIG['bonus_login_yn'] == 'Y') $USE .= " + login_bonus";
+ if ($CONFIG['bonus_order_yn'] == 'Y') $USE .= " + bonus_order";
+ if ($CONFIG['bonus_stats_yn'] == 'Y') $USE .= " + bonus_stats";
+ if ($CONFIG['bonus_ref_yn'] == 'Y') $USE .= " + bonus_ref";
$USE .= ")";
} else {
// Old version ???
// Autopurge installed?
$LAST = ""; $ONLINE = "";
- if ((EXT_IS_ACTIVE("autopurge")) && ($CONFIG['ap_inactive'] == "Y") && ($CONFIG['ap_in_since'] > 0)) {
+ if ((EXT_IS_ACTIVE("autopurge")) && ($CONFIG['ap_inactive'] == 'Y') && ($CONFIG['ap_in_since'] > 0)) {
// Use last online timestamp to keep inactive members away from here
$LAST = " AND last_online >= ";
$ONLINE = bigintval(time() - $CONFIG['ap_in_since']);
// Autopurge installed?
$LAST = ""; $ONLINE = "";
- if ((EXT_IS_ACTIVE("autopurge")) && ($CONFIG['ap_inactive'] == "Y") && ($CONFIG['ap_in_since'] > 0)) {
+ if ((EXT_IS_ACTIVE("autopurge")) && ($CONFIG['ap_inactive'] == 'Y') && ($CONFIG['ap_in_since'] > 0)) {
// Use last online timestamp to keep inactive members away from here
$LAST = " AND last_online >= ";
$ONLINE = bigintval(time() - $CONFIG['ap_in_since']);