- if ($_CONFIG['test_text'] == 'N')
- {
- define('_CFG_TEST_TEXT_N', ' checked');
- define('_CFG_TEST_TEXT_Y', "");
- }
- else
- {
- define('_CFG_TEST_TEXT_N', "");
- define('_CFG_TEST_TEXT_Y', ' checked');
- }
- if ($_CONFIG['test_subj'] == 'N')
- {
- define('_CFG_TEST_SUBJ_N', ' checked');
- define('_CFG_TEST_SUBJ_Y', "");
- }
- else
- {
- define('_CFG_TEST_SUBJ_N', "");
- define('_CFG_TEST_SUBJ_Y', ' checked');
- }
- if ($_CONFIG['url_blacklist'] == 'N')
- {
- define('_CFG_URL_BLIST_N', ' checked');
- define('_CFG_URL_BLIST_Y', "");
- }
- else
- {
- define('_CFG_URL_BLIST_N', "");
- define('_CFG_URL_BLIST_Y', ' checked');
- }
- if ($_CONFIG['order_multi_page'] == 'N')
- {
- define('_CFG_ORDER_MULTI_N', ' checked');
- define('_CFG_ORDER_MULTI_Y', "");
- }
- else
- {
- define('_CFG_ORDER_MULTI_N', "");
- define('_CFG_ORDER_MULTI_Y', ' checked');
- }
- if ($_CONFIG['autosend_active'] == 'N')
- {
- define('_CFG_AUTOSEND_ACTIVE_N', ' checked');
- define('_CFG_AUTOSEND_ACTIVE_Y', "");
- }
- else
- {
- define('_CFG_AUTOSEND_ACTIVE_N', "");
- define('_CFG_AUTOSEND_ACTIVE_Y', ' checked');
- }
- if ($_CONFIG['send_prof_update'] == 'N')
- {
- define('_CFG_SEND_UPDATE_N', ' checked');
- define('_CFG_SEND_UPDATE_Y', "");
- }
- else
- {
- define('_CFG_SEND_UPDATE_N', "");
- define('_CFG_SEND_UPDATE_Y', ' checked');
- }
- if ($_CONFIG['admin_notify'] == 'N')
- {
- define('_CFG_ADMIN_NOTIFY_N', ' checked');
- define('_CFG_ADMIN_NOTIFY_Y', "");
- }
- else
- {
- define('_CFG_ADMIN_NOTIFY_N', "");
- define('_CFG_ADMIN_NOTIFY_Y', ' checked');
- }
- if ($_CONFIG['css_php'] == "DIRECT")
- {
- define('_CFG_CSS_PHP_DIRECT', ' checked');
- define('_CFG_CSS_PHP_FILE', "");
- }
- else
- {
- define('_CFG_CSS_PHP_DIRECT', "");
- define('_CFG_CSS_PHP_FILE', ' checked');
- }
- if ($_CONFIG['guest_menu'] == 'Y') {
- define('_CFG_GUEST_MENU_ACTIVE', ' checked');
- define('_CFG_GUEST_MENU_INACTIVE', "");
- } else {
- define('_CFG_GUEST_MENU_ACTIVE', "");
- define('_CFG_GUEST_MENU_INACTIVE', ' checked');
- }
- if ($_CONFIG['member_menu'] == 'Y') {
- define('_CFG_MEMBER_MENU_ACTIVE', ' checked');
- define('_CFG_MEMBER_MENU_INACTIVE', "");
- } else {
- define('_CFG_MEMBER_MENU_ACTIVE', "");
- define('_CFG_MEMBER_MENU_INACTIVE', ' checked');
- }
- if ($_CONFIG['youre_here'] == 'Y') {
- define('_CFG_YOURE_HERE_ACTIVE', ' checked');
- define('_CFG_YOURE_HERE_INACTIVE', "");
- } else {
- define('_CFG_YOURE_HERE_ACTIVE', "");
- define('_CFG_YOURE_HERE_INACTIVE', ' checked');
- }
- if ($_CONFIG['show_timings'] == 'Y') {
- define('_CFG_SHOW_TIMINGS_Y', ' checked');
- define('_CFG_SHOW_TIMINGS_N', "");
- } else {
- define('_CFG_SHOW_TIMINGS_Y', "");
- define('_CFG_SHOW_TIMINGS_N', ' checked');
- }
- if ($_CONFIG['mailid_error_redirect'] == 'index') {
- define('_CFG_MAILID_REDIRECT_INDEX', ' checked');
- define('_CFG_MAILID_REDIRECT_REJECT', "");
- } else {
- define('_CFG_MAILID_REDIRECT_INDEX', "");
- define('_CFG_MAILID_REDIRECT_REJECT', ' checked');
- }