- case "N":
- define('__BONUS_STATS_Y', "");
- define('__BONUS_STATS_N', " checked=\"checked\"");
- break;
- }
- switch (getConfig('bonus_order_yn'))
- {
- case "Y":
- define('__BONUS_ORDER_Y', " checked=\"checked\"");
- define('__BONUS_ORDER_N', "");
- break;
-
- case "N":
- define('__BONUS_ORDER_Y', "");
- define('__BONUS_ORDER_N', " checked=\"checked\"");
- break;
- }
- switch (getConfig('bonus_ref_yn'))
- {
- case "Y":
- define('__BONUS_REF_Y', " checked=\"checked\"");
- define('__BONUS_REF_N', "");
- break;
-
- case "N":
- define('__BONUS_REF_Y', "");
- define('__BONUS_REF_N', " checked=\"checked\"");
- break;
- }
- switch (getConfig('bonus_click_yn'))
- {
- case "Y":
- define('__BONUS_CLICK_Y', " checked=\"checked\"");
- define('__BONUS_CLICK_N', "");
- break;
-
- case "N":
- define('__BONUS_CLICK_Y', "");
- define('__BONUS_CLICK_N', " checked=\"checked\"");
- break;
- }
- switch (getConfig('bonus_en_notify'))
- {
- case "Y":
- define('__BONUS_EN_NOTIFY_Y', " checked=\"checked\"");
- define('__BONUS_EN_NOTIFY_N', "");
- break;
-
- case "N":
- define('__BONUS_EN_NOTIFY_Y', "");
- define('__BONUS_EN_NOTIFY_N', " checked=\"checked\"");
- break;
- }
- switch (getConfig('bonus_di_notify'))
- {
- case "Y":
- define('__BONUS_DI_NOTIFY_Y', " checked=\"checked\"");
- define('__BONUS_DI_NOTIFY_N', "");
- break;
-
- case "N":
- define('__BONUS_DI_NOTIFY_Y', "");
- define('__BONUS_DI_NOTIFY_N', " checked=\"checked\"");
- break;
- }
- switch (getConfig('bonus_new_mem_notify'))
- {
- case "Y":
- define('__BONUS_NEW_MEMBER_NOTIFY_Y', " checked=\"checked\"");
- define('__BONUS_NEW_MEMBER_NOTIFY_N', "");
- break;
-
- case "N":
- define('__BONUS_NEW_MEMBER_NOTIFY_Y', "");
- define('__BONUS_NEW_MEMBER_NOTIFY_N', " checked=\"checked\"");
- break;
- }
- switch (getConfig('bonus_include_own'))
- {
- case "Y":
- define('__BONUS_INCLUDE_OWN_Y', " checked=\"checked\"");
- define('__BONUS_INCLUDE_OWN_N', "");
- break;
-
- case "N":
- define('__BONUS_INCLUDE_OWN_Y', "");
- define('__BONUS_INCLUDE_OWN_N', " checked=\"checked\"");
- break;
- }