+ switch ($_CONFIG['beg_pay_mode']) {
+ case "IMG":
+ define('__BEG_PAY_MODE_IMG' , " selected=\"selected\"");
+ define('__BEG_PAY_MODE_JS' , "");
+ define('__BEG_PAY_MODE_BOTH', "");
+ define('__BEG_PAY_MODE_NONE', "");
+ break;
+
+ case "JS":
+ define('__BEG_PAY_MODE_IMG' , "");
+ define('__BEG_PAY_MODE_JS' , " selected=\"selected\"");
+ define('__BEG_PAY_MODE_BOTH', "");
+ define('__BEG_PAY_MODE_NONE', "");
+ break;
+
+ case "BOTH":
+ define('__BEG_PAY_MODE_IMG' , "");
+ define('__BEG_PAY_MODE_JS' , "");
+ define('__BEG_PAY_MODE_BOTH', " selected=\"selected\"");
+ define('__BEG_PAY_MODE_NONE', "");
+ break;
+
+ case "NONE":
+ define('__BEG_PAY_MODE_IMG' , "");
+ define('__BEG_PAY_MODE_JS' , "");
+ define('__BEG_PAY_MODE_BOTH', "");
+ define('__BEG_PAY_MODE_NONE', " selected=\"selected\"");
+ break;
+ }
+