- switch (getConfig('removeip_guest_show')) {
- case 'Y':
- define('__CFG_REMOVEIP_GUEST_SHOW_Y', ' chkecked="checked"');
- define('__CFG_REMOVEIP_GUEST_SHOW_N', '');
- break;
-
- case 'N':
- define('__CFG_REMOVEIP_GUEST_SHOW_Y', '');
- define('__CFG_REMOVEIP_GUEST_SHOW_N', ' chkecked="checked"');
- break;
- } // END - switch
-
- switch (getConfig('removeip_member_show')) {
- case 'Y':
- define('__CFG_REMOVEIP_MEMBER_SHOW_Y', ' chkecked="checked"');
- define('__CFG_REMOVEIP_MEMBER_SHOW_N', '');
- break;
-
- case 'N':
- define('__CFG_REMOVEIP_MEMBER_SHOW_Y', '');
- define('__CFG_REMOVEIP_MEMBER_SHOW_N', ' chkecked="checked"');
- break;
- } // END - switch
-
- switch (getConfig('removeip_sponsor_show')) {
- case 'Y':
- define('__CFG_REMOVEIP_SPONSOR_SHOW_Y', ' chkecked="checked"');
- define('__CFG_REMOVEIP_SPONSOR_SHOW_N', '');
- break;
-
- case 'N':
- define('__CFG_REMOVEIP_SPONSOR_SHOW_Y', '');
- define('__CFG_REMOVEIP_SPONSOR_SHOW_N', ' chkecked="checked"');
- break;
- } // END - switch
-
- switch (getConfig('anonymous_ip')) {
- case "127.0.0.1":
- define('__CFG_ANONYMOUS_IP_LOCAL' , " selected=\"selected\"");
- define('__CFG_ANONYMOUS_IP_ZERO' , '');
- define('__CFG_ANONYMOUS_IP_RANDOM', '');
- break;
-
- case "0.0.0.0":
- define('__CFG_ANONYMOUS_IP_LOCAL' , '');
- define('__CFG_ANONYMOUS_IP_ZERO' , " selected=\"selected\"");
- define('__CFG_ANONYMOUS_IP_RANDOM', '');
- break;
-
- case "RANDOM":
- define('__CFG_ANONYMOUS_IP_LOCAL' , '');
- define('__CFG_ANONYMOUS_IP_ZERO' , '');
- define('__CFG_ANONYMOUS_IP_RANDOM', " selected=\"selected\"");
- break;
- } // END - switch