inc/modules/admin/action-wernis.php svneol=native#text/plain
inc/modules/admin/admin-inc.php svneol=native#text/plain
inc/modules/admin/overview-inc.php svneol=native#text/plain
+inc/modules/admin/subid- svneol=native#text/plain
+inc/modules/admin/subid-stats.php svneol=native#text/plain
inc/modules/admin/what- svneol=native#text/plain
inc/modules/admin/what-add_bank_package.php svneol=native#text/plain
inc/modules/admin/what-add_guestnl_cat.php svneol=native#text/plain
inc/modules/admin/what-list_links.php svneol=native#text/plain
inc/modules/admin/what-list_network_api_translation.php svneol=native#text/plain
inc/modules/admin/what-list_network_array_translation.php svneol=native#text/plain
+inc/modules/admin/what-list_network_data.php svneol=native#text/plain
inc/modules/admin/what-list_network_params.php svneol=native#text/plain
inc/modules/admin/what-list_network_request_params.php svneol=native#text/plain
inc/modules/admin/what-list_network_types.php svneol=native#text/plain
templates/de/html/admin/admin_delete_email_max_rec_row.tpl svneol=native#text/plain
templates/de/html/admin/admin_delete_email_normal.tpl svneol=native#text/plain
templates/de/html/admin/admin_delete_email_notify.tpl svneol=native#text/plain
+templates/de/html/admin/admin_delete_extensions.tpl svneol=native#text/plain
+templates/de/html/admin/admin_delete_extensions_row.tpl svneol=native#text/plain
+templates/de/html/admin/admin_delete_extensions_row_404.tpl svneol=native#text/plain
templates/de/html/admin/admin_delete_forced_ads.tpl svneol=native#text/plain
templates/de/html/admin/admin_delete_forced_ads_row.tpl svneol=native#text/plain
templates/de/html/admin/admin_delete_forced_costs.tpl svneol=native#text/plain
templates/de/html/admin/admin_edit_email_max_rec_row.tpl svneol=native#text/plain
templates/de/html/admin/admin_edit_email_row.tpl svneol=native#text/plain
templates/de/html/admin/admin_edit_email_select.tpl svneol=native#text/plain
+templates/de/html/admin/admin_edit_extensions.tpl svneol=native#text/plain
+templates/de/html/admin/admin_edit_extensions_row.tpl svneol=native#text/plain
templates/de/html/admin/admin_edit_forced_ads.tpl svneol=native#text/plain
templates/de/html/admin/admin_edit_forced_ads_row.tpl svneol=native#text/plain
templates/de/html/admin/admin_edit_forced_campaigns.tpl svneol=native#text/plain
templates/de/html/admin/admin_list_email_max_rec_row.tpl svneol=native#text/plain
templates/de/html/admin/admin_list_emails.tpl svneol=native#text/plain
templates/de/html/admin/admin_list_emails_row.tpl svneol=native#text/plain
+templates/de/html/admin/admin_list_extensions.tpl svneol=native#text/plain
+templates/de/html/admin/admin_list_extensions_row.tpl svneol=native#text/plain
templates/de/html/admin/admin_list_forced_ads.tpl svneol=native#text/plain
templates/de/html/admin/admin_list_forced_ads_row.tpl svneol=native#text/plain
templates/de/html/admin/admin_list_forced_campaigns.tpl svneol=native#text/plain
templates/de/html/admin/admin_list_network_array_translation_row.tpl svneol=native#text/plain
templates/de/html/admin/admin_list_network_config.tpl svneol=native#text/plain
templates/de/html/admin/admin_list_network_config_row.tpl svneol=native#text/plain
+templates/de/html/admin/admin_list_network_data.tpl svneol=native#text/plain
+templates/de/html/admin/admin_list_network_data_row.tpl svneol=native#text/plain
templates/de/html/admin/admin_list_network_params.tpl svneol=native#text/plain
templates/de/html/admin/admin_list_network_params_row.tpl svneol=native#text/plain
templates/de/html/admin/admin_list_network_request_params.tpl svneol=native#text/plain
templates/de/html/admin/admin_list_user_row.tpl svneol=native#text/plain
templates/de/html/admin/admin_list_user_sort.tpl svneol=native#text/plain
templates/de/html/admin/admin_list_user_sort_form.tpl svneol=native#text/plain
+templates/de/html/admin/admin_list_user_subid.tpl svneol=native#text/plain
+templates/de/html/admin/admin_list_user_subid_row.tpl svneol=native#text/plain
+templates/de/html/admin/admin_list_user_subid_stats.tpl svneol=native#text/plain
+templates/de/html/admin/admin_list_user_subid_stats_row.tpl svneol=native#text/plain
templates/de/html/admin/admin_list_wernis_main.tpl svneol=native#text/plain
templates/de/html/admin/admin_list_wernis_row.tpl svneol=native#text/plain
templates/de/html/admin/admin_list_yoomedia_tm.tpl svneol=native#text/plain
./inc/expression-functions.php:46: // @TODO is escapeQuotes() enougth for strings with single/double quotes?
./inc/extensions/ext-html_mail.php:136: // @TODO Move these arrays into config
./inc/extensions/ext-menu.php:52: // @TODO Convert menu-Id to one coding-standard. admin(edit|_add) => admin_menu_(edit|add), mem(edit|_add) => (edit|add)_(admin|guest|member)_menu
+./inc/extensions/ext-network.php:101: // @TODO network_type_handler is an internal name and needs documentation
./inc/extensions/ext-network.php:18: * @TODO Ad-Magnet: Layer(klick?). Layerviews.Skybannerklick/-view, *
./inc/extensions/ext-network.php:19: * @TODO Ad-Magnet: Banner-View, Textlink-Klick/-View. Page-Peel *
./inc/extensions/ext-network.php:20: * @TODO ADCocktail: All request parameters, BIDausKAS, WIDausKAS??? *
./inc/extensions/ext-network.php:32: * @TODO GeldSponsor.de Requires ID card copy/business reg. *
./inc/extensions/ext-network.php:33: * @TODO GolloX: Which charset? *
./inc/extensions/ext-network.php:34: * @TODO paid4ad: Which URLs for click and banner? *
-./inc/extensions/ext-network.php:35: * @TODO VIPads: HTML text is send encoded with BASE64 *
-./inc/extensions/ext-network.php:36: * @TODO Der Werbepartner.cc: Banner click/view is JavaScript! *
-./inc/extensions/ext-network.php:37: * @TODO Der Werbepartner.cc: Forced textlink not correct *
-./inc/extensions/ext-network.php:38: * @TODO Der Werbepartner.cc: Layer not correct *
-./inc/extensions/ext-network.php:39: * @TODO Der Werbepartner.cc: Sky banner is JavaScript! *
-./inc/extensions/ext-network.php:40: * @TODO Der Werbepartner.cc: Surfbar click not correct *
-./inc/extensions/ext-network.php:41: * @TODO Der Werbepartner.cc: Textlink not not correct *
-./inc/extensions/ext-network.php:42: * @TODO Yoo!Media: What is LayerAd compared to Layer click? *
-./inc/extensions/ext-network.php:99: // @TODO network_type_handler is an internal name and needs documentation
+./inc/extensions/ext-network.php:35: * @TODO SuperPromo24: HighForced banner, leader board, mini/page layer *
+./inc/extensions/ext-network.php:36: * @TODO SuperPromo24: Textlink view is a JavaScript *
+./inc/extensions/ext-network.php:37: * @TODO VIPads: HTML text is send encoded with BASE64 *
+./inc/extensions/ext-network.php:38: * @TODO Der Werbepartner.cc: Banner click/view is JavaScript! *
+./inc/extensions/ext-network.php:39: * @TODO Der Werbepartner.cc: Forced textlink not correct *
+./inc/extensions/ext-network.php:40: * @TODO Der Werbepartner.cc: Layer not correct *
+./inc/extensions/ext-network.php:41: * @TODO Der Werbepartner.cc: Sky banner is JavaScript! *
+./inc/extensions/ext-network.php:42: * @TODO Der Werbepartner.cc: Surfbar click not correct *
+./inc/extensions/ext-network.php:43: * @TODO Der Werbepartner.cc: Textlink not not correct *
+./inc/extensions/ext-network.php:44: * @TODO Yoo!Media: What is LayerAd compared to Layer click? *
./inc/extensions/ext-newsletter.php:218: // @TODO Move these into configuration
./inc/extensions/ext-rallye.php:94: // @TODO Fix config_rallye_prices to list_rallye_prices
./inc/extensions/ext-yoomedia.php:121: // @TODO Can this be moved into a database table?
./inc/gen_sql_patches.php:95:// @TODO Rewrite this to a filter
./inc/header.php:66:// @TODO Find a way to not use direct module comparison
./inc/install-functions.php:91: // @TODO DEACTIVATED: changeDataInLocalConfigurationFile('OUTPUT-MODE', "setConfigEntry('OUTPUT_MODE', '", "');", postRequestElement('omode'), 0);
-./inc/language/de.php:1120: // @TODO Rewrite these two constants
-./inc/language/de.php:1136: // @TODO Rewrite these three constants
-./inc/language/de.php:749:// @TODO Are these constants longer used?
+./inc/language/de.php:1122: // @TODO Rewrite these two constants
+./inc/language/de.php:1138: // @TODO Rewrite these three constants
+./inc/language/de.php:46: // @TODO Please sort these language elements
+./inc/language/de.php:751:// @TODO Are these constants longer used?
./inc/language-functions.php:255: // @TODO These are all valid languages, again hard-coded
./inc/language-functions.php:44:// @TODO Rewrite all language constants to this function.
./inc/language/install_de.php:137: // @TODO Move this to e.g. ext-smtp
./inc/language/rallye_de.php:13: * @TODO Naming convention not applied for language strings *
./inc/language/refback_de.php:51: // @TODO Rewrite these constants to one
./inc/libs/admins_functions.php:525: // @TODO This can be, somehow, rewritten
-./inc/libs/bonus_functions.php:194: // @TODO Move this HTML to a template
+./inc/libs/bonus_functions.php:195: // @TODO Move this HTML to a template
./inc/libs/doubler_functions.php:44:// @TODO Lame description
-./inc/libs/doubler_functions.php:93: // @TODO Can't this be moved into EL?
+./inc/libs/doubler_functions.php:96: // @TODO Can't this be moved into EL?
./inc/libs/forced_functions.php:457:// @TODO Can't we use our new expression language instead of this ugly code?
./inc/libs/mailid_functions.php:47: // @TODO Rewrite this to a dynamic include or so
-./inc/libs/network_functions.php:978: // @TODO Implement this function, don't forget to set HTTP status back to '200 OK' if everything went fine
+./inc/libs/network_functions.php:1017: // @TODO Implement this function, don't forget to set HTTP status back to '200 OK' if everything went fine
./inc/libs/order_functions.php:46: // @TODO Move this array into a filter
-./inc/libs/rallye_functions.php:769:// @TODO This function does not load min_users, min_prices, please encapsulate loading rallye data with e.g. getRallyeDataFromId()
-./inc/libs/rallye_functions.php:836: $EXPIRE = 3; // @TODO The hard-coded value...
-./inc/libs/rallye_functions.php:925:// @TODO Please document this function
-./inc/libs/rallye_functions.php:981: // Load count @TODO Can't we rewrite this to our API?
+./inc/libs/rallye_functions.php:771:// @TODO This function does not load min_users, min_prices, please encapsulate loading rallye data with e.g. getRallyeDataFromId()
+./inc/libs/rallye_functions.php:838: $EXPIRE = 3; // @TODO The hard-coded value...
+./inc/libs/rallye_functions.php:927:// @TODO Please document this function
+./inc/libs/rallye_functions.php:983: // Load count @TODO Can't we rewrite this to our API?
./inc/libs/sponsor_functions.php:163: // @TODO Rewrite this to API function
./inc/libs/sponsor_functions.php:436: // @TODO Rewrite this to API function
./inc/libs/surfbar_functions.php:1672: // @TODO This can be somehow rewritten
./inc/libs/surfbar_functions.php:776:// @TODO Can't we use our new expression language instead of this ugly code?
./inc/libs/task_functions.php:253: // @TODO These can be rewritten to filter
./inc/libs/task_functions.php:51:// @TODO Move all extension-dependent queries into filters
-./inc/libs/theme_functions.php:93: // @TODO Can't this be rewritten to an API function?
+./inc/libs/theme_functions.php:94: // @TODO Can't this be rewritten to an API function?
./inc/libs/user_functions.php:325: // @TODO Make this filter working: $ADDON = runFilterChain('post_login_update', $content);
./inc/libs/user_functions.php:354: // @TODO Make this filter working: $url = runFilterChain('do_login', array('content' => $content, 'addon' => $ADDON));
./inc/libs/yoomedia_functions.php:108: $response = YOOMEDIA_QUERY_API('out_textmail.php', true); // @TODO Ask Yoo!Media for test script
./inc/modules/admin/admin-inc.php:160: // @TODO This and the next getCurrentAdminId() call might be moved into the templates?
./inc/modules/admin/admin-inc.php:233: // @TODO This can be rewritten into a filter
./inc/modules/admin/admin-inc.php:509:// @TODO Try to rewrite this to adminAddMenuSelectionBox()
-./inc/modules/admin/overview-inc.php:169: // @TODO Rewrite this to a filter
-./inc/modules/admin/overview-inc.php:282: // @TODO Rewrite this to something with include files and/or filter
-./inc/modules/admin/overview-inc.php:316: // @TODO This may also be rewritten to include files
-./inc/modules/admin/overview-inc.php:318: default: // @TODO Unknown support mode
-./inc/modules/admin/overview-inc.php:433: // @TODO Try to move this in includes
+./inc/modules/admin/overview-inc.php:176: // @TODO Rewrite this to a filter
+./inc/modules/admin/overview-inc.php:289: // @TODO Rewrite this to something with include files and/or filter
+./inc/modules/admin/overview-inc.php:323: // @TODO This may also be rewritten to include files
+./inc/modules/admin/overview-inc.php:325: default: // @TODO Unknown support mode
./inc/modules/admin/overview-inc.php:43:// @TODO This function does also check for uncompleted tasks
+./inc/modules/admin/overview-inc.php:440: // @TODO Try to move this in includes
./inc/modules/admin/what-add_guestnl_cat.php:47: // @TODO Check if category does already exist
./inc/modules/admin/what-admin_add.php:120: // @TODO This can be somehow rewritten to a function
./inc/modules/admin/what-admin_add.php:61: // @TODO Cant this be rewritten?
./inc/modules/admin/what-list_cats.php:68: // @TODO Rewrite this to countSum.....() function
./inc/modules/admin/what-list_links.php:96: // @TODO Rewrite this to includes/filter
./inc/modules/admin/what-list_refs.php:101: // @TODO Try to rewrite some to EL
-./inc/modules/admin/what-list_unconfirmed.php:107: // @TODO "Please do not call me directly." Should be rewritten to a nice selection depending on ext-bonus
+./inc/modules/admin/what-list_unconfirmed.php:114: // @TODO "Please do not call me directly." Should be rewritten to a nice selection depending on ext-bonus
./inc/modules/admin/what-list_unconfirmed.php:84: // @TODO This constant might be unused? define('__LIST_UNCON_TITLE', '{--ADMIN_LIST_UNCONFIRMED_BONUS_LINKS--}');
+./inc/modules/admin/what-list_unconfirmed.php:87: // @TODO `id` has been used two times???
./inc/modules/admin/what-list_user.php:289: // @TODO Rewrite this into a filter
./inc/modules/admin/what-list_user.php:354: // @TODO Rewrite this into a filter
./inc/modules/admin/what-logs.php:64: // @TODO Fix content-type here
./inc/modules/admin/what-mem_add.php:124: // @TODO This can be somehow rewritten to a function
./inc/modules/admin/what-mem_add.php:63: // @TODO Cant this be rewritten?
./inc/modules/admin/what-mem_add.php:79: // @TODO This can be somehow rewritten to a function
-./inc/modules/admin/what-unlock_emails.php:84: // @TODO Rewrite these if-blocks to a filter
+./inc/modules/admin/what-unlock_emails.php:95: // @TODO Rewrite these if-blocks to a filter
./inc/modules/admin/what-usage.php:89: // @TODO This code is double, see loadTemplate() and loadEmailTemplate() in functions.php
./inc/modules/admin/what-usr_online.php:49: // @TODO Add a filter for sponsor
./inc/modules/frametester.php:95: // @TODO Rewrite this somehow
./inc/modules/guest/what-mediadata.php:186:// @TODO Rewrite all these if-blocks to filters
./inc/modules/guest/what-mediadata.php:67: // @TODO Find a better formular than this one
./inc/modules/guest/what-rallyes.php:99: // @TODO Reactivate this: $content['admin'] = '<a href="{%url=modules.php?module=index&what=impressum&id=' . $content['admin_id'] . '%}">' . $content['login'] . '</a>';
-./inc/modules/guest/what-sponsor_reg.php:289: // @TODO Maybe a default referral id?
+./inc/modules/guest/what-sponsor_reg.php:293: // @TODO Maybe a default referral id?
./inc/modules/guest/what-stats.php:110: // @TODO This can be somehow rewritten
./inc/modules/guest/what-stats.php:82:// @TODO This can be rewritten in a dynamic include
./inc/modules/member/what-beg.php:54:// @TODO Can't this be moved into EL?
./inc/modules/member/what-logout.php:52: // @TODO Move this in a filter, e.g. member_logout
./inc/modules/member/what-order.php:459: // @TODO Rewrite this to a filter
./inc/modules/member/what-order.php:84: // @TODO Rewrite this to SQL_FETCHARRAY()
-./inc/modules/member/what-payout.php:194: // @TODO Rewrite this to a filter
+./inc/modules/member/what-payout.php:208: // @TODO Rewrite this to a filter
./inc/modules/member/what-points.php:61:// @TODO Should we rewrite this to a filter?
./inc/modules/member/what-rallyes.php:99: // @TODO Reactivate this: $content['admin'] = '<a href="{%url=modules.php?module=index&what=impressum&id=' . $content['admin_id'] . '%}">' . $content['login'] . '</a>';
./inc/modules/member/what-reflinks.php:52:// @TODO Move this into a filter
./inc/modules/member/what-transfer.php:128: // @TODO Rewrite this to a filter
-./inc/modules/member/what-unconfirmed.php:169: // @TODO Try to rewrite this to $content = SQL_FETCHARRAY()
-./inc/modules/member/what-unconfirmed.php:234: // @TODO This 'userid' cannot be saved because of encapsulated EL code
+./inc/modules/member/what-unconfirmed.php:178: // @TODO Try to rewrite this to $content = SQL_FETCHARRAY()
+./inc/modules/member/what-unconfirmed.php:247: // @TODO This 'userid' cannot be saved because of encapsulated EL code
./inc/modules/order.php:78: // @TODO Unused: 2,4
./inc/mysql-manager.php:1437: // @TODO Rewrite these lines to a filter
./inc/mysql-manager.php:1461: // @TODO Rewrite this to a filter
./inc/modules/admin/what-config_primera.php:2:// @DEPRECATED
./inc/modules/admin/what-list_network_api_translation.php:2:// @DEPRECATED
./inc/modules/admin/what-list_network_params.php:2:// @DEPRECATED
+./inc/modules/admin/what-list_networks.php:2:// @DEPRECATED
./inc/modules/admin/what-list_primera.php:2:// @DEPRECATED
./inc/modules/admin/what-overview.php:2:// @DEPRECATED
./inc/modules/guest/action-actions.php:2:// @DEPRECATED
./templates/de/html/admin/admin_del_surfbar_urls.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/admin/admin_edit_network_params_row.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/admin/admin_edit_network_params.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/html/admin/admin_extensions_delete_row_404.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/html/admin/admin_extensions_delete_row.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/html/admin/admin_extensions_delete.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/html/admin/admin_extensions_edit_row.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/html/admin/admin_extensions_edit.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/html/admin/admin_extensions_row.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/html/admin/admin_extensions.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/admin/admin_list_cats_404.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/admin/admin_list_chk_reg_row.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/admin/admin_list_chk_reg.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/admin/admin_list_network_config.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/admin/admin_list_network_params_row.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/admin/admin_list_network_params.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/html/admin/admin_list_networks_row.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/html/admin/admin_list_networks.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/admin/admin_list_primera_main.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/admin/admin_list_primera_row.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/admin/admin_list_refs2.tpl:1:<!-- @DEPRECATED //-->
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AT','Austria','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BA','Bosnia and Herzegovina','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BE','Belgium','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BG','Bulgaria','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CH','Switzerland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CZ','Czech Republic','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('DK','Denmark','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('EE','Estonia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('ES','Spain','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('EU','European Union','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('FI','Finland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GB','United Kingdom','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GB','England','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GB','Great Britain','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GB','Scotland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GB','Channel Ilands','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GR','Greece','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('HR','Croatia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('HU','Hungary','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('IE','Ireland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('IF','Northern Ireland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('IS','Iceland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('IT','Italy','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('LI','Liechtenstein','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('LU','Luxembourg','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MC','Monaco','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('NL','Netherlands','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('NO','Norway','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('NZ','New Zealand','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PL','Poland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PT','Portugal','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('RO','Romania','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SE','Sweden','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SI','Slovenia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SK','Slovakia Slovak Rep.','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TR','Turkey','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AT','Austria','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BA','Bosnia and Herzegovina','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BE','Belgium','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BG','Bulgaria','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CH','Switzerland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CZ','Czech Republic','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('DK','Denmark','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('EE','Estonia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('ES','Spain','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('EU','European Union','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('FI','Finland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GB','United Kingdom','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GB','England','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GB','Great Britain','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GB','Scotland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GB','Channel Ilands','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GR','Greece','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('HR','Croatia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('HU','Hungary','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('IE','Ireland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('IF','Northern Ireland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('IS','Iceland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('IT','Italy','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('LI','Liechtenstein','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('LU','Luxembourg','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MC','Monaco','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('NL','Netherlands','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('NO','Norway','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('NZ','New Zealand','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PL','Poland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PT','Portugal','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('RO','Romania','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SE','Sweden','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SI','Slovenia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SK','Slovakia Slovak Rep.','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TR','Turkey','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AC','Ascension','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AD','Andorra','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AE','United Arab Emirates','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AF','Afghanistan','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AG','Antigua and Barbuda','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AI','Anguilla','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AL','Albania','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AM','Armenia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AN','Netherlands Antilles','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AO','Angola','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AQ','Antarctica','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AR','Argentina','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AS','American Samoa','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AT','Austria','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AU','Australia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AW','Aruba','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AZ','Azerbaijan','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BA','Bosnia and Herzegovina','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BB','Barbados','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BD','Bangladesh','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BE','Belgium','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BF','Burkina Faso','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BG','Bulgaria','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BH','Bahrain','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BI','Burundi','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BJ','Benin','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BM','Bermuda','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BN','Brunei Darussalam','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BO','Bolivia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BR','Brazil','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BS','Bahamas','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BT','Bhutan','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BV','Bouvet','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BW','Botswana','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BY','Belarus','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BZ','Belize','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CA','Canada','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CC','Cocos','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CD','Congo Democratc Repuplic','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CF','Central African Republic','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CG','Congo Republic','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CH','Switzerland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CI','Cote D Ivoire','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CK','Cook Iland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CL','Chile','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CM','Cameroon','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CN','China','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CO','Colombia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CR','Costa Rica','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CS','Serbia and Montenegro','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CT','Canton and Enderbury','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CU','Cuba','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CV','Cape Verde','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CX','Christmas Ilands','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CY','Cyprus','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CZ','Czech Republic','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('DJ','Djibuti','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('DK','Denmark','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('DM','Dominica','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('DO','Dominican Republic','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('DZ','Algeria','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('EC','Ecuador','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('EE','Estonia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('EG','Egypt','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('EH','Western Sahara','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('ER','Eritrea','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('ES','Spain','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('ET','Ethiopia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('EU','European Union','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('FI','Finland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('FJ','Fiji','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('FK','Falkland Ilands','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('FM','Micronesia Fed. S.','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('FO','Faroe Ilands','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('FR','Frabce','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GA','Gabon','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GB','United Kingdom','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GB','England','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GB','Great Britain','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GB','Scotland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GB','Channel Ilands','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GD','Grenada','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GE','Georgia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GF','French Guiana','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GG','Guernsey','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GH','Ghana','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GI','Gibraltar','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GL','Greenland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GM','Gambia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GN','Guinea','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GP','Guadeloupe','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GQ','Guinea Equatorial','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GR','Greece','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GS','South Georgia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GT','Guatemala','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GU','Guam','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GW','Guinea-Bissau','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GY','Guyana','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('HK','Hong Kong','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('HM','Heard- and MC Donald Ilands','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('HN','Honduras','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('HR','Croatia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('HT','Haiti','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('HU','Hungary','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('ID','Indonesia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('IE','Ireland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('IF','Northern Ireland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('IL','Israel','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('IM','Isle of Man','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('IN','India','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('IO','British Indian O.T.','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('IQ','Iraq','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('IR','Iran Islamic Republic','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('IS','Iceland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('IT','Italy','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('JE','Jersey Bailwick','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('JM','Jamaica','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('JO','Jordan','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('JP','Japan','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('JT','Johnston Atoll','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('KE','Kenya','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('KG','Kyrgyzstan','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('KH','Cambodia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('KI','Kiribati','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('KM','Comoros','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('KN','Saint Kitts and Nevis','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('KP','Korea Democratic P. Rep.','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('KR','Korea Republic','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('KW','Kuwait','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('KY','Cayman Ilands','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('KZ','Kazakhstan','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('LA','Lao People Democratic Rep.','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('LB','Lebanon','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('LC','St. Lucia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('LI','Liechtenstein','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('LK','Sri Lanka','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('LR','Liberia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('LS','Lesotho','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('LT','Lithuania','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('LU','Luxembourg','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('LV','Latvia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('LY','Libyan Arab Jamahiriya','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MA','Morocco','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MC','Monaco','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MD','Moldova Rep.','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MG','Madagascar','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MH','Marshall Ilands','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MI','Midway Ilands','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MK','Macedonia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('ML','Mali','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MM','Myanmar','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MN','Mongolia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MO','Macau','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MP','Northern Mariana Ilands','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MQ','Martinique','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MR','Mauritania','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MS','Montserat','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MT','Malta','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MU','Mauritius','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MV','Maldives','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MW','Malawi','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MX','Mexico','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MY','Malaysia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MZ','Mozambique','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('NA','Namibia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('NC','New Caledonia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('NE','Niger','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('NF','Norfolk Iland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('NG','Nigeria','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('NI','Nicaragua','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('NL','Netherlands','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('NO','Norway','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('NP','Nepal','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('NQ','Dronning Mauds Land','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('NR','Nauru','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('NU','Niue','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('NZ','New Zealand','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('OM','Oman','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PA','Panama','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PE','Peru','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PF','French Polynesia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PG','Papua New Guinea','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PH','Philippines','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PK','Parkistan','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PL','Poland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PM','St. Pierre and Miquelon','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PN','Pitcairn Ilands','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PR','Puerto Rico','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PS','Palestian Authority','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PS','Gaza Strip','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PS','West Bank','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PT','Portugal','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PW','Palau','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PY','Paraguay','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('QA','Qatar','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('RE','Reunion','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('RO','Romania','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('RU','Russian Federation','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('RW','Rwanda','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SA','Saudi Arabia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SB','Solomon Ilands','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SC','Seychelles','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SD','Sudan','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SE','Sweden','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SG','Singapore','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SH','St. Helena','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SI','Slovenia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SJ','Svalbard and Jan Mayen','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SK','Slovakia Slovak Rep.','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SL','Sierra Leone','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SM','San Marino','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SN','Senegal','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SO','Somalia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SR','Suriname','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('ST','Sao Tome and Principe','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SV','El Salvador','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SY','Syrian Arab Rep.','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SZ','Swaziland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TA','Tahiti','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TC','Turks and Caicos Ilands','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TD','Chad','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TF','French Southern Ter.','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TG','Togo','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TH','Thailand','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TJ','Tajikistan','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TK','Ttokelau','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TM','Turkmenistan','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TN','Tunisia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TO','Tonga','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TP','East Timor','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TR','Turkey','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TT','Trinidad and Tobago','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TV','Tuvalu','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TW','Taiwan','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TZ','Tanzania U. Rep.','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('UA','Ukraine','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('UG','Uganda','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('UM','U.S. Minor Outlying Ilands','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('US','United States','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('UY','Uruguay','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('UZ','Uzbekistan','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('VA','Vatican City State','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('VA','Holy See','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('VC','St. Vincent and Grenadines','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('VE','Venezuela','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('VG','Virgin Iland (British)','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('VI','Virgin Iland (U.S.)','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('VN','Viet Nam','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('VU','Vanuatu','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('WF','Wallis anf Futuna Iland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('WK','Wake Iland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('WS','Samoa West','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('YE','Yemen','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('YT','Mayotte','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('ZA','South Africa','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('ZM','Zambia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('ZW','Zimbabwe','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AC','Ascension','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AD','Andorra','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AE','United Arab Emirates','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AF','Afghanistan','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AG','Antigua and Barbuda','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AI','Anguilla','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AL','Albania','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AM','Armenia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AN','Netherlands Antilles','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AO','Angola','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AQ','Antarctica','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AR','Argentina','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AS','American Samoa','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AT','Austria','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AU','Australia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AW','Aruba','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AZ','Azerbaijan','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BA','Bosnia and Herzegovina','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BB','Barbados','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BD','Bangladesh','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BE','Belgium','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BF','Burkina Faso','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BG','Bulgaria','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BH','Bahrain','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BI','Burundi','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BJ','Benin','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BM','Bermuda','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BN','Brunei Darussalam','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BO','Bolivia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BR','Brazil','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BS','Bahamas','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BT','Bhutan','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BV','Bouvet','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BW','Botswana','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BY','Belarus','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BZ','Belize','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CA','Canada','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CC','Cocos','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CD','Congo Democratc Repuplic','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CF','Central African Republic','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CG','Congo Republic','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CH','Switzerland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CI','Cote D Ivoire','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CK','Cook Iland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CL','Chile','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CM','Cameroon','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CN','China','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CO','Colombia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CR','Costa Rica','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CS','Serbia and Montenegro','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CT','Canton and Enderbury','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CU','Cuba','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CV','Cape Verde','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CX','Christmas Ilands','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CY','Cyprus','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CZ','Czech Republic','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('DJ','Djibuti','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('DK','Denmark','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('DM','Dominica','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('DO','Dominican Republic','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('DZ','Algeria','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('EC','Ecuador','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('EE','Estonia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('EG','Egypt','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('EH','Western Sahara','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('ER','Eritrea','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('ES','Spain','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('ET','Ethiopia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('EU','European Union','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('FI','Finland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('FJ','Fiji','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('FK','Falkland Ilands','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('FM','Micronesia Fed. S.','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('FO','Faroe Ilands','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('FR','Frabce','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GA','Gabon','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GB','United Kingdom','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GB','England','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GB','Great Britain','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GB','Scotland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GB','Channel Ilands','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GD','Grenada','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GE','Georgia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GF','French Guiana','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GG','Guernsey','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GH','Ghana','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GI','Gibraltar','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GL','Greenland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GM','Gambia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GN','Guinea','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GP','Guadeloupe','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GQ','Guinea Equatorial','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GR','Greece','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GS','South Georgia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GT','Guatemala','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GU','Guam','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GW','Guinea-Bissau','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GY','Guyana','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('HK','Hong Kong','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('HM','Heard- and MC Donald Ilands','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('HN','Honduras','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('HR','Croatia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('HT','Haiti','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('HU','Hungary','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('ID','Indonesia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('IE','Ireland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('IF','Northern Ireland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('IL','Israel','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('IM','Isle of Man','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('IN','India','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('IO','British Indian O.T.','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('IQ','Iraq','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('IR','Iran Islamic Republic','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('IS','Iceland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('IT','Italy','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('JE','Jersey Bailwick','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('JM','Jamaica','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('JO','Jordan','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('JP','Japan','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('JT','Johnston Atoll','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('KE','Kenya','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('KG','Kyrgyzstan','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('KH','Cambodia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('KI','Kiribati','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('KM','Comoros','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('KN','Saint Kitts and Nevis','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('KP','Korea Democratic P. Rep.','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('KR','Korea Republic','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('KW','Kuwait','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('KY','Cayman Ilands','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('KZ','Kazakhstan','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('LA','Lao People Democratic Rep.','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('LB','Lebanon','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('LC','St. Lucia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('LI','Liechtenstein','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('LK','Sri Lanka','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('LR','Liberia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('LS','Lesotho','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('LT','Lithuania','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('LU','Luxembourg','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('LV','Latvia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('LY','Libyan Arab Jamahiriya','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MA','Morocco','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MC','Monaco','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MD','Moldova Rep.','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MG','Madagascar','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MH','Marshall Ilands','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MI','Midway Ilands','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MK','Macedonia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('ML','Mali','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MM','Myanmar','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MN','Mongolia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MO','Macau','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MP','Northern Mariana Ilands','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MQ','Martinique','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MR','Mauritania','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MS','Montserat','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MT','Malta','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MU','Mauritius','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MV','Maldives','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MW','Malawi','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MX','Mexico','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MY','Malaysia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MZ','Mozambique','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('NA','Namibia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('NC','New Caledonia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('NE','Niger','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('NF','Norfolk Iland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('NG','Nigeria','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('NI','Nicaragua','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('NL','Netherlands','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('NO','Norway','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('NP','Nepal','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('NQ','Dronning Mauds Land','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('NR','Nauru','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('NU','Niue','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('NZ','New Zealand','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('OM','Oman','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PA','Panama','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PE','Peru','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PF','French Polynesia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PG','Papua New Guinea','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PH','Philippines','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PK','Parkistan','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PL','Poland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PM','St. Pierre and Miquelon','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PN','Pitcairn Ilands','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PR','Puerto Rico','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PS','Palestian Authority','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PS','Gaza Strip','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PS','West Bank','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PT','Portugal','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PW','Palau','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PY','Paraguay','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('QA','Qatar','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('RE','Reunion','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('RO','Romania','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('RU','Russian Federation','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('RW','Rwanda','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SA','Saudi Arabia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SB','Solomon Ilands','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SC','Seychelles','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SD','Sudan','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SE','Sweden','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SG','Singapore','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SH','St. Helena','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SI','Slovenia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SJ','Svalbard and Jan Mayen','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SK','Slovakia Slovak Rep.','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SL','Sierra Leone','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SM','San Marino','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SN','Senegal','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SO','Somalia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SR','Suriname','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('ST','Sao Tome and Principe','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SV','El Salvador','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SY','Syrian Arab Rep.','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SZ','Swaziland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TA','Tahiti','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TC','Turks and Caicos Ilands','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TD','Chad','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TF','French Southern Ter.','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TG','Togo','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TH','Thailand','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TJ','Tajikistan','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TK','Ttokelau','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TM','Turkmenistan','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TN','Tunisia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TO','Tonga','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TP','East Timor','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TR','Turkey','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TT','Trinidad and Tobago','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TV','Tuvalu','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TW','Taiwan','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TZ','Tanzania U. Rep.','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('UA','Ukraine','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('UG','Uganda','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('UM','U.S. Minor Outlying Ilands','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('US','United States','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('UY','Uruguay','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('UZ','Uzbekistan','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('VA','Vatican City State','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('VA','Holy See','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('VC','St. Vincent and Grenadines','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('VE','Venezuela','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('VG','Virgin Iland (British)','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('VI','Virgin Iland (U.S.)','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('VN','Viet Nam','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('VU','Vanuatu','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('WF','Wallis anf Futuna Iland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('WK','Wake Iland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('WS','Samoa West','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('YE','Yemen','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('YT','Mayotte','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('ZA','South Africa','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('ZM','Zambia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('ZW','Zimbabwe','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AT','Austria','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BE','Belgium','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CH','Switzerland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CR','Costa Rica','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CZ','Czech Republic','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('DK','Denmark','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('ES','Spain','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('FI','Finland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('FR','Frabce','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GB','United Kingdom','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GB','England','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GB','Great Britain','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GB','Scotland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GB','Channel Ilands','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GR','Greece','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('HR','Croatia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('HU','Hungary','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('IE','Ireland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('IF','Northern Ireland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('IS','Iceland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('IT','Italy','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('LI','Liechtenstein','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('LU','Luxembourg','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MC','Monaco','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('NL','Netherlands','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('NO','Norway','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PL','Poland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('RO','Romania','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('RU','Russian Federation','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SE','Sweden','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SI','Slovenia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SK','Slovakia Slovak Rep.','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TR','Turkey','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AC','Ascension','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AD','Andorra','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AE','United Arab Emirates','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AF','Afghanistan','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AG','Antigua and Barbuda','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AI','Anguilla','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AL','Albania','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AM','Armenia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AN','Netherlands Antilles','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AO','Angola','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AQ','Antarctica','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AR','Argentina','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AS','American Samoa','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AU','Australia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AW','Aruba','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AZ','Azerbaijan','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BA','Bosnia and Herzegovina','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BB','Barbados','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BD','Bangladesh','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BF','Burkina Faso','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BG','Bulgaria','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BH','Bahrain','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BI','Burundi','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BJ','Benin','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BM','Bermuda','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BN','Brunei Darussalam','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BO','Bolivia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BR','Brazil','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BS','Bahamas','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BT','Bhutan','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BV','Bouvet','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BW','Botswana','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BY','Belarus','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BZ','Belize','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CA','Canada','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CC','Cocos','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CD','Congo Democratc Repuplic','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CF','Central African Republic','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CG','Congo Republic','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CI','Cote D Ivoire','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CK','Cook Iland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CL','Chile','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CM','Cameroon','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CN','China','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CO','Colombia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CS','Serbia and Montenegro','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CT','Canton and Enderbury','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CU','Cuba','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CV','Cape Verde','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CX','Christmas Ilands','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CY','Cyprus','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('DJ','Djibuti','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('DM','Dominica','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('DO','Dominican Republic','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('DZ','Algeria','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('EC','Ecuador','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('EE','Estonia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('EG','Egypt','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('EH','Western Sahara','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('ER','Eritrea','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('ET','Ethiopia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('EU','European Union','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('FJ','Fiji','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('FK','Falkland Ilands','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('FM','Micronesia Fed. S.','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('FO','Faroe Ilands','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GA','Gabon','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GD','Grenada','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GE','Georgia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GF','French Guiana','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GG','Guernsey','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GH','Ghana','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GI','Gibraltar','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GL','Greenland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GM','Gambia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GN','Guinea','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GP','Guadeloupe','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GQ','Guinea Equatorial','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GS','South Georgia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GT','Guatemala','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GU','Guam','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GW','Guinea-Bissau','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GY','Guyana','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('HK','Hong Kong','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('HM','Heard- and MC Donald Ilands','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('HN','Honduras','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('HT','Haiti','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('ID','Indonesia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('IL','Israel','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('IM','Isle of Man','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('IN','India','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('IO','British Indian O.T.','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('IQ','Iraq','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('IR','Iran Islamic Republic','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('JE','Jersey Bailwick','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('JM','Jamaica','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('JO','Jordan','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('JP','Japan','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('JT','Johnston Atoll','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('KE','Kenya','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('KG','Kyrgyzstan','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('KH','Cambodia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('KI','Kiribati','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('KM','Comoros','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('KN','Saint Kitts and Nevis','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('KP','Korea Democratic P. Rep.','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('KR','Korea Republic','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('KW','Kuwait','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('KY','Cayman Ilands','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('KZ','Kazakhstan','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('LA','Lao People Democratic Rep.','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('LB','Lebanon','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('LC','St. Lucia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('LK','Sri Lanka','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('LR','Liberia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('LS','Lesotho','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('LT','Lithuania','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('LV','Latvia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('LY','Libyan Arab Jamahiriya','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MA','Morocco','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MD','Moldova Rep.','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MG','Madagascar','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MH','Marshall Ilands','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MI','Midway Ilands','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MK','Macedonia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('ML','Mali','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MM','Myanmar','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MN','Mongolia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MO','Macau','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MP','Northern Mariana Ilands','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MQ','Martinique','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MR','Mauritania','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MS','Montserat','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MT','Malta','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MU','Mauritius','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MV','Maldives','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MW','Malawi','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MX','Mexico','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MY','Malaysia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MZ','Mozambique','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('NA','Namibia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('NC','New Caledonia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('NE','Niger','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('NF','Norfolk Iland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('NG','Nigeria','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('NI','Nicaragua','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('NP','Nepal','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('NQ','Dronning Mauds Land','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('NR','Nauru','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('NU','Niue','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('NZ','New Zealand','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('OM','Oman','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PA','Panama','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PE','Peru','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PF','French Polynesia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PG','Papua New Guinea','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PH','Philippines','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PK','Parkistan','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PM','St. Pierre and Miquelon','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PN','Pitcairn Ilands','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PR','Puerto Rico','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PS','Palestian Authority','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PS','Gaza Strip','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PS','West Bank','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PT','Portugal','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PW','Palau','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PY','Paraguay','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('QA','Qatar','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('RE','Reunion','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('RW','Rwanda','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SA','Saudi Arabia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SB','Solomon Ilands','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SC','Seychelles','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SD','Sudan','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SG','Singapore','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SH','St. Helena','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SJ','Svalbard and Jan Mayen','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SL','Sierra Leone','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SM','San Marino','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SN','Senegal','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SO','Somalia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SR','Suriname','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('ST','Sao Tome and Principe','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SV','El Salvador','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SY','Syrian Arab Rep.','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SZ','Swaziland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TA','Tahiti','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TC','Turks and Caicos Ilands','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TD','Chad','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TF','French Southern Ter.','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TG','Togo','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TH','Thailand','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TJ','Tajikistan','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TK','Ttokelau','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TM','Turkmenistan','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TN','Tunisia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TO','Tonga','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TP','East Timor','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TT','Trinidad and Tobago','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TV','Tuvalu','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TW','Taiwan','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TZ','Tanzania U. Rep.','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('UA','Ukraine','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('UG','Uganda','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('UM','U.S. Minor Outlying Ilands','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('US','United States','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('UY','Uruguay','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('UZ','Uzbekistan','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('VA','Vatican City State','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('VA','Holy See','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('VC','St. Vincent and Grenadines','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('VE','Venezuela','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('VG','Virgin Iland (British)','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('VI','Virgin Iland (U.S.)','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('VN','Viet Nam','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('VU','Vanuatu','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('WF','Wallis anf Futuna Iland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('WK','Wake Iland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('WS','Samoa West','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('YE','Yemen','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('YT','Mayotte','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('ZA','South Africa','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('ZM','Zambia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('ZW','Zimbabwe','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AT','Austria','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BE','Belgium','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CH','Switzerland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CR','Costa Rica','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CZ','Czech Republic','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('DK','Denmark','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('ES','Spain','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('FI','Finland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('FR','Frabce','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GB','United Kingdom','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GB','England','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GB','Great Britain','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GB','Scotland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GB','Channel Ilands','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GR','Greece','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('HR','Croatia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('HU','Hungary','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('IE','Ireland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('IF','Northern Ireland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('IS','Iceland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('IT','Italy','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('LI','Liechtenstein','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('LU','Luxembourg','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MC','Monaco','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('NL','Netherlands','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('NO','Norway','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PL','Poland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('RO','Romania','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('RU','Russian Federation','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SE','Sweden','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SI','Slovenia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SK','Slovakia Slovak Rep.','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TR','Turkey','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AC','Ascension','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AD','Andorra','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AE','United Arab Emirates','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AF','Afghanistan','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AG','Antigua and Barbuda','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AI','Anguilla','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AL','Albania','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AM','Armenia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AN','Netherlands Antilles','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AO','Angola','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AQ','Antarctica','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AR','Argentina','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AS','American Samoa','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AU','Australia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AW','Aruba','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AZ','Azerbaijan','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BA','Bosnia and Herzegovina','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BB','Barbados','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BD','Bangladesh','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BF','Burkina Faso','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BG','Bulgaria','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BH','Bahrain','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BI','Burundi','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BJ','Benin','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BM','Bermuda','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BN','Brunei Darussalam','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BO','Bolivia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BR','Brazil','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BS','Bahamas','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BT','Bhutan','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BV','Bouvet','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BW','Botswana','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BY','Belarus','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BZ','Belize','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CA','Canada','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CC','Cocos','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CD','Congo Democratc Repuplic','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CF','Central African Republic','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CG','Congo Republic','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CI','Cote D Ivoire','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CK','Cook Iland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CL','Chile','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CM','Cameroon','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CN','China','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CO','Colombia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CS','Serbia and Montenegro','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CT','Canton and Enderbury','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CU','Cuba','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CV','Cape Verde','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CX','Christmas Ilands','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CY','Cyprus','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('DJ','Djibuti','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('DM','Dominica','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('DO','Dominican Republic','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('DZ','Algeria','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('EC','Ecuador','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('EE','Estonia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('EG','Egypt','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('EH','Western Sahara','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('ER','Eritrea','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('ET','Ethiopia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('EU','European Union','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('FJ','Fiji','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('FK','Falkland Ilands','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('FM','Micronesia Fed. S.','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('FO','Faroe Ilands','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GA','Gabon','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GD','Grenada','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GE','Georgia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GF','French Guiana','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GG','Guernsey','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GH','Ghana','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GI','Gibraltar','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GL','Greenland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GM','Gambia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GN','Guinea','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GP','Guadeloupe','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GQ','Guinea Equatorial','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GS','South Georgia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GT','Guatemala','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GU','Guam','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GW','Guinea-Bissau','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GY','Guyana','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('HK','Hong Kong','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('HM','Heard- and MC Donald Ilands','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('HN','Honduras','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('HT','Haiti','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('ID','Indonesia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('IL','Israel','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('IM','Isle of Man','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('IN','India','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('IO','British Indian O.T.','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('IQ','Iraq','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('IR','Iran Islamic Republic','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('JE','Jersey Bailwick','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('JM','Jamaica','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('JO','Jordan','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('JP','Japan','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('JT','Johnston Atoll','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('KE','Kenya','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('KG','Kyrgyzstan','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('KH','Cambodia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('KI','Kiribati','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('KM','Comoros','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('KN','Saint Kitts and Nevis','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('KP','Korea Democratic P. Rep.','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('KR','Korea Republic','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('KW','Kuwait','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('KY','Cayman Ilands','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('KZ','Kazakhstan','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('LA','Lao People Democratic Rep.','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('LB','Lebanon','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('LC','St. Lucia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('LK','Sri Lanka','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('LR','Liberia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('LS','Lesotho','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('LT','Lithuania','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('LV','Latvia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('LY','Libyan Arab Jamahiriya','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MA','Morocco','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MD','Moldova Rep.','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MG','Madagascar','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MH','Marshall Ilands','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MI','Midway Ilands','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MK','Macedonia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('ML','Mali','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MM','Myanmar','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MN','Mongolia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MO','Macau','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MP','Northern Mariana Ilands','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MQ','Martinique','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MR','Mauritania','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MS','Montserat','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MT','Malta','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MU','Mauritius','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MV','Maldives','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MW','Malawi','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MX','Mexico','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MY','Malaysia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MZ','Mozambique','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('NA','Namibia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('NC','New Caledonia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('NE','Niger','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('NF','Norfolk Iland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('NG','Nigeria','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('NI','Nicaragua','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('NP','Nepal','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('NQ','Dronning Mauds Land','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('NR','Nauru','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('NU','Niue','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('NZ','New Zealand','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('OM','Oman','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PA','Panama','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PE','Peru','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PF','French Polynesia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PG','Papua New Guinea','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PH','Philippines','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PK','Parkistan','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PM','St. Pierre and Miquelon','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PN','Pitcairn Ilands','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PR','Puerto Rico','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PS','Palestian Authority','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PS','Gaza Strip','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PS','West Bank','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PT','Portugal','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PW','Palau','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PY','Paraguay','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('QA','Qatar','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('RE','Reunion','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('RW','Rwanda','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SA','Saudi Arabia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SB','Solomon Ilands','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SC','Seychelles','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SD','Sudan','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SG','Singapore','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SH','St. Helena','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SJ','Svalbard and Jan Mayen','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SL','Sierra Leone','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SM','San Marino','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SN','Senegal','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SO','Somalia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SR','Suriname','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('ST','Sao Tome and Principe','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SV','El Salvador','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SY','Syrian Arab Rep.','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SZ','Swaziland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TA','Tahiti','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TC','Turks and Caicos Ilands','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TD','Chad','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TF','French Southern Ter.','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TG','Togo','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TH','Thailand','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TJ','Tajikistan','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TK','Ttokelau','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TM','Turkmenistan','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TN','Tunisia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TO','Tonga','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TP','East Timor','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TT','Trinidad and Tobago','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TV','Tuvalu','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TW','Taiwan','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TZ','Tanzania U. Rep.','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('UA','Ukraine','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('UG','Uganda','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('UM','U.S. Minor Outlying Ilands','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('US','United States','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('UY','Uruguay','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('UZ','Uzbekistan','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('VA','Vatican City State','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('VA','Holy See','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('VC','St. Vincent and Grenadines','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('VE','Venezuela','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('VG','Virgin Iland (British)','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('VI','Virgin Iland (U.S.)','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('VN','Viet Nam','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('VU','Vanuatu','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('WF','Wallis anf Futuna Iland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('WK','Wake Iland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('WS','Samoa West','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('YE','Yemen','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('YT','Mayotte','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('ZA','South Africa','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('ZM','Zambia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('ZW','Zimbabwe','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AT','Austria','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BA','Bosnia and Herzegovina','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BE','Belgium','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BG','Bulgaria','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CH','Switzerland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CZ','Czech Republic','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('DK','Denmark','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('EE','Estonia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('ES','Spain','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('EU','European Union','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('FI','Finland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GB','United Kingdom','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GB','England','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GB','Great Britain','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GB','Scotland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GB','Channel Ilands','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GR','Greece','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('HR','Croatia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('HU','Hungary','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('IE','Ireland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('IF','Northern Ireland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('IS','Iceland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('IT','Italy','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('LI','Liechtenstein','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('LU','Luxembourg','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MC','Monaco','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('NL','Netherlands','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('NO','Norway','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('NZ','New Zealand','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PL','Poland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PT','Portugal','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('RO','Romania','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SE','Sweden','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SI','Slovenia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SK','Slovakia Slovak Rep.','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TR','Turkey','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AT','Austria','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BA','Bosnia and Herzegovina','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BE','Belgium','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BG','Bulgaria','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CH','Switzerland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CZ','Czech Republic','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('DK','Denmark','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('EE','Estonia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('ES','Spain','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('EU','European Union','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('FI','Finland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GB','United Kingdom','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GB','England','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GB','Great Britain','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GB','Scotland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GB','Channel Ilands','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GR','Greece','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('HR','Croatia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('HU','Hungary','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('IE','Ireland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('IF','Northern Ireland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('IS','Iceland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('IT','Italy','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('LI','Liechtenstein','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('LU','Luxembourg','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MC','Monaco','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('NL','Netherlands','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('NO','Norway','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('NZ','New Zealand','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PL','Poland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PT','Portugal','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('RO','Romania','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SE','Sweden','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SI','Slovenia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SK','Slovakia Slovak Rep.','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TR','Turkey','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AC','Ascension','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AD','Andorra','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AE','United Arab Emirates','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AF','Afghanistan','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AG','Antigua and Barbuda','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AI','Anguilla','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AL','Albania','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AM','Armenia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AN','Netherlands Antilles','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AO','Angola','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AQ','Antarctica','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AR','Argentina','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AS','American Samoa','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AT','Austria','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AU','Australia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AW','Aruba','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AZ','Azerbaijan','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BA','Bosnia and Herzegovina','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BB','Barbados','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BD','Bangladesh','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BE','Belgium','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BF','Burkina Faso','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BG','Bulgaria','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BH','Bahrain','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BI','Burundi','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BJ','Benin','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BM','Bermuda','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BN','Brunei Darussalam','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BO','Bolivia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BR','Brazil','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BS','Bahamas','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BT','Bhutan','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BV','Bouvet','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BW','Botswana','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BY','Belarus','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BZ','Belize','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CA','Canada','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CC','Cocos','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CD','Congo Democratc Repuplic','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CF','Central African Republic','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CG','Congo Republic','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CH','Switzerland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CI','Cote D Ivoire','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CK','Cook Iland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CL','Chile','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CM','Cameroon','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CN','China','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CO','Colombia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CR','Costa Rica','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CS','Serbia and Montenegro','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CT','Canton and Enderbury','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CU','Cuba','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CV','Cape Verde','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CX','Christmas Ilands','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CY','Cyprus','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CZ','Czech Republic','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('DJ','Djibuti','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('DK','Denmark','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('DM','Dominica','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('DO','Dominican Republic','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('DZ','Algeria','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('EC','Ecuador','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('EE','Estonia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('EG','Egypt','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('EH','Western Sahara','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('ER','Eritrea','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('ES','Spain','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('ET','Ethiopia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('EU','European Union','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('FI','Finland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('FJ','Fiji','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('FK','Falkland Ilands','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('FM','Micronesia Fed. S.','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('FO','Faroe Ilands','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('FR','Frabce','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GA','Gabon','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GB','United Kingdom','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GB','England','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GB','Great Britain','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GB','Scotland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GB','Channel Ilands','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GD','Grenada','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GE','Georgia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GF','French Guiana','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GG','Guernsey','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GH','Ghana','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GI','Gibraltar','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GL','Greenland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GM','Gambia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GN','Guinea','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GP','Guadeloupe','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GQ','Guinea Equatorial','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GR','Greece','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GS','South Georgia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GT','Guatemala','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GU','Guam','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GW','Guinea-Bissau','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GY','Guyana','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('HK','Hong Kong','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('HM','Heard- and MC Donald Ilands','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('HN','Honduras','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('HR','Croatia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('HT','Haiti','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('HU','Hungary','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('ID','Indonesia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('IE','Ireland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('IF','Northern Ireland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('IL','Israel','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('IM','Isle of Man','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('IN','India','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('IO','British Indian O.T.','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('IQ','Iraq','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('IR','Iran Islamic Republic','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('IS','Iceland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('IT','Italy','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('JE','Jersey Bailwick','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('JM','Jamaica','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('JO','Jordan','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('JP','Japan','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('JT','Johnston Atoll','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('KE','Kenya','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('KG','Kyrgyzstan','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('KH','Cambodia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('KI','Kiribati','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('KM','Comoros','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('KN','Saint Kitts and Nevis','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('KP','Korea Democratic P. Rep.','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('KR','Korea Republic','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('KW','Kuwait','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('KY','Cayman Ilands','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('KZ','Kazakhstan','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('LA','Lao People Democratic Rep.','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('LB','Lebanon','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('LC','St. Lucia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('LI','Liechtenstein','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('LK','Sri Lanka','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('LR','Liberia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('LS','Lesotho','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('LT','Lithuania','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('LU','Luxembourg','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('LV','Latvia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('LY','Libyan Arab Jamahiriya','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MA','Morocco','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MC','Monaco','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MD','Moldova Rep.','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MG','Madagascar','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MH','Marshall Ilands','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MI','Midway Ilands','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MK','Macedonia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('ML','Mali','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MM','Myanmar','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MN','Mongolia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MO','Macau','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MP','Northern Mariana Ilands','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MQ','Martinique','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MR','Mauritania','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MS','Montserat','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MT','Malta','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MU','Mauritius','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MV','Maldives','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MW','Malawi','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MX','Mexico','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MY','Malaysia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MZ','Mozambique','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('NA','Namibia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('NC','New Caledonia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('NE','Niger','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('NF','Norfolk Iland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('NG','Nigeria','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('NI','Nicaragua','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('NL','Netherlands','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('NO','Norway','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('NP','Nepal','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('NQ','Dronning Mauds Land','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('NR','Nauru','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('NU','Niue','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('NZ','New Zealand','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('OM','Oman','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PA','Panama','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PE','Peru','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PF','French Polynesia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PG','Papua New Guinea','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PH','Philippines','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PK','Parkistan','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PL','Poland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PM','St. Pierre and Miquelon','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PN','Pitcairn Ilands','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PR','Puerto Rico','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PS','Palestian Authority','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PS','Gaza Strip','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PS','West Bank','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PT','Portugal','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PW','Palau','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PY','Paraguay','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('QA','Qatar','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('RE','Reunion','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('RO','Romania','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('RU','Russian Federation','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('RW','Rwanda','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SA','Saudi Arabia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SB','Solomon Ilands','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SC','Seychelles','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SD','Sudan','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SE','Sweden','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SG','Singapore','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SH','St. Helena','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SI','Slovenia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SJ','Svalbard and Jan Mayen','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SK','Slovakia Slovak Rep.','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SL','Sierra Leone','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SM','San Marino','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SN','Senegal','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SO','Somalia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SR','Suriname','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('ST','Sao Tome and Principe','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SV','El Salvador','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SY','Syrian Arab Rep.','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SZ','Swaziland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TA','Tahiti','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TC','Turks and Caicos Ilands','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TD','Chad','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TF','French Southern Ter.','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TG','Togo','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TH','Thailand','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TJ','Tajikistan','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TK','Ttokelau','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TM','Turkmenistan','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TN','Tunisia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TO','Tonga','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TP','East Timor','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TR','Turkey','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TT','Trinidad and Tobago','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TV','Tuvalu','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TW','Taiwan','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TZ','Tanzania U. Rep.','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('UA','Ukraine','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('UG','Uganda','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('UM','U.S. Minor Outlying Ilands','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('US','United States','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('UY','Uruguay','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('UZ','Uzbekistan','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('VA','Vatican City State','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('VA','Holy See','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('VC','St. Vincent and Grenadines','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('VE','Venezuela','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('VG','Virgin Iland (British)','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('VI','Virgin Iland (U.S.)','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('VN','Viet Nam','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('VU','Vanuatu','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('WF','Wallis anf Futuna Iland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('WK','Wake Iland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('WS','Samoa West','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('YE','Yemen','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('YT','Mayotte','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('ZA','South Africa','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('ZM','Zambia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('ZW','Zimbabwe','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AC','Ascension','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AD','Andorra','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AE','United Arab Emirates','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AF','Afghanistan','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AG','Antigua and Barbuda','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AI','Anguilla','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AL','Albania','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AM','Armenia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AN','Netherlands Antilles','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AO','Angola','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AQ','Antarctica','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AR','Argentina','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AS','American Samoa','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AT','Austria','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AU','Australia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AW','Aruba','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AZ','Azerbaijan','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BA','Bosnia and Herzegovina','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BB','Barbados','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BD','Bangladesh','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BE','Belgium','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BF','Burkina Faso','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BG','Bulgaria','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BH','Bahrain','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BI','Burundi','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BJ','Benin','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BM','Bermuda','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BN','Brunei Darussalam','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BO','Bolivia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BR','Brazil','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BS','Bahamas','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BT','Bhutan','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BV','Bouvet','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BW','Botswana','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BY','Belarus','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BZ','Belize','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CA','Canada','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CC','Cocos','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CD','Congo Democratc Repuplic','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CF','Central African Republic','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CG','Congo Republic','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CH','Switzerland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CI','Cote D Ivoire','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CK','Cook Iland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CL','Chile','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CM','Cameroon','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CN','China','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CO','Colombia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CR','Costa Rica','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CS','Serbia and Montenegro','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CT','Canton and Enderbury','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CU','Cuba','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CV','Cape Verde','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CX','Christmas Ilands','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CY','Cyprus','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CZ','Czech Republic','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('DJ','Djibuti','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('DK','Denmark','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('DM','Dominica','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('DO','Dominican Republic','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('DZ','Algeria','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('EC','Ecuador','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('EE','Estonia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('EG','Egypt','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('EH','Western Sahara','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('ER','Eritrea','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('ES','Spain','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('ET','Ethiopia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('EU','European Union','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('FI','Finland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('FJ','Fiji','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('FK','Falkland Ilands','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('FM','Micronesia Fed. S.','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('FO','Faroe Ilands','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('FR','Frabce','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GA','Gabon','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GB','United Kingdom','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GB','England','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GB','Great Britain','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GB','Scotland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GB','Channel Ilands','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GD','Grenada','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GE','Georgia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GF','French Guiana','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GG','Guernsey','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GH','Ghana','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GI','Gibraltar','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GL','Greenland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GM','Gambia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GN','Guinea','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GP','Guadeloupe','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GQ','Guinea Equatorial','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GR','Greece','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GS','South Georgia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GT','Guatemala','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GU','Guam','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GW','Guinea-Bissau','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GY','Guyana','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('HK','Hong Kong','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('HM','Heard- and MC Donald Ilands','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('HN','Honduras','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('HR','Croatia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('HT','Haiti','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('HU','Hungary','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('ID','Indonesia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('IE','Ireland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('IF','Northern Ireland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('IL','Israel','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('IM','Isle of Man','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('IN','India','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('IO','British Indian O.T.','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('IQ','Iraq','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('IR','Iran Islamic Republic','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('IS','Iceland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('IT','Italy','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('JE','Jersey Bailwick','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('JM','Jamaica','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('JO','Jordan','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('JP','Japan','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('JT','Johnston Atoll','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('KE','Kenya','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('KG','Kyrgyzstan','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('KH','Cambodia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('KI','Kiribati','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('KM','Comoros','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('KN','Saint Kitts and Nevis','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('KP','Korea Democratic P. Rep.','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('KR','Korea Republic','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('KW','Kuwait','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('KY','Cayman Ilands','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('KZ','Kazakhstan','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('LA','Lao People Democratic Rep.','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('LB','Lebanon','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('LC','St. Lucia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('LI','Liechtenstein','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('LK','Sri Lanka','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('LR','Liberia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('LS','Lesotho','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('LT','Lithuania','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('LU','Luxembourg','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('LV','Latvia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('LY','Libyan Arab Jamahiriya','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MA','Morocco','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MC','Monaco','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MD','Moldova Rep.','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MG','Madagascar','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MH','Marshall Ilands','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MI','Midway Ilands','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MK','Macedonia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('ML','Mali','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MM','Myanmar','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MN','Mongolia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MO','Macau','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MP','Northern Mariana Ilands','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MQ','Martinique','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MR','Mauritania','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MS','Montserat','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MT','Malta','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MU','Mauritius','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MV','Maldives','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MW','Malawi','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MX','Mexico','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MY','Malaysia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MZ','Mozambique','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('NA','Namibia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('NC','New Caledonia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('NE','Niger','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('NF','Norfolk Iland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('NG','Nigeria','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('NI','Nicaragua','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('NL','Netherlands','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('NO','Norway','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('NP','Nepal','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('NQ','Dronning Mauds Land','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('NR','Nauru','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('NU','Niue','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('NZ','New Zealand','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('OM','Oman','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PA','Panama','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PE','Peru','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PF','French Polynesia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PG','Papua New Guinea','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PH','Philippines','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PK','Parkistan','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PL','Poland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PM','St. Pierre and Miquelon','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PN','Pitcairn Ilands','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PR','Puerto Rico','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PS','Palestian Authority','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PS','Gaza Strip','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PS','West Bank','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PT','Portugal','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PW','Palau','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PY','Paraguay','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('QA','Qatar','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('RE','Reunion','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('RO','Romania','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('RU','Russian Federation','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('RW','Rwanda','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SA','Saudi Arabia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SB','Solomon Ilands','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SC','Seychelles','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SD','Sudan','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SE','Sweden','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SG','Singapore','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SH','St. Helena','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SI','Slovenia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SJ','Svalbard and Jan Mayen','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SK','Slovakia Slovak Rep.','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SL','Sierra Leone','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SM','San Marino','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SN','Senegal','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SO','Somalia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SR','Suriname','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('ST','Sao Tome and Principe','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SV','El Salvador','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SY','Syrian Arab Rep.','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SZ','Swaziland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TA','Tahiti','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TC','Turks and Caicos Ilands','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TD','Chad','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TF','French Southern Ter.','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TG','Togo','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TH','Thailand','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TJ','Tajikistan','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TK','Ttokelau','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TM','Turkmenistan','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TN','Tunisia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TO','Tonga','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TP','East Timor','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TR','Turkey','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TT','Trinidad and Tobago','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TV','Tuvalu','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TW','Taiwan','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TZ','Tanzania U. Rep.','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('UA','Ukraine','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('UG','Uganda','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('UM','U.S. Minor Outlying Ilands','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('US','United States','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('UY','Uruguay','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('UZ','Uzbekistan','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('VA','Vatican City State','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('VA','Holy See','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('VC','St. Vincent and Grenadines','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('VE','Venezuela','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('VG','Virgin Iland (British)','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('VI','Virgin Iland (U.S.)','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('VN','Viet Nam','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('VU','Vanuatu','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('WF','Wallis anf Futuna Iland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('WK','Wake Iland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('WS','Samoa West','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('YE','Yemen','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('YT','Mayotte','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('ZA','South Africa','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('ZM','Zambia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('ZW','Zimbabwe','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AT','Austria','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BE','Belgium','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CH','Switzerland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CR','Costa Rica','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CZ','Czech Republic','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('DK','Denmark','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('ES','Spain','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('FI','Finland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('FR','Frabce','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GB','United Kingdom','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GB','England','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GB','Great Britain','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GB','Scotland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GB','Channel Ilands','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GR','Greece','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('HR','Croatia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('HU','Hungary','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('IE','Ireland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('IF','Northern Ireland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('IS','Iceland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('IT','Italy','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('LI','Liechtenstein','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('LU','Luxembourg','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MC','Monaco','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('NL','Netherlands','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('NO','Norway','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PL','Poland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('RO','Romania','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('RU','Russian Federation','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SE','Sweden','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SI','Slovenia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SK','Slovakia Slovak Rep.','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TR','Turkey','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AC','Ascension','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AD','Andorra','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AE','United Arab Emirates','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AF','Afghanistan','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AG','Antigua and Barbuda','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AI','Anguilla','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AL','Albania','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AM','Armenia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AN','Netherlands Antilles','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AO','Angola','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AQ','Antarctica','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AR','Argentina','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AS','American Samoa','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AU','Australia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AW','Aruba','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('AZ','Azerbaijan','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BA','Bosnia and Herzegovina','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BB','Barbados','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BD','Bangladesh','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BF','Burkina Faso','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BG','Bulgaria','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BH','Bahrain','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BI','Burundi','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BJ','Benin','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BM','Bermuda','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BN','Brunei Darussalam','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BO','Bolivia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BR','Brazil','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BS','Bahamas','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BT','Bhutan','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BV','Bouvet','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BW','Botswana','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BY','Belarus','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('BZ','Belize','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CA','Canada','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CC','Cocos','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CD','Congo Democratc Repuplic','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CF','Central African Republic','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CG','Congo Republic','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CI','Cote D Ivoire','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CK','Cook Iland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CL','Chile','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CM','Cameroon','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CN','China','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CO','Colombia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CS','Serbia and Montenegro','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CT','Canton and Enderbury','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CU','Cuba','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CV','Cape Verde','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CX','Christmas Ilands','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('CY','Cyprus','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('DJ','Djibuti','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('DM','Dominica','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('DO','Dominican Republic','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('DZ','Algeria','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('EC','Ecuador','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('EE','Estonia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('EG','Egypt','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('EH','Western Sahara','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('ER','Eritrea','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('ET','Ethiopia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('EU','European Union','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('FJ','Fiji','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('FK','Falkland Ilands','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('FM','Micronesia Fed. S.','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('FO','Faroe Ilands','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GA','Gabon','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GD','Grenada','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GE','Georgia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GF','French Guiana','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GG','Guernsey','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GH','Ghana','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GI','Gibraltar','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GL','Greenland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GM','Gambia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GN','Guinea','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GP','Guadeloupe','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GQ','Guinea Equatorial','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GS','South Georgia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GT','Guatemala','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GU','Guam','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GW','Guinea-Bissau','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('GY','Guyana','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('HK','Hong Kong','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('HM','Heard- and MC Donald Ilands','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('HN','Honduras','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('HT','Haiti','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('ID','Indonesia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('IL','Israel','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('IM','Isle of Man','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('IN','India','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('IO','British Indian O.T.','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('IQ','Iraq','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('IR','Iran Islamic Republic','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('JE','Jersey Bailwick','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('JM','Jamaica','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('JO','Jordan','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('JP','Japan','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('JT','Johnston Atoll','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('KE','Kenya','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('KG','Kyrgyzstan','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('KH','Cambodia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('KI','Kiribati','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('KM','Comoros','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('KN','Saint Kitts and Nevis','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('KP','Korea Democratic P. Rep.','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('KR','Korea Republic','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('KW','Kuwait','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('KY','Cayman Ilands','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('KZ','Kazakhstan','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('LA','Lao People Democratic Rep.','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('LB','Lebanon','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('LC','St. Lucia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('LK','Sri Lanka','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('LR','Liberia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('LS','Lesotho','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('LT','Lithuania','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('LV','Latvia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('LY','Libyan Arab Jamahiriya','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MA','Morocco','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MD','Moldova Rep.','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MG','Madagascar','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MH','Marshall Ilands','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MI','Midway Ilands','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MK','Macedonia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('ML','Mali','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MM','Myanmar','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MN','Mongolia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MO','Macau','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MP','Northern Mariana Ilands','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MQ','Martinique','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MR','Mauritania','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MS','Montserat','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MT','Malta','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MU','Mauritius','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MV','Maldives','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MW','Malawi','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MX','Mexico','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MY','Malaysia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('MZ','Mozambique','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('NA','Namibia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('NC','New Caledonia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('NE','Niger','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('NF','Norfolk Iland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('NG','Nigeria','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('NI','Nicaragua','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('NP','Nepal','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('NQ','Dronning Mauds Land','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('NR','Nauru','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('NU','Niue','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('NZ','New Zealand','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('OM','Oman','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PA','Panama','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PE','Peru','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PF','French Polynesia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PG','Papua New Guinea','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PH','Philippines','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PK','Parkistan','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PM','St. Pierre and Miquelon','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PN','Pitcairn Ilands','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PR','Puerto Rico','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PS','Palestian Authority','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PS','Gaza Strip','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PS','West Bank','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PT','Portugal','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PW','Palau','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('PY','Paraguay','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('QA','Qatar','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('RE','Reunion','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('RW','Rwanda','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SA','Saudi Arabia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SB','Solomon Ilands','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SC','Seychelles','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SD','Sudan','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SG','Singapore','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SH','St. Helena','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SJ','Svalbard and Jan Mayen','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SL','Sierra Leone','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SM','San Marino','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SN','Senegal','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SO','Somalia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SR','Suriname','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('ST','Sao Tome and Principe','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SV','El Salvador','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SY','Syrian Arab Rep.','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('SZ','Swaziland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TA','Tahiti','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TC','Turks and Caicos Ilands','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TD','Chad','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TF','French Southern Ter.','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TG','Togo','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TH','Thailand','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TJ','Tajikistan','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TK','Ttokelau','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TM','Turkmenistan','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TN','Tunisia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TO','Tonga','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TP','East Timor','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TT','Trinidad and Tobago','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TV','Tuvalu','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TW','Taiwan','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('TZ','Tanzania U. Rep.','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('UA','Ukraine','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('UG','Uganda','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('UM','U.S. Minor Outlying Ilands','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('US','United States','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('UY','Uruguay','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('UZ','Uzbekistan','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('VA','Vatican City State','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('VA','Holy See','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('VC','St. Vincent and Grenadines','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('VE','Venezuela','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('VG','Virgin Iland (British)','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('VI','Virgin Iland (U.S.)','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('VN','Viet Nam','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('VU','Vanuatu','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('WF','Wallis anf Futuna Iland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('WK','Wake Iland','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('WS','Samoa West','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('YE','Yemen','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('YT','Mayotte','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('ZA','South Africa','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('ZM','Zambia','Y');
-INSERT INTO `mxchange_countries` (`code`,`descr`,`is_active`) VALUES ('ZW','Zimbabwe','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AT','Austria','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BE','Belgium','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CH','Switzerland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CR','Costa Rica','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CZ','Czech Republic','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('DK','Denmark','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('ES','Spain','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('FI','Finland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('FR','Frabce','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GB','United Kingdom','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GB','England','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GB','Great Britain','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GB','Scotland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GB','Channel Ilands','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GR','Greece','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('HR','Croatia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('HU','Hungary','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('IE','Ireland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('IF','Northern Ireland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('IS','Iceland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('IT','Italy','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('LI','Liechtenstein','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('LU','Luxembourg','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MC','Monaco','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('NL','Netherlands','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('NO','Norway','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PL','Poland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('RO','Romania','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('RU','Russian Federation','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SE','Sweden','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SI','Slovenia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SK','Slovakia Slovak Rep.','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TR','Turkey','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AC','Ascension','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AD','Andorra','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AE','United Arab Emirates','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AF','Afghanistan','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AG','Antigua and Barbuda','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AI','Anguilla','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AL','Albania','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AM','Armenia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AN','Netherlands Antilles','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AO','Angola','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AQ','Antarctica','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AR','Argentina','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AS','American Samoa','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AU','Australia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AW','Aruba','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('AZ','Azerbaijan','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BA','Bosnia and Herzegovina','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BB','Barbados','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BD','Bangladesh','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BF','Burkina Faso','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BG','Bulgaria','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BH','Bahrain','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BI','Burundi','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BJ','Benin','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BM','Bermuda','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BN','Brunei Darussalam','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BO','Bolivia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BR','Brazil','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BS','Bahamas','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BT','Bhutan','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BV','Bouvet','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BW','Botswana','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BY','Belarus','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('BZ','Belize','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CA','Canada','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CC','Cocos','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CD','Congo Democratc Repuplic','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CF','Central African Republic','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CG','Congo Republic','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CI','Cote D Ivoire','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CK','Cook Iland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CL','Chile','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CM','Cameroon','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CN','China','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CO','Colombia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CS','Serbia and Montenegro','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CT','Canton and Enderbury','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CU','Cuba','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CV','Cape Verde','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CX','Christmas Ilands','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('CY','Cyprus','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('DJ','Djibuti','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('DM','Dominica','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('DO','Dominican Republic','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('DZ','Algeria','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('EC','Ecuador','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('EE','Estonia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('EG','Egypt','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('EH','Western Sahara','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('ER','Eritrea','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('ET','Ethiopia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('EU','European Union','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('FJ','Fiji','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('FK','Falkland Ilands','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('FM','Micronesia Fed. S.','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('FO','Faroe Ilands','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GA','Gabon','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GD','Grenada','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GE','Georgia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GF','French Guiana','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GG','Guernsey','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GH','Ghana','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GI','Gibraltar','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GL','Greenland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GM','Gambia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GN','Guinea','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GP','Guadeloupe','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GQ','Guinea Equatorial','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GS','South Georgia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GT','Guatemala','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GU','Guam','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GW','Guinea-Bissau','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('GY','Guyana','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('HK','Hong Kong','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('HM','Heard- and MC Donald Ilands','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('HN','Honduras','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('HT','Haiti','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('ID','Indonesia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('IL','Israel','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('IM','Isle of Man','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('IN','India','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('IO','British Indian O.T.','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('IQ','Iraq','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('IR','Iran Islamic Republic','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('JE','Jersey Bailwick','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('JM','Jamaica','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('JO','Jordan','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('JP','Japan','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('JT','Johnston Atoll','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('KE','Kenya','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('KG','Kyrgyzstan','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('KH','Cambodia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('KI','Kiribati','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('KM','Comoros','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('KN','Saint Kitts and Nevis','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('KP','Korea Democratic P. Rep.','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('KR','Korea Republic','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('KW','Kuwait','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('KY','Cayman Ilands','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('KZ','Kazakhstan','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('LA','Lao People Democratic Rep.','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('LB','Lebanon','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('LC','St. Lucia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('LK','Sri Lanka','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('LR','Liberia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('LS','Lesotho','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('LT','Lithuania','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('LV','Latvia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('LY','Libyan Arab Jamahiriya','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MA','Morocco','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MD','Moldova Rep.','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MG','Madagascar','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MH','Marshall Ilands','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MI','Midway Ilands','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MK','Macedonia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('ML','Mali','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MM','Myanmar','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MN','Mongolia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MO','Macau','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MP','Northern Mariana Ilands','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MQ','Martinique','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MR','Mauritania','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MS','Montserat','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MT','Malta','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MU','Mauritius','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MV','Maldives','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MW','Malawi','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MX','Mexico','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MY','Malaysia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('MZ','Mozambique','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('NA','Namibia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('NC','New Caledonia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('NE','Niger','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('NF','Norfolk Iland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('NG','Nigeria','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('NI','Nicaragua','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('NP','Nepal','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('NQ','Dronning Mauds Land','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('NR','Nauru','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('NU','Niue','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('NZ','New Zealand','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('OM','Oman','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PA','Panama','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PE','Peru','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PF','French Polynesia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PG','Papua New Guinea','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PH','Philippines','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PK','Parkistan','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PM','St. Pierre and Miquelon','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PN','Pitcairn Ilands','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PR','Puerto Rico','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PS','Palestian Authority','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PS','Gaza Strip','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PS','West Bank','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PT','Portugal','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PW','Palau','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('PY','Paraguay','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('QA','Qatar','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('RE','Reunion','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('RW','Rwanda','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SA','Saudi Arabia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SB','Solomon Ilands','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SC','Seychelles','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SD','Sudan','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SG','Singapore','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SH','St. Helena','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SJ','Svalbard and Jan Mayen','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SL','Sierra Leone','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SM','San Marino','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SN','Senegal','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SO','Somalia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SR','Suriname','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('ST','Sao Tome and Principe','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SV','El Salvador','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SY','Syrian Arab Rep.','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('SZ','Swaziland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TA','Tahiti','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TC','Turks and Caicos Ilands','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TD','Chad','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TF','French Southern Ter.','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TG','Togo','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TH','Thailand','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TJ','Tajikistan','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TK','Ttokelau','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TM','Turkmenistan','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TN','Tunisia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TO','Tonga','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TP','East Timor','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TT','Trinidad and Tobago','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TV','Tuvalu','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TW','Taiwan','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('TZ','Tanzania U. Rep.','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('UA','Ukraine','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('UG','Uganda','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('UM','U.S. Minor Outlying Ilands','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('US','United States','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('UY','Uruguay','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('UZ','Uzbekistan','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('VA','Vatican City State','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('VA','Holy See','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('VC','St. Vincent and Grenadines','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('VE','Venezuela','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('VG','Virgin Iland (British)','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('VI','Virgin Iland (U.S.)','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('VN','Viet Nam','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('VU','Vanuatu','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('WF','Wallis anf Futuna Iland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('WK','Wake Iland','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('WS','Samoa West','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('YE','Yemen','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('YT','Mayotte','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('ZA','South Africa','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('ZM','Zambia','Y');
+INSERT INTO `mxchange_countries` (`code`, `descr`, `is_active`) VALUES ('ZW','Zimbabwe','Y');
* but only when there is no admin begging.
* Admins shall be able to test it!
*/
- SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_beg_ips` (`userid`,`remote_ip`,`sid`,`timeout`) VALUES ('%s','%s','%s', UNIX_TIMESTAMP())",
+ SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_beg_ips` (`userid`, `remote_ip`, `sid`, `timeout`) VALUES ('%s','%s','%s', UNIX_TIMESTAMP())",
array(
getUserData('userid'),
detectRemoteAddr(),
if (($points - getConfig('doubler_left') - postRequestElement('points') * getConfig('doubler_charge') / 100) >= 0) {
// Enough points are left so let's continue with the doubling process
// Create doubling "account" with *DOUBLED* points
- SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_doubler` (`userid`,`refid`,`points`,`remote_ip`,`timemark`,`completed`,`is_ref`) VALUES (%s,%s,%s,'%s', UNIX_TIMESTAMP(), 'N','N')",
+ SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_doubler` (`userid`, `refid`, `points`, `remote_ip`, `timemark`, `completed`, `is_ref`) VALUES (%s,%s,%s,'%s', UNIX_TIMESTAMP(), 'N','N')",
array(
getUserData('userid'),
convertZeroToNull(determineReferralId()),
// Add second line for the referral but only when userid != refid
if ((isValidUserId(determineReferralId())) && (determineReferralId() != getUserData('userid'))) {
// Okay add a refid line and apply refid percents
- SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_doubler` (`userid`,`refid`,`points`,`remote_ip`,`timemark`,`completed`,`is_ref`) VALUES (%s,0,%s,'%s',UNIX_TIMESTAMP(),'N','Y')",
+ SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_doubler` (`userid`, `refid`, `points`, `remote_ip`, `timemark`, `completed`, `is_ref`) VALUES (%s,0,%s,'%s',UNIX_TIMESTAMP(),'N','Y')",
array(
convertZeroToNull(determineReferralId()),
(postRequestElement('points') * 2 * getConfig('doubler_ref') / 100),
// Seems to be an IP! Now check deeper...
if (($matches[0] == $ip) && ($matches[1] >= 0) && ($matches[1] <= 255) && ($matches[2] >= 0) && ($matches[2] <= 255) && ($matches[3] >= 0) && ($matches[3] <= 255) && ($matches[4] > 0) && ($matches[4] < 255)) {
// We also cache IP addresses
- SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_dns_cache` (`ip`,`hostname`,`added`) VALUES ('%s', '%s', NOW())",
+ SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_dns_cache` (`ip`, `hostname`, `added`) VALUES ('%s', '%s', NOW())",
array($ip, $hostname), __METHOD__, __LINE__);
// Set return value to $ip
//* DEBUG: */ logDebugMessage(__METHOD__, __LINE__, sprintf("Cannot lookup: %s", $hostname));
} else {
// Put entry in DB
- SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_dns_cache` (`ip`,`hostname`,`added`) VALUES ('%s', '%s', NOW())",
+ SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_dns_cache` (`ip`, `hostname`, `added`) VALUES ('%s', '%s', NOW())",
array($ip, $hostname), __METHOD__, __LINE__);
// Set return value to $ip
// Check for 100% klickrate mails
$result_bonus = SQL_QUERY("SELECT
- `id`,`userid`,`subject`,`timestamp_ordered`,`clicks`,`url`
+ `id`,
+ `userid`,
+ `subject`,
+ `timestamp_ordered`,
+ `clicks`,
+ `url`
FROM
`{?_MYSQL_PREFIX?}_user_stats`
WHERE
} // END - for
// Insert row into database
- SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_user_birthday` (`userid`,`points`,`chk_value`) VALUES (%s,{?birthday_points?},'%s' )",
+ SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_user_birthday` (`userid`, `points`, `chk_value`) VALUES (%s,{?birthday_points?},'%s' )",
array(
bigintval($content['userid']),
$content['check']
// Check for holidays we need to enable and send email to user
$result_main = SQL_QUERY("SELECT
- `userid`,`holiday_activated`
+ `userid`,
+ `holiday_activated`
FROM
`{?_MYSQL_PREFIX?}_user_data`
WHERE
while ($content = SQL_FETCHARRAY($result_main)) {
// Check if his holiday can be activated
$result_holiday = SQL_QUERY_ESC("SELECT
- `holiday_start`,`holiday_end`
+ `holiday_start`,
+ `holiday_end`
FROM
`{?_MYSQL_PREFIX?}_user_holidays`
WHERE
$sql .= " FROM `{?_MYSQL_PREFIX?}_%s` WHERE `%s`='%s' LIMIT 1";
} else {
// Yes, prepare the SQL statement
- $sql = 'SELECT `' . implode('`,`', $columns) . "` FROM `{?_MYSQL_PREFIX?}_%s` WHERE `%s`='%s' LIMIT 1";
+ $sql = 'SELECT `' . implode('`, `', $columns) . "` FROM `{?_MYSQL_PREFIX?}_%s` WHERE `%s`='%s' LIMIT 1";
}
// Return the result
if (isExtensionInstalledAndNewer('sql_patches', '0.0.6')) {
// New way, with CSS
//* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'ext_name=' . getCurrentExtensionName() . ',always_active=' . getThisExtensionAlwaysActive() . ', ext_ver=' . getCurrentExtensionVersion() . 'ext_css=' . getExtensionHasCss());
- SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_extensions` (`ext_name`,`ext_active`,`ext_version`,`ext_has_css`) VALUES ('%s','%s','%s','%s')",
+ SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_extensions` (`ext_name`, `ext_active`, `ext_version`, `ext_has_css`) VALUES ('%s','%s','%s','%s')",
array(
getCurrentExtensionName(),
getThisExtensionAlwaysActive(),
} else {
// Old way, no CSS
//* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'ext_name=' . getCurrentExtensionName() . ',always_active=' . getThisExtensionAlwaysActive() . ', ext_ver=' . getCurrentExtensionVersion());
- SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_extensions` (`ext_name`,`ext_active`,`ext_version`) VALUES ('%s','%s','%s')",
+ SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_extensions` (`ext_name`, `ext_active`, `ext_version`) VALUES ('%s','%s','%s')",
array(
getCurrentExtensionName(),
getThisExtensionAlwaysActive(),
// Is what null?
if (is_null($what)) {
// Add main menu
- $sql = sprintf("INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`,`what`,`title`,`descr`,`sort`) VALUES ('%s',NULL,'%s','%s',%s)",
+ $sql = sprintf("INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`, `what`, `title`, `descr`, `sort`) VALUES ('%s',NULL,'%s','%s',%s)",
$action,
$title,
$descr,
);
} else {
// Add sub menu
- $sql = sprintf("INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`,`what`,`title`,`descr`,`sort`) VALUES ('%s','%s','%s','%s',%s)",
+ $sql = sprintf("INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`, `what`, `title`, `descr`, `sort`) VALUES ('%s','%s','%s','%s',%s)",
$action,
$what,
$title,
// Is what null?
if (is_null($what)) {
// Add main menu
- $sql = sprintf("INSERT INTO `{?_MYSQL_PREFIX?}_guest_menu` (`action`,`what`,`title`,`visible`,`locked`,`sort`) VALUES ('%s',NULL,'%s','N','Y',%s)",
+ $sql = sprintf("INSERT INTO `{?_MYSQL_PREFIX?}_guest_menu` (`action`, `what`, `title`, `visible`, `locked`, `sort`) VALUES ('%s',NULL,'%s','N','Y',%s)",
$action,
$title,
bigintval($sort)
);
} else {
// Add sub menu
- $sql = sprintf("INSERT INTO `{?_MYSQL_PREFIX?}_guest_menu` (`action`,`what`,`title`,`visible`,`locked`,`sort`) VALUES ('%s','%s','%s','N','Y',%s)",
+ $sql = sprintf("INSERT INTO `{?_MYSQL_PREFIX?}_guest_menu` (`action`, `what`, `title`, `visible`, `locked`, `sort`) VALUES ('%s','%s','%s','N','Y',%s)",
$action,
$what,
$title,
// Is what null?
if (is_null($what)) {
// Add main menu
- $sql = sprintf("INSERT INTO `{?_MYSQL_PREFIX?}_member_menu` (`action`,`what`,`title`,`visible`,`locked`,`sort`) VALUES ('%s',NULL,'%s','N','Y',%s)",
+ $sql = sprintf("INSERT INTO `{?_MYSQL_PREFIX?}_member_menu` (`action`, `what`, `title`, `visible`, `locked`, `sort`) VALUES ('%s',NULL,'%s','N','Y',%s)",
$action,
$title,
bigintval($sort)
);
} else {
// Add sub menu
- $sql = sprintf("INSERT INTO `{?_MYSQL_PREFIX?}_member_menu` (`action`,`what`,`title`,`visible`,`locked`,`sort`) VALUES ('%s','%s','%s','N','Y',%s)",
+ $sql = sprintf("INSERT INTO `{?_MYSQL_PREFIX?}_member_menu` (`action`, `what`, `title`, `visible`, `locked`, `sort`) VALUES ('%s','%s','%s','N','Y',%s)",
$action,
$what,
$title,
// Is what null?
if (is_null($what)) {
// Add main menu
- $sql = sprintf("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_menu` (`action`,`what`,`title`,`active`,`sort`) VALUES ('%s',NULL,'%s','%s',%s)",
+ $sql = sprintf("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_menu` (`action`, `what`, `title`, `active`, `sort`) VALUES ('%s',NULL,'%s','%s',%s)",
$action,
$title,
$active,
);
} else {
// Add sub menu
- $sql = sprintf("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_menu` (`action`,`what`,`title`,`active`,`sort`) VALUES ('%s','%s','%s','%s',%s)",
+ $sql = sprintf("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_menu` (`action`, `what`, `title`, `active`, `sort`) VALUES ('%s','%s','%s','%s',%s)",
$action,
$what,
$title,
} // END - if
// ... add an SQL query
- addExtensionSql(sprintf("INSERT INTO `{?_MYSQL_PREFIX?}_points_data` (`subject`,`column_name`,`locked_mode`,`payment_method`) VALUES ('%s','%s','%s','%s')",
+ addExtensionSql(sprintf("INSERT INTO `{?_MYSQL_PREFIX?}_points_data` (`subject`, `column_name`, `locked_mode`, `payment_method`) VALUES ('%s','%s','%s','%s')",
$subject,
$columnName,
$lockedMode,
PRIMARY KEY (`id`),
INDEX (`admin_id`)",
'Mail template -> admin connection table');
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`,`what`,`title`,`descr`,`sort`) VALUES ('admins','admins_mails','Admin-Mails','Stellen Sie hier ein, welcher Admin welche Mail erhalten soll. Sie können dies (derzeit) jedoch erst, wenn einmal die Mail versendet wurde!',5)");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`, `what`, `title`, `descr`, `sort`) VALUES ('admins','admins_mails','Admin-Mails','Stellen Sie hier ein, welcher Admin welche Mail erhalten soll. Sie können dies (derzeit) jedoch erst, wenn einmal die Mail versendet wurde!',5)");
// Update notes (these will be set as task text!)
setExtensionUpdateNotes("Kontrollieren Sie, welche Mails welcher Admin oder alle (admin_id=0) bekommen soll oder im UserLog (admin_id=-1) verzeichnet werden soll. Standardmässig wird weiter an alle versendet.");
`overdraft_credit` FLOAT(20,5) UNSIGNED NOT NULL DEFAULT 0.00000,
PRIMARY KEY (`id`),
UNIQUE INDEX (`pin`),
-INDEX `userid_type` (`userid`,`account_type`),
+INDEX `userid_type` (`userid`, `account_type`),
INDEX (`account_created`),
INDEX (`account_locked`),
INDEX (`last_tan_stamp`)",
`day_available` CHAR(4) NOT NULL DEFAULT '0000',
`transfer_purpose` TINYTEXT NOT NULL,
PRIMARY KEY (`id`),
-INDEX (`to_account_id`,`from_account_id`),
-INDEX (`day_bookkeeping`,`day_available`)",
+INDEX (`to_account_id`, `from_account_id`),
+INDEX (`day_bookkeeping`, `day_available`)",
'Bank user->user transfers');
addDropTableSql('bank_packages');
`tan` VARCHAR(50) NOT NULL DEFAULT '',
`used` ENUM('Y','N') NOT NULL DEFAULT 'N',
PRIMARY KEY (`id`),
-UNIQUE INDEX (`account_id`,`tan`)",
+UNIQUE INDEX (`account_id`, `tan`)",
'Bank TAN lists per user');
// Admin menu queries
`coupon_code` VARCHAR(30) NULL DEFAULT NULL,
`cashed_on` TIMESTAMP NULL DEFAULT NULL,
PRIMARY KEY (`id`),
-UNIQUE INDEX `coupon_user` (`coupon_id`,`userid`),
+UNIQUE INDEX `coupon_user` (`coupon_id`, `userid`),
UNIQUE INDEX (`coupon_code`)",
'Coupon->user connection');
'Debug clients');
// Add this exchange as first client
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_debug_client` (`url`,`title`,`webmaster`,`status`) VALUES ('{?URL?}','{?MAIN_TITLE?}','{?WEBMASTER?}','ACTIVE')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_debug_client` (`url`, `title`, `webmaster`, `status`) VALUES ('{?URL?}','{?MAIN_TITLE?}','{?WEBMASTER?}','ACTIVE')");
// Table for debug log <-> client connection
addDropTableSql('debug_client_log');
`log_id` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
PRIMARY KEY (`id`),
UNIQUE INDEX (`log_id`),
-INDEX `client_log` (`client_id`,`log_id`)",
+INDEX `client_log` (`client_id`, `log_id`)",
'Debug client <-> log connection');
// Guest menus
`earning_provider` VARCHAR(255) NOT NULL DEFAULT 'INVALID',
`earning_sorting` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
PRIMARY KEY (`earning_id`),
-UNIQUE INDEX `earning_group_name` (`earning_group`,`earning_provider`)",
+UNIQUE INDEX `earning_group_name` (`earning_group`, `earning_provider`)",
'Registered (extra) earnings');
// User->earnings connection table
`earning_current_amount` SMALLINT(7) NOT NULL DEFAULT 0,
`earning_points` FLOAT(20,5) NOT NULL DEFAULT 0.00000,
PRIMARY KEY (`id`),
-UNIQUE INDEX `user_earning` (`earning_id`,`earning_userid`),
+UNIQUE INDEX `user_earning` (`earning_id`, `earning_userid`),
INDEX (`earning_userid`)",
'User->Earning connections');
addMemberMenuSql('extras', 'book_forced', 'Forced-Kampagne buchen', 3);
// Register Forced-PopUps with earning_data table
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_earning_data` (`earning_group`,`earning_provider`,`earning_sorting`) VALUES ('POPUP','FORCED_POPUP',1)");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_earning_data` (`earning_group`, `earning_provider`, `earning_sorting`) VALUES ('POPUP','FORCED_POPUP',1)");
// Register filters
registerFilter(__FILE__, __LINE__, 'add_forced_ads_types', 'FORCED_AD_TYPE_DEFAULTS', false, true, isExtensionDryRun());
`connect_id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
`grade_id` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
`grade_cash_id` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
-UNIQUE INDEX `grade_cash` (`grade_id`,`grade_cash_id`),
+UNIQUE INDEX `grade_cash` (`grade_id`, `grade_cash_id`),
INDEX (`grade_cash_id`),
PRIMARY KEY (`connect_id`)",
'Grade<->cash data connection');
`userid` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
`grade_id` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
`grade_expired` TIMESTAMP NOT NULL DEFAULT '0000-00-00 00:00:00',
-UNIQUE INDEX (`userid`,`grade_id`),
+UNIQUE INDEX (`userid`, `grade_id`),
INDEX (`grade_id`),
PRIMARY KEY (`connect_id`)",
'Grade<->user connection');
addExtensionSql("DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_member_menu` WHERE `what`='holiday' LIMIT 1");
addExtensionSql("DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_admin_menu` WHERE `action`='holiday' LIMIT 4");
addExtensionSql("DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_max_receive` WHERE `value`=0 LIMIT 1");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_max_receive` (`value`,`comment`) VALUES (0,'Urlaub')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_max_receive` (`value`, `comment`) VALUES (0,'Urlaub')");
break;
case 'activate': // Do stuff when admin activates this extension
break;
case '0.1.8': // SQL queries for v0.1.8
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu_las` (`la_id`,`la_action`,`la_what`) VALUES ('member', '', 'list_holiday')");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu_las` (`la_id`,`la_action`,`la_what`) VALUES ('member', '', 'del_holiday')");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu_las` (`la_id`,`la_action`,`la_what`) VALUES ('config', '', 'config_holiday')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu_las` (`la_id`, `la_action`, `la_what`) VALUES ('member', '', 'list_holiday')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu_las` (`la_id`, `la_action`, `la_what`) VALUES ('member', '', 'del_holiday')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu_las` (`la_id`, `la_action`, `la_what`) VALUES ('config', '', 'config_holiday')");
// Depends on ext-sql_patches (or you have to execute these both SQL statements by phpMyAdmin
addExtensionDependency('sql_patches');
* @TODO GeldSponsor.de Requires ID card copy/business reg. *
* @TODO GolloX: Which charset? *
* @TODO paid4ad: Which URLs for click and banner? *
+ * @TODO SuperPromo24: HighForced banner, leader board, mini/page layer *
+ * @TODO SuperPromo24: Textlink view is a JavaScript *
* @TODO VIPads: HTML text is send encoded with BASE64 *
* @TODO Der Werbepartner.cc: Banner click/view is JavaScript! *
* @TODO Der Werbepartner.cc: Forced textlink not correct *
`network_type_click_url` VARCHAR(255) NOT NULL DEFAULT '',
`network_type_banner_url` VARCHAR(255) NULL DEFAULT NULL,
`network_type_reload_time_unit` ENUM('s','m','h','D','W') NOT NULL DEFAULT 'h',
+`network_text_encoding` ENUM('NONE','BASE64') NOT NULL DEFAULT 'NONE',
PRIMARY KEY (`network_type_id`),
-UNIQUE INDEX `provider_type` (`network_id`,`network_type_handler`)",
+UNIQUE INDEX `provider_type` (`network_id`, `network_type_handler`)",
'Types provideable by networks');
// HTTP parameters (names) for URLs or POST fields
`network_request_param_value` VARCHAR(50) NOT NULL DEFAULT 'invalid',
`network_request_param_default` VARCHAR(255) NULL DEFAULT NULL,
PRIMARY KEY (`network_request_param_id`),
-UNIQUE INDEX `provider_type_key` (`network_id`,`network_type_id`,`network_request_param_key`),
-UNIQUE INDEX `provider_type_value` (`network_id`,`network_type_id`,`network_request_param_value`)",
+UNIQUE INDEX `provider_type_key` (`network_id`, `network_type_id`, `network_request_param_key`),
+UNIQUE INDEX `provider_type_value` (`network_id`, `network_type_id`, `network_request_param_value`)",
'Request parameters for GET/POST request');
// Payment check ("vcheck") for all advertising networks
`network_type_code_value` VARCHAR(50) NOT NULL DEFAULT '',
`network_type_code_type` VARCHAR(100) NOT NULL DEFAULT 'INVALID_TYPE',
PRIMARY KEY (`network_type_code_id`),
-UNIQUE INDEX `code_type` (`network_type_code_value`,`network_type_id`),
+UNIQUE INDEX `code_type` (`network_type_code_value`, `network_type_id`),
INDEX (`network_type_id`)",
'Error codes for all types');
`network_array_index` SMALLINT(5) UNSIGNED NOT NULL DEFAULT 0,
`sort` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
PRIMARY KEY (`network_array_id`),
-UNIQUE INDEX `provider_type_key` (`network_id`,`network_type_id`,`network_array_index`),
+UNIQUE INDEX `provider_type_key` (`network_id`, `network_type_id`, `network_array_index`),
INDEX (`sort`)",
'Translation of API responses, generic data, DO NOT ALTER!');
`network_api_referral_button` VARCHAR(255) NULL DEFAULT NULL,
PRIMARY KEY (`network_api_id`),
UNIQUE INDEX (`network_id`),
-UNIQUE INDEX `network_affiliate` (`network_id`,`network_api_affiliate_id`),
-UNIQUE INDEX `affiliate_site` (`network_api_affiliate_id`,`network_api_site_id`)",
+UNIQUE INDEX `network_affiliate` (`network_id`, `network_api_affiliate_id`),
+UNIQUE INDEX `affiliate_site` (`network_api_affiliate_id`, `network_api_site_id`)",
'API configuration data');
// Configuration data for e.g. reload-time
`network_min_payment` FLOAT(20,5) UNSIGNED NULL DEFAULT NULL,
`network_allow_erotic` VARCHAR(10) NULL DEFAULT NULL,
PRIMARY KEY (`network_data_id`),
-UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
+UNIQUE INDEX `provider_type` (`network_id`, `network_type_id`)",
'Configuration data for every type (e.g. reload-time)');
// Configuration data for vcheck (e.g. key)
`network_cache_data` MEDIUMBLOB,
`network_cache_timestamp` TIMESTAMP NULL DEFAULT NULL,
PRIMARY KEY (`network_cache_id`),
-UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
+UNIQUE INDEX `provider_type` (`network_id`, `network_type_id`)",
'Cache for all queried APIs');
// Reload locks for several types
`network_reload_lock` SMALLINT(5) UNSIGNED NOT NULL DEFAULT 0,
`network_inserted` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`network_reload_id`),
-UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
+UNIQUE INDEX `provider_type` (`network_id`, `network_type_id`)",
'Reload locks');
// Insert API response array translations, these will be used for calling the right filter function
addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_translations` (`network_translation_name`) VALUES
-('id'),
+('campaign_id'),
('name'),
('alternate_text'),
('reload'),
('allowed_countries')");
// Sponsor networks
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_data` (`network_short_name`,`network_title`,`network_reflink`,`network_data_separator`,`network_row_separator`,`network_request_type`,`network_charset`,`network_require_id_card`,`network_query_amount`,`network_active`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_data` (`network_short_name`, `network_title`, `network_reflink`, `network_data_separator`, `network_row_separator`, `network_request_type`, `network_charset`, `network_require_id_card`, `network_query_amount`, `network_active`) VALUES
('a3h', 'A3H', 'http://www.a3h.de?ref=1447', '|', '|', 'GET', 'WINDOWS-1252', 'N', 100, 'Y'),
('abiszed', 'AbisZED-Netz', 'http://abiszed-netz.de/index.php?ref=557', '|', '|', 'GET', 'ISO-8859-1', 'Y', 150, 'Y'),
('admagnet', 'AD-Magnet', 'http://www.ad-magnet.de/index.php?ref=495', '|', '|', 'GET', 'ISO-8859-1', 'N', 300, 'Y'),
('ad-promotion-net', 'Ad-Promotion.net', 'http://ad-promotion.net?ref=10194', '|', '|', 'GET', 'WINDOWS-1252', 'N', 150, 'Y'),
('adprovi', 'Adprovi.de', 'http://www.adprovi.de?ref=439', '|', '|', 'GET', 'ISO-8859-1', 'N', 200, 'Y'),
('ads2earn', 'Ads2Earn', 'http://www.ads2earn.de?ref=1294', '|', '|', 'GET', 'ISO-8859-1', 'N', 150, 'Y'),
-('ads2webbi', 'Ads2Webbi', 'http://www.ads2webbi.de?ref=79', '|', '|', 'GET', 'WINDOWS-1252', 'N', 200, 'Y')");
+('ads2webbi', 'Ads2Webbi', 'http://www.ads2webbi.de?ref=79', '|', '|', 'GET', 'WINDOWS-1252', 'N', 200, 'Y'),
+('superpromo24', 'SuperPromo24', 'http://www.superpromo24.de/index.php?seite=anmeldung&ref=Quix0r', '|', '|', 'GET', 'ISO-8859-1', 'N', 300, 'Y')");
// Network type handlers - A3H
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`,`network_id`,`network_type_handler`,`network_type_api_url`,`network_type_click_url`,`network_type_banner_url`,`network_type_reload_time_unit`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handler`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`, `network_type_reload_time_unit`) VALUES
(1, 1, 'banner_click', 'http://www.a3h.de/interface/out_banner.php', 'http://www.a3h.de/bannerklf.php?id=%CID%', 'http://www.a3h.de/banner.php?id=%CID%', 'h'),
(387, 1, 'banner_view', 'http://www.a3h.de/interface/out_banner.php', 'http://www.a3h.de/bannerklf.php?id=%CID%', 'http://www.a3h.de/banner.php?id=%CID%', 'h'),
(2, 1, 'textlink_click', 'http://www.a3h.de/interface/out_textlink.php', 'http://www.a3h.de/textlinkklick.php?id=%CID%', NULL, 'h'),
(11, 1, 'htmlmail', 'http://www.a3h.de/interface/out_paidmail.php', 'http://www.a3h.de/emailf.php?id=%CID%', NULL, 'h')");
// Network type handlers - AbisZED-Netz
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`,`network_id`,`network_type_handler`,`network_type_api_url`,`network_type_click_url`,`network_type_banner_url`,`network_type_reload_time_unit`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handler`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`, `network_type_reload_time_unit`) VALUES
(187, 2, 'banner_click', 'http://www.abiszed-netz.de/interface/out_banner.php', 'http://www.abiszed-netz.de/bannerklf.php?id=%CID%', 'http://www.abiszed-netz.de/banner.php?id=%CID%', 'h'),
(188, 2, 'banner_view', 'http://www.abiszed-netz.de/interface/out_banner.php', 'http://www.abiszed-netz.de/bannerklf.php?id=%CID%', 'http://www.abiszed-netz.de/banner.php?id=%CID%', 'h'),
(189, 2, 'textlink_click', 'http://www.abiszed-netz.de/interface/out_textlink.php', 'http://www.abiszed-netz.de/textlinkklick.php?id=%CID%', NULL, 'h'),
(201, 2, 'sale', 'http://www.abiszed-netz.de/interface/out_sale.php', 'http://www.abiszed-netz.de/sale.php?id=%CID%', NULL, 'h')");
// Network type handlers - Ad-Hit.de
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`,`network_id`,`network_type_handler`,`network_type_api_url`,`network_type_click_url`,`network_type_banner_url`,`network_type_reload_time_unit`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handler`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`, `network_type_reload_time_unit`) VALUES
(302, 31, 'forcedbanner', 'http://www.ad-hit.de/interface/api_2.php', 'http://www.ad-hit.de/codes/forcedbannerklick.php?id=%UID%&bid=%CID%&aid=%SID%&trackid=%TID%', 'http://www.ad-hit.de/codes/forcedbannerview.php?id=%UID%&bid=%CID%&aid=%SID%', 'h'),
(303, 31, 'forcedtextlink', 'http://www.ad-hit.de/interface/api_2.php', 'http://www.ad-hit.de/codes/forcedtextlinkklick.php?id=%UID%&bid=%CID%&aid=%SID%&trackid=%TID%', NULL, 'h'),
(304, 31, 'banner_view', 'http://www.ad-hit.de/interface/api_2.php', 'http://www.ad-hit.de/codes/bannerklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.ad-hit.de/codes/bannerview.php?id=%UID%&bid=%CID%&aid=%SID%', 'h'),
// Network type handlers - Ad-Magnet
// Network type handlers - Ad-Promotion.net
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`,`network_id`,`network_type_handler`,`network_type_api_url`,`network_type_click_url`,`network_type_banner_url`,`network_type_reload_time_unit`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handler`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`, `network_type_reload_time_unit`) VALUES
(367, 37, 'forcedbanner', 'http://ad-promotion.net/interface/api_2.php', 'http://ad-promotion.net/codes/forcedbannerklick.php?id=%UID%&bid=%CID%&aid=%SID%&trackid=%TID%', 'http://ad-promotion.net/codes/forcedbannerview.php?id=%UID%&bid=%CID%&aid=%SID%', 'h'),
(368, 37, 'forcedtextlink', 'http://ad-promotion.net/interface/api_2.php', 'http://ad-promotion.net/codes/forcedtextlinkklick.php?id=%UID%&bid=%CID%&aid=%SID%&trackid=%TID%', NULL, 'h'),
(369, 37, 'banner_view', 'http://ad-promotion.net/interface/api_2.php', 'http://ad-promotion.net/codes/bannerklick.php?id=%UID%&bid=%CID%&aid=%SID%&trackid=%TID%', 'http://ad-promotion.net/codes/bannerview.php?id=%UID%&bid=%CID%&aid=%SID%', 'h'),
(376, 37, 'textmail', 'http://ad-promotion.net/interface/api_2.php', 'http://ad-promotion.net/codes/paidmail.php?id=%UID%&bid=%CID%&aid=%SID%&trackid=%TID%', NULL, 'h')");
// Network type handlers - AdCity.eu
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`,`network_id`,`network_type_handler`,`network_type_api_url`,`network_type_click_url`,`network_type_banner_url`,`network_type_reload_time_unit`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handler`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`, `network_type_reload_time_unit`) VALUES
(312, 32, 'forcedbanner', 'http://www.adcity.eu/interface/', 'http://www.adcity.eu/codes/forcedbannerklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.adcity.eu/codes/forcedbannerview.php?id=%UID%&bid=%CID%&aid=%SID%', 'h'),
(313, 32, 'forcedtextlink', 'http://www.adcity.eu/interface/', 'http://www.adcity.eu/codes/forcedtextlinkklick.php?id=%UID%&bid=%CID%&aid=%SID%', NULL, 'h'),
(314, 32, 'banner_view', 'http://www.adcity.eu/interface/', 'http://www.adcity.eu/codes/bannerklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.adcity.eu/codes/bannerview.php?id=%UID%&bid=%CID%&aid=%SID%', 'h'),
(321, 32, 'textmail', 'http://www.adcity.eu/interface/', 'http://www.adcity.eu/codes/paidmail.php?id=%UID%&bid=%CID%&aid=%SID%', NULL, 'h')");
// Network type handlers - AdCocktail
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`,`network_id`,`network_type_handler`,`network_type_api_url`,`network_type_click_url`,`network_type_banner_url`,`network_type_reload_time_unit`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handler`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`, `network_type_reload_time_unit`) VALUES
(13, 4, 'forcedbanner', 'http://www.adcocktail.com/sc/kas/kas_fk.php', 'http://fk.adcocktail.com/fk_k.php?uid=%UID%&wid=%CID%&wsid=%SID%', 'http://fk.adcocktail.com/fk_v.php?uid=%UID%&wid=%CID%&wsid=%SID%', 'h'),
(12, 4, 'textmail', 'http://www.adcocktail.com/sc/kas/kas_pm.php', 'http://pm.adcocktail.com/pm.php?uid=%UID%&wid=%CID%&wsid=%SID%', NULL, 'h')");
// Network type handlers - AdConvention
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`,`network_id`,`network_type_handler`,`network_type_api_url`,`network_type_click_url`,`network_type_banner_url`,`network_type_reload_time_unit`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handler`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`, `network_type_reload_time_unit`) VALUES
(295, 30, 'banner_click', 'http://www.adconvention.de/interface/', 'http://www.adconvention.de/codes/klickbanner.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.adconvention.de/codes/viewbanner.php?id=%UID%&bid=%CID%&aid=%SID%', 'h'),
(294, 30, 'banner_view', 'http://www.adconvention.de/interface/', 'http://www.adconvention.de/codes/bannerklick.php?id=%UID%&bid=%CID%&aid=%CID%', 'http://www.adconvention.de/codes/bannerview.php?id=%UID%&bid=%CID%&aid=%SID%', 'h'),
(297, 30, 'button_view', 'http://www.adconvention.de/interface/', 'http://www.adconvention.de/codes/buttonklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.adconvention.de/codes/buttonview.php?id=%UID%&bid=%CID%&aid=%SID%', 'h'),
(299, 30, 'traffic', 'http://www.adconvention.de/interface/', 'http://www.adconvention.de/codes/traffic.php?id=%UID%&bid=%CID%&aid=%SID%', NULL, 'h')");
// Network type handlers - adgain.de
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`,`network_id`,`network_type_handler`,`network_type_api_url`,`network_type_click_url`,`network_type_banner_url`,`network_type_reload_time_unit`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handler`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`, `network_type_reload_time_unit`) VALUES
(322, 33, 'banner_click', 'http://www.adgain.de/int/get.php', 'http://www.adgain.de/kamp/ziel.php?uid=%UID%&bid=%CID%&sid=%SID%', 'http://www.adgain.de/kamp/b_view.php?uid=%UID%&bid=%CID%&sid=%SID%', 'h'),
(323, 33, 'banner_view', 'http://www.adgain.de/int/get.php', 'http://www.adgain.de/kamp/ziel.php?uid=%UID%&bid=%CID%&sid=%SID%', 'http://www.adgain.de/kamp/b_view.php?uid=%UID%&bid=%CID%&sid=%SID%', 'h'),
(324, 33, 'forcedbanner', 'http://www.adgain.de/int/get.php', 'http://www.adgain.de/kamp/ziel.php?uid=%UID%&bid=%CID%&sid=%SID%', 'http://www.adgain.de/kamp/b_view.php?uid=%UID%&bid=%CID%&sid=%SID%', 'h'),
(335, 33, 'textlink_view', 'http://www.adgain.de/int/get.php', 'http://www.adgain.de/kamp/sc_textview.php?uid=%UID%&bid=%CID%&sid=%SID%', NULL, 'h')");
// Network type handlers - ADkracher
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`,`network_id`,`network_type_handler`,`network_type_api_url`,`network_type_click_url`,`network_type_banner_url`,`network_type_reload_time_unit`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handler`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`, `network_type_reload_time_unit`) VALUES
(336, 34, 'banner_click', 'http://www.adkracher.de/int/get.php', 'http://www.adkracher.de/kamp/ziel.php?uid=%UID%&bid=%CID%&sid=%SID%', 'http://www.adkracher.de/kamp/b_view.php?uid=%UID%&bid=%CID%&sid=%SID%', 'h'),
(337, 34, 'banner_view', 'http://www.adkracher.de/int/get.php', 'http://www.adkracher.de/kamp/ziel.php?uid=%UID%&bid=%CID%&sid=%SID%', 'http://www.adkracher.de/kamp/b_view.php?uid=%UID%&bid=%CID%&sid=%SID%', 'h'),
(338, 34, 'forcedbanner', 'http://www.adkracher.de/int/get.php', 'http://www.adkracher.de/kamp/ziel.php?uid=%UID%&bid=%CID%&sid=%SID%', 'http://www.adkracher.de/kamp/b_view.php?uid=%UID%&bid=%CID%&sid=%SID%', 'h'),
(348, 34, 'traffic', 'http://www.adkracher.de/int/get.php', 'http://www.adkracher.de/kamp/ziel.php?uid=%UID%&bid=%CID%&sid=%SID%', NULL, 'h')");
// Network type handlers - Adminlose.de
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`,`network_id`,`network_type_handler`,`network_type_api_url`,`network_type_click_url`,`network_type_banner_url`,`network_type_reload_time_unit`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handler`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`, `network_type_reload_time_unit`) VALUES
(349, 35, 'banner_view', 'http://www.adminlose.de/interface/output_bannerviews.php', 'http://www.adminlose.de/lose/clickbanner.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.adminlose.de/lose/viewbanner.php?id=%UID%&bid=%CID%&aid=%SID%', 'h'),
(350, 35, 'textlink_view', 'http://www.adminlose.de/interface/output_textlinkviews.php', 'http://www.adminlose.de/lose/viewtextlink.php?id=%UID%&bid=%CID%&aid=%SID%', NULL, 'h'),
(351, 35, 'forcedbanner', 'http://www.adminlose.de/interface/output_forcedbanner.php', 'http://www.adminlose.de/lose/forcedclickbanner.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.adminlose.de/lose/forcedviewbanner.php?id=%UID%&bid=%CID%&aid=%SID%', 'h'),
(356, 35, 'popdown', 'http://www.adminlose.de/interface/output_popup.php', 'http://www.adminlose.de/lose/popdown.php?id=%UID%&bid=%CID%&aid=%SID%', NULL, 'h')");
// Network type handlers - Admono.de
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`,`network_id`,`network_type_handler`,`network_type_api_url`,`network_type_click_url`,`network_type_banner_url`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handler`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`) VALUES
(357, 36, 'forcedbanner', 'http://www.admono.de/interface/', 'http://www.admono.de/codes/forcedbannerklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.admono.de/codes/forcedbannerview.php?id=%UID%&bid=%CID%&aid=%SID%'),
(358, 36, 'forcedtextlink', 'http://www.admono.de/interface/', 'http://www.admono.de/codes/forcedtextlinkklick.php?id=%UID%&bid=%CID%&aid=%SID%', NULL),
(359, 36, 'banner_view', 'http://www.admono.de/interface/', 'http://www.admono.de/codes/bannerklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.admono.de/codes/bannerview.php?id=%UID%&bid=%CID%&aid=%SID%'),
(366, 36, 'textmail', 'http://www.admono.de/interface/', 'http://www.admono.de/codes/paidmail.php?id=%UID%&bid=%CID%&aid=%SID%', NULL)");
// Network type handlers - AdPaid
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`,`network_id`,`network_type_handler`,`network_type_api_url`,`network_type_click_url`,`network_type_banner_url`,`network_type_reload_time_unit`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handler`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`, `network_type_reload_time_unit`) VALUES
(177, 5, 'banner_click', 'http://www.adpaid.de/interface/out_banner.php', 'http://www.adpaid.de/bannerklf.php?id=%CID%', 'http://www.adpaid.de/banner.php?id=%CID%', 'h'),
(391, 5, 'banner_view', 'http://www.adpaid.de/interface/out_banner.php', 'http://www.adpaid.de/bannerklf.php?id=%CID%', 'http://www.adpaid.de/banner.php?id=%CID%', 'h'),
(178, 5, 'textlink_click', 'http://www.adpaid.de/interface/out_textlink.php', 'http://www.adpaid.de/textlinkklick.php?id=%CID%', NULL, 'h'),
(186, 5, 'sale', 'http://www.adpaid.de/interface/out_sale.php', 'http://www.adpaid.de/sale.php?id=%CID%', NULL, 'h')");
// Network type handlers - AdProvi
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`,`network_id`,`network_type_handler`,`network_type_api_url`,`network_type_click_url`,`network_type_banner_url`,`network_type_reload_time_unit`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handler`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`, `network_type_reload_time_unit`) VALUES
(377, 38, 'forcedbanner', 'http://www.adprovi.de/interface/api_2.php', 'http://www.adprovi.de/codes/forcedbannerklick.php?id=%UID%&bid=%CID%&aid=%SID%&trackid=%TID%', 'http://www.adprovi.de/codes/forcedbannerview.php?id=%UID%&bid=%CID%&aid=%SID%', 'h'),
(378, 38, 'forcedtextlink', 'http://www.adprovi.de/interface/api_2.php', 'http://www.adprovi.de/codes/forcedtextlinkklick.php?id=%UID%&bid=%CID%&aid=%SID%&trackid=%TID%', NULL, 'h'),
(379, 38, 'banner_view', 'http://www.adprovi.de/interface/api_2.php', 'http://www.adprovi.de/codes/bannerklick.php?id=%UID%&bid=%CID%&aid=%SID%&trackid=%TID%', 'http://www.adprovi.de/codes/bannerview.php?id=%UID%&bid=%CID%&aid=%SID%', 'h'),
(386, 38, 'textmail', 'http://www.adprovi.de/interface/api_2.php', 'http://www.adprovi.de/codes/paidmail.php?id=%UID%&bid=%CID%&aid=%SID%&trackid=%TID%', NULL, 'h')");
// Network type handlers - Ads2Earn
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`,`network_id`,`network_type_handler`,`network_type_api_url`,`network_type_click_url`,`network_type_banner_url`,`network_type_reload_time_unit`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handler`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`, `network_type_reload_time_unit`) VALUES
(395, 39, 'banner_click', 'http://www.ads2earn.de/interface/out_banner.php', 'http://www.ads2earn.de/bannerklf.php?id=%CID%', 'http://www.ads2earn.de/banner.php?id=%CID%','h'),
(396, 39, 'banner_view', 'http://www.ads2earn.de/interface/out_banner.php', 'http://www.ads2earn.de/bannerklf.php?id=%CID%', 'http://www.ads2earn.de/banner.php?id=%CID%','h'),
(397, 39, 'textlink_click', 'http://www.ads2earn.de/interface/out_textlink.php', 'http://www.ads2earn.de/textlinkklick.php?id=%CID%', NULL,'h'),
(405, 39, 'skybanner_view', 'http://www.ads2earn.de/interface/out_banner.php', 'http://www.ads2earn.de/bannerklf.php?id=%CID%', 'http://www.ads2earn.de/banner.php?id=%CID%','h')");
// Network type handlers - Ads2Webbi
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`,`network_id`,`network_type_handler`,`network_type_api_url`,`network_type_click_url`,`network_type_banner_url`,`network_type_reload_time_unit`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handler`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`, `network_type_reload_time_unit`) VALUES
(406, 40, 'forcedbanner', 'http://www.ads2webbi.de/interface/', 'http://www.ads2webbi.de/codes/forcedbannerklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.ads2webbi.de/codes/forcedbannerview.php?id=%UID%&bid=%CID%&aid=%SID%','h'),
(407, 40, 'forcedtextlink', 'http://www.ads2webbi.de/interface/', 'http://www.ads2webbi.de/codes/forcedtextlinkklick.php?id=%UID%&bid=%CID%&aid=%SID%', NULL,'h'),
(408, 40, 'banner_view', 'http://www.ads2webbi.de/interface/', 'http://www.ads2webbi.de/codes/bannerklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.ads2webbi.de/codes/bannerview.php?id=%UID%&bid=%CID%&aid=%SID%','h'),
(415, 40, 'textmail', 'http://www.ads2webbi.de/interface/', 'http://www.ads2webbi.de/codes/paidmail.php?id=%UID%&bid=%CID%&aid=%SID%', NULL,'h')");
// Network type handlers - Ads4
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`,`network_id`,`network_type_handler`,`network_type_api_url`,`network_type_click_url`,`network_type_banner_url`,`network_type_reload_time_unit`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handler`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`, `network_type_reload_time_unit`) VALUES
(14, 6, 'forcedbanner', 'http://www.ads4.de/interface/interface.php', 'http://www.ads4.de/forced_click.php?fb_id=%CID%&sid=%SID%', 'http://www.ads4.de/forced_view.php?fb_id=%CID%&sid=%SID%', 'h'),
(16, 6, 'htmlmail', 'http://www.ads4.de/interface/interface.php', 'http://www.ads4.de/paidmail_click.php?pm=%CID%&sid=%SID%', NULL, 'h'),
(15, 6, 'textmail', 'http://www.ads4.de/interface/interface.php', 'http://www.ads4.de/paidmail_click.php?pm=%CID%&sid=%SID%', NULL, 'h'),
(119, 6, 'traffic', 'http://www.ads4.de/interface/interface.php', 'http://www.ads4.de/traffic_click.php?tr_id=%CID%&sid=%SID%', NULL, 'h')");
// Network type handlers - Ads4Webbis
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`,`network_id`,`network_type_handler`,`network_type_api_url`,`network_type_click_url`,`network_type_banner_url`,`network_type_reload_time_unit`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handler`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`, `network_type_reload_time_unit`) VALUES
(20, 7, 'banner_click', 'http://www.ads4webbis.de/interface/api_2.php', 'http://www.ads4webbis.de/codes/klickbanner.php?id=%UID%&bid=%CID%&aid=%SID%&trackid=%TID%', 'http://www.ads4webbis.de/codes/viewbanner.php?id=%UID%&bid=%CID%&aid=%SID%', 'h'),
(19, 7, 'banner_view', 'http://www.ads4webbis.de/interface/api_2.php', 'http://www.ads4webbis.de/codes/bannerklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.ads4webbis.de/codes/bannerview.php?id=%UID%&bid=%CID%&aid=%SID%', 'h'),
(22, 7, 'button_view', 'http://www.ads4webbis.de/interface/api_2.php', 'http://www.ads4webbis.de/codes/buttonklick.php?id=%UID%&bid=%CID%&aid=%SID%&trackid=%TID%', 'http://www.ads4webbis.de/codes/buttonview.php?id=%UID%&bid=%CID%&aid=%SID%', 'h'),
(120, 7, 'traffic', 'http://www.ads4webbis.de/interface/api_2.php', 'http://www.ads4webbis.de/codes/traffic.php?id=%UID%&bid=%CID%&aid=%SID%&trackid=%TID%', NULL, 'h')");
// Network type handlers - Ads4World
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`,`network_id`,`network_type_handler`,`network_type_api_url`,`network_type_click_url`,`network_type_banner_url`,`network_type_reload_time_unit`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handler`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`, `network_type_reload_time_unit`) VALUES
(29, 8, 'banner_click', 'http://www.ads4world.de/interface/', 'http://www.ads4world.de/codes/klickbanner.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.ads4world.de/codes/viewbanner.php?id=%UID%&bid=%CID%&aid=%SID%', 'h'),
(28, 8, 'banner_view', 'http://www.ads4world.de/interface/', 'http://www.ads4world.de/codes/bannerklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.ads4world.de/codes/bannerview.php?id=%UID%&bid=%CID%&aid=%SID%', 'h'),
(31, 8, 'button_view', 'http://www.ads4world.de/interface/', 'http://www.ads4world.de/codes/buttonklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.ads4world.de/codes/buttonview.php?id=%UID%&bid=%CID%&aid=%SID%', 'h'),
// Network type handlers - Affiliblatt
// Network type handlers - AllAds4You
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`,`network_id`,`network_type_handler`,`network_type_api_url`,`network_type_click_url`,`network_type_banner_url`,`network_type_reload_time_unit`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handler`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`, `network_type_reload_time_unit`) VALUES
(167, 10, 'forcedbanner', 'http://www.allads4you.de/interface/get_v3.php', 'http://www.allads4you.de/codes/forcedbannerklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.allads4you.de/codes/forcedbannerview.php?id=%UID%&bid=%CID%&aid=%SID%', 'h'),
(168, 10, 'forcedtextlink', 'http://www.allads4you.de/interface/get_v3.php', 'http://www.allads4you.de/codes/forcedtextlinkklick.php?id=%UID%&bid=%CID%&aid=%SID%', NULL, 'h'),
(169, 10, 'banner_view', 'http://www.allads4you.de/interface/get_v3.php', 'http://www.allads4you.de/codes/bannerklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.allads4you.de/codes/bannerview.php?id=%UID%&bid=%CID%&aid=%SID%', 'h'),
(176, 10, 'textmail', 'http://www.allads4you.de/interface/get_v3.php', 'http://www.allads4you.de/codes/paidmail.php?id=%UID%&bid=%CID%&aid=%SID%', NULL, 'h')");
// Network type handlers - Alster-Marketing
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`,`network_id`,`network_type_handler`,`network_type_api_url`,`network_type_click_url`,`network_type_banner_url`,`network_type_reload_time_unit`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handler`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`, `network_type_reload_time_unit`) VALUES
(35, 11, 'banner_click', 'http://if.alstermarketing.de/interface/out_banner.php', 'http://www.alstermarketing.de/bannerklf.php?id=%CID%', 'http://www.alstermarketing.de/banner.php?id=%CID%', 'h'),
(45, 11, 'banner_view', 'http://if.alstermarketing.de/interface/out_banner.php', 'http://www.alstermarketing.de/bannerklf.php?id=%CID%', 'http://www.alstermarketing.de/banner.php?id=%CID%', 'h'),
(38, 11, 'forcedbanner', 'http://if.alstermarketing.de/interface/out_fbanner.php', 'http://www.alstermarketing.de/bannerklf.php?id=%CID%', 'http://www.alstermarketing.de/banner.php?id=%CID%', 'h'),
(39, 11, 'textmail', 'http://if.alstermarketing.de/interface/out_paidmail.php', 'http://www.alstermarketing.de/emailf.php?id=%CID%', NULL, 'h')");
// Network type handlers - BonusSponsor
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`,`network_id`,`network_type_handler`,`network_type_api_url`,`network_type_click_url`,`network_type_banner_url`,`network_type_reload_time_unit`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handler`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`, `network_type_reload_time_unit`) VALUES
(50, 12, 'banner_click', 'http://www.bonussponsor.de/interface/out_banner.php', 'http://www.bonussponsor.de/bannerklf.php?id=%CID%', 'http://www.bonussponsor.de/banner.php?id=%CID%', 'h'),
(51, 12, 'banner_view', 'http://www.bonussponsor.de/interface/out_banner.php', 'http://www.bonussponsor.de/bannerklf.php?id=%CID%', 'http://www.bonussponsor.de/banner.php?id=%CID%', 'h'),
(54, 12, 'forcedbanner', 'http://www.bonussponsor.de/interface/out_fbanner.php', 'http://www.bonussponsor.de/bannerklf.php?id=%CID%', 'http://www.bonussponsor.de/banner.php?id=%CID%', 'h'),
(55, 12, 'textmail', 'http://www.bonussponsor.de/interface/out_paidmail.php', 'http://www.bonussponsor.de/emailf.php?id=%CID%', NULL, 'h')");
// Network type handlers - City-Ads
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`,`network_id`,`network_type_handler`,`network_type_api_url`,`network_type_click_url`,`network_type_banner_url`,`network_type_reload_time_unit`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handler`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`, `network_type_reload_time_unit`) VALUES
(215, 24, 'banner_click', 'http://www.city-ads.de/interface/api_2.php', 'http://www.city-ads.de/codes/klickbanner.php?id=%UID%&bid=%CID%&aid=%SID%&trackid=%TID%', 'http://www.city-ads.de/codes/viewbanner.php?id=%UID%&bid=%CID%&aid=%SID%', 'h'),
(214, 24, 'banner_view', 'http://www.city-ads.de/interface/api_2.php', 'http://www.city-ads.de/codes/bannerklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.city-ads.de/codes/bannerview.php?id=%UID%&bid=%CID%&aid=%SID%', 'h'),
(217, 24, 'button_view', 'http://www.city-ads.de/interface/api_2.php', 'http://www.city-ads.de/codes/buttonklick.php?id=%UID%&bid=%CID%&aid=%SID%&trackid=%TID%', 'http://www.city-ads.de/codes/buttonview.php?id=%UID%&bid=%CID%&aid=%SID%', 'h'),
(219, 24, 'traffic', 'http://www.city-ads.de/interface/api_2.php', 'http://www.city-ads.de/codes/traffic.php?id=%UID%&bid=%CID%&aid=%SID%&trackid=%TID%', NULL, 'h')");
// Network type handlers - doubleads
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`,`network_id`,`network_type_handler`,`network_type_api_url`,`network_type_click_url`,`network_type_banner_url`,`network_type_reload_time_unit`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handler`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`, `network_type_reload_time_unit`) VALUES
(232, 26, 'banner_click', 'http://www.doubleads.de/interface/out_banner.php', 'http://www.doubleads.de/bannerklf.php?id=%CID%', 'http://www.doubleads.de/banner.php?id=%CID%', 'h'),
(233, 26, 'banner_view', 'http://www.doubleads.de/interface/out_banner.php', 'http://www.doubleads.de/bannerklf.php?id=%CID%', 'http://www.doubleads.de/banner.php?id=%CID%', 'h'),
(234, 26, 'textlink_click', 'http://www.doubleads.de/interface/out_textlink.php', 'http://www.doubleads.de/textlinkklick.php?id=%CID%', NULL, 'h'),
(246, 26, 'sale', 'http://www.doubleads.de/interface/out_sale.php', 'http://www.doubleads.de/sale.php?id=%CID%', NULL, 'h')");
// Network type handlers - FuCoExSponsor.net
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`,`network_id`,`network_type_handler`,`network_type_api_url`,`network_type_click_url`,`network_type_banner_url`,`network_type_reload_time_unit`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handler`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`, `network_type_reload_time_unit`) VALUES
(273, 29, 'banner_click', 'http://fucoexsponsor.net/int/get.php', 'http://fucoexsponsor.net/kamp/ziel.php?uid=%UID%&bid=%BID%&sid=%SID%&subid=%TID%', 'http://fucoexsponsor.net/kamp/b_view.php?uid=%UID%&bid=%BID%&sid=%SID%&subid=%TID%', 'h'),
(274, 29, 'banner_view', 'http://fucoexsponsor.net/int/get.php', 'http://fucoexsponsor.net/kamp/ziel.php?uid=%UID%&bid=%BID%&sid=%SID%&subid=%TID%', 'http://fucoexsponsor.net/kamp/b_view.php?uid=%UID%&bid=%BID%&sid=%SID%&subid=%TID%', 'h'),
(275, 29, 'button_click', 'http://fucoexsponsor.net/int/get.php', 'http://fucoexsponsor.net/kamp/ziel.php?uid=%UID%&bid=%BID%&sid=%SID%&subid=%TID%', 'http://fucoexsponsor.net/kamp/b_view.php?uid=%UID%&bid=%BID%&sid=%SID%&subid=%TID%', 'h'),
(289, 29, 'traffic', 'http://fucoexsponsor.net/int/get.php', 'http://fucoexsponsor.net/kamp/ziel.php?uid=%UID%&bid=%BID%&sid=%SID%&subid=%TID%', NULL, 'h')");
// Network type handlers - Fusion-Ads
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`,`network_id`,`network_type_handler`,`network_type_api_url`,`network_type_click_url`,`network_type_banner_url`,`network_type_reload_time_unit`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handler`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`, `network_type_reload_time_unit`) VALUES
(290, 13, 'forcedbanner', 'http://www.fusion-ads.de/data/get.php', 'http://www.fusion-ads.de/data/werbung.php?uid=%UID%&kid=%CID%&sid=%SID%&art=32&step=1', 'http://www.fusion-ads.de/data/werbung.php?uid=%UID%&kid=%CID%&sid=%SID%&art=32', 'h'),
(291, 13, 'textmail', 'http://www.fusion-ads.de/data/get.php', 'ttp://www.fusion-ads.de/data/werbung.php?uid=%UID%&kid=%CID%&sid=%SID%&art=33', NULL, 'h')");
// Network type handlers - GigaPromo
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`,`network_id`,`network_type_handler`,`network_type_api_url`,`network_type_click_url`,`network_type_banner_url`,`network_type_reload_time_unit`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handler`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`, `network_type_reload_time_unit`) VALUES
(102, 14, 'banner_view', 'http://www.gigapromo.de/interface/output_viewbanner.php', 'http://www.gigapromo.de/view/klickbanner.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.gigapromo.de/view/viewbanner.php?id=%UID%&bid=%CID%&aid=%SID%', 'h'),
(104, 14, 'forcedbanner', 'http://www.gigapromo.de/interface/output_forcedbanner.php', 'http://www.gigapromo.de/view/forcedclickbanner.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.gigapromo.de/view/forcedviewbanner.php?id=%UID%&bid=%CID%&aid=%SID%', 'h'),
(105, 14, 'forcedtextlink', 'http://www.gigapromo.de/interface/output_forcedtextlink.php', 'http://www.gigapromo.de/view/forcedclicktextlink.php?id=%UID%&bid=%CID%&aid=%SID%', NULL, 'h'),
(122, 14, 'traffic', 'http://www.gigapromo.de/interface/output_traffic.php', 'http://www.gigapromo.de/view/traffic.php?id=%UID%&bid=%CID%&aid=%SID%', NULL, 'h')");
// Network type handlers - Gold-Sponsor
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`,`network_id`,`network_type_handler`,`network_type_api_url`,`network_type_click_url`,`network_type_banner_url`,`network_type_reload_time_unit`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handler`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`, `network_type_reload_time_unit`) VALUES
(225, 25, 'banner_click', 'http://www.gold-sponsor.de/interface/', 'http://www.gold-sponsor.de/codes/klickbanner.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.gold-sponsor.de/codes/viewbanner.php?id=%UID%&bid=%CID%&aid=%SID%', 'h'),
(224, 25, 'banner_view', 'http://www.gold-sponsor.de/interface/', 'http://www.gold-sponsor.de/codes/bannerklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.gold-sponsor.de/codes/bannerview.php?id=%UID%&bid=%CID%&aid=%SID%', 'h'),
(227, 25, 'button_view', 'http://www.gold-sponsor.de/interface/', 'http://www.gold-sponsor.de/codes/buttonklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.gold-sponsor.de/codes/buttonview.php?id=%UID%&bid=%CID%&aid=%SID%', 'h'),
(229, 25, 'traffic', 'http://www.gold-sponsor.de/interface/', 'http://www.gold-sponsor.de/codes/traffic.php?id=%UID%&bid=%CID%&aid=%SID%', NULL, 'h')");
// Network type handlers - homeADS
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`,`network_id`,`network_type_handler`,`network_type_api_url`,`network_type_click_url`,`network_type_banner_url`,`network_type_reload_time_unit`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handler`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`, `network_type_reload_time_unit`) VALUES
(260, 28, 'banner_click', 'http://www.homeads.de/interface/out_banner.php', 'http://www.homeads.de/bannerklf.php?id=%CID%', 'http://www.homeads.de/banner.php?id=%CID%', 'h'),
(261, 28, 'banner_view', 'http://www.homeads.de/interface/out_banner.php', 'http://www.homeads.de/bannerklf.php?id=%CID%', 'http://www.homeads.de/banner.php?id=%CID%', 'h'),
(264, 28, 'forcedbanner', 'http://www.homeads.de/interface/out_fbanner.php', 'http://www.homeads.de/bannerklf.php?id=%CID%', 'http://www.homeads.de/banner.php?id=%CID%', 'h'),
(265, 28, 'textmail', 'http://www.homeads.de/interface/out_paidmail.php', 'http://www.homeads.de/emailf.php?id=%CID%', NULL, 'h')");
// Network type handlers - HPSponsor
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`,`network_id`,`network_type_handler`,`network_type_api_url`,`network_type_click_url`,`network_type_banner_url`,`network_type_reload_time_unit`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handler`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`, `network_type_reload_time_unit`) VALUES
(135, 15, 'banner_click', 'http://hpsponsor.at/interface/api_2.php', 'http://hpsponsor.at/codes/klickbanner.php?id=%UID%&bid=%CID%&aid=%SID%&trackid=%TID%', 'http://hpsponsor.at/codes/viewbanner.php?id=%UID%&bid=%CID%&aid=%SID%', 'h'),
(136, 15, 'banner_view', 'http://hpsponsor.at/interface/api_2.php', 'http://hpsponsor.at/codes/bannerklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://hpsponsor.at/codes/bannerview.php?id=%UID%&bid=%CID%&aid=%SID%', 'h'),
(137, 15, 'button_view', 'http://hpsponsor.at/interface/api_2.php', 'http://hpsponsor.at/codes/buttonklick.php?id=%UID%&bid=%CID%&aid=%SID%&trackid=%TID%', 'http://hpsponsor.at/codes/buttonview.php?id=%UID%&bid=%CID%&aid=%SID%', 'h'),
(144, 15, 'traffic', 'http://hpsponsor.at/interface/api_2.php', 'http://hpsponsor.at/codes/traffic.php?id=%UID%&bid=%CID%&aid=%CID%&trackid=%TID%', NULL, 'h')");
// Network type handlers - Make-Euros
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`,`network_id`,`network_type_handler`,`network_type_api_url`,`network_type_click_url`,`network_type_banner_url`,`network_type_reload_time_unit`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handler`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`, `network_type_reload_time_unit`) VALUES
(63, 16, 'banner_click', 'http://www.make-euros.de/interface/out_banner.php', 'http://www.make-euros.de/bannerklf.php?id=%CID%', 'http://www.make-euros.de/banner.php?id=%CID%', 'h'),
(64, 16, 'banner_view', 'http://www.make-euros.de/interface/out_banner.php', 'http://www.make-euros.de/bannerklf.php?id=%CID%', 'http://www.make-euros.de/banner.php?id=%CID%', 'h'),
(68, 16, 'forcedbanner', 'http://www.make-euros.de/interface/out_fbanner.php', 'http://www.make-euros.de/bannerklf.php?id=%CID%', 'http://www.make-euros.de/banner.php?id=%CID%', 'h'),
(70, 16, 'textmail', 'http://www.make-euros.de/interface/out_paidmail.php', 'http://www.make-euros.de/emailf.php?id=%CID%', NULL, 'h')");
// Network type handlers - Mega-Ad
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`,`network_id`,`network_type_handler`,`network_type_api_url`,`network_type_click_url`,`network_type_banner_url`,`network_type_reload_time_unit`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handler`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`, `network_type_reload_time_unit`) VALUES
(112, 17, 'banner_click', 'http://www.mega-ad.de/interface/', 'http://www.mega-ad.de/codes/klickbanner.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.mega-ad.de/codes/view.php?id=%UID%&bid=%CID%&aid=%SID%', 'h'),
(111, 17, 'banner_view', 'http://www.mega-ad.de/interface/', 'http://www.mega-ad.de/codes/bannerklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.mega-ad.de/codes/bannerview.php?id=%UID%&bid=%CID%&aid=%SID%', 'h'),
(114, 17, 'button_view', 'http://www.mega-ad.de/interface/', 'http://www.mega-ad.de/codes/buttonklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.mega-ad.de/codes/buttonview.php?id=%UID%&bid=%CID%&aid=%SID%', 'h'),
(123, 17, 'traffic', 'http://www.mega-ad.de/interface/', 'http://www.mega-ad.de/codes/traffic.php?id=%UID%&bid=%CID%&aid=%SID%', NULL, 'h')");
// Network type handlers - Power-Promo
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`,`network_id`,`network_type_handler`,`network_type_api_url`,`network_type_click_url`,`network_type_banner_url`,`network_type_reload_time_unit`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handler`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`, `network_type_reload_time_unit`) VALUES
(78, 18, 'banner_click', 'http://www.power-promo.de/interface/out_banner.php', 'http://www.power-promo.de/bannerklf.php?id=%CID%', 'http://www.power-promo.de/banner.php?id=%CID%', 'h'),
(79, 18, 'banner_view', 'http://www.power-promo.de/interface/out_banner.php', 'http://www.power-promo.de/bannerklf.php?id=%CID%', 'http://www.power-promo.de/banner.php?id=%CID%', 'h'),
(84, 18, 'forcedbanner', 'http://www.power-promo.de/interface/out_fbanner.php', 'http://www.power-promo.de/bannerklf.php?id=%CID%', 'http://www.power-promo.de/banner.php?id=%CID%', 'h'),
(85, 18, 'textmail', 'http://www.power-promo.de/interface/out_paidmail.php', 'http://www.power-promo.de/emailf.php?id=%CID%', NULL, 'h')");
// Network type handlers - SeCash
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`,`network_id`,`network_type_handler`,`network_type_api_url`,`network_type_click_url`,`network_type_banner_url`,`network_type_reload_time_unit`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handler`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`, `network_type_reload_time_unit`) VALUES
(93, 19, 'forcedbanner', 'http://www.secash.de/interface/api_2.php', 'http://www.secash.de/codes/forcedbannerklick.php?id=%UID%&bid=%CID%&aid=%SID%&trackid=%TID%', 'http://www.secash.de/codes/forcedbannerview.php?id=%UID%&bid=%CID%&aid=%SID%', 'h'),
(94, 19, 'forcedtextlink', 'http://www.secash.de/interface/api_2.php', 'http://www.secash.de/codes/forcedtextlinkklick.php?id=%UID%&bid=%CID%&aid=%SID%&trackid=%TID%', NULL, 'h'),
(95, 19, 'banner_view', 'http://www.secash.de/interface/api_2.php', 'http://www.secash.de/codes/bannerklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.secash.de/codes/bannerview.php?id=%UID%&bid=%CID%&aid=%SID%', 'h'),
(101, 19, 'textmail', 'http://www.secash.de/interface/api_2.php', 'http://www.secash.de/codes/paidmail.php?id=%UID%&bid=%CID%&aid=%SID%&trackid=%TID%', NULL, 'h'),
(124, 19, 'traffic', 'http://www.secash.de/interface/api_2.php', 'http://www.secash.de/codes/traffic.php?id=%UID%&bid=%CID%&aid=%SID%&trackid=%TID%', NULL, 'h')");
+ // Network type handlers - SuperPromo24
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handler`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`, `network_type_reload_time_unit`, `network_text_encoding`) VALUES
+(416, 41, 'banner_click', 'http://www.superpromo24.de/int/get.php', 'http://www.superpromo24.de/kamp/ziel.php?uid=%UID%&bid=%CID%&sid=%SID%', 'http://www.superpromo24.de/kamp/b_view.php?uid=%UID%&bid=%CID%&sid=%SID%','h','NONE'),
+(417, 41, 'banner_view', 'http://www.superpromo24.de/int/get.php', 'http://www.superpromo24.de/kamp/ziel.php?uid=%UID%&bid=%CID%&sid=%SID%', 'http://www.superpromo24.de/kamp/b_view.php?uid=%UID%&bid=%CID%&sid=%SID%','h','NONE'),
+(418, 41, 'button_click', 'http://www.superpromo24.de/int/get.php', 'http://www.superpromo24.de/kamp/ziel.php?uid=%UID%&bid=%CID%&sid=%SID%', 'http://www.superpromo24.de/kamp/b_view.php?uid=%UID%&bid=%CID%&sid=%SID%','h','NONE'),
+(419, 41, 'button_view', 'http://www.superpromo24.de/int/get.php', 'http://www.superpromo24.de/kamp/ziel.php?uid=%UID%&bid=%CID%&sid=%SID%', 'http://www.superpromo24.de/kamp/b_view.php?uid=%UID%&bid=%CID%&sid=%SID%','h','NONE'),
+(420, 41, 'forcedbanner', 'http://www.superpromo24.de/int/get.php', 'http://www.superpromo24.de/kamp/ziel.php?uid=%UID%&bid=%CID%&sid=%SID%', 'http://www.superpromo24.de/kamp/b_view.php?uid=%UID%&bid=%CID%&sid=%SID%','h','NONE'),
+(421, 41, 'forcedtextlink', 'http://www.superpromo24.de/int/get.php', 'http://www.superpromo24.de/kamp/ziel.php?uid=%UID%&bid=%CID%&sid=%SID%', NULL,'h','NONE'),
+(422, 41, 'htmlmail', 'http://www.superpromo24.de/int/get.php', 'http://www.superpromo24.de/kamp/ziel.php?uid=%UID%&bid=%CID%&sid=%SID%', NULL,'h','BASE64'),
+(423, 41, 'layer', 'http://www.superpromo24.de/int/get.php', 'http://www.superpromo24.de/kamp/sc_layer.php?uid=%UID%&bid=%CID%&sid=%SID%', NULL,'h','NONE'),
+(424, 41, 'pagepeel', 'http://www.superpromo24.de/int/get.php', 'http://www.superpromo24.de/kamp/ziel.php?uid=%UID%&bid=%CID%&sid=%SID%', 'http://www.superpromo24.de/kamp/b_view.php?uid=%UID%&bid=%CID%&sid=%SID%','h','NONE'),
+(425, 41, 'textmail', 'http://www.superpromo24.de/int/get.php', 'http://www.superpromo24.de/kamp/ziel.php?uid=%UID%&bid=%CID%&sid=%SID%', NULL,'h','NONE'),
+(426, 41, 'popup', 'http://www.superpromo24.de/int/get.php', 'http://www.superpromo24.de/kamp/sc_popup.php?uid=%UID%&bid=%CID%&sid=%SID%', NULL,'h','NONE'),
+(427, 41, 'skybanner_click', 'http://www.superpromo24.de/int/get.php', 'http://www.superpromo24.de/kamp/ziel.php?uid=%UID%&bid=%CID%&sid=%SID%', 'http://www.superpromo24.de/kamp/b_view.php?uid=%UID%&bid=%CID%&sid=%SID%','h','NONE'),
+(428, 41, 'skybanner_view', 'http://www.superpromo24.de/int/get.php', 'http://www.superpromo24.de/kamp/ziel.php?uid=%UID%&bid=%CID%&sid=%SID%', 'http://www.superpromo24.de/kamp/b_view.php?uid=%UID%&bid=%CID%&sid=%SID%','h','NONE'),
+(429, 41, 'textlink_click', 'http://www.superpromo24.de/int/get.php', 'http://www.superpromo24.de/kamp/ziel.php?uid=%UID%&bid=%CID%&sid=%SID%', NULL,'h','NONE'),
+(430, 41, 'traffic', 'http://www.superpromo24.de/int/get.php', 'http://www.superpromo24.de/kamp/ziel.php?uid=%UID%&bid=%CID%&sid=%SID%', NULL,'h','NONE')");
+
// Network type handlers - WeltPromotion
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`,`network_id`,`network_type_handler`,`network_type_api_url`,`network_type_click_url`,`network_type_banner_url`,`network_type_reload_time_unit`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handler`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`, `network_type_reload_time_unit`) VALUES
(205, 20, 'banner_click', 'http://www.weltpromotion.de/interface/api_2.php', 'http://www.weltpromotion.de/codes/klickbanner.php?id=%UID%&bid=%CID%&aid=%SID%&trackid=%TID%', 'http://www.weltpromotion.de/codes/viewbanner.php?id=%UID%&bid=%CID%&aid=%SID%', 'h'),
(204, 20, 'banner_view', 'http://www.weltpromotion.de/interface/api_2.php', 'http://www.weltpromotion.de/codes/bannerklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.weltpromotion.de/codes/bannerview.php?id=%UID%&bid=%CID%&aid=%SID%', 'h'),
(207, 20, 'button_view', 'http://www.weltpromotion.de/interface/api_2.php', 'http://www.weltpromotion.de/codes/klickbanner.php?id=%UID%&bid=%CID%&aid=%SID%&trackid=%TID%', 'http://www.weltpromotion.de/codes/buttonview.php?id=%UID%&bid=%CID%&aid=%SID%', 'h'),
(209, 20, 'traffic', 'http://www.weltpromotion.de/interface/api_2.php', 'http://www.weltpromotion.de/codes/traffic.php?id=%UID%&bid=%CID%&aid=%SID%&trackid=%TID%', NULL, 'h')");
// Network type handlers - UltraPROMO
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`,`network_id`,`network_type_handler`,`network_type_api_url`,`network_type_click_url`,`network_type_banner_url`,`network_type_reload_time_unit`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handler`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`, `network_type_reload_time_unit`) VALUES
(125, 21, 'banner_click', 'http://www.ultrapromo.eu/interface/', 'http://www.ultrapromo.eu/codes/klickbanner.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.ultrapromo.eu/codes/viewbanner.php?id=%UID%&bid=%CID%&aid=%SID%', 'h'),
(126, 21, 'banner_view', 'http://www.ultrapromo.eu/interface/', 'http://www.ultrapromo.eu/codes/bannerklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.ultrapromo.eu/codes/bannerview.php?id=%UID%&bid=%CID%&aid=%SID%', 'h'),
(127, 21, 'button_view', 'http://www.ultrapromo.eu/interface/', 'http://www.ultrapromo.eu/codes/buttonklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.ultrapromo.eu/codes/buttonview.php?id=%UID%&bid=%CID%&aid=%SID%', 'h'),
(134, 21, 'traffic', 'http://www.ultrapromo.eu/interface/', 'http://www.ultrapromo.eu/codes/traffic.php?id=%UID%&bid=%CID%&aid=%SID%', NULL, 'h')");
// Network type handlers - VIPads.de
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`,`network_id`,`network_type_handler`,`network_type_api_url`,`network_type_click_url`,`network_type_banner_url`,`network_type_reload_time_unit`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handler`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`, `network_type_reload_time_unit`) VALUES
(247, 27, 'banner_click', 'http://vipads.de/int/get.php', 'http://vipads.de/kamp/ziel.php?uid=%UID%&bid=%BID%&sid=%SID%', 'http://vipads.de/kamp/b_view.php?uid=%UID%&bid=%BID%&sid=%SID%', 'h'),
(248, 27, 'banner_view', 'http://vipads.de/int/get.php', 'http://vipads.de/kamp/ziel.php?uid=%UID%&bid=%BID%&sid=%SID%', 'http://vipads.de/kamp/b_view.php?uid=%UID%&bid=%BID%&sid=%SID%', 'h'),
(249, 27, 'button_click', 'http://vipads.de/int/get.php', 'http://vipads.de/kamp/ziel.php?uid=%UID%&bid=%BID%&sid=%SID%', 'http://vipads.de/kamp/b_view.php?uid=%UID%&bid=%BID%&sid=%SID%', 'h'),
(259, 27, 'traffic', 'http://vipads.de/int/get.php', 'http://vipads.de/kamp/ziel.php?uid=%UID%&bid=%BID%&sid=%SID%', NULL, 'h')");
// Network type handlers - Der Werbepartner.cc
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`,`network_id`,`network_type_handler`,`network_type_api_url`,`network_type_click_url`,`network_type_banner_url`,`network_type_reload_time_unit`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handler`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`, `network_type_reload_time_unit`) VALUES
(145, 22, 'textlink_click', 'http://www.werbepartner.cc/sponsor/data/get.php', 'http://www.werbepartner.cc/sponsor/data/werbung.php', NULL, 'h'),
(146, 22, 'forcedbanner', 'http://www.werbepartner.cc/sponsor/data/get.php', 'http://www.werbepartner.cc/sponsor/data/werbung.php', 'http://www.werbepartner.cc/sponsor/data/werbung.php', 'h'),
(147, 22, 'textmail', 'http://www.werbepartner.cc/sponsor/data/get.php', 'http://www.werbepartner.cc/sponsor/data/werbung.php', NULL, 'h'),
(155, 22, 'traffic', 'http://www.werbepartner.cc/sponsor/data/get.php', 'http://www.werbepartner.cc/sponsor/data/get.php', NULL, 'h')");
// Network type handlers - Yoo!Media
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`,`network_id`,`network_type_handler`,`network_type_api_url`,`network_type_click_url`,`network_type_banner_url`,`network_type_reload_time_unit`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handler`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`, `network_type_reload_time_unit`) VALUES
(156, 23, 'banner_click', 'http://www.yoomedia.de/interface_2.0/out_banner.php', 'http://www.yoomedia.de/code/z-bannerklf.php?id=%CID%&sid=%SID%', 'http://www.yoomedia.de/code/z-banner.php?id=%CID%&sid=%SID%&bid=%BID%', 'h'),
(157, 23, 'textlink_click', 'http://www.yoomedia.de/interface_2.0/out_textlink.php', 'http://www.yoomedia.de/code/t-textlink.php?id=%CID%&sid=%SID%', NULL, 'h'),
(158, 23, 'surfbar_click', 'http://www.yoomedia.de/interface_2.0/out_sbanner.php', 'http://www.yoomedia.de/code/s-bannerklf.php?id=%CID%&sid=%SID%', 'http://www.yoomedia.de/code/s-banner.php?id=%CID%&sid=%SID%&bid=%BID%', 'h'),
(166, 23, 'lead', 'http://www.yoomedia.de/interface_2.0/out_lead.php', 'http://www.yoomedia.de/code/lead.php?id=%CID%&sid=%SID%', NULL, 'h')");
// Request parameters per type handler - A3H
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`,`network_type_id`,`network_request_param_key`,`network_request_param_value`,`network_request_param_default`) VALUES
-(1, 1, 'id', 'id', NULL),
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`, `network_type_id`, `network_request_param_key`, `network_request_param_value`, `network_request_param_default`) VALUES
+(1, 1, 'affiliate_id', 'id', NULL),
(1, 1, 'minimum_stay', 'ma', NULL),
(1, 1, 'password', 'pw', NULL),
(1, 1, 'reload', 'reload', NULL),
(1, 1, 'sid', 'sid', NULL),
(1, 1, 'size', 'size', NULL),
(1, 1, 'type', 'typ', 'klick'),
-(1, 2, 'id', 'id', NULL),
+(1, 2, 'affiliate_id', 'id', NULL),
(1, 2, 'password', 'pw', NULL),
(1, 2, 'reload', 'reload', NULL),
(1, 2, 'remain', 'uebrig', NULL),
(1, 2, 'reward', 'verguetung', NULL),
(1, 2, 'sid', 'sid', NULL),
(1, 2, 'type', 'typ', 'klick'),
-(1, 3, 'id', 'id', NULL),
+(1, 3, 'affiliate_id', 'id', NULL),
(1, 3, 'password', 'pw', NULL),
(1, 3, 'reload', 'reload', NULL),
(1, 3, 'remain', 'uebrig', NULL),
(1, 3, 'sid', 'sid', NULL),
(1, 3, 'size', 'size', NULL),
(1, 3, 'type', 'typ', 'klick'),
-(1, 4, 'id', 'id', NULL),
+(1, 4, 'affiliate_id', 'id', NULL),
(1, 4, 'minimum_stay', 'ma', NULL),
(1, 4, 'password', 'pw', NULL),
(1, 4, 'reload', 'reload', NULL),
(1, 4, 'reward', 'verguetung', NULL),
(1, 4, 'sid', 'sid', NULL),
(1, 4, 'size', 'size', NULL),
-(1, 5, 'id', 'id', NULL),
+(1, 5, 'affiliate_id', 'id', NULL),
(1, 5, 'minimum_stay', 'ma', NULL),
(1, 5, 'password', 'pw', NULL),
(1, 5, 'reload', 'reload', NULL),
(1, 5, 'reward', 'verguetung', NULL),
(1, 5, 'sid', 'sid', NULL),
(1, 5, 'type', 'typ', 'text'),
-(1, 6, 'id', 'id', NULL),
+(1, 6, 'affiliate_id', 'id', NULL),
(1, 6, 'password', 'pw', NULL),
(1, 6, 'reload', 'reload', NULL),
(1, 6, 'remain', 'uebrig', NULL),
(1, 6, 'reward', 'verguetung', NULL),
(1, 6, 'sid', 'sid', NULL),
(1, 6, 'type', 'typ', 'klick'),
-(1, 7, 'id', 'id', NULL),
+(1, 7, 'affiliate_id', 'id', NULL),
(1, 7, 'minimum_stay', 'ma', NULL),
(1, 7, 'password', 'pw', NULL),
(1, 7, 'reload', 'reload', NULL),
(1, 7, 'remain', 'uebrig', NULL),
(1, 7, 'reward', 'verguetung', NULL),
(1, 7, 'sid', 'sid', NULL),
-(1, 8, 'id', 'id', NULL),
+(1, 8, 'affiliate_id', 'id', NULL),
(1, 8, 'minimum_stay', 'ma', NULL),
(1, 8, 'password', 'pw', NULL),
(1, 8, 'reload', 'reload', NULL),
(1, 8, 'remain', 'uebrig', NULL),
(1, 8, 'reward', 'verguetung', NULL),
(1, 8, 'sid', 'sid', NULL),
-(1, 9, 'id', 'id', NULL),
+(1, 9, 'affiliate_id', 'id', NULL),
(1, 9, 'password', 'pw', NULL),
(1, 9, 'remain', 'uebrig', NULL),
(1, 9, 'reward', 'verguetung', NULL),
(1, 9, 'sid', 'sid', NULL),
-(1, 10, 'id', 'id', NULL),
+(1, 10, 'affiliate_id', 'id', NULL),
(1, 10, 'password', 'pw', NULL),
(1, 10, 'remain', 'uebrig', NULL),
(1, 10, 'reward', 'verguetung', NULL),
(1, 10, 'sid', 'sid', NULL),
-(1, 11, 'id', 'id', NULL),
+(1, 11, 'affiliate_id', 'id', NULL),
(1, 11, 'minimum_stay', 'ma', NULL),
(1, 11, 'password', 'pw', NULL),
(1, 11, 'reload', 'reload', NULL),
(1, 11, 'reward', 'verguetung', NULL),
(1, 11, 'sid', 'sid', NULL),
(1, 11, 'type', 'typ', 'html'),
-(1, 387, 'id', 'id', NULL),
+(1, 387, 'affiliate_id', 'id', NULL),
(1, 387, 'minimum_stay', 'ma', NULL),
(1, 387, 'password', 'pw', NULL),
(1, 387, 'reload', 'reload', NULL),
(1, 387, 'sid', 'sid', NULL),
(1, 387, 'size', 'size', NULL),
(1, 387, 'type', 'typ', 'view'),
-(1, 388, 'id', 'id', NULL),
+(1, 388, 'affiliate_id', 'id', NULL),
(1, 388, 'password', 'pw', NULL),
(1, 388, 'reload', 'reload', NULL),
(1, 388, 'remain', 'uebrig', NULL),
(1, 388, 'reward', 'verguetung', NULL),
(1, 388, 'sid', 'sid', NULL),
(1, 388, 'type', 'typ', 'view'),
-(1, 389, 'id', 'id', NULL),
+(1, 389, 'affiliate_id', 'id', NULL),
(1, 389, 'password', 'pw', NULL),
(1, 389, 'reload', 'reload', NULL),
(1, 389, 'remain', 'uebrig', NULL),
(1, 389, 'sid', 'sid', NULL),
(1, 389, 'size', 'size', NULL),
(1, 389, 'type', 'typ', 'view'),
-(1, 390, 'id', 'id', NULL),
+(1, 390, 'affiliate_id', 'id', NULL),
(1, 390, 'password', 'pw', NULL),
(1, 390, 'reload', 'reload', NULL),
(1, 390, 'remain', 'uebrig', NULL),
(1, 390, 'type', 'typ', 'view')");
// Request parameters per type handler - AbisZED-Netz
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`,`network_type_id`,`network_request_param_key`,`network_request_param_value`,`network_request_param_default`) VALUES
-(2, 187, 'id', 'id', NULL),
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`, `network_type_id`, `network_request_param_key`, `network_request_param_value`, `network_request_param_default`) VALUES
+(2, 187, 'affiliate_id', 'id', NULL),
(2, 187, 'password', 'pw', NULL),
(2, 187, 'reload', 'reload', NULL),
(2, 187, 'remain', 'uebrig', NULL),
(2, 187, 'sid', 'sid', NULL),
(2, 187, 'size', 'size', NULL),
(2, 187, 'type', 'typ', 'klick'),
-(2, 188, 'id', 'id', NULL),
+(2, 188, 'affiliate_id', 'id', NULL),
(2, 188, 'password', 'pw', NULL),
(2, 188, 'reload', 'reload', NULL),
(2, 188, 'remain', 'uebrig', NULL),
(2, 188, 'sid', 'sid', NULL),
(2, 188, 'size', 'size', NULL),
(2, 188, 'type', 'typ', 'view'),
-(2, 189, 'id', 'id', NULL),
+(2, 189, 'affiliate_id', 'id', NULL),
(2, 189, 'password', 'pw', NULL),
(2, 189, 'reload', 'reload', NULL),
(2, 189, 'remain', 'uebrig', NULL),
(2, 189, 'reward', 'verguetung', NULL),
(2, 189, 'sid', 'sid', NULL),
(2, 189, 'type', 'typ', 'klick'),
-(2, 190, 'id', 'id', NULL),
+(2, 190, 'affiliate_id', 'id', NULL),
(2, 190, 'password', 'pw', NULL),
(2, 190, 'reload', 'reload', NULL),
(2, 190, 'remain', 'uebrig', NULL),
(2, 190, 'reward', 'verguetung', NULL),
(2, 190, 'sid', 'sid', NULL),
(2, 190, 'type', 'typ', 'view'),
-(2, 191, 'id', 'id', NULL),
+(2, 191, 'affiliate_id', 'id', NULL),
(2, 191, 'password', 'pw', NULL),
(2, 191, 'reload', 'reload', NULL),
(2, 191, 'remain', 'uebrig', NULL),
(2, 191, 'sid', 'sid', NULL),
(2, 191, 'size', 'size', NULL),
(2, 191, 'type', 'typ', 'klick'),
-(2, 192, 'id', 'id', NULL),
+(2, 192, 'affiliate_id', 'id', NULL),
(2, 192, 'password', 'pw', NULL),
(2, 192, 'reload', 'reload', NULL),
(2, 192, 'remain', 'uebrig', NULL),
(2, 192, 'sid', 'sid', NULL),
(2, 192, 'size', 'size', NULL),
(2, 192, 'type', 'typ', 'view'),
-(2, 193, 'id', 'id', NULL),
+(2, 193, 'affiliate_id', 'id', NULL),
(2, 193, 'minimum_stay', 'ma', NULL),
(2, 193, 'password', 'pw', NULL),
(2, 193, 'reload', 'reload', NULL),
(2, 193, 'reward', 'verguetung', NULL),
(2, 193, 'sid', 'sid', NULL),
(2, 193, 'size', 'size', NULL),
-(2, 194, 'id', 'id', NULL),
+(2, 194, 'affiliate_id', 'id', NULL),
(2, 194, 'minimum_stay', 'ma', NULL),
(2, 194, 'password', 'pw', NULL),
(2, 194, 'reload', 'reload', NULL),
(2, 194, 'reward', 'verguetung', NULL),
(2, 194, 'sid', 'sid', NULL),
(2, 194, 'type', 'typ', 'text'),
-(2, 195, 'id', 'id', NULL),
+(2, 195, 'affiliate_id', 'id', NULL),
(2, 195, 'minimum_stay', 'ma', NULL),
(2, 195, 'password', 'pw', NULL),
(2, 195, 'reload', 'reload', NULL),
(2, 195, 'reward', 'verguetung', NULL),
(2, 195, 'sid', 'sid', NULL),
(2, 195, 'type', 'typ', 'html'),
-(2, 196, 'id', 'id', NULL),
+(2, 196, 'affiliate_id', 'id', NULL),
(2, 196, 'password', 'pw', NULL),
(2, 196, 'reload', 'reload', NULL),
(2, 196, 'remain', 'uebrig', NULL),
(2, 196, 'reward', 'verguetung', NULL),
(2, 196, 'sid', 'sid', NULL),
(2, 196, 'type', 'typ', 'klick'),
-(2, 197, 'id', 'id', NULL),
+(2, 197, 'affiliate_id', 'id', NULL),
(2, 197, 'password', 'pw', NULL),
(2, 197, 'reload', 'reload', NULL),
(2, 197, 'remain', 'uebrig', NULL),
(2, 197, 'reward', 'verguetung', NULL),
(2, 197, 'sid', 'sid', NULL),
(2, 197, 'type', 'typ', 'view'),
-(2, 198, 'id', 'id', NULL),
+(2, 198, 'affiliate_id', 'id', NULL),
(2, 198, 'minimum_stay', 'ma', NULL),
(2, 198, 'password', 'pw', NULL),
(2, 198, 'reload', 'reload', NULL),
(2, 198, 'remain', 'uebrig', NULL),
(2, 198, 'reward', 'verguetung', NULL),
(2, 198, 'sid', 'sid', NULL),
-(2, 199, 'id', 'id', NULL),
+(2, 199, 'affiliate_id', 'id', NULL),
(2, 199, 'maximum_stay', 'ma', NULL),
(2, 199, 'password', 'pw', NULL),
(2, 199, 'reload', 'reload', NULL),
(2, 199, 'remain', 'uebrig', NULL),
(2, 199, 'reward', 'verguetung', NULL),
(2, 199, 'sid', 'sid', NULL),
-(2, 200, 'id', 'id', NULL),
+(2, 200, 'affiliate_id', 'id', NULL),
(2, 200, 'password', 'pw', NULL),
(2, 200, 'remain', 'uebrig', NULL),
(2, 200, 'reward', 'verguetung', NULL),
(2, 200, 'sid', 'sid', NULL),
-(2, 201, 'id', 'id', NULL),
+(2, 201, 'affiliate_id', 'id', NULL),
(2, 201, 'password', 'pw', NULL),
(2, 201, 'remain', 'uebrig', NULL),
(2, 201, 'reward', 'verguetung', NULL),
(2, 201, 'sid', 'sid', NULL)");
// Request parameters per type handler - Ad-Hit
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`,`network_type_id`,`network_request_param_key`,`network_request_param_value`,`network_request_param_default`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`, `network_type_id`, `network_request_param_key`, `network_request_param_value`, `network_request_param_default`) VALUES
(31, 302, 'extra', 'typ', 'forcedbanner'),
-(31, 302, 'id', 'id', NULL),
+(31, 302, 'affiliate_id', 'id', NULL),
(31, 302, 'password', 'pw', NULL),
(31, 302, 'remain', 'uebrig', NULL),
(31, 302, 'reload', 'reload', NULL),
(31, 302, 'sid', 'siteid', NULL),
(31, 302, 'minimum_stay', 'ma', NULL),
(31, 303, 'extra', 'typ', 'forcedtextlink'),
-(31, 303, 'id', 'id', NULL),
+(31, 303, 'affiliate_id', 'id', NULL),
(31, 303, 'password', 'pw', NULL),
(31, 303, 'remain', 'uebrig', NULL),
(31, 303, 'reload', 'reload', NULL),
(31, 303, 'sid', 'siteid', NULL),
(31, 303, 'minimum_stay', 'ma', NULL),
(31, 304, 'extra', 'typ', 'bannerview'),
-(31, 304, 'id', 'id', NULL),
+(31, 304, 'affiliate_id', 'id', NULL),
(31, 304, 'password', 'pw', NULL),
(31, 304, 'remain', 'uebrig', NULL),
(31, 304, 'reload', 'reload', NULL),
(31, 304, 'sid', 'siteid', NULL),
(31, 304, 'minimum_stay', 'ma', NULL),
(31, 305, 'extra', 'typ', 'bannerklick'),
-(31, 305, 'id', 'id', NULL),
+(31, 305, 'affiliate_id', 'id', NULL),
(31, 305, 'password', 'pw', NULL),
(31, 305, 'remain', 'uebrig', NULL),
(31, 305, 'reload', 'reload', NULL),
(31, 305, 'sid', 'siteid', NULL),
(31, 305, 'minimum_stay', 'ma', NULL),
(31, 306, 'extra', 'typ', 'skybannerview'),
-(31, 306, 'id', 'id', NULL),
+(31, 306, 'affiliate_id', 'id', NULL),
(31, 306, 'password', 'pw', NULL),
(31, 306, 'remain', 'uebrig', NULL),
(31, 306, 'reload', 'reload', NULL),
(31, 306, 'sid', 'siteid', NULL),
(31, 306, 'minimum_stay', 'ma', NULL),
(31, 307, 'extra', 'typ', 'buttonview'),
-(31, 307, 'id', 'id', NULL),
+(31, 307, 'affiliate_id', 'id', NULL),
(31, 307, 'password', 'pw', NULL),
(31, 307, 'remain', 'uebrig', NULL),
(31, 307, 'reload', 'reload', NULL),
(31, 307, 'sid', 'siteid', NULL),
(31, 307, 'minimum_stay', 'ma', NULL),
(31, 308, 'extra', 'typ', 'textview'),
-(31, 308, 'id', 'id', NULL),
+(31, 308, 'affiliate_id', 'id', NULL),
(31, 308, 'password', 'pw', NULL),
(31, 308, 'remain', 'uebrig', NULL),
(31, 308, 'reload', 'reload', NULL),
(31, 308, 'sid', 'siteid', NULL),
(31, 308, 'minimum_stay', 'ma', NULL),
(31, 309, 'extra', 'typ', 'traffic'),
-(31, 309, 'id', 'id', NULL),
+(31, 309, 'affiliate_id', 'id', NULL),
(31, 309, 'password', 'pw', NULL),
(31, 309, 'remain', 'uebrig', NULL),
(31, 309, 'reload', 'reload', NULL),
(31, 309, 'sid', 'siteid', NULL),
(31, 309, 'minimum_stay', 'ma', NULL),
(31, 310, 'extra', 'typ', 'popup'),
-(31, 310, 'id', 'id', NULL),
+(31, 310, 'affiliate_id', 'id', NULL),
(31, 310, 'password', 'pw', NULL),
(31, 310, 'remain', 'uebrig', NULL),
(31, 310, 'reload', 'reload', NULL),
(31, 310, 'sid', 'siteid', NULL),
(31, 310, 'minimum_stay', 'ma', NULL),
(31, 311, 'extra', 'typ', 'paidmail'),
-(31, 311, 'id', 'id', NULL),
+(31, 311, 'affiliate_id', 'id', NULL),
(31, 311, 'password', 'pw', NULL),
(31, 311, 'remain', 'uebrig', NULL),
(31, 311, 'reload', 'reload', NULL),
// Request parameters per type handler - Ad-Magnet
// Request parameters per type handler - Ad-Promotion.net
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`,`network_type_id`,`network_request_param_key`,`network_request_param_value`,`network_request_param_default`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`, `network_type_id`, `network_request_param_key`, `network_request_param_value`, `network_request_param_default`) VALUES
(37, 367, 'extra', 'typ', 'forcedbanner'),
-(37, 367, 'id', 'id', NULL),
+(37, 367, 'affiliate_id', 'id', NULL),
(37, 367, 'password', 'pw', NULL),
(37, 367, 'remain', 'uebrig', NULL),
(37, 367, 'reload', 'reload', NULL),
(37, 367, 'reward', 'verguetung', NULL),
(37, 367, 'sid', 'siteid', NULL),
(37, 368, 'extra', 'typ', 'forcedtextlink'),
-(37, 368, 'id', 'id', NULL),
+(37, 368, 'affiliate_id', 'id', NULL),
(37, 368, 'password', 'pw', NULL),
(37, 368, 'remain', 'uebrig', NULL),
(37, 368, 'reload', 'reload', NULL),
(37, 368, 'reward', 'verguetung', NULL),
(37, 368, 'sid', 'siteid', NULL),
(37, 369, 'extra', 'typ', 'bannerview'),
-(37, 369, 'id', 'id', NULL),
+(37, 369, 'affiliate_id', 'id', NULL),
(37, 369, 'password', 'pw', NULL),
(37, 369, 'remain', 'uebrig', NULL),
(37, 369, 'reload', 'reload', NULL),
(37, 369, 'reward', 'verguetung', NULL),
(37, 369, 'sid', 'siteid', NULL),
(37, 370, 'extra', 'typ', 'bannerklick'),
-(37, 370, 'id', 'id', NULL),
+(37, 370, 'affiliate_id', 'id', NULL),
(37, 370, 'password', 'pw', NULL),
(37, 370, 'remain', 'uebrig', NULL),
(37, 370, 'reload', 'reload', NULL),
(37, 370, 'reward', 'verguetung', NULL),
(37, 370, 'sid', 'siteid', NULL),
(37, 371, 'extra', 'typ', 'skybannerview'),
-(37, 371, 'id', 'id', NULL),
+(37, 371, 'affiliate_id', 'id', NULL),
(37, 371, 'password', 'pw', NULL),
(37, 371, 'remain', 'uebrig', NULL),
(37, 371, 'reload', 'reload', NULL),
(37, 371, 'reward', 'verguetung', NULL),
(37, 371, 'sid', 'siteid', NULL),
(37, 372, 'extra', 'typ', 'buttonview'),
-(37, 372, 'id', 'id', NULL),
+(37, 372, 'affiliate_id', 'id', NULL),
(37, 372, 'password', 'pw', NULL),
(37, 372, 'remain', 'uebrig', NULL),
(37, 372, 'reload', 'reload', NULL),
(37, 372, 'reward', 'verguetung', NULL),
(37, 372, 'sid', 'siteid', NULL),
(37, 373, 'extra', 'typ', 'textview'),
-(37, 373, 'id', 'id', NULL),
+(37, 373, 'affiliate_id', 'id', NULL),
(37, 373, 'password', 'pw', NULL),
(37, 373, 'remain', 'uebrig', NULL),
(37, 373, 'reload', 'reload', NULL),
(37, 373, 'reward', 'verguetung', NULL),
(37, 373, 'sid', 'siteid', NULL),
(37, 374, 'extra', 'typ', 'traffic'),
-(37, 374, 'id', 'id', NULL),
+(37, 374, 'affiliate_id', 'id', NULL),
(37, 374, 'password', 'pw', NULL),
(37, 374, 'remain', 'uebrig', NULL),
(37, 374, 'reload', 'reload', NULL),
(37, 374, 'reward', 'verguetung', NULL),
(37, 374, 'sid', 'siteid', NULL),
(37, 375, 'extra', 'typ', 'popup'),
-(37, 375, 'id', 'id', NULL),
+(37, 375, 'affiliate_id', 'id', NULL),
(37, 375, 'password', 'pw', NULL),
(37, 375, 'remain', 'uebrig', NULL),
(37, 375, 'reload', 'reload', NULL),
(37, 375, 'reward', 'verguetung', NULL),
(37, 375, 'sid', 'siteid', NULL),
(37, 376, 'extra', 'typ', 'paidmail'),
-(37, 376, 'id', 'id', NULL),
+(37, 376, 'affiliate_id', 'id', NULL),
(37, 376, 'password', 'pw', NULL),
(37, 376, 'remain', 'uebrig', NULL),
(37, 376, 'reload', 'reload', NULL),
(37, 376, 'sid', 'siteid', NULL)");
// Request parameters per type handler - AdCity.eu
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`,`network_type_id`,`network_request_param_key`,`network_request_param_value`,`network_request_param_default`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`, `network_type_id`, `network_request_param_key`, `network_request_param_value`, `network_request_param_default`) VALUES
(32, 312, 'extra', 'typ', 'forcedbanner'),
-(32, 312, 'id', 'id', NULL),
+(32, 312, 'affiliate_id', 'id', NULL),
(32, 312, 'password', 'pw', NULL),
(32, 312, 'remain', 'uebrig', NULL),
(32, 312, 'reload', 'reload', NULL),
(32, 312, 'reward', 'verguetung', NULL),
(32, 312, 'minimum_stay', 'ma', NULL),
(32, 313, 'extra', 'typ', 'forcedtextlink'),
-(32, 313, 'id', 'id', NULL),
+(32, 313, 'affiliate_id', 'id', NULL),
(32, 313, 'password', 'pw', NULL),
(32, 313, 'remain', 'uebrig', NULL),
(32, 313, 'reload', 'reload', NULL),
(32, 313, 'reward', 'verguetung', NULL),
(32, 313, 'minimum_stay', 'ma', NULL),
(32, 314, 'extra', 'typ', 'bannerview'),
-(32, 314, 'id', 'id', NULL),
+(32, 314, 'affiliate_id', 'id', NULL),
(32, 314, 'password', 'pw', NULL),
(32, 314, 'remain', 'uebrig', NULL),
(32, 314, 'reload', 'reload', NULL),
(32, 314, 'reward', 'verguetung', NULL),
(32, 314, 'minimum_stay', 'ma', NULL),
(32, 315, 'extra', 'typ', 'bannerklick'),
-(32, 315, 'id', 'id', NULL),
+(32, 315, 'affiliate_id', 'id', NULL),
(32, 315, 'password', 'pw', NULL),
(32, 315, 'remain', 'uebrig', NULL),
(32, 315, 'reload', 'reload', NULL),
(32, 315, 'reward', 'verguetung', NULL),
(32, 315, 'minimum_stay', 'ma', NULL),
(32, 316, 'extra', 'typ', 'skyview'),
-(32, 316, 'id', 'id', NULL),
+(32, 316, 'affiliate_id', 'id', NULL),
(32, 316, 'password', 'pw', NULL),
(32, 316, 'remain', 'uebrig', NULL),
(32, 316, 'reload', 'reload', NULL),
(32, 316, 'reward', 'verguetung', NULL),
(32, 316, 'minimum_stay', 'ma', NULL),
(32, 317, 'extra', 'typ', 'buttonview'),
-(32, 317, 'id', 'id', NULL),
+(32, 317, 'affiliate_id', 'id', NULL),
(32, 317, 'password', 'pw', NULL),
(32, 317, 'remain', 'uebrig', NULL),
(32, 317, 'reload', 'reload', NULL),
(32, 317, 'reward', 'verguetung', NULL),
(32, 317, 'minimum_stay', 'ma', NULL),
(32, 318, 'extra', 'typ', 'textview'),
-(32, 318, 'id', 'id', NULL),
+(32, 318, 'affiliate_id', 'id', NULL),
(32, 318, 'password', 'pw', NULL),
(32, 318, 'remain', 'uebrig', NULL),
(32, 318, 'reload', 'reload', NULL),
(32, 318, 'reward', 'verguetung', NULL),
(32, 318, 'minimum_stay', 'ma', NULL),
(32, 319, 'extra', 'typ', 'taffic'),
-(32, 319, 'id', 'id', NULL),
+(32, 319, 'affiliate_id', 'id', NULL),
(32, 319, 'password', 'pw', NULL),
(32, 319, 'remain', 'uebrig', NULL),
(32, 319, 'reload', 'reload', NULL),
(32, 319, 'reward', 'verguetung', NULL),
(32, 319, 'minimum_stay', 'ma', NULL),
(32, 320, 'extra', 'typ', 'popup'),
-(32, 320, 'id', 'id', NULL),
+(32, 320, 'affiliate_id', 'id', NULL),
(32, 320, 'password', 'pw', NULL),
(32, 320, 'remain', 'uebrig', NULL),
(32, 320, 'reload', 'reload', NULL),
(32, 320, 'reward', 'verguetung', NULL),
(32, 320, 'minimum_stay', 'ma', NULL),
(32, 321, 'extra', 'typ', 'paidmail'),
-(32, 321, 'id', 'id', NULL),
+(32, 321, 'affiliate_id', 'id', NULL),
(32, 321, 'password', 'pw', NULL),
(32, 321, 'remain', 'uebrig', NULL),
(32, 321, 'reload', 'reload', NULL),
// Request parameters per type handler - AdCocktail
// Request parameters per type handler - AdConvention
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`,`network_type_id`,`network_request_param_key`,`network_request_param_value`,`network_request_param_default`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`, `network_type_id`, `network_request_param_key`, `network_request_param_value`, `network_request_param_default`) VALUES
(30, 292, 'extra', 'typ', 'forcedbanner'),
-(30, 292, 'id', 'id', NULL),
+(30, 292, 'affiliate_id', 'id', NULL),
(30, 292, 'minimum_stay', 'ma', NULL),
(30, 292, 'password', 'pw', NULL),
(30, 292, 'reload', 'reload', NULL),
(30, 292, 'remain', 'uebrig', NULL),
(30, 292, 'reward', 'verguetung', NULL),
(30, 293, 'extra', 'typ', 'forcedtextlink'),
-(30, 293, 'id', 'id', NULL),
+(30, 293, 'affiliate_id', 'id', NULL),
(30, 293, 'minimum_stay', 'ma', NULL),
(30, 293, 'password', 'pw', NULL),
(30, 293, 'reload', 'reload', NULL),
(30, 293, 'remain', 'uebrig', NULL),
(30, 293, 'reward', 'verguetung', NULL),
(30, 294, 'extra', 'typ', 'bannerview'),
-(30, 294, 'id', 'id', NULL),
+(30, 294, 'affiliate_id', 'id', NULL),
(30, 294, 'minimum_stay', 'ma', NULL),
(30, 294, 'password', 'pw', NULL),
(30, 294, 'reload', 'reload', NULL),
(30, 294, 'remain', 'uebrig', NULL),
(30, 294, 'reward', 'verguetung', NULL),
(30, 295, 'extra', 'typ', 'bannerklick'),
-(30, 295, 'id', 'id', NULL),
+(30, 295, 'affiliate_id', 'id', NULL),
(30, 295, 'minimum_stay', 'ma', NULL),
(30, 295, 'password', 'pw', NULL),
(30, 295, 'reload', 'reload', NULL),
(30, 295, 'remain', 'uebrig', NULL),
(30, 295, 'reward', 'verguetung', NULL),
(30, 296, 'extra', 'typ', 'skybannerview'),
-(30, 296, 'id', 'id', NULL),
+(30, 296, 'affiliate_id', 'id', NULL),
(30, 296, 'minimum_stay', 'ma', NULL),
(30, 296, 'password', 'pw', NULL),
(30, 296, 'reload', 'reload', NULL),
(30, 296, 'remain', 'uebrig', NULL),
(30, 296, 'reward', 'verguetung', NULL),
(30, 297, 'extra', 'typ', 'buttonview'),
-(30, 297, 'id', 'id', NULL),
+(30, 297, 'affiliate_id', 'id', NULL),
(30, 297, 'minimum_stay', 'ma', NULL),
(30, 297, 'password', 'pw', NULL),
(30, 297, 'reload', 'reload', NULL),
(30, 297, 'remain', 'uebrig', NULL),
(30, 297, 'reward', 'verguetung', NULL),
(30, 298, 'extra', 'typ', 'textview'),
-(30, 298, 'id', 'id', NULL),
+(30, 298, 'affiliate_id', 'id', NULL),
(30, 298, 'minimum_stay', 'ma', NULL),
(30, 298, 'password', 'pw', NULL),
(30, 298, 'reload', 'reload', NULL),
(30, 298, 'remain', 'uebrig', NULL),
(30, 298, 'reward', 'verguetung', NULL),
(30, 299, 'extra', 'typ', 'traffic'),
-(30, 299, 'id', 'id', NULL),
+(30, 299, 'affiliate_id', 'id', NULL),
(30, 299, 'minimum_stay', 'ma', NULL),
(30, 299, 'password', 'pw', NULL),
(30, 299, 'reload', 'reload', NULL),
(30, 299, 'remain', 'uebrig', NULL),
(30, 299, 'reward', 'verguetung', NULL),
(30, 300, 'extra', 'typ', 'popup'),
-(30, 300, 'id', 'id', NULL),
+(30, 300, 'affiliate_id', 'id', NULL),
(30, 300, 'minimum_stay', 'ma', NULL),
(30, 300, 'password', 'pw', NULL),
(30, 300, 'reload', 'reload', NULL),
(30, 300, 'remain', 'uebrig', NULL),
(30, 300, 'reward', 'verguetung', NULL),
(30, 301, 'extra', 'typ', 'paidmail'),
-(30, 301, 'id', 'id', NULL),
+(30, 301, 'affiliate_id', 'id', NULL),
(30, 301, 'minimum_stay', 'ma', NULL),
(30, 301, 'password', 'pw', NULL),
(30, 301, 'reload', 'reload', NULL),
(30, 301, 'reward', 'verguetung', NULL)");
// Request parameters per type handler - adgain.de
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`,`network_type_id`,`network_request_param_key`,`network_request_param_value`,`network_request_param_default`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`, `network_type_id`, `network_request_param_key`, `network_request_param_value`, `network_request_param_default`) VALUES
(33, 322, 'extra', 'art', 'bannerklick'),
-(33, 322, 'id', 'uid', NULL),
+(33, 322, 'affiliate_id', 'uid', NULL),
(33, 322, 'password', 'pw', NULL),
(33, 322, 'sid', 'sid', NULL),
(33, 322, 'reward', 'verguetung', NULL),
(33, 322, 'reload', 'reload', NULL),
(33, 322, 'remain', 'uebrig', NULL),
(33, 323, 'extra', 'art', 'bannerview'),
-(33, 323, 'id', 'uid', NULL),
+(33, 323, 'affiliate_id', 'uid', NULL),
(33, 323, 'password', 'pw', NULL),
(33, 323, 'sid', 'sid', NULL),
(33, 323, 'reward', 'verguetung', NULL),
(33, 323, 'reload', 'reload', NULL),
(33, 323, 'remain', 'uebrig', NULL),
(33, 324, 'extra', 'art', 'forcedbanner'),
-(33, 324, 'id', 'uid', NULL),
+(33, 324, 'affiliate_id', 'uid', NULL),
(33, 324, 'password', 'pw', NULL),
(33, 324, 'sid', 'sid', NULL),
(33, 324, 'reward', 'verguetung', NULL),
(33, 324, 'remain', 'uebrig', NULL),
(33, 324, 'minimum_stay', 'ma', NULL),
(33, 325, 'extra', 'art', 'forcedtextlink'),
-(33, 325, 'id', 'uid', NULL),
+(33, 325, 'affiliate_id', 'uid', NULL),
(33, 325, 'password', 'pw', NULL),
(33, 325, 'sid', 'sid', NULL),
(33, 325, 'reward', 'verguetung', NULL),
(33, 325, 'remain', 'uebrig', NULL),
(33, 325, 'minimum_stay', 'ma', NULL),
(33, 326, 'extra', 'art', 'htmlmail'),
-(33, 326, 'id', 'uid', NULL),
+(33, 326, 'affiliate_id', 'uid', NULL),
(33, 326, 'password', 'pw', NULL),
(33, 326, 'sid', 'sid', NULL),
(33, 326, 'reward', 'verguetung', NULL),
(33, 326, 'remain', 'uebrig', NULL),
(33, 326, 'minimum_stay', 'ma', NULL),
(33, 327, 'extra', 'art', 'layer'),
-(33, 327, 'id', 'uid', NULL),
+(33, 327, 'affiliate_id', 'uid', NULL),
(33, 327, 'password', 'pw', NULL),
(33, 327, 'sid', 'sid', NULL),
(33, 327, 'reward', 'verguetung', NULL),
(33, 327, 'reload', 'reload', NULL),
(33, 327, 'remain', 'uebrig', NULL),
(33, 328, 'extra', 'art', 'paidmail'),
-(33, 328, 'id', 'uid', NULL),
+(33, 328, 'affiliate_id', 'uid', NULL),
(33, 328, 'password', 'pw', NULL),
(33, 328, 'sid', 'sid', NULL),
(33, 328, 'reward', 'verguetung', NULL),
(33, 328, 'type', 'uebrig', NULL),
(33, 328, 'minimum_stay', 'ma', NULL),
(33, 329, 'extra', 'art', 'popup'),
-(33, 329, 'id', 'uid', NULL),
+(33, 329, 'affiliate_id', 'uid', NULL),
(33, 329, 'password', 'pw', NULL),
(33, 329, 'sid', 'sid', NULL),
(33, 329, 'reward', 'verguetung', NULL),
(33, 329, 'remain', 'uebrig', NULL),
(33, 329, 'minimum_stay', 'ma', NULL),
(33, 330, 'extra', 'art', 'skybannerklick'),
-(33, 330, 'id', 'uid', NULL),
+(33, 330, 'affiliate_id', 'uid', NULL),
(33, 330, 'password', 'pw', NULL),
(33, 330, 'sid', 'sid', NULL),
(33, 330, 'reward', 'verguetung', NULL),
(33, 330, 'reload', 'reload', NULL),
(33, 330, 'remain', 'uebrig', NULL),
(33, 331, 'extra', 'art', 'skybannerview'),
-(33, 331, 'id', 'uid', NULL),
+(33, 331, 'affiliate_id', 'uid', NULL),
(33, 331, 'password', 'pw', NULL),
(33, 331, 'sid', 'sid', NULL),
(33, 331, 'reward', 'verguetung', NULL),
(33, 331, 'reload', 'reload', NULL),
(33, 331, 'remain', 'uebrig', NULL),
(33, 332, 'extra', 'art', 'surfbarklick'),
-(33, 332, 'id', 'uid', NULL),
+(33, 332, 'affiliate_id', 'uid', NULL),
(33, 332, 'password', 'pw', NULL),
(33, 332, 'sid', 'sid', NULL),
(33, 332, 'reward', 'verguetung', NULL),
(33, 332, 'reload', 'reload', NULL),
(33, 332, 'remain', 'uebrig', NULL),
(33, 333, 'extra', 'art', 'surfbarview'),
-(33, 333, 'id', 'uid', NULL),
+(33, 333, 'affiliate_id', 'uid', NULL),
(33, 333, 'password', 'pw', NULL),
(33, 333, 'sid', 'sid', NULL),
(33, 333, 'reward', 'verguetung', NULL),
(33, 333, 'reload', 'reload', NULL),
(33, 333, 'remain', 'uebrig', NULL),
(33, 334, 'extra', 'art', 'textlinkklick'),
-(33, 334, 'id', 'uid', NULL),
+(33, 334, 'affiliate_id', 'uid', NULL),
(33, 334, 'password', 'pw', NULL),
(33, 334, 'sid', 'sid', NULL),
(33, 334, 'reward', 'verguetung', NULL),
(33, 334, 'reload', 'reload', NULL),
(33, 334, 'remain', 'uebrig', NULL),
(33, 335, 'extra', 'art', 'textlinkview'),
-(33, 335, 'id', 'uid', NULL),
+(33, 335, 'affiliate_id', 'uid', NULL),
(33, 335, 'password', 'pw', NULL),
(33, 335, 'sid', 'sid', NULL),
(33, 335, 'reward', 'verguetung', NULL),
(33, 335, 'remain', 'uebrig', NULL)");
// Request parameters per type handler - ADkracher
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`,`network_type_id`,`network_request_param_key`,`network_request_param_value`,`network_request_param_default`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`, `network_type_id`, `network_request_param_key`, `network_request_param_value`, `network_request_param_default`) VALUES
(34, 336, 'extra', 'art', 'bannerklick'),
-(34, 336, 'id', 'uid', NULL),
+(34, 336, 'affiliate_id', 'uid', NULL),
(34, 336, 'password', 'pw', NULL),
(34, 336, 'reload', 'reload', NULL),
(34, 336, 'remain', 'uebrig', NULL),
(34, 336, 'reward', 'verguetung', NULL),
(34, 336, 'sid', 'sid', NULL),
(34, 337, 'extra', 'art', 'bannerview'),
-(34, 337, 'id', 'uid', NULL),
+(34, 337, 'affiliate_id', 'uid', NULL),
(34, 337, 'password', 'pw', NULL),
(34, 337, 'reload', 'reload', NULL),
(34, 337, 'remain', 'uebrig', NULL),
(34, 337, 'reward', 'verguetung', NULL),
(34, 337, 'sid', 'sid', NULL),
(34, 338, 'extra', 'art', 'forcedbanner'),
-(34, 338, 'id', 'uid', NULL),
+(34, 338, 'affiliate_id', 'uid', NULL),
(34, 338, 'minimum_stay', 'ma', NULL),
(34, 338, 'password', 'pw', NULL),
(34, 338, 'reload', 'reload', NULL),
(34, 338, 'reward', 'verguetung', NULL),
(34, 338, 'sid', 'sid', NULL),
(34, 339, 'extra', 'art', 'forcedtextlink'),
-(34, 339, 'id', 'uid', NULL),
+(34, 339, 'affiliate_id', 'uid', NULL),
(34, 339, 'minimum_stay', 'ma', NULL),
(34, 339, 'password', 'pw', NULL),
(34, 339, 'reload', 'reload', NULL),
(34, 339, 'reward', 'verguetung', NULL),
(34, 339, 'sid', 'sid', NULL),
(34, 340, 'extra', 'art', 'htmlmail'),
-(34, 340, 'id', 'uid', NULL),
+(34, 340, 'affiliate_id', 'uid', NULL),
(34, 340, 'minimum_stay', 'ma', NULL),
(34, 340, 'password', 'pw', NULL),
(34, 340, 'reload', 'reload', NULL),
(34, 340, 'reward', 'verguetung', NULL),
(34, 340, 'sid', 'sid', NULL),
(34, 341, 'extra', 'art', 'layer'),
-(34, 341, 'id', 'uid', NULL),
+(34, 341, 'affiliate_id', 'uid', NULL),
(34, 341, 'password', 'pw', NULL),
(34, 341, 'reload', 'reload', NULL),
(34, 341, 'remain', 'uebrig', NULL),
(34, 341, 'reward', 'verguetung', NULL),
(34, 341, 'sid', 'sid', NULL),
(34, 342, 'extra', 'art', 'paidmail'),
-(34, 342, 'id', 'uid', NULL),
+(34, 342, 'affiliate_id', 'uid', NULL),
(34, 342, 'maximum_stay', 'ma', NULL),
(34, 342, 'password', 'pw', NULL),
(34, 342, 'reload', 'reload', NULL),
(34, 342, 'reward', 'verguetung', NULL),
(34, 342, 'sid', 'sid', NULL),
(34, 343, 'extra', 'art', 'popup'),
-(34, 343, 'id', 'uid', NULL),
+(34, 343, 'affiliate_id', 'uid', NULL),
(34, 343, 'maximum_stay', 'ma', NULL),
(34, 343, 'password', 'pw', NULL),
(34, 343, 'reload', 'reload', NULL),
(34, 343, 'reward', 'verguetung', NULL),
(34, 343, 'sid', 'sid', NULL),
(34, 344, 'extra', 'art', 'skybannerklick'),
-(34, 344, 'id', 'uid', NULL),
+(34, 344, 'affiliate_id', 'uid', NULL),
(34, 344, 'password', 'pw', NULL),
(34, 344, 'reload', 'reload', NULL),
(34, 344, 'remain', 'uebrig', NULL),
(34, 344, 'reward', 'verguetung', NULL),
(34, 344, 'sid', 'sid', NULL),
(34, 345, 'extra', 'art', 'skybannerview'),
-(34, 345, 'id', 'uid', NULL),
+(34, 345, 'affiliate_id', 'uid', NULL),
(34, 345, 'password', 'pw', NULL),
(34, 345, 'reload', 'reload', NULL),
(34, 345, 'remain', 'uebrig', NULL),
(34, 345, 'reward', 'verguetung', NULL),
(34, 345, 'sid', 'sid', NULL),
(34, 346, 'extra', 'art', 'textlinkklick'),
-(34, 346, 'id', 'uid', NULL),
+(34, 346, 'affiliate_id', 'uid', NULL),
(34, 346, 'password', 'pw', NULL),
(34, 346, 'reload', 'reload', NULL),
(34, 346, 'remain', 'uebrig', NULL),
(34, 346, 'reward', 'verguetung', NULL),
(34, 346, 'sid', 'sid', NULL),
(34, 347, 'extra', 'art', 'textlinkview'),
-(34, 347, 'id', 'uid', NULL),
+(34, 347, 'affiliate_id', 'uid', NULL),
(34, 347, 'password', 'pw', NULL),
(34, 347, 'reload', 'reload', NULL),
(34, 347, 'reward', 'verguetung', NULL),
(34, 347, 'sid', 'sid', NULL),
(34, 348, 'extra', 'art', 'traffic'),
-(34, 348, 'id', 'uid', NULL),
+(34, 348, 'affiliate_id', 'uid', NULL),
(34, 348, 'minimum_stay', 'ma', NULL),
(34, 348, 'password', 'pw', NULL),
(34, 348, 'reload', 'reload', NULL),
(34, 348, 'sid', 'sid', NULL)");
// Request parameters per type handler - Adminlose.de
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`,`network_type_id`,`network_request_param_key`,`network_request_param_value`,`network_request_param_default`) VALUES
-(35, 349, 'id', 'id', NULL),
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`, `network_type_id`, `network_request_param_key`, `network_request_param_value`, `network_request_param_default`) VALUES
+(35, 349, 'affiliate_id', 'id', NULL),
(35, 349, 'password', 'pw', NULL),
(35, 349, 'reload', 'reload', NULL),
(35, 349, 'reward', 'verguetung', NULL),
(35, 349, 'remain', 'uebrig', NULL),
(35, 349, 'type', 'typ', 'view'),
-(35, 350, 'id', 'id', NULL),
+(35, 350, 'affiliate_id', 'id', NULL),
(35, 350, 'password', 'pw', NULL),
(35, 350, 'reload', 'reload', NULL),
(35, 350, 'reward', 'verguetung', NULL),
(35, 350, 'remain', 'uebrig', NULL),
(35, 350, 'type', 'typ', 'view'),
-(35, 351, 'id', 'id', NULL),
+(35, 351, 'affiliate_id', 'id', NULL),
(35, 351, 'password', 'pw', NULL),
(35, 351, 'reload', 'reload', NULL),
(35, 351, 'reward', 'verguetung', NULL),
(35, 351, 'remain', 'uebrig', NULL),
-(35, 352, 'id', 'id', NULL),
+(35, 352, 'affiliate_id', 'id', NULL),
(35, 352, 'password', 'pw', NULL),
(35, 352, 'reload', 'reload', NULL),
(35, 352, 'reward', 'verguetung', NULL),
(35, 352, 'type', 'uebrig', NULL),
-(35, 353, 'id', 'id', NULL),
+(35, 353, 'affiliate_id', 'id', NULL),
(35, 353, 'password', 'pw', NULL),
(35, 353, 'reward', 'verguetung', NULL),
(35, 353, 'remain', 'uebrig', NULL),
(35, 353, 'minimum_stay', 'ma', NULL),
-(35, 354, 'id', 'id', NULL),
+(35, 354, 'affiliate_id', 'id', NULL),
(35, 354, 'password', 'pw', NULL),
(35, 354, 'reload', 'reload', NULL),
(35, 354, 'reward', 'verguetung', NULL),
(35, 354, 'remain', 'uebrig', NULL),
-(35, 355, 'id', 'id', NULL),
+(35, 355, 'affiliate_id', 'id', NULL),
(35, 355, 'password', 'pw', NULL),
(35, 355, 'reload', 'reload', NULL),
(35, 355, 'reward', 'verguetung', NULL),
(35, 355, 'remain', 'uebrig', NULL),
(35, 355, 'minimum_stay', 'ma', NULL),
(35, 355, 'type', 'typ', 'popup'),
-(35, 356, 'id', 'id', NULL),
+(35, 356, 'affiliate_id', 'id', NULL),
(35, 356, 'password', 'pw', NULL),
(35, 356, 'reload', 'reload', NULL),
(35, 356, 'reward', 'verguetung', NULL),
(35, 356, 'type', 'typ', 'popdown')");
// Request parameters per type handler - Admono.de
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`,`network_type_id`,`network_request_param_key`,`network_request_param_value`,`network_request_param_default`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`, `network_type_id`, `network_request_param_key`, `network_request_param_value`, `network_request_param_default`) VALUES
(36, 357, 'extra', 'typ', 'forcedbanner'),
-(36, 357, 'id', 'id', NULL),
+(36, 357, 'affiliate_id', 'id', NULL),
(36, 357, 'sid', 'sid', NULL),
(36, 357, 'password', 'pw', NULL),
(36, 357, 'remain', 'uebrig', NULL),
(36, 357, 'reload', 'reload', NULL),
(36, 357, 'reward', 'verguetung', NULL),
(36, 358, 'extra', 'typ', 'forcedtextlink'),
-(36, 358, 'id', 'id', NULL),
+(36, 358, 'affiliate_id', 'id', NULL),
(36, 358, 'sid', 'sid', NULL),
(36, 358, 'password', 'pw', NULL),
(36, 358, 'remain', 'uebrig', NULL),
(36, 358, 'reload', 'reload', NULL),
(36, 358, 'reward', 'verguetung', NULL),
(36, 359, 'extra', 'typ', 'bannerview'),
-(36, 359, 'id', 'id', NULL),
+(36, 359, 'affiliate_id', 'id', NULL),
(36, 359, 'sid', 'sid', NULL),
(36, 359, 'password', 'pw', NULL),
(36, 359, 'remain', 'uebrig', NULL),
(36, 359, 'reload', 'reload', NULL),
(36, 359, 'reward', 'verguetung', NULL),
(36, 360, 'extra', 'typ', 'bannerklick'),
-(36, 360, 'id', 'id', NULL),
+(36, 360, 'affiliate_id', 'id', NULL),
(36, 360, 'sid', 'sid', NULL),
(36, 360, 'password', 'pw', NULL),
(36, 360, 'remain', 'uebrig', NULL),
(36, 360, 'reload', 'reload', NULL),
(36, 360, 'reward', 'verguetung', NULL),
(36, 361, 'extra', 'typ', 'skybannerview'),
-(36, 361, 'id', 'id', NULL),
+(36, 361, 'affiliate_id', 'id', NULL),
(36, 361, 'sid', 'sid', NULL),
(36, 361, 'password', 'pw', NULL),
(36, 361, 'remain', 'uebrig', NULL),
(36, 361, 'reload', 'reload', NULL),
(36, 361, 'reward', 'verguetung', NULL),
(36, 362, 'extra', 'typ', 'buttonview'),
-(36, 362, 'id', 'id', NULL),
+(36, 362, 'affiliate_id', 'id', NULL),
(36, 362, 'sid', 'sid', NULL),
(36, 362, 'password', 'pw', NULL),
(36, 362, 'remain', 'uebrig', NULL),
(36, 362, 'reload', 'reload', NULL),
(36, 362, 'reward', 'verguetung', NULL),
(36, 363, 'extra', 'typ', 'textview'),
-(36, 363, 'id', 'id', NULL),
+(36, 363, 'affiliate_id', 'id', NULL),
(36, 363, 'sid', 'sid', NULL),
(36, 363, 'password', 'pw', NULL),
(36, 363, 'remain', 'uebrig', NULL),
(36, 363, 'reload', 'reload', NULL),
(36, 363, 'reward', 'verguetung', NULL),
(36, 364, 'extra', 'typ', 'traffic'),
-(36, 364, 'id', 'id', NULL),
+(36, 364, 'affiliate_id', 'id', NULL),
(36, 364, 'sid', 'sid', NULL),
(36, 364, 'password', 'pw', NULL),
(36, 364, 'remain', 'uebrig', NULL),
(36, 364, 'reload', 'reload', NULL),
(36, 364, 'reward', 'verguetung', NULL),
(36, 365, 'extra', 'typ', 'popup'),
-(36, 365, 'id', 'id', NULL),
+(36, 365, 'affiliate_id', 'id', NULL),
(36, 365, 'sid', 'sid', NULL),
(36, 365, 'password', 'pw', NULL),
(36, 365, 'remain', 'uebrig', NULL),
(36, 365, 'reload', 'reload', NULL),
(36, 365, 'reward', 'verguetung', NULL),
(36, 366, 'extra', 'typ', 'paidmail'),
-(36, 366, 'id', 'id', NULL),
+(36, 366, 'affiliate_id', 'id', NULL),
(36, 366, 'sid', 'sid', NULL),
(36, 366, 'password', 'pw', NULL),
(36, 366, 'remain', 'uebrig', NULL),
(36, 366, 'reward', 'verguetung', NULL)");
// Request parameters per type handler - AdPaid
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`,`network_type_id`,`network_request_param_key`,`network_request_param_value`,`network_request_param_default`) VALUES
-(5, 177, 'id', 'id', NULL),
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`, `network_type_id`, `network_request_param_key`, `network_request_param_value`, `network_request_param_default`) VALUES
+(5, 177, 'affiliate_id', 'id', NULL),
(5, 177, 'password', 'pw', NULL),
(5, 177, 'reload', 'reload', NULL),
(5, 177, 'remain', 'uebrig', NULL),
(5, 177, 'sid', 'sid', NULL),
(5, 177, 'size', 'size', '468x60'),
(5, 177, 'type', 'typ', 'klick'),
-(5, 178, 'id', 'id', NULL),
+(5, 178, 'affiliate_id', 'id', NULL),
(5, 178, 'password', 'pw', NULL),
(5, 178, 'reload', 'reload', NULL),
(5, 178, 'remain', 'uebrig', NULL),
(5, 178, 'reward', 'verguetung', NULL),
(5, 178, 'sid', 'sid', NULL),
(5, 178, 'type', 'typ', 'klick'),
-(5, 179, 'id', 'id', NULL),
+(5, 179, 'affiliate_id', 'id', NULL),
(5, 179, 'password', 'pw', NULL),
(5, 179, 'reload', 'reload', NULL),
(5, 179, 'remain', 'uebrig', NULL),
(5, 179, 'sid', 'sid', NULL),
(5, 179, 'size', 'size', NULL),
(5, 179, 'type', 'typ', 'klick'),
-(5, 180, 'id', 'id', NULL),
+(5, 180, 'affiliate_id', 'id', NULL),
(5, 180, 'minimum_stay', 'ma', NULL),
(5, 180, 'password', 'pw', NULL),
(5, 180, 'reload', 'reload', NULL),
(5, 180, 'reward', 'verguetung', NULL),
(5, 180, 'sid', 'sid', NULL),
(5, 180, 'size', 'size', '468x60'),
-(5, 181, 'id', 'id', NULL),
+(5, 181, 'affiliate_id', 'id', NULL),
(5, 181, 'minimum_stay', 'ma', NULL),
(5, 181, 'password', 'pw', NULL),
(5, 181, 'reload', 'reload', NULL),
(5, 181, 'reward', 'verguetung', NULL),
(5, 181, 'sid', 'sid', NULL),
(5, 181, 'type', 'typ', 'text'),
-(5, 182, 'id', 'id', NULL),
+(5, 182, 'affiliate_id', 'id', NULL),
(5, 182, 'password', 'pw', NULL),
(5, 182, 'reload', 'reload', NULL),
(5, 182, 'remain', 'uebrig', NULL),
(5, 182, 'reward', 'verguetung', NULL),
(5, 182, 'sid', 'sid', NULL),
(5, 182, 'type', 'typ', 'klick'),
-(5, 183, 'id', 'id', NULL),
+(5, 183, 'affiliate_id', 'id', NULL),
(5, 183, 'minimum_stay', 'ma', NULL),
(5, 183, 'password', 'pw', NULL),
(5, 183, 'reload', 'reload', NULL),
(5, 183, 'remain', 'uebrig', NULL),
(5, 183, 'reward', 'verguetung', NULL),
(5, 183, 'sid', 'sid', NULL),
-(5, 184, 'id', 'id', NULL),
+(5, 184, 'affiliate_id', 'id', NULL),
(5, 184, 'minimum_stay', 'ma', NULL),
(5, 184, 'password', 'pw', NULL),
(5, 184, 'reload', 'reload', NULL),
(5, 184, 'remain', 'uebrig', NULL),
(5, 184, 'reward', 'verguetung', NULL),
(5, 184, 'sid', 'sid', NULL),
-(5, 185, 'id', 'id', NULL),
+(5, 185, 'affiliate_id', 'id', NULL),
(5, 185, 'password', 'pw', NULL),
(5, 185, 'remain', 'uebrig', NULL),
(5, 185, 'reward', 'verguetung', NULL),
(5, 185, 'sid', 'sid', NULL),
-(5, 186, 'id', 'id', NULL),
+(5, 186, 'affiliate_id', 'id', NULL),
(5, 186, 'password', 'pw', NULL),
(5, 186, 'remain', 'uebrig', NULL),
(5, 186, 'reward', 'verguetung', NULL),
(5, 186, 'sid', 'sid', NULL),
-(5, 391, 'id', 'id', NULL),
+(5, 391, 'affiliate_id', 'id', NULL),
(5, 391, 'password', 'pw', NULL),
(5, 391, 'reload', 'reload', NULL),
(5, 391, 'remain', 'uebrig', NULL),
(5, 391, 'sid', 'sid', NULL),
(5, 391, 'size', 'size', '468x60'),
(5, 391, 'type', 'typ', 'view'),
-(5, 392, 'id', 'id', NULL),
+(5, 392, 'affiliate_id', 'id', NULL),
(5, 392, 'password', 'pw', NULL),
(5, 392, 'reload', 'reload', NULL),
(5, 392, 'remain', 'uebrig', NULL),
(5, 392, 'reward', 'verguetung', NULL),
(5, 392, 'sid', 'sid', NULL),
(5, 392, 'type', 'typ', 'view'),
-(5, 393, 'id', 'id', NULL),
+(5, 393, 'affiliate_id', 'id', NULL),
(5, 393, 'password', 'pw', NULL),
(5, 393, 'reload', 'reload', NULL),
(5, 393, 'remain', 'uebrig', NULL),
(5, 393, 'sid', 'sid', NULL),
(5, 393, 'size', 'size', NULL),
(5, 393, 'type', 'typ', 'view'),
-(5, 394, 'id', 'id', NULL),
+(5, 394, 'affiliate_id', 'id', NULL),
(5, 394, 'password', 'pw', NULL),
(5, 394, 'reload', 'reload', NULL),
(5, 394, 'remain', 'uebrig', NULL),
(5, 394, 'type', 'typ', 'view')");
// Request parameters per type handler - AdProvi
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`,`network_type_id`,`network_request_param_key`,`network_request_param_value`,`network_request_param_default`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`, `network_type_id`, `network_request_param_key`, `network_request_param_value`, `network_request_param_default`) VALUES
(38, 377, 'extra', 'typ', 'forcedbanner'),
-(38, 377, 'id', 'id', NULL),
+(38, 377, 'affiliate_id', 'id', NULL),
(38, 377, 'password', 'pw', NULL),
(38, 377, 'remain', 'uebrig', NULL),
(38, 377, 'reload', 'reload', NULL),
(38, 377, 'reward', 'verguetung', NULL),
(38, 377, 'sid', 'siteid', NULL),
(38, 378, 'extra', 'typ', 'forcedtextlink'),
-(38, 378, 'id', 'id', NULL),
+(38, 378, 'affiliate_id', 'id', NULL),
(38, 378, 'password', 'pw', NULL),
(38, 378, 'remain', 'uebrig', NULL),
(38, 378, 'reload', 'reload', NULL),
(38, 378, 'reward', 'verguetung', NULL),
(38, 378, 'sid', 'siteid', NULL),
(38, 379, 'extra', 'typ', 'bannerview'),
-(38, 379, 'id', 'id', NULL),
+(38, 379, 'affiliate_id', 'id', NULL),
(38, 379, 'password', 'pw', NULL),
(38, 379, 'remain', 'uebrig', NULL),
(38, 379, 'reload', 'reload', NULL),
(38, 379, 'reward', 'verguetung', NULL),
(38, 379, 'sid', 'siteid', NULL),
(38, 380, 'extra', 'typ', 'bannerklick'),
-(38, 380, 'id', 'id', NULL),
+(38, 380, 'affiliate_id', 'id', NULL),
(38, 380, 'password', 'pw', NULL),
(38, 380, 'remain', 'uebrig', NULL),
(38, 380, 'reload', 'reload', NULL),
(38, 380, 'reward', 'verguetung', NULL),
(38, 380, 'sid', 'siteid', NULL),
(38, 381, 'extra', 'typ', 'skybannerview'),
-(38, 381, 'id', 'id', NULL),
+(38, 381, 'affiliate_id', 'id', NULL),
(38, 381, 'password', 'pw', NULL),
(38, 381, 'remain', 'uebrig', NULL),
(38, 381, 'reload', 'reload', NULL),
(38, 381, 'reward', 'verguetung', NULL),
(38, 381, 'sid', 'siteid', NULL),
(38, 382, 'extra', 'typ', 'buttonview'),
-(38, 382, 'id', 'id', NULL),
+(38, 382, 'affiliate_id', 'id', NULL),
(38, 382, 'password', 'pw', NULL),
(38, 382, 'remain', 'uebrig', NULL),
(38, 382, 'reload', 'reload', NULL),
(38, 382, 'reward', 'verguetung', NULL),
(38, 382, 'sid', 'siteid', NULL),
(38, 383, 'extra', 'typ', 'textview'),
-(38, 383, 'id', 'id', NULL),
+(38, 383, 'affiliate_id', 'id', NULL),
(38, 383, 'password', 'pw', NULL),
(38, 383, 'remain', 'uebrig', NULL),
(38, 383, 'reload', 'reload', NULL),
(38, 383, 'reward', 'verguetung', NULL),
(38, 383, 'sid', 'siteid', NULL),
(38, 384, 'extra', 'typ', 'traffic'),
-(38, 384, 'id', 'id', NULL),
+(38, 384, 'affiliate_id', 'id', NULL),
(38, 384, 'password', 'pw', NULL),
(38, 384, 'remain', 'uebrig', NULL),
(38, 384, 'reload', 'reload', NULL),
(38, 384, 'reward', 'verguetung', NULL),
(38, 384, 'sid', 'siteid', NULL),
(38, 385, 'extra', 'typ', 'popup'),
-(38, 385, 'id', 'id', NULL),
+(38, 385, 'affiliate_id', 'id', NULL),
(38, 385, 'password', 'pw', NULL),
(38, 385, 'remain', 'uebrig', NULL),
(38, 385, 'reload', 'reload', NULL),
(38, 385, 'reward', 'verguetung', NULL),
(38, 385, 'sid', 'siteid', NULL),
(38, 386, 'extra', 'typ', 'paidmail'),
-(38, 386, 'id', 'id', NULL),
+(38, 386, 'affiliate_id', 'id', NULL),
(38, 386, 'password', 'pw', NULL),
(38, 386, 'remain', 'uebrig', NULL),
(38, 386, 'reload', 'reload', NULL),
(38, 386, 'sid', 'siteid', NULL)");
// Request parameters per type handler - Ads2Earn
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`,`network_type_id`,`network_request_param_key`,`network_request_param_value`,`network_request_param_default`) VALUES
-(39, 395, 'id', 'id', NULL),
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`, `network_type_id`, `network_request_param_key`, `network_request_param_value`, `network_request_param_default`) VALUES
+(39, 395, 'affiliate_id', 'id', NULL),
(39, 395, 'sid', 'sid', NULL),
(39, 395, 'password', 'pw', NULL),
(39, 395, 'reward', 'verguetung', NULL),
(39, 395, 'type', 'typ', 'klick'),
(39, 395, 'size', 'size', '468x60'),
(39, 395, 'minimum_stay', 'ma', NULL),
-(39, 396, 'id', 'id', NULL),
+(39, 396, 'affiliate_id', 'id', NULL),
(39, 396, 'sid', 'sid', NULL),
(39, 396, 'password', 'pw', NULL),
(39, 396, 'reward', 'verguetung', NULL),
(39, 396, 'type', 'typ', 'view'),
(39, 396, 'size', 'size', '468x60'),
(39, 396, 'minimum_stay', 'ma', NULL),
-(39, 397, 'id', 'id', NULL),
+(39, 397, 'affiliate_id', 'id', NULL),
(39, 397, 'sid', 'sid', NULL),
(39, 397, 'password', 'pw', NULL),
(39, 397, 'reward', 'verguetung', NULL),
(39, 397, 'reload', 'reload', NULL),
(39, 397, 'remain', 'remain', NULL),
(39, 397, 'type', 'typ', 'klick'),
-(39, 398, 'id', 'id', NULL),
+(39, 398, 'affiliate_id', 'id', NULL),
(39, 398, 'sid', 'sid', NULL),
(39, 398, 'password', 'pw', NULL),
(39, 398, 'reward', 'verguetung', NULL),
(39, 398, 'reload', 'reload', NULL),
(39, 398, 'remain', 'uebrig', NULL),
(39, 398, 'type', 'typ', 'view'),
-(39, 399, 'id', 'id', NULL),
+(39, 399, 'affiliate_id', 'id', NULL),
(39, 399, 'sid', 'sid', NULL),
(39, 399, 'password', 'pw', NULL),
(39, 399, 'reward', 'verguetung', NULL),
(39, 399, 'remain', 'uebrig', NULL),
(39, 399, 'size', 'size', '468x60'),
(39, 399, 'minimum_stay', 'ma', NULL),
-(39, 400, 'id', 'id', NULL),
+(39, 400, 'affiliate_id', 'id', NULL),
(39, 400, 'sid', 'sid', NULL),
(39, 400, 'password', 'pw', NULL),
(39, 400, 'reload', 'reload', NULL),
(39, 400, 'remain', 'uebrig', NULL),
(39, 400, 'minimum_stay', 'ma', NULL),
(39, 400, 'type', 'typ', 'html'),
-(39, 401, 'id', 'id', NULL),
+(39, 401, 'affiliate_id', 'id', NULL),
(39, 401, 'sid', 'sid', NULL),
(39, 401, 'password', 'pw', NULL),
(39, 401, 'reload', 'reload', NULL),
(39, 401, 'remain', 'uebrig', NULL),
(39, 401, 'minimum_stay', 'ma', NULL),
(39, 401, 'type', 'typ', 'text'),
-(39, 402, 'id', 'id', NULL),
+(39, 402, 'affiliate_id', 'id', NULL),
(39, 402, 'sid', 'sid', NULL),
(39, 402, 'password', 'pw', NULL),
(39, 402, 'reward', 'verguetung', NULL),
(39, 402, 'type', 'typ', 'klick'),
(39, 402, 'size', 'size', '88x31'),
(39, 402, 'minimum_stay', 'ma', NULL),
-(39, 403, 'id', 'id', NULL),
+(39, 403, 'affiliate_id', 'id', NULL),
(39, 403, 'sid', 'sid', NULL),
(39, 403, 'password', 'pw', NULL),
(39, 403, 'reward', 'verguetung', NULL),
(39, 403, 'type', 'typ', 'view'),
(39, 403, 'size', 'size', '88x31'),
(39, 403, 'minimum_stay', 'ma', NULL),
-(39, 404, 'id', 'id', NULL),
+(39, 404, 'affiliate_id', 'id', NULL),
(39, 404, 'sid', 'sid', NULL),
(39, 404, 'password', 'pw', NULL),
(39, 404, 'reward', 'verguetung', NULL),
(39, 404, 'type', 'typ', 'klick'),
(39, 404, 'size', 'size', '120x600'),
(39, 404, 'minimum_stay', 'ma', NULL),
-(39, 405, 'id', 'id', NULL),
+(39, 405, 'affiliate_id', 'id', NULL),
(39, 405, 'sid', 'sid', NULL),
(39, 405, 'password', 'pw', NULL),
(39, 405, 'reward', 'verguetung', NULL),
(39, 405, 'minimum_stay', 'ma', NULL)");
// Request parameters per type handler - Ads2Webbi
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`,`network_type_id`,`network_request_param_key`,`network_request_param_value`,`network_request_param_default`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`, `network_type_id`, `network_request_param_key`, `network_request_param_value`, `network_request_param_default`) VALUES
(40, 406, 'extra', 'typ', 'forcedbanner'),
-(40, 406, 'id', 'id', NULL),
+(40, 406, 'affiliate_id', 'id', NULL),
(40, 406, 'password', 'pw', NULL),
(40, 406, 'remain', 'uebrig', NULL),
(40, 406, 'reload', 'reload', NULL),
(40, 406, 'reward', 'verguetung', NULL),
(40, 406, 'minimum_stay', 'ma', NULL),
(40, 407, 'extra', 'typ', 'forcedtextlink'),
-(40, 407, 'id', 'id', NULL),
+(40, 407, 'affiliate_id', 'id', NULL),
(40, 407, 'password', 'pw', NULL),
(40, 407, 'remain', 'uebrig', NULL),
(40, 407, 'reload', 'reload', NULL),
(40, 407, 'reward', 'verguetung', NULL),
(40, 407, 'minimum_stay', 'ma', NULL),
(40, 408, 'extra', 'typ', 'bannerview'),
-(40, 408, 'id', 'id', NULL),
+(40, 408, 'affiliate_id', 'id', NULL),
(40, 408, 'password', 'pw', NULL),
(40, 408, 'remain', 'uebrig', NULL),
(40, 408, 'reload', 'reload', NULL),
(40, 408, 'reward', 'verguetung', NULL),
(40, 408, 'minimum_stay', 'ma', NULL),
(40, 409, 'extra', 'typ', 'bannerklick'),
-(40, 409, 'id', 'id', NULL),
+(40, 409, 'affiliate_id', 'id', NULL),
(40, 409, 'password', 'pw', NULL),
(40, 409, 'remain', 'uebrig', NULL),
(40, 409, 'reload', 'reload', NULL),
(40, 409, 'reward', 'verguetung', NULL),
(40, 409, 'minimum_stay', 'ma', NULL),
(40, 410, 'extra', 'typ', 'skybannerview'),
-(40, 410, 'id', 'id', NULL),
+(40, 410, 'affiliate_id', 'id', NULL),
(40, 410, 'password', 'pw', NULL),
(40, 410, 'remain', 'uebrig', NULL),
(40, 410, 'reload', 'reload', NULL),
(40, 410, 'reward', 'verguetung', NULL),
(40, 410, 'minimum_stay', 'ma', NULL),
(40, 411, 'extra', 'typ', 'buttonview'),
-(40, 411, 'id', 'id', NULL),
+(40, 411, 'affiliate_id', 'id', NULL),
(40, 411, 'password', 'pw', NULL),
(40, 411, 'remain', 'uebrig', NULL),
(40, 411, 'reload', 'reload', NULL),
(40, 411, 'reward', 'verguetung', NULL),
(40, 411, 'minimum_stay', 'ma', NULL),
(40, 412, 'extra', 'typ', 'textview'),
-(40, 412, 'id', 'id', NULL),
+(40, 412, 'affiliate_id', 'id', NULL),
(40, 412, 'password', 'pw', NULL),
(40, 412, 'remain', 'uebrig', NULL),
(40, 412, 'reload', 'reload', NULL),
(40, 412, 'reward', 'verguetung', NULL),
(40, 412, 'minimum_stay', 'ma', NULL),
(40, 413, 'extra', 'typ', 'traffic'),
-(40, 413, 'id', 'id', NULL),
+(40, 413, 'affiliate_id', 'id', NULL),
(40, 413, 'password', 'pw', NULL),
(40, 413, 'remain', 'uebrig', NULL),
(40, 413, 'reload', 'reload', NULL),
(40, 413, 'reward', 'verguetung', NULL),
(40, 413, 'minimum_stay', 'ma', NULL),
(40, 414, 'extra', 'typ', 'popup'),
-(40, 414, 'id', 'id', NULL),
+(40, 414, 'affiliate_id', 'id', NULL),
(40, 414, 'password', 'pw', NULL),
(40, 414, 'remain', 'uebrig', NULL),
(40, 414, 'reload', 'reload', NULL),
(40, 414, 'reward', 'verguetung', NULL),
(40, 414, 'minimum_stay', 'ma', NULL),
(40, 415, 'extra', 'typ', 'paidmail'),
-(40, 415, 'id', 'id', NULL),
+(40, 415, 'affiliate_id', 'id', NULL),
(40, 415, 'password', 'pw', NULL),
(40, 415, 'remain', 'uebrig', NULL),
(40, 415, 'reload', 'reload', NULL),
(40, 415, 'minimum_stay', 'ma', NULL)");
// Request parameters per type handler - Ads4
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`,`network_type_id`,`network_request_param_key`,`network_request_param_value`,`network_request_param_default`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`, `network_type_id`, `network_request_param_key`, `network_request_param_value`, `network_request_param_default`) VALUES
(6, 14, 'currency', 'waehrung', NULL),
(6, 14, 'extra', 'mediatype', 'forced_banner'),
-(6, 14, 'id', 'id', NULL),
+(6, 14, 'affiliate_id', 'id', NULL),
(6, 14, 'minimum_stay', 'ma', NULL),
(6, 14, 'password', 'pwd', NULL),
(6, 14, 'reload', 'reload', NULL),
(6, 14, 'reward', 'verg', NULL),
(6, 15, 'currency', 'waehrung', NULL),
(6, 15, 'extra', 'mediatype', 'textmails'),
-(6, 15, 'id', 'id', NULL),
+(6, 15, 'affiliate_id', 'id', NULL),
(6, 15, 'minimum_stay', 'ma', NULL),
(6, 15, 'password', 'pwd', NULL),
(6, 15, 'reload', 'reload', NULL),
(6, 15, 'reward', 'verg', NULL),
(6, 16, 'currency', 'waehrung', NULL),
(6, 16, 'extra', 'mediatype', 'htmlmails'),
-(6, 16, 'id', 'id', NULL),
+(6, 16, 'affiliate_id', 'id', NULL),
(6, 16, 'minimum_stay', 'ma', NULL),
(6, 16, 'password', 'pw', NULL),
(6, 16, 'reload', 'reload', NULL),
(6, 16, 'reward', 'verg', NULL),
(6, 119, 'currency', 'waehrung', NULL),
(6, 119, 'extra', 'mediatype', 'traffic'),
-(6, 119, 'id', 'id', NULL),
+(6, 119, 'affiliate_id', 'id', NULL),
(6, 119, 'minimum_stay', 'ma', NULL),
(6, 119, 'password', 'pwd', NULL),
(6, 119, 'reload', 'reload', NULL),
(6, 119, 'reward', 'verg', NULL)");
// Request parameters per type handler - Ads4Webbis
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`,`network_type_id`,`network_request_param_key`,`network_request_param_value`,`network_request_param_default`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`, `network_type_id`, `network_request_param_key`, `network_request_param_value`, `network_request_param_default`) VALUES
(7, 17, 'extra', 'typ', 'forcedbanner'),
-(7, 17, 'id', 'id', NULL),
+(7, 17, 'affiliate_id', 'id', NULL),
(7, 17, 'password', 'pw', NULL),
(7, 17, 'reload', 'reload', NULL),
(7, 17, 'remain', 'uebrig', NULL),
(7, 17, 'reward', 'verguetung', NULL),
(7, 18, 'extra', 'typ', 'forcedtextlink'),
-(7, 18, 'id', 'id', NULL),
+(7, 18, 'affiliate_id', 'id', NULL),
(7, 18, 'password', 'pw', NULL),
(7, 18, 'reload', 'reload', NULL),
(7, 18, 'remain', 'uebrig', NULL),
(7, 18, 'reward', 'verguetung', NULL),
(7, 19, 'extra', 'typ', 'bannerview'),
-(7, 19, 'id', 'id', NULL),
+(7, 19, 'affiliate_id', 'id', NULL),
(7, 19, 'password', 'pw', NULL),
(7, 19, 'reload', 'reload', NULL),
(7, 19, 'remain', 'uebrig', NULL),
(7, 19, 'reward', 'verguetung', NULL),
(7, 20, 'extra', 'typ', 'bannerklick'),
-(7, 20, 'id', 'id', NULL),
+(7, 20, 'affiliate_id', 'id', NULL),
(7, 20, 'password', 'pw', NULL),
(7, 20, 'reload', 'reload', NULL),
(7, 20, 'remain', 'uebrig', NULL),
(7, 20, 'reward', 'verguetung', NULL),
(7, 21, 'extra', 'typ', 'skybannerview'),
-(7, 21, 'id', 'id', NULL),
+(7, 21, 'affiliate_id', 'id', NULL),
(7, 21, 'password', 'pw', NULL),
(7, 21, 'reload', 'reload', NULL),
(7, 21, 'remain', 'uebrig', NULL),
(7, 21, 'reward', 'verguetung', NULL),
(7, 22, 'extra', 'typ', 'buttonview'),
-(7, 22, 'id', 'id', NULL),
+(7, 22, 'affiliate_id', 'id', NULL),
(7, 22, 'password', 'pw', NULL),
(7, 22, 'reload', 'reload', NULL),
(7, 22, 'remain', 'uebrig', NULL),
(7, 22, 'reward', 'verguetung', NULL),
(7, 23, 'extra', 'typ', 'textview'),
-(7, 23, 'id', 'id', NULL),
+(7, 23, 'affiliate_id', 'id', NULL),
(7, 23, 'password', 'pw', NULL),
(7, 23, 'reload', 'reload', NULL),
(7, 23, 'remain', 'uebrig', NULL),
(7, 23, 'reward', 'verguetung', NULL),
(7, 24, 'extra', 'typ', 'popup'),
-(7, 24, 'id', 'id', NULL),
+(7, 24, 'affiliate_id', 'id', NULL),
(7, 24, 'minimum_stay', 'ma', NULL),
(7, 24, 'password', 'pw', NULL),
(7, 24, 'reload', 'reload', NULL),
(7, 24, 'remain', 'uebrig', NULL),
(7, 24, 'reward', 'verguetung', NULL),
(7, 25, 'extra', 'typ', 'paidmail'),
-(7, 25, 'id', 'id', NULL),
+(7, 25, 'affiliate_id', 'id', NULL),
(7, 25, 'minimum_stay', 'ma', NULL),
(7, 25, 'password', 'pw', NULL),
(7, 25, 'reload', 'reload', NULL),
(7, 25, 'remain', 'uebrig', NULL),
(7, 25, 'reward', 'verguetung', NULL),
(7, 120, 'extra', 'typ', 'traffic'),
-(7, 120, 'id', 'id', NULL),
+(7, 120, 'affiliate_id', 'id', NULL),
(7, 120, 'password', 'pw', NULL),
(7, 120, 'reload', 'reload', NULL),
(7, 120, 'remain', 'uebrig', NULL),
(7, 120, 'reward', 'verguetung', NULL)");
// Request parameters per type handler - Ads4World
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`,`network_type_id`,`network_request_param_key`,`network_request_param_value`,`network_request_param_default`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`, `network_type_id`, `network_request_param_key`, `network_request_param_value`, `network_request_param_default`) VALUES
(8, 26, 'extra', 'typ', 'forcedbanner'),
-(8, 26, 'id', 'id', NULL),
+(8, 26, 'affiliate_id', 'id', NULL),
(8, 26, 'password', 'pw', NULL),
(8, 26, 'reload', 'reload', NULL),
(8, 26, 'remain', 'uebrig', NULL),
(8, 26, 'reward', 'verguetung', NULL),
(8, 27, 'extra', 'typ', 'forcedtextlink'),
-(8, 27, 'id', 'id', NULL),
+(8, 27, 'affiliate_id', 'id', NULL),
(8, 27, 'password', 'pw', NULL),
(8, 27, 'reload', 'reload', NULL),
(8, 27, 'remain', 'uebrig', NULL),
(8, 27, 'reward', 'verguetung', NULL),
(8, 28, 'extra', 'typ', 'bannerview'),
-(8, 28, 'id', 'id', NULL),
+(8, 28, 'affiliate_id', 'id', NULL),
(8, 28, 'password', 'pw', NULL),
(8, 28, 'reload', 'reload', NULL),
(8, 28, 'remain', 'uebrig', NULL),
(8, 28, 'reward', 'verguetung', NULL),
(8, 29, 'extra', 'typ', 'bannerklick'),
-(8, 29, 'id', 'id', NULL),
+(8, 29, 'affiliate_id', 'id', NULL),
(8, 29, 'password', 'pw', NULL),
(8, 29, 'reload', 'reload', NULL),
(8, 29, 'remain', 'uebrig', NULL),
(8, 29, 'reward', 'verguetung', NULL),
(8, 30, 'extra', 'typ', 'skybannerview'),
-(8, 30, 'id', 'id', NULL),
+(8, 30, 'affiliate_id', 'id', NULL),
(8, 30, 'password', 'pw', NULL),
(8, 30, 'reload', 'reload', NULL),
(8, 30, 'remain', 'uebrig', NULL),
(8, 30, 'reward', 'verguetung', NULL),
(8, 31, 'extra', 'typ', 'buttonview'),
-(8, 31, 'id', 'id', NULL),
+(8, 31, 'affiliate_id', 'id', NULL),
(8, 31, 'password', 'pw', NULL),
(8, 31, 'reload', 'reload', NULL),
(8, 31, 'remain', 'uebrig', NULL),
(8, 31, 'reward', 'verguetung', NULL),
(8, 32, 'extra', 'typ', 'textview'),
-(8, 32, 'id', 'id', NULL),
+(8, 32, 'affiliate_id', 'id', NULL),
(8, 32, 'password', 'pw', NULL),
(8, 32, 'reload', 'reload', NULL),
(8, 32, 'remain', 'uebrig', NULL),
(8, 32, 'reward', 'verguetung', NULL),
(8, 33, 'extra', 'typ', 'popup'),
-(8, 33, 'id', 'id', NULL),
+(8, 33, 'affiliate_id', 'id', NULL),
(8, 33, 'minimum_stay', 'ma', NULL),
(8, 33, 'password', 'pw', NULL),
(8, 33, 'reload', 'reload', NULL),
(8, 33, 'remain', 'uebrig', NULL),
(8, 33, 'reward', 'verguetung', NULL),
(8, 34, 'extra', 'typ', 'textmails'),
-(8, 34, 'id', 'id', NULL),
+(8, 34, 'affiliate_id', 'id', NULL),
(8, 34, 'minimum_stay', 'ma', NULL),
(8, 34, 'password', 'pw', NULL),
(8, 34, 'reload', 'reload', NULL),
(8, 34, 'remain', 'uebrig', NULL),
(8, 34, 'reward', 'verguetung', NULL),
(8, 121, 'extra', 'typ', 'traffic'),
-(8, 121, 'id', 'id', NULL),
+(8, 121, 'affiliate_id', 'id', NULL),
(8, 121, 'password', 'pw', NULL),
(8, 121, 'reload', 'reload', NULL),
(8, 121, 'remain', 'uebrig', NULL),
// Request parameters per type handler - Affiliblatt
// Request parameters per type handler - AllAds4You
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`,`network_type_id`,`network_request_param_key`,`network_request_param_value`,`network_request_param_default`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`, `network_type_id`, `network_request_param_key`, `network_request_param_value`, `network_request_param_default`) VALUES
(10, 167, 'extra', 'typ', 'forcedbanner'),
-(10, 167, 'id', 'id', NULL),
+(10, 167, 'affiliate_id', 'id', NULL),
(10, 167, 'password', 'pw', NULL),
(10, 167, 'reload', 'reload', NULL),
(10, 167, 'remain', 'uebrig', NULL),
(10, 167, 'reward', 'verguetung', NULL),
(10, 167, 'sid', 'sid', NULL),
(10, 168, 'extra', 'typ', 'forcedtextlink'),
-(10, 168, 'id', 'id', NULL),
+(10, 168, 'affiliate_id', 'id', NULL),
(10, 168, 'password', 'pw', NULL),
(10, 168, 'reload', 'reload', NULL),
(10, 168, 'remain', 'uebrig', NULL),
(10, 168, 'reward', 'verguetung', NULL),
(10, 168, 'sid', 'sid', NULL),
(10, 169, 'extra', 'typ', 'bannerview'),
-(10, 169, 'id', 'id', NULL),
+(10, 169, 'affiliate_id', 'id', NULL),
(10, 169, 'password', 'pw', NULL),
(10, 169, 'reload', 'reload', NULL),
(10, 169, 'remain', 'uebrig', NULL),
(10, 169, 'reward', 'verguetung', NULL),
(10, 169, 'sid', 'sid', NULL),
(10, 170, 'extra', 'typ', 'bannerklick'),
-(10, 170, 'id', 'id', NULL),
+(10, 170, 'affiliate_id', 'id', NULL),
(10, 170, 'password', 'pw', NULL),
(10, 170, 'reload', 'reload', NULL),
(10, 170, 'remain', 'uebrig', NULL),
(10, 170, 'reward', 'verguetung', NULL),
(10, 170, 'sid', 'sid', NULL),
(10, 171, 'extra', 'typ', 'skybannerview'),
-(10, 171, 'id', 'id', NULL),
+(10, 171, 'affiliate_id', 'id', NULL),
(10, 171, 'password', 'pw', NULL),
(10, 171, 'reload', 'reload', NULL),
(10, 171, 'remain', 'uebrig', NULL),
(10, 171, 'reward', 'verguetung', NULL),
(10, 171, 'sid', 'sid', NULL),
(10, 172, 'extra', 'typ', 'buttonview'),
-(10, 172, 'id', 'id', NULL),
+(10, 172, 'affiliate_id', 'id', NULL),
(10, 172, 'password', 'pw', NULL),
(10, 172, 'reload', 'reload', NULL),
(10, 172, 'remain', 'uebrig', NULL),
(10, 172, 'reward', 'verguetung', NULL),
(10, 172, 'sid', 'sid', NULL),
(10, 173, 'extra', 'typ', 'textview'),
-(10, 173, 'id', 'id', NULL),
+(10, 173, 'affiliate_id', 'id', NULL),
(10, 173, 'password', 'pw', NULL),
(10, 173, 'reload', 'reload', NULL),
(10, 173, 'remain', 'uebrig', NULL),
(10, 173, 'reward', 'verguetung', NULL),
(10, 173, 'sid', 'sid', NULL),
(10, 174, 'extra', 'typ', 'traffic'),
-(10, 174, 'id', 'id', NULL),
+(10, 174, 'affiliate_id', 'id', NULL),
(10, 174, 'password', 'pw', NULL),
(10, 174, 'reload', 'reload', NULL),
(10, 174, 'remain', 'uebrig', NULL),
(10, 174, 'reward', 'verguetung', NULL),
(10, 174, 'sid', 'sid', NULL),
(10, 175, 'extra', 'typ', 'popup'),
-(10, 175, 'id', 'id', NULL),
+(10, 175, 'affiliate_id', 'id', NULL),
(10, 175, 'password', 'pw', NULL),
(10, 175, 'reload', 'reload', NULL),
(10, 175, 'remain', 'uebrig', NULL),
(10, 175, 'reward', 'verguetung', NULL),
(10, 175, 'sid', 'sid', NULL),
(10, 176, 'extra', 'typ', 'paidmail'),
-(10, 176, 'id', 'id', NULL),
+(10, 176, 'affiliate_id', 'id', NULL),
(10, 176, 'password', 'pw', NULL),
(10, 176, 'reload', 'reload', NULL),
(10, 176, 'remain', 'uebrig', NULL),
(10, 176, 'sid', 'sid', NULL)");
// Request parameters per type handler - Alster-Marketing
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`,`network_type_id`,`network_request_param_key`,`network_request_param_value`,`network_request_param_default`) VALUES
-(11, 35, 'id', 'id', NULL),
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`, `network_type_id`, `network_request_param_key`, `network_request_param_value`, `network_request_param_default`) VALUES
+(11, 35, 'affiliate_id', 'id', NULL),
(11, 35, 'password', 'pw', NULL),
(11, 35, 'reload', 'reload', NULL),
(11, 35, 'remain', 'uebrig', NULL),
(11, 35, 'sid', 'sid', NULL),
(11, 35, 'size', 'size', NULL),
(11, 35, 'type', 'typ', 'klick'),
-(11, 36, 'id', 'id', NULL),
+(11, 36, 'affiliate_id', 'id', NULL),
(11, 36, 'password', 'pw', NULL),
(11, 36, 'reload', 'reload', NULL),
(11, 36, 'remain', 'uebrig', NULL),
(11, 36, 'reward', 'verguetung', NULL),
(11, 36, 'sid', 'sid', NULL),
(11, 36, 'type', 'typ', 'klick'),
-(11, 37, 'id', 'id', NULL),
+(11, 37, 'affiliate_id', 'id', NULL),
(11, 37, 'password', 'pw', NULL),
(11, 37, 'reload', 'reload', NULL),
(11, 37, 'remain', 'uebrig', NULL),
(11, 37, 'sid', 'sid', NULL),
(11, 37, 'size', 'size', NULL),
(11, 37, 'type', 'typ', 'klick'),
-(11, 38, 'id', 'id', NULL),
+(11, 38, 'affiliate_id', 'id', NULL),
(11, 38, 'minimum_stay', 'ma', NULL),
(11, 38, 'password', 'pw', NULL),
(11, 38, 'reload', 'reload', NULL),
(11, 38, 'reward', 'verguetung', NULL),
(11, 38, 'sid', 'sid', NULL),
(11, 38, 'size', 'size', NULL),
-(11, 39, 'id', 'id', NULL),
+(11, 39, 'affiliate_id', 'id', NULL),
(11, 39, 'minimum_stay', 'ma', NULL),
(11, 39, 'password', 'pw', NULL),
(11, 39, 'reload', 'reload', NULL),
(11, 39, 'reward', 'verguetung', NULL),
(11, 39, 'sid', 'sid', NULL),
(11, 39, 'type', 'typ', 'text'),
-(11, 40, 'id', 'id', NULL),
+(11, 40, 'affiliate_id', 'id', NULL),
(11, 40, 'password', 'pw', NULL),
(11, 40, 'reload', 'reload', NULL),
(11, 40, 'remain', 'uebrig', NULL),
(11, 40, 'reward', 'verguetung', NULL),
(11, 40, 'sid', 'sid', NULL),
(11, 40, 'type', 'typ', 'klick'),
-(11, 41, 'id', 'id', NULL),
+(11, 41, 'affiliate_id', 'id', NULL),
(11, 41, 'minimum_stay', 'ma', NULL),
(11, 41, 'password', 'pw', NULL),
(11, 41, 'reload', 'reload', NULL),
(11, 41, 'remain', 'uebrig', NULL),
(11, 41, 'reward', 'verguetung', NULL),
(11, 41, 'sid', 'sid', NULL),
-(11, 42, 'id', 'id', NULL),
+(11, 42, 'affiliate_id', 'id', NULL),
(11, 42, 'minimum_stay', 'ma', NULL),
(11, 42, 'password', 'pw', NULL),
(11, 42, 'reload', 'reload', NULL),
(11, 42, 'remain', 'uebrig', NULL),
(11, 42, 'reward', 'verguetung', NULL),
(11, 42, 'sid', 'sid', NULL),
-(11, 43, 'id', 'id', NULL),
+(11, 43, 'affiliate_id', 'id', NULL),
(11, 43, 'password', 'pw', NULL),
(11, 43, 'remain', 'uebrig', NULL),
(11, 43, 'reward', 'verguetung', NULL),
(11, 43, 'sid', 'sid', NULL),
-(11, 44, 'id', 'id', NULL),
+(11, 44, 'affiliate_id', 'id', NULL),
(11, 44, 'password', 'pw', NULL),
(11, 44, 'remain', 'uebrig', NULL),
(11, 44, 'reward', 'verguetung', NULL),
(11, 44, 'sid', 'sid', NULL),
-(11, 45, 'id', 'id', NULL),
+(11, 45, 'affiliate_id', 'id', NULL),
(11, 45, 'password', 'pw', NULL),
(11, 45, 'reload', 'reload', NULL),
(11, 45, 'remain', 'uebrig', NULL),
(11, 45, 'sid', 'sid', NULL),
(11, 45, 'size', 'size', NULL),
(11, 45, 'type', 'typ', 'view'),
-(11, 46, 'id', 'id', NULL),
+(11, 46, 'affiliate_id', 'id', NULL),
(11, 46, 'password', 'pw', NULL),
(11, 46, 'reload', 'reload', NULL),
(11, 46, 'remain', 'uebrig', NULL),
(11, 46, 'reward', 'verguetung', NULL),
(11, 46, 'sid', 'sid', NULL),
(11, 46, 'type', 'typ', 'view'),
-(11, 47, 'id', 'id', NULL),
+(11, 47, 'affiliate_id', 'id', NULL),
(11, 47, 'password', 'pw', NULL),
(11, 47, 'reload', 'reload', NULL),
(11, 47, 'remain', 'uebrig', NULL),
(11, 47, 'sid', 'sid', NULL),
(11, 47, 'size', 'size', NULL),
(11, 47, 'type', 'typ', 'view'),
-(11, 48, 'id', 'id', NULL),
+(11, 48, 'affiliate_id', 'id', NULL),
(11, 48, 'minimum_stay', 'ma', NULL),
(11, 48, 'password', 'pw', NULL),
(11, 48, 'reload', 'reload', NULL),
(11, 48, 'reward', 'verguetung', NULL),
(11, 48, 'sid', 'sid', NULL),
(11, 48, 'type', 'typ', 'html'),
-(11, 49, 'id', 'id', NULL),
+(11, 49, 'affiliate_id', 'id', NULL),
(11, 49, 'password', 'pw', NULL),
(11, 49, 'reload', 'reload', NULL),
(11, 49, 'remain', 'uebrig', NULL),
(11, 49, 'type', 'typ', 'view')");
// Request parameters per type handler - BonusSponsor
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`,`network_type_id`,`network_request_param_key`,`network_request_param_value`,`network_request_param_default`) VALUES
-(12, 50, 'id', 'id', NULL),
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`, `network_type_id`, `network_request_param_key`, `network_request_param_value`, `network_request_param_default`) VALUES
+(12, 50, 'affiliate_id', 'id', NULL),
(12, 50, 'password', 'pw', NULL),
(12, 50, 'reload', 'reload', NULL),
(12, 50, 'remain', 'uebrig', NULL),
(12, 50, 'sid', 'sid', NULL),
(12, 50, 'size', 'size', NULL),
(12, 50, 'type', 'typ', 'klick'),
-(12, 51, 'id', 'id', NULL),
+(12, 51, 'affiliate_id', 'id', NULL),
(12, 51, 'password', 'pw', NULL),
(12, 51, 'reload', 'reload', NULL),
(12, 51, 'remain', 'uebrig', NULL),
(12, 51, 'sid', 'sid', NULL),
(12, 51, 'size', 'size', NULL),
(12, 51, 'type', 'typ', 'view'),
-(12, 52, 'id', 'id', NULL),
+(12, 52, 'affiliate_id', 'id', NULL),
(12, 52, 'password', 'pw', NULL),
(12, 52, 'reload', 'reload', NULL),
(12, 52, 'remain', 'uebrig', NULL),
(12, 52, 'reward', 'verguetung', NULL),
(12, 52, 'sid', 'sid', NULL),
(12, 52, 'type', 'typ', 'klick'),
-(12, 53, 'id', 'id', NULL),
+(12, 53, 'affiliate_id', 'id', NULL),
(12, 53, 'password', 'pw', NULL),
(12, 53, 'reload', 'reload', NULL),
(12, 53, 'remain', 'uebrig', NULL),
(12, 53, 'reward', 'verguetung', NULL),
(12, 53, 'sid', 'sid', NULL),
(12, 53, 'type', 'typ', 'view'),
-(12, 54, 'id', 'id', NULL),
+(12, 54, 'affiliate_id', 'id', NULL),
(12, 54, 'minimum_stay', 'ma', NULL),
(12, 54, 'password', 'pw', NULL),
(12, 54, 'reload', 'reload', NULL),
(12, 54, 'reward', 'verguetung', NULL),
(12, 54, 'sid', 'sid', NULL),
(12, 54, 'size', 'size', NULL),
-(12, 55, 'id', 'id', NULL),
+(12, 55, 'affiliate_id', 'id', NULL),
(12, 55, 'minimum_stay', 'ma', NULL),
(12, 55, 'password', 'pw', NULL),
(12, 55, 'reload', 'reload', NULL),
(12, 55, 'reward', 'verguetung', NULL),
(12, 55, 'sid', 'sid', NULL),
(12, 55, 'type', 'typ', 'text'),
-(12, 56, 'id', 'id', NULL),
+(12, 56, 'affiliate_id', 'id', NULL),
(12, 56, 'minimum_stay', 'ma', NULL),
(12, 56, 'password', 'pw', NULL),
(12, 56, 'reload', 'reload', NULL),
(12, 56, 'reward', 'verguetung', NULL),
(12, 56, 'sid', 'sid', NULL),
(12, 56, 'type', 'typ', 'html'),
-(12, 57, 'id', 'id', NULL),
+(12, 57, 'affiliate_id', 'id', NULL),
(12, 57, 'password', 'pw', NULL),
(12, 57, 'reload', 'reload', NULL),
(12, 57, 'remain', 'uebrig', NULL),
(12, 57, 'reward', 'verguetung', NULL),
(12, 57, 'sid', 'sid', NULL),
(12, 57, 'type', 'typ', 'klick'),
-(12, 58, 'id', 'id', NULL),
+(12, 58, 'affiliate_id', 'id', NULL),
(12, 58, 'password', 'pw', NULL),
(12, 58, 'reload', 'reload', NULL),
(12, 58, 'remain', 'uebrig', NULL),
(12, 58, 'reward', 'verguetung', NULL),
(12, 58, 'sid', 'sid', NULL),
(12, 58, 'type', 'typ', 'view'),
-(12, 59, 'id', 'id', NULL),
+(12, 59, 'affiliate_id', 'id', NULL),
(12, 59, 'minimum_stay', 'ma', NULL),
(12, 59, 'password', 'pw', NULL),
(12, 59, 'reload', 'reload', NULL),
(12, 59, 'remain', 'uebrig', NULL),
(12, 59, 'reward', 'verguetung', NULL),
(12, 59, 'sid', 'sid', NULL),
-(12, 60, 'id', 'id', NULL),
+(12, 60, 'affiliate_id', 'id', NULL),
(12, 60, 'minimum_stay', 'ma', NULL),
(12, 60, 'password', 'pw', NULL),
(12, 60, 'reload', 'reload', NULL),
(12, 60, 'remain', 'uebrig', NULL),
(12, 60, 'reward', 'verguetung', NULL),
(12, 60, 'sid', 'sid', NULL),
-(12, 61, 'id', 'id', NULL),
+(12, 61, 'affiliate_id', 'id', NULL),
(12, 61, 'password', 'pw', NULL),
(12, 61, 'remain', 'uebrig', NULL),
(12, 61, 'reward', 'verguetung', NULL),
(12, 61, 'sid', 'sid', NULL),
-(12, 62, 'id', 'id', NULL),
+(12, 62, 'affiliate_id', 'id', NULL),
(12, 62, 'password', 'pw', NULL),
(12, 62, 'remain', 'uebrig', NULL),
(12, 62, 'reward', 'verguetung', NULL),
(12, 62, 'sid', 'sid', NULL)");
// Request parameters per type handler - City-Ads
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`,`network_type_id`,`network_request_param_key`,`network_request_param_value`,`network_request_param_default`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`, `network_type_id`, `network_request_param_key`, `network_request_param_value`, `network_request_param_default`) VALUES
(24, 212, 'extra', 'typ', 'forcedbanner'),
-(24, 212, 'id', 'id', NULL),
+(24, 212, 'affiliate_id', 'id', NULL),
(24, 212, 'password', 'pw', NULL),
(24, 212, 'reload', 'reload', NULL),
(24, 212, 'remain', 'uebrig', NULL),
(24, 212, 'reward', 'verguetung', NULL),
(24, 212, 'minimum_stay', 'ma', NULL),
(24, 213, 'extra', 'typ', 'forcedtextlink'),
-(24, 213, 'id', 'id', NULL),
+(24, 213, 'affiliate_id', 'id', NULL),
(24, 213, 'password', 'pw', NULL),
(24, 213, 'reload', 'reload', NULL),
(24, 213, 'remain', 'uebrig', NULL),
(24, 213, 'reward', 'verguetung', NULL),
(24, 213, 'minimum_stay', 'ma', NULL),
(24, 214, 'extra', 'typ', 'bannerview'),
-(24, 214, 'id', 'id', NULL),
+(24, 214, 'affiliate_id', 'id', NULL),
(24, 214, 'password', 'pw', NULL),
(24, 214, 'reload', 'reload', NULL),
(24, 214, 'remain', 'uebrig', NULL),
(24, 214, 'reward', 'verguetung', NULL),
(24, 214, 'minimum_stay', 'ma', NULL),
(24, 215, 'extra', 'typ', 'skybannerview'),
-(24, 215, 'id', 'id', NULL),
+(24, 215, 'affiliate_id', 'id', NULL),
(24, 215, 'password', 'pw', NULL),
(24, 215, 'reload', 'reload', NULL),
(24, 215, 'remain', 'uebrig', NULL),
(24, 215, 'reward', 'verguetung', NULL),
(24, 215, 'minimum_stay', 'ma', NULL),
(24, 216, 'extra', 'typ', 'buttonview'),
-(24, 216, 'id', 'id', NULL),
+(24, 216, 'affiliate_id', 'id', NULL),
(24, 216, 'password', 'pw', NULL),
(24, 216, 'reload', 'reload', NULL),
(24, 216, 'remain', 'uebrig', NULL),
(24, 216, 'reward', 'verguetung', NULL),
(24, 216, 'minimum_stay', 'ma', NULL),
(24, 217, 'extra', 'typ', 'bannerklick'),
-(24, 217, 'id', 'id', NULL),
+(24, 217, 'affiliate_id', 'id', NULL),
(24, 217, 'password', 'pw', NULL),
(24, 217, 'reload', 'reload', NULL),
(24, 217, 'remain', 'uebrig', NULL),
(24, 217, 'reward', 'verguetung', NULL),
(24, 217, 'minimum_stay', 'ma', NULL),
(24, 218, 'extra', 'typ', 'textview'),
-(24, 218, 'id', 'id', NULL),
+(24, 218, 'affiliate_id', 'id', NULL),
(24, 218, 'password', 'pw', NULL),
(24, 218, 'reload', 'reload', NULL),
(24, 218, 'remain', 'uebrig', NULL),
(24, 218, 'reward', 'verguetung', NULL),
(24, 218, 'minimum_stay', 'ma', NULL),
(24, 219, 'extra', 'typ', 'popup'),
-(24, 219, 'id', 'id', NULL),
+(24, 219, 'affiliate_id', 'id', NULL),
(24, 219, 'password', 'pw', NULL),
(24, 219, 'reload', 'reload', NULL),
(24, 219, 'remain', 'uebrig', NULL),
(24, 219, 'reward', 'verguetung', NULL),
(24, 219, 'minimum_stay', 'ma', NULL),
(24, 220, 'extra', 'typ', 'traffic'),
-(24, 220, 'id', 'id', NULL),
+(24, 220, 'affiliate_id', 'id', NULL),
(24, 220, 'password', 'pw', NULL),
(24, 220, 'reload', 'reload', NULL),
(24, 220, 'remain', 'uebrig', NULL),
(24, 220, 'reward', 'verguetung', NULL),
(24, 220, 'minimum_stay', 'ma', NULL),
(24, 221, 'extra', 'typ', 'paidmail'),
-(24, 221, 'id', 'id', NULL),
+(24, 221, 'affiliate_id', 'id', NULL),
(24, 221, 'password', 'pw', NULL),
(24, 221, 'reload', 'reload', NULL),
(24, 221, 'remain', 'uebrig', NULL),
(24, 221, 'minimum_stay', 'ma', NULL)");
// Request parameters per type handler - doubleads
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`,`network_type_id`,`network_request_param_key`,`network_request_param_value`,`network_request_param_default`) VALUES
-(26, 232, 'id', 'id', NULL),
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`, `network_type_id`, `network_request_param_key`, `network_request_param_value`, `network_request_param_default`) VALUES
+(26, 232, 'affiliate_id', 'id', NULL),
(26, 232, 'password', 'pw', NULL),
(26, 232, 'reload', 'reload', NULL),
(26, 232, 'remain', 'uebrig', NULL),
(26, 232, 'sid', 'sid', NULL),
(26, 232, 'size', 'size', NULL),
(26, 232, 'type', 'typ', 'klick'),
-(26, 233, 'id', 'id', NULL),
+(26, 233, 'affiliate_id', 'id', NULL),
(26, 233, 'password', 'pw', NULL),
(26, 233, 'reload', 'reload', NULL),
(26, 233, 'remain', 'uebrig', NULL),
(26, 233, 'sid', 'sid', NULL),
(26, 233, 'size', 'size', NULL),
(26, 233, 'type', 'typ', 'view'),
-(26, 234, 'id', 'id', NULL),
+(26, 234, 'affiliate_id', 'id', NULL),
(26, 234, 'password', 'pw', NULL),
(26, 234, 'reload', 'reload', NULL),
(26, 234, 'remain', 'uebrig', NULL),
(26, 234, 'reward', 'verguetung', NULL),
(26, 234, 'sid', 'sid', NULL),
(26, 234, 'type', 'typ', 'klick'),
-(26, 235, 'id', 'id', NULL),
+(26, 235, 'affiliate_id', 'id', NULL),
(26, 235, 'password', 'pw', NULL),
(26, 235, 'reload', 'reload', NULL),
(26, 235, 'remain', 'uebrig', NULL),
(26, 235, 'reward', 'verguetung', NULL),
(26, 235, 'sid', 'sid', NULL),
(26, 235, 'type', 'typ', 'view'),
-(26, 236, 'id', 'id', NULL),
+(26, 236, 'affiliate_id', 'id', NULL),
(26, 236, 'password', 'pw', NULL),
(26, 236, 'reload', 'reload', NULL),
(26, 236, 'remain', 'uebrig', NULL),
(26, 236, 'sid', 'sid', NULL),
(26, 236, 'size', 'size', NULL),
(26, 236, 'type', 'typ', 'klick'),
-(26, 237, 'id', 'id', NULL),
+(26, 237, 'affiliate_id', 'id', NULL),
(26, 237, 'password', 'pw', NULL),
(26, 237, 'reload', 'reload', NULL),
(26, 237, 'remain', 'uebrig', NULL),
(26, 237, 'sid', 'sid', NULL),
(26, 237, 'size', 'size', NULL),
(26, 237, 'type', 'typ', 'view'),
-(26, 238, 'id', 'id', NULL),
+(26, 238, 'affiliate_id', 'id', NULL),
(26, 238, 'minimum_stay', 'ma', NULL),
(26, 238, 'password', 'pw', NULL),
(26, 238, 'reload', 'reload', NULL),
(26, 238, 'reward', 'verguetung', NULL),
(26, 238, 'sid', 'sid', NULL),
(26, 238, 'size', 'size', NULL),
-(26, 239, 'id', 'id', NULL),
+(26, 239, 'affiliate_id', 'id', NULL),
(26, 239, 'minimum_stay', 'ma', NULL),
(26, 239, 'password', 'pw', NULL),
(26, 239, 'reload', 'reload', NULL),
(26, 239, 'reward', 'verguetung', NULL),
(26, 239, 'sid', 'sid', NULL),
(26, 239, 'type', 'typ', 'text'),
-(26, 240, 'id', 'id', NULL),
+(26, 240, 'affiliate_id', 'id', NULL),
(26, 240, 'minimum_stay', 'ma', NULL),
(26, 240, 'password', 'pw', NULL),
(26, 240, 'reload', 'reload', NULL),
(26, 240, 'reward', 'verguetung', NULL),
(26, 240, 'sid', 'sid', NULL),
(26, 240, 'type', 'typ', 'html'),
-(26, 241, 'id', 'id', NULL),
+(26, 241, 'affiliate_id', 'id', NULL),
(26, 241, 'password', 'pw', NULL),
(26, 241, 'reload', 'reload', NULL),
(26, 241, 'remain', 'uebrig', NULL),
(26, 241, 'reward', 'verguetung', NULL),
(26, 241, 'sid', 'sid', NULL),
(26, 241, 'type', 'typ', 'klick'),
-(26, 242, 'id', 'id', NULL),
+(26, 242, 'affiliate_id', 'id', NULL),
(26, 242, 'password', 'pw', NULL),
(26, 242, 'reload', 'reload', NULL),
(26, 242, 'remain', 'uebrig', NULL),
(26, 242, 'reward', 'verguetung', NULL),
(26, 242, 'sid', 'sid', NULL),
(26, 242, 'type', 'typ', 'view'),
-(26, 243, 'id', 'id', NULL),
+(26, 243, 'affiliate_id', 'id', NULL),
(26, 243, 'minimum_stay', 'ma', NULL),
(26, 243, 'password', 'pw', NULL),
(26, 243, 'reload', 'reload', NULL),
(26, 243, 'remain', 'uebrig', NULL),
(26, 243, 'reward', 'verguetung', NULL),
(26, 243, 'sid', 'sid', NULL),
-(26, 244, 'id', 'id', NULL),
+(26, 244, 'affiliate_id', 'id', NULL),
(26, 244, 'minimum_stay', 'ma', NULL),
(26, 244, 'password', 'pw', NULL),
(26, 244, 'reload', 'reload', NULL),
(26, 244, 'remain', 'uebrig', NULL),
(26, 244, 'reward', 'verguetung', NULL),
(26, 244, 'sid', 'sid', NULL),
-(26, 245, 'id', 'id', NULL),
+(26, 245, 'affiliate_id', 'id', NULL),
(26, 245, 'password', 'pw', NULL),
(26, 245, 'remain', 'uebrig', NULL),
(26, 245, 'reward', 'verguetung', NULL),
(26, 245, 'sid', 'sid', NULL),
-(26, 246, 'id', 'id', NULL),
+(26, 246, 'affiliate_id', 'id', NULL),
(26, 246, 'password', 'pw', NULL),
(26, 246, 'remain', 'uebrig', NULL),
(26, 246, 'reward', 'verguetung', NULL),
(26, 246, 'sid', 'sid', NULL)");
// Request parameters per type handler - FuCoExSponsor.net
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`,`network_type_id`,`network_request_param_key`,`network_request_param_value`,`network_request_param_default`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`, `network_type_id`, `network_request_param_key`, `network_request_param_value`, `network_request_param_default`) VALUES
(29, 273, 'extra', 'art', 'bannerklick'),
-(29, 273, 'id', 'uid', NULL),
+(29, 273, 'affiliate_id', 'uid', NULL),
(29, 273, 'password', 'pw', NULL),
(29, 273, 'reload', 'reload', NULL),
(29, 273, 'remain', 'uebrig', NULL),
(29, 273, 'reward', 'verguetung', NULL),
(29, 273, 'sid', 'sid', NULL),
(29, 274, 'extra', 'art', 'bannerview'),
-(29, 274, 'id', 'uid', NULL),
+(29, 274, 'affiliate_id', 'uid', NULL),
(29, 274, 'password', 'pw', NULL),
(29, 274, 'reload', 'reload', NULL),
(29, 274, 'remain', 'uebrig', NULL),
(29, 274, 'reward', 'verguetung', NULL),
(29, 274, 'sid', 'sid', NULL),
(29, 275, 'extra', 'art', 'buttonklick'),
-(29, 275, 'id', 'uid', NULL),
+(29, 275, 'affiliate_id', 'uid', NULL),
(29, 275, 'password', 'pw', NULL),
(29, 275, 'reload', 'reload', NULL),
(29, 275, 'remain', 'uebrig', NULL),
(29, 275, 'reward', 'verguetung', NULL),
(29, 275, 'sid', 'sid', NULL),
(29, 276, 'extra', 'art', 'buttonview'),
-(29, 276, 'id', 'uid', NULL),
+(29, 276, 'affiliate_id', 'uid', NULL),
(29, 276, 'password', 'pw', NULL),
(29, 276, 'reload', 'reload', NULL),
(29, 276, 'remain', 'uebrig', NULL),
(29, 276, 'reward', 'verguetung', NULL),
(29, 276, 'sid', 'sid', NULL),
(29, 277, 'extra', 'art', 'forcedbanner'),
-(29, 277, 'id', 'uid', NULL),
+(29, 277, 'affiliate_id', 'uid', NULL),
(29, 277, 'minimum_stay', 'ma', NULL),
(29, 277, 'password', 'pw', NULL),
(29, 277, 'reload', 'reload', NULL),
(29, 277, 'reward', 'verguetung', NULL),
(29, 277, 'sid', 'sid', NULL),
(29, 278, 'extra', 'art', 'forcedtextlink'),
-(29, 278, 'id', 'uid', NULL),
+(29, 278, 'affiliate_id', 'uid', NULL),
(29, 278, 'minimum_stay', 'ma', NULL),
(29, 278, 'password', 'pw', NULL),
(29, 278, 'reload', 'reload', NULL),
(29, 278, 'reward', 'verguetung', NULL),
(29, 278, 'sid', 'sid', NULL),
(29, 279, 'extra', 'art', 'htmlmail'),
-(29, 279, 'id', 'uid', NULL),
+(29, 279, 'affiliate_id', 'uid', NULL),
(29, 279, 'minimum_stay', 'ma', NULL),
(29, 279, 'password', 'pw', NULL),
(29, 279, 'reload', 'reload', NULL),
(29, 279, 'reward', 'verguetung', NULL),
(29, 279, 'sid', 'sid', NULL),
(29, 280, 'extra', 'art', 'layer'),
-(29, 280, 'id', 'uid', NULL),
+(29, 280, 'affiliate_id', 'uid', NULL),
(29, 280, 'password', 'pw', NULL),
(29, 280, 'reload', 'reload', NULL),
(29, 280, 'remain', 'uebrig', NULL),
(29, 280, 'reward', 'verguetung', NULL),
(29, 280, 'sid', 'sid', NULL),
(29, 281, 'extra', 'art', 'paidmail'),
-(29, 281, 'id', 'uid', NULL),
+(29, 281, 'affiliate_id', 'uid', NULL),
(29, 281, 'minimum_stay', 'ma', NULL),
(29, 281, 'password', 'pw', NULL),
(29, 281, 'reload', 'reload', NULL),
(29, 281, 'reward', 'verguetung', NULL),
(29, 281, 'sid', 'sid', NULL),
(29, 282, 'extra', 'art', 'popup'),
-(29, 282, 'id', 'uid', NULL),
+(29, 282, 'affiliate_id', 'uid', NULL),
(29, 282, 'minimum_stay', 'ma', NULL),
(29, 282, 'password', 'pw', NULL),
(29, 282, 'reload', 'reload', NULL),
(29, 282, 'reward', 'verguetung', NULL),
(29, 282, 'sid', 'sid', NULL),
(29, 283, 'extra', 'art', 'skybannerklick'),
-(29, 283, 'id', 'uid', NULL),
+(29, 283, 'affiliate_id', 'uid', NULL),
(29, 283, 'password', 'pw', NULL),
(29, 283, 'reload', 'reload', NULL),
(29, 283, 'remain', 'uebrig', NULL),
(29, 283, 'reward', 'verguetung', NULL),
(29, 283, 'sid', 'sid', NULL),
(29, 284, 'extra', 'art', 'skybannerview'),
-(29, 284, 'id', 'uid', NULL),
+(29, 284, 'affiliate_id', 'uid', NULL),
(29, 284, 'password', 'pw', NULL),
(29, 284, 'reload', 'reload', NULL),
(29, 284, 'remain', 'uebrig', NULL),
(29, 284, 'sid', 'sid', NULL),
(29, 285, 'extra', 'art', 'surfbarklick'),
(29, 285, 'password', 'pw', NULL),
-(29, 285, 'id', 'uid', NULL),
+(29, 285, 'affiliate_id', 'uid', NULL),
(29, 285, 'reload', 'reload', NULL),
(29, 285, 'remain', 'uebrig', NULL),
(29, 285, 'reward', 'verguetung', NULL),
(29, 285, 'sid', 'sid', NULL),
(29, 286, 'extra', 'art', 'surfbarview'),
-(29, 286, 'id', 'uid', NULL),
+(29, 286, 'affiliate_id', 'uid', NULL),
(29, 286, 'password', 'pw', NULL),
(29, 286, 'reload', 'reload', NULL),
(29, 286, 'remain', 'uebrig', NULL),
(29, 286, 'reward', 'verguetung', NULL),
(29, 286, 'sid', 'sid', NULL),
(29, 287, 'extra', 'art', 'textlinkklick'),
-(29, 287, 'id', 'uid', NULL),
+(29, 287, 'affiliate_id', 'uid', NULL),
(29, 287, 'password', 'pw', NULL),
(29, 287, 'reload', 'reload', NULL),
(29, 287, 'remain', 'uebrig', NULL),
(29, 287, 'reward', 'verguetung', NULL),
(29, 287, 'sid', 'sid', NULL),
(29, 288, 'extra', 'art', 'textlinkview'),
-(29, 288, 'id', 'uid', NULL),
+(29, 288, 'affiliate_id', 'uid', NULL),
(29, 288, 'password', 'pw', NULL),
(29, 288, 'reload', 'reload', NULL),
(29, 288, 'remain', 'uebrig', NULL),
(29, 288, 'reward', 'verguetung', NULL),
(29, 288, 'sid', 'sid', NULL),
(29, 289, 'extra', 'art', 'traffic'),
-(29, 289, 'id', 'uid', NULL),
+(29, 289, 'affiliate_id', 'uid', NULL),
(29, 289, 'minimum_stay', 'ma', NULL),
(29, 289, 'password', 'pw', NULL),
(29, 289, 'reload', 'reload', NULL),
(29, 289, 'sid', 'sid', NULL)");
// Request parameters per type handler - Fusion-Ads
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`,`network_type_id`,`network_request_param_key`,`network_request_param_value`,`network_request_param_default`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`, `network_type_id`, `network_request_param_key`, `network_request_param_value`, `network_request_param_default`) VALUES
(13, 290, 'extra', 'art', 'Forcedbanner'),
-(13, 290, 'id', 'uid', NULL),
+(13, 290, 'affiliate_id', 'uid', NULL),
(13, 290, 'password', 'pw', NULL),
(13, 290, 'reload', 'reload', NULL),
(13, 290, 'remain', 'offen', NULL),
(13, 290, 'reward', 'verguetung', NULL),
(13, 290, 'sid', 'sid', NULL),
(13, 291, 'extra', 'art', 'Paidmail'),
-(13, 291, 'id', 'uid', NULL),
+(13, 291, 'affiliate_id', 'uid', NULL),
(13, 291, 'password', 'pw', NULL),
(13, 291, 'reload', 'reload', NULL),
(13, 291, 'remain', 'offen', NULL),
(13, 291, 'sid', 'sid', NULL)");
// Request parameters per type handler - GigaPromo
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`,`network_type_id`,`network_request_param_key`,`network_request_param_value`,`network_request_param_default`) VALUES
-(14, 102, 'id', 'id', NULL),
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`, `network_type_id`, `network_request_param_key`, `network_request_param_value`, `network_request_param_default`) VALUES
+(14, 102, 'affiliate_id', 'id', NULL),
(14, 102, 'password', 'pw', NULL),
(14, 102, 'reload', 'reload', NULL),
(14, 102, 'remain', 'uebrig', NULL),
(14, 102, 'reward', 'verguetung', NULL),
(14, 102, 'sid', 'aid', NULL),
(14, 102, 'size', 'typ', NULL),
-(14, 103, 'id', 'id', NULL),
+(14, 103, 'affiliate_id', 'id', NULL),
(14, 103, 'password', 'pw', NULL),
(14, 103, 'reload', 'reload', NULL),
(14, 103, 'remain', 'uebrig', NULL),
(14, 103, 'reward', 'verguetung', NULL),
(14, 103, 'sid', 'aid', NULL),
-(14, 104, 'id', 'id', NULL),
+(14, 104, 'affiliate_id', 'id', NULL),
(14, 104, 'maximum_stay', 'ma', NULL),
(14, 104, 'password', 'pw', NULL),
(14, 104, 'reload', 'reload', NULL),
(14, 104, 'remain', 'uebrig', NULL),
(14, 104, 'reward', 'verguetung', NULL),
(14, 104, 'sid', 'aid', NULL),
-(14, 105, 'id', 'id', NULL),
+(14, 105, 'affiliate_id', 'id', NULL),
(14, 105, 'maximum_stay', 'ma', NULL),
(14, 105, 'password', 'pw', NULL),
(14, 105, 'reload', 'reload', NULL),
(14, 105, 'remain', 'uebrig', NULL),
(14, 105, 'reward', 'verguetung', NULL),
(14, 105, 'sid', 'aid', NULL),
-(14, 106, 'id', 'id', NULL),
+(14, 106, 'affiliate_id', 'id', NULL),
(14, 106, 'maximum_stay', 'ma', NULL),
(14, 106, 'password', 'pw', NULL),
(14, 106, 'reload', 'reload', NULL),
(14, 106, 'remain', 'uebrig', NULL),
(14, 106, 'reward', 'verguetung', NULL),
(14, 106, 'sid', 'aid', NULL),
-(14, 107, 'id', 'id', NULL),
+(14, 107, 'affiliate_id', 'id', NULL),
(14, 107, 'maximum_stay', 'ma', NULL),
(14, 107, 'password', 'pw', NULL),
(14, 107, 'reload', 'reload', NULL),
(14, 107, 'remain', 'uebrig', NULL),
(14, 107, 'reward', 'verguetung', NULL),
(14, 107, 'sid', 'aid', NULL),
-(14, 108, 'id', 'id', NULL),
+(14, 108, 'affiliate_id', 'id', NULL),
(14, 108, 'maximum_stay', 'ma', NULL),
(14, 108, 'password', 'pw', NULL),
(14, 108, 'reload', 'reload', NULL),
(14, 108, 'sid', 'aid', NULL)");
// Request parameters per type handler - Gold-Sponsor
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`,`network_type_id`,`network_request_param_key`,`network_request_param_value`,`network_request_param_default`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`, `network_type_id`, `network_request_param_key`, `network_request_param_value`, `network_request_param_default`) VALUES
(25, 222, 'extra', 'typ', 'forcedbanner'),
-(25, 222, 'id', 'id', NULL),
+(25, 222, 'affiliate_id', 'id', NULL),
(25, 222, 'minimum_stay', 'ma', NULL),
(25, 222, 'password', 'pw', NULL),
(25, 222, 'reload', 'reload', NULL),
(25, 222, 'remain', 'uebrig', NULL),
(25, 222, 'reward', 'verguetung', NULL),
(25, 223, 'extra', 'typ', 'forcedtextlink'),
-(25, 223, 'id', 'id', NULL),
+(25, 223, 'affiliate_id', 'id', NULL),
(25, 223, 'minimum_stay', 'ma', NULL),
(25, 223, 'password', 'pw', NULL),
(25, 223, 'reload', 'reload', NULL),
(25, 223, 'remain', 'uebrig', NULL),
(25, 223, 'reward', 'verguetung', NULL),
(25, 224, 'extra', 'typ', 'bannerview'),
-(25, 224, 'id', 'id', NULL),
+(25, 224, 'affiliate_id', 'id', NULL),
(25, 224, 'minimum_stay', 'ma', NULL),
(25, 224, 'password', 'pw', NULL),
(25, 224, 'reload', 'reload', NULL),
(25, 224, 'remain', 'uebrig', NULL),
(25, 224, 'reward', 'verguetung', NULL),
(25, 225, 'extra', 'typ', 'bannerklick'),
-(25, 225, 'id', 'id', NULL),
+(25, 225, 'affiliate_id', 'id', NULL),
(25, 225, 'minimum_stay', 'ma', NULL),
(25, 225, 'password', 'pw', NULL),
(25, 225, 'reload', 'reload', NULL),
(25, 225, 'remain', 'uebrig', NULL),
(25, 225, 'reward', 'verguetung', NULL),
(25, 226, 'extra', 'typ', 'skybannerview'),
-(25, 226, 'id', 'id', NULL),
+(25, 226, 'affiliate_id', 'id', NULL),
(25, 226, 'minimum_stay', 'ma', NULL),
(25, 226, 'password', 'pw', NULL),
(25, 226, 'reload', 'reload', NULL),
(25, 226, 'remain', 'uebrig', NULL),
(25, 226, 'reward', 'verguetung', NULL),
(25, 227, 'extra', 'typ', 'buttonview'),
-(25, 227, 'id', 'id', NULL),
+(25, 227, 'affiliate_id', 'id', NULL),
(25, 227, 'minimum_stay', 'ma', NULL),
(25, 227, 'password', 'pw', NULL),
(25, 227, 'reload', 'reload', NULL),
(25, 227, 'remain', 'uebrig', NULL),
(25, 227, 'reward', 'verguetung', NULL),
(25, 228, 'extra', 'typ', 'textview'),
-(25, 228, 'id', 'id', NULL),
+(25, 228, 'affiliate_id', 'id', NULL),
(25, 228, 'minimum_stay', 'ma', NULL),
(25, 228, 'password', 'pw', NULL),
(25, 228, 'reload', 'reload', NULL),
(25, 228, 'remain', 'uebrig', NULL),
(25, 228, 'reward', 'verguetung', NULL),
(25, 229, 'extra', 'typ', 'traffic'),
-(25, 229, 'id', 'id', NULL),
+(25, 229, 'affiliate_id', 'id', NULL),
(25, 229, 'minimum_stay', 'ma', NULL),
(25, 229, 'password', 'pw', NULL),
(25, 229, 'reload', 'reload', NULL),
(25, 229, 'remain', 'uebrig', NULL),
(25, 229, 'reward', 'verguetung', NULL),
(25, 230, 'extra', 'typ', 'popup'),
-(25, 230, 'id', 'id', NULL),
+(25, 230, 'affiliate_id', 'id', NULL),
(25, 230, 'minimum_stay', 'ma', NULL),
(25, 230, 'password', 'pw', NULL),
(25, 230, 'reload', 'reload', NULL),
(25, 230, 'remain', 'uebrig', NULL),
(25, 230, 'reward', 'verguetung', NULL),
(25, 231, 'extra', 'typ', 'paidmail'),
-(25, 231, 'id', 'id', NULL),
+(25, 231, 'affiliate_id', 'id', NULL),
(25, 231, 'minimum_stay', 'ma', NULL),
(25, 231, 'password', 'pw', NULL),
(25, 231, 'reload', 'reload', NULL),
(25, 231, 'reward', 'verguetung', NULL)");
// Request parameters per type handler - homeADS
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`,`network_type_id`,`network_request_param_key`,`network_request_param_value`,`network_request_param_default`) VALUES
-(28, 260, 'id', 'id', NULL),
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`, `network_type_id`, `network_request_param_key`, `network_request_param_value`, `network_request_param_default`) VALUES
+(28, 260, 'affiliate_id', 'id', NULL),
(28, 260, 'password', 'pw', NULL),
(28, 260, 'reload', 'reload', NULL),
(28, 260, 'remain', 'uebrig', NULL),
(28, 260, 'sid', 'sid', NULL),
(28, 260, 'size', 'size', NULL),
(28, 260, 'type', 'typ', 'klick'),
-(28, 261, 'id', 'id', NULL),
+(28, 261, 'affiliate_id', 'id', NULL),
(28, 261, 'password', 'pw', NULL),
(28, 261, 'reload', 'reload', NULL),
(28, 261, 'remain', 'uebrig', NULL),
(28, 261, 'sid', 'sid', NULL),
(28, 261, 'size', 'size', NULL),
(28, 261, 'type', 'typ', 'view'),
-(28, 262, 'id', 'id', NULL),
+(28, 262, 'affiliate_id', 'id', NULL),
(28, 262, 'password', 'pw', NULL),
(28, 262, 'reload', 'reload', NULL),
(28, 262, 'remain', 'uebrig', NULL),
(28, 262, 'reward', 'verguetung', NULL),
(28, 262, 'sid', 'sid', NULL),
(28, 262, 'type', 'typ', 'klick'),
-(28, 263, 'id', 'id', NULL),
+(28, 263, 'affiliate_id', 'id', NULL),
(28, 263, 'password', 'pw', NULL),
(28, 263, 'reload', 'reload', NULL),
(28, 263, 'remain', 'uebrig', NULL),
(28, 263, 'reward', 'verguetung', NULL),
(28, 263, 'sid', 'sid', NULL),
(28, 263, 'type', 'typ', 'view'),
-(28, 264, 'id', 'id', NULL),
+(28, 264, 'affiliate_id', 'id', NULL),
(28, 264, 'minimum_stay', 'ma', NULL),
(28, 264, 'password', 'pw', NULL),
(28, 264, 'reload', 'reload', NULL),
(28, 264, 'reward', 'verguetung', NULL),
(28, 264, 'sid', 'sid', NULL),
(28, 264, 'size', 'size', NULL),
-(28, 265, 'id', 'id', NULL),
+(28, 265, 'affiliate_id', 'id', NULL),
(28, 265, 'minimum_stay', 'ma', NULL),
(28, 265, 'password', 'pw', NULL),
(28, 265, 'reload', 'reload', NULL),
(28, 265, 'reward', 'verguetung', NULL),
(28, 265, 'sid', 'sid', NULL),
(28, 265, 'type', 'typ', 'text'),
-(28, 266, 'id', 'id', NULL),
+(28, 266, 'affiliate_id', 'id', NULL),
(28, 266, 'minimum_stay', 'ma', NULL),
(28, 266, 'password', 'pw', NULL),
(28, 266, 'reload', 'reload', NULL),
(28, 266, 'reward', 'verguetung', NULL),
(28, 266, 'sid', 'sid', NULL),
(28, 266, 'type', 'typ', 'html'),
-(28, 267, 'id', 'id', NULL),
+(28, 267, 'affiliate_id', 'id', NULL),
(28, 267, 'password', 'pw', NULL),
(28, 267, 'reload', 'reload', NULL),
(28, 267, 'remain', 'uebrig', NULL),
(28, 267, 'reward', 'verguetung', NULL),
(28, 267, 'sid', 'sid', NULL),
(28, 267, 'type', 'typ', 'klick'),
-(28, 268, 'id', 'id', NULL),
+(28, 268, 'affiliate_id', 'id', NULL),
(28, 268, 'password', 'pw', NULL),
(28, 268, 'reload', 'reload', NULL),
(28, 268, 'remain', 'uebrig', NULL),
(28, 268, 'reward', 'verguetung', NULL),
(28, 268, 'sid', 'sid', NULL),
(28, 268, 'type', 'typ', 'view'),
-(28, 269, 'id', 'id', NULL),
+(28, 269, 'affiliate_id', 'id', NULL),
(28, 269, 'minimum_stay', 'ma', NULL),
(28, 269, 'password', 'pw', NULL),
(28, 269, 'reload', 'reload', NULL),
(28, 269, 'remain', 'uebrig', NULL),
(28, 269, 'reward', 'verguetung', NULL),
(28, 269, 'sid', 'sid', NULL),
-(28, 270, 'id', 'id', NULL),
+(28, 270, 'affiliate_id', 'id', NULL),
(28, 270, 'minimum_stay', 'ma', NULL),
(28, 270, 'password', 'pw', NULL),
(28, 270, 'reload', 'reload', NULL),
(28, 270, 'remain', 'uebrig', NULL),
(28, 270, 'reward', 'verguetung', NULL),
(28, 270, 'sid', 'sid', NULL),
-(28, 271, 'id', 'id', NULL),
+(28, 271, 'affiliate_id', 'id', NULL),
(28, 271, 'password', 'pw', NULL),
(28, 271, 'remain', 'uebrig', NULL),
(28, 271, 'reward', 'verguetung', NULL),
(28, 271, 'sid', 'sid', NULL),
-(28, 272, 'id', 'id', NULL),
+(28, 272, 'affiliate_id', 'id', NULL),
(28, 272, 'password', 'pw', NULL),
(28, 272, 'remain', 'uebrig', NULL),
(28, 272, 'reward', 'verguetung', NULL),
(28, 272, 'sid', 'sid', NULL)");
// Request parameters per type handler - HPSponsor
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`,`network_type_id`,`network_request_param_key`,`network_request_param_value`,`network_request_param_default`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`, `network_type_id`, `network_request_param_key`, `network_request_param_value`, `network_request_param_default`) VALUES
(15, 135, 'extra', 'typ', 'forcedbanner'),
-(15, 135, 'id', 'id', NULL),
+(15, 135, 'affiliate_id', 'id', NULL),
(15, 135, 'password', 'pw', NULL),
(15, 135, 'reload', 'reload', NULL),
(15, 135, 'remain', 'uebrig', NULL),
(15, 135, 'reward', 'verguetung', NULL),
(15, 136, 'extra', 'typ', 'forcedtextlink'),
-(15, 136, 'id', 'id', NULL),
+(15, 136, 'affiliate_id', 'id', NULL),
(15, 136, 'password', 'pw', NULL),
(15, 136, 'reload', 'reload', NULL),
(15, 136, 'remain', 'uebrig', NULL),
(15, 136, 'reward', 'verguetung', NULL),
(15, 137, 'extra', 'typ', 'bannerview'),
-(15, 137, 'id', 'id', NULL),
+(15, 137, 'affiliate_id', 'id', NULL),
(15, 137, 'password', 'pw', NULL),
(15, 137, 'reload', 'reload', NULL),
(15, 137, 'remain', 'uebrig', NULL),
(15, 137, 'reward', 'verguetung', NULL),
(15, 138, 'extra', 'typ', 'bannerklick'),
-(15, 138, 'id', 'id', NULL),
+(15, 138, 'affiliate_id', 'id', NULL),
(15, 138, 'password', 'pw', NULL),
(15, 138, 'reload', 'reload', NULL),
(15, 138, 'remain', 'uebrig', NULL),
(15, 138, 'reward', 'verguetung', NULL),
(15, 139, 'extra', 'typ', 'skybannerview'),
-(15, 139, 'id', 'id', NULL),
+(15, 139, 'affiliate_id', 'id', NULL),
(15, 139, 'password', 'pw', NULL),
(15, 139, 'reload', 'reload', NULL),
(15, 139, 'remain', 'uebrig', NULL),
(15, 139, 'reward', 'verguetung', NULL),
(15, 140, 'extra', 'typ', 'buttonview'),
-(15, 140, 'id', 'id', NULL),
+(15, 140, 'affiliate_id', 'id', NULL),
(15, 140, 'password', 'pw', NULL),
(15, 140, 'reload', 'reload', NULL),
(15, 140, 'remain', 'uebrig', NULL),
(15, 140, 'reward', 'verguetung', NULL),
(15, 141, 'extra', 'typ', 'textview'),
-(15, 141, 'id', 'id', NULL),
+(15, 141, 'affiliate_id', 'id', NULL),
(15, 141, 'password', 'pw', NULL),
(15, 141, 'reload', 'reload', NULL),
(15, 141, 'remain', 'uebrig', NULL),
(15, 141, 'reward', 'verguetung', NULL),
(15, 142, 'extra', 'typ', 'traffic'),
-(15, 142, 'id', 'id', NULL),
+(15, 142, 'affiliate_id', 'id', NULL),
(15, 142, 'password', 'pw', NULL),
(15, 142, 'reload', 'reload', NULL),
(15, 142, 'remain', 'uebrig', NULL),
(15, 142, 'reward', 'verguetung', NULL),
(15, 143, 'extra', 'typ', 'popup'),
-(15, 143, 'id', 'id', NULL),
+(15, 143, 'affiliate_id', 'id', NULL),
(15, 143, 'minimum_stay', 'ma', NULL),
(15, 143, 'password', 'pw', NULL),
(15, 143, 'reload', 'reload', NULL),
(15, 143, 'remain', 'uebrig', NULL),
(15, 143, 'reward', 'verguetung', NULL),
(15, 144, 'extra', 'typ', 'paidmail'),
-(15, 144, 'id', 'id', NULL),
+(15, 144, 'affiliate_id', 'id', NULL),
(15, 144, 'minimum_stay', 'ma', NULL),
(15, 144, 'password', 'pw', NULL),
(15, 144, 'reload', 'reload', NULL),
(15, 144, 'reward', 'verguetung', NULL)");
// Request parameters per type handler - Make-Euros
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`,`network_type_id`,`network_request_param_key`,`network_request_param_value`,`network_request_param_default`) VALUES
-(16, 63, 'id', 'id', NULL),
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`, `network_type_id`, `network_request_param_key`, `network_request_param_value`, `network_request_param_default`) VALUES
+(16, 63, 'affiliate_id', 'id', NULL),
(16, 63, 'password', 'pw', NULL),
(16, 63, 'reload', 'reload', NULL),
(16, 63, 'remain', 'uebrig', NULL),
(16, 63, 'sid', 'sid', NULL),
(16, 63, 'size', 'size', NULL),
(16, 63, 'type', 'typ', 'klick'),
-(16, 64, 'id', 'id', NULL),
+(16, 64, 'affiliate_id', 'id', NULL),
(16, 64, 'password', 'pw', NULL),
(16, 64, 'reload', 'reload', NULL),
(16, 64, 'remain', 'uebrig', NULL),
(16, 64, 'sid', 'sid', NULL),
(16, 64, 'size', 'size', NULL),
(16, 64, 'type', 'typ', 'view'),
-(16, 65, 'id', 'id', NULL),
+(16, 65, 'affiliate_id', 'id', NULL),
(16, 65, 'password', 'pw', NULL),
(16, 65, 'reload', 'reload', NULL),
(16, 65, 'remain', 'uebrig', NULL),
(16, 65, 'reward', 'verguetung', NULL),
(16, 65, 'sid', 'sid', NULL),
(16, 65, 'type', 'typ', 'klick'),
-(16, 66, 'id', 'id', NULL),
+(16, 66, 'affiliate_id', 'id', NULL),
(16, 66, 'password', 'pw', NULL),
(16, 66, 'reload', 'reload', NULL),
(16, 66, 'remain', 'uebrig', NULL),
(16, 66, 'reward', 'verguetung', NULL),
(16, 66, 'sid', 'sid', NULL),
(16, 66, 'type', 'typ', 'view'),
-(16, 67, 'id', 'id', NULL),
+(16, 67, 'affiliate_id', 'id', NULL),
(16, 67, 'password', 'pw', NULL),
(16, 67, 'reload', 'reload', NULL),
(16, 67, 'remain', 'uebrig', NULL),
(16, 67, 'sid', 'sid', NULL),
(16, 67, 'size', 'size', NULL),
(16, 67, 'type', 'typ', 'klick'),
-(16, 68, 'id', 'id', NULL),
+(16, 68, 'affiliate_id', 'id', NULL),
(16, 68, 'minimum_stay', 'ma', NULL),
(16, 68, 'password', 'pw', NULL),
(16, 68, 'reload', 'reload', NULL),
(16, 68, 'reward', 'verguetung', NULL),
(16, 68, 'sid', 'sid', NULL),
(16, 68, 'size', 'size', NULL),
-(16, 69, 'id', 'id', NULL),
+(16, 69, 'affiliate_id', 'id', NULL),
(16, 69, 'password', 'pw', NULL),
(16, 69, 'reload', 'reload', NULL),
(16, 69, 'remain', 'uebrig', NULL),
(16, 69, 'sid', 'sid', NULL),
(16, 69, 'size', 'size', NULL),
(16, 69, 'type', 'typ', 'view'),
-(16, 70, 'id', 'id', NULL),
+(16, 70, 'affiliate_id', 'id', NULL),
(16, 70, 'minimum_stay', 'ma', NULL),
(16, 70, 'password', 'pw', NULL),
(16, 70, 'reload', 'reload', NULL),
(16, 70, 'reward', 'verguetung', NULL),
(16, 70, 'sid', 'sid', NULL),
(16, 70, 'type', 'typ', 'text'),
-(16, 71, 'id', 'id', NULL),
+(16, 71, 'affiliate_id', 'id', NULL),
(16, 71, 'minimum_stay', 'ma', NULL),
(16, 71, 'password', 'pw', NULL),
(16, 71, 'reload', 'reload', NULL),
(16, 71, 'reward', 'verguetung', NULL),
(16, 71, 'sid', 'sid', NULL),
(16, 71, 'type', 'typ', 'html'),
-(16, 72, 'id', 'id', NULL),
+(16, 72, 'affiliate_id', 'id', NULL),
(16, 72, 'password', 'pw', NULL),
(16, 72, 'reload', 'reload', NULL),
(16, 72, 'remain', 'uebrig', NULL),
(16, 72, 'reward', 'verguetung', NULL),
(16, 72, 'sid', 'sid', NULL),
(16, 72, 'type', 'typ', 'klick'),
-(16, 73, 'id', 'id', NULL),
+(16, 73, 'affiliate_id', 'id', NULL),
(16, 73, 'password', 'pw', NULL),
(16, 73, 'reload', 'reload', NULL),
(16, 73, 'remain', 'uebrig', NULL),
(16, 73, 'reward', 'verguetung', NULL),
(16, 73, 'sid', 'sid', NULL),
(16, 73, 'type', 'typ', 'view'),
-(16, 74, 'id', 'id', NULL),
+(16, 74, 'affiliate_id', 'id', NULL),
(16, 74, 'minimum_stay', 'ma', NULL),
(16, 74, 'password', 'pw', NULL),
(16, 74, 'reload', 'reload', NULL),
(16, 74, 'remain', 'uebrig', NULL),
(16, 74, 'reward', 'verguetung', NULL),
(16, 74, 'sid', 'sid', NULL),
-(16, 75, 'id', 'id', NULL),
+(16, 75, 'affiliate_id', 'id', NULL),
(16, 75, 'minimum_stay', 'ma', NULL),
(16, 75, 'password', 'pw', NULL),
(16, 75, 'reload', 'reload', NULL),
(16, 75, 'remain', 'uebrig', NULL),
(16, 75, 'reward', 'verguetung', NULL),
(16, 75, 'sid', 'sid', NULL),
-(16, 76, 'id', 'id', NULL),
+(16, 76, 'affiliate_id', 'id', NULL),
(16, 76, 'password', 'pw', NULL),
(16, 76, 'remain', 'uebrig', NULL),
(16, 76, 'reward', 'verguetung', NULL),
(16, 76, 'sid', 'sid', NULL),
-(16, 77, 'id', 'id', NULL),
+(16, 77, 'affiliate_id', 'id', NULL),
(16, 77, 'password', 'pw', NULL),
(16, 77, 'remain', 'uebrig', NULL),
(16, 77, 'reward', 'verguetung', NULL),
(16, 77, 'sid', 'sid', NULL)");
// Request parameters per type handler - Mega-Ad
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`,`network_type_id`,`network_request_param_key`,`network_request_param_value`,`network_request_param_default`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`, `network_type_id`, `network_request_param_key`, `network_request_param_value`, `network_request_param_default`) VALUES
(17, 109, 'extra', 'typ', 'forcedbanner'),
-(17, 109, 'id', 'id', NULL),
+(17, 109, 'affiliate_id', 'id', NULL),
(17, 109, 'password', 'pw', NULL),
(17, 109, 'reload', 'reload', NULL),
(17, 109, 'remain', 'uebrig', NULL),
(17, 109, 'reward', 'verguetung', NULL),
(17, 110, 'extra', 'typ', 'forcedtextlink'),
-(17, 110, 'id', 'id', NULL),
+(17, 110, 'affiliate_id', 'id', NULL),
(17, 110, 'password', 'pw', NULL),
(17, 110, 'reload', 'reload', NULL),
(17, 110, 'remain', 'uebrig', NULL),
(17, 110, 'reward', 'verguetung', NULL),
(17, 111, 'extra', 'typ', 'bannerview'),
-(17, 111, 'id', 'id', NULL),
+(17, 111, 'affiliate_id', 'id', NULL),
(17, 111, 'password', 'pw', NULL),
(17, 111, 'reload', 'reload', NULL),
(17, 111, 'remain', 'uebrig', NULL),
(17, 111, 'reward', 'verguetung', NULL),
(17, 112, 'extra', 'typ', 'bannerklick'),
-(17, 112, 'id', 'id', NULL),
+(17, 112, 'affiliate_id', 'id', NULL),
(17, 112, 'password', 'pw', NULL),
(17, 112, 'reload', 'reload', NULL),
(17, 112, 'remain', 'uebrig', NULL),
(17, 112, 'reward', 'verguetung', NULL),
(17, 113, 'extra', 'typ', 'skybannerview'),
-(17, 113, 'id', 'id', NULL),
+(17, 113, 'affiliate_id', 'id', NULL),
(17, 113, 'password', 'pw', NULL),
(17, 113, 'reload', 'reload', NULL),
(17, 113, 'remain', 'uebrig', NULL),
(17, 113, 'reward', 'verguetung', NULL),
(17, 114, 'extra', 'typ', 'buttonview'),
-(17, 114, 'id', 'id', NULL),
+(17, 114, 'affiliate_id', 'id', NULL),
(17, 114, 'password', 'pw', NULL),
(17, 114, 'reload', 'reload', NULL),
(17, 114, 'remain', 'uebrig', NULL),
(17, 114, 'reward', 'verguetung', NULL),
(17, 115, 'extra', 'typ', 'textview'),
-(17, 115, 'id', 'id', NULL),
+(17, 115, 'affiliate_id', 'id', NULL),
(17, 115, 'password', 'pw', NULL),
(17, 115, 'reload', 'reload', NULL),
(17, 115, 'remain', 'uebrig', NULL),
(17, 115, 'reward', 'verguetung', NULL),
(17, 116, 'extra', 'typ', 'popup'),
-(17, 116, 'id', 'id', NULL),
+(17, 116, 'affiliate_id', 'id', NULL),
(17, 116, 'password', 'pw', NULL),
(17, 116, 'reload', 'reload', NULL),
(17, 116, 'remain', 'uebrig', NULL),
(17, 116, 'reward', 'verguetung', NULL),
(17, 117, 'extra', 'typ', 'paidmail'),
-(17, 117, 'id', 'id', NULL),
+(17, 117, 'affiliate_id', 'id', NULL),
(17, 117, 'password', 'pw', NULL),
(17, 117, 'reload', 'reload', NULL),
(17, 117, 'remain', 'uebrig', NULL),
(17, 117, 'reward', 'verguetung', NULL),
(17, 123, 'extra', 'typ', 'traffic'),
-(17, 123, 'id', 'id', NULL),
+(17, 123, 'affiliate_id', 'id', NULL),
(17, 123, 'password', 'pw', NULL),
(17, 123, 'reload', 'reload', NULL),
(17, 123, 'remain', 'uebrig', NULL),
(17, 123, 'reward', 'verguetung', NULL)");
// Request parameters per type handler - Power-Promo
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`,`network_type_id`,`network_request_param_key`,`network_request_param_value`,`network_request_param_default`) VALUES
-(18, 78, 'id', 'id', NULL),
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`, `network_type_id`, `network_request_param_key`, `network_request_param_value`, `network_request_param_default`) VALUES
+(18, 78, 'affiliate_id', 'id', NULL),
(18, 78, 'password', 'pw', NULL),
(18, 78, 'reload', 'reload', NULL),
(18, 78, 'remain', 'uebrig', NULL),
(18, 78, 'sid', 'sid', NULL),
(18, 78, 'size', 'size', NULL),
(18, 78, 'type', 'typ', 'klick'),
-(18, 79, 'id', 'id', NULL),
+(18, 79, 'affiliate_id', 'id', NULL),
(18, 79, 'password', 'pw', NULL),
(18, 79, 'reload', 'reload', NULL),
(18, 79, 'remain', 'uebrig', NULL),
(18, 79, 'sid', 'sid', NULL),
(18, 79, 'size', 'size', NULL),
(18, 79, 'type', 'typ', 'view'),
-(18, 80, 'id', 'id', NULL),
+(18, 80, 'affiliate_id', 'id', NULL),
(18, 80, 'password', 'pw', NULL),
(18, 80, 'reload', 'reload', NULL),
(18, 80, 'remain', 'uebrig', NULL),
(18, 80, 'reward', 'verguetung', NULL),
(18, 80, 'sid', 'sid', NULL),
(18, 80, 'type', 'typ', 'klick'),
-(18, 81, 'id', 'id', NULL),
+(18, 81, 'affiliate_id', 'id', NULL),
(18, 81, 'password', 'pw', NULL),
(18, 81, 'reload', 'reload', NULL),
(18, 81, 'remain', 'uebrig', NULL),
(18, 81, 'reward', 'verguetung', NULL),
(18, 81, 'sid', 'sid', NULL),
(18, 81, 'type', 'typ', 'view'),
-(18, 82, 'id', 'id', NULL),
+(18, 82, 'affiliate_id', 'id', NULL),
(18, 82, 'password', 'pw', NULL),
(18, 82, 'reload', 'reload', NULL),
(18, 82, 'remain', 'uebrig', NULL),
(18, 82, 'sid', 'sid', NULL),
(18, 82, 'size', 'size', NULL),
(18, 82, 'type', 'typ', 'klick'),
-(18, 83, 'id', 'id', NULL),
+(18, 83, 'affiliate_id', 'id', NULL),
(18, 83, 'password', 'pw', NULL),
(18, 83, 'reload', 'reload', NULL),
(18, 83, 'remain', 'uebrig', NULL),
(18, 83, 'sid', 'sid', NULL),
(18, 83, 'size', 'size', NULL),
(18, 83, 'type', 'typ', 'view'),
-(18, 84, 'id', 'id', NULL),
+(18, 84, 'affiliate_id', 'id', NULL),
(18, 84, 'minimum_stay', 'ma', NULL),
(18, 84, 'password', 'pw', NULL),
(18, 84, 'reload', 'reload', NULL),
(18, 84, 'reward', 'verguetung', NULL),
(18, 84, 'sid', 'sid', NULL),
(18, 84, 'size', 'size', NULL),
-(18, 85, 'id', 'id', NULL),
+(18, 85, 'affiliate_id', 'id', NULL),
(18, 85, 'minimum_stay', 'ma', NULL),
(18, 85, 'password', 'pw', NULL),
(18, 85, 'reload', 'reload', NULL),
(18, 85, 'reward', 'verguetung', NULL),
(18, 85, 'sid', 'sid', NULL),
(18, 85, 'type', 'typ', 'text'),
-(18, 86, 'id', 'id', NULL),
+(18, 86, 'affiliate_id', 'id', NULL),
(18, 86, 'minimum_stay', 'ma', NULL),
(18, 86, 'password', 'pw', NULL),
(18, 86, 'reload', 'reload', NULL),
(18, 86, 'reward', 'verguetung', NULL),
(18, 86, 'sid', 'sid', NULL),
(18, 86, 'type', 'typ', 'html'),
-(18, 87, 'id', 'id', NULL),
+(18, 87, 'affiliate_id', 'id', NULL),
(18, 87, 'password', 'pw', NULL),
(18, 87, 'reload', 'reload', NULL),
(18, 87, 'remain', 'uebrig', NULL),
(18, 87, 'reward', 'verguetung', NULL),
(18, 87, 'sid', 'sid', NULL),
(18, 87, 'type', 'typ', 'klick'),
-(18, 88, 'id', 'id', NULL),
+(18, 88, 'affiliate_id', 'id', NULL),
(18, 88, 'password', 'pw', NULL),
(18, 88, 'reload', 'reload', NULL),
(18, 88, 'remain', 'uebrig', NULL),
(18, 88, 'reward', 'verguetung', NULL),
(18, 88, 'sid', 'sid', NULL),
(18, 88, 'type', 'typ', 'view'),
-(18, 89, 'id', 'id', NULL),
+(18, 89, 'affiliate_id', 'id', NULL),
(18, 89, 'minimum_stay', 'ma', NULL),
(18, 89, 'password', 'pw', NULL),
(18, 89, 'reload', 'reload', NULL),
(18, 89, 'remain', 'uebrig', NULL),
(18, 89, 'reward', 'verguetung', NULL),
(18, 89, 'sid', 'sid', NULL),
-(18, 90, 'id', 'id', NULL),
+(18, 90, 'affiliate_id', 'id', NULL),
(18, 90, 'minimum_stay', 'ma', NULL),
(18, 90, 'password', 'pw', NULL),
(18, 90, 'reload', 'reload', NULL),
(18, 90, 'remain', 'uebrig', NULL),
(18, 90, 'reward', 'verguetung', NULL),
(18, 90, 'sid', 'sid', NULL),
-(18, 91, 'id', 'id', NULL),
+(18, 91, 'affiliate_id', 'id', NULL),
(18, 91, 'password', 'pw', NULL),
(18, 91, 'remain', 'uebrig', NULL),
(18, 91, 'reward', 'verguetung', NULL),
(18, 91, 'sid', 'sid', NULL),
-(18, 92, 'id', 'id', NULL),
+(18, 92, 'affiliate_id', 'id', NULL),
(18, 92, 'password', 'pw', NULL),
(18, 92, 'remain', 'uebrig', NULL),
(18, 92, 'reward', 'verguetung', NULL),
(18, 92, 'sid', 'sid', NULL)");
// Request parameters per type handler - SeCash
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`,`network_type_id`,`network_request_param_key`,`network_request_param_value`,`network_request_param_default`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`, `network_type_id`, `network_request_param_key`, `network_request_param_value`, `network_request_param_default`) VALUES
(19, 93, 'extra', 'typ', 'forcedbanner'),
-(19, 93, 'id', 'id', NULL),
+(19, 93, 'affiliate_id', 'id', NULL),
(19, 93, 'password', 'pw', NULL),
(19, 93, 'reload', 'reload', NULL),
(19, 93, 'remain', 'uebrig', NULL),
(19, 93, 'reward', 'verguetung', NULL),
(19, 94, 'extra', 'typ', 'forcedtextlink'),
-(19, 94, 'id', 'id', NULL),
+(19, 94, 'affiliate_id', 'id', NULL),
(19, 94, 'password', 'pw', NULL),
(19, 94, 'reload', 'reload', NULL),
(19, 94, 'remain', 'uebrig', NULL),
(19, 94, 'reward', 'verguetung', NULL),
(19, 95, 'extra', 'typ', 'bannerview'),
-(19, 95, 'id', 'id', NULL),
+(19, 95, 'affiliate_id', 'id', NULL),
(19, 95, 'password', 'pw', NULL),
(19, 95, 'reload', 'reload', NULL),
(19, 95, 'remain', 'uebrig', NULL),
(19, 95, 'reward', 'verguetung', NULL),
(19, 96, 'extra', 'typ', 'bannerklick'),
-(19, 96, 'id', 'id', NULL),
+(19, 96, 'affiliate_id', 'id', NULL),
(19, 96, 'password', 'pw', NULL),
(19, 96, 'reload', 'reload', NULL),
(19, 96, 'remain', 'uebrig', NULL),
(19, 96, 'reward', 'verguetung', NULL),
(19, 97, 'extra', 'typ', 'skybannerview'),
-(19, 97, 'id', 'id', NULL),
+(19, 97, 'affiliate_id', 'id', NULL),
(19, 97, 'password', 'pw', NULL),
(19, 97, 'reload', 'reload', NULL),
(19, 97, 'remain', 'uebrig', NULL),
(19, 97, 'reward', 'verguetung', NULL),
(19, 98, 'extra', 'typ', 'buttonview'),
-(19, 98, 'id', 'id', NULL),
+(19, 98, 'affiliate_id', 'id', NULL),
(19, 98, 'password', 'pw', NULL),
(19, 98, 'reload', 'reload', NULL),
(19, 98, 'remain', 'uebrig', NULL),
(19, 98, 'reward', 'verguetung', NULL),
(19, 99, 'extra', 'typ', 'textview'),
-(19, 99, 'id', 'id', NULL),
+(19, 99, 'affiliate_id', 'id', NULL),
(19, 99, 'password', 'pw', NULL),
(19, 99, 'reload', 'reload', NULL),
(19, 99, 'remain', 'uebrig', NULL),
(19, 99, 'reward', 'verguetung', NULL),
(19, 100, 'extra', 'typ', 'popup'),
-(19, 100, 'id', 'id', NULL),
+(19, 100, 'affiliate_id', 'id', NULL),
(19, 100, 'minimum_stay', 'ma', NULL),
(19, 100, 'password', 'pw', NULL),
(19, 100, 'reload', 'reload', NULL),
(19, 100, 'remain', 'uebrig', NULL),
(19, 100, 'reward', 'verguetung', NULL),
(19, 101, 'extra', 'typ', 'paidmail'),
-(19, 101, 'id', 'id', NULL),
+(19, 101, 'affiliate_id', 'id', NULL),
(19, 101, 'minimum_stay', 'ma', NULL),
(19, 101, 'password', 'pw', NULL),
(19, 101, 'reload', 'reload', NULL),
(19, 101, 'remain', 'uebrig', NULL),
(19, 101, 'reward', 'verguetung', NULL),
(19, 124, 'extra', 'typ', 'traffic'),
-(19, 124, 'id', 'id', NULL),
+(19, 124, 'affiliate_id', 'id', NULL),
(19, 124, 'password', 'pw', NULL),
(19, 124, 'reload', 'reload', NULL),
(19, 124, 'remain', 'uebrig', NULL),
(19, 124, 'reward', 'verguetung', NULL)");
+ // Request parameters per type handler - SuperPromo24
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`, `network_type_id`, `network_request_param_key`, `network_request_param_value`, `network_request_param_default`) VALUES
+(41, 416, 'extra', 'art', 'bannerklick'),
+(41, 416, 'affiliate_id', 'uid', NULL),
+(41, 416, 'password', 'pw', NULL),
+(41, 416, 'sid', 'sid', NULL),
+(41, 416, 'reward', 'verguetung', NULL),
+(41, 416, 'reload', 'reload', NULL),
+(41, 416, 'remain', 'uebrig', NULL),
+(41, 417, 'extra', 'art', 'bannerview'),
+(41, 417, 'affiliate_id', 'uid', NULL),
+(41, 417, 'password', 'pw', NULL),
+(41, 417, 'sid', 'sid', NULL),
+(41, 417, 'reward', 'verguetung', NULL),
+(41, 417, 'reload', 'reload', NULL),
+(41, 417, 'remain', 'uebrig', NULL),
+(41, 418, 'extra', 'art', 'buttonklick'),
+(41, 418, 'affiliate_id', 'uid', NULL),
+(41, 418, 'password', 'pw', NULL),
+(41, 418, 'sid', 'sid', NULL),
+(41, 418, 'reward', 'verguetung', NULL),
+(41, 418, 'reload', 'reload', NULL),
+(41, 418, 'remain', 'uebrig', NULL),
+(41, 419, 'extra', 'art', 'buttonview'),
+(41, 419, 'affiliate_id', 'uid', NULL),
+(41, 419, 'password', 'pw', NULL),
+(41, 419, 'sid', 'sid', NULL),
+(41, 419, 'reward', 'verguetung', NULL),
+(41, 419, 'reload', 'reload', NULL),
+(41, 419, 'remain', 'uebrig', NULL),
+(41, 420, 'extra', 'art', 'forcedbanner'),
+(41, 420, 'affiliate_id', 'uid', NULL),
+(41, 420, 'password', 'pw', NULL),
+(41, 420, 'sid', 'sid', NULL),
+(41, 420, 'reward', 'verguetung', NULL),
+(41, 420, 'reload', 'reload', NULL),
+(41, 420, 'remain', 'uebrig', NULL),
+(41, 420, 'minimum_stay', 'ma', NULL),
+(41, 421, 'extra', 'art', 'forcedtextlink'),
+(41, 421, 'affiliate_id', 'uid', NULL),
+(41, 421, 'password', 'pw', NULL),
+(41, 421, 'sid', 'sid', NULL),
+(41, 421, 'reward', 'verguetung', NULL),
+(41, 421, 'reload', 'reload', NULL),
+(41, 421, 'remain', 'uebrig', NULL),
+(41, 421, 'minimum_stay', 'ma', NULL),
+(41, 422, 'extra', 'art', 'htmlmail'),
+(41, 422, 'affiliate_id', 'uid', NULL),
+(41, 422, 'password', 'pw', NULL),
+(41, 422, 'sid', 'sid', NULL),
+(41, 422, 'reward', 'verguetung', NULL),
+(41, 422, 'reload', 'reload', NULL),
+(41, 422, 'remain', 'uebrig', NULL),
+(41, 422, 'minimum_stay', 'ma', NULL),
+(41, 423, 'extra', 'art', 'layer'),
+(41, 423, 'affiliate_id', 'uid', NULL),
+(41, 423, 'password', 'pw', NULL),
+(41, 423, 'sid', 'sid', NULL),
+(41, 423, 'reward', 'verguetung', NULL),
+(41, 423, 'reload', 'reload', NULL),
+(41, 423, 'remain', 'uebrig', NULL),
+(41, 424, 'extra', 'art', 'pagepeel'),
+(41, 424, 'affiliate_id', 'uid', NULL),
+(41, 424, 'password', 'pw', NULL),
+(41, 424, 'sid', 'sid', NULL),
+(41, 424, 'reward', 'verguetung', NULL),
+(41, 424, 'reload', 'reload', NULL),
+(41, 424, 'remain', 'uebrig', NULL),
+(41, 425, 'extra', 'art', 'paidmail'),
+(41, 425, 'affiliate_id', 'uid', NULL),
+(41, 425, 'password', 'pw', NULL),
+(41, 425, 'sid', 'sid', NULL),
+(41, 425, 'reward', 'verguetung', NULL),
+(41, 425, 'reload', 'reload', NULL),
+(41, 425, 'remain', 'uebrig', NULL),
+(41, 425, 'minimum_stay', 'ma', NULL),
+(41, 426, 'extra', 'art', 'popup'),
+(41, 426, 'affiliate_id', 'uid', NULL),
+(41, 426, 'password', 'pw', NULL),
+(41, 426, 'sid', 'sid', NULL),
+(41, 426, 'reward', 'verguetung', NULL),
+(41, 426, 'reload', 'reload', NULL),
+(41, 426, 'remain', 'uebrig', NULL),
+(41, 426, 'minimum_stay', 'ma', NULL),
+(41, 427, 'extra', 'art', 'skybannerklick'),
+(41, 427, 'affiliate_id', 'uid', NULL),
+(41, 427, 'password', 'pw', NULL),
+(41, 427, 'sid', 'sid', NULL),
+(41, 427, 'reward', 'verguetung', NULL),
+(41, 427, 'reload', 'reload', NULL),
+(41, 427, 'remain', 'uebrig', NULL),
+(41, 428, 'extra', 'art', 'skybannerview'),
+(41, 428, 'affiliate_id', 'uid', NULL),
+(41, 428, 'password', 'pw', NULL),
+(41, 428, 'sid', 'sid', NULL),
+(41, 428, 'reward', 'verguetung', NULL),
+(41, 428, 'reload', 'reload', NULL),
+(41, 428, 'remain', 'uebrig', NULL),
+(41, 429, 'extra', 'art', 'textlinkklick'),
+(41, 429, 'affiliate_id', 'uid', NULL),
+(41, 429, 'password', 'pw', NULL),
+(41, 429, 'sid', 'sid', NULL),
+(41, 429, 'reward', 'verguetung', NULL),
+(41, 429, 'reload', 'reload', NULL),
+(41, 429, 'remain', 'uebrig', NULL),
+(41, 430, 'extra', 'art', 'traffic'),
+(41, 430, 'affiliate_id', 'uid', NULL),
+(41, 430, 'password', 'pw', NULL),
+(41, 430, 'sid', 'sid', NULL),
+(41, 430, 'reward', 'verguetung', NULL),
+(41, 430, 'reload', 'reload', NULL),
+(41, 430, 'remain', 'uebrig', NULL),
+(41, 430, 'minimum_stay', 'ma', NULL)");
+
// Request parameters per type handler - WeltPromotion
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`,`network_type_id`,`network_request_param_key`,`network_request_param_value`,`network_request_param_default`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`, `network_type_id`, `network_request_param_key`, `network_request_param_value`, `network_request_param_default`) VALUES
(20, 202, 'extra', 'typ', 'forcedbanner'),
-(20, 202, 'id', 'id', NULL),
+(20, 202, 'affiliate_id', 'id', NULL),
(20, 202, 'password', 'pw', NULL),
(20, 202, 'reload', 'reload', NULL),
(20, 202, 'remain', 'uebrig', NULL),
(20, 202, 'reward', 'verguetung', NULL),
(20, 203, 'extra', 'typ', 'forcedtextlink'),
-(20, 203, 'id', 'id', NULL),
+(20, 203, 'affiliate_id', 'id', NULL),
(20, 203, 'password', 'pw', NULL),
(20, 203, 'reload', 'reload', NULL),
(20, 203, 'remain', 'uebrig', NULL),
(20, 203, 'reward', 'verguetung', NULL),
(20, 204, 'extra', 'typ', 'bannerview'),
-(20, 204, 'id', 'id', NULL),
+(20, 204, 'affiliate_id', 'id', NULL),
(20, 204, 'password', 'pw', NULL),
(20, 204, 'reload', 'reload', NULL),
(20, 204, 'remain', 'uebrig', NULL),
(20, 204, 'reward', 'verguetung', NULL),
(20, 205, 'extra', 'typ', 'bannerklick'),
-(20, 205, 'id', 'id', NULL),
+(20, 205, 'affiliate_id', 'id', NULL),
(20, 205, 'password', 'pw', NULL),
(20, 205, 'reload', 'reload', NULL),
(20, 205, 'remain', 'uebrig', NULL),
(20, 205, 'reward', 'verguetung', NULL),
(20, 206, 'extra', 'typ', 'skybannerview'),
-(20, 206, 'id', 'id', NULL),
+(20, 206, 'affiliate_id', 'id', NULL),
(20, 206, 'password', 'pw', NULL),
(20, 206, 'reload', 'reload', NULL),
(20, 206, 'remain', 'uebrig', NULL),
(20, 206, 'reward', 'verguetung', NULL),
(20, 207, 'extra', 'typ', 'buttonview'),
-(20, 207, 'id', 'id', NULL),
+(20, 207, 'affiliate_id', 'id', NULL),
(20, 207, 'password', 'pw', NULL),
(20, 207, 'reload', 'reload', NULL),
(20, 207, 'remain', 'uebrig', NULL),
(20, 207, 'reward', 'verguetung', NULL),
(20, 208, 'extra', 'typ', 'textview'),
-(20, 208, 'id', 'id', NULL),
+(20, 208, 'affiliate_id', 'id', NULL),
(20, 208, 'password', 'pw', NULL),
(20, 208, 'reload', 'reload', NULL),
(20, 208, 'remain', 'uebrig', NULL),
(20, 208, 'reward', 'verguetung', NULL),
(20, 209, 'extra', 'typ', 'traffic'),
-(20, 209, 'id', 'id', NULL),
+(20, 209, 'affiliate_id', 'id', NULL),
(20, 209, 'password', 'pw', NULL),
(20, 209, 'reload', 'reload', NULL),
(20, 209, 'remain', 'uebrig', NULL),
(20, 209, 'reward', 'verguetung', NULL),
(20, 210, 'extra', 'typ', 'popup'),
-(20, 210, 'id', 'id', NULL),
+(20, 210, 'affiliate_id', 'id', NULL),
(20, 210, 'minimum_stay', 'ma', NULL),
(20, 210, 'password', 'pw', NULL),
(20, 210, 'reload', 'reload', NULL),
(20, 210, 'remain', 'uebrig', NULL),
(20, 210, 'reward', 'verguetung', NULL),
(20, 211, 'extra', 'typ', 'paidmail'),
-(20, 211, 'id', 'id', NULL),
+(20, 211, 'affiliate_id', 'id', NULL),
(20, 211, 'minimum_stay', 'ma', NULL),
(20, 211, 'password', 'pw', NULL),
(20, 211, 'reload', 'reload', NULL),
(20, 211, 'reward', 'verguetung', NULL)");
// Request parameters per type handler - UltraPROMO
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`,`network_type_id`,`network_request_param_key`,`network_request_param_value`,`network_request_param_default`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`, `network_type_id`, `network_request_param_key`, `network_request_param_value`, `network_request_param_default`) VALUES
(21, 125, 'extra', 'typ', 'bannerklick'),
-(21, 125, 'id', 'id', NULL),
+(21, 125, 'affiliate_id', 'id', NULL),
(21, 125, 'password', 'pw', NULL),
(21, 125, 'reload', 'reload', NULL),
(21, 125, 'remain', 'uebrig', NULL),
(21, 125, 'reward', 'verguetung', NULL),
(21, 126, 'extra', 'typ', 'bannerview'),
-(21, 126, 'id', 'id', NULL),
+(21, 126, 'affiliate_id', 'id', NULL),
(21, 126, 'password', 'pw', NULL),
(21, 126, 'reload', 'reload', NULL),
(21, 126, 'remain', 'uebrig', NULL),
(21, 126, 'reward', 'verguetung', NULL),
(21, 127, 'extra', 'typ', 'buttonview'),
-(21, 127, 'id', 'id', NULL),
+(21, 127, 'affiliate_id', 'id', NULL),
(21, 127, 'password', 'pw', NULL),
(21, 127, 'reload', 'reload', NULL),
(21, 127, 'remain', 'uebrig', NULL),
(21, 127, 'reward', 'verguetung', NULL),
(21, 128, 'extra', 'typ', 'forcedbanner'),
-(21, 128, 'id', 'id', NULL),
+(21, 128, 'affiliate_id', 'id', NULL),
(21, 128, 'password', 'pw', NULL),
(21, 128, 'reload', 'reload', NULL),
(21, 128, 'remain', 'uebrig', NULL),
(21, 128, 'reward', 'verguetung', NULL),
(21, 129, 'extra', 'typ', 'forcedtextlink'),
-(21, 129, 'id', 'id', NULL),
+(21, 129, 'affiliate_id', 'id', NULL),
(21, 129, 'password', 'pw', NULL),
(21, 129, 'reload', 'reload', NULL),
(21, 129, 'remain', 'uebrig', NULL),
(21, 129, 'reward', 'verguetung', NULL),
(21, 130, 'extra', 'typ', 'popup'),
-(21, 130, 'id', 'id', NULL),
+(21, 130, 'affiliate_id', 'id', NULL),
(21, 130, 'minimum_stay', 'ma', NULL),
(21, 130, 'password', 'pw', NULL),
(21, 130, 'reload', 'reload', NULL),
(21, 130, 'remain', 'uebrig', NULL),
(21, 130, 'reward', 'verguetung', NULL),
(21, 131, 'extra', 'typ', 'skybannerview'),
-(21, 131, 'id', 'id', NULL),
+(21, 131, 'affiliate_id', 'id', NULL),
(21, 131, 'password', 'pw', NULL),
(21, 131, 'reload', 'reload', NULL),
(21, 131, 'remain', 'uebrig', NULL),
(21, 131, 'reward', 'verguetung', NULL),
(21, 132, 'extra', 'typ', 'textview'),
-(21, 132, 'id', 'id', NULL),
+(21, 132, 'affiliate_id', 'id', NULL),
(21, 132, 'password', 'pw', NULL),
(21, 132, 'reload', 'reload', NULL),
(21, 132, 'remain', 'uebrig', NULL),
(21, 132, 'reward', 'verguetung', NULL),
(21, 133, 'extra', 'typ', 'paidmail'),
-(21, 133, 'id', 'id', NULL),
+(21, 133, 'affiliate_id', 'id', NULL),
(21, 133, 'minimum_stay', 'ma', NULL),
(21, 133, 'password', 'pw', NULL),
(21, 133, 'reload', 'reload', NULL),
(21, 133, 'remain', 'uebrig', NULL),
(21, 133, 'reward', 'verguetung', NULL),
(21, 134, 'extra', 'typ', 'traffic'),
-(21, 134, 'id', 'id', NULL),
+(21, 134, 'affiliate_id', 'id', NULL),
(21, 134, 'password', 'pw', NULL),
(21, 134, 'reload', 'reload', NULL),
(21, 134, 'remain', 'uebrig', NULL),
(21, 134, 'reward', 'verguetung', NULL)");
// Request parameters per type handler - VIPads.de
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`,`network_type_id`,`network_request_param_key`,`network_request_param_value`,`network_request_param_default`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`, `network_type_id`, `network_request_param_key`, `network_request_param_value`, `network_request_param_default`) VALUES
(27, 247, 'extra', 'art', 'bannerklick'),
-(27, 247, 'id', 'uid', NULL),
+(27, 247, 'affiliate_id', 'uid', NULL),
(27, 247, 'password', 'pw', NULL),
(27, 247, 'reload', 'reload', NULL),
(27, 247, 'remain', 'uebrig', NULL),
(27, 247, 'reward', 'verguetung', NULL),
(27, 247, 'sid', 'sid', NULL),
(27, 248, 'extra', 'art', 'bannerview'),
-(27, 248, 'id', 'uid', NULL),
+(27, 248, 'affiliate_id', 'uid', NULL),
(27, 248, 'password', 'pw', NULL),
(27, 248, 'reload', 'reload', NULL),
(27, 248, 'remain', 'uebrig', NULL),
(27, 248, 'reward', 'verguetung', NULL),
(27, 248, 'sid', 'sid', NULL),
(27, 249, 'extra', 'art', 'buttonklick'),
-(27, 249, 'id', 'uid', NULL),
+(27, 249, 'affiliate_id', 'uid', NULL),
(27, 249, 'password', 'pw', NULL),
(27, 249, 'reload', 'reload', NULL),
(27, 249, 'remain', 'uebrig', NULL),
(27, 249, 'reward', 'verguetung', NULL),
(27, 249, 'sid', 'sid', NULL),
(27, 250, 'extra', 'art', 'buttonview'),
-(27, 250, 'id', 'uid', NULL),
+(27, 250, 'affiliate_id', 'uid', NULL),
(27, 250, 'password', 'pw', NULL),
(27, 250, 'reload', 'reload', NULL),
(27, 250, 'remain', 'uebrig', NULL),
(27, 250, 'reward', 'verguetung', NULL),
(27, 250, 'sid', 'sid', NULL),
(27, 251, 'extra', 'art', 'forcedbanner'),
-(27, 251, 'id', 'uid', NULL),
+(27, 251, 'affiliate_id', 'uid', NULL),
(27, 251, 'minimum_stay', 'ma', NULL),
(27, 251, 'password', 'pw', NULL),
(27, 251, 'reload', 'reload', NULL),
(27, 251, 'reward', 'verguetung', NULL),
(27, 251, 'sid', 'sid', NULL),
(27, 252, 'extra', 'art', 'htmlmail'),
-(27, 252, 'id', 'id', NULL),
+(27, 252, 'affiliate_id', 'id', NULL),
(27, 252, 'minimum_stay', 'ma', NULL),
(27, 252, 'password', 'pw', NULL),
(27, 252, 'reload', 'reload', NULL),
(27, 252, 'reward', 'verguetung', NULL),
(27, 252, 'sid', 'sid', NULL),
(27, 253, 'extra', 'art', 'layer'),
-(27, 253, 'id', 'uid', NULL),
+(27, 253, 'affiliate_id', 'uid', NULL),
(27, 253, 'password', 'pw', NULL),
(27, 253, 'reload', 'reload', NULL),
(27, 253, 'remain', 'uebrig', NULL),
(27, 253, 'reward', 'verguetung', NULL),
(27, 253, 'sid', 'sid', NULL),
(27, 254, 'extra', 'art', 'paidmail'),
-(27, 254, 'id', 'uid', NULL),
+(27, 254, 'affiliate_id', 'uid', NULL),
(27, 254, 'minimum_stay', 'ma', NULL),
(27, 254, 'password', 'pw', NULL),
(27, 254, 'reload', 'reload', NULL),
(27, 254, 'reward', 'verguetung', NULL),
(27, 254, 'sid', 'sid', NULL),
(27, 255, 'extra', 'art', 'popup'),
-(27, 255, 'id', 'uid', NULL),
+(27, 255, 'affiliate_id', 'uid', NULL),
(27, 255, 'minimum_stay', 'ma', NULL),
(27, 255, 'password', 'pw', NULL),
(27, 255, 'reload', 'reload', NULL),
(27, 255, 'reward', 'verguetung', NULL),
(27, 255, 'sid', 'sid', NULL),
(27, 256, 'extra', 'art', 'skybannerklick'),
-(27, 256, 'id', 'uid', NULL),
+(27, 256, 'affiliate_id', 'uid', NULL),
(27, 256, 'password', 'pw', NULL),
(27, 256, 'reload', 'reload', NULL),
(27, 256, 'remain', 'uebrig', NULL),
(27, 256, 'reward', 'verguetung', NULL),
(27, 256, 'sid', 'sid', NULL),
(27, 257, 'extra', 'art', 'skybannerview'),
-(27, 257, 'id', 'uid', NULL),
+(27, 257, 'affiliate_id', 'uid', NULL),
(27, 257, 'password', 'pw', NULL),
(27, 257, 'reload', 'reload', NULL),
(27, 257, 'remain', 'uebrig', NULL),
(27, 257, 'reward', 'verguetung', NULL),
(27, 257, 'sid', 'sid', NULL),
(27, 258, 'extra', 'art', 'textlinkklick'),
-(27, 258, 'id', 'uid', NULL),
+(27, 258, 'affiliate_id', 'uid', NULL),
(27, 258, 'password', 'pw', NULL),
(27, 258, 'reload', 'reload', NULL),
(27, 258, 'remain', 'uebrig', NULL),
(27, 258, 'reward', 'verguetung', NULL),
(27, 258, 'sid', 'sid', NULL),
(27, 259, 'extra', 'art', 'traffic'),
-(27, 259, 'id', 'uid', NULL),
+(27, 259, 'affiliate_id', 'uid', NULL),
(27, 259, 'minimum_stay', 'ma', NULL),
(27, 259, 'password', 'pw', NULL),
(27, 259, 'reload', 'reload', NULL),
(27, 259, 'sid', 'sid', NULL)");
// Request parameters per type handler - Der Werbepartner.cc
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`,`network_type_id`,`network_request_param_key`,`network_request_param_value`,`network_request_param_default`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`, `network_type_id`, `network_request_param_key`, `network_request_param_value`, `network_request_param_default`) VALUES
(22, 145, 'extra', 'art', 'Textlinkklick'),
-(22, 145, 'id', 'uid', NULL),
+(22, 145, 'affiliate_id', 'uid', NULL),
(22, 145, 'password', 'pw', NULL),
(22, 145, 'reload', 'reload', NULL),
(22, 145, 'remain', 'offen', NULL),
(22, 145, 'reward', 'verg', NULL),
(22, 145, 'sid', 'sid', NULL),
(22, 146, 'extra', 'art', 'Forcedbanner'),
-(22, 146, 'id', 'uid', NULL),
+(22, 146, 'affiliate_id', 'uid', NULL),
(22, 146, 'password', 'pw', NULL),
(22, 146, 'reload', 'reload', NULL),
(22, 146, 'remain', 'offen', NULL),
(22, 146, 'reward', 'verg', NULL),
(22, 146, 'sid', 'sid', NULL),
(22, 147, 'extra', 'art', 'Paidmail'),
-(22, 147, 'id', 'uid', NULL),
+(22, 147, 'affiliate_id', 'uid', NULL),
(22, 147, 'password', 'pw', NULL),
(22, 147, 'reload', 'reload', NULL),
(22, 147, 'remain', 'offen', NULL),
(22, 147, 'reward', 'verg', NULL),
(22, 147, 'sid', 'sid', NULL),
(22, 148, 'extra', 'art', 'Layer'),
-(22, 148, 'id', 'uid', NULL),
+(22, 148, 'affiliate_id', 'uid', NULL),
(22, 148, 'password', 'pw', NULL),
(22, 148, 'reload', 'reload', NULL),
(22, 148, 'remain', 'offen', NULL),
(22, 148, 'reward', 'verg', NULL),
(22, 148, 'sid', 'sid', NULL),
(22, 149, 'extra', 'art', 'Skybannerklick'),
-(22, 149, 'id', 'uid', NULL),
+(22, 149, 'affiliate_id', 'uid', NULL),
(22, 149, 'password', 'pw', NULL),
(22, 149, 'reload', 'reload', NULL),
(22, 149, 'remain', 'offen', NULL),
(22, 149, 'reward', 'verg', NULL),
(22, 149, 'sid', 'sid', NULL),
(22, 150, 'extra', 'art', 'Surfbarklick'),
-(22, 150, 'id', 'uid', NULL),
+(22, 150, 'affiliate_id', 'uid', NULL),
(22, 150, 'password', 'pw', NULL),
(22, 150, 'reload', 'reload', NULL),
(22, 150, 'remain', 'offen', NULL),
(22, 150, 'reward', 'verg', NULL),
(22, 150, 'sid', 'sid', NULL),
(22, 151, 'extra', 'art', 'Bannerview'),
-(22, 151, 'id', 'uid', NULL),
+(22, 151, 'affiliate_id', 'uid', NULL),
(22, 151, 'password', 'pw', NULL),
(22, 151, 'reload', 'reload', NULL),
(22, 151, 'remain', 'offen', NULL),
(22, 151, 'reward', 'verg', NULL),
(22, 151, 'sid', 'sid', NULL),
(22, 152, 'extra', 'art', 'PopUp'),
-(22, 152, 'id', 'uid', NULL),
+(22, 152, 'affiliate_id', 'uid', NULL),
(22, 152, 'password', 'pw', NULL),
(22, 152, 'reload', 'reload', NULL),
(22, 152, 'remain', 'offen', NULL),
(22, 152, 'reward', 'verg', NULL),
(22, 152, 'sid', 'sid', NULL),
(22, 153, 'extra', 'art', 'Bannerklick'),
-(22, 153, 'id', 'uid', NULL),
+(22, 153, 'affiliate_id', 'uid', NULL),
(22, 153, 'password', 'pw', NULL),
(22, 153, 'reload', 'reload', NULL),
(22, 153, 'reward', 'verg', NULL),
(22, 153, 'sid', 'sid', NULL),
(22, 153, 'type', 'offen', NULL),
(22, 154, 'extra', 'art', 'Forcedtextlink'),
-(22, 154, 'id', 'uid', NULL),
+(22, 154, 'affiliate_id', 'uid', NULL),
(22, 154, 'password', 'pw', NULL),
(22, 154, 'reload', 'reload', NULL),
(22, 154, 'remain', 'offen', NULL),
(22, 154, 'reward', 'verg', NULL),
(22, 154, 'sid', 'sid', NULL),
(22, 155, 'extra', 'art', 'Traffic'),
-(22, 155, 'id', 'id', NULL),
+(22, 155, 'affiliate_id', 'id', NULL),
(22, 155, 'password', 'pw', NULL),
(22, 155, 'reload', 'reload', NULL),
(22, 155, 'remain', 'offen', NULL),
(22, 155, 'sid', 'sid', NULL)");
// Request parameters per type handler - Yoo!Media
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`,`network_type_id`,`network_request_param_key`,`network_request_param_value`,`network_request_param_default`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`, `network_type_id`, `network_request_param_key`, `network_request_param_value`, `network_request_param_default`) VALUES
(23, 156, 'erotic', 'erotik', NULL),
-(23, 156, 'id', 'id', NULL),
+(23, 156, 'affiliate_id', 'id', NULL),
(23, 156, 'password', 'pw', NULL),
(23, 156, 'reload', 'reload', NULL),
(23, 156, 'remain', 'uebrig', NULL),
(23, 156, 'sid', 'sid', NULL),
(23, 156, 'size', 'size', '468x60'),
(23, 157, 'erotic', 'erotik', NULL),
-(23, 157, 'id', 'id', NULL),
+(23, 157, 'affiliate_id', 'id', NULL),
(23, 157, 'password', 'pw', NULL),
(23, 157, 'reload', 'reload', NULL),
(23, 157, 'remain', 'uebrig', NULL),
(23, 157, 'reward', 'verguetung', NULL),
(23, 157, 'sid', 'sid', NULL),
(23, 158, 'erotic', 'erotik', NULL),
-(23, 158, 'id', 'id', NULL),
+(23, 158, 'affiliate_id', 'id', NULL),
(23, 158, 'password', 'pw', NULL),
(23, 158, 'reload', 'reload', NULL),
(23, 158, 'remain', 'uebrig', NULL),
(23, 158, 'sid', 'sid', NULL),
(23, 158, 'size', 'size', '468x60'),
(23, 159, 'erotic', 'erotik', NULL),
-(23, 159, 'id', 'id', NULL),
+(23, 159, 'affiliate_id', 'id', NULL),
(23, 159, 'minimum_stay', 'ma', NULL),
(23, 159, 'password', 'pw', NULL),
(23, 159, 'reload', 'reload', NULL),
(23, 159, 'sid', 'sid', NULL),
(23, 159, 'size', 'size', '468x60'),
(23, 160, 'erotic', 'erotik', NULL),
-(23, 160, 'id', 'id', NULL),
+(23, 160, 'affiliate_id', 'id', NULL),
(23, 160, 'password', 'pw', NULL),
(23, 160, 'reload', 'reload', NULL),
(23, 160, 'remain', 'uebrig', NULL),
(23, 160, 'reward', 'verguetung', NULL),
(23, 160, 'sid', 'sid', NULL),
(23, 161, 'erotic', 'erotik', NULL),
-(23, 161, 'id', 'id', NULL),
+(23, 161, 'affiliate_id', 'id', NULL),
(23, 161, 'minimum_stay', 'ma', NULL),
(23, 161, 'password', 'pw', NULL),
(23, 161, 'reload', 'reload', NULL),
(23, 161, 'reward', 'verguetung', NULL),
(23, 161, 'sid', 'sid', NULL),
(23, 162, 'erotic', 'erotik', NULL),
-(23, 162, 'id', 'id', NULL),
+(23, 162, 'affiliate_id', 'id', NULL),
(23, 162, 'minimum_stay', 'ma', NULL),
(23, 162, 'password', 'pw', NULL),
(23, 162, 'reload', 'reload', NULL),
(23, 162, 'reward', 'verguetung', NULL),
(23, 162, 'sid', 'sid', NULL),
(23, 163, 'erotic', 'erotik', NULL),
-(23, 163, 'id', 'id', NULL),
+(23, 163, 'affiliate_id', 'id', NULL),
(23, 163, 'password', 'pw', NULL),
(23, 163, 'reload', 'reload', NULL),
(23, 163, 'remain', 'uebrig', NULL),
(23, 163, 'reward', 'verguetung', NULL),
(23, 163, 'sid', 'sid', NULL),
(23, 164, 'erotic', 'erotik', NULL),
-(23, 164, 'id', 'id', NULL),
+(23, 164, 'affiliate_id', 'id', NULL),
(23, 164, 'minimum_stay', 'ma', NULL),
(23, 164, 'password', 'pw', NULL),
(23, 164, 'reload', 'reload', NULL),
(23, 164, 'reward', 'verguetung', NULL),
(23, 164, 'sid', 'sid', NULL),
(23, 165, 'erotic', 'erotik', NULL),
-(23, 165, 'id', 'id', NULL),
+(23, 165, 'affiliate_id', 'id', NULL),
(23, 165, 'minimum_stay', 'ma', NULL),
(23, 165, 'password', 'pw', NULL),
(23, 165, 'reload', 'reload', NULL),
(23, 165, 'reward', 'verguetung', NULL),
(23, 165, 'sid', 'sid', NULL),
(23, 166, 'erotic', 'erotik', NULL),
-(23, 166, 'id', 'id', NULL),
+(23, 166, 'affiliate_id', 'id', NULL),
(23, 166, 'password', 'pw', NULL),
(23, 166, 'remain', 'uebrig', NULL),
(23, 166, 'reward', 'verguetung', NULL),
(23, 166, 'sid', 'sid', NULL)");
// API array elements - A3H
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`, `network_type_id`, `network_array_index`, `sort`) VALUES
(1, 1, 7, 1),
(1, 1, 2, 2),
(1, 1, 3, 3),
(1, 390, 6, 6)");
// API array elements - AbisZED-Netz
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`, `network_type_id`, `network_array_index`, `sort`) VALUES
(2, 187, 7, 1),
(2, 187, 2, 2),
(2, 187, 3, 3),
(2, 201, 25, 10)");
// API array elements - Ad-Hit.de
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`, `network_type_id`, `network_array_index`, `sort`) VALUES
(31, 302, 1, 1),
(31, 302, 2, 2),
(31, 302, 4, 3),
// API array elements - AD-Magnet
// API array elements - AD-Promotion
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`, `network_type_id`, `network_array_index`, `sort`) VALUES
(37, 367, 1, 1),
(37, 367, 2, 2),
(37, 367, 4, 3),
(37, 376, 40, 8)");
// API array elements - AdCity.eu
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`, `network_type_id`, `network_array_index`, `sort`) VALUES
(32, 312, 1, 1),
(32, 312, 2, 2),
(32, 312, 4, 3),
// API array elements - ADCocktail
// API array elements - AdConvention
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`, `network_type_id`, `network_array_index`, `sort`) VALUES
(30, 292, 1, 1),
(30, 292, 2, 2),
(30, 292, 4, 3),
(30, 301, 9, 7)");
// API array elements - adgain.de
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`, `network_type_id`, `network_array_index`, `sort`) VALUES
(33, 322, 1, 1),
(33, 322, 2, 2),
(33, 322, 5, 3),
(33, 335, 9, 6)");
// API array elements - ADkracher
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`, `network_type_id`, `network_array_index`, `sort`) VALUES
(34, 336, 1, 1),
(34, 336, 2, 2),
(34, 336, 5, 3),
(34, 348, 10, 6)");
// API array elements - Adminlose.de
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`, `network_type_id`, `network_array_index`, `sort`) VALUES
(35, 349, 1, 1),
(35, 349, 2, 2),
(35, 349, 4, 3),
(35, 356, 6, 5),
(35, 356, 10, 6)");
+ // API array elements - Adminlose.de
+
// Vcheck request parameters - AdConvention
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_vcheck_params` (`network_id`,`network_vcheck_param_key`,`network_vcheck_param_value`,`network_vcheck_param_default`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_vcheck_params` (`network_id`, `network_vcheck_param_key`, `network_vcheck_param_value`, `network_vcheck_param_default`) VALUES
(30, 'network_key', 'pass', NULL),
(30, 'payment', 'verguetung', NULL),
(30, 'remote_address', 'ip', NULL),
(30, 'extra_value2', 'v2', NULL)");
// Vcheck request parameters - adgain.de
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_vcheck_params` (`network_id`,`network_vcheck_param_key`,`network_vcheck_param_value`,`network_vcheck_param_default`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_vcheck_params` (`network_id`, `network_vcheck_param_key`, `network_vcheck_param_value`, `network_vcheck_param_default`) VALUES
(33, 'network_key', 'pass', NULL),
(33, 'payment', 'verguetung', NULL),
(33, 'remote_address', 'ip', NULL),
(33, 'extra_value2', 'v2', NULL)");
// Vcheck request parameters - ADkracher
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_vcheck_params` (`network_id`,`network_vcheck_param_key`,`network_vcheck_param_value`,`network_vcheck_param_default`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_vcheck_params` (`network_id`, `network_vcheck_param_key`, `network_vcheck_param_value`, `network_vcheck_param_default`) VALUES
(34, 'network_key', 'pass', NULL),
(34, 'payment', 'verguetung', NULL),
(34, 'remote_address', 'ip', NULL),
(34, 'extra_value2', 'v2', NULL)");
// Vcheck request parameters - Admono.de
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_vcheck_params` (`network_id`,`network_vcheck_param_key`,`network_vcheck_param_value`,`network_vcheck_param_default`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_vcheck_params` (`network_id`, `network_vcheck_param_key`, `network_vcheck_param_value`, `network_vcheck_param_default`) VALUES
(36, 'sid', 'sid', '%sid%'),
(36, 'type', 'werbeart', '%werbeart%'),
(36, 'remote_address', 'ip', '%ip%'),
(36, 'extra_value2', 'var2', NULL)");
// Vcheck request parameters - AllAds4You
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_vcheck_params` (`network_id`,`network_vcheck_param_key`,`network_vcheck_param_value`,`network_vcheck_param_default`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_vcheck_params` (`network_id`, `network_vcheck_param_key`, `network_vcheck_param_value`, `network_vcheck_param_default`) VALUES
(10, 'sid', 'sid', '%sid%'),
(10, 'type', 'werbeart', '%werbeart%'),
(10, 'remote_address', 'ip', '%ip%'),
(10, 'extra_value2', 'var2', NULL)");
// Vcheck request parameters - FuCoExSponsor.net
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_vcheck_params` (`network_id`,`network_vcheck_param_key`,`network_vcheck_param_value`,`network_vcheck_param_default`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_vcheck_params` (`network_id`, `network_vcheck_param_key`, `network_vcheck_param_value`, `network_vcheck_param_default`) VALUES
(29, 'network_key', 'pass', NULL),
(29, 'payment', 'verguetung', NULL),
(29, 'remote_address', 'ip', NULL),
(29, 'extra_value2', 'v2', NULL)");
// Vcheck request parameters - GigaPromo.de
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_vcheck_params` (`network_id`,`network_vcheck_param_key`,`network_vcheck_param_value`,`network_vcheck_param_default`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_vcheck_params` (`network_id`, `network_vcheck_param_key`, `network_vcheck_param_value`, `network_vcheck_param_default`) VALUES
(14, 'type', 'wart', '#wart#'),
(14, 'campaign_id', 'kid', '#bid#'),
(14, 'remote_address', 'ip', '#ip#'),
(14, 'extra_value4', 'var4', NULL)");
// Vcheck request parameters - mega-ad.de
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_vcheck_params` (`network_id`,`network_vcheck_param_key`,`network_vcheck_param_value`,`network_vcheck_param_default`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_vcheck_params` (`network_id`, `network_vcheck_param_key`, `network_vcheck_param_value`, `network_vcheck_param_default`) VALUES
(17, 'sid', 'sid', '%sid%'),
(17, 'type', 'werbeart', '%werbeart%'),
(17, 'remote_address', 'ip', '%ip%'),
(17, 'extra_value1', 'var1', NULL),
(17, 'extra_value2', 'var2', NULL)");
+ // Vcheck request parameters - SuperPromo24
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_vcheck_params` (`network_id`, `network_vcheck_param_key`, `network_vcheck_param_value`, `network_vcheck_param_default`) VALUES
+(41, 'payment', 'verguetung', '%verguetung%'),
+(41, 'remote_address', 'ip', '%ip%'),
+(41, 'campaign_id', 'kampagnenid', '%kampagnenid%'),
+(41, 'type', 'werbeart', '%werbeart%'),
+(41, 'extra_value1', 'v1', NULL),
+(41, 'extra_value2', 'v2', NULL),
+(41, 'reason', 'grund', '%grund%')");
+
// Vcheck request parameters - VIPads
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_vcheck_params` (`network_id`,`network_vcheck_param_key`,`network_vcheck_param_value`,`network_vcheck_param_default`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_vcheck_params` (`network_id`, `network_vcheck_param_key`, `network_vcheck_param_value`, `network_vcheck_param_default`) VALUES
(27, 'network_key', 'pass', NULL),
(27, 'payment', 'verguetung', NULL),
(27, 'remote_address', 'ip', NULL),
(27, 'extra_value2', 'v2', NULL)");
// API array elements - Admono.de
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`, `network_type_id`, `network_array_index`, `sort`) VALUES
(36, 357, 1, 1),
(36, 357, 2, 2),
(36, 357, 4, 3),
(36, 366, 9, 7)");
// API array elements - AdPaid
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`, `network_type_id`, `network_array_index`, `sort`) VALUES
(5, 177, 7, 1),
(5, 177, 2, 2),
(5, 177, 3, 3),
(5, 185, 9, 9)");
// API array elements - AdProvi
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`, `network_type_id`, `network_array_index`, `sort`) VALUES
(38, 377, 1, 1),
(38, 377, 2, 2),
(38, 377, 4, 3),
(38, 386, 40, 8)");
// API array elements - Ads2Earn
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`, `network_type_id`, `network_array_index`, `sort`) VALUES
(39, 395, 1, 1),
(39, 395, 2, 2),
(39, 395, 3, 3),
(39, 405, 10, 8)");
// API array elements - Ads2Webbi
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`, `network_type_id`, `network_array_index`, `sort`) VALUES
(40, 406, 1, 1),
(40, 406, 2, 2),
(40, 406, 4, 3),
(40, 415, 9, 7)");
// API array elements - Ads4.de
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`, `network_type_id`, `network_array_index`, `sort`) VALUES
(6, 14, 7, 1),
(6, 14, 2, 2),
(6, 14, 6, 3),
(6, 119, 10, 6)");
// API array elements - Ads4Webbis
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`, `network_type_id`, `network_array_index`, `sort`) VALUES
(7, 17, 1, 1),
(7, 17, 2, 2),
(7, 17, 4, 3),
(7, 120, 27, 8)");
// API array elements - Ads4World
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`, `network_type_id`, `network_array_index`, `sort`) VALUES
(8, 26, 1, 1),
(8, 26, 2, 2),
(8, 26, 4, 3),
// API array elements - Affiliblatt
// API array elements - AllAds4You
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`, `network_type_id`, `network_array_index`, `sort`) VALUES
(10, 167, 1, 1),
(10, 167, 2, 2),
(10, 167, 4, 3),
(10, 176, 40, 8)");
// API array elements - Alster-Marketing
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`, `network_type_id`, `network_array_index`, `sort`) VALUES
(11, 35, 7, 1),
(11, 35, 2, 2),
(11, 35, 3, 3),
(11, 49, 6, 5)");
// API array elements - BonusSponsor
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`, `network_type_id`, `network_array_index`, `sort`) VALUES
(12, 50, 7, 1),
(12, 50, 2, 2),
(12, 50, 3, 3),
(12, 62, 9, 19)");
// API array elements - City-Ads
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`, `network_type_id`, `network_array_index`, `sort`) VALUES
(24, 212, 1, 1),
(24, 212, 2, 2),
(24, 212, 4, 3),
(24, 221, 27, 8)");
// API array elements - doubleads
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`, `network_type_id`, `network_array_index`, `sort`) VALUES
(26, 232, 1, 1),
(26, 232, 2, 2),
(26, 232, 3, 3),
(26, 246, 25, 10)");
// API array elements - FuCoExSponsor.net
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`, `network_type_id`, `network_array_index`, `sort`) VALUES
(29, 273, 7, 1),
(29, 273, 2, 2),
(29, 273, 5, 3),
(29, 289, 10, 6)");
// API array elements - Fusion-Ads
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`, `network_type_id`, `network_array_index`, `sort`) VALUES
(13, 290, 1, 1),
(13, 290, 2, 2),
(13, 290, 6, 3),
(13, 291, 10, 8)");
// API array elements - GigaPromo
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`, `network_type_id`, `network_array_index`, `sort`) VALUES
(14, 102, 7, 1),
(14, 102, 2, 2),
(14, 102, 4, 3),
(14, 122, 6, 5)");
// API array elements - Gold-Sponsor
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`, `network_type_id`, `network_array_index`, `sort`) VALUES
(25, 222, 1, 1),
(25, 222, 2, 2),
(25, 222, 4, 3),
(25, 231, 9, 7)");
// API array elements - homeADS
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`, `network_type_id`, `network_array_index`, `sort`) VALUES
(28, 260, 1, 1),
(28, 260, 2, 2),
(28, 260, 3, 3),
(28, 272, 5, 10)");
// API array elements - HPSponsor
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`, `network_type_id`, `network_array_index`, `sort`) VALUES
(15, 135, 1, 1),
(15, 135, 2, 2),
(15, 135, 4, 3),
(15, 144, 27, 8)");
// API array elements - Make-Euros.de
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`, `network_type_id`, `network_array_index`, `sort`) VALUES
(16, 63, 7, 1),
(16, 63, 2, 2),
(16, 63, 3, 3),
(16, 76, 9, 9)");
// API array elements - Mega-Ad
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`, `network_type_id`, `network_array_index`, `sort`) VALUES
(17, 109, 1, 1),
(17, 109, 2, 2),
(17, 109, 4, 3),
(17, 123, 6, 5)");
// API array elements - Power-Promo
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`, `network_type_id`, `network_array_index`, `sort`) VALUES
(18, 78, 7, 1),
(18, 78, 2, 2),
(18, 78, 3, 3),
(18, 92, 25, 10)");
// API array elements - SeCash
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`, `network_type_id`, `network_array_index`, `sort`) VALUES
(19, 93, 1, 1),
(19, 93, 2, 2),
(19, 93, 4, 3),
(19, 124, 6, 5)");
// API array elements - WeltPromotion
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`, `network_type_id`, `network_array_index`, `sort`) VALUES
(20, 200, 6, 5),
(20, 202, 1, 1),
(20, 202, 2, 2),
(20, 211, 27, 8)");
// API array elements - UltraPOMO
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`, `network_type_id`, `network_array_index`, `sort`) VALUES
(21, 125, 1, 1),
(21, 125, 2, 2),
(21, 125, 4, 3),
(21, 134, 6, 5)");
// API array elements - VIPads
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`, `network_type_id`, `network_array_index`, `sort`) VALUES
(27, 247, 7, 1),
(27, 247, 2, 2),
(27, 247, 5, 3),
(27, 259, 10, 6)");
// API array elements - Der Werbepartner.cc
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`, `network_type_id`, `network_array_index`, `sort`) VALUES
(22, 145, 1, 1),
(22, 145, 2, 2),
(22, 145, 6, 3),
(22, 155, 10, 7)");
// API array elements - Yoo!Media
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`, `network_type_id`, `network_array_index`, `sort`) VALUES
(23, 156, 1, 1),
(23, 156, 2, 2),
(23, 156, 3, 3),
addAdminMenuSql('network', 'query_network_apis', 'APIs abfragen', 'Fragt alle eingestellten APIs ab. Die Ergebnisse werden dann für einen einstellbaren Zeitraum gecacht und nicht erneut angefordert.',4);
addAdminMenuSql('network', 'config_network', 'Einstellungen', 'Stellen Sie generelle Einstellungen ein, die für alle Werbenetzwerke gelten, wie z.B. Cache-Erneuerungsinterval. Generell sind aber die Einstellungen in Ordnung, da z.B. sonst Ihre freien Abfragen beim Werbenetzwerk sich zu schnell abbauen.',5);
addAdminMenuSql('network', 'list_network_reloads', 'Reload-Sperren', 'Listen oder löschen Sie hier Reload-Sperren. <strong>Vorsicht:</strong> Die hier gespeicherten Reload-Sperren sind vom jeweiligen Werbenetzwerk übernommen. Eventuell verdienen Sie nichts, wenn Sie z.B. eine Mail innerhalb der Reload-Sperre erneut versenden.',6);
- addAdminMenuSql('network', 'list_networks', 'Dev-Grunddaten', '<strong>Entwicklereinstellungen!</strong> Hier ändern Sie die Einstellungen an den Grunddaten (Stammdaten) des jeweiligen Werbenetzwerks ab. Sie sollten hier generell nichts einstellen und <a href="http://forum.mxchange.org/forum-43.html" target="_blank" title="Direktlink zum Forum">im Forum</a> um Hilfe fragen, wenn Sie selber ein Werbenetzwerk einrichten möchten.', 7);
+ addAdminMenuSql('network', 'list_network_data', 'Dev-Grunddaten', '<strong>Entwicklereinstellungen!</strong> Hier ändern Sie die Einstellungen an den Grunddaten (Stammdaten) des jeweiligen Werbenetzwerks ab. Sie sollten hier generell nichts einstellen und <a href="http://forum.mxchange.org/forum-43.html" target="_blank" title="Direktlink zum Forum">im Forum</a> um Hilfe fragen, wenn Sie selber ein Werbenetzwerk einrichten möchten.', 7);
addAdminMenuSql('network', 'list_network_types', 'Dev-Werbearten-Handler', '<strong>Entwicklereinstellungen!</strong> Hier ändern Sie die Einstellungen zu den Werbearten-Handler pro Werbenetzwerken. Sie sollten hier generell nichts einstellen und <a href="http://forum.mxchange.org/forum-43.html" target="_blank" title="Direktlink zum Forum">im Forum</a> um Hilfe fragen, wenn Sie selber ein Werbenetzwerk einrichten möchten.', 8);
addAdminMenuSql('network', 'list_network_request_params', 'Dev-Abfrageparameter', '<strong>Entwicklereinstellungen!</strong> Hier stellen Sie die Abfrageparameter (wie sie genannt werden müssen, um das API-Script korrekt aufrufen zu können) ein, pro Werbenetzwerk. Sie sollten hier generell nichts einstellen und <a href="http://forum.mxchange.org/forum-43.html" target="_blank" title="Direktlink zum Forum">im Forum</a> um Hilfe fragen, wenn Sie selber ein Werbenetzwerk einrichten möchten.', 9);
addAdminMenuSql('network', 'list_network_vcheck_params', 'Dev-VCheck-Parameter', '<strong>Entwicklereinstellungen!</strong> Hier stellen Sie die Abfrageparameter für <strong>network-vcheck.php</strong> pro Werbenetzwerk ein, damit dies vom Werbenetzwerk zurück korrekt aufgerufen wird. Sie sollten hier generell nichts einstellen und <a href="http://forum.mxchange.org/forum-43.html" target="_blank" title="Direktlink zum Forum">im Forum</a> um Hilfe fragen, wenn Sie selber ein Werbenetzwerk einrichten möchten.', 10);
`nl_order_placed` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
`nl_order_accepted` ENUM('Y','N') NOT NULL DEFAULT 'N',
PRIMARY KEY (`nl_order_id`),
-UNIQUE INDEX `sponsor_nl_topic` (`nl_sponsor_id`,`nl_id`,`nl_topic_id`),
+UNIQUE INDEX `sponsor_nl_topic` (`nl_sponsor_id`, `nl_id`, `nl_topic_id`),
INDEX `topic` (`nl_topic_id`)",
'Newsletter orders');
PRIMARY KEY (`id`),
INDEX (`userid`),
INDEX (`refid`),
-INDEX `admin_member` (`is_admin`,`is_member`)",
+INDEX `admin_member` (`is_admin`, `is_member`)",
'Who-is-where data');
// Admin menu
registerFilter(__FILE__, __LINE__, 'register_must_fillout', 'REGISTER_MUST_FILLOUT', false, true, isExtensionDryRun());
// Run these SQLs
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_must_register` (`field_name`,`field_required`) VALUES ('gender','Y')");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_must_register` (`field_name`,`field_required`) VALUES ('email','Y')");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_must_register` (`field_name`,`field_required`) VALUES ('birthday','Y')");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_must_register` (`field_name`,`field_required`) VALUES ('marker','Y')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_must_register` (`field_name`, `field_required`) VALUES ('gender','Y')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_must_register` (`field_name`, `field_required`) VALUES ('email','Y')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_must_register` (`field_name`, `field_required`) VALUES ('birthday','Y')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_must_register` (`field_name`, `field_required`) VALUES ('marker','Y')");
// Update notes (these will be set as task text!)
setExtensionUpdateNotes("Filter <strong>register_must_fillout</strong> hinzugefügt, weitere Felder in <span class=\"bad\">{?_MYSQL_PREFIX?}_must_register</span> eingefügt.");
`active` ENUM('Y','N') NOT NULL DEFAULT 'N',
`sort` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
PRIMARY KEY (`id`),
-UNIQUE INDEX `action_what` (`action`,`what`),
+UNIQUE INDEX `action_what` (`action`, `what`),
UNIQUE INDEX (`what`),
INDEX (`action`)",
'Sponsor menu');
//
// Default allowed data to display
//
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_admin_data` (`data_row`,`display`) VALUES ('id','N')");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_admin_data` (`data_row`,`display`) VALUES ('company','Y')");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_admin_data` (`data_row`,`display`) VALUES ('position','N')");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_admin_data` (`data_row`,`display`) VALUES ('tax_ident','N')");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_admin_data` (`data_row`,`display`) VALUES ('gender','N')");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_admin_data` (`data_row`,`display`) VALUES ('surname','N')");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_admin_data` (`data_row`,`display`) VALUES ('family','N')");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_admin_data` (`data_row`,`display`) VALUES ('street_nr1','Y')");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_admin_data` (`data_row`,`display`) VALUES ('street_nr2','Y')");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_admin_data` (`data_row`,`display`) VALUES ('zip','Y')");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_admin_data` (`data_row`,`display`) VALUES ('city','Y')");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_admin_data` (`data_row`,`display`) VALUES ('country','Y')");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_admin_data` (`data_row`,`display`) VALUES ('phone','Y')");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_admin_data` (`data_row`,`display`) VALUES ('fax','Y')");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_admin_data` (`data_row`,`display`) VALUES ('email','Y')");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_admin_data` (`data_row`,`display`) VALUES ('url','N')");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_admin_data` (`data_row`,`display`) VALUES ('password','N')");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_admin_data` (`data_row`,`display`) VALUES ('remote_addr','N')");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_admin_data` (`data_row`,`display`) VALUES ('sponsor_created','N')");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_admin_data` (`data_row`,`display`) VALUES ('last_online','N')");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_admin_data` (`data_row`,`display`) VALUES ('last_change','N')");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_admin_data` (`data_row`,`display`) VALUES ('status','N')");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_admin_data` (`data_row`,`display`) VALUES ('receive_warnings','N')");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_admin_data` (`data_row`,`display`) VALUES ('warning_interval','N')");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_admin_data` (`data_row`,`display`) VALUES ('points_amount','N')");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_admin_data` (`data_row`,`display`) VALUES ('points_used','N')");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_admin_data` (`data_row`,`display`) VALUES ('refid','N')");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_admin_data` (`data_row`,`display`) VALUES ('ref_count','N')");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_admin_data` (`data_row`,`display`) VALUES ('hash','N')");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_admin_data` (`data_row`,`display`) VALUES ('last_payment','N')");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_admin_data` (`data_row`,`display`) VALUES ('last_currency','N')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_admin_data` (`data_row`, `display`) VALUES ('id','N')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_admin_data` (`data_row`, `display`) VALUES ('company','Y')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_admin_data` (`data_row`, `display`) VALUES ('position','N')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_admin_data` (`data_row`, `display`) VALUES ('tax_ident','N')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_admin_data` (`data_row`, `display`) VALUES ('gender','N')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_admin_data` (`data_row`, `display`) VALUES ('surname','N')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_admin_data` (`data_row`, `display`) VALUES ('family','N')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_admin_data` (`data_row`, `display`) VALUES ('street_nr1','Y')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_admin_data` (`data_row`, `display`) VALUES ('street_nr2','Y')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_admin_data` (`data_row`, `display`) VALUES ('zip','Y')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_admin_data` (`data_row`, `display`) VALUES ('city','Y')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_admin_data` (`data_row`, `display`) VALUES ('country','Y')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_admin_data` (`data_row`, `display`) VALUES ('phone','Y')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_admin_data` (`data_row`, `display`) VALUES ('fax','Y')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_admin_data` (`data_row`, `display`) VALUES ('email','Y')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_admin_data` (`data_row`, `display`) VALUES ('url','N')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_admin_data` (`data_row`, `display`) VALUES ('password','N')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_admin_data` (`data_row`, `display`) VALUES ('remote_addr','N')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_admin_data` (`data_row`, `display`) VALUES ('sponsor_created','N')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_admin_data` (`data_row`, `display`) VALUES ('last_online','N')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_admin_data` (`data_row`, `display`) VALUES ('last_change','N')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_admin_data` (`data_row`, `display`) VALUES ('status','N')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_admin_data` (`data_row`, `display`) VALUES ('receive_warnings','N')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_admin_data` (`data_row`, `display`) VALUES ('warning_interval','N')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_admin_data` (`data_row`, `display`) VALUES ('points_amount','N')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_admin_data` (`data_row`, `display`) VALUES ('points_used','N')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_admin_data` (`data_row`, `display`) VALUES ('refid','N')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_admin_data` (`data_row`, `display`) VALUES ('ref_count','N')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_admin_data` (`data_row`, `display`) VALUES ('hash','N')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_admin_data` (`data_row`, `display`) VALUES ('last_payment','N')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_admin_data` (`data_row`, `display`) VALUES ('last_currency','N')");
//
// Add default entries
//
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_registry` (`ext_name`,`is_active`,`admin_id`,`stamp_added`) VALUES ('sponsor', 'N', {%%pipe,getCurrentAdminId%%}, NOW())");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_action_convert` (`ext_name`,`conv_rate`,`conv_name`) VALUES ('sponsor',10,'Mails')");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_paytypes` (`pay_name`,`pay_min_count`,`pay_rate`,`pay_currency`) VALUES ('Standard-Paket', 5, 1000.00000, '€')");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_paytypes` (`pay_name`,`pay_min_count`,`pay_rate`,`pay_currency`) VALUES ('Spar-Paket', 1, 200.00000, '€')");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_paytypes` (`pay_name`,`pay_min_count`,`pay_rate`,`pay_currency`) VALUES ('Power-Paket', 10, 2000.00000, '€')");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_paytypes` (`pay_name`,`pay_min_count`,`pay_rate`,`pay_currency`) VALUES ('Sponsor-Paket', 20, 4000.00000, '€')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_registry` (`ext_name`, `is_active`, `admin_id`, `stamp_added`) VALUES ('sponsor', 'N', {%%pipe,getCurrentAdminId%%}, NOW())");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_action_convert` (`ext_name`, `conv_rate`, `conv_name`) VALUES ('sponsor',10,'Mails')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_paytypes` (`pay_name`, `pay_min_count`, `pay_rate`, `pay_currency`) VALUES ('Standard-Paket', 5, 1000.00000, '€')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_paytypes` (`pay_name`, `pay_min_count`, `pay_rate`, `pay_currency`) VALUES ('Spar-Paket', 1, 200.00000, '€')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_paytypes` (`pay_name`, `pay_min_count`, `pay_rate`, `pay_currency`) VALUES ('Power-Paket', 10, 2000.00000, '€')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_paytypes` (`pay_name`, `pay_min_count`, `pay_rate`, `pay_currency`) VALUES ('Sponsor-Paket', 20, 4000.00000, '€')");
//
// Admin menu
//
case '0.5.0': // SQL queries for v0.5.0
addExtensionSql('ALTER TABLE `{?_MYSQL_PREFIX?}_refsystem` DROP INDEX `level`');
addExtensionSql('ALTER TABLE `{?_MYSQL_PREFIX?}_refsystem` DROP INDEX `userid`');
- addExtensionSql('ALTER TABLE `{?_MYSQL_PREFIX?}_refsystem` ADD UNIQUE INDEX `userid_level` (`userid`,`level`)');
+ addExtensionSql('ALTER TABLE `{?_MYSQL_PREFIX?}_refsystem` ADD UNIQUE INDEX `userid_level` (`userid`, `level`)');
// Update notes (these will be set as task text!)
setExtensionUpdateNotes("Referral-System unterstützt nun detailierte Referral-Übersicht und vieles mehr.");
`filter_active` ENUM('N','Y') NOT NULL DEFAULT 'Y',
`filter_counter` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
PRIMARY KEY (`filter_id`),
-UNIQUE INDEX `name_function` (`filter_name`,`filter_function`)",
+UNIQUE INDEX `name_function` (`filter_name`, `filter_function`)",
'Filter system');
// Admin menu
`url_reject_reason` VARCHAR(255) NOT NULL DEFAULT '',
`url_fixed_reload` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
PRIMARY KEY (`url_id`),
-UNIQUE INDEX `userid_url` (`url_userid`,`url`),
-INDEX `status_userid` (`url_status`,`url_userid`)",
+UNIQUE INDEX `userid_url` (`url_userid`, `url`),
+INDEX `status_userid` (`url_status`, `url_userid`)",
'Visitor add-on URLs');
// Reload locks
`locks_url_id` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
`locks_last_surfed` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`locks_id`),
-UNIQUE INDEX `userid_url` (`locks_userid`,`locks_url_id`),
+UNIQUE INDEX `userid_url` (`locks_userid`, `locks_url_id`),
INDEX (`locks_url_id`)",
'Vistor-addon reload locks');
`salts_url_id` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
`salts_last_salt` VARCHAR(255) NOT NULL DEFAULT '',
PRIMARY KEY (`salts_id`),
-UNIQUE INDEX `salts_userid_url` (`salts_userid`,`salts_url_id`),
+UNIQUE INDEX `salts_userid_url` (`salts_userid`, `salts_url_id`),
INDEX (`salts_url_id`)",
'Visitor add-on last used salts');
`stats_count` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
`stats_last_surfed` TIMESTAMP ON UPDATE CURRENT_TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`stats_id`),
-UNIQUE INDEX `userid_url` (`stats_userid`,`stats_url_id`),
+UNIQUE INDEX `userid_url` (`stats_userid`, `stats_url_id`),
INDEX (`stats_url_id`)",
'Visitor add-on Statistics');
`actions_action` ENUM('EDIT','DELETE','PAUSE','UNPAUSE','FRAMETEST','RETREAT','RESUBMIT','BOOKNOW') NULL DEFAULT NULL,
`actions_new_status` ENUM('PENDING','ACTIVE','LOCKED','STOPPED','REJECTED','DELETED','MIGRATED','DEPLETED') NULL DEFAULT NULL,
PRIMARY KEY (`actions_id`),
-UNIQUE INDEX `status_action` (`actions_status`,`actions_action`)",
+UNIQUE INDEX `status_action` (`actions_status`, `actions_action`)",
'Visitor add-on Member Actions');
// Member actions
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`,`actions_action`,`actions_new_status`) VALUES ('PENDING','RETREAT','DELETED')");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`,`actions_action`,`actions_new_status`) VALUES ('PENDING','FRAMETEST',NULL)");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`,`actions_action`,`actions_new_status`) VALUES ('PENDING','EDIT',NULL)");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`,`actions_action`,`actions_new_status`) VALUES ('ACTIVE','EDIT','PENDING')");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`,`actions_action`,`actions_new_status`) VALUES ('ACTIVE','DELETE','DELETED')");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`,`actions_action`,`actions_new_status`) VALUES ('ACTIVE','PAUSE','STOPPED')");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`,`actions_action`,`actions_new_status`) VALUES ('ACTIVE','FRAMETEST',NULL)");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`,`actions_action`,`actions_new_status`) VALUES ('LOCKED','DELETE','DELETED')");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`,`actions_action`,`actions_new_status`) VALUES ('LOCKED','FRAMETEST',NULL)");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`,`actions_action`,`actions_new_status`) VALUES ('LOCKED','RESUBMIT','PENDING')");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`,`actions_action`,`actions_new_status`) VALUES ('STOPPED','EDIT','PENDING')");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`,`actions_action`,`actions_new_status`) VALUES ('STOPPED','DELETE','DELETED')");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`,`actions_action`,`actions_new_status`) VALUES ('STOPPED','UNPAUSE','PENDING')");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`,`actions_action`,`actions_new_status`) VALUES ('DEPLETED','EDIT','PENDING')");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`,`actions_action`,`actions_new_status`) VALUES ('DEPLETED','DELETE','DELETED')");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`,`actions_action`,`actions_new_status`) VALUES ('REJECTED','EDIT','PENDING')");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`,`actions_action`,`actions_new_status`) VALUES ('REJECTED','DELETE','DELETED')");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`,`actions_action`,`actions_new_status`) VALUES ('REJECTED','FRAMETEST',NULL)");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`,`actions_action`,`actions_new_status`) VALUES ('REJECTED','RESUBMIT','PENDING')");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`,`actions_action`,`actions_new_status`) VALUES ('MIGRATED','EDIT','MIGRATED')");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`,`actions_action`,`actions_new_status`) VALUES ('MIGRATED','DELETE','DELETED')");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`,`actions_action`,`actions_new_status`) VALUES ('MIGRATED','FRAMETEST',NULL)");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`,`actions_action`,`actions_new_status`) VALUES ('MIGRATED','BOOKNOW','PENDING')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('PENDING','RETREAT','DELETED')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('PENDING','FRAMETEST',NULL)");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('PENDING','EDIT',NULL)");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('ACTIVE','EDIT','PENDING')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('ACTIVE','DELETE','DELETED')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('ACTIVE','PAUSE','STOPPED')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('ACTIVE','FRAMETEST',NULL)");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('LOCKED','DELETE','DELETED')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('LOCKED','FRAMETEST',NULL)");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('LOCKED','RESUBMIT','PENDING')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('STOPPED','EDIT','PENDING')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('STOPPED','DELETE','DELETED')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('STOPPED','UNPAUSE','PENDING')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('DEPLETED','EDIT','PENDING')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('DEPLETED','DELETE','DELETED')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('REJECTED','EDIT','PENDING')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('REJECTED','DELETE','DELETED')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('REJECTED','FRAMETEST',NULL)");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('REJECTED','RESUBMIT','PENDING')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('MIGRATED','EDIT','MIGRATED')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('MIGRATED','DELETE','DELETED')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('MIGRATED','FRAMETEST',NULL)");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('MIGRATED','BOOKNOW','PENDING')");
// Config entries
addConfigAddSql('surfbar_payment_model', "ENUM('STATIC','DYNAMIC') NOT NULL DEFAULT 'STATIC'");
break;
case '0.2.3': // SQL queries for v0.2.3
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu_las` (`la_id`,`la_action`,`la_what`) VALUES ('member', '', 'list_transfer')");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu_las` (`la_id`,`la_action`,`la_what`) VALUES ('member', '', 'del_transfer')");
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu_las` (`la_id`,`la_action`,`la_what`) VALUES ('config', '', 'config_transfer')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu_las` (`la_id`, `la_action`, `la_what`) VALUES ('member', '', 'list_transfer')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu_las` (`la_id`, `la_action`, `la_what`) VALUES ('member', '', 'del_transfer')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu_las` (`la_id`, `la_action`, `la_what`) VALUES ('config', '', 'config_transfer')");
// Depends on ext-sql_patches (or you have to execute these both SQL statements by phpMyAdmin
addExtensionDependency('sql_patches');
PRIMARY KEY (`userid`),
UNIQUE INDEX (`user_hash`),
INDEX (`refid`),
-INDEX `status_mails` (`status`,`max_mails`)",
+INDEX `status_mails` (`status`, `max_mails`)",
'Main user data');
addDropTableSql('user_points');
case '0.3.6': // SQL queries for v0.3.6
addExtensionSql('ALTER TABLE `{?_MYSQL_PREFIX?}_user_cats` DROP INDEX `userid`');
- addExtensionSql('ALTER TABLE `{?_MYSQL_PREFIX?}_user_cats` ADD UNIQUE `userid_catid` (`userid`,`cat_id`)');
+ addExtensionSql('ALTER TABLE `{?_MYSQL_PREFIX?}_user_cats` ADD UNIQUE `userid_catid` (`userid`, `cat_id`)');
// Update notes (these will be set as task text!)
setExtensionUpdateNotes("Der Sperrgrund wird nun mit abgespeichert und beim Löschen des Users mit ausgesendet.");
`level` smallINT(6) UNSIGNED NOT NULL DEFAULT 0,
`refid` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
PRIMARY KEY (`id`),
-UNIQUE `user_refid` (`userid`,`level`,`refid`),
+UNIQUE `user_refid` (`userid`, `level`, `refid`),
INDEX (`level`),
INDEX (`refid`)",
'User referrals');
`y_reload` SMALLINT(6) UNSIGNED NOT NULL DEFAULT 0,
`inserted` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
-UNIQUE INDEX `y_type` (`type`,`y_id`)",
+UNIQUE INDEX `y_type` (`type`, `y_id`)",
'Reload lock reminder for Yoo!Media campaigns');
break;
if (isExtensionInstalledAndNewer('admins', '0.3.0')) $add .= ',`default_acl`';
if (isExtensionInstalledAndNewer('admins', '0.6.7')) $add .= ',`la_mode`';
if (isExtensionInstalledAndNewer('admins', '0.7.2')) $add .= ',`login_failures`,UNIX_TIMESTAMP(`last_failure`) AS `last_failure`';
- if (isExtensionInstalledAndNewer('admins', '0.7.3')) $add .= ',`expert_settings`,`expert_warning`';
+ if (isExtensionInstalledAndNewer('admins', '0.7.3')) $add .= ',`expert_settings`, `expert_warning`';
// Return it
//* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Done!');
), __FUNCTION__, __LINE__);
} else {
// No entry does exists so we simply add it!
- SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_online` (`module`,`action`,`what`,`userid`,`refid`,`is_member`,`is_admin`,`timestamp`,`sid`,`ip`) VALUES ('%s','%s','%s', %s, %s, '%s','%s', UNIX_TIMESTAMP(), '%s','%s')",
+ SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_online` (`module`, `action`, `what`, `userid`, `refid`, `is_member`, `is_admin`, `timestamp`, `sid`, `ip`) VALUES ('%s','%s','%s', %s, %s, '%s','%s', UNIX_TIMESTAMP(), '%s','%s')",
array(
getModule(),
$action,
//* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Done!');
if (isExtensionInstalledAndNewer('rallye', '0.2.0')) {
// Add more data on higher versions
- $filterData['add'] .= ',`min_users`,`min_prices`';
+ $filterData['add'] .= ',`min_users`, `min_prices`';
$filterData['or'] .= ' OR (d.`min_users` <= ' . getTotalConfirmedUser() . ' AND d.`min_users` > 0)';
} // END - if
function FILTER_REGISTER_MUST_FILLOUT ($filterData) {
// Get all fields for output
//* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Called!');
- $result = SQL_QUERY('SELECT `field_name`,`field_required` FROM `{?_MYSQL_PREFIX?}_must_register` ORDER BY `id` ASC',
+ $result = SQL_QUERY('SELECT `field_name`, `field_required` FROM `{?_MYSQL_PREFIX?}_must_register` ORDER BY `id` ASC',
__FUNCTION__, __LINE__);
// Walk through all entries
$removed = '0';
// Prepare SQL queries
- $insertSQL = 'INSERT INTO `{?_MYSQL_PREFIX?}_filters` (`filter_name`,`filter_function`,`filter_active`) VALUES';
+ $insertSQL = 'INSERT INTO `{?_MYSQL_PREFIX?}_filters` (`filter_name`, `filter_function`, `filter_active`) VALUES';
$removeSQL = 'DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_filters` WHERE';
// Write all filters to database
// Filter to add history entry
function FILTER_ADD_HISTORY_ENTRY ($filterData) {
// Add the entry
- SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_history` (`history_subject`,`history_userid`,`history_value`) VALUES ('%s',%s,'%s')",
+ SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_history` (`history_subject`, `history_userid`, `history_value`) VALUES ('%s',%s,'%s')",
$filterData,
__FUNCTION__, __LINE__);
// Now insert our unqiue key
addExtensionSql('ALTER TABLE `{?_MYSQL_PREFIX?}_filters` DROP KEY `name_function`');
-addExtensionSql('ALTER TABLE `{?_MYSQL_PREFIX?}_filters` ADD UNIQUE INDEX `name_function` (`filter_name`,`filter_function`)');
+addExtensionSql('ALTER TABLE `{?_MYSQL_PREFIX?}_filters` ADD UNIQUE INDEX `name_function` (`filter_name`, `filter_function`)');
// [EOF]
?>
// Get all menus
foreach (array('guest','member','admin') as $menu) {
// Query it
- $result = SQL_QUERY_ESC("SELECT `action`,`what` FROM `{?_MYSQL_PREFIX?}_%s_menu` ORDER BY `action` ASC,`what` ASC",
+ $result = SQL_QUERY_ESC("SELECT `action`, `what` FROM `{?_MYSQL_PREFIX?}_%s_menu` ORDER BY `action` ASC,`what` ASC",
array($menu), __FILE__, __LINE__);
// Init array
// Now insert our unqiue key for action-what combination
addSql(sprintf("ALTER TABLE `{?_MYSQL_PREFIX?}_%s_menu` DROP KEY `action_what`", $menu));
- addSql(sprintf("ALTER TABLE `{?_MYSQL_PREFIX?}_%s_menu` ADD UNIQUE INDEX `action_what` (`action`,`what`)", $menu));
+ addSql(sprintf("ALTER TABLE `{?_MYSQL_PREFIX?}_%s_menu` ADD UNIQUE INDEX `action_what` (`action`, `what`)", $menu));
// Now insert our unqiue key for what
addSql(sprintf("ALTER TABLE `{?_MYSQL_PREFIX?}_%s_menu` DROP KEY `what`", $menu));
SQL_QUERY('UPDATE `{?_MYSQL_PREFIX?}_refsystem` SET `level`=`level`+1', __FILE__, __LINE__);
// Add it again
- SQL_ALTER_TABLE('ALTER TABLE `{?_MYSQL_PREFIX?}_refsystem` ADD UNIQUE INDEX `userid_level` (`userid`,`level`)', __FILE__, __LINE__);
+ SQL_ALTER_TABLE('ALTER TABLE `{?_MYSQL_PREFIX?}_refsystem` ADD UNIQUE INDEX `userid_level` (`userid`, `level`)', __FILE__, __LINE__);
// Rebuild cache
rebuildCache('refsystem', 'refsystem');
// Nothing has been updated?
if (SQL_HASZEROAFFECTED()) {
// Then insert it
- SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_user_points` (`userid`,`ref_depth`,`%s`) VALUES (%s,NULL,%s)",
+ SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_user_points` (`userid`, `ref_depth`, `%s`) VALUES (%s,NULL,%s)",
array(
$column,
$row['userid'],
// Is the mail type supported?
if (!empty($table)) {
// Query for the mail
- $result = SQL_QUERY_ESC("SELECT `id`,`%s` AS `mail_status` FROM `{?_MYSQL_PREFIX?}_%s` WHERE `id`=%s LIMIT 1",
+ $result = SQL_QUERY_ESC("SELECT `id`, `%s` AS `mail_status` FROM `{?_MYSQL_PREFIX?}_%s` WHERE `id`=%s LIMIT 1",
array(
$statusColumn,
$table,
// Installation/setup
addMessages(array(
-// Language constants
+ // Language elements - unsorted
+ // @TODO Please sort these language elements
'MODULE_REGISTRY_404' => "Modul <span class=\"data\">{%pipe,getModule%}</span> existiert nicht.",
'MODULE_REGISTRY_LOCKED_404' => "Gsperrtes Modul <span class=\"data\">{%pipe,getModule%}</span> existiert nicht.",
'MODULE_REGISTRY_IS_LOCKED' => "Das Modul <span class=\"data\">{%pipe,getModule%}</span> wurde gesperrt.",
'ADMIN_EXTENSION_REGISTRATION_FAILED_ALREADY' => "Registrierung fehlgeschlagen: Erweiterung bereits installiert.",
'ADMIN_EXTENSION_REGISTRATION_FAILED_DEPRECATED' => "Registrierung fehlgeschlagen: Erweiterung ist veraltet.",
'ADMIN_NO_EXTENSION_REGISTERED' => "Derzeit haben Sie keine Erweiterung in Ihrem {?mt_word?} registriert.",
+ 'ADMIN_EXTENSION_404' => "Erweiterung nicht auffindbar.",
'ADMIN_EXTENSION_REGISTERED' => "Erweiterung <span class=\"data\">%s</span> wurde in Ihrem {?mt_word?} registriert.",
'ADMIN_EXTENSION_NOT_REGISTERED' => "Erweiterung <span class=\"data\">%s</span> wurde in Ihrem {?mt_word?} <u>nicht</u> registriert.",
'ADMIN_EXTENSION_ALREADY_REGISTERED' => "Erweiterung bereits registriert.",
'ADMIN_CONFIG_EXTENSIONS_TITLE' => "Erweiterungs-Management konfigurieren",
'ADMIN_CONFIG_EXTENSIONS_VERBOSE_SQL' => "SQL-Anweisungen beim Installieren/Updaten/Entfernen ausgeben",
'ADMIN_REMOVING_THESE_EXTENSIONS' => "Diese Erweiterungen werden deinstalliert",
- 'ADMIN_REMOVE_EXTENSIONS' => "Erweiterungen jetzt entfernen",
+ 'ADMIN_REMOVE_EXTENSIONS' => "Erweiterungen jetzt deinstallieren",
'ADMIN_SQLS_EXECUTED_ON_REMOVAL' => "Beim Entfernen ausgeführte SQL-Anweisungen",
'ADMIN_EXTENSION_VERBOSE_SQLS_404' => "Die Erweiterung hat keine SQL-Anweisungen zum Ausführen.",
'ADMIN_SQLS_EXECUTED_ON_UPDATE' => "Beim Aktualisieren ausgeführte SQL-Anweisungen",
'ADMIN_ACTION_EXPORT_SUBMIT' => "Exportieren",
'ADMIN_ACTION_CHANGE_SUBMIT' => "Editierungen ausführen",
'ADMIN_ACTION_DELETE_SUBMIT' => "Löschen",
+ 'ADMIN_ACTION_UNINSTALL_SUBMIT' => "Deinstallieren",
'ADMIN_ACTION_REMOVE_SUBMIT' => "Einträge löschen",
'ADMIN_ACTION_EDIT_SELECT_SUBMIT' => "Ausgewählten Eintrag bearbeiten",
'ADMIN_ACTION_UNLOCK_SUBMIT' => "Ent-/sperren",
'ADMIN_LIST_NETWORK_NOTICE' => "Seien Sie mit dem Löschen und Editieren vonallgemeinen Daten der Werbenetzwerke sehr vorsichtig. Sie sollten hierzu Rücksprache <a href=\"http://forum.mxchange.org/forum-43.html\" target=\"_blank\" title=\"Direktlink zum Forum\">im Forum</a> halten.",
'ADMIN_LIST_NETWORK_REFERRAL_LINK_NOTICE' => "Wenn Sie Ihren Referral-Link eingeben, verwenden Sie bitte nicht dieses Formular, sondern das unter [<a href=\"{%url=modules.php?module=admin&what=config_network_api%}\">API-Zugangsdaten</a>]. Sollten Sie hier Ihren Referral-Link eingetragen haben, ist dies nicht weiter schlimm, er wird jedoch nicht veröffentlicht.",
'ADMIN_ADD_NETWORK_HANDLER_TYPE_NOTICE' => "Fügen Sie hier weitere Werbearten-Handler dem ausgwählten Werbenetzwerk hinzu. Die Klick- und Banner-URL müssen dabei Platzhalter enthalten, die Sie der Dokumentation und <a href=\"http://forum.mxchange.org/forum-43.html\" rel=\"external\" title=\"Direkt-Link zur Forumkategorie Werbenetzwerke\" target=\"_blank\">dem Forum</a> entnehmen können. Die API-URL muss nur bis zum Fragezeichen eingegeben werden. Richtig: <strong>http://www.some-sponsor.example/inteface/script.php</strong>, falsch: <strike>http://www.some-sponsor.example/inteface/script.php?uid=123&pw=xyzxyzxyz</strike>",
- 'ADMIN_NETWORK_TYPE_HANDLER_LIST_NOTICE' => "Seien Sie mit dem Löschen und Editieren von Werbeart-Handlern sehr vorsichtig. Sie sollten hierzu Rücksprache <a href=\"http://forum.mxchange.org/forum-43.html\" target=\"_blank\" title=\"Direktlink zum Forum\">im Forum</a> halten. Dokumentation zu den Platzhaltern (%FOO%, %BAR% usw.) finden Sie in der Dokumentation DOCs/de/network/README.txt.",
+ 'ADMIN_NETWORK_TYPE_HANDLER_LIST_NOTICE' => "Seien Sie mit dem Löschen und Editieren von Werbeart-Handlern sehr vorsichtig. Sie sollten hierzu Rücksprache <a href=\"http://forum.mxchange.org/forum-43.html\" target=\"_blank\" title=\"Direktlink zum Forum\">im Forum</a> halten. Dokumentation zu den Platzhaltern (%FOO%, %BAR% usw.) finden Sie in der Dokumentation <strong>DOCs/de/network/README.txt</strong>.",
'ADMIN_ADD_NETWORK_REQUEST_PARAMETER_NOTICE' => "Fügen Sie hier weitere Abfrageparameter dem ausgwählten Werbenetzwerk hinzu. Geben Sie keine Werte an, wie z.B. 5 Sekunden oder 30 Mails, geben Sie bei Abfrageparameter den GET- bzw. POST-Parameternamen an.",
- 'ADMIN_NETWORK_REQUEST_PARAMETER_LIST_NOTICE' => "Seien Sie mit dem Löschen und Editieren von Abfrageparameter sehr vorsichtig. Sie sollten hierzu Rücksprache <a href=\"http://forum.mxchange.org/forum-43.html\" target=\"_blank\" title=\"Direktlink zum Forum\">im Forum</a> halten. Dokumentation zu den Abfragenamen (%FOO%, %BAR% usw.) finden Sie in der Dokumentation DOCs/de/network/README.txt.",
+ 'ADMIN_NETWORK_REQUEST_PARAMETER_LIST_NOTICE' => "Seien Sie mit dem Löschen und Editieren von Abfrageparameter sehr vorsichtig. Sie sollten hierzu Rücksprache <a href=\"http://forum.mxchange.org/forum-43.html\" target=\"_blank\" title=\"Direktlink zum Forum\">im Forum</a> halten. Dokumentation zu den Abfragenamen (%FOO%, %BAR% usw.) finden Sie in der Dokumentation <strong>DOCs/de/network/README.txt</strong>.",
'ADMIN_NETWORK_VCHECK_PARAMETER_LIST_NOTICE' => "Seien Sie mit dem Löschen und Editieren von VCheck-Abfrageparameter sehr vorsichtig. Sie sollten hierzu Rücksprache <a href=\"http://forum.mxchange.org/forum-43.html\" target=\"_blank\" title=\"Direktlink zum Forum\">im Forum</a> halten.",
'ADMIN_ADD_NETWORK_ARRAY_TRANSLATION_NOTICE' => "Fügen Sie hier weitere Array-Element-Übersetzungen zu dem ausgewählten Netzwerk und Werbeart-Handler ein.",
'ADMIN_LIST_NETWORK_ARRAY_TRANSLATION_NOTICE' => "Seien Sie mit dem Editieren bzw. Löschen von Array-Elementen sehr vorsichtig, die API-Abfrage köntte unerwartete Ergebnisse bzw. Fehler zurückliefern.",
'ADMIN_NETWORK_TYPE_HANDLER_CLICK_URL' => "Klick-URL der Werbeart:",
'ADMIN_NETWORK_TYPE_HANDLER_BANNER_URL' => "Banner-URL der Werbeart:",
'ADMIN_NETWORK_TYPE_HANDLER_RELOAD_TIME_UNIT' => "Zeiteinheit für Reloadsperre:",
+ 'ADMIN_NETWORK_TYPE_HANDLER_TEXT_ENCODING' => "Textkodierung:",
+ // - Text encoders
+ 'ADMIN_NETWORK_TYPE_TEXT_ENCODING_NONE' => "Keine Kodierung",
+ 'ADMIN_NETWORK_TYPE_TEXT_ENCODING_BASE64' => "BASE64-Kodierung",
// - API request parameter
'ADMIN_SELECT_NETWORK_HANDLER_TYPE' => "Werbeart-Handler auswählen:",
- 'ADMIN_NETWORK_REQUEST_PARAMETER_KEY' => "Abfragename:",
+ 'ADMIN_NETWORK_REQUEST_PARAMETER_KEY' => "Abfrageparameter-Schlüssel:",
+ 'ADMIN_NETWORK_REQUEST_PARAMETER_KEY_SHORT' => "Schlüssel:",
'ADMIN_NETWORK_REQUEST_PARAMETER_VALUE' => "Abfrageparameter:",
'ADMIN_NETWORK_REQUEST_PARAMETER_DEFAULT' => "Ausgangswert:",
// - API request parameter keys
- 'ADMIN_NETWORK_REQUEST_PARAMETER_ID' => "Affiliate-/Publisher-Id",
+ 'ADMIN_NETWORK_REQUEST_PARAMETER_AFFILIATE_ID' => "Affiliate-/Publisher-Id",
'ADMIN_NETWORK_REQUEST_PARAMETER_SID' => "Webseiten-Id",
'ADMIN_NETWORK_REQUEST_PARAMETER_HASH' => "Webseiten-Hash",
'ADMIN_NETWORK_REQUEST_PARAMETER_PASSWORD' => "Interface-Kennwort",
'ADMIN_NETWORK_REQUEST_PARAMETER_MAXIMUM_STAY' => "Maximaler Auffenthalt",
'ADMIN_NETWORK_REQUEST_PARAMETER_CURRENCY' => "Währung",
'ADMIN_NETWORK_REQUEST_PARAMETER_TYPE' => "Typ (z.B. click/view)",
- 'ADMIN_NETWORK_REQUEST_PARAMETER_REMAIN' => "Mindestanzahl der restlichen Klicks",
+ 'ADMIN_NETWORK_REQUEST_PARAMETER_REMAIN' => "Mindestanzahl restlicher Klicks",
'ADMIN_NETWORK_REQUEST_PARAMETER_REWARD' => "Mindestvergütung",
'ADMIN_NETWORK_REQUEST_PARAMETER_SIZE' => "Werbemittelgrösse",
'ADMIN_NETWORK_REQUEST_PARAMETER_EROTIC' => "Erotik erlaubt",
'ADMIN_NETWORK_TRANSLATE_LEAD_ID_NAME' => "Lead-Id",
'ADMIN_NETWORK_TRANSLATE_SALE_ID_NAME' => "Sale-Id",
'ADMIN_NETWORK_TRANSLATE_TRAFFIC_ID_NAME' => "Traffic-Id",
- 'ADMIN_NETWORK_TRANSLATE_ID_NAME' => "Kampagnen-Id",
+ 'ADMIN_NETWORK_TRANSLATE_CAMPAIGN_ID_NAME' => "Kampagnen-Id",
'ADMIN_NETWORK_TRANSLATE_MINIMUM_STAY_NAME' => "Mindestauffenthalt",
'ADMIN_NETWORK_TRANSLATE_NAME_NAME' => "Kampagnen-Name",
'ADMIN_NETWORK_TRANSLATE_RELOAD_NAME' => "Reloadzeit",
// Member - sub ids
'MEMBER_USER_SUBIDS_404' => "Sie haben noch keine Sub-Ids angelegt.",
'MEMBER_USER_SUBID_NOT_ASSIGNED_404' => "Die angegebene Sub-Id-Kennung ist Ihrem Mitgliedsaccount nicht zugewiesen oder existiert nicht.",
- 'MEMBER_SUBID_STATS_404' => "Für diese Sub-Id ist noch keine Statistik abfragbar, da sie noch nicht aufgerufen wurde.",
+ 'MEMBER_USER_SUBID_STATS_404' => "Für diese Sub-Id ist noch keine Statistik abfragbar, da sie noch nicht aufgerufen wurde.",
'MEMBER_ENTER_SUBID' => "Geben Sie eine Sub-Id ein:",
'MEMBER_ADD_SUBID_LEGEND' => "Daten zur Sub-Id",
'MEMBER_SUBID_NO_SELECTIONS' => "Sie haben keine Auswahl getroffen! Bitte navigieren Sie zurück, wählen Sie mindestens eine Sub-Id aus und versuchen Sie es dann erneut.",
'MEMBER_USER_SUBIDS_CHANGE_SUBMIT' => "Sub-Ids ändern",
'MEMBER_USER_SUBIDS_REMOVE_SUBMIT' => "Sub-Ids löschen",
- // Member - sub ids - notices
+ // Admin - sub ids - submit buttons
+ 'ADMIN_DELETE_USER_SUBID_SUBMIT' => "Sub-Id löschen",
+ 'ADMIN_EDIT_USER_SUBID_SUBMIT' => "Sub-Id editieren",
+ 'ADMIN_DELETE_USER_SUBID_STATS_SUBMIT' => "Sub-Id Logbuch *sofort* löschen",
+
+ // Member/admin - sub ids - notices
'MEMBER_ADD_USER_SUBIDS_NOTICE' => "<strong>Hinweise:</strong> Mit Sub-Ids haben Sie die Möglichkeit, die Aufrufe Ihres Referral-Linkes noch genauer zu verfolgen. Zum Beispiel können Sie jedem Besuchertausch oder fremden Paidmailer eine eigene Sub-Id vergeben, indem Sie diese hier zuerst eingeben und dann am Ende des Referral-Linkes mit <strong>&subid=<em>Ihre Sub-Id</em></strong> anhängen. Bewerben Sie nun diesen erweiterten Link. Sobald Aufrufe auf diesen erfolgen, können Sie bei der jeweiligen Sub-Id auf "Aufruf-Statistik" klicken, um eine detailierte Statistik zu erhalten. Leerzeichen oder Bindestrichen werden automatisch in Unterstriche umgewandelt, es wurden nur Zeichen von A-Z (klein- und grossgeschrieben) und alle Zahlenzeichen sowie Unterstriche angenommen.",
'MEMBER_EDIT_USER_SUBIDS_NOTICE' => "Wenn Sie doch nichts ändern wollen, klicken Sie einfach auf <strong>{--MEMBER_USER_SUBIDS_CHANGE_SUBMIT--}</strong> oder in der Navigation <strong>{--YOU_ARE_HERE--}</strong> auf Sub-Id Tracking.",
'MEMBER_DELETE_USER_SUBIDS_NOTICE' => "Wollen Sie die oben aufgeführte(n) Sub-Id(s) wirklich löschen? Dieses ist nicht umkehrbar! Die Statistik dazu bleibt noch eine Weile gespeichert, ist aber nicht mehr aus der Auswahl aufrufbar (Sie können sich ja den Link notieren?).",
- 'MEMBER_SUBID_STATS_NOTICE' => "<strong>Wichtiger Hinweis:</strong> Tauschen Sie diesen Text im Template (nicht hier in der Sprachdatei) aus und fügen Sie Ihren eigenen bitte ein. Das Template finden Sie unter <strong>templates/de/html/member/member_list_subid_stats.tpl</strong>. Es wird hier auf nicht von Ihnen kontrollierbaren externen Webseiten verlinkt (der so genannte HTTP-Referrer wird hier verlinkt). Leider sieht das mit Velinken von externen Webseiten in Deutschland ziemlich trübe aus, alles verbürokratisiert ... :-(",
+ 'MEMBER_USER_SUBID_STATS_NOTICE' => "<strong>Wichtiger Hinweis:</strong> Tauschen Sie diesen Text im Template (nicht hier in der Sprachdatei) aus und fügen Sie Ihren eigenen bitte ein. Das Template finden Sie unter <strong>templates/de/html/member/member_list_subid_stats.tpl</strong>. Es wird hier auf nicht von Ihnen kontrollierbaren externen Webseiten verlinkt (der so genannte HTTP-Referrer wird hier verlinkt). Leider sieht das mit Velinken von externen Webseiten in Deutschland ziemlich trübe aus, alles verbürokratisiert ... :-(",
+ 'ADMIN_USER_SUBID_STATS_NOTICE' => "<strong>Wichtige Hinweise:</strong> Mit Klick auf <strong>{--ADMIN_DELETE_USER_SUBID_STATS_SUBMIT--}</strong> wird das angezeigte Logbuch sofort gelöscht. Es erfolgt keine erneute Sicherheitsabfrage, ob wirklich gelöscht werden soll.",
// Member - sub ids - title
'MEMBER_USER_SUBID_EDIT_DELETE_TITLE' => "Editieren und Löschen von Sub-Ids",
'MEMBER_DELETE_USER_SUBIDS_TITLE' => "Ausgewählte Sub-Ids löschen",
'MEMBER_SUBID_STATS_TITLE' => "Aufrufstatistik für Ihre Sub-Ids",
- // Member - sub ids - subject lines
+ // Admin/member - sub ids - subject lines
'ADMIN_ADD_USER_SUBIDS_SUBJECT' => "Sub-Id wurde hinzugefügt",
'ADMIN_EDIT_USER_SUBIDS_SUBJECT' => "Mitglied hat eine Sub-Id geändert",
'ADMIN_DELETE_USER_SUBIDS_SUBJECT' => "Mitglied hat eine Sub-Id gelöscht",
'ADMIN_USER_ACTION_LINK_LIST_USER_SUBID_TITLE' => "Sub-Ids des Mitgliedes auflisten und Statistik einsehen",
'ADMIN_USER_ACTION_LINK_LIST_USER_SUBID' => "Sub-Ids auflisten",
+ // Admin - list/edit/delete sub ids and stats
+ 'ADMIN_USER_SUBID_STATS_404' => "Das Mitglied <span class=\"data\">{%get,generateUserProfileLink=userid%}</span> hat für die Sub-Id <span class=\"data\">{%get,getSubId=id%}</span> noch keine Statistikeinträge.",
+ 'ADMIN_USER_SUBID_NOT_ASSIGNED_404' => "Die angegebene Sub-Id-Kennung ist der Mitglieder-Id <span class=\"data\">{%get,generateUserProfileLink=userid%}</span> nicht zugewiesen oder existiert nicht.",
+ 'ADMIN_LIST_USER_SUBID_TITLE' => "Auflisten der Sub-Ids von Mitglied <span class=\"data\">{%get,generateUserProfileLink=userid%}</span>",
+ 'ADMIN_LIST_USER_SUBID_STATS_TITLE' => "Aufruflogbuch vom Mitglied <span class=\"data\">{%get,generateUserProfileLink=userid%}</span> und Sub-Id <span class=\"data\">{%get,getSubId=id%}</span>",
+ 'ADMIN_USER_SUBID_STATS_LINK' => "Logbucheinträge auflisten",
+ 'ADMIN_USER_SUBID_NO_SELECTIONS' => "Sie haben keine Einträge ausgewählt oder es liegt ein Fehler vor. Bitte melden Sie dies im Bug-Tracker (auch wie es dazu gekommen ist).",
+
// Generic - subids
'SUBID_VALUE' => "Sub-Id:",
'SUBID_ADDED' => "Hinzugefügt:",
$id = bigintval($id);
// Get the admin's data
- $result = SQL_QUERY_ESC("SELECT `login`,`email` FROM `{?_MYSQL_PREFIX?}_admins` WHERE `id`=%s LIMIT 1",
+ $result = SQL_QUERY_ESC("SELECT `login`, `email` FROM `{?_MYSQL_PREFIX?}_admins` WHERE `id`=%s LIMIT 1",
array($id), __FUNCTION__, __LINE__);
if ((SQL_NUMROWS($result) == 1) && ($selected == 1)) {
// Entry found
$id = bigintval($id);
// Get the admin's data
- $result = SQL_QUERY_ESC("SELECT `login`,`email`,`default_acl` AS `access_mode`,`la_mode` FROM `{?_MYSQL_PREFIX?}_admins` WHERE `id`=%s LIMIT 1",
+ $result = SQL_QUERY_ESC("SELECT `login`, `email`, `default_acl` AS `access_mode`, `la_mode` FROM `{?_MYSQL_PREFIX?}_admins` WHERE `id`=%s LIMIT 1",
array($id), __FUNCTION__, __LINE__);
// Is there an entry?
// No entries found?
if (SQL_HASZERONUMS($result)) {
// Create new entry (to all admins)
- SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_admins_mails` (`admin_id`,`mail_template`) VALUES (0, '%s')",
+ SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_admins_mails` (`admin_id`, `mail_template`) VALUES (0, '%s')",
array($template), __FUNCTION__, __LINE__);
// Select all email adresses (default)
), __FUNCTION__, __LINE__);
// Rember this whole data for displaying ranking list
- SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_bonus_turbo` (`userid`,`mail_id`,`bonus_id`,`level`,`points`,`timemark`) VALUES (%s, %s, %s, %s, %s, UNIX_TIMESTAMP())",
+ SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_bonus_turbo` (`userid`, `mail_id`, `bonus_id`, `level`, `points`, `timemark`) VALUES (%s, %s, %s, %s, %s, UNIX_TIMESTAMP())",
array(
bigintval($userid),
bigintval($mail),
$ranks = count(explode(';', getTurboRates())) + 1;
// Load current user's data
- $result = SQL_QUERY_ESC("SELECT `level`,`points`,`timemark` FROM `{?_MYSQL_PREFIX?}_bonus_turbo` WHERE `%s`=%s AND `userid`=%s LIMIT 1",
+ $result = SQL_QUERY_ESC("SELECT `level`, `points`, `timemark` FROM `{?_MYSQL_PREFIX?}_bonus_turbo` WHERE `%s`=%s AND `userid`=%s LIMIT 1",
array(
$type,
$data,
for ($rank = 1; $rank <= SQL_NUMROWS($result); $rank++) {
// Load data
$result_users = SQL_QUERY_ESC("SELECT
- `userid`,`points`
+ `userid`,
+ `points`
FROM
`{?_MYSQL_PREFIX?}_bonus_turbo`
WHERE
} // END - if
// Add record entry here
- SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_user_booking` (`userid`,`subject`,`points_mode`,`points`) VALUES (%s,'%s','%s',%s)",
+ SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_user_booking` (`userid`, `subject`, `points_mode`, `points`) VALUES (%s,'%s','%s',%s)",
array(
bigintval($userid),
$subject,
$ret = '{--COUNTRY_CODE_404--}';
// Load code and description
- $result = SQL_QUERY_ESC("SELECT `code`,`descr` FROM `{?_MYSQL_PREFIX?}_countries` WHERE `id`=%s LIMIT 1",
+ $result = SQL_QUERY_ESC("SELECT
+ `code`,
+ `descr`
+FROM
+ `{?_MYSQL_PREFIX?}_countries`
+WHERE
+ `id`=%s
+LIMIT 1",
array(bigintval($id)), __FUNCTION__, __LINE__);
// Is there an entry?
// List entries
$result = SQL_QUERY_ESC("SELECT
- `userid`,`refid`,`points`,`timemark`
+ `userid`,
+ `refid`,
+ `points`,
+ `timemark`
FROM
`{?_MYSQL_PREFIX?}_doubler`
WHERE
// Insert member earning entry
function insertMemberEarning ($earningId, $dailyAmount, $isActive = 'Y') {
// Insert the record
- SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_user_earning` (`earning_id`,`earning_userid`,`earning_daily_amount`,`earning_active`) VALUES(%s,%s,%s,'%s')",
+ SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_user_earning` (`earning_id`, `earning_userid`, `earning_daily_amount`, `earning_active`) VALUES(%s,%s,%s,'%s')",
array(
bigintval($earningId),
getMemberId(),
function stopHolidays () {
// Let's find some expired holiday requests...
$result_stop = SQL_QUERY("SELECT
- `userid`,`holiday_start`,`holiday_end`,`comments`
+ `userid`,
+ `holiday_start`,
+ `holiday_end`,
+ `comments`
FROM
`{?_MYSQL_PREFIX?}_user_holidays`
WHERE
// Is there an entry?
if (SQL_HASZERONUMS($result)) {
// No, so create line
- SQL_QUERY("INSERT INTO `{?_MYSQL_PREFIX?}_jackpot` (`ok`,`points`) VALUES ('ok','0.00000')", __FUNCTION__, __LINE__);
+ SQL_QUERY("INSERT INTO `{?_MYSQL_PREFIX?}_jackpot` (`ok`, `points`) VALUES ('ok','0.00000')", __FUNCTION__, __LINE__);
} else {
// Read the line
$data = SQL_FETCHARRAY($result);
//* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'key=' . $key . ',SQL_NUMROWS()=' . SQL_NUMROWS($result_media));
if (SQL_NUMROWS($result_media) == 0) {
// Not found so we create it (mode will be ignored here!)
- SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_mediadata` (`media_key`,`media_value`) VALUES ('%s', '%s')",
+ SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_mediadata` (`media_key`, `media_value`) VALUES ('%s', '%s')",
array($key, $value), __FUNCTION__, __LINE__);
} else {
// Update entry
t.`network_type_handler`,
t.`network_type_api_url`,
t.`network_type_click_url`,
- t.`network_type_banner_url`
+ t.`network_type_banner_url`,
+ t.`network_text_encoding`
FROM
`{?_MYSQL_PREFIX?}_network_data` AS d
LEFT JOIN
return $GLOBALS[__FUNCTION__][$defaultType];
}
+// Generates an options list of all available (hard-coded) text encoders
+function generateNetworkTextEncodingAvailableOptions ($defaultEncoding = NULL) {
+ // Is it cached?
+ if (!isset($GLOBALS[__FUNCTION__][$defaultEncoding])) {
+ // Generate list
+ $GLOBALS[__FUNCTION__][$defaultEncoding] = generateOptions(
+ '/ARRAY/',
+ array(
+ 'NONE',
+ 'BASE64',
+ ),
+ array(),
+ $defaultEncoding,
+ '', '',
+ array(),
+ 'translateNetworkTextEncoding'
+ );
+ } // END - if
+
+ // Return content
+ return $GLOBALS[__FUNCTION__][$defaultEncoding];
+}
+
// Generates an options list (somewhat getter) for request keys
function generateNetworkRequestKeyOptions () {
// Is it cached?
$GLOBALS[__FUNCTION__] = generateOptions(
'/ARRAY/',
array(
- 'id',
+ 'affiliate_id',
'sid',
'hash',
'password',
// Is the message id there?
if (!isMessageIdValid($messageId)) {
- // Not valid type
- reportBug(__FUNCTION__, __LINE__, 'type=' . $type . ' is invalid.');
+ // Not valid name
+ reportBug(__FUNCTION__, __LINE__, 'name=' . $name . ' is invalid.');
} // END - if
// Return message id
return '{--' . $messageId . '--}';
}
+// Translate text-encoding
+function translateNetworkTextEncoding ($encoding) {
+ // Generate id
+ $messageId = 'ADMIN_NETWORK_TYPE_TEXT_ENCODING_' . strtoupper($encoding) . '';
+
+ // Is the message id there?
+ if (!isMessageIdValid($messageId)) {
+ // Not valid encoding
+ reportBug(__FUNCTION__, __LINE__, 'encoding=' . $encoding . ' is invalid.');
+ } // END - if
+
+ // Return message id
+ return '{--' . $messageId . '--}';
+}
+
// Translates API index
function translateNetworkApiIndex ($index) {
// Is there cache?
// Init table with all valid what->table entries
$validExports = array(
// General network data
- 'list_networks' => 'data',
+ 'list_network_data' => 'data',
// Network type handler
'list_network_types' => 'types',
// Network request parameter
__FUNCTION__, __LINE__);
// Start an empty SQL query
- $SQL = "INSERT INTO `{?_MYSQL_PREFIX?}_network_data` (`network_short_name`,`network_title`,`network_reflink`,`network_data_separator`,`network_row_separator`,`network_request_type`,`network_charset`,`network_require_id_card`,`network_query_amount`,`network_active`) VALUES\n";
+ $SQL = "INSERT INTO `{?_MYSQL_PREFIX?}_network_data` (`network_short_name`, `network_title`, `network_reflink`, `network_data_separator`, `network_row_separator`, `network_request_type`, `network_charset`, `network_require_id_card`, `network_query_amount`, `network_active`) VALUES\n";
// Load all entries
while ($content = SQL_FETCHARRAY($result)) {
`network_type_api_url`,
`network_type_click_url`,
`network_type_banner_url`,
- `network_type_reload_time_unit`
+ `network_type_reload_time_unit`,
+ `network_text_encoding`
FROM
`{?_MYSQL_PREFIX?}_network_types`
WHERE
), __FUNCTION__, __LINE__);
// Start an empty SQL query
- $SQL = "INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`,`network_id`,`network_type_handler`,`network_type_api_url`,`network_type_click_url`,`network_type_banner_url`,`network_type_reload_time_unit`) VALUES\n";
+ $SQL = "INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handler`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`, `network_type_reload_time_unit`, `network_text_encoding`) VALUES\n";
// Load all entries
while ($content = SQL_FETCHARRAY($result)) {
}
// Add more
- $SQL .= ",'" . $content['network_type_reload_time_unit'] . "'),\n";
+ $SQL .= ",'" . $content['network_type_reload_time_unit'] . "','" . $content['network_text_encoding'] . "'),\n";
} // END - while
// Remove last commata and close braces
), __FUNCTION__, __LINE__);
// Start an empty SQL query
- $SQL = "INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`,`network_type_id`,`network_request_param_key`,`network_request_param_value`,`network_request_param_default`) VALUES\n";
+ $SQL = "INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`, `network_type_id`, `network_request_param_key`, `network_request_param_value`, `network_request_param_default`) VALUES\n";
// Load all entries
while ($content = SQL_FETCHARRAY($result)) {
), __FUNCTION__, __LINE__);
// Start an empty SQL query
- $SQL = "INSERT INTO `{?_MYSQL_PREFIX?}_network_vcheck_params` (`network_id`,`network_vcheck_param_key`,`network_vcheck_param_value`,`network_vcheck_param_default`) VALUES\n";
+ $SQL = "INSERT INTO `{?_MYSQL_PREFIX?}_network_vcheck_params` (`network_id`, `network_vcheck_param_key`, `network_vcheck_param_value`, `network_vcheck_param_default`) VALUES\n";
// Load all entries
while ($content = SQL_FETCHARRAY($result)) {
), __FUNCTION__, __LINE__);
// Start an empty SQL query
- $SQL = "INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES\n";
+ $SQL = "INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`, `network_type_id`, `network_array_index`, `sort`) VALUES\n";
// Load all entries
while ($content = SQL_FETCHARRAY($result)) {
// Enougth points?
if ($points > 0) {
// Pay this out!
- $result = SQL_QUERY_ESC("SELECT
- `id`,`type`,`rate`,`min_points`
+ $result = SQL_QUERY_ESC('SELECT
+ `id`,
+ `type`,
+ `rate`,
+ `min_points`
FROM
`{?_MYSQL_PREFIX?}_payout_types`
WHERE
%s >= `min_points`
ORDER BY
- `type` ASC",
+ `type` ASC',
array($points), __FUNCTION__, __LINE__);
if (!SQL_HASZERONUMS($result)) {
// Init output
// Updated extension?
if (isExtensionInstalledAndNewer('rallye', '0.2.0')) {
- $add .= ',`min_users`,`min_prices`';
+ $add .= ',`min_users`, `min_prices`';
} // END - if
// Check for an auto-add rallye
// Load users
$result = SQL_QUERY_ESC("SELECT
- `userid`,`gender`,`surname`,`family`,`email`
+ `userid`, `gender`, `surname`, `family`, `email`
FROM
`{?_MYSQL_PREFIX?}_user_data`
WHERE
// Load prices
$result = SQL_QUERY_ESC("SELECT
- `price_level`,`points`,`info`
+ `price_level`,
+ `points`,
+ `info`
FROM
`{?_MYSQL_PREFIX?}_rallye_prices`
WHERE
$return = $ref_points;
// Get all ref levels
- $result_refs = SQL_QUERY('SELECT `level`,`percents` FROM `{?_MYSQL_PREFIX?}_refdepths` WHERE `level` > 0 ORDER BY `level` ASC',
+ $result_refs = SQL_QUERY('SELECT `level`, `percents` FROM `{?_MYSQL_PREFIX?}_refdepths` WHERE `level` > 0 ORDER BY `level` ASC',
__FUNCTION__, __LINE__);
// "Walk" through all level
$id = bigintval($id);
// Get entry from database
- $result = SQL_QUERY_ESC("SELECT `id`,`userid`,`refid`,`refback_percents`,`level`,`refback_points` FROM `{?_MYSQL_PREFIX?}_user_refs` WHERE `id`=%s AND `userid`=%s LIMIT 1",
+ $result = SQL_QUERY_ESC("SELECT `id`, `userid`, `refid`, `refback_percents`, `level`, `refback_points` FROM `{?_MYSQL_PREFIX?}_user_refs` WHERE `id`=%s AND `userid`=%s LIMIT 1",
array($id, getMemberId()), __FUNCTION__, __LINE__);
// Is there an entry?
unset($DATA['values'][$key]);
// Implode all data into strings
- $keyArray = implode('`,`' , $DATA['keys']);
+ $keyArray = implode('`, `' , $DATA['keys']);
$valueArray = str_repeat("%s', '", count($DATA['values']) - 1);
// Generate string
} // END - if
// Just run the insert query for now
- SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_urls` (`url_userid`,`url`,`url_status`,`url_views_max`,`url_views_allowed`,`url_fixed_reload`) VALUES (%s,'%s','%s',%s,%s,%s)",
+ SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_urls` (`url_userid`, `url`, `url_status`, `url_views_max`, `url_views_allowed`, `url_fixed_reload`) VALUES (%s,'%s','%s',%s,%s,%s)",
array(
$userid,
$urlData['url'],
// Is there no record?
if ($countLock == 0) {
// Just add it to the database
- SQL_QUERY_ESC('INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_locks` (`locks_userid`,`locks_url_id`) VALUES (%s, %s)',
+ SQL_QUERY_ESC('INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_locks` (`locks_userid`, `locks_url_id`) VALUES (%s, %s)',
array(
getMemberId(),
bigintval($urlId)
// Was that update okay?
if (SQL_HASZEROAFFECTED()) {
// No, then insert entry
- SQL_QUERY_ESC('INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_stats` (`stats_userid`,`stats_url_id`,`stats_count`) VALUES (%s,%s,1)',
+ SQL_QUERY_ESC('INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_stats` (`stats_userid`, `stats_url_id`, `stats_count`) VALUES (%s,%s,1)',
array(
getMemberId(),
gerSurfbarId()
// Was that okay?
if (SQL_HASZEROAFFECTED()) {
// Insert missing entry!
- SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_salts` (`salts_url_id`,`salts_userid`,`salts_last_salt`) VALUES (%s, %s, '%s')",
+ SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_salts` (`salts_url_id`, `salts_userid`, `salts_last_salt`) VALUES (%s, %s, '%s')",
array(
gerSurfbarId(),
getMemberId(),
// Select all themes we want
$result = SQL_QUERY('SELECT
- `theme_path`,`theme_name`
+ `theme_path`,
+ `theme_name`
FROM
`{?_MYSQL_PREFIX?}_themes`
' . $add . '
// Does it exist?
if ((!getEpocheTimeFromUserStats($statsType, $statsData, $userid)) && (!is_array($statsData))) {
// Then insert it!
- SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_user_stats_data` (`userid`,`stats_type`,`stats_data`) VALUES (%s,'%s','%s')",
+ SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_user_stats_data` (`userid`, `stats_type`, `stats_data`) VALUES (%s,'%s','%s')",
array(
bigintval($userid),
$statsType,
$userid = NULL;
// Search for an unconfirmed or confirmed account
- $result = SQL_QUERY_ESC("SELECT `userid`,`refid` FROM `{?_MYSQL_PREFIX?}_user_data` WHERE `user_hash`='%s' AND (`status`='UNCONFIRMED' OR `status`='CONFIRMED') LIMIT 1",
+ $result = SQL_QUERY_ESC("SELECT `userid`, `refid` FROM `{?_MYSQL_PREFIX?}_user_data` WHERE `user_hash`='%s' AND (`status`='UNCONFIRMED' OR `status`='CONFIRMED') LIMIT 1",
array($hash), __FILE__, __LINE__);
if (SQL_NUMROWS($result) == 1) {
// Ok, he want's to confirm now so we load some data
}
// Check whether given sub *id* is assigned to current member
-function isUserSubIdAssignedToMember ($subId) {
+function isUserSubIdAssignedToMember ($subId, $userid = NULL) {
// Is there cache?
- if (!isset($GLOBALS[__FUNCTION__][$subId])) {
+ if (!isset($GLOBALS[__FUNCTION__][$subId][$userid])) {
// Determine it
- $GLOBALS[__FUNCTION__][$subId] = ((isMember()) && (countSumTotalData(getMemberId(), 'user_subids', 'id', 'userid', true, sprintf(" AND `id`=%s", bigintval($subId))) == 1));
+ $GLOBALS[__FUNCTION__][$subId][$userid] = (
+ (
+ // Is a userid set or current set?
+ (isValidUserId($userid)) || (isMember())
+ ) && (
+ // .. and it assigned with subid's id?
+ countSumTotalData(
+ (isValidUserId($userid) ? $userid : getMemberId()),
+ 'user_subids',
+ 'id',
+ 'userid',
+ true,
+ sprintf(" AND `id`=%s", bigintval($subId))
+ ) == 1
+ )
+ );
} // END - if
// Return cache
- return $GLOBALS[__FUNCTION__][$subId];
+ return $GLOBALS[__FUNCTION__][$subId][$userid];
+}
+
+// Getter for subid from given id number
+function getSubId ($id) {
+ // Is there cache?
+ if (!isset($GLOBALS[__FUNCTION__][$id])) {
+ // Check database for record
+ $result = SQL_QUERY_ESC("SELECT `subid` FROM `{?_MYSQL_PREFIX?}_user_subids` WHERE `id`=%s LIMIT 1",
+ array(bigintval($id)), __FUNCTION__, __LINE__);
+
+ // Is there an entry?
+ if (SQL_NUMROWS($result) == 1) {
+ // Load it
+ list($GLOBALS[__FUNCTION__][$id]) = SQL_FETCHROW($result);
+ } // END - if
+
+ // Free result
+ SQL_FREERESULT($result);
+ } // END - if
+
+ // Return cache
+ return $GLOBALS[__FUNCTION__][$id];
}
//-----------------------------------------------------------------------------
// Log the transfer
function WERNIS_LOG_TRANSFER ($wdsId, $amount, $type = 'FAILED', $message = '', $status = '') {
// Register this wernis movement
- SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_user_wernis` (`userid`,`wernis_account`,`wernis_amount`,`wernis_timestamp`,`wernis_type`,`wernis_api_message`,`wernis_api_status`) VALUES (%s, %s, %s, UNIX_TIMESTAMP(), '%s', '%s', '%s')",
+ SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_user_wernis` (`userid`, `wernis_account`, `wernis_amount`, `wernis_timestamp`, `wernis_type`, `wernis_api_message`, `wernis_api_status`) VALUES (%s, %s, %s, UNIX_TIMESTAMP(), '%s', '%s', '%s')",
array(
getMemberId(),
bigintval($wdsId),
$mailMode = YOOMEDIA_CONVERT_MODE($mailMode);
// Add the entry
- SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_yoomedia_reload` (`type`,`y_id`,`y_reload`,`inserted`) VALUES ('%s',%s,%s,'0000-00-00 00:00')",
+ SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_yoomedia_reload` (`type`, `y_id`, `y_reload`, `inserted`) VALUES ('%s',%s,%s,'0000-00-00 00:00')",
array(
$mailMode,
bigintval($data['id']),
$mailMode = YOOMEDIA_CONVERT_MODE($mailMode);
// Add the entry
- SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_yoomedia_reload` (`type`,`y_id`,`y_reload`) VALUES ('%s',%s,%s)",
+ SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_yoomedia_reload` (`type`, `y_id`, `y_reload`) VALUES ('%s',%s,%s)",
array($mailMode, bigintval($data['id']), bigintval($data['reload'])), __FUNCTION__, __LINE__);
} // END - if
}
} // END - if
// Query for all extensions
- $result = SQL_QUERY('SELECT `id` AS `ext_id`,`ext_name`,`ext_active`,`ext_version`' . $add . ' FROM `{?_MYSQL_PREFIX?}_extensions` ORDER BY `ext_name` ASC', __FILE__, __LINE__);
+ $result = SQL_QUERY('SELECT
+ `id` AS `ext_id`,
+ `ext_name`,
+ `ext_active`,
+ `ext_version`
+' . $add . '
+FROM
+ `{?_MYSQL_PREFIX?}_extensions`
+ORDER BY
+ `ext_name` ASC', __FILE__, __LINE__);
// Load all entries
while ($content = SQL_FETCHARRAY($result)) {
$GLOBALS['cache_instance']->init();
// Query for all referral depths
- $result = SQL_QUERY('SELECT `id`,`level`,`percents` FROM `{?_MYSQL_PREFIX?}_refdepths` ORDER BY `level` ASC', __FILE__, __LINE__);
+ $result = SQL_QUERY('SELECT `id`, `level`, `percents` FROM `{?_MYSQL_PREFIX?}_refdepths` ORDER BY `level` ASC', __FILE__, __LINE__);
// ... and load them
while ($content = SQL_FETCHARRAY($result)) {
// Load all themes and their data
if (isExtensionInstalledAndNewer('theme', '0.0.7')) {
- $result = SQL_QUERY('SELECT `id`,`theme_path`,`theme_active`,`theme_ver`,`theme_name` FROM `{?_MYSQL_PREFIX?}_themes` ORDER BY `id` ASC', __FILE__, __LINE__);
+ $result = SQL_QUERY('SELECT `id`, `theme_path`, `theme_active`, `theme_ver`, `theme_name` FROM `{?_MYSQL_PREFIX?}_themes` ORDER BY `id` ASC', __FILE__, __LINE__);
} else {
- $result = SQL_QUERY('SELECT `id`,`theme_path`,`theme_active`,`theme_ver` FROM `{?_MYSQL_PREFIX?}_themes` ORDER BY `id` ASC', __FILE__, __LINE__);
+ $result = SQL_QUERY('SELECT `id`, `theme_path`, `theme_active`, `theme_ver` FROM `{?_MYSQL_PREFIX?}_themes` ORDER BY `id` ASC', __FILE__, __LINE__);
}
while ($content = SQL_FETCHARRAY($result)) {
// Add row to cache file
$sql = ''; $mode = '';
// Shall I sent activation or deactivation mail?
-$sql = "SELECT `userid`,`email` FROM `{?_MYSQL_PREFIX?}_user_data` WHERE (`beg_rallye_enable_notify` ";
+$sql = "SELECT `userid`, `email` FROM `{?_MYSQL_PREFIX?}_user_data` WHERE (`beg_rallye_enable_notify` ";
switch (getBegRallye()) {
case 'Y': // Begging rallye is activated
if (isBegRallyeEnableNotifyEnabled()) {
$sql = ''; $mode = '';
// Shall I sent activation or deactivation mail?
-$sql = "SELECT `userid`,`email` FROM `{?_MYSQL_PREFIX?}_user_data` WHERE (`bonus_rallye_enable_notify` ";
+$sql = "SELECT `userid`, `email` FROM `{?_MYSQL_PREFIX?}_user_data` WHERE (`bonus_rallye_enable_notify` ";
switch (getConfig('bonus_active')) {
case 'Y': // Active rallye is activated
if (getConfig('bonus_enable_notify') == 'Y') {
} elseif (!isExtensionActive('cache')) {
// Check for module in database
//* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Using database.');
- $result = SQL_QUERY_ESC("SELECT `locked`,`hidden`,`admin_only`,`mem_only` FROM `{?_MYSQL_PREFIX?}_mod_reg` WHERE `module`='%s' LIMIT 1",
+ $result = SQL_QUERY_ESC("SELECT `locked`, `hidden`, `admin_only`, `mem_only` FROM `{?_MYSQL_PREFIX?}_mod_reg` WHERE `module`='%s' LIMIT 1",
array($module), __FUNCTION__, __LINE__);
if (SQL_NUMROWS($result) == 1) {
// Read data
* hour to find a loop here... *sigh*
*/
SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_mod_reg`
-(`module`,`locked`,`hidden`,`mem_only`,`admin_only`,`has_menu`)
+(`module`, `locked`, `hidden`, `mem_only`, `admin_only`, `has_menu`)
VALUES
('%s','Y','N','N','N','N')", array($module_chk), __FUNCTION__, __LINE__);
} else {
// Wrong/missing sql_patches!
SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_mod_reg`
-(`module`,`locked`,`hidden`,`mem_only`,`admin_only`)
+(`module`, `locked`, `hidden`, `mem_only`, `admin_only`)
VALUES
('%s','Y','N','N','N')", array($module_chk), __FUNCTION__, __LINE__);
}
// Is the module already registered?
if (!isModuleRegistered($module)) {
// Add it
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_mod_reg` (`module`,`title`,`locked`,`hidden`,`admin_only`,`mem_only`) VALUES ('" . $module . "','" . $title . "','" . $locked . "','" . $hidden . "','" . $adminOnly . "','" . $memOnly . "')");
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_mod_reg` (`module`, `title`, `locked`, `hidden`, `admin_only`, `mem_only`) VALUES ('" . $module . "','" . $title . "','" . $locked . "','" . $hidden . "','" . $adminOnly . "','" . $memOnly . "')");
} else {
// Already registered
logDebugMessage(__FUNCTION__, __LINE__, sprintf("Already registered: module=%s,locked=%s,hidden=%s,admin=%s,mem=%s",
// Is the entry there?
if (SQL_HASZERONUMS($result)) {
// Ok, let's create the admin login
- SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_admins` (`login`,`password`,`email`) VALUES ('%s', '%s', '%s')",
+ SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_admins` (`login`, `password`, `email`) VALUES ('%s', '%s', '%s')",
array(
$adminLogin,
$passHash,
$what = "`what` != '' AND `what` IS NOT NULL";
if ($mode == 'action') $what = "(`what`='' OR `what` IS NULL) AND `action` != 'login'";
- $result = SQL_QUERY_ESC("SELECT `%s` AS `menu`,`title` FROM `{?_MYSQL_PREFIX?}_admin_menu` WHERE ".$what." ORDER BY `sort` ASC",
+ $result = SQL_QUERY_ESC("SELECT `%s` AS `menu`, `title` FROM `{?_MYSQL_PREFIX?}_admin_menu` WHERE ".$what." ORDER BY `sort` ASC",
array($mode), __FUNCTION__, __LINE__);
if (!SQL_HASZERONUMS($result)) {
// Load menu as selection
} // END - foreach
// Add both in one line
- $keys = implode('`,`', $keys);
+ $keys = implode('`, `', $keys);
$values = implode(', ' , $values);
// Generate SQL string
$OUT = '';
// Look up administator login
- $result = SQL_QUERY_ESC("SELECT `id`,`login`,`password` FROM `{?_MYSQL_PREFIX?}_admins` WHERE '%s' REGEXP `email` LIMIT 1",
+ $result = SQL_QUERY_ESC("SELECT `id`, `login`, `password` FROM `{?_MYSQL_PREFIX?}_admins` WHERE '%s' REGEXP `email` LIMIT 1",
array($email), __FUNCTION__, __LINE__);
// Is there an account?
$valid = false;
// Then try to find that user
- $result = SQL_QUERY_ESC("SELECT `id`,`password`,`email` FROM `{?_MYSQL_PREFIX?}_admins` WHERE `login`='%s' LIMIT 1",
+ $result = SQL_QUERY_ESC("SELECT `id`, `password`, `email` FROM `{?_MYSQL_PREFIX?}_admins` WHERE `login`='%s' LIMIT 1",
array($login), __FUNCTION__, __LINE__);
// Is an account here?
// Change it in the admin
adminsChangeAdminAccount($postData, 'expert_warning');
-
- // Clear form
- unsetPostRequestElement('ok');
} // END - if
// All fine!
// Do not display
$return = 'agreed';
}
+
+ // Is a form sent?
+ if ((isFormSent()) && (isPostRequestElementSet('expert_settings'))) {
+ // Clear form
+ unsetPostRequestElement('ok');
+ unsetPostRequestElement('expert_settings');
+ } // END - if
} else {
// Forbidden
$return = 'forbidden';
$OUT = '';
foreach ($postData['sel'] as $taskId => $sel) {
$result_task = SQL_QUERY_ESC("SELECT
- `id`,`userid`,`task_type`,`subject`,`text`,`task_created`,`status`,`assigned_admin`
+ `id`,
+ `userid`,
+ `task_type`,
+ `subject`,
+ `text`,
+ `task_created`,
+ `status`,
+ `assigned_admin`
FROM
`{?_MYSQL_PREFIX?}_task_system`
WHERE
}
// Update query
- $result_tasks = SQL_QUERY_ESC("SELECT `id`,`assigned_admin`,`userid`,`task_type`,`subject`,`text`,`task_created` FROM `{?_MYSQL_PREFIX?}_task_system` WHERE `assigned_admin`=%s OR ((`assigned_admin`=0 OR `assigned_admin` IS NULL) AND `status`='NEW') ORDER BY `task_created` DESC",
+ $result_tasks = SQL_QUERY_ESC("SELECT `id`, `assigned_admin`, `userid`, `task_type`, `subject`, `text`, `task_created` FROM `{?_MYSQL_PREFIX?}_task_system` WHERE `assigned_admin`=%s OR ((`assigned_admin`=0 OR `assigned_admin` IS NULL) AND `status`='NEW') ORDER BY `task_created` DESC",
array(getCurrentAdminId()), __FILE__, __LINE__);
} // END - if
--- /dev/null
+<?php
+/************************************************************************
+ * Mailer v0.2.1-FINAL Start: 02/12/2004 *
+ * =================== Last change: 02/12/2004 *
+ * *
+ * -------------------------------------------------------------------- *
+ * File : what- *
+ * -------------------------------------------------------------------- *
+ * Short description : *
+ * -------------------------------------------------------------------- *
+ * Kurzbeschreibung : *
+ * -------------------------------------------------------------------- *
+ * $Revision:: $ *
+ * $Date:: $ *
+ * $Tag:: 0.2.1-FINAL $ *
+ * $Author:: $ *
+ * -------------------------------------------------------------------- *
+ * Copyright (c) 2003 - 2009 by Roland Haeder *
+ * Copyright (c) 2009 - 2012 by Mailer Developer Team *
+ * For more information visit: http://mxchange.org *
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ * This program is distributed in the hope that it will be useful, *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
+ * GNU General Public License for more details. *
+ * *
+ * You should have received a copy of the GNU General Public License *
+ * along with this program; if not, write to the Free Software *
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, *
+ * MA 02110-1301 USA *
+ ************************************************************************/
+
+// Some security stuff...
+if ((!defined('__SECURITY')) || (!isAdmin())) {
+ die();
+} elseif ((!isGetRequestElementSet('id')) || (!isGetRequestElementSet('userid')) || (!isUserSubIdAssignedToMember(getRequestElement('id')))) {
+ redirectToUrl('modules.php?module=admin&what=list_user_subid');
+}
+
+// [EOF]
+?>
--- /dev/null
+<?php
+/************************************************************************
+ * Mailer v0.2.1-FINAL Start: 02/12/2004 *
+ * =================== Last change: 02/12/2004 *
+ * *
+ * -------------------------------------------------------------------- *
+ * File : what- *
+ * -------------------------------------------------------------------- *
+ * Short description : *
+ * -------------------------------------------------------------------- *
+ * Kurzbeschreibung : *
+ * -------------------------------------------------------------------- *
+ * $Revision:: $ *
+ * $Date:: $ *
+ * $Tag:: 0.2.1-FINAL $ *
+ * $Author:: $ *
+ * -------------------------------------------------------------------- *
+ * Copyright (c) 2003 - 2009 by Roland Haeder *
+ * Copyright (c) 2009 - 2012 by Mailer Developer Team *
+ * For more information visit: http://mxchange.org *
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ * This program is distributed in the hope that it will be useful, *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
+ * GNU General Public License for more details. *
+ * *
+ * You should have received a copy of the GNU General Public License *
+ * along with this program; if not, write to the Free Software *
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, *
+ * MA 02110-1301 USA *
+ ************************************************************************/
+
+// Some security stuff...
+if ((!defined('__SECURITY')) || (!isAdmin())) {
+ die();
+} elseif ((!isGetRequestElementSet('id')) || (!isGetRequestElementSet('userid')) || (!isUserSubIdAssignedToMember(getRequestElement('id'), getRequestElement('userid')))) {
+ redirectToUrl('modules.php?module=admin&what=list_user_subid');
+}
+
+// List all entries
+showEntriesByXmlCallback('admin_list_user_subid_stats');
+
+// [EOF]
+?>
$END = mktime(postRequestElement('end_time_hour') , postRequestElement('end_time_min') , 0, postRequestElement('end_time_month') , postRequestElement('end_time_day') , postRequestElement('end_time_year') );
// Is there already a rallye running?
- $result = SQL_QUERY_ESC("SELECT `id`,`admin_id` FROM `{?_MYSQL_PREFIX?}_rallye_data` WHERE (`start_time` <= %s AND `end_time` >= %s) OR (`start_time` >= %s AND `start_time` <= %s) LIMIT 1",
+ $result = SQL_QUERY_ESC("SELECT `id`, `admin_id` FROM `{?_MYSQL_PREFIX?}_rallye_data` WHERE (`start_time` <= %s AND `end_time` >= %s) OR (`start_time` >= %s AND `start_time` <= %s) LIMIT 1",
array($START, $START, $START, $END), __FILE__, __LINE__);
if (SQL_HASZERONUMS($result)) {
$below = array();
// Get all available main menus
- $result = SQL_QUERY("SELECT `action`,`title`,`sort` FROM `{?_MYSQL_PREFIX?}_admin_menu` WHERE (`what`='' OR `what` IS NULL) ORDER BY `sort` ASC", __FILE__, __LINE__);
+ $result = SQL_QUERY("SELECT `action`, `title`, `sort` FROM `{?_MYSQL_PREFIX?}_admin_menu` WHERE (`what`='' OR `what` IS NULL) ORDER BY `sort` ASC", __FILE__, __LINE__);
if (!SQL_HASZERONUMS($result)) {
// Read menu structure
// @TODO Cant this be rewritten?
// Load sub menus :)
foreach ($menus as $key_main => $value_main) {
- $result = SQL_QUERY_ESC("SELECT `what`,`title`,`sort` FROM `{?_MYSQL_PREFIX?}_admin_menu` WHERE `action`='%s' AND `what` != '' AND `what` IS NOT NULL ORDER BY `sort` ASC",
+ $result = SQL_QUERY_ESC("SELECT `what`, `title`, `sort` FROM `{?_MYSQL_PREFIX?}_admin_menu` WHERE `action`='%s' AND `what` != '' AND `what` IS NOT NULL ORDER BY `sort` ASC",
array($value_main), __FILE__, __LINE__);
if (!SQL_HASZERONUMS($result)) {
// Init arrays
// Insert new menu entry
if (isPostRequestElementSet('menu')) {
// Add sub menu
- SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`,`what`,`title`,`descr`,`sort`) VALUES ('%s','%s','%s','%s','%s')",
+ SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`, `what`, `title`, `descr`, `sort`) VALUES ('%s','%s','%s','%s','%s')",
array(
postRequestElement('menu'),
postRequestElement('name'),
foreach (postRequestElement('sel') as $sel => $confirm) {
if ($confirm == 1) {
$count++;
- $result = SQL_QUERY_ESC("SELECT `title`,`action`,`what`,`descr` FROM `{?_MYSQL_PREFIX?}_admin_menu` WHERE ".$AND." AND `id`=%s LIMIT 1",
+ $result = SQL_QUERY_ESC("SELECT `title`, `action`, `what`, `descr` FROM `{?_MYSQL_PREFIX?}_admin_menu` WHERE ".$AND." AND `id`=%s LIMIT 1",
array(bigintval($sel)), __FILE__, __LINE__);
if (SQL_NUMROWS($result) == 1) {
// Entry found so we load the stuff...
doAdminProcessMenuWeightning('admin', $AND);
// Run SQL
- $result = SQL_QUERY("SELECT `id`,`action`,`what`,`title`,`sort` FROM `{?_MYSQL_PREFIX?}_admin_menu` WHERE ".$AND." ORDER BY `sort` ASC", __FILE__, __LINE__);
+ $result = SQL_QUERY("SELECT `id`, `action`, `what`, `title`, `sort` FROM `{?_MYSQL_PREFIX?}_admin_menu` WHERE ".$AND." ORDER BY `sort` ASC", __FILE__, __LINE__);
// Are there entries?
if (!SQL_HASZERONUMS($result)) {
$rows = '';
foreach (postRequestElement('sel') as $template => $sel) {
// First of all load data from DB
- $result = SQL_QUERY_ESC("SELECT `admin_id`,`id` FROM `{?_MYSQL_PREFIX?}_admins_mails` WHERE `mail_template`='%s' ORDER BY `id` ASC",
+ $result = SQL_QUERY_ESC("SELECT `admin_id`, `id` FROM `{?_MYSQL_PREFIX?}_admins_mails` WHERE `mail_template`='%s' ORDER BY `id` ASC",
array($template), __FILE__, __LINE__);
$OUT = '';
$adminId2 = '0'; $id = '0';
array(postRequestElement('catname')), __FILE__, __LINE__);
if (SQL_HASZERONUMS($result)) {
// Category does not exists, we simply add it...
- SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`,`visible`,`sort`) VALUES ('%s','%s','%s')",
+ SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`, `visible`, `sort`) VALUES ('%s','%s','%s')",
array(
postRequestElement('catname'),
postRequestElement('visible'),
$OUT = '';
foreach (postRequestElement('sel') as $id => $value) {
// Load data from the category
- $result = SQL_QUERY_ESC("SELECT `id`,`visible`,`sort` FROM `{?_MYSQL_PREFIX?}_cats` WHERE `id`=%s LIMIT 1",
+ $result = SQL_QUERY_ESC("SELECT `id`, `visible`, `sort` FROM `{?_MYSQL_PREFIX?}_cats` WHERE `id`=%s LIMIT 1",
array(bigintval($id)), __FILE__, __LINE__);
$content = SQL_FETCHARRAY($result);
$CATS = '';
// Load all categories
- $result = SQL_QUERY("SELECT `id`,`cat`,`visible`,`sort` FROM `{?_MYSQL_PREFIX?}_cats` ORDER BY `sort` ASC", __FILE__, __LINE__);
+ $result = SQL_QUERY("SELECT `id`, `cat`, `visible`, `sort` FROM `{?_MYSQL_PREFIX?}_cats` ORDER BY `sort` ASC", __FILE__, __LINE__);
if (!SQL_HASZERONUMS($result)) {
// Init variables
$OUT = '';
// Handle form ...
} else {
// Query for all imprint data rows
- $result = SQL_QUERY('SELECT `imprint_key`,`imprint_value` FROM `{?_MYSQL_PREFIX?}_imprint_data` ORDER BY `imprint_id` ASC', __FILE__, __LINE__);
+ $result = SQL_QUERY('SELECT
+ `imprint_key`,
+ `imprint_value`
+FROM
+ `{?_MYSQL_PREFIX?}_imprint_data`
+ORDER BY
+ `imprint_id` ASC', __FILE__, __LINE__);
// Are there entries?
if (!SQL_HASZERONUMS($result)) {
foreach (postRequestElement('sel') as $id => $sel) {
// Load module data
// @TODO This can be moved into mysql-function.php, see checkModulePermissions() function
- $result = SQL_QUERY_ESC("SELECT `id`,`module`,`title`,`locked`,`hidden`,`admin_only`,`mem_only` FROM `{?_MYSQL_PREFIX?}_mod_reg` WHERE `id`=%s LIMIT 1",
+ $result = SQL_QUERY_ESC("SELECT `id`, `module`, `title`, `locked`, `hidden`, `admin_only`, `mem_only` FROM `{?_MYSQL_PREFIX?}_mod_reg` WHERE `id`=%s LIMIT 1",
array(bigintval($id)), __FILE__, __LINE__);
// Load data
if (!ifPostContainsSelections()) {
// Load module data (We do not need to check if there's at least one...)
$result = SQL_QUERY('SELECT
- `id`,`module`,`locked`,`hidden`,`admin_only`,`title`,`mem_only`
+ `id`, `module`, `locked`, `hidden`, `admin_only`, `title`, `mem_only`
FROM
`{?_MYSQL_PREFIX?}_mod_reg`
ORDER BY
SQL_QUERY_ESC("INSERT INTO
`{?_MYSQL_PREFIX?}_payout_types`
(
- `type`,`rate`,`min_points`,`from_account`,`from_pass`,`engine_url`,`engine_ret_ok`,`engine_ret_failed`,`pass_enc`,`allow_url`
+ `type`, `rate`, `min_points`, `from_account`, `from_pass`, `engine_url`, `engine_ret_ok`, `engine_ret_failed`, `pass_enc`, `allow_url`
) VALUES (
'%s', %s, %s,'%s','%s','%s','%s','%s','%s','%s'
)",
$OUT = '';
foreach (postRequestElement('sel') as $id => $sel) {
// Load data
- $result = SQL_QUERY_ESC("SELECT `id`,`type`,`rate`,`min_points`,`allow_url` FROM `{?_MYSQL_PREFIX?}_payout_types` WHERE `id`=%s LIMIT 1",
+ $result = SQL_QUERY_ESC("SELECT `id`, `type`, `rate`, `min_points`, `allow_url` FROM `{?_MYSQL_PREFIX?}_payout_types` WHERE `id`=%s LIMIT 1",
array(bigintval($id)), __FILE__, __LINE__);
$content = SQL_FETCHARRAY($result);
SQL_FREERESULT($result);
$id = bigintval($id);
// Load data
- $result = SQL_QUERY_ESC("SELECT `id`,`type`,`rate`,`min_points` FROM `{?_MYSQL_PREFIX?}_payout_types` WHERE `id`=%s LIMIT 1",
+ $result = SQL_QUERY_ESC("SELECT `id`, `type`, `rate`, `min_points` FROM `{?_MYSQL_PREFIX?}_payout_types` WHERE `id`=%s LIMIT 1",
array($id), __FILE__, __LINE__);
$content = SQL_FETCHARRAY($result);
SQL_FREERESULT($result);
} // END - if
// Payout types
-$result_type = SQL_QUERY("SELECT
- `id`,`type`,`rate`,`min_points`,`from_account`
+$result_type = SQL_QUERY('SELECT
+ `id`,
+ `type`,
+ `rate`,
+ `min_points`,
+ `from_account`
FROM
`{?_MYSQL_PREFIX?}_payout_types`
ORDER BY
- `type` ASC", __FILE__, __LINE__);
+ `type` ASC', __FILE__, __LINE__);
if ((!SQL_HASZERONUMS($result_type)) && ($display)) {
// List all payout types
case 'ref':
switch (getRequestElement('do')) {
case 'add':
- addSql("INSERT INTO `{?_MYSQL_PREFIX?}_refdepths` (`level`,`percents`) VALUES ('".bigintval(postRequestElement('level'))."','".bigintval(postRequestElement('percents'))."')");
+ addSql("INSERT INTO `{?_MYSQL_PREFIX?}_refdepths` (`level`, `percents`) VALUES ('".bigintval(postRequestElement('level'))."','".bigintval(postRequestElement('percents'))."')");
break;
case 'edit': // Change entries
// Delete entries
$OUT = '';
foreach (postRequestElement('sel') as $id => $value) {
- $result = SQL_QUERY_ESC("SELECT `id`,`level`,`percents` FROM `{?_MYSQL_PREFIX?}_refdepths` WHERE `id`=%s LIMIT 1",
+ $result = SQL_QUERY_ESC("SELECT `id`, `level`, `percents` FROM `{?_MYSQL_PREFIX?}_refdepths` WHERE `id`=%s LIMIT 1",
array(bigintval($id)), __FILE__, __LINE__);
$content = SQL_FETCHARRAY($result);
SQL_FREERESULT($result);
// Edit entries
$OUT = '';
foreach (postRequestElement('sel') as $id => $value) {
- $result = SQL_QUERY_ESC("SELECT `id`,`level`,`percents` FROM `{?_MYSQL_PREFIX?}_refdepths` WHERE `id`=%s LIMIT 1",
+ $result = SQL_QUERY_ESC("SELECT `id`, `level`, `percents` FROM `{?_MYSQL_PREFIX?}_refdepths` WHERE `id`=%s LIMIT 1",
array(bigintval($id)), __FILE__, __LINE__);
$content = SQL_FETCHARRAY($result);
SQL_FREERESULT($result);
loadTemplate('admin_edit_reflevel', false, $OUT);
} else {
// Referral levels
- $result = SQL_QUERY("SELECT `id`,`level`,`percents` FROM `{?_MYSQL_PREFIX?}_refdepths` ORDER BY `level` ASC", __FILE__, __LINE__);
+ $result = SQL_QUERY("SELECT `id`, `level`, `percents` FROM `{?_MYSQL_PREFIX?}_refdepths` ORDER BY `level` ASC", __FILE__, __LINE__);
if (!SQL_HASZERONUMS($result)) {
// Make referral levels editable and deletable
$OUT = '';
// Ok, new price level entered!
SQL_QUERY_ESC("INSERT INTO
`{?_MYSQL_PREFIX?}_rallye_prices`
-(`rallye_id`,`price_level`,`points`,`info`)
+(`rallye_id`, `price_level`, `points`, `info`)
VALUES
(%s, %s, '%s', '%s')",
array(
}
} else {
// A rallye was selected, so check if there are already prices assigned...
- $result = SQL_QUERY_ESC("SELECT `id`,`price_level`,`points`,`info` FROM `{?_MYSQL_PREFIX?}_rallye_prices` WHERE `rallye_id`=%s ORDER BY `price_level` ASC",
+ $result = SQL_QUERY_ESC("SELECT `id`, `price_level`, `points`, `info` FROM `{?_MYSQL_PREFIX?}_rallye_prices` WHERE `rallye_id`=%s ORDER BY `price_level` ASC",
array(bigintval(getRequestElement('rallye_id'))), __FILE__, __LINE__);
if (!SQL_HASZERONUMS($result)) {
} // END - if
// List all register values
-$result = SQL_QUERY("SELECT `id`,`field_name`,`field_required` FROM `{?_MYSQL_PREFIX?}_must_register` ORDER BY `id` ASC", __FILE__, __LINE__);
+$result = SQL_QUERY("SELECT `id`, `field_name`, `field_required` FROM `{?_MYSQL_PREFIX?}_must_register` ORDER BY `id` ASC", __FILE__, __LINE__);
$OUT = '';
while ($content = SQL_FETCHARRAY($result)) {
// Get language string
adminSaveSettingsFromPostData();
} else {
// Load existing modules and generate TR rows for the template
- $result = SQL_QUERY("SELECT `module`,`title` FROM `{?_MYSQL_PREFIX?}_mod_reg` ORDER BY module", __FILE__, __LINE__);
+ $result = SQL_QUERY("SELECT `module`, `title` FROM `{?_MYSQL_PREFIX?}_mod_reg` ORDER BY module", __FILE__, __LINE__);
$OUT = '';
while ($content = SQL_FETCHARRAY($result)) {
// Already registered module?
if (isGetRequestElementSet('mid')) {
// Load email data
- $result = SQL_QUERY_ESC("SELECT `id`,`sender`,`subject`,`url`,`timestamp`,`cat_id`,`payment_id` FROM `{?_MYSQL_PREFIX?}_pool` WHERE `id`=%s LIMIT 1",
+ $result = SQL_QUERY_ESC("SELECT `id`, `sender`, `subject`, `url`, `timestamp`, `cat_id`, `payment_id` FROM `{?_MYSQL_PREFIX?}_pool` WHERE `id`=%s LIMIT 1",
array(bigintval(getRequestElement('mid'))), __FILE__, __LINE__);
// Delete mail only once
displayMessage('{--ADMIN_USER_STATS_REMOVED--}');
} elseif ((isGetRequestElementSet('bid')) && (isExtensionActive('bonus'))) {
// Load data from bonus mail
- $result = SQL_QUERY_ESC("SELECT `id`,`subject`,`url`,`timestamp`,`mails_sent` FROM `{?_MYSQL_PREFIX?}_bonus` WHERE `id`=%s LIMIT 1",
+ $result = SQL_QUERY_ESC("SELECT `id`, `subject`, `url`, `timestamp`, `mails_sent` FROM `{?_MYSQL_PREFIX?}_bonus` WHERE `id`=%s LIMIT 1",
array(bigintval(getRequestElement('bid'))), __FILE__, __LINE__);
// Delete mail only once
SQL_FREERESULT($result);
} elseif ((isGetRequestElementSet('nid')) && (isExtensionInstalledAndNewer('bonus', '0.8.7'))) {
// Load data from bonus mail
- $result = SQL_QUERY_ESC("SELECT `id`,`subject`,`url`,`timestamp` FROM `{?_MYSQL_PREFIX?}_bonus` WHERE `id`=%s LIMIT 1",
+ $result = SQL_QUERY_ESC("SELECT `id`, `subject`, `url`, `timestamp` FROM `{?_MYSQL_PREFIX?}_bonus` WHERE `id`=%s LIMIT 1",
array(bigintval(getRequestElement('nid'))), __FILE__, __LINE__);
// Delete mail only once
foreach (postRequestElement('sel') as $id => $sel) {
// Get the userid
$result = SQL_QUERY_ESC("SELECT
- `userid`,`holiday_start`,`holiday_end`
+ `userid`,
+ `holiday_start`,
+ `holiday_end`
FROM
`{?_MYSQL_PREFIX?}_user_holidays`
WHERE
if (isGetRequestElementSet('id')) {
// Check for selected sponsor
- $result = SQL_QUERY_ESC("SELECT `id`,`email`,`gender`,`surname`,`family` FROM `{?_MYSQL_PREFIX?}_sponsor_data` WHERE `id`=%s LIMIT 1",
+ $result = SQL_QUERY_ESC("SELECT `id`, `email`, `gender`, `surname`, `family` FROM `{?_MYSQL_PREFIX?}_sponsor_data` WHERE `id`=%s LIMIT 1",
array(bigintval(getRequestElement('id'))), __FILE__, __LINE__);
if (SQL_NUMROWS($result) == 1) {
// Remove sponsor
// We only need outgoing transfers
$result = SQL_QUERY('SELECT
- `userid` AS `from_userid`,`to_userid`,`trans_id`,`points`,`reason`,`time_trans`
+ `userid` AS `from_userid`,
+ `to_userid`,
+ `trans_id`,
+ `points`,
+ `reason`,
+ `time_trans`
FROM
`{?_MYSQL_PREFIX?}_user_transfers_out`
ORDER BY
// Form sent or anything else? ;-)
if ((isFormSent()) && (isPostRequestElementSet('mid'))) {
// Make mail editable...
- $result = SQL_QUERY_ESC("SELECT
- `id`,`sender` AS `userid`,`subject`,`text`,`url`
+ $result = SQL_QUERY_ESC('SELECT
+ `id`,
+ `sender` AS `userid`,
+ `subject`,
+ `text`,
+ `url`
FROM
`{?_MYSQL_PREFIX?}_pool`
WHERE
`id`=%s
-LIMIT 1",
+LIMIT 1',
array(bigintval(postRequestElement('mid'))), __FILE__, __LINE__);
// Fetch row
loadTemplate('admin_edit_email', false, $content);
} elseif (isGetRequestElementSet('mid')) {
// Make also this email editable
- $result = SQL_QUERY_ESC("SELECT
- `id`,`sender` AS `userid`,`subject`,`text`,`url`
+ $result = SQL_QUERY_ESC('SELECT
+ `id`,
+ `sender` AS `userid`,
+ `subject`,
+ `text`,
+ `url`
FROM
`{?_MYSQL_PREFIX?}_pool`
WHERE
`id`=%s
-LIMIT 1",
+LIMIT 1',
array(bigintval(getRequestElement('mid'))), __FILE__, __LINE__);
// Fetch row
loadTemplate('admin_edit_email', false, $content);
} elseif (isGetRequestElementSet('bid')) {
// Make also this email editable
- $result = SQL_QUERY_ESC("SELECT
- `id`,`subject`,`text`,`url`
+ $result = SQL_QUERY_ESC('SELECT
+ `id`,
+ `subject`,
+ `text`,
+ `url`
FROM
`{?_MYSQL_PREFIX?}_bonus`
WHERE
`id`=%s
-LIMIT 1",
+LIMIT 1',
array(bigintval(getRequestElement('bid'))), __FILE__, __LINE__);
// Fetch row
} else {
// Query the pool
$result = SQL_QUERY('SELECT
- `id`,`sender` AS `userid`,`subject`,`payment_id`,`cat_id`
+ `id`,
+ `sender` AS `userid`,
+ `subject`,
+ `payment_id`,
+ `cat_id`
FROM
`{?_MYSQL_PREFIX?}_pool`
ORDER BY
if ((isGetRequestElementSet('id')) && (isGetRequestElementSet('do'))) {
// Check for selected sponsor
$result_main = SQL_QUERY_ESC("SELECT
- `id`,`company`,`position`,`gender`,`surname`,`family`,
- `street_nr1`,`street_nr2`,`zip`,`city`,`country`,
- `phone`,`fax`,`cell`,`email`,`url`,`tax_ident`,
- `receive_warnings`,`warning_interval`
+ `id`, `company`, `position`, `gender`, `surname`, `family`,
+ `street_nr1`, `street_nr2`, `zip`, `city`, `country`,
+ `phone`, `fax`, `cell`, `email`, `url`, `tax_ident`,
+ `receive_warnings`, `warning_interval`
FROM
`{?_MYSQL_PREFIX?}_sponsor_data`
WHERE
if (isGetRequestElementSet('userid')) {
// Load user entry
$result_main = SQL_QUERY_ESC("SELECT
- `userid`,`gender`,`surname`,`family`,`street_nr`,`zip`,`city`,`country`,
+ `userid`, `gender`, `surname`, `family`, `street_nr`, `zip`, `city`, `country`,
`email`,
- `birth_day`,`birth_month`,`birth_year`,
+ `birth_day`, `birth_month`, `birth_year`,
`max_mails`
FROM
`{?_MYSQL_PREFIX?}_user_data`
// Init SQL
$sql = "SELECT
- `id`,`sender`,`subject`,`text`,`receivers`,`payment_id`,`data_type`,`timestamp`,`url`,`target_send`,`cat_id`
+ `id`,
+ `sender`,
+ `subject`,
+ `text`,
+ `receivers`,
+ `payment_id`,
+ `data_type`,
+ `timestamp`,
+ `url`,
+ `target_send`,
+ `cat_id`
FROM
`{?_MYSQL_PREFIX?}_pool`
WHERE
$OUT = '';
while ($pool = SQL_FETCHARRAY($result)) {
// Check sent mails and clicks
- $result_mails = SQL_QUERY_ESC("SELECT `max_rec`,`clicks` FROM `{?_MYSQL_PREFIX?}_user_stats` WHERE `pool_id`=%s LIMIT 1",
+ $result_mails = SQL_QUERY_ESC("SELECT `max_rec`, `clicks` FROM `{?_MYSQL_PREFIX?}_user_stats` WHERE `pool_id`=%s LIMIT 1",
array(bigintval($pool['id'])), __FILE__, __LINE__);
// Load entries
// Normal mails ordered by your members
$sql = "SELECT
- `id`,`sender`,`subject`,`text`,`receivers`,`payment_id`,`data_type`,`timestamp`,`url`,`target_send`,`mails_sent`,`cat_id`
+ `id`, `sender`, `subject`, `text`, `receivers`, `payment_id`, `data_type`, `timestamp`, `url`, `target_send`, `mails_sent`, `cat_id`
FROM
`{?_MYSQL_PREFIX?}_pool`
WHERE
if (isGetRequestElementSet('mid')) {
// Only a specific mail shall be displayed
$sql = sprintf("SELECT
- `id`,`sender`,`subject`,`text`,`receivers`,`payment_id`,`data_type`,`timestamp`,`url`,`target_send`,`mails_sent`,`cat_id`
+ `id`, `sender`, `subject`, `text`, `receivers`, `payment_id`, `data_type`, `timestamp`, `url`, `target_send`, `mails_sent`, `cat_id`
FROM
`{?_MYSQL_PREFIX?}_pool`
WHERE
} elseif (isGetRequestElementSet('userid')) {
// All mails by a specific member shall be displayed
$sql = sprintf("SELECT
- `id`,`sender`,`subject`,`text`,`receivers`,`payment_id`,`data_type`,`timestamp`,`url`,`target_send`,`mails_sent`,`cat_id`
+ `id`, `sender`, `subject`, `text`, `receivers`, `payment_id`, `data_type`, `timestamp`, `url`, `target_send`, `mails_sent`, `cat_id`
FROM
`{?_MYSQL_PREFIX?}_pool`
WHERE
if ((isExtensionActive('bonus')) && (empty($WHO))) {
// Check for maximum pages
$result_bonus = SQL_QUERY("SELECT
- `id`,`subject`,`text`,`receivers`,`points`,`time`,`data_type`,`timestamp`,`url`,`cat_id`,`target_send`,`mails_sent`,`clicks`,
+ `id`, `subject`, `text`, `receivers`, `points`, `time`, `data_type`, `timestamp`, `url`, `cat_id`, `target_send`, `mails_sent`, `clicks`,
(`mails_sent` - `clicks`) AS `unconfirmed`
FROM
`{?_MYSQL_PREFIX?}_bonus`
// Load required data
if (isExtensionInstalledAndNewer('sql_patches', '0.0.6')) {
- $result = SQL_QUERY_ESC("SELECT `ext_has_css`,`ext_active` FROM `{?_MYSQL_PREFIX?}_extensions` WHERE `id`=%s LIMIT 1",
+ $result = SQL_QUERY_ESC("SELECT `ext_has_css`, `ext_active` FROM `{?_MYSQL_PREFIX?}_extensions` WHERE `id`=%s LIMIT 1",
array(bigintval($ext_id)), __FILE__, __LINE__);
list($css, $active) = SQL_FETCHROW($result);
SQL_FREERESULT($result);
);
// Load row template and switch color
- $OUT .= loadTemplate('admin_extensions_edit_row', true, $content);
+ $OUT .= loadTemplate('admin_edit_extensions_row', true, $content);
} // END - if
} // END - foreach
// Load template
- loadTemplate('admin_extensions_edit', false, $OUT);
+ loadTemplate('admin_edit_extensions', false, $OUT);
$do = 'edit';
}
} elseif ((isPostRequestElementSet('delete')) && (ifPostContainsSelections()) && (!isDemoModeActive())) {
);
// Load row template and switch color
- $OUT .= loadTemplate('admin_extensions_delete_row', true, $content);
+ $OUT .= loadTemplate('admin_delete_extensions_row', true, $content);
} else {
// Prepare data for the row template
$content = array(
);
// Not valid!
- $OUT .= loadTemplate('admin_extensions_delete_row_404', true, $content);
+ $OUT .= loadTemplate('admin_delete_extensions_row_404', true, $content);
}
} // END - foreach
// Load template
- loadTemplate('admin_extensions_delete', false, $OUT);
+ loadTemplate('admin_delete_extensions', false, $OUT);
$do = 'delete';
} elseif ((isFormSent('do_delete')) && (ifPostContainsSelections()) && (!isDemoModeActive())) {
// Remove extensions from DB (you have to delete all files manually!)
$content['ext_css'] = $cssSelection;
// Load row template and switch color
- $OUT .= loadTemplate('admin_extensions_row', true, $content);
+ $OUT .= loadTemplate('admin_list_extensions_row', true, $content);
} // END - while
// Free memory
SQL_FREERESULT($result);
// Load template
- loadTemplate('admin_extensions', false, $OUT);
+ loadTemplate('admin_list_extensions', false, $OUT);
} else {
// No extensions are registered
displayMessage('{--ADMIN_NO_EXTENSION_REGISTERED--}');
// Get all available main menus
$result_menu = SQL_QUERY("SELECT
- `action`,`title`,`sort`
+ `action`, `title`, `sort`
FROM
`{?_MYSQL_PREFIX?}_guest_menu`
WHERE
foreach ($menus as $key_main => $value_main) {
// Query for sub menus
$result = SQL_QUERY_ESC("SELECT
- `what`,`title`,`sort`
+ `what`, `title`, `sort`
FROM
`{?_MYSQL_PREFIX?}_guest_menu`
WHERE
} elseif (!isDemoModeActive()) {
// Insert new menu entry
if (isPostRequestElementSet('menu')) {
- SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_guest_menu` (`action`,`what`,`title`,`sort`,`visible`,`locked`) VALUES ('%s','%s','%s','%s','%s','%s')",
+ SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_guest_menu` (`action`, `what`, `title`, `sort`, `visible`, `locked`) VALUES ('%s','%s','%s','%s','%s','%s')",
array(
postRequestElement('menu'),
postRequestElement('name'),
postRequestElement('active'),
), __FILE__, __LINE__);
} else {
- SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_guest_menu` (`action`,`title`,`sort`,`visible`,`locked`) VALUES ('%s','%s','%s','%s','%s')",
+ SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_guest_menu` (`action`, `title`, `sort`, `visible`, `locked`) VALUES ('%s','%s','%s','%s','%s')",
array(
postRequestElement('name'),
postRequestElement('title'),
foreach (postRequestElement('sel') as $sel => $confirm) {
if ($confirm == 1) {
$count++;
- $result = SQL_QUERY_ESC("SELECT `title`,`action`,`what` FROM `{?_MYSQL_PREFIX?}_guest_menu` WHERE ".$AND." AND `id`=%s LIMIT 1",
+ $result = SQL_QUERY_ESC("SELECT `title`, `action`, `what` FROM `{?_MYSQL_PREFIX?}_guest_menu` WHERE ".$AND." AND `id`=%s LIMIT 1",
array(bigintval($sel)), __FILE__, __LINE__);
if (SQL_NUMROWS($result) == 1) {
// Entry found so we load the stuff...
foreach (postRequestElement('sel') as $sel => $confirm) {
if ($confirm == 1) {
$count++;
- $result = SQL_QUERY_ESC("SELECT `title`,`visible`,`locked` FROM `{?_MYSQL_PREFIX?}_guest_menu` WHERE ".$AND." AND `id`=%s LIMIT 1",
+ $result = SQL_QUERY_ESC("SELECT `title`, `visible`, `locked` FROM `{?_MYSQL_PREFIX?}_guest_menu` WHERE ".$AND." AND `id`=%s LIMIT 1",
array(bigintval($sel)), __FILE__, __LINE__);
if (SQL_NUMROWS($result) == 1) {
// Entry found so we load the stuff...
// By default list menus
if (empty($subMenu)) {
// List only main menus
- $result = SQL_QUERY("SELECT `id`,`action`,`what`,`title`,`sort` FROM `{?_MYSQL_PREFIX?}_guest_menu` WHERE (`what`='' OR `what` IS NULL) ORDER BY `sort` ASC", __FILE__, __LINE__);
+ $result = SQL_QUERY("SELECT `id`, `action`, `what`, `title`, `sort` FROM `{?_MYSQL_PREFIX?}_guest_menu` WHERE (`what`='' OR `what` IS NULL) ORDER BY `sort` ASC", __FILE__, __LINE__);
} else {
// List sub menus
- $result = SQL_QUERY_ESC("SELECT `id`,`action`,`what`,`title`,`sort` FROM `{?_MYSQL_PREFIX?}_guest_menu` WHERE `action`='%s' AND `what` != '' AND `what` IS NOT NULL ORDER BY `sort` ASC",
+ $result = SQL_QUERY_ESC("SELECT `id`, `action`, `what`, `title`, `sort` FROM `{?_MYSQL_PREFIX?}_guest_menu` WHERE `action`='%s' AND `what` != '' AND `what` IS NOT NULL ORDER BY `sort` ASC",
array($subMenu), __FILE__, __LINE__);
}
$OUT = '';
foreach (postRequestElement('sel') as $id => $selected) {
// Load data for the id
- $result = SQL_QUERY_ESC("SELECT `id`,`admin_id`,`action_menu`,`what_menu`,`access_mode` FROM `{?_MYSQL_PREFIX?}_admins_acls` WHERE `id`=%s LIMIT 1",
+ $result = SQL_QUERY_ESC("SELECT `id`, `admin_id`, `action_menu`, `what_menu`, `access_mode` FROM `{?_MYSQL_PREFIX?}_admins_acls` WHERE `id`=%s LIMIT 1",
array(bigintval($id)), __FILE__, __LINE__);
// Load all data
$OUT = '';
foreach (postRequestElement('sel') as $id => $selected) {
// Load data for the id
- $result = SQL_QUERY_ESC("SELECT `id`,`admin_id`,`action_menu`,`what_menu`,`access_mode` FROM `{?_MYSQL_PREFIX?}_admins_acls` WHERE `id`=%s LIMIT 1",
+ $result = SQL_QUERY_ESC("SELECT `id`, `admin_id`, `action_menu`, `what_menu`, `access_mode` FROM `{?_MYSQL_PREFIX?}_admins_acls` WHERE `id`=%s LIMIT 1",
array(bigintval($id)), __FILE__, __LINE__);
$content = SQL_FETCHARRAY($result);
SQL_FREERESULT($result);
if ($show === false) return;
// Load all banking packages from DB
-$result = SQL_QUERY("SELECT
- `id`,`title`,`description`,`account_fee`,`package_active`,`interest_plus`,`interest_minus`
+$result = SQL_QUERY('SELECT
+ `id`,
+ `title`,
+ `description`,
+ `account_fee`,
+ `package_active`,
+ `interest_plus`,
+ `interest_minus`
FROM
`{?_MYSQL_PREFIX?}_bank_packages`
ORDER BY
- `id` ASC", __FILE__, __LINE__);
+ `id` ASC', __FILE__, __LINE__);
// Is there at lease one package?
if (!SQL_HASZERONUMS($result)) {
$content['email'] = '<a href="' . generateEmailLink($content['email'], 'user_data') . '">{%pipe,translateGender=' . $content['gender'] . '%} ' . $content['surname'] . ' ' . $content['family'] . '</a>';
// Ok, list categories of this user
- $result_cats = SQL_QUERY("SELECT `id`,`cat` FROM `{?_MYSQL_PREFIX?}_cats` ORDER BY `sort` ASC", __FILE__, __LINE__);
+ $result_cats = SQL_QUERY("SELECT `id`, `cat` FROM `{?_MYSQL_PREFIX?}_cats` ORDER BY `sort` ASC", __FILE__, __LINE__);
if (!SQL_HASZERONUMS($result_cats)) {
// List categories
array(strtoupper(postRequestElement('code'))), __FILE__, __LINE__);
if (SQL_HASZERONUMS($result)) {
// Save entry
- SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_countries` (`code`,`descr`,`is_active`) VALUES ('%s','%s','%s')",
+ SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_countries` (`code`, `descr`, `is_active`) VALUES ('%s','%s','%s')",
array(
strtoupper(substr(postRequestElement('code'), 0, 2)),
postRequestElement('descr'),
$OUT = '';
foreach (postRequestElement('id') as $id => $isActive) {
// Load data from DB
- $result = SQL_QUERY_ESC("SELECT `id`,`code`,`descr` FROM `{?_MYSQL_PREFIX?}_countries` WHERE `id`=%s LIMIT 1",
+ $result = SQL_QUERY_ESC("SELECT `id`, `code`, `descr` FROM `{?_MYSQL_PREFIX?}_countries` WHERE `id`=%s LIMIT 1",
array(bigintval($id)), __FILE__, __LINE__);
if (SQL_NUMROWS($result) == 1) {
// Load data
} // END - if
// Load currenty setup country codes to list
- $result = SQL_QUERY('SELECT `id`,`code`,`descr`,`is_active` FROM `{?_MYSQL_PREFIX?}_countries` ORDER BY `code` ASC',
+ $result = SQL_QUERY('SELECT `id`, `code`, `descr`, `is_active` FROM `{?_MYSQL_PREFIX?}_countries` ORDER BY `code` ASC',
__FILE__, __LINE__);
// Are there entries?
array(bigintval(postRequestElement('max'))), __FILE__, __LINE__);
if (SQL_HASZERONUMS($result)) {
// Add this value (including comment)
- SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_max_receive` (`value`,`comment`) VALUES ('%s','%s')",
+ SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_max_receive` (`value`, `comment`) VALUES ('%s','%s')",
array(bigintval(postRequestElement('max')), postRequestElement('comment')),__FILE__, __LINE__);
$content = '{--ADMIN_MAX_VALUE_SAVED--}';
} else {
$OUT = '';
foreach (postRequestElement('sel') as $id => $value) {
// Load data
- $result = SQL_QUERY_ESC("SELECT `id`,`value`,`comment` FROM `{?_MYSQL_PREFIX?}_max_receive` WHERE `id`=%s LIMIT 1",
+ $result = SQL_QUERY_ESC("SELECT `id`, `value`, `comment` FROM `{?_MYSQL_PREFIX?}_max_receive` WHERE `id`=%s LIMIT 1",
array(bigintval($id)), __FILE__, __LINE__);
$content = SQL_FETCHARRAY($result);
SQL_FREERESULT($result);
$OUT = '';
foreach (postRequestElement('sel') as $id => $value) {
// Load data
- $result = SQL_QUERY_ESC("SELECT `id`,`value`,`comment` FROM `{?_MYSQL_PREFIX?}_max_receive` WHERE `id`=%s LIMIT 1",
+ $result = SQL_QUERY_ESC("SELECT `id`, `value`, `comment` FROM `{?_MYSQL_PREFIX?}_max_receive` WHERE `id`=%s LIMIT 1",
array(bigintval($id)), __FILE__, __LINE__);
$content = SQL_FETCHARRAY($result);
SQL_FREERESULT($result);
// Load main template
loadTemplate('admin_edit_email_max_rec', false, $content);
} else {
- $result = SQL_QUERY("SELECT `id`,`value`,`comment` FROM `{?_MYSQL_PREFIX?}_max_receive` ORDER BY `value` ASC",
+ $result = SQL_QUERY("SELECT `id`, `value`, `comment` FROM `{?_MYSQL_PREFIX?}_max_receive` ORDER BY `value` ASC",
__FILE__, __LINE__);
if (!SQL_HASZERONUMS($result)) {
// List already existing entries for editing
--- /dev/null
+<?php
+/************************************************************************
+ * Mailer v0.2.1-FINAL Start: 11/04/2009 *
+ * =================== Last change: 11/04/2009 *
+ * *
+ * -------------------------------------------------------------------- *
+ * File : what-list_network_data.php *
+ * -------------------------------------------------------------------- *
+ * Short description : List all supported sponsor networks *
+ * -------------------------------------------------------------------- *
+ * Kurzbeschreibung : Listet alle supportierten Werbenetzwerke auf *
+ * -------------------------------------------------------------------- *
+ * $Revision:: $ *
+ * $Date:: $ *
+ * $Tag:: 0.2.1-FINAL $ *
+ * $Author:: $ *
+ * -------------------------------------------------------------------- *
+ * Copyright (c) 2003 - 2009 by Roland Haeder *
+ * Copyright (c) 2009 - 2012 by Mailer Developer Team *
+ * For more information visit: http://mxchange.org *
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ * This program is distributed in the hope that it will be useful, *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
+ * GNU General Public License for more details. *
+ * *
+ * You should have received a copy of the GNU General Public License *
+ * along with this program; if not, write to the Free Software *
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, *
+ * MA 02110-1301 USA *
+ ************************************************************************/
+
+// Some security stuff...
+if ((!defined('__SECURITY')) || (!isAdmin())) {
+ die();
+} // END - if
+
+// Add description as navigation point
+addYouAreHereLink('admin', __FILE__);
+
+// These are expert settings!
+if (doVerifyExpertSettings() != 'agreed') {
+ // Abort here
+ return;
+} // END - if
+
+// By default we should display list/add new forms
+$GLOBALS['network_display'] = true;
+
+// Handle form here
+doNetworkHandleForm();
+
+// Display forms?
+if ($GLOBALS['network_display'] === false) {
+ // Abort here
+ return;
+} // END - if
+
+// Query for networks
+$result = SQL_QUERY('SELECT
+ `network_id`,
+ `network_short_name`,
+ `network_title`,
+ `network_reflink`,
+ `network_data_separator`,
+ `network_row_separator`,
+ `network_request_type`,
+ `network_charset`,
+ `network_require_id_card`,
+ `network_query_amount`
+FROM
+ `{?_MYSQL_PREFIX?}_network_data`
+ORDER BY
+ `network_short_name` ASC', __FILE__, __LINE__);
+
+// Are there entries?
+if (!SQL_HASZERONUMS($result)) {
+ // List all
+ $OUT = '';
+ while ($content = SQL_FETCHARRAY($result)) {
+ // Load row template
+ $OUT .= loadTemplate('admin_list_network_data_row', true, $content);
+ } // END - while
+
+ // Load main template
+ loadTemplate('admin_list_network_data', false, $OUT);
+} else {
+ // Display a message that there are sponsor networks supported, yet
+ displayMessage('{--ADMIN_NETWORK_NONE_SUPPORTED--}');
+}
+
+// Free result
+SQL_FREERESULT($result);
+
+// Add form for adding new entry
+loadTemplate('admin_add_network');
+
+// [EOF]
+?>
$GLOBALS['network_request_params_disabled'][$row['network_request_param_key']] = true;
} // END - if
- // Is default value empty or null?
- $row['network_request_param_default'] = fixNullEmptyToDashes($row['network_request_param_default'], 3);
-
// Add row template and switch color
$OUT .= loadTemplate('admin_list_network_request_params_row', true, $row);
} // END - while
`network_type_api_url`,
`network_type_click_url`,
`network_type_banner_url`,
- `network_type_reload_time_unit`
+ `network_type_reload_time_unit`,
+ `network_text_encoding`
FROM
`{?_MYSQL_PREFIX?}_network_types`
WHERE
// List all entries
$OUT = '';
while ($row = SQL_FETCHARRAY($result)) {
- // Add/translate some data
- $row['network_type_banner_url'] = fixNullEmptyToDashes($row['network_type_banner_url'], 3);
-
// Set disabled entry
$GLOBALS['network_types_disabled'][$row['network_type_handler']] = true;
// List all entries
$OUT = '';
while ($row = SQL_FETCHARRAY($result)) {
- // Is default value empty or null?
- $row['network_vcheck_param_default'] = fixNullEmptyToDashes($row['network_vcheck_param_default'], 3);
-
// Add this entry
$GLOBALS['network_vcheck_params_disabled'][$row['network_vcheck_param_key']] = true;
<?php
-/************************************************************************
- * Mailer v0.2.1-FINAL Start: 11/04/2009 *
- * =================== Last change: 11/04/2009 *
- * *
- * -------------------------------------------------------------------- *
- * File : what-list_networks.php *
- * -------------------------------------------------------------------- *
- * Short description : List all supported sponsor networks *
- * -------------------------------------------------------------------- *
- * Kurzbeschreibung : Listet alle supportierten Werbenetzwerke auf *
- * -------------------------------------------------------------------- *
- * $Revision:: $ *
- * $Date:: $ *
- * $Tag:: 0.2.1-FINAL $ *
- * $Author:: $ *
- * -------------------------------------------------------------------- *
- * Copyright (c) 2003 - 2009 by Roland Haeder *
- * Copyright (c) 2009 - 2012 by Mailer Developer Team *
- * For more information visit: http://mxchange.org *
- * *
- * This program is free software; you can redistribute it and/or modify *
- * it under the terms of the GNU General Public License as published by *
- * the Free Software Foundation; either version 2 of the License, or *
- * (at your option) any later version. *
- * *
- * This program is distributed in the hope that it will be useful, *
- * but WITHOUT ANY WARRANTY; without even the implied warranty of *
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
- * GNU General Public License for more details. *
- * *
- * You should have received a copy of the GNU General Public License *
- * along with this program; if not, write to the Free Software *
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, *
- * MA 02110-1301 USA *
- ************************************************************************/
-
-// Some security stuff...
-if ((!defined('__SECURITY')) || (!isAdmin())) {
- die();
-} // END - if
-
-// Add description as navigation point
-addYouAreHereLink('admin', __FILE__);
-
-// These are expert settings!
-if (doVerifyExpertSettings() != 'agreed') {
- // Abort here
- return;
-} // END - if
-
-// By default we should display list/add new forms
-$GLOBALS['network_display'] = true;
-
-// Handle form here
-doNetworkHandleForm();
-
-// Display forms?
-if ($GLOBALS['network_display'] === false) {
- // Abort here
- return;
-} // END - if
-
-// Query for networks
-$result = SQL_QUERY('SELECT
- `network_id`,
- `network_short_name`,
- `network_title`,
- `network_reflink`,
- `network_data_separator`,
- `network_row_separator`,
- `network_request_type`,
- `network_charset`,
- `network_require_id_card`,
- `network_query_amount`
-FROM
- `{?_MYSQL_PREFIX?}_network_data`
-ORDER BY
- `network_short_name` ASC', __FILE__, __LINE__);
-
-// Are there entries?
-if (!SQL_HASZERONUMS($result)) {
- // List all
- $OUT = '';
- while ($content = SQL_FETCHARRAY($result)) {
- // Load row template
- $OUT .= loadTemplate('admin_list_networks_row', true, $content);
- } // END - while
-
- // Load main template
- loadTemplate('admin_list_networks', false, $OUT);
-} else {
- // Display a message that there are sponsor networks supported, yet
- displayMessage('{--ADMIN_NETWORK_NONE_SUPPORTED--}');
-}
-
-// Free result
-SQL_FREERESULT($result);
-
-// Add form for adding new entry
-loadTemplate('admin_add_network');
-
-// [EOF]
+// @DEPRECATED
?>
if (isExtensionActive('bonus')) {
// Bonus mails sent by you
$SQL2 = "SELECT
- `id`,`subject`,`text`,`receivers`,`points`,`time`,`data_type`,`timestamp`,`url`,`cat_id`,`target_send`,
- `mails_sent`,`clicks`, (`mails_sent` - `clicks`) AS `unconfirmed`
+ `id`, `subject`, `text`, `receivers`, `points`, `time`, `data_type`, `timestamp`, `url`, `cat_id`, `target_send`,
+ `mails_sent`, `clicks`, (`mails_sent` - `clicks`) AS `unconfirmed`
FROM
`{?_MYSQL_PREFIX?}_bonus`
WHERE
if (isGetRequestElementSet('pid')) {
// First let's get the member's id
- $result = SQL_QUERY_ESC("SELECT `userid`,`target_account`,`payout_total`,`payout_timestamp`,`password` FROM `{?_MYSQL_PREFIX?}_user_payouts` WHERE `id`=%s LIMIT 1",
+ $result = SQL_QUERY_ESC("SELECT `userid`, `target_account`, `payout_total`, `payout_timestamp`, `password` FROM `{?_MYSQL_PREFIX?}_user_payouts` WHERE `id`=%s LIMIT 1",
array(getRequestElement('pid')), __FILE__, __LINE__);
list($userid, $tuserid, $points, $tstamp, $tpass) = SQL_FETCHROW($result);
SQL_FREERESULT($result);
if (!empty($ptype)) {
// Obtain data from payout type
$result = SQL_QUERY_ESC("SELECT
- `from_account`,`from_pass`,`engine_url`,`engine_ret_ok`,`engine_ret_failed`,`pass_enc`,`allow_url`
+ `from_account`,
+ `from_pass`,
+ `engine_url`,
+ `engine_ret_ok`,
+ `engine_ret_failed`,
+ `pass_enc`,
+ `allow_url`
FROM
`{?_MYSQL_PREFIX?}_payout_types`
WHERE
if (isGetRequestElementSet('id')) {
// Show detailed informations to a sponsor
$result = SQL_QUERY_ESC("SELECT
- `company`,`position`,`gender`,`surname`,`family`,`street_nr1`,`street_nr2`,`zip`,`city`,`country`,
- `phone`,`fax`,`cell`,`email`,`url`,`tax_ident`,
+ `company`, `position`, `gender`, `surname`, `family`, `street_nr1`, `street_nr2`, `zip`, `city`, `country`,
+ `phone`, `fax`, `cell`, `email`, `url`, `tax_ident`,
`status`,
UNIX_TIMESTAMP(`sponsor_created`) AS `sponsor_created`,
UNIX_TIMESTAMP(`last_online`) AS `last_online`,
UNIX_TIMESTAMP(`last_change`) AS `last_change`,
`receive_warnings`,
- `points_amount`,`points_used`,`remote_addr`,`warning_interval`,`refid`,`ref_count`
+ `points_amount`, `points_used`, `remote_addr`, `warning_interval`, `refid`, `ref_count`
FROM
`{?_MYSQL_PREFIX?}_sponsor_data`
WHERE
} else {
// List all sponsors
$result_main = SQL_QUERY("SELECT
- `id`,`gender`,`surname`,`family`,`email`,`status`,
+ `id`, `gender`, `surname`, `family`, `email`, `status`,
UNIX_TIMESTAMP(`sponsor_created`) AS `sponsor_created`,
UNIX_TIMESTAMP(`last_online`) AS `last_online`,
- `points_amount`,`points_used`,
+ `points_amount`, `points_used`,
(`points_amount` + `points_used`) AS `points`,
`remote_addr`
FROM
array(postRequestElement('pay_name')), __FILE__, __LINE__);
if (SQL_HASZERONUMS($result)) {
// No entry found so add this line
- SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_paytypes` (`pay_name`,`pay_rate`,`pay_min_count`,`pay_currency`) VALUES ('%s','%s','%s','%s')",
+ SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_paytypes` (`pay_name`, `pay_rate`, `pay_min_count`, `pay_currency`) VALUES ('%s','%s','%s','%s')",
array(
postRequestElement('pay_name'),
convertCommaToDot(postRequestElement('pay_rate')),
$OUT = '';
foreach (postRequestElement('id') as $id => $sel) {
// Load entry
- $result = SQL_QUERY_ESC("SELECT `id`,`pay_name`,`pay_rate`,`pay_min_count`,`pay_currency` FROM `{?_MYSQL_PREFIX?}_sponsor_paytypes` WHERE `id`=%s LIMIT 1",
+ $result = SQL_QUERY_ESC("SELECT `id`, `pay_name`, `pay_rate`, `pay_min_count`, `pay_currency` FROM `{?_MYSQL_PREFIX?}_sponsor_paytypes` WHERE `id`=%s LIMIT 1",
array(bigintval($id)), __FILE__, __LINE__);
if (SQL_NUMROWS($result) == 1) {
// Load data
} else {
// Start listing tasks matching selected filter
$result_tasks = SQL_QUERY('SELECT
- `id`,`assigned_admin`,`userid`,`task_type`,`subject`,`text`,`task_created`
+ `id`, `assigned_admin`, `userid`, `task_type`, `subject`, `text`, `task_created`
FROM
`{?_MYSQL_PREFIX?}_task_system`
WHERE
// Update query
$result_tasks = SQL_QUERY('SELECT
- `id`,`assigned_admin`,`userid`,`task_type`,`subject`,`text`,`task_created`
+ `id`, `assigned_admin`, `userid`, `task_type`, `subject`, `text`, `task_created`
FROM
`{?_MYSQL_PREFIX?}_task_system`
WHERE
// @TODO This constant might be unused? define('__LIST_UNCON_TITLE', '{--ADMIN_LIST_UNCONFIRMED_BONUS_LINKS--}');
// SQL query for mail data (both ids are required for compatiblity to above normal mail
+ // @TODO `id` has been used two times???
$sql = sprintf("SELECT
- `id`,`id` AS `sender`,`subject`,`text`,`url`,`timestamp`,`mails_sent` AS `max_rec`
+ `id`,
+ `id` AS `sender`,
+ `subject`,
+ `text`,
+ `url`,
+ `timestamp`,
+ `mails_sent` AS `max_rec`
FROM
`{?_MYSQL_PREFIX?}_bonus`
WHERE
$show = true;
// Check for 'id' element
-if ((countRequestPost() > 0) && (!ifPostContainsSelections('id'))) {
+if ((countRequestPost() > 0) && (!ifPostContainsSelections('id')) && (!ifPostContainsSelections('subid'))) {
// Not found so output message
displayMessage('{--ADMIN_USER_SUBID_NO_SELECTIONS--}');
} // END - if
// Edit or delete button hit?
-if (isFormSent('delete')) {
+if (isFormSent('edit')) {
+ // Show entries for editing
+ showEntriesByXmlCallback('admin_edit_show_user_subid');
+
+ // Do not show the list of URLs after this template
+ $show = false;
+} elseif (isFormSent('do_edit')) {
+ // Change data of entries
+ showEntriesByXmlCallback('admin_edit_do_user_subid');
+} elseif (isFormSent('delete')) {
// Show entries for deletion
showEntriesByXmlCallback('admin_delete_show_user_subid');
} elseif (isFormSent('do_delete')) {
// Remove entries from database
showEntriesByXmlCallback('admin_delete_do_user_subid');
+} elseif (isFormSent('do_delete_stats')) {
+ // Remove entries from database
+ showEntriesByXmlCallback('admin_delete_do_user_subid_stats');
+} elseif ((isGetRequestElementSet('do')) && (isGetRequestElementSet('id'))) {
+ // Construct module name
+ $incFile = sprintf("inc/modules/admin/subid-%s.php", SQL_ESCAPE(getRequestElement('do')));
+
+ // Is the include readable and is the sub id assigned to current admin?
+ if (!isUserSubIdAssignedToMember(getRequestElement('id'), getRequestElement('userid'))) {
+ // Sub id is not assigned to current admin or doesn't exist
+ reportBug(__FILE__, __LINE__, 'Sub id ' . getRequestElement('id') . ' is not assigned with userid ' .getRequestElement('userid'));
+ } elseif (isIncludeReadable($incFile)) {
+ // Then include it
+ loadIncludeOnce($incFile);
+
+ // Do not show the list of URLs after this template
+ $show = false;
+ } else {
+ // Display error message
+ reportBug(__FILE__, __LINE__, 'Invalid include file ' . basename($incFile) . ' detected.');
+ }
}
// Show entries?
if (isGetRequestElementSet('id')) {
// Check for selected sponsor
- $result_sponsor = SQL_QUERY_ESC("SELECT `gender`,`surname`,`family`,`email`,`status` FROM `{?_MYSQL_PREFIX?}_sponsor_data` WHERE `id`=%s LIMIT 1",
+ $result_sponsor = SQL_QUERY_ESC("SELECT `gender`, `surname`, `family`, `email`, `status` FROM `{?_MYSQL_PREFIX?}_sponsor_data` WHERE `id`=%s LIMIT 1",
array(bigintval(getRequestElement('id'))), __FILE__, __LINE__);
if (SQL_NUMROWS($result_sponsor) == 1) {
// Get sponsor's current status and let only confirmed and locked status pass
$below = array();
// Get all available main menus
- $result = SQL_QUERY("SELECT `action`,`title`,`sort` FROM `{?_MYSQL_PREFIX?}_member_menu` WHERE (`what`='' OR `what` IS NULL) ORDER BY `sort` ASC",
+ $result = SQL_QUERY("SELECT `action`, `title`, `sort` FROM `{?_MYSQL_PREFIX?}_member_menu` WHERE (`what`='' OR `what` IS NULL) ORDER BY `sort` ASC",
__FILE__, __LINE__);
if (!SQL_HASZERONUMS($result)) {
// Read menu structure
// Load sub menus :)
foreach ($menus as $key_main => $value_main) {
- $result = SQL_QUERY_ESC("SELECT `what`,`title`,`sort` FROM `{?_MYSQL_PREFIX?}_member_menu` WHERE `action`='%s' AND `what` != '' ORDER BY `sort` ASC",
+ $result = SQL_QUERY_ESC("SELECT `what`, `title`, `sort` FROM `{?_MYSQL_PREFIX?}_member_menu` WHERE `action`='%s' AND `what` != '' ORDER BY `sort` ASC",
array($value_main), __FILE__, __LINE__);
if (!SQL_HASZERONUMS($result)) {
// Initialize arrays
} elseif (!isDemoModeActive()) {
// Insert new menu entry
if (isPostRequestElementSet('menu')) {
- SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_member_menu` (`action`,`what`,`title`,`visible`,`locked`,`sort`) VALUES ('%s','%s','%s','%s','%s','%s')",
+ SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_member_menu` (`action`, `what`, `title`, `visible`, `locked`, `sort`) VALUES ('%s','%s','%s','%s','%s','%s')",
array(
postRequestElement('menu'),
postRequestElement('name'),
bigintval(postRequestElement('sort')),
), __FILE__, __LINE__);
} else {
- SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_member_menu` (`action`,`title`,`visible`,`locked`,`sort`) VALUES ('%s','%s','%s','%s','%s')",
+ SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_member_menu` (`action`, `title`, `visible`, `locked`, `sort`) VALUES ('%s','%s','%s','%s','%s')",
array(
postRequestElement('name'),
postRequestElement('title'),
foreach (postRequestElement('sel') as $sel => $confirm) {
if ($confirm == 1) {
$count++;
- $result = SQL_QUERY_ESC("SELECT `title`,`action`,`what` FROM `{?_MYSQL_PREFIX?}_member_menu` WHERE ".$AND." AND `id`=%s LIMIT 1",
+ $result = SQL_QUERY_ESC("SELECT `title`, `action`, `what` FROM `{?_MYSQL_PREFIX?}_member_menu` WHERE ".$AND." AND `id`=%s LIMIT 1",
array(bigintval($sel)), __FILE__, __LINE__);
if (SQL_NUMROWS($result) == 1) {
// Entry found so we load the stuff...
foreach (postRequestElement('sel') as $sel => $confirm) {
if ($confirm == 1) {
$count++;
- $result = SQL_QUERY_ESC("SELECT `title`,`visible`,`locked` FROM `{?_MYSQL_PREFIX?}_member_menu` WHERE ".$AND." AND `id`=%s LIMIT 1",
+ $result = SQL_QUERY_ESC("SELECT `title`, `visible`, `locked` FROM `{?_MYSQL_PREFIX?}_member_menu` WHERE ".$AND." AND `id`=%s LIMIT 1",
array(bigintval($sel)), __FILE__, __LINE__);
if (SQL_NUMROWS($result) == 1) {
// Entry found so we load the stuff...
if (!empty($subMenu)) {
// Edit sub menus
- $result = SQL_QUERY("SELECT `id`,`action`,`what`,`title`,`sort` FROM `{?_MYSQL_PREFIX?}_member_menu` WHERE ".$AND." AND `what` != '' AND `what` IS NOT NULL ORDER BY `sort` ASC", __FILE__, __LINE__);
+ $result = SQL_QUERY("SELECT `id`, `action`, `what`, `title`, `sort` FROM `{?_MYSQL_PREFIX?}_member_menu` WHERE ".$AND." AND `what` != '' AND `what` IS NOT NULL ORDER BY `sort` ASC", __FILE__, __LINE__);
} else {
// Edit main menus
- $result = SQL_QUERY("SELECT `id`,`action`,`what`,`title`,`sort` FROM `{?_MYSQL_PREFIX?}_member_menu` WHERE (`what`='' OR `what` IS NULL) ORDER BY `sort` ASC", __FILE__, __LINE__);
+ $result = SQL_QUERY("SELECT `id`, `action`, `what`, `title`, `sort` FROM `{?_MYSQL_PREFIX?}_member_menu` WHERE (`what`='' OR `what` IS NULL) ORDER BY `sort` ASC", __FILE__, __LINE__);
}
// Some are there?
if (isFormSent()) {
switch (getRequestElement('do')) {
case 'add':
- addSql("INSERT INTO `{?_MYSQL_PREFIX?}_payments` (`time`,`payment`,`mail_title`,`price`) VALUES ('".postRequestElement('t_wait')."','".postRequestElement('payment')."','".postRequestElement('title')."','".postRequestElement('price')."')");
+ addSql("INSERT INTO `{?_MYSQL_PREFIX?}_payments` (`time`, `payment`, `mail_title`, `price`) VALUES ('".postRequestElement('t_wait')."','".postRequestElement('payment')."','".postRequestElement('title')."','".postRequestElement('price')."')");
if (countSumTotalData(postRequestElement('t_wait'), 'payments', 'id', 'time', true) == 1) {
// Re-init the array here
initSqls();
// Delete entries here
$OUT = '';
foreach (postRequestElement('sel') as $id => $value) {
- $result = SQL_QUERY_ESC("SELECT `id`,`time`,`mail_title` FROM `{?_MYSQL_PREFIX?}_payments` WHERE `id`=%s LIMIT 1",
+ $result = SQL_QUERY_ESC("SELECT `id`, `time`, `mail_title` FROM `{?_MYSQL_PREFIX?}_payments` WHERE `id`=%s LIMIT 1",
array(bigintval($id)), __FILE__, __LINE__);
$content = SQL_FETCHARRAY($result);
// Edit entries
$OUT = '';
foreach (postRequestElement('sel') as $id => $value) {
- $result = SQL_QUERY_ESC("SELECT `id`,`time`,`payment`,`mail_title`,`price` FROM `{?_MYSQL_PREFIX?}_payments` WHERE `id`=%s LIMIT 1",
+ $result = SQL_QUERY_ESC("SELECT `id`, `time`, `payment`, `mail_title`, `price` FROM `{?_MYSQL_PREFIX?}_payments` WHERE `id`=%s LIMIT 1",
array(bigintval($id)), __FILE__, __LINE__);
$content = SQL_FETCHARRAY($result);
loadTemplate('admin_edit_payments', false, $OUT);
} else {
// Referral levels
- $result = SQL_QUERY("SELECT `id`,`time`,`payment`,`mail_title`,`price` FROM `{?_MYSQL_PREFIX?}_payments` ORDER BY `time` ASC", __FILE__, __LINE__);
+ $result = SQL_QUERY("SELECT `id`, `time`, `payment`, `mail_title`, `price` FROM `{?_MYSQL_PREFIX?}_payments` ORDER BY `time` ASC", __FILE__, __LINE__);
if (!SQL_HASZERONUMS($result)) {
// Make referral levels editable and deletable
$OUT = '';
// Was the banner found?
if (SQL_HASZERONUMS($result)) {
// Add banner
- SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_refbanner` (`url`,`alternate`,`visible`)
+ SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_refbanner` (`url`, `alternate`, `visible`)
VALUES ('%s','%s','%s')",
array(
postRequestElement('url'),
$OUT = '';
foreach (postRequestElement('sel') as $id => $sel) {
// Load data
- $result = SQL_QUERY_ESC("SELECT `id`,`url`,`alternate`,`visible` FROM `{?_MYSQL_PREFIX?}_refbanner` WHERE `id`=%s LIMIT 1",
+ $result = SQL_QUERY_ESC("SELECT `id`, `url`, `alternate`, `visible` FROM `{?_MYSQL_PREFIX?}_refbanner` WHERE `id`=%s LIMIT 1",
array(bigintval($id)), __FILE__, __LINE__);
$content = SQL_FETCHARRAY($result);
SQL_FREERESULT($result);
} // END - if
// Referral levels
- $result = SQL_QUERY('SELECT `id`,`url`,`alternate`,`visible`,`counter`,`clicks` FROM `{?_MYSQL_PREFIX?}_refbanner` ORDER BY `url` ASC', __FILE__, __LINE__);
+ $result = SQL_QUERY('SELECT `id`, `url`, `alternate`, `visible`, `counter`, `clicks` FROM `{?_MYSQL_PREFIX?}_refbanner` ORDER BY `url` ASC', __FILE__, __LINE__);
// Entries found?
if (!SQL_HASZERONUMS($result)) {
$actions = array();
// First fix all main menus (what = '')...
-$result_fix = SQL_QUERY("SELECT `id`,`action` FROM `{?_MYSQL_PREFIX?}_admin_menu` WHERE (`what`='' OR `what` IS NULL) AND `action` != 'logout' ORDER BY `sort` ASC", __FILE__, __LINE__);
+$result_fix = SQL_QUERY("SELECT `id`, `action` FROM `{?_MYSQL_PREFIX?}_admin_menu` WHERE (`what`='' OR `what` IS NULL) AND `action` != 'logout' ORDER BY `sort` ASC", __FILE__, __LINE__);
$count = '0'; $repairedWeights = '0';
while ($content = SQL_FETCHARRAY($result_fix)) {
// Store act value for later usage in sorting sub menus
$actions = array();
// First fix all main menus (what = '')...
-$result_fix = SQL_QUERY("SELECT `id`,`action` FROM `{?_MYSQL_PREFIX?}_guest_menu` WHERE (`what`='' OR `what` IS NULL) AND `action` != 'logout' ORDER BY `sort` ASC", __FILE__, __LINE__);
+$result_fix = SQL_QUERY("SELECT `id`, `action` FROM `{?_MYSQL_PREFIX?}_guest_menu` WHERE (`what`='' OR `what` IS NULL) AND `action` != 'logout' ORDER BY `sort` ASC", __FILE__, __LINE__);
$count = '0'; $repairedWeights = '0';
while ($content = SQL_FETCHARRAY($result_fix)) {
// Store act value for later usage in sorting sub menus
$actions = array();
// First fix all main menus (what = '')...
-$result_fix = SQL_QUERY("SELECT `id`,`action` FROM `{?_MYSQL_PREFIX?}_member_menu` WHERE (`what`='' OR `what` IS NULL) AND `action` != 'logout' ORDER BY `sort` ASC", __FILE__, __LINE__);
+$result_fix = SQL_QUERY("SELECT `id`, `action` FROM `{?_MYSQL_PREFIX?}_member_menu` WHERE (`what`='' OR `what` IS NULL) AND `action` != 'logout' ORDER BY `sort` ASC", __FILE__, __LINE__);
$count = '0'; $repairedWeights = '0';
while ($content = SQL_FETCHARRAY($result_fix)) {
// Store action value for later usage in sorting sub menus
$expirationTime = time() + createEpocheTimeFromSelections('coupon_default_time', postRequestArray());
// Insert coupon data
- SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_coupon_data` (`coupon_expired`,`total_created`,`points`,`coupon_description`) VALUES ('{%%pipe,SQL_EPOCHE_TO_TIMESTAMP=%s%%}', %s,%s,'%s')",
+ SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_coupon_data` (`coupon_expired`, `total_created`, `points`, `coupon_description`) VALUES ('{%%pipe,SQL_EPOCHE_TO_TIMESTAMP=%s%%}', %s,%s,'%s')",
array(
$expirationTime,
SQL_NUMROWS($result),
} // END - while
// The above loop should always set $couponCode, so we can now insert it
- SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_user_coupons` (`coupon_id`,`userid`,`coupon_code`) VALUES (%s,%s,'%s')",
+ SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_user_coupons` (`coupon_id`, `userid`, `coupon_code`) VALUES (%s,%s,'%s')",
array(
$couponId,
$userid,
$mod = mapModuleToTable(getRequestElement('mod'));
// Load module's detail statistic
- $result = SQL_QUERY_ESC("SELECT `action`,`title`,`counter` FROM `{?_MYSQL_PREFIX?}_%s_menu` WHERE `what` != '' AND `what` IS NOT NULL ORDER BY `counter` DESC",
+ $result = SQL_QUERY_ESC("SELECT `action`, `title`, `counter` FROM `{?_MYSQL_PREFIX?}_%s_menu` WHERE `what` != '' AND `what` IS NOT NULL ORDER BY `counter` DESC",
array($mod), __FILE__, __LINE__);
$OUT = '';
while ($content = SQL_FETCHARRAY($result)) {
loadTemplate('admin_list_mods_stats2', false, $OUT);
} else {
// Load module statics
- $result = SQL_QUERY("SELECT `module`,`title`,`clicks` FROM `{?_MYSQL_PREFIX?}_mod_reg` ORDER BY `clicks` DESC,`module` ASC", __FILE__, __LINE__);
+ $result = SQL_QUERY("SELECT `module`, `title`, `clicks` FROM `{?_MYSQL_PREFIX?}_mod_reg` ORDER BY `clicks` DESC,`module` ASC", __FILE__, __LINE__);
$OUT = '';
while ($content = SQL_FETCHARRAY($result)) {
if (($content['module'] == 'index') || ($content['module'] == 'login')) {
$content['points'] = bigintval(postRequestElement('points'));
// Load userid
- $result_main = SQL_QUERY("SELECT `userid`,`email` FROM `{?_MYSQL_PREFIX?}_user_data` WHERE `status`='CONFIRMED' ORDER BY `userid` ASC",
+ $result_main = SQL_QUERY("SELECT `userid`, `email` FROM `{?_MYSQL_PREFIX?}_user_data` WHERE `status`='CONFIRMED' ORDER BY `userid` ASC",
__FILE__, __LINE__);
while ($row = SQL_FETCHARRAY($result_main)) {
// Merge both arrays
loadInclude($inc);
// Register it ith the exchange
- SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_themes` (`theme_path`,`theme_active`,`theme_ver`,`theme_name`)
+ SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_themes` (`theme_path`, `theme_active`, `theme_ver`, `theme_name`)
VALUES ('%s','N','%s','%s')",
array(
postRequestElement('theme'),
// Check for mails
$result_main = SQL_QUERY("SELECT
- `id`,`sender`,`subject`,`payment_id`,`timestamp`,`url`,`target_send`,`cat_id`
+ `id`,
+ `sender`,
+ `subject`,
+ `payment_id`,
+ `timestamp`,
+ `url`,
+ `target_send`,
+ `cat_id`
FROM
`{?_MYSQL_PREFIX?}_pool`
WHERE
$id = bigintval($id);
// Order placed in queue...
- $result = SQL_QUERY_ESC("SELECT
- po.`url`, po.`subject`, po.`sender`, pay.`payment`, po.`payment_id`
+ $result = SQL_QUERY_ESC('SELECT
+ po.`url`,
+ po.`subject`,
+ po.`sender`,
+ pay.`payment`,
+ po.`payment_id`
FROM
`{?_MYSQL_PREFIX?}_pool` AS `po`
INNER JOIN
po.`payment_id`=pay.`id`
WHERE
po.`id`=%s
-LIMIT 1",
+LIMIT 1',
array($id), __FILE__, __LINE__);
// Update wents fine?
$id = bigintval($id);
// Load URL and subject from pool
- $result = SQL_QUERY_ESC("SELECT `url`,`subject`,`sender` FROM `{?_MYSQL_PREFIX?}_pool` WHERE `id`=%s LIMIT 1",
+ $result = SQL_QUERY_ESC("SELECT `url`, `subject`, `sender` FROM `{?_MYSQL_PREFIX?}_pool` WHERE `id`=%s LIMIT 1",
array($id), __FILE__, __LINE__);
// Load data
array($url), __FILE__, __LINE__);
if (SQL_HASZERONUMS($result)) {
// Did not find a record so we can add it... :)
- SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_url_blacklist` (`url`,`pool_id`) VALUES ('%s',%s)",
+ SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_url_blacklist` (`url`, `pool_id`) VALUES ('%s',%s)",
array($url, $id), __FILE__, __LINE__);
} // END - if
// Load his personal data
$result_main = SQL_QUERY_ESC("SELECT
- `id`,`gender`,`surname`,`family`,`email`,`remote_addr`,
+ `id`, `gender`, `surname`, `family`, `email`, `remote_addr`,
UNIX_TIMESTAMP(`sponsor_created`) AS `sponsor_created`,
- `points_amount`,`points_used`,
+ `points_amount`, `points_used`,
(`points_amount` + `points_used`) AS `points`,
`refid`
FROM
// Begin listing of all pending sponsor accounts
$result = SQL_QUERY("SELECT
- `id`,`gender`,`surname`,`family`,`email`,`remote_addr`,
+ `id`, `gender`, `surname`, `family`, `email`, `remote_addr`,
UNIX_TIMESTAMP(`sponsor_created`) AS `sponsor_created`
FROM
`{?_MYSQL_PREFIX?}_sponsor_data`
loadTemplate('admin_mini_online', false, $content);
// Check for online users
- $result = SQL_QUERY("SELECT `id`,`ip`,`userid`,`refid`,`module`,`action`,`what`,`is_member`,`is_admin`,`timestamp` FROM `{?_MYSQL_PREFIX?}_online` ORDER by `timestamp` DESC",
+ $result = SQL_QUERY("SELECT `id`, `ip`, `userid`, `refid`, `module`, `action`, `what`, `is_member`, `is_admin`, `timestamp` FROM `{?_MYSQL_PREFIX?}_online` ORDER by `timestamp` DESC",
__FILE__, __LINE__);
if (!SQL_HASZERONUMS($result)) {
// List all online users
// Order number placed, is he also logged in?
if (isMember()) {
// Ok, test passed... :)
- $result = SQL_QUERY_ESC("SELECT `subject`,`url` FROM `{?_MYSQL_PREFIX?}_pool` WHERE `id`=%s AND `sender`=%s AND `data_type`='TEMP' LIMIT 1",
+ $result = SQL_QUERY_ESC("SELECT `subject`, `url` FROM `{?_MYSQL_PREFIX?}_pool` WHERE `id`=%s AND `sender`=%s AND `data_type`='TEMP' LIMIT 1",
array(bigintval(getRequestElement('order')), getMemberId()), __FILE__, __LINE__);
// Finally is the entry valid?
// Check for members who were active only this day
$result = SQL_QUERY("SELECT
- `userid`,`last_online`
+ `userid`,
+ `last_online`
FROM
`{?_MYSQL_PREFIX?}_user_data`
WHERE
} // END - while
// Check for pay types
- $result_pay = SQL_QUERY('SELECT `pay_name`,`pay_rate`,`pay_min_count`,`pay_currency` FROM `{?_MYSQL_PREFIX?}_sponsor_paytypes` ORDER BY `pay_name` ASC', __FILE__, __LINE__);
+ $result_pay = SQL_QUERY('SELECT `pay_name`, `pay_rate`, `pay_min_count`, `pay_currency` FROM `{?_MYSQL_PREFIX?}_sponsor_paytypes` ORDER BY `pay_name` ASC', __FILE__, __LINE__);
if (!SQL_HASZERONUMS($result_pay)) {
// Load all pay types
$OUT_PAY = '';
if (isGetRequestElementSet('hash')) {
// Lookup sponsor
$result = SQL_QUERY_ESC("SELECT
- `id`,`status`,`gender`,`surname`,`family`,
- `company`,`position`,`tax_ident`,
- `street_nr1`,`street_nr2`,`country`,`zip`,`city`,`email`,`phone`,`fax`,`cell`,
- `points_amount` AS `points`,`last_payment`,`last_currency`
+ `id`, `status`, `gender`, `surname`, `family`,
+ `company`, `position`, `tax_ident`,
+ `street_nr1`, `street_nr2`, `country`, `zip`, `city`, `email`, `phone`, `fax`, `cell`,
+ `points_amount` AS `points`, `last_payment`, `last_currency`
FROM
`{?_MYSQL_PREFIX?}_sponsor_data`
WHERE
if (isFormSent('login')) {
// Check email
$result = SQL_QUERY_ESC("SELECT
- `id`,`hash`,`status`,`remote_addr`,`gender`,`surname`,`family`,
+ `id`, `hash`, `status`, `remote_addr`, `gender`, `surname`, `family`,
UNIX_TIMESTAMP(`sponsor_created`) AS `sponsor_created`
FROM
`{?_MYSQL_PREFIX?}_sponsor_data`
if (isFormSent('login')) {
// Check email
$result = SQL_QUERY_ESC("SELECT
- `id`,`hash`,`remote_addr`,`gender`,`surname`,`family`,
+ `id`, `hash`, `remote_addr`, `gender`, `surname`, `family`,
UNIX_TIMESTAMP(`sponsor_created`) AS `sponsor_created`
FROM
`{?_MYSQL_PREFIX?}_sponsor_data`
} else {
// Check for payment types
$result = SQL_QUERY('SELECT
- `id`,`pay_name`,`pay_rate`,`pay_currency`,`pay_min_count`
+ `id`,
+ `pay_name`,
+ `pay_rate`,
+ `pay_currency`,
+ `pay_min_count`
FROM
`{?_MYSQL_PREFIX?}_sponsor_paytypes`
ORDER BY
} // END - for
// Members in categories
- $result = SQL_QUERY("SELECT `id`,`cat` FROM `{?_MYSQL_PREFIX?}_cats` WHERE `visible`='Y' ORDER BY `id` ASC", __FILE__, __LINE__);
+ $result = SQL_QUERY("SELECT `id`, `cat` FROM `{?_MYSQL_PREFIX?}_cats` WHERE `visible`='Y' ORDER BY `id` ASC", __FILE__, __LINE__);
// Load categories first
$cats = array(); $cat_cnt = array();
if (isAdmin()) $AND = '';
// Query for guest and member menus
- $guest_t10 = SQL_QUERY('SELECT `counter`,`title` FROM `{?_MYSQL_PREFIX?}_guest_menu` WHERE `counter` > 0' . $AND . ' ORDER BY `counter` DESC LIMIT 0,10', __FILE__, __LINE__);
- $mem_t10 = SQL_QUERY('SELECT `counter`,`title` FROM `{?_MYSQL_PREFIX?}_member_menu` WHERE `counter` > 0' . $AND . ' ORDER BY `counter` DESC LIMIT 0,10', __FILE__, __LINE__);
+ $guest_t10 = SQL_QUERY('SELECT `counter`, `title` FROM `{?_MYSQL_PREFIX?}_guest_menu` WHERE `counter` > 0' . $AND . ' ORDER BY `counter` DESC LIMIT 0,10', __FILE__, __LINE__);
+ $mem_t10 = SQL_QUERY('SELECT `counter`, `title` FROM `{?_MYSQL_PREFIX?}_member_menu` WHERE `counter` > 0' . $AND . ' ORDER BY `counter` DESC LIMIT 0,10', __FILE__, __LINE__);
$OUT = '';
if (!SQL_HASZERONUMS($guest_t10)) {
// TOP logins
$result = SQL_QUERY("SELECT
- `userid`,`last_online`
+ `userid`,
+ `last_online`
FROM
`{?_MYSQL_PREFIX?}_user_data`
WHERE
if (isAdmin()) $whereStatement = '';
// Get all categories
-$result = SQL_QUERY("SELECT `id`,`cat` FROM `{?_MYSQL_PREFIX?}_cats`".$whereStatement." ORDER BY `sort` ASC", __FILE__, __LINE__);
+$result = SQL_QUERY("SELECT `id`, `cat` FROM `{?_MYSQL_PREFIX?}_cats`".$whereStatement." ORDER BY `sort` ASC", __FILE__, __LINE__);
// Are there entries?
if (!SQL_HASZERONUMS($result)) {
// Check if this category has an entry
if (countSumTotalData(getMemberId(), 'user_cats', 'id', 'userid', true, sprintf(" AND `cat_id`=%s", bigintval($categoryId))) == 0) {
// No, so add it
- addSql(sprintf("INSERT INTO `{?_MYSQL_PREFIX?}_user_cats` (`userid`,`cat_id`) VALUES (%s,%s)", getMemberId(), bigintval($categoryId)));
+ addSql(sprintf("INSERT INTO `{?_MYSQL_PREFIX?}_user_cats` (`userid`, `cat_id`) VALUES (%s,%s)", getMemberId(), bigintval($categoryId)));
} // END - if
break;
unsetPostRequestElement('ok');
} else {
// Everything went okay so let's store his request and send mails
- SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_user_holidays` (`userid`,`holiday_start`,`holiday_end`,`comments`) VALUES ('%s','%s','%s','%s')",
+ SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_user_holidays` (`userid`, `holiday_start`, `holiday_end`, `comments`) VALUES ('%s','%s','%s','%s')",
array(getMemberId(), $START, $content['holiday_end'], postRequestElement('comments')), __FILE__, __LINE__);
// Activate holiday system
case 'Y': // Display deactivation form
// Load starting and ending date
$result = SQL_QUERY_ESC("SELECT
- `holiday_start`,`holiday_end`
+ `holiday_start`,
+ `holiday_end`
FROM
`{?_MYSQL_PREFIX?}_user_holidays`
WHERE
SQL_FREERESULT($result_cats);
// Now we need to load the mail types...
- $result = SQL_QUERY("SELECT `id`,`price`,`payment`,`mail_title` FROM `{?_MYSQL_PREFIX?}_payments` ORDER BY `payment` ASC", __FILE__, __LINE__);
+ $result = SQL_QUERY("SELECT `id`, `price`, `payment`, `mail_title` FROM `{?_MYSQL_PREFIX?}_payments` ORDER BY `payment` ASC", __FILE__, __LINE__);
$types = array();
if (!SQL_HASZERONUMS($result)) {
if (!isGetRequestElementSet('payout')) {
// Load payout types
$result = SQL_QUERY_ESC("SELECT
- `id`,`type`,`rate`,`min_points`,`allow_url`
+ `id`,
+ `type`,
+ `rate`,
+ `min_points`,
+ `allow_url`
FROM
`{?_MYSQL_PREFIX?}_payout_types`
WHERE
// Check for his payouts
$result_payouts = SQL_QUERY_ESC("SELECT
- p.id, p.payout_total, p.target_account, p.target_bank, t.type, p.payout_timestamp, p.status, t.allow_url AS allow, p.target_url AS url, p.link_text, p.banner_url AS banner
+ p.`id`,
+ p.`payout_total`,
+ p.`target_account`,
+ p.`target_bank`,
+ t.`type`,
+ p.`payout_timestamp`,
+ p.`status`,
+ t.`allow_url` AS `allow`,
+ p.`target_url` AS `url`,
+ p.`link_text`,
+ p.`banner_url` AS `banner`
FROM
- `{?_MYSQL_PREFIX?}_user_payouts` AS p
+ `{?_MYSQL_PREFIX?}_user_payouts` AS `p`
LEFT JOIN
- `{?_MYSQL_PREFIX?}_payout_types` AS t
+ `{?_MYSQL_PREFIX?}_payout_types` AS `t`
ON
- p.payout_id = t.id
+ p.`payout_id` = t.`id`
WHERE
- p.userid = %s
+ p.`userid` = %s
ORDER BY
- p.payout_timestamp DESC",
+ p.`payout_timestamp` DESC",
array(getMemberId()), __FILE__, __LINE__);
if (!SQL_HASZERONUMS($result_payouts)) {
// List all his requests
// Textlink
$content['target_account'] = $content['link_text'];
}
- $content['target_bank'] = '<a href="' . generateDereferrerUrl($content['url']) . '" target="_blank">{--CLICK_HERE--}</a>';
+ $content['target_bank'] = '<a href="{%pipe,generateDereferrerUrl=' . $content['url'] . '%}" target="_blank">{--CLICK_HERE--}</a>';
} // END - if
// Prepare data for the template
}
} else {
// Chedk if he can get paid by selected type
- $result = SQL_QUERY_ESC("SELECT `type`,`rate`,`min_points`,`allow_url` AS allow FROM `{?_MYSQL_PREFIX?}_payout_types` WHERE `id`=%s LIMIT 1",
+ $result = SQL_QUERY_ESC("SELECT `type`, `rate`, `min_points`, `allow_url` AS allow FROM `{?_MYSQL_PREFIX?}_payout_types` WHERE `id`=%s LIMIT 1",
array(bigintval(getRequestElement('payout'))), __FILE__, __LINE__);
if (SQL_NUMROWS($result) == 1) {
// Add entry to his tranfer history
if ($content['allow'] == 'Y') {
// Banner/textlink ordered
- SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_user_payouts` (`userid`,`payout_total`,`payout_id`,`payout_timestamp`,`status`,`target_url`,`link_text`,`banner_url`)
+ SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_user_payouts` (`userid`, `payout_total`, `payout_id`, `payout_timestamp`, `status`, `target_url`, `link_text`, `banner_url`)
VALUES (%s,%s,%s, UNIX_TIMESTAMP(), 'NEW','%s','%s','%s')",
array(
getMemberId(),
}
} else {
// e-currency payout requested
- SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_user_payouts` (`userid`,`payout_total`,`target_account`,`target_bank`,`payout_id`,`payout_timestamp`,`status`,`password`)
+ SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_user_payouts` (`userid`, `payout_total`, `target_account`, `target_bank`, `payout_id`, `payout_timestamp`, `status`, `password`)
VALUES (%s,%s,%s,'%s',%s, UNIX_TIMESTAMP(), 'NEW','%s')",
array(
getMemberId(),
} // END - if
// Query for referral levels and percents
-$result_depths = SQL_QUERY('SELECT `level`,`percents` FROM `{?_MYSQL_PREFIX?}_refdepths` ORDER BY `level` ASC', __FILE__, __LINE__);
+$result_depths = SQL_QUERY('SELECT `level`, `percents` FROM `{?_MYSQL_PREFIX?}_refdepths` ORDER BY `level` ASC', __FILE__, __LINE__);
// Get total depths
$numDepths = SQL_NUMROWS($result_depths);
$whereStatement = " WHERE `visible`='Y'";
if (isAdmin()) $whereStatement = '';
-$result = SQL_QUERY('SELECT `id`,`url`,`alternate`,`counter`,`clicks` FROM `{?_MYSQL_PREFIX?}_refbanner` ORDER BY `id` ASC', __FILE__, __LINE__);
+$result = SQL_QUERY('SELECT `id`, `url`, `alternate`, `counter`, `clicks` FROM `{?_MYSQL_PREFIX?}_refbanner` ORDER BY `id` ASC', __FILE__, __LINE__);
if (!SQL_HASZERONUMS($result)) {
// List available ref banners
// Load all referral levels
$result = SQL_QUERY('SELECT
- `level`,`percents`
+ `level`,
+ `percents`
FROM
`{?_MYSQL_PREFIX?}_refdepths`
WHERE
// Load waiting/pending orders
$result = SQL_QUERY_ESC("SELECT
- `id`,`cat_id`,`payment_id`,`subject`,`url`,`timestamp`,`target_send`,`data_type`,`zip`
+ `id`,
+ `cat_id`,
+ `payment_id`,
+ `subject`,
+ `url`,
+ `timestamp`,
+ `target_send`,
+ `data_type`,
+ `zip`
FROM
`{?_MYSQL_PREFIX?}_pool`
WHERE
SQL_FREERESULT($result);
// Load sent orders
-$result = SQL_QUERY_ESC("SELECT
- `id`,`cat_id`,`payment_id`,`subject`,`url`,`timestamp_ordered`,`max_rec`,`timestamp_send`,`clicks`
+$result = SQL_QUERY_ESC('SELECT
+ `id`,
+ `cat_id`,
+ `payment_id`,
+ `subject`,
+ `url`,
+ `timestamp_ordered`,
+ `max_rec`,
+ `timestamp_send`,
+ `clicks`
FROM
`{?_MYSQL_PREFIX?}_user_stats`
WHERE
`userid`=%s
ORDER BY
- `timestamp_ordered` DESC",
+ `timestamp_ordered` DESC',
array(getMemberId()), __FILE__, __LINE__);
if (!SQL_HASZERONUMS($result)) {
$valid_recipient = isValidUserId(postRequestElement('to_userid'));
// Re-check receivers and own personal data
- $result = SQL_QUERY_ESC("SELECT `userid`,`gender`,`surname`,`family`,`email` FROM `{?_MYSQL_PREFIX?}_user_data` WHERE `userid` IN ('%s','%s') AND `status`='CONFIRMED'" . runFilterChain('user_exclusion_sql', ' ') . " LIMIT 2",
+ $result = SQL_QUERY_ESC("SELECT `userid`, `gender`, `surname`, `family`, `email` FROM `{?_MYSQL_PREFIX?}_user_data` WHERE `userid` IN ('%s','%s') AND `status`='CONFIRMED'" . runFilterChain('user_exclusion_sql', ' ') . " LIMIT 2",
array(
getMemberId(),
bigintval(postRequestElement('to_userid'))
$content['trans_id'] = bigintval(generateRandomCode('10', getRandomTan(), getMemberId(), postRequestElement('reason')));
// Add entries to both tables
- SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_user_transfers_in` (`userid`,`from_userid`,`points`,`reason`,`time_trans`,`trans_id`) VALUES (%s,%s,%s,'%s', UNIX_TIMESTAMP(),%s)",
+ SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_user_transfers_in` (`userid`, `from_userid`, `points`, `reason`, `time_trans`, `trans_id`) VALUES (%s,%s,%s,'%s', UNIX_TIMESTAMP(),%s)",
array(
bigintval(postRequestElement('to_userid')),
getMemberId(),
postRequestElement('reason'),
$content['trans_id']
), __FILE__, __LINE__);
- SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_user_transfers_out` (`userid`,`to_userid`,`points`,`reason`,`time_trans`,`trans_id`) VALUES (%s,%s,%s,'%s', UNIX_TIMESTAMP(),%s)",
+ SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_user_transfers_out` (`userid`, `to_userid`, `points`, `reason`, `time_trans`, `trans_id`) VALUES (%s,%s,%s,'%s', UNIX_TIMESTAMP(),%s)",
array(
getMemberId(),
bigintval(postRequestElement('to_userid')),
$nothingMessage = '';
switch ($mode) {
case 'list_in':
- $sql = 'SELECT `trans_id`,`from_userid` AS party_userid,`points`,`reason`,`time_trans` FROM `{?_MYSQL_PREFIX?}_user_transfers_in` WHERE `userid`=%s ORDER BY `time_trans` DESC LIMIT {?transfer_max?}';
+ $sql = 'SELECT `trans_id`, `from_userid` AS party_userid,`points`, `reason`, `time_trans` FROM `{?_MYSQL_PREFIX?}_user_transfers_in` WHERE `userid`=%s ORDER BY `time_trans` DESC LIMIT {?transfer_max?}';
$nothingMessage = '{--MEMBER_TRANSFER_NO_INCOMING_TRANSFERS--}';
$content['balance'] = '{--MEMBER_TRANSFER_TOTAL_INCOMING--}';
$content['title'] = '{--MEMBER_LIST_INCOMING_TRANSFER_TITLE--}';
break;
case 'list_out':
- $sql = 'SELECT `trans_id`,`to_userid` AS party_userid,`points`,`reason`,`time_trans` FROM `{?_MYSQL_PREFIX?}_user_transfers_out` WHERE `userid`=%s ORDER BY `time_trans` DESC LIMIT {?transfer_max?}';
+ $sql = 'SELECT `trans_id`, `to_userid` AS party_userid,`points`, `reason`, `time_trans` FROM `{?_MYSQL_PREFIX?}_user_transfers_out` WHERE `userid`=%s ORDER BY `time_trans` DESC LIMIT {?transfer_max?}';
$nothingMessage = '{--MEMBER_TRANSFER_NO_OUTGOING_TRANSFERS--}';
$content['balance'] = '{--TRANSFER_TOTAL_OUTGOING--}';
$content['title'] = '{--MEMBER_LIST_OUTGOING_TRANSFER_TITLE--}';
) ENGINE = HEAP COMMENT = 'Temporary transfer table'", array(getMemberId()), __FILE__, __LINE__);
// Let's begin with the incoming list
- $result = SQL_QUERY_ESC("SELECT `trans_id`,`from_userid`,`points`,`reason`,`time_trans` FROM `{?_MYSQL_PREFIX?}_user_transfers_in` WHERE `userid`=%s ORDER BY `id` ASC LIMIT {?transfer_max?}",
+ $result = SQL_QUERY_ESC("SELECT `trans_id`, `from_userid`, `points`, `reason`, `time_trans` FROM `{?_MYSQL_PREFIX?}_user_transfers_in` WHERE `userid`=%s ORDER BY `id` ASC LIMIT {?transfer_max?}",
array(getMemberId()), __FILE__, __LINE__);
while ($content = SQL_FETCHROW($result)) {
array_push($content, 'IN');
$content = implode("','", $content);
- $res_temp = SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_%s_transfers_tmp` (`trans_id`,`party_userid`,`points`,`reason`,`time_trans`,`trans_type`) VALUES ('" . $content . "')", array(getMemberId()), __FILE__, __LINE__);
+ $res_temp = SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_%s_transfers_tmp` (`trans_id`, `party_userid`, `points`, `reason`, `time_trans`, `trans_type`) VALUES ('" . $content . "')", array(getMemberId()), __FILE__, __LINE__);
} // END - while
// Free memory
SQL_FREERESULT($result);
// As the last table transfer data from outgoing table to temporary
- $result = SQL_QUERY_ESC("SELECT `trans_id`,`to_userid`,`points`,`reason`,`time_trans` FROM `{?_MYSQL_PREFIX?}_user_transfers_out` WHERE `userid`=%s ORDER BY `id` LIMIT {?transfer_max?}",
+ $result = SQL_QUERY_ESC("SELECT `trans_id`, `to_userid`, `points`, `reason`, `time_trans` FROM `{?_MYSQL_PREFIX?}_user_transfers_out` WHERE `userid`=%s ORDER BY `id` LIMIT {?transfer_max?}",
array(getMemberId()), __FILE__, __LINE__);
while ($content = SQL_FETCHROW($result)) {
array_push($content, 'OUT');
$content = implode("','", $content);
- $res_temp = SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_%s_transfers_tmp` (`trans_id`,`party_userid`,`points`,`reason`,`time_trans`,`trans_type`) VALUES ('" . $content . "')", array(getMemberId()), __FILE__, __LINE__);
+ $res_temp = SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_%s_transfers_tmp` (`trans_id`, `party_userid`, `points`, `reason`, `time_trans`, `trans_type`) VALUES ('" . $content . "')", array(getMemberId()), __FILE__, __LINE__);
} // END - while
// Free memory
SQL_FREERESULT($result);
// Search for entries
- $result = SQL_QUERY_ESC("SELECT `party_userid`,`trans_id`,`points`,`reason`,`time_trans`,`trans_type` FROM `{?_MYSQL_PREFIX?}_%s_transfers_tmp` ORDER BY `time_trans` DESC",
+ $result = SQL_QUERY_ESC("SELECT `party_userid`, `trans_id`, `points`, `reason`, `time_trans`, `trans_type` FROM `{?_MYSQL_PREFIX?}_%s_transfers_tmp` ORDER BY `time_trans` DESC",
array(getMemberId()), __FILE__, __LINE__);
$total = '0';
// Shall we display a mail?
if ((isGetRequestElementSet('bonusid')) && (isExtensionActive('bonus'))) {
// Display bonus mail by loading it's full data
- $result_data = SQL_QUERY_ESC("SELECT
- `id`,`subject`,`timestamp`,`cat_id`,`points`,`text`,`is_notify`,`data_type`,`time`,`url`
+ $result_data = SQL_QUERY_ESC('SELECT
+ `id`,
+ `subject`,
+ `timestamp`,
+ `cat_id`,
+ `points`,
+ `text`,
+ `is_notify`,
+ `data_type`,
+ `time`,
+ `url`
FROM
`{?_MYSQL_PREFIX?}_bonus`
WHERE
`id`=%s
-LIMIT 1",
+LIMIT 1',
array(bigintval(getRequestElement('bonusid'))), __FILE__, __LINE__);
// Load data
if (isExtensionActive('bonus')) {
// Load bonus id
- $result = SQL_QUERY_ESC("SELECT `stats_id`,`bonus_id`,`link_type` FROM `{?_MYSQL_PREFIX?}_user_links` WHERE `userid`=%s ORDER BY `bonus_id` DESC, stats_id DESC",
+ $result = SQL_QUERY_ESC("SELECT `stats_id`, `bonus_id`, `link_type` FROM `{?_MYSQL_PREFIX?}_user_links` WHERE `userid`=%s ORDER BY `bonus_id` DESC, stats_id DESC",
array(getMemberId()), __FILE__, __LINE__);
} else {
// Don't load bonus id if ext-bonus is not installed
- $result = SQL_QUERY_ESC("SELECT `stats_id`,`link_type` FROM `{?_MYSQL_PREFIX?}_user_links` WHERE `userid`=%s ORDER BY `stats_id` DESC",
+ $result = SQL_QUERY_ESC("SELECT `stats_id`, `link_type` FROM `{?_MYSQL_PREFIX?}_user_links` WHERE `userid`=%s ORDER BY `stats_id` DESC",
array(getMemberId()), __FILE__, __LINE__);
}
switch ($row['link_type']) {
case 'NORMAL':
$result_data = SQL_QUERY_ESC("SELECT
- s.subject, s.timestamp_ordered, s.cat_id, s.payment_id, p.sender
+ s.`subject`,
+ s.`timestamp_ordered`,
+ s.`cat_id`,
+ s.`payment_id`,
+ p.`sender`
FROM
- `{?_MYSQL_PREFIX?}_user_stats` AS s
+ `{?_MYSQL_PREFIX?}_user_stats` AS `s`
LEFT JOIN
- `{?_MYSQL_PREFIX?}_pool` AS p
+ `{?_MYSQL_PREFIX?}_pool` AS `p`
ON
- s.pool_id=p.id
+ s.`pool_id`=p.`id`
WHERE
- s.id=%s
+ s.`id`=%s
LIMIT 1",
array(bigintval($row['stats_id'])), __FILE__, __LINE__);
$row['link_type'] = 'mailid';
break;
case 'BONUS':
- $result_data = SQL_QUERY_ESC("SELECT `subject`,`timestamp`,`cat_id`,`points`, 0 FROM `{?_MYSQL_PREFIX?}_bonus` WHERE `id`=%s LIMIT 1",
+ $result_data = SQL_QUERY_ESC("SELECT `subject`, `timestamp`, `cat_id`, `points`, 0 FROM `{?_MYSQL_PREFIX?}_bonus` WHERE `id`=%s LIMIT 1",
array(bigintval($row['bonus_id'])), __FILE__, __LINE__);
$row['link_type'] = 'bonusid';
$data = $row['bonus_id'];
setGetRequestElement('do', 'list');
// And load all rows!
- $result = SQL_QUERY_ESC("SELECT `id`,`wernis_account`,`wernis_amount`,`wernis_timestamp`,`wernis_type` FROM `{?_MYSQL_PREFIX?}_user_wernis` WHERE `userid`=%s ORDER BY `wernis_timestamp` DESC",
+ $result = SQL_QUERY_ESC("SELECT `id`, `wernis_account`, `wernis_amount`, `wernis_timestamp`, `wernis_type` FROM `{?_MYSQL_PREFIX?}_user_wernis` WHERE `userid`=%s ORDER BY `wernis_timestamp` DESC",
array(getMemberId()), __FILE__, __LINE__);
// Load all rows
if (!SQL_HASZEROAFFECTED()) {
// @TODO Unused: 2,4
// Load mail again... 0 1 2 3 4 5 6 7
- $result = SQL_QUERY_ESC("SELECT `subject`,`text`,`receivers`,`payment_id`,`timestamp`,`url`,`cat_id`,`target_send` FROM `{?_MYSQL_PREFIX?}_pool` WHERE `id`=%s AND `sender`=%s LIMIT 1",
+ $result = SQL_QUERY_ESC("SELECT `subject`, `text`, `receivers`, `payment_id`, `timestamp`, `url`, `cat_id`, `target_send` FROM `{?_MYSQL_PREFIX?}_pool` WHERE `id`=%s AND `sender`=%s LIMIT 1",
array(
bigintval(getRequestElement('order')),
getMemberId()
// Data for the formular
$result = SQL_QUERY_ESC("SELECT
- `id`,`company`,`position`,`tax_ident`,
- `gender`,`surname`,`family`,`street_nr1`,`street_nr2`,`zip`,`city`,`country`,
- `phone`,`fax`,`cell`,`email`,`url`,
- `status`,`receive_warnings`
+ `id`, `company`, `position`, `tax_ident`,
+ `gender`, `surname`, `family`, `street_nr1`, `street_nr2`, `zip`, `city`, `country`,
+ `phone`, `fax`, `cell`, `email`, `url`,
+ `status`, `receive_warnings`
FROM
`{?_MYSQL_PREFIX?}_sponsor_data`
WHERE
// Data for the formular
$result = SQL_QUERY_ESC("SELECT
- `status`,`receive_warnings`,`warning_interval`,`email`,`surname`,`family`,`gender`
+ `status`,
+ `receive_warnings`,
+ `warning_interval`,
+ `email`,
+ `surname`,
+ `family`,
+ `gender`
FROM
`{?_MYSQL_PREFIX?}_sponsor_data`
WHERE
}
// Load some data
-$result = SQL_QUERY_ESC("SELECT
- `id`,`gender`,`surname`,`family`, (`points_amount` - `points_used`) AS `points`
+$result = SQL_QUERY_ESC('SELECT
+ `id`,
+ `gender`,
+ `surname`,
+ `family`,
+ (`points_amount` - `points_used`) AS `points`
FROM
`{?_MYSQL_PREFIX?}_sponsor_data`
WHERE
`id`=%s
-LIMIT 1",
+LIMIT 1',
array(
bigintval(getSession('sponsor_id'))
), __FILE__, __LINE__);
switch ($mode) {
case 'guest':
// Guests (in the registration form) are not allowed to select 0 mails per day.
- $result = SQL_QUERY('SELECT `value`,`comment` FROM `{?_MYSQL_PREFIX?}_max_receive` WHERE `value` > 0 ORDER BY `value` ASC',
+ $result = SQL_QUERY('SELECT `value`, `comment` FROM `{?_MYSQL_PREFIX?}_max_receive` WHERE `value` > 0 ORDER BY `value` ASC',
__FUNCTION__, __LINE__);
break;
case 'admin':
case 'member':
// Members are allowed to set to zero mails per day (we will change this soon!)
- $result = SQL_QUERY('SELECT `value`,`comment` FROM `{?_MYSQL_PREFIX?}_max_receive` ORDER BY `value` ASC',
+ $result = SQL_QUERY('SELECT `value`, `comment` FROM `{?_MYSQL_PREFIX?}_max_receive` ORDER BY `value` ASC',
__FUNCTION__, __LINE__);
break;
), __FUNCTION__, __LINE__, false);
} elseif (($what != 'welcome') && (!empty($what))) {
// Other actions
- $sql = SQL_QUERY_ESC("SELECT `id`,`what` FROM `{?_MYSQL_PREFIX?}_%s_menu` WHERE `action`='%s' AND `what`='%s'".$add." ORDER BY `action` DESC LIMIT 1",
+ $sql = SQL_QUERY_ESC("SELECT `id`, `what` FROM `{?_MYSQL_PREFIX?}_%s_menu` WHERE `action`='%s' AND `what`='%s'".$add." ORDER BY `action` DESC LIMIT 1",
array(
$mode,
$action,
), __FUNCTION__, __LINE__, false);
} else {
// Admin login overview
- $sql = SQL_QUERY_ESC("SELECT `id`,`what` FROM `{?_MYSQL_PREFIX?}_%s_menu` WHERE `action`='%s' AND (`what`='' OR `what` IS NULL)".$add." ORDER BY `action` DESC LIMIT 1",
+ $sql = SQL_QUERY_ESC("SELECT `id`, `what` FROM `{?_MYSQL_PREFIX?}_%s_menu` WHERE `action`='%s' AND (`what`='' OR `what` IS NULL)".$add." ORDER BY `action` DESC LIMIT 1",
array(
$mode,
$action
// Was it *not* found?
if (SQL_HASZERONUMS($result)) {
// So we add one!
- SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_user_links` (`%s`,`userid`,`link_type`) VALUES (%s,%s,'%s')",
+ SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_user_links` (`%s`, `userid`, `link_type`) VALUES (%s,%s,'%s')",
array(
$rowName,
bigintval($statsId),
} // END - if
// Run SQL query
- $result = SQL_QUERY_ESC("SELECT `%s` AS `key`,`%s` AS `value`" . $extraColumn . " FROM `{?_MYSQL_PREFIX?}_%s` " . $whereStatement . " ORDER BY `%s` ASC",
+ $result = SQL_QUERY_ESC("SELECT `%s` AS `key`, `%s` AS `value`" . $extraColumn . " FROM `{?_MYSQL_PREFIX?}_%s` " . $whereStatement . " ORDER BY `%s` ASC",
array(
$key,
$value,
// Creates a new task
function createNewTask ($subject, $notes, $taskType, $userid = NULL, $adminId = NULL, $strip = true) {
// Insert the task data into the database
- SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_task_system` (`assigned_admin`,`userid`,`status`,`task_type`,`subject`,`text`,`task_created`) VALUES (%s,%s,'NEW','%s','%s','%s', UNIX_TIMESTAMP())",
+ SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_task_system` (`assigned_admin`, `userid`, `status`, `task_type`, `subject`, `text`, `task_created`) VALUES (%s,%s,'NEW','%s','%s','%s', UNIX_TIMESTAMP())",
array(
convertZeroToNull($adminId),
convertZeroToNull($userid),
}
// This is the minimum query, so at least columns and tableName must have entries
- $SQL = 'SELECT ';
+ $sql = 'SELECT ';
// Get the sql part back from given array
- $SQL .= getSqlPartFromXmlArray($columns);
+ $sql .= getSqlPartFromXmlArray($columns);
// Remove last commata and add FROM statement
- $SQL .= ' FROM `{?_MYSQL_PREFIX?}_' . $tableName[0] . '`';
+ $sql .= ' FROM `{?_MYSQL_PREFIX?}_' . $tableName[0] . '`';
// Are there entries from whereColumns to add?
if (count($whereColumns) > 0) {
// Then add these as well
if (count($whereColumns) == 1) {
// One entry found
- $SQL .= ' WHERE ';
+ $sql .= ' WHERE ';
// Table/alias included?
if (!empty($whereColumns[0]['table'])) {
// Add it as well
- $SQL .= $whereColumns[0]['table'] . '.';
+ $sql .= $whereColumns[0]['table'] . '.';
} // END - if
// Add the rest
- $SQL .= '`' . $whereColumns[0]['column'] . '`' . $whereColumns[0]['condition'] . chr(39) . $whereColumns[0]['look_for'] . chr(39);
+ $sql .= '`' . $whereColumns[0]['column'] . '`' . $whereColumns[0]['condition'] . chr(39) . $whereColumns[0]['look_for'] . chr(39);
} elseif ((count($whereColumns > 1)) && (count($conditions) > 0)) {
// More than one "WHERE" + condition found
foreach ($whereColumns as $idx => $columnArray) {
// Default is WHERE
- $condition = 'WHERE';
+ $condition = ' WHERE ';
// Is the condition element there?
if (isset($conditions[$columnArray['column']])) {
// Assume the condition
- $condition = $conditions[$columnArray['column']];
+ $condition = ' ' . $conditions[$columnArray['column']] . ' ';
} // END - if
// Add to SQL query
- $SQL .= ' ' . $condition;
+ $sql .= $condition;
// Table/alias included?
if (!empty($whereColumns[$idx]['table'])) {
// Add it as well
- $SQL .= $whereColumns[$idx]['table'] . '.';
+ $sql .= $whereColumns[$idx]['table'] . '.';
} // END - if
// Add the rest
- $SQL .= '`' . $whereColumns[$idx]['column'] . '`' . $whereColumns[$idx]['condition'] . chr(39) . convertDollarDataToGetElement($whereColumns[$idx]['look_for']) . chr(39);
+ $sql .= '`' . $whereColumns[$idx]['column'] . '`' . $whereColumns[$idx]['condition'] . chr(39) . convertDollarDataToGetElement($whereColumns[$idx]['look_for']) . chr(39);
} // END - foreach
} else {
// Did not set $conditions
// Are there entries from orderByColumns to add?
if (count($orderByColumns) > 0) {
// Add them as well
- $SQL .= ' ORDER BY ';
+ $sql .= ' ORDER BY ';
foreach ($orderByColumns as $orderByColumn => $array) {
// Get keys (table/alias) and values (sorting itself)
$table = trim(implode('', array_keys($array)));
// table/alias can be omitted
if (!empty($table)) {
// table/alias is given
- $SQL .= $table . '.';
+ $sql .= $table . '.';
} // END - if
// Add order-by column
- $SQL .= '`' . $orderByColumn . '` ' . $sorting . ',';
+ $sql .= '`' . $orderByColumn . '` ' . $sorting . ',';
} // END - foreach
// Remove last column
- $SQL = substr($SQL, 0, -1);
+ $sql = substr($sql, 0, -1);
} // END - if
// Now handle all over to the inner function which will execute the listing
- doListEntries($SQL, $tableTemplate, $noEntryMessageId, $rowTemplate, $callbackColumns, $extraParameters);
+ doListEntries($sql, $tableTemplate, $noEntryMessageId, $rowTemplate, $callbackColumns, $extraParameters);
}
// Do the listing of entries
-function doListEntries ($SQL, $tableTemplate, $noEntryMessageId, $rowTemplate, $callbackColumns, $extraParameters = array()) {
+function doListEntries ($sql, $tableTemplate, $noEntryMessageId, $rowTemplate, $callbackColumns, $extraParameters = array()) {
// Run the SQL query
- $result = SQL_QUERY($SQL, __FUNCTION__, __LINE__);
+ $result = SQL_QUERY($sql, __FUNCTION__, __LINE__);
// Are there some URLs left?
if (!SQL_HASZERONUMS($result)) {
// If all values are okay, continue
if ($sqlValues[$key] !== false) {
// Build the SQL query
- $sql = 'INSERT INTO `{?_MYSQL_PREFIX?}_' . $tableName[0] . '` (`' . implode('`,`', $sqlColumns) . "`) VALUES (" . implode(',', $sqlValues) . ')';
+ $sql = 'INSERT INTO `{?_MYSQL_PREFIX?}_' . $tableName[0] . '` (`' . implode('`, `', $sqlColumns) . "`) VALUES (" . implode(',', $sqlValues) . ')';
// Run the SQL query
SQL_QUERY($sql, __FUNCTION__, __LINE__);
$sql .= ' AND `' . $userIdColumn[0] . '`=' . bigintval(postRequestElement($rawUserId[0]));
} // END - if
+ // $idColumn[0] in POST must be an array again
+ if (!is_array(postRequestElement($idColumn[0]))) {
+ // This indicates that you have conflicting form field naming with XML names
+ reportBug(__FUNCTION__, __LINE__, 'You have a wrong form field element, idColumn[0]=' . $idColumn[0]);
+ } // END - if
+
// Delete them all
- //* BUG: */ die($sql.'<br /><pre>'.print_r($idColumn,true).'</pre>');
+ //* BUG: */ die($sql.'<br /><pre>'.print_r($tableName,true).'</pre><pre>'.print_r($columns,true).'</pre><pre>'.print_r($filterFunctions,true).'</pre><pre>'.print_r($extraValues,true).'</pre><pre>'.print_r($deleteNow,true).'</pre><pre>'.print_r($idColumn,true).'</pre>');
$idList = '';
foreach (postRequestElement($idColumn[0]) as $id => $sel) {
// Is id zero?
// Is the 'bonus' extension installed and activated?
if (isExtensionActive('bonus', true)) {
// Check for bonus campaigns
- $result = SQL_QUERY("SELECT `id`,`points` FROM `{?_MYSQL_PREFIX?}_bonus` WHERE `data_type`='SEND' AND `timestamp` <= {?auto_purge?} ORDER BY `id` ASC", __FILE__, __LINE__);
+ $result = SQL_QUERY("SELECT `id`, `points` FROM `{?_MYSQL_PREFIX?}_bonus` WHERE `data_type`='SEND' AND `timestamp` <= {?auto_purge?} ORDER BY `id` ASC", __FILE__, __LINE__);
if (!SQL_HASZERONUMS($result)) {
// Start deleting procedure
$points = '0';
if (getConfig('autopurge_unconfirmed') == 'Y') {
// Init variables and find unconfirmed accounts which I shall auto-purge;
$result_uncon = SQL_QUERY("SELECT
- `userid`,`email`,`joined`
+ `userid`,
+ `email`,
+ `joined`
FROM
`{?_MYSQL_PREFIX?}_user_data`
WHERE
// No entry updated?
if (SQL_HASZEROAFFECTED()) {
// First ref in this level! :-)
- SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_user_points` (`userid`,`ref_depth`,`%s`) VALUES (%s, %s, %s)",
+ SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_user_points` (`userid`, `ref_depth`, `%s`) VALUES (%s, %s, %s)",
array(
$pointsColumn,
bigintval($userid),
//* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'ref=' . $ref . ',level=' . $GLOBALS['cache_array']['ref_level'][$ref] . ',updated=' . SQL_AFFECTEDROWS());
if (SQL_HASZEROAFFECTED()) {
// First count!
- SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_refsystem` (`userid`,`level`,`counter`) VALUES (%s,%s,1)",
+ SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_refsystem` (`userid`, `level`, `counter`) VALUES (%s,%s,1)",
array(
bigintval($ref),
convertZeroToNull($GLOBALS['cache_array']['ref_level'][$ref])
} // END - if
// Now checkout the entry in database table
- $result = SQL_QUERY_ESC("SELECT `id`,`subject`,`column_name`,`locked_mode`,`payment_method`,`notify_recipient` FROM `{?_MYSQL_PREFIX?}_points_data` WHERE `subject`='%s' LIMIT 1",
+ $result = SQL_QUERY_ESC("SELECT `id`, `subject`, `column_name`, `locked_mode`, `payment_method`, `notify_recipient` FROM `{?_MYSQL_PREFIX?}_points_data` WHERE `subject`='%s' LIMIT 1",
array($subject), __FUNCTION__, __LINE__);
// Is there an entry?
} // END - foreach
} else {
// Register this automatically
- SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_points_data` (`subject`,`column_name`,`locked_mode`,`payment_method`,`notify_recipient`) VALUES ('%s','points','LOCKED','REFERRAL','N')",
+ SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_points_data` (`subject`, `column_name`, `locked_mode`, `payment_method`, `notify_recipient`) VALUES ('%s','points','LOCKED','REFERRAL','N')",
array($subject), __FUNCTION__, __LINE__);
// Re-request it
} // END - if
// Prepare SQL
- $SQL = 'INSERT INTO `{?_MYSQL_PREFIX?}_user_refs` (`userid`,`level`,`refid`) VALUES ';
+ $SQL = 'INSERT INTO `{?_MYSQL_PREFIX?}_user_refs` (`userid`, `level`, `refid`) VALUES ';
$executeSql = false;
// Now walk through the array, first levels
$SQL = 'INSERT INTO
`{?_MYSQL_PREFIX?}_' . $tableName . '`
(
-`' . implode('`,`', array_keys(postRequestArray())) . '`
+`' . implode('`, `', array_keys(postRequestArray())) . '`
) VALUES (';
// Walk through all entries
} // END - if
// Load it from database
- $result = SQL_QUERY_ESC("SELECT `stats_entry`,`stats_value` FROM `{?_MYSQL_PREFIX?}_stats_%s` ORDER BY `stats_entry` ASC",
+ $result = SQL_QUERY_ESC("SELECT `stats_entry`, `stats_value` FROM `{?_MYSQL_PREFIX?}_stats_%s` ORDER BY `stats_entry` ASC",
array(
generateDateTime(time(), '6')
), __FUNCTION__, __LINE__);
array(generateDateTime(time(), '6')), __FUNCTION__, __LINE__);
// Begin the SQL command
- $sql = sprintf("REPLACE INTO `{?_MYSQL_PREFIX?}_stats_%s` (`stats_entry`,`stats_value`) VALUES ",
+ $sql = sprintf("REPLACE INTO `{?_MYSQL_PREFIX?}_stats_%s` (`stats_entry`, `stats_value`) VALUES ",
generateDateTime(time(), '6'));
// Add all entries to the final query
-INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`,`what`,`title`,`descr`,`sort`) VALUES ('login',NULL,'Willkommen','Eingangsseite zum Admin-Bereich',0);
-INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`,`what`,`title`,`descr`,`sort`) VALUES ('email',NULL,'Email-Management','Gebuchte Mails umleiten, Details zu den Buchungen anzeigen, Emails freigeben, registrierte Email-Adress auf Verfügbarkeit testen (Mass-Mailing!), Newsletter versenden, Email-Adressen sperren (Email-Backlist), gebuchte URLs sperren (URL-Blacklist)',4);
-INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`,`what`,`title`,`descr`,`sort`) VALUES ('email','email_stats','Email-Statistiken','Schauen Sie sich detailierte Statistiken zu den bereits versanden Mails an.',5);
-INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`,`what`,`title`,`descr`,`sort`) VALUES ('email','edit_emails','Email-Daten ändern','Hier können Sie u.a. die gebuchte URL der Emails umändern, usw.',5);
-INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`,`what`,`title`,`descr`,`sort`) VALUES ('email','unlock_emails','Emails freigeben','Geben Sie bei manuellem Versand gebuchte Mails hier frei.',5);
-INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`,`what`,`title`,`descr`,`sort`) VALUES ('email','email_details','Email-Details ansehen','Sehen Sie sich jedes Details bereits gebuchter Mails an.',5);
-INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`,`what`,`title`,`descr`,`sort`) VALUES ('setup',NULL,'Einstellungen','Interessen ändern, News schreiben, allgmeine Einstellungen (Auto-Versand usw.). Auto-Lock Funktion einrichten, manueller Lock des Versandes einrichten, Teile der Homepage sperren (wegen Wartungsarbeiten)',5);
-INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`,`what`,`title`,`descr`,`sort`) VALUES ('setup','config_email','Versand, Empfang','Hier können Sie die maximal empfangbaren Mails usw. einstellen.',8);
-INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`,`what`,`title`,`descr`,`sort`) VALUES ('setup','config_cats','Kategorien einrichten','Ändern oder löschen Sie bereits bestehende Kategorien oder fügen Sie weitere hinzu.',7);
-INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`,`what`,`title`,`descr`,`sort`) VALUES ('setup','refbanner','Referral-Banner','Fügen Sie neue Banner hinzu, die dann die Mitglieder verlinken können, um neue Mitglieder zu werben. Oder editieren / löschen Sie bestehende. Hier sehen Sie auch die Anzahl der Klicks auf den jeweiligen Banner!',12);
-INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`,`what`,`title`,`descr`,`sort`) VALUES ('setup','payments','{OPEN_CONFIG}POINTS{CLOSE_CONFIG}-Vergütungen','Fügen Sie neue {OPEN_CONFIG}POINTS{CLOSE_CONFIG}-Vergütungen hinzu oder ändern / löschen Sie bestende.',11);
-INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`,`what`,`title`,`descr`,`sort`) VALUES ('misc',NULL,'Verschiedenes','Verschiedene Einstellungen / Info-Seiten, die sonst nirgenswo reinpassten...',6);
-INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`,`what`,`title`,`descr`,`sort`) VALUES ('stats',NULL,'Statistiken','Sonstige Statistiken, die nirgenswo reinpassen',7);
-INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`,`what`,`title`,`descr`,`sort`) VALUES ('logout',NULL,'Ausloggen','Ausloggen aus dem Admin-Bereich. Dadurch wird Ihre Session gelöscht und Sie müssen sich erneut anmelden.',999);
+INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`, `what`, `title`, `descr`, `sort`) VALUES ('login',NULL,'Willkommen','Eingangsseite zum Admin-Bereich',0);
+INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`, `what`, `title`, `descr`, `sort`) VALUES ('email',NULL,'Email-Management','Gebuchte Mails umleiten, Details zu den Buchungen anzeigen, Emails freigeben, registrierte Email-Adress auf Verfügbarkeit testen (Mass-Mailing!), Newsletter versenden, Email-Adressen sperren (Email-Backlist), gebuchte URLs sperren (URL-Blacklist)',4);
+INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`, `what`, `title`, `descr`, `sort`) VALUES ('email','email_stats','Email-Statistiken','Schauen Sie sich detailierte Statistiken zu den bereits versanden Mails an.',5);
+INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`, `what`, `title`, `descr`, `sort`) VALUES ('email','edit_emails','Email-Daten ändern','Hier können Sie u.a. die gebuchte URL der Emails umändern, usw.',5);
+INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`, `what`, `title`, `descr`, `sort`) VALUES ('email','unlock_emails','Emails freigeben','Geben Sie bei manuellem Versand gebuchte Mails hier frei.',5);
+INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`, `what`, `title`, `descr`, `sort`) VALUES ('email','email_details','Email-Details ansehen','Sehen Sie sich jedes Details bereits gebuchter Mails an.',5);
+INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`, `what`, `title`, `descr`, `sort`) VALUES ('setup',NULL,'Einstellungen','Interessen ändern, News schreiben, allgmeine Einstellungen (Auto-Versand usw.). Auto-Lock Funktion einrichten, manueller Lock des Versandes einrichten, Teile der Homepage sperren (wegen Wartungsarbeiten)',5);
+INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`, `what`, `title`, `descr`, `sort`) VALUES ('setup','config_email','Versand, Empfang','Hier können Sie die maximal empfangbaren Mails usw. einstellen.',8);
+INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`, `what`, `title`, `descr`, `sort`) VALUES ('setup','config_cats','Kategorien einrichten','Ändern oder löschen Sie bereits bestehende Kategorien oder fügen Sie weitere hinzu.',7);
+INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`, `what`, `title`, `descr`, `sort`) VALUES ('setup','refbanner','Referral-Banner','Fügen Sie neue Banner hinzu, die dann die Mitglieder verlinken können, um neue Mitglieder zu werben. Oder editieren / löschen Sie bestehende. Hier sehen Sie auch die Anzahl der Klicks auf den jeweiligen Banner!',12);
+INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`, `what`, `title`, `descr`, `sort`) VALUES ('setup','payments','{OPEN_CONFIG}POINTS{CLOSE_CONFIG}-Vergütungen','Fügen Sie neue {OPEN_CONFIG}POINTS{CLOSE_CONFIG}-Vergütungen hinzu oder ändern / löschen Sie bestende.',11);
+INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`, `what`, `title`, `descr`, `sort`) VALUES ('misc',NULL,'Verschiedenes','Verschiedene Einstellungen / Info-Seiten, die sonst nirgenswo reinpassten...',6);
+INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`, `what`, `title`, `descr`, `sort`) VALUES ('stats',NULL,'Statistiken','Sonstige Statistiken, die nirgenswo reinpassen',7);
+INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`, `what`, `title`, `descr`, `sort`) VALUES ('logout',NULL,'Ausloggen','Ausloggen aus dem Admin-Bereich. Dadurch wird Ihre Session gelöscht und Sie müssen sich erneut anmelden.',999);
-INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`,`visible`,`sort`) VALUES ('Mix / Alles Senden --> keine Erotik!','Y',0);
-INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`,`visible`,`sort`) VALUES ('Mix / Alles Senden --> ohne PopUps, keine Erotik','Y',1);
-INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`,`visible`,`sort`) VALUES ('Traffic, Reflinks, Kostenloses, KEIN MLM!','Y',2);
-INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`,`visible`,`sort`) VALUES ('Geldverdienen, Beruf, Arbeit, KEIN MLM!','Y',3);
-INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`,`visible`,`sort`) VALUES ('Download, PC- Software, HP-Design','Y',4);
-INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`,`visible`,`sort`) VALUES ('Investment, Banken, Börse, Versicherungen, KEIN MLM','Y',5);
-INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`,`visible`,`sort`) VALUES ('Politik, Wissenschaft','Y',6);
-INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`,`visible`,`sort`) VALUES ('Handy, SMS, ISDN, DSL,','Y',7);
-INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`,`visible`,`sort`) VALUES ('Elektronik, Technik, Server, PC-Hardware, Hosting','Y',8);
-INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`,`visible`,`sort`) VALUES ('Auto, Motorrad','Y',9);
-INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`,`visible`,`sort`) VALUES ('Reise,Touristik','Y',10);
-INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`,`visible`,`sort`) VALUES ('Kunst, Kultur, Bildung','Y',11);
-INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`,`visible`,`sort`) VALUES ('Gesundheit, Fitness, Sport, KEIN MLM!','Y',12);
-INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`,`visible`,`sort`) VALUES ('Lifestyle, Mode, Kosmetik, KEIN MLM!','Y',13);
-INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`,`visible`,`sort`) VALUES ('Auktionen, Shopping, Verkauf, KEIN MLM!','Y',14);
-INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`,`visible`,`sort`) VALUES ('Medien, Musik, Film, TV, Video & DVD','Y',15);
-INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`,`visible`,`sort`) VALUES ('Singles, Flirten, Partnerschaft','Y',16);
-INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`,`visible`,`sort`) VALUES ('Gewinnspiele, Wetten, Lotto, KEIN MLM!','Y',17);
-INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`,`visible`,`sort`) VALUES ('Haus, Garten, Freizeit, Hobbys','Y',18);
-INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`,`visible`,`sort`) VALUES ('Erotik --> Keine Hardcore !','Y',19);
-INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`,`visible`,`sort`) VALUES ('Multi Level Marketing (alle Arten)','Y',20);
-INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`,`visible`,`sort`) VALUES ('Wernis-Seiten','Y',21);
-INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`,`visible`,`sort`) VALUES ('Primera-Seiten','Y',22);
+INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`, `visible`, `sort`) VALUES ('Mix / Alles Senden --> keine Erotik!','Y',0);
+INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`, `visible`, `sort`) VALUES ('Mix / Alles Senden --> ohne PopUps, keine Erotik','Y',1);
+INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`, `visible`, `sort`) VALUES ('Traffic, Reflinks, Kostenloses, KEIN MLM!','Y',2);
+INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`, `visible`, `sort`) VALUES ('Geldverdienen, Beruf, Arbeit, KEIN MLM!','Y',3);
+INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`, `visible`, `sort`) VALUES ('Download, PC- Software, HP-Design','Y',4);
+INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`, `visible`, `sort`) VALUES ('Investment, Banken, Börse, Versicherungen, KEIN MLM','Y',5);
+INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`, `visible`, `sort`) VALUES ('Politik, Wissenschaft','Y',6);
+INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`, `visible`, `sort`) VALUES ('Handy, SMS, ISDN, DSL,','Y',7);
+INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`, `visible`, `sort`) VALUES ('Elektronik, Technik, Server, PC-Hardware, Hosting','Y',8);
+INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`, `visible`, `sort`) VALUES ('Auto, Motorrad','Y',9);
+INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`, `visible`, `sort`) VALUES ('Reise,Touristik','Y',10);
+INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`, `visible`, `sort`) VALUES ('Kunst, Kultur, Bildung','Y',11);
+INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`, `visible`, `sort`) VALUES ('Gesundheit, Fitness, Sport, KEIN MLM!','Y',12);
+INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`, `visible`, `sort`) VALUES ('Lifestyle, Mode, Kosmetik, KEIN MLM!','Y',13);
+INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`, `visible`, `sort`) VALUES ('Auktionen, Shopping, Verkauf, KEIN MLM!','Y',14);
+INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`, `visible`, `sort`) VALUES ('Medien, Musik, Film, TV, Video & DVD','Y',15);
+INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`, `visible`, `sort`) VALUES ('Singles, Flirten, Partnerschaft','Y',16);
+INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`, `visible`, `sort`) VALUES ('Gewinnspiele, Wetten, Lotto, KEIN MLM!','Y',17);
+INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`, `visible`, `sort`) VALUES ('Haus, Garten, Freizeit, Hobbys','Y',18);
+INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`, `visible`, `sort`) VALUES ('Erotik --> Keine Hardcore !','Y',19);
+INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`, `visible`, `sort`) VALUES ('Multi Level Marketing (alle Arten)','Y',20);
+INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`, `visible`, `sort`) VALUES ('Wernis-Seiten','Y',21);
+INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`, `visible`, `sort`) VALUES ('Primera-Seiten','Y',22);
-INSERT INTO `{?_MYSQL_PREFIX?}_guest_menu` (`action`,`what`,`title`,`sort`,`visible`,`locked`) VALUES ('main',NULL,'Hauptmenü',0,'Y','N');
-INSERT INTO `{?_MYSQL_PREFIX?}_guest_menu` (`action`,`what`,`title`,`sort`,`visible`,`locked`) VALUES ('main','welcome','Willkommen',1,'Y','N');
-INSERT INTO `{?_MYSQL_PREFIX?}_guest_menu` (`action`,`what`,`title`,`sort`,`visible`,`locked`) VALUES ('main','impressum','Impressum',5,'Y','N');
-INSERT INTO `{?_MYSQL_PREFIX?}_guest_menu` (`action`,`what`,`title`,`sort`,`visible`,`locked`) VALUES ('main','agb','AGBs',4,'Y','N');
-INSERT INTO `{?_MYSQL_PREFIX?}_guest_menu` (`action`,`what`,`title`,`sort`,`visible`,`locked`) VALUES ('main','infos','Infos',2,'Y','N');
-INSERT INTO `{?_MYSQL_PREFIX?}_guest_menu` (`action`,`what`,`title`,`sort`,`visible`,`locked`) VALUES ('members','confirm','Bestätigungslink',3,'Y','N');
-INSERT INTO `{?_MYSQL_PREFIX?}_guest_menu` (`action`,`what`,`title`,`sort`,`visible`,`locked`) VALUES ('members',NULL,'Mitglieder',1,'Y','N');
-INSERT INTO `{?_MYSQL_PREFIX?}_guest_menu` (`action`,`what`,`title`,`sort`,`visible`,`locked`) VALUES ('members','login','Einloggen',3,'Y','N');
+INSERT INTO `{?_MYSQL_PREFIX?}_guest_menu` (`action`, `what`, `title`, `sort`, `visible`, `locked`) VALUES ('main',NULL,'Hauptmenü',0,'Y','N');
+INSERT INTO `{?_MYSQL_PREFIX?}_guest_menu` (`action`, `what`, `title`, `sort`, `visible`, `locked`) VALUES ('main','welcome','Willkommen',1,'Y','N');
+INSERT INTO `{?_MYSQL_PREFIX?}_guest_menu` (`action`, `what`, `title`, `sort`, `visible`, `locked`) VALUES ('main','impressum','Impressum',5,'Y','N');
+INSERT INTO `{?_MYSQL_PREFIX?}_guest_menu` (`action`, `what`, `title`, `sort`, `visible`, `locked`) VALUES ('main','agb','AGBs',4,'Y','N');
+INSERT INTO `{?_MYSQL_PREFIX?}_guest_menu` (`action`, `what`, `title`, `sort`, `visible`, `locked`) VALUES ('main','infos','Infos',2,'Y','N');
+INSERT INTO `{?_MYSQL_PREFIX?}_guest_menu` (`action`, `what`, `title`, `sort`, `visible`, `locked`) VALUES ('members','confirm','Bestätigungslink',3,'Y','N');
+INSERT INTO `{?_MYSQL_PREFIX?}_guest_menu` (`action`, `what`, `title`, `sort`, `visible`, `locked`) VALUES ('members',NULL,'Mitglieder',1,'Y','N');
+INSERT INTO `{?_MYSQL_PREFIX?}_guest_menu` (`action`, `what`, `title`, `sort`, `visible`, `locked`) VALUES ('members','login','Einloggen',3,'Y','N');
-INSERT INTO `{?_MYSQL_PREFIX?}_max_receive` (`value`,`comment`) VALUES (0,'Urlaub');
-INSERT INTO `{?_MYSQL_PREFIX?}_max_receive` (`value`,`comment`) VALUES (5,'');
-INSERT INTO `{?_MYSQL_PREFIX?}_max_receive` (`value`,`comment`) VALUES (10,'');
-INSERT INTO `{?_MYSQL_PREFIX?}_max_receive` (`value`,`comment`) VALUES (15,'');
-INSERT INTO `{?_MYSQL_PREFIX?}_max_receive` (`value`,`comment`) VALUES (20,'');
-INSERT INTO `{?_MYSQL_PREFIX?}_max_receive` (`value`,`comment`) VALUES (25,'');
-INSERT INTO `{?_MYSQL_PREFIX?}_max_receive` (`value`,`comment`) VALUES (30,'');
-INSERT INTO `{?_MYSQL_PREFIX?}_max_receive` (`value`,`comment`) VALUES (35,'');
-INSERT INTO `{?_MYSQL_PREFIX?}_max_receive` (`value`,`comment`) VALUES (40,'');
-INSERT INTO `{?_MYSQL_PREFIX?}_max_receive` (`value`,`comment`) VALUES (45,'');
-INSERT INTO `{?_MYSQL_PREFIX?}_max_receive` (`value`,`comment`) VALUES (50,'Bonus möglich!');
-INSERT INTO `{?_MYSQL_PREFIX?}_max_receive` (`value`,`comment`) VALUES (90,'Bonus möglich!');
+INSERT INTO `{?_MYSQL_PREFIX?}_max_receive` (`value`, `comment`) VALUES (0,'Urlaub');
+INSERT INTO `{?_MYSQL_PREFIX?}_max_receive` (`value`, `comment`) VALUES (5,'');
+INSERT INTO `{?_MYSQL_PREFIX?}_max_receive` (`value`, `comment`) VALUES (10,'');
+INSERT INTO `{?_MYSQL_PREFIX?}_max_receive` (`value`, `comment`) VALUES (15,'');
+INSERT INTO `{?_MYSQL_PREFIX?}_max_receive` (`value`, `comment`) VALUES (20,'');
+INSERT INTO `{?_MYSQL_PREFIX?}_max_receive` (`value`, `comment`) VALUES (25,'');
+INSERT INTO `{?_MYSQL_PREFIX?}_max_receive` (`value`, `comment`) VALUES (30,'');
+INSERT INTO `{?_MYSQL_PREFIX?}_max_receive` (`value`, `comment`) VALUES (35,'');
+INSERT INTO `{?_MYSQL_PREFIX?}_max_receive` (`value`, `comment`) VALUES (40,'');
+INSERT INTO `{?_MYSQL_PREFIX?}_max_receive` (`value`, `comment`) VALUES (45,'');
+INSERT INTO `{?_MYSQL_PREFIX?}_max_receive` (`value`, `comment`) VALUES (50,'Bonus möglich!');
+INSERT INTO `{?_MYSQL_PREFIX?}_max_receive` (`value`, `comment`) VALUES (90,'Bonus möglich!');
-INSERT INTO `{?_MYSQL_PREFIX?}_member_menu` (`action`,`what`,`title`,`sort`,`visible`,`locked`) VALUES ('main',NULL,'Mitgliedsmenü',0,'Y','N');
-INSERT INTO `{?_MYSQL_PREFIX?}_member_menu` (`action`,`what`,`title`,`sort`,`visible`,`locked`) VALUES ('main','welcome','Willkommen!',1,'Y','N');
-INSERT INTO `{?_MYSQL_PREFIX?}_member_menu` (`action`,`what`,`title`,`sort`,`visible`,`locked`) VALUES ('main','points','{OPEN_CONFIG}POINTS{CLOSE_CONFIG}-Guthaben',4,'Y','N');
-INSERT INTO `{?_MYSQL_PREFIX?}_member_menu` (`action`,`what`,`title`,`sort`,`visible`,`locked`) VALUES ('main','categories','Kategorien auswählen',3,'Y','N');
-INSERT INTO `{?_MYSQL_PREFIX?}_member_menu` (`action`,`what`,`title`,`sort`,`visible`,`locked`) VALUES ('main','reflinks','Referral-Links',6,'Y','N');
-INSERT INTO `{?_MYSQL_PREFIX?}_member_menu` (`action`,`what`,`title`,`sort`,`visible`,`locked`) VALUES ('main','unconfirmed','Unbestätigte Emails',5,'Y','N');
-INSERT INTO `{?_MYSQL_PREFIX?}_member_menu` (`action`,`what`,`title`,`sort`,`visible`,`locked`) VALUES ('main','stats','Statistiken',9, 'Y','N');
-INSERT INTO `{?_MYSQL_PREFIX?}_member_menu` (`action`,`what`,`title`,`sort`,`visible`,`locked`) VALUES ('logout',NULL,'Ausloggen',999,'Y','N');
-INSERT INTO `{?_MYSQL_PREFIX?}_member_menu` (`action`,`what`,`title`,`sort`,`visible`,`locked`) VALUES ('logout','logout','Ausloggen',999,'Y','N');
-INSERT INTO `{?_MYSQL_PREFIX?}_member_menu` (`action`,`what`,`title`,`sort`,`visible`,`locked`) VALUES ('logout','guest','Zum Gastmenü',1000,'Y','N');
+INSERT INTO `{?_MYSQL_PREFIX?}_member_menu` (`action`, `what`, `title`, `sort`, `visible`, `locked`) VALUES ('main',NULL,'Mitgliedsmenü',0,'Y','N');
+INSERT INTO `{?_MYSQL_PREFIX?}_member_menu` (`action`, `what`, `title`, `sort`, `visible`, `locked`) VALUES ('main','welcome','Willkommen!',1,'Y','N');
+INSERT INTO `{?_MYSQL_PREFIX?}_member_menu` (`action`, `what`, `title`, `sort`, `visible`, `locked`) VALUES ('main','points','{OPEN_CONFIG}POINTS{CLOSE_CONFIG}-Guthaben',4,'Y','N');
+INSERT INTO `{?_MYSQL_PREFIX?}_member_menu` (`action`, `what`, `title`, `sort`, `visible`, `locked`) VALUES ('main','categories','Kategorien auswählen',3,'Y','N');
+INSERT INTO `{?_MYSQL_PREFIX?}_member_menu` (`action`, `what`, `title`, `sort`, `visible`, `locked`) VALUES ('main','reflinks','Referral-Links',6,'Y','N');
+INSERT INTO `{?_MYSQL_PREFIX?}_member_menu` (`action`, `what`, `title`, `sort`, `visible`, `locked`) VALUES ('main','unconfirmed','Unbestätigte Emails',5,'Y','N');
+INSERT INTO `{?_MYSQL_PREFIX?}_member_menu` (`action`, `what`, `title`, `sort`, `visible`, `locked`) VALUES ('main','stats','Statistiken',9, 'Y','N');
+INSERT INTO `{?_MYSQL_PREFIX?}_member_menu` (`action`, `what`, `title`, `sort`, `visible`, `locked`) VALUES ('logout',NULL,'Ausloggen',999,'Y','N');
+INSERT INTO `{?_MYSQL_PREFIX?}_member_menu` (`action`, `what`, `title`, `sort`, `visible`, `locked`) VALUES ('logout','logout','Ausloggen',999,'Y','N');
+INSERT INTO `{?_MYSQL_PREFIX?}_member_menu` (`action`, `what`, `title`, `sort`, `visible`, `locked`) VALUES ('logout','guest','Zum Gastmenü',1000,'Y','N');
-INSERT INTO `{?_MYSQL_PREFIX?}_payments` (`time`,`payment`,`mail_title`,`price`) VALUES (10,1.000,'Klick-Mail 10 Sek.',2.00000);
-INSERT INTO `{?_MYSQL_PREFIX?}_payments` (`time`,`payment`,`mail_title`,`price`) VALUES (20,5.000,'Klick-Mail 20 Sek.',10.00000);
-INSERT INTO `{?_MYSQL_PREFIX?}_payments` (`time`,`payment`,`mail_title`,`price`) VALUES (30,25.000,'Klick-Mail 30 Sek.',30.00000);
-INSERT INTO `{?_MYSQL_PREFIX?}_payments` (`time`,`payment`,`mail_title`,`price`) VALUES (40,35.000,'Klick-Mail 40 Sek.',40.00000);
-INSERT INTO `{?_MYSQL_PREFIX?}_payments` (`time`,`payment`,`mail_title`,`price`) VALUES (50,45.000,'Klick-Mail 50 Sek.',50.00000);
+INSERT INTO `{?_MYSQL_PREFIX?}_payments` (`time`, `payment`, `mail_title`, `price`) VALUES (10,1.000,'Klick-Mail 10 Sek.',2.00000);
+INSERT INTO `{?_MYSQL_PREFIX?}_payments` (`time`, `payment`, `mail_title`, `price`) VALUES (20,5.000,'Klick-Mail 20 Sek.',10.00000);
+INSERT INTO `{?_MYSQL_PREFIX?}_payments` (`time`, `payment`, `mail_title`, `price`) VALUES (30,25.000,'Klick-Mail 30 Sek.',30.00000);
+INSERT INTO `{?_MYSQL_PREFIX?}_payments` (`time`, `payment`, `mail_title`, `price`) VALUES (40,35.000,'Klick-Mail 40 Sek.',40.00000);
+INSERT INTO `{?_MYSQL_PREFIX?}_payments` (`time`, `payment`, `mail_title`, `price`) VALUES (50,45.000,'Klick-Mail 50 Sek.',50.00000);
-INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`,`what`,`title`,`descr`,`sort`) VALUES ('email','del_email','E-Mail löschen','Löschen Sie hierrüber E-Mails (sowohl Bonus- als auch Normal-Mails) aus Ihrem {?mt_word?}-System. <strong>Nur bei Normal-Mails:</strong> {OPEN_CONFIG}POINTS{CLOSE_CONFIG} aus den unbestätigten Mails werden dem Werber wieder vergütet.','7');
-INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`,`what`,`title`,`descr`,`sort`) VALUES ('misc','extensions','Erweiterungen','Erweiterungen installieren, updaten, sperren, löschen usw.','8');
+INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`, `what`, `title`, `descr`, `sort`) VALUES ('email','del_email','E-Mail löschen','Löschen Sie hierrüber E-Mails (sowohl Bonus- als auch Normal-Mails) aus Ihrem {?mt_word?}-System. <strong>Nur bei Normal-Mails:</strong> {OPEN_CONFIG}POINTS{CLOSE_CONFIG} aus den unbestätigten Mails werden dem Werber wieder vergütet.','7');
+INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`, `what`, `title`, `descr`, `sort`) VALUES ('misc','extensions','Erweiterungen','Erweiterungen installieren, updaten, sperren, löschen usw.','8');
-INSERT INTO `{?_MYSQL_PREFIX?}_guest_menu` (`action`,`what`,`title`,`sort`,`visible`,`locked`) VALUES ('main','stats','Statistiken','7','Y','N');
-INSERT INTO `{?_MYSQL_PREFIX?}_guest_menu` (`action`,`what`,`title`,`sort`,`visible`,`locked`) VALUES ('admin',NULL,'Administrative Links','3','N','N');
-INSERT INTO `{?_MYSQL_PREFIX?}_guest_menu` (`action`,`what`,`title`,`sort`,`visible`,`locked`) VALUES ('admin','admin','Zum Admin-Bereich','4','N','N');
+INSERT INTO `{?_MYSQL_PREFIX?}_guest_menu` (`action`, `what`, `title`, `sort`, `visible`, `locked`) VALUES ('main','stats','Statistiken','7','Y','N');
+INSERT INTO `{?_MYSQL_PREFIX?}_guest_menu` (`action`, `what`, `title`, `sort`, `visible`, `locked`) VALUES ('admin',NULL,'Administrative Links','3','N','N');
+INSERT INTO `{?_MYSQL_PREFIX?}_guest_menu` (`action`, `what`, `title`, `sort`, `visible`, `locked`) VALUES ('admin','admin','Zum Admin-Bereich','4','N','N');
-INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`,`what`,`title`,`descr`,`sort`) VALUES ('login',NULL,'Willkommen','Eingangsseite zum Admin-Bereich',0);
-INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`,`what`,`title`,`descr`,`sort`) VALUES ('email',NULL,'Email-Management','Gebuchte Mails umleiten, Details zu den Buchungen anzeigen, Emails freigeben, registrierte Email-Adress auf Verfügbarkeit testen (Mass-Mailing!), Newsletter versenden, Email-Adressen sperren (Email-Backlist), gebuchte URLs sperren (URL-Blacklist)',4);
-INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`,`what`,`title`,`descr`,`sort`) VALUES ('email','email_stats','Email-Statistiken','Schauen Sie sich detailierte Statistiken zu den bereits versanden Mails an.',5);
-INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`,`what`,`title`,`descr`,`sort`) VALUES ('email','edit_emails','Email-Daten ändern','Hier können Sie u.a. die gebuchte URL der Emails umändern, usw.',5);
-INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`,`what`,`title`,`descr`,`sort`) VALUES ('email','unlock_emails','Emails freigeben','Geben Sie bei manuellem Versand gebuchte Mails hier frei.',5);
-INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`,`what`,`title`,`descr`,`sort`) VALUES ('email','email_details','Email-Details ansehen','Sehen Sie sich jedes Details bereits gebuchter Mails an.',5);
-INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`,`what`,`title`,`descr`,`sort`) VALUES ('setup',NULL,'Einstellungen','Interessen ändern, News schreiben, allgmeine Einstellungen (Auto-Versand usw.). Auto-Lock Funktion einrichten, manueller Lock des Versandes einrichten, Teile der Homepage sperren (wegen Wartungsarbeiten)',5);
-INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`,`what`,`title`,`descr`,`sort`) VALUES ('setup','config_email','Versand, Empfang','Hier können Sie die maximal empfangbaren Mails usw. einstellen.',8);
-INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`,`what`,`title`,`descr`,`sort`) VALUES ('setup','config_cats','Kategorien einrichten','Ändern oder löschen Sie bereits bestehende Kategorien oder fügen Sie weitere hinzu.',7);
-INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`,`what`,`title`,`descr`,`sort`) VALUES ('setup','refbanner','Referral-Banner','Fügen Sie neue Banner hinzu, die dann die Mitglieder verlinken können, um neue Mitglieder zu werben. Oder editieren / löschen Sie bestehende. Hier sehen Sie auch die Anzahl der Klicks auf den jeweiligen Banner!',12);
-INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`,`what`,`title`,`descr`,`sort`) VALUES ('setup','payments','{OPEN_CONFIG}POINTS{CLOSE_CONFIG}-Vergütungen','Fügen Sie neue {OPEN_CONFIG}POINTS{CLOSE_CONFIG}-Vergütungen hinzu oder ändern / löschen Sie bestende.',11);
-INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`,`what`,`title`,`descr`,`sort`) VALUES ('misc',NULL,'Verschiedenes','Verschiedene Einstellungen / Info-Seiten, die sonst nirgenswo reinpassten...',6);
-INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`,`what`,`title`,`descr`,`sort`) VALUES ('stats',NULL,'Statistiken','Sonstige Statistiken, die nirgenswo reinpassen',7);
-INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`,`what`,`title`,`descr`,`sort`) VALUES ('logout',NULL,'Ausloggen','Ausloggen aus dem Admin-Bereich. Dadurch wird Ihre Session gelöscht und Sie müssen sich erneut anmelden.',999);
+INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`, `what`, `title`, `descr`, `sort`) VALUES ('login',NULL,'Willkommen','Eingangsseite zum Admin-Bereich',0);
+INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`, `what`, `title`, `descr`, `sort`) VALUES ('email',NULL,'Email-Management','Gebuchte Mails umleiten, Details zu den Buchungen anzeigen, Emails freigeben, registrierte Email-Adress auf Verfügbarkeit testen (Mass-Mailing!), Newsletter versenden, Email-Adressen sperren (Email-Backlist), gebuchte URLs sperren (URL-Blacklist)',4);
+INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`, `what`, `title`, `descr`, `sort`) VALUES ('email','email_stats','Email-Statistiken','Schauen Sie sich detailierte Statistiken zu den bereits versanden Mails an.',5);
+INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`, `what`, `title`, `descr`, `sort`) VALUES ('email','edit_emails','Email-Daten ändern','Hier können Sie u.a. die gebuchte URL der Emails umändern, usw.',5);
+INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`, `what`, `title`, `descr`, `sort`) VALUES ('email','unlock_emails','Emails freigeben','Geben Sie bei manuellem Versand gebuchte Mails hier frei.',5);
+INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`, `what`, `title`, `descr`, `sort`) VALUES ('email','email_details','Email-Details ansehen','Sehen Sie sich jedes Details bereits gebuchter Mails an.',5);
+INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`, `what`, `title`, `descr`, `sort`) VALUES ('setup',NULL,'Einstellungen','Interessen ändern, News schreiben, allgmeine Einstellungen (Auto-Versand usw.). Auto-Lock Funktion einrichten, manueller Lock des Versandes einrichten, Teile der Homepage sperren (wegen Wartungsarbeiten)',5);
+INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`, `what`, `title`, `descr`, `sort`) VALUES ('setup','config_email','Versand, Empfang','Hier können Sie die maximal empfangbaren Mails usw. einstellen.',8);
+INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`, `what`, `title`, `descr`, `sort`) VALUES ('setup','config_cats','Kategorien einrichten','Ändern oder löschen Sie bereits bestehende Kategorien oder fügen Sie weitere hinzu.',7);
+INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`, `what`, `title`, `descr`, `sort`) VALUES ('setup','refbanner','Referral-Banner','Fügen Sie neue Banner hinzu, die dann die Mitglieder verlinken können, um neue Mitglieder zu werben. Oder editieren / löschen Sie bestehende. Hier sehen Sie auch die Anzahl der Klicks auf den jeweiligen Banner!',12);
+INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`, `what`, `title`, `descr`, `sort`) VALUES ('setup','payments','{OPEN_CONFIG}POINTS{CLOSE_CONFIG}-Vergütungen','Fügen Sie neue {OPEN_CONFIG}POINTS{CLOSE_CONFIG}-Vergütungen hinzu oder ändern / löschen Sie bestende.',11);
+INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`, `what`, `title`, `descr`, `sort`) VALUES ('misc',NULL,'Verschiedenes','Verschiedene Einstellungen / Info-Seiten, die sonst nirgenswo reinpassten...',6);
+INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`, `what`, `title`, `descr`, `sort`) VALUES ('stats',NULL,'Statistiken','Sonstige Statistiken, die nirgenswo reinpassen',7);
+INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`, `what`, `title`, `descr`, `sort`) VALUES ('logout',NULL,'Ausloggen','Ausloggen aus dem Admin-Bereich. Dadurch wird Ihre Session gelöscht und Sie müssen sich erneut anmelden.',999);
-INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`,`visible`,`sort`) VALUES ('Mix / Alles Senden --> keine Erotik!','Y',0);
-INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`,`visible`,`sort`) VALUES ('Mix / Alles Senden --> ohne PopUps, keine Erotik','Y',1);
-INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`,`visible`,`sort`) VALUES ('Traffic, Reflinks, Kostenloses, KEIN MLM!','Y',2);
-INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`,`visible`,`sort`) VALUES ('Geldverdienen, Beruf, Arbeit, KEIN MLM!','Y',3);
-INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`,`visible`,`sort`) VALUES ('Download, PC- Software, HP-Design','Y',4);
-INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`,`visible`,`sort`) VALUES ('Investment, Banken, Börse, Versicherungen, KEIN MLM','Y',5);
-INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`,`visible`,`sort`) VALUES ('Politik, Wissenschaft','Y',6);
-INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`,`visible`,`sort`) VALUES ('Handy, SMS, ISDN, DSL,','Y',7);
-INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`,`visible`,`sort`) VALUES ('Elektronik, Technik, Server, PC-Hardware, Hosting','Y',8);
-INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`,`visible`,`sort`) VALUES ('Auto, Motorrad','Y',9);
-INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`,`visible`,`sort`) VALUES ('Reise,Touristik','Y',10);
-INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`,`visible`,`sort`) VALUES ('Kunst, Kultur, Bildung','Y',11);
-INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`,`visible`,`sort`) VALUES ('Gesundheit, Fitness, Sport, KEIN MLM!','Y',12);
-INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`,`visible`,`sort`) VALUES ('Lifestyle, Mode, Kosmetik, KEIN MLM!','Y',13);
-INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`,`visible`,`sort`) VALUES ('Auktionen, Shopping, Verkauf, KEIN MLM!','Y',14);
-INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`,`visible`,`sort`) VALUES ('Medien, Musik, Film, TV, Video & DVD','Y',15);
-INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`,`visible`,`sort`) VALUES ('Singles, Flirten, Partnerschaft','Y',16);
-INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`,`visible`,`sort`) VALUES ('Gewinnspiele, Wetten, Lotto, KEIN MLM!','Y',17);
-INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`,`visible`,`sort`) VALUES ('Haus, Garten, Freizeit, Hobbys','Y',18);
-INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`,`visible`,`sort`) VALUES ('Erotik --> Keine Hardcore !','Y',19);
-INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`,`visible`,`sort`) VALUES ('Multi Level Marketing (alle Arten)','Y',20);
-INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`,`visible`,`sort`) VALUES ('Wernis-Seiten','Y',21);
-INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`,`visible`,`sort`) VALUES ('Primera-Seiten','Y',22);
+INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`, `visible`, `sort`) VALUES ('Mix / Alles Senden --> keine Erotik!','Y',0);
+INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`, `visible`, `sort`) VALUES ('Mix / Alles Senden --> ohne PopUps, keine Erotik','Y',1);
+INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`, `visible`, `sort`) VALUES ('Traffic, Reflinks, Kostenloses, KEIN MLM!','Y',2);
+INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`, `visible`, `sort`) VALUES ('Geldverdienen, Beruf, Arbeit, KEIN MLM!','Y',3);
+INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`, `visible`, `sort`) VALUES ('Download, PC- Software, HP-Design','Y',4);
+INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`, `visible`, `sort`) VALUES ('Investment, Banken, Börse, Versicherungen, KEIN MLM','Y',5);
+INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`, `visible`, `sort`) VALUES ('Politik, Wissenschaft','Y',6);
+INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`, `visible`, `sort`) VALUES ('Handy, SMS, ISDN, DSL,','Y',7);
+INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`, `visible`, `sort`) VALUES ('Elektronik, Technik, Server, PC-Hardware, Hosting','Y',8);
+INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`, `visible`, `sort`) VALUES ('Auto, Motorrad','Y',9);
+INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`, `visible`, `sort`) VALUES ('Reise,Touristik','Y',10);
+INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`, `visible`, `sort`) VALUES ('Kunst, Kultur, Bildung','Y',11);
+INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`, `visible`, `sort`) VALUES ('Gesundheit, Fitness, Sport, KEIN MLM!','Y',12);
+INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`, `visible`, `sort`) VALUES ('Lifestyle, Mode, Kosmetik, KEIN MLM!','Y',13);
+INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`, `visible`, `sort`) VALUES ('Auktionen, Shopping, Verkauf, KEIN MLM!','Y',14);
+INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`, `visible`, `sort`) VALUES ('Medien, Musik, Film, TV, Video & DVD','Y',15);
+INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`, `visible`, `sort`) VALUES ('Singles, Flirten, Partnerschaft','Y',16);
+INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`, `visible`, `sort`) VALUES ('Gewinnspiele, Wetten, Lotto, KEIN MLM!','Y',17);
+INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`, `visible`, `sort`) VALUES ('Haus, Garten, Freizeit, Hobbys','Y',18);
+INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`, `visible`, `sort`) VALUES ('Erotik --> Keine Hardcore !','Y',19);
+INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`, `visible`, `sort`) VALUES ('Multi Level Marketing (alle Arten)','Y',20);
+INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`, `visible`, `sort`) VALUES ('Wernis-Seiten','Y',21);
+INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`, `visible`, `sort`) VALUES ('Primera-Seiten','Y',22);
-INSERT INTO `{?_MYSQL_PREFIX?}_guest_menu` (`action`,`what`,`title`,`sort`,`visible`,`locked`) VALUES ('main',NULL,'Hauptmenü',0,'Y','N');
-INSERT INTO `{?_MYSQL_PREFIX?}_guest_menu` (`action`,`what`,`title`,`sort`,`visible`,`locked`) VALUES ('main','welcome','Willkommen',1,'Y','N');
-INSERT INTO `{?_MYSQL_PREFIX?}_guest_menu` (`action`,`what`,`title`,`sort`,`visible`,`locked`) VALUES ('main','impressum','Impressum',5,'Y','N');
-INSERT INTO `{?_MYSQL_PREFIX?}_guest_menu` (`action`,`what`,`title`,`sort`,`visible`,`locked`) VALUES ('main','agb','AGBs',4,'Y','N');
-INSERT INTO `{?_MYSQL_PREFIX?}_guest_menu` (`action`,`what`,`title`,`sort`,`visible`,`locked`) VALUES ('main','infos','Infos',2,'Y','N');
-INSERT INTO `{?_MYSQL_PREFIX?}_guest_menu` (`action`,`what`,`title`,`sort`,`visible`,`locked`) VALUES ('members',NULL,'Mitglieder',1,'Y','N');
-INSERT INTO `{?_MYSQL_PREFIX?}_guest_menu` (`action`,`what`,`title`,`sort`,`visible`,`locked`) VALUES ('members','confirm','Bestätigungslink',3,'Y','N');
-INSERT INTO `{?_MYSQL_PREFIX?}_guest_menu` (`action`,`what`,`title`,`sort`,`visible`,`locked`) VALUES ('members','login','Einloggen',3,'Y','N');
+INSERT INTO `{?_MYSQL_PREFIX?}_guest_menu` (`action`, `what`, `title`, `sort`, `visible`, `locked`) VALUES ('main',NULL,'Hauptmenü',0,'Y','N');
+INSERT INTO `{?_MYSQL_PREFIX?}_guest_menu` (`action`, `what`, `title`, `sort`, `visible`, `locked`) VALUES ('main','welcome','Willkommen',1,'Y','N');
+INSERT INTO `{?_MYSQL_PREFIX?}_guest_menu` (`action`, `what`, `title`, `sort`, `visible`, `locked`) VALUES ('main','impressum','Impressum',5,'Y','N');
+INSERT INTO `{?_MYSQL_PREFIX?}_guest_menu` (`action`, `what`, `title`, `sort`, `visible`, `locked`) VALUES ('main','agb','AGBs',4,'Y','N');
+INSERT INTO `{?_MYSQL_PREFIX?}_guest_menu` (`action`, `what`, `title`, `sort`, `visible`, `locked`) VALUES ('main','infos','Infos',2,'Y','N');
+INSERT INTO `{?_MYSQL_PREFIX?}_guest_menu` (`action`, `what`, `title`, `sort`, `visible`, `locked`) VALUES ('members',NULL,'Mitglieder',1,'Y','N');
+INSERT INTO `{?_MYSQL_PREFIX?}_guest_menu` (`action`, `what`, `title`, `sort`, `visible`, `locked`) VALUES ('members','confirm','Bestätigungslink',3,'Y','N');
+INSERT INTO `{?_MYSQL_PREFIX?}_guest_menu` (`action`, `what`, `title`, `sort`, `visible`, `locked`) VALUES ('members','login','Einloggen',3,'Y','N');
-INSERT INTO `{?_MYSQL_PREFIX?}_max_receive` (`value`,`comment`) VALUES (0,'Urlaub');
-INSERT INTO `{?_MYSQL_PREFIX?}_max_receive` (`value`,`comment`) VALUES (5,'');
-INSERT INTO `{?_MYSQL_PREFIX?}_max_receive` (`value`,`comment`) VALUES (10,'');
-INSERT INTO `{?_MYSQL_PREFIX?}_max_receive` (`value`,`comment`) VALUES (15,'');
-INSERT INTO `{?_MYSQL_PREFIX?}_max_receive` (`value`,`comment`) VALUES (20,'');
-INSERT INTO `{?_MYSQL_PREFIX?}_max_receive` (`value`,`comment`) VALUES (25,'');
-INSERT INTO `{?_MYSQL_PREFIX?}_max_receive` (`value`,`comment`) VALUES (30,'');
-INSERT INTO `{?_MYSQL_PREFIX?}_max_receive` (`value`,`comment`) VALUES (35,'');
-INSERT INTO `{?_MYSQL_PREFIX?}_max_receive` (`value`,`comment`) VALUES (40,'');
-INSERT INTO `{?_MYSQL_PREFIX?}_max_receive` (`value`,`comment`) VALUES (45,'');
-INSERT INTO `{?_MYSQL_PREFIX?}_max_receive` (`value`,`comment`) VALUES (50,'Bonus möglich!');
-INSERT INTO `{?_MYSQL_PREFIX?}_max_receive` (`value`,`comment`) VALUES (90,'Bonus möglich!');
+INSERT INTO `{?_MYSQL_PREFIX?}_max_receive` (`value`, `comment`) VALUES (0,'Urlaub');
+INSERT INTO `{?_MYSQL_PREFIX?}_max_receive` (`value`, `comment`) VALUES (5,'');
+INSERT INTO `{?_MYSQL_PREFIX?}_max_receive` (`value`, `comment`) VALUES (10,'');
+INSERT INTO `{?_MYSQL_PREFIX?}_max_receive` (`value`, `comment`) VALUES (15,'');
+INSERT INTO `{?_MYSQL_PREFIX?}_max_receive` (`value`, `comment`) VALUES (20,'');
+INSERT INTO `{?_MYSQL_PREFIX?}_max_receive` (`value`, `comment`) VALUES (25,'');
+INSERT INTO `{?_MYSQL_PREFIX?}_max_receive` (`value`, `comment`) VALUES (30,'');
+INSERT INTO `{?_MYSQL_PREFIX?}_max_receive` (`value`, `comment`) VALUES (35,'');
+INSERT INTO `{?_MYSQL_PREFIX?}_max_receive` (`value`, `comment`) VALUES (40,'');
+INSERT INTO `{?_MYSQL_PREFIX?}_max_receive` (`value`, `comment`) VALUES (45,'');
+INSERT INTO `{?_MYSQL_PREFIX?}_max_receive` (`value`, `comment`) VALUES (50,'Bonus möglich!');
+INSERT INTO `{?_MYSQL_PREFIX?}_max_receive` (`value`, `comment`) VALUES (90,'Bonus möglich!');
-INSERT INTO `{?_MYSQL_PREFIX?}_member_menu` (`action`,`what`,`title`,`sort`,`visible`,`locked`) VALUES ('main',NULL,'Mitgliedsmenü',0,'Y','N');
-INSERT INTO `{?_MYSQL_PREFIX?}_member_menu` (`action`,`what`,`title`,`sort`,`visible`,`locked`) VALUES ('main','welcome','Willkommen!',1,'Y','N');
-INSERT INTO `{?_MYSQL_PREFIX?}_member_menu` (`action`,`what`,`title`,`sort`,`visible`,`locked`) VALUES ('main','points','{OPEN_CONFIG}POINTS{CLOSE_CONFIG}-Guthaben',4,'Y','N');
-INSERT INTO `{?_MYSQL_PREFIX?}_member_menu` (`action`,`what`,`title`,`sort`,`visible`,`locked`) VALUES ('main','categories','Kategorien auswählen',3,'Y','N');
-INSERT INTO `{?_MYSQL_PREFIX?}_member_menu` (`action`,`what`,`title`,`sort`,`visible`,`locked`) VALUES ('main','reflinks','Referral-Links',6,'Y','N');
-INSERT INTO `{?_MYSQL_PREFIX?}_member_menu` (`action`,`what`,`title`,`sort`,`visible`,`locked`) VALUES ('main','unconfirmed','Unbestätigte Emails',5,'Y','N');
-INSERT INTO `{?_MYSQL_PREFIX?}_member_menu` (`action`,`what`,`title`,`sort`,`visible`,`locked`) VALUES ('main','stats','Statistiken',9,'Y','N');
-INSERT INTO `{?_MYSQL_PREFIX?}_member_menu` (`action`,`what`,`title`,`sort`,`visible`,`locked`) VALUES ('logout',NULL,'Ausloggen',999,'Y','N');
-INSERT INTO `{?_MYSQL_PREFIX?}_member_menu` (`action`,`what`,`title`,`sort`,`visible`,`locked`) VALUES ('logout','logout','Ausloggen',999,'Y','N');
-INSERT INTO `{?_MYSQL_PREFIX?}_member_menu` (`action`,`what`,`title`,`sort`,`visible`,`locked`) VALUES ('logout','guest','Zum Gastmenü',1000,'Y','N');
+INSERT INTO `{?_MYSQL_PREFIX?}_member_menu` (`action`, `what`, `title`, `sort`, `visible`, `locked`) VALUES ('main',NULL,'Mitgliedsmenü',0,'Y','N');
+INSERT INTO `{?_MYSQL_PREFIX?}_member_menu` (`action`, `what`, `title`, `sort`, `visible`, `locked`) VALUES ('main','welcome','Willkommen!',1,'Y','N');
+INSERT INTO `{?_MYSQL_PREFIX?}_member_menu` (`action`, `what`, `title`, `sort`, `visible`, `locked`) VALUES ('main','points','{OPEN_CONFIG}POINTS{CLOSE_CONFIG}-Guthaben',4,'Y','N');
+INSERT INTO `{?_MYSQL_PREFIX?}_member_menu` (`action`, `what`, `title`, `sort`, `visible`, `locked`) VALUES ('main','categories','Kategorien auswählen',3,'Y','N');
+INSERT INTO `{?_MYSQL_PREFIX?}_member_menu` (`action`, `what`, `title`, `sort`, `visible`, `locked`) VALUES ('main','reflinks','Referral-Links',6,'Y','N');
+INSERT INTO `{?_MYSQL_PREFIX?}_member_menu` (`action`, `what`, `title`, `sort`, `visible`, `locked`) VALUES ('main','unconfirmed','Unbestätigte Emails',5,'Y','N');
+INSERT INTO `{?_MYSQL_PREFIX?}_member_menu` (`action`, `what`, `title`, `sort`, `visible`, `locked`) VALUES ('main','stats','Statistiken',9,'Y','N');
+INSERT INTO `{?_MYSQL_PREFIX?}_member_menu` (`action`, `what`, `title`, `sort`, `visible`, `locked`) VALUES ('logout',NULL,'Ausloggen',999,'Y','N');
+INSERT INTO `{?_MYSQL_PREFIX?}_member_menu` (`action`, `what`, `title`, `sort`, `visible`, `locked`) VALUES ('logout','logout','Ausloggen',999,'Y','N');
+INSERT INTO `{?_MYSQL_PREFIX?}_member_menu` (`action`, `what`, `title`, `sort`, `visible`, `locked`) VALUES ('logout','guest','Zum Gastmenü',1000,'Y','N');
-INSERT INTO `{?_MYSQL_PREFIX?}_payments` (`time`,`payment`,`mail_title`,`price`) VALUES (10,1.000,'Klick-Mail 10 Sek.',2.00000);
-INSERT INTO `{?_MYSQL_PREFIX?}_payments` (`time`,`payment`,`mail_title`,`price`) VALUES (20,5.000,'Klick-Mail 20 Sek.',10.00000);
-INSERT INTO `{?_MYSQL_PREFIX?}_payments` (`time`,`payment`,`mail_title`,`price`) VALUES (30,25.000,'Klick-Mail 30 Sek.',30.00000);
-INSERT INTO `{?_MYSQL_PREFIX?}_payments` (`time`,`payment`,`mail_title`,`price`) VALUES (40,35.000,'Klick-Mail 40 Sek.',40.00000);
-INSERT INTO `{?_MYSQL_PREFIX?}_payments` (`time`,`payment`,`mail_title`,`price`) VALUES (50,45.000,'Klick-Mail 50 Sek.',50.00000);
+INSERT INTO `{?_MYSQL_PREFIX?}_payments` (`time`, `payment`, `mail_title`, `price`) VALUES (10,1.000,'Klick-Mail 10 Sek.',2.00000);
+INSERT INTO `{?_MYSQL_PREFIX?}_payments` (`time`, `payment`, `mail_title`, `price`) VALUES (20,5.000,'Klick-Mail 20 Sek.',10.00000);
+INSERT INTO `{?_MYSQL_PREFIX?}_payments` (`time`, `payment`, `mail_title`, `price`) VALUES (30,25.000,'Klick-Mail 30 Sek.',30.00000);
+INSERT INTO `{?_MYSQL_PREFIX?}_payments` (`time`, `payment`, `mail_title`, `price`) VALUES (40,35.000,'Klick-Mail 40 Sek.',40.00000);
+INSERT INTO `{?_MYSQL_PREFIX?}_payments` (`time`, `payment`, `mail_title`, `price`) VALUES (50,45.000,'Klick-Mail 50 Sek.',50.00000);
-INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`,`what`,`title`,`descr`,`sort`) VALUES ('email','del_email','E-Mail löschen','Löschen Sie hierrüber E-Mails (sowohl Bonus- als auch Normal-Mails) aus Ihrem {?mt_word?}-System. <strong>Nur bei Normal-Mails:</strong> {OPEN_CONFIG}POINTS{CLOSE_CONFIG} aus den unbestätigten Mails werden dem Werber wieder vergütet.','7');
-INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`,`what`,`title`,`descr`,`sort`) VALUES ('misc','extensions','Erweiterungen','Erweiterungen installieren, updaten, sperren, löschen usw.','8');
+INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`, `what`, `title`, `descr`, `sort`) VALUES ('email','del_email','E-Mail löschen','Löschen Sie hierrüber E-Mails (sowohl Bonus- als auch Normal-Mails) aus Ihrem {?mt_word?}-System. <strong>Nur bei Normal-Mails:</strong> {OPEN_CONFIG}POINTS{CLOSE_CONFIG} aus den unbestätigten Mails werden dem Werber wieder vergütet.','7');
+INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`, `what`, `title`, `descr`, `sort`) VALUES ('misc','extensions','Erweiterungen','Erweiterungen installieren, updaten, sperren, löschen usw.','8');
-INSERT INTO `{?_MYSQL_PREFIX?}_guest_menu` (`action`,`what`,`title`,`sort`,`visible`,`locked`) VALUES ('main','stats','Statistiken','7','Y','N');
-INSERT INTO `{?_MYSQL_PREFIX?}_guest_menu` (`action`,`what`,`title`,`sort`,`visible`,`locked`) VALUES ('admin',NULL,'Administrative Links','3','N','N');
-INSERT INTO `{?_MYSQL_PREFIX?}_guest_menu` (`action`,`what`,`title`,`sort`,`visible`,`locked`) VALUES ('admin','admin','Zum Admin-Bereich','4','N','N');
+INSERT INTO `{?_MYSQL_PREFIX?}_guest_menu` (`action`, `what`, `title`, `sort`, `visible`, `locked`) VALUES ('main','stats','Statistiken','7','Y','N');
+INSERT INTO `{?_MYSQL_PREFIX?}_guest_menu` (`action`, `what`, `title`, `sort`, `visible`, `locked`) VALUES ('admin',NULL,'Administrative Links','3','N','N');
+INSERT INTO `{?_MYSQL_PREFIX?}_guest_menu` (`action`, `what`, `title`, `sort`, `visible`, `locked`) VALUES ('admin','admin','Zum Admin-Bereich','4','N','N');
INSERT INTO `{?_MYSQL_PREFIX?}_config` (`config`) VALUES (0);
-INSERT INTO `{?_MYSQL_PREFIX?}_mod_reg` (`module`,`locked`,`hidden`,`admin_only`,`title`,`mem_only`) VALUES ('admin','N','N','Y','','N');
-INSERT INTO `{?_MYSQL_PREFIX?}_mod_reg` (`module`,`locked`,`hidden`,`admin_only`,`title`,`mem_only`) VALUES ('chk_login','N','Y','N','','N');
-INSERT INTO `{?_MYSQL_PREFIX?}_mod_reg` (`module`,`locked`,`hidden`,`admin_only`,`title`,`mem_only`) VALUES ('confirm','N','Y','N','','N');
-INSERT INTO `{?_MYSQL_PREFIX?}_mod_reg` (`module`,`locked`,`hidden`,`admin_only`,`title`,`mem_only`) VALUES ('css','N','Y','N','','N');
-INSERT INTO `{?_MYSQL_PREFIX?}_mod_reg` (`module`,`locked`,`hidden`,`admin_only`,`title`,`mem_only`) VALUES ('frametester','N','Y','N','','N');
-INSERT INTO `{?_MYSQL_PREFIX?}_mod_reg` (`module`,`locked`,`hidden`,`admin_only`,`title`,`mem_only`) VALUES ('index','N','N','N','','N');
-INSERT INTO `{?_MYSQL_PREFIX?}_mod_reg` (`module`,`locked`,`hidden`,`admin_only`,`title`,`mem_only`) VALUES ('js','N','Y','N','','N');
-INSERT INTO `{?_MYSQL_PREFIX?}_mod_reg` (`module`,`locked`,`hidden`,`admin_only`,`title`,`mem_only`) VALUES ('loader','N','Y','N','','N');
-INSERT INTO `{?_MYSQL_PREFIX?}_mod_reg` (`module`,`locked`,`hidden`,`admin_only`,`title`,`mem_only`) VALUES ('login','N','N','N','','Y');
-INSERT INTO `{?_MYSQL_PREFIX?}_mod_reg` (`module`,`locked`,`hidden`,`admin_only`,`title`,`mem_only`) VALUES ('ref','N','Y','N','','N');
-
-INSERT INTO `{?_MYSQL_PREFIX?}_refdepths` (`level`,`percents`) VALUES (0,100);
-INSERT INTO `{?_MYSQL_PREFIX?}_refdepths` (`level`,`percents`) VALUES (1,30);
-INSERT INTO `{?_MYSQL_PREFIX?}_refdepths` (`level`,`percents`) VALUES (2,15);
-INSERT INTO `{?_MYSQL_PREFIX?}_refdepths` (`level`,`percents`) VALUES (3,10);
-INSERT INTO `{?_MYSQL_PREFIX?}_refdepths` (`level`,`percents`) VALUES (4,8);
-INSERT INTO `{?_MYSQL_PREFIX?}_refdepths` (`level`,`percents`) VALUES (5,5);
+INSERT INTO `{?_MYSQL_PREFIX?}_mod_reg` (`module`, `locked`, `hidden`, `admin_only`, `title`, `mem_only`) VALUES ('admin','N','N','Y','','N');
+INSERT INTO `{?_MYSQL_PREFIX?}_mod_reg` (`module`, `locked`, `hidden`, `admin_only`, `title`, `mem_only`) VALUES ('chk_login','N','Y','N','','N');
+INSERT INTO `{?_MYSQL_PREFIX?}_mod_reg` (`module`, `locked`, `hidden`, `admin_only`, `title`, `mem_only`) VALUES ('confirm','N','Y','N','','N');
+INSERT INTO `{?_MYSQL_PREFIX?}_mod_reg` (`module`, `locked`, `hidden`, `admin_only`, `title`, `mem_only`) VALUES ('css','N','Y','N','','N');
+INSERT INTO `{?_MYSQL_PREFIX?}_mod_reg` (`module`, `locked`, `hidden`, `admin_only`, `title`, `mem_only`) VALUES ('frametester','N','Y','N','','N');
+INSERT INTO `{?_MYSQL_PREFIX?}_mod_reg` (`module`, `locked`, `hidden`, `admin_only`, `title`, `mem_only`) VALUES ('index','N','N','N','','N');
+INSERT INTO `{?_MYSQL_PREFIX?}_mod_reg` (`module`, `locked`, `hidden`, `admin_only`, `title`, `mem_only`) VALUES ('js','N','Y','N','','N');
+INSERT INTO `{?_MYSQL_PREFIX?}_mod_reg` (`module`, `locked`, `hidden`, `admin_only`, `title`, `mem_only`) VALUES ('loader','N','Y','N','','N');
+INSERT INTO `{?_MYSQL_PREFIX?}_mod_reg` (`module`, `locked`, `hidden`, `admin_only`, `title`, `mem_only`) VALUES ('login','N','N','N','','Y');
+INSERT INTO `{?_MYSQL_PREFIX?}_mod_reg` (`module`, `locked`, `hidden`, `admin_only`, `title`, `mem_only`) VALUES ('ref','N','Y','N','','N');
+
+INSERT INTO `{?_MYSQL_PREFIX?}_refdepths` (`level`, `percents`) VALUES (0,100);
+INSERT INTO `{?_MYSQL_PREFIX?}_refdepths` (`level`, `percents`) VALUES (1,30);
+INSERT INTO `{?_MYSQL_PREFIX?}_refdepths` (`level`, `percents`) VALUES (2,15);
+INSERT INTO `{?_MYSQL_PREFIX?}_refdepths` (`level`, `percents`) VALUES (3,10);
+INSERT INTO `{?_MYSQL_PREFIX?}_refdepths` (`level`, `percents`) VALUES (4,8);
+INSERT INTO `{?_MYSQL_PREFIX?}_refdepths` (`level`, `percents`) VALUES (5,5);
switch ($ltype) {
case 'NORMAL':
// Is the stats id valid?
- $result = SQL_QUERY_ESC("SELECT `pool_id`,`url`,`subject` FROM `{?_MYSQL_PREFIX?}_user_stats` WHERE `id`=%s LIMIT 1",
+ $result = SQL_QUERY_ESC("SELECT `pool_id`, `url`, `subject` FROM `{?_MYSQL_PREFIX?}_user_stats` WHERE `id`=%s LIMIT 1",
array($mailId), __FILE__, __LINE__);
break;
redirectOnUninstalledExtension('bonus');
// Bonus-Mails
- $result = SQL_QUERY_ESC("SELECT `id`,`url`,`subject` FROM `{?_MYSQL_PREFIX?}_bonus` WHERE `id`=%s LIMIT 1",
+ $result = SQL_QUERY_ESC("SELECT `id`, `url`, `subject` FROM `{?_MYSQL_PREFIX?}_bonus` WHERE `id`=%s LIMIT 1",
array($bonusId), __FILE__, __LINE__);
break;
break;
case 'BONUS':
- $result = SQL_QUERY_ESC("SELECT `points`,`time` FROM `{?_MYSQL_PREFIX?}_bonus` WHERE `id`=%s LIMIT 1",
+ $result = SQL_QUERY_ESC("SELECT `points`, `time` FROM `{?_MYSQL_PREFIX?}_bonus` WHERE `id`=%s LIMIT 1",
array($bonusId), __FILE__, __LINE__);
if (SQL_NUMROWS($result) == 1) {
list($points, $time) = SQL_FETCHROW($result);
break;
case 'BONUS':
- $result = SQL_QUERY_ESC("SELECT `time`,`points` FROM `{?_MYSQL_PREFIX?}_bonus` WHERE `id`=%s LIMIT 1",
+ $result = SQL_QUERY_ESC("SELECT `time`, `points` FROM `{?_MYSQL_PREFIX?}_bonus` WHERE `id`=%s LIMIT 1",
array(bigintval($data['pool_id'])), __FILE__, __LINE__);
// Entry found?
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_networks&do=add_network%}" method="post">
+<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_network_data&do=add_network%}" method="post">
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td class="table_header bottom" colspan="2" align="center">
</td>
</tr>
<tr>
- <td align="right" width="250">{--ADMIN_NETWORK_TYPE_HANDLER--}:</td>
+ <td align="right" width="250">{--ADMIN_NETWORK_TYPE_HANDLER--}</td>
<td>
<select name="network_type_handler" class="form_select" size="1">
{%pipe,generateNetworkTypesAvailableOptions%}
</td>
</tr>
<tr>
- <td align="right" width="250">{--ADMIN_NETWORK_TYPE_HANDLER_API_URL--}:</td>
+ <td align="right" width="250">{--ADMIN_NETWORK_TYPE_HANDLER_API_URL--}</td>
<td>
<input type="text" class="form_field" name="network_type_api_url" size="50" maxlength="255" />
</td>
</tr>
<tr>
- <td align="right" width="250">{--ADMIN_NETWORK_TYPE_HANDLER_CLICK_URL--}:</td>
+ <td align="right" width="250">{--ADMIN_NETWORK_TYPE_HANDLER_CLICK_URL--}</td>
<td>
<input type="text" class="form_field" name="network_type_click_url" size="40" maxlength="255" />
</td>
</tr>
<tr>
- <td align="right" width="250">{--ADMIN_NETWORK_TYPE_HANDLER_BANNER_URL--}:</td>
+ <td align="right" width="250">{--ADMIN_NETWORK_TYPE_HANDLER_BANNER_URL--}</td>
<td>
<input type="text" class="form_field" name="network_type_banner_url" size="40" maxlength="255" />
</td>
</tr>
<tr>
- <td class="bottom" align="right" width="250">{--ADMIN_NETWORK_TYPE_HANDLER_RELOAD_TIME_UNIT--}:</td>
- <td class="bottom">
+ <td align="right" width="250">{--ADMIN_NETWORK_TYPE_HANDLER_RELOAD_TIME_UNIT--}</td>
+ <td>
$content[network_type_reload_time_unit]
</td>
</tr>
+ <tr>
+ <td class="bottom" align="right" width="250">{--ADMIN_NETWORK_TYPE_HANDLER_TEXT_ENCODING--}</td>
+ <td class="bottom">
+ <select name="network_text_encoding" class="form_select" size="1">
+ {%pipe,generateNetworkTextEncodingAvailableOptions%}
+ </select>
+ </td>
+ </tr>
<tr>
<td class="table_footer" colspan="2" align="center">
<input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
--- /dev/null
+<div align="center">
+<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=extensions%}" method="post">
+<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
+ <tr>
+ <td colspan="3" align="center" class="table_header">
+ <strong>{--ADMIN_REMOVING_THESE_EXTENSIONS--}</strong>
+ </td>
+ </tr>
+ <tr>
+ <td align="center" class="header_column bottom right"><strong>{--ID_SELECT--}</strong></td>
+ <td align="center" class="header_column bottom right"><strong>{--ADMIN_EXTENSION_NAME--}</strong></td>
+ <td align="center" class="header_column bottom"><strong>{--ADMIN_EXTENSION_VERSION--}</strong></td>
+ </tr>
+ $content
+ <tr>
+ <td colspan="3" class="table_footer">
+ <input type="submit" name="do_delete" class="form_delete" value="{--ADMIN_REMOVE_EXTENSIONS--}" />
+ </td>
+ </tr>
+</table>
+</form>
+</div>
--- /dev/null
+<tr>
+ <td class="{%template,ColorSwitch%} bottom right" align="center" rowspan="2">
+ <strong>$content[id]</strong>
+ <input type="hidden" name="sel[$content[id]]" value="1" />
+ </td>
+ <td class="{%template,ColorSwitch%} bottom right">
+ $content[ext_name]
+ </td>
+ <td class="{%template,ColorSwitch%} bottom">
+ v{%pipe,getExtensionVersion=$content[ext_name]%}
+ </td>
+</tr>
+<tr>
+ <td colspan="2" class="bottom">
+ $content[verbose]
+ </td>
+</tr>
--- /dev/null
+<tr>
+ <td class="{%template,ColorSwitch%} bottom right" align="center">
+ <strong>$content[id]</strong>
+ </td>
+ <td class="{%template,ColorSwitch%} bottom" colspan="3" align="center">
+ {--ADMIN_EXTENSION_404--}
+ </td>
+</tr>
<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_networks&do=remove_networks%}" method="post">
+<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_network_data&do=remove_networks%}" method="post">
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td align="center" class="table_header bottom" height="25" colspan="4">
--- /dev/null
+<div align="center">
+<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=extensions%}" method="post">
+<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
+ <tr>
+ <td colspan="4" align="center" class="table_header">
+ <strong>{--ADMIN_EDIT_EXTENSIONS--}:</strong>
+ </td>
+ </tr>
+ <tr>
+ <td align="center" class="header_column bottom right" width="30"><strong>{--ID_SELECT--}</strong></td>
+ <td align="center" class="header_column bottom right" width="180"><strong>{--ADMIN_EXTENSION_NAME--}</strong></td>
+ <td align="center" class="header_column bottom right" width="80"><strong>{--ADMIN_EXTENSION_CSSFILE--}</strong></td>
+ <td align="center" class="header_column bottom right" width="80"><strong>{--ADMIN_EXTENSION_ACTIVE--}</strong></td>
+ </tr>
+ $content
+ <tr>
+ <td colspan="4" class="table_footer">
+ <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
+ <input type="submit" name="modify" class="form_submit" value="{--SAVE_SETTINGS--}" />
+ </td>
+ </tr>
+</table>
+</form>
+</div>
--- /dev/null
+<tr>
+ <td class="{%template,ColorSwitch%} bottom right" align="center">
+ <strong>$content[id]</strong>
+ <input type="hidden" name="sel[$content[id]]" value="1" />
+ </td>
+ <td class="{%template,ColorSwitch%} bottom right">
+ $content[name]
+ </td>
+ <td class="{%template,ColorSwitch%} bottom right" align="center">
+ $content[css]
+ </td>
+ <td class="{%template,ColorSwitch%} bottom" align="center">
+ $content[active]
+ </td>
+</tr>
{--ADMIN_LIST_NETWORK_REFERRAL_LINK_NOTICE--}
</div>
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_networks&do=change_networks%}" method="post">
+<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_network_data&do=change_networks%}" method="post">
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td align="center" class="table_header bottom" height="25" colspan="4">
-<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=extensions%}" method="post">
-<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
- <tr>
- <td colspan="5" align="center" class="table_header bottom">
- <strong>{--ADMIN_REGISTERED_EXTENSIONS--}</strong>
- </td>
- </tr>
- <tr>
- <td align="center" class="header_column bottom right" width="40"><strong>{--ID_SELECT--}</strong></td>
- <td align="center" class="header_column bottom right" width="200"><strong>{--ADMIN_EXTENSION_NAME--}</strong></td>
- <td align="center" class="header_column bottom right" width="90"><strong>{--ADMIN_EXTENSION_CSSFILE--}</strong></td>
- <td align="center" class="header_column bottom right" width="90"><strong>{--ADMIN_EXTENSION_ACTIVE--}</strong></td>
- <td align="center" class="header_column bottom" width="90"><strong>{--ADMIN_EXTENSION_VERSION--}</strong></td>
- </tr>
- $content
- <tr>
- <td colspan="5" class="table_footer">
- <input type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
- <input type="submit" class="form_submit" name="change" value="{--ADMIN_DE_ACTIVATE--}" />
- <input type="submit" class="form_submit" name="edit" value="{--ADMIN_EDIT--}" />
- <input type="submit" class="form_delete" name="delete" value="{--ADMIN_ACTION_DELETE_SUBMIT--}" />
- </td>
- </tr>
-</table>
-</form>
-</div>
+<!-- @DEPRECATED //-->
-<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=extensions%}" method="post">
-<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
- <tr>
- <td colspan="3" align="center" class="table_header">
- <strong>{--ADMIN_REMOVING_THESE_EXTENSIONS--}</strong>
- </td>
- </tr>
- <tr>
- <td align="center" class="header_column bottom right"><strong>{--ID_SELECT--}</strong></td>
- <td align="center" class="header_column bottom right"><strong>{--ADMIN_EXTENSION_NAME--}</strong></td>
- <td align="center" class="header_column bottom"><strong>{--ADMIN_EXTENSION_VERSION--}</strong></td>
- </tr>
- $content
- <tr>
- <td colspan="3" class="table_footer">
- <input type="submit" name="do_delete" class="form_delete" value="{--ADMIN_REMOVE_EXTENSIONS--}" />
- </td>
- </tr>
-</table>
-</form>
-</div>
+<!-- @DEPRECATED //-->
-<tr>
- <td class="{%template,ColorSwitch%} bottom right" align="center" rowspan="2">
- <strong>$content[id]</strong>
- <input type="hidden" name="sel[$content[id]]" value="1" />
- </td>
- <td class="{%template,ColorSwitch%} bottom right">
- $content[ext_name]
- </td>
- <td class="{%template,ColorSwitch%} bottom">
- v{%pipe,getExtensionVersion=$content[ext_name]%}
- </td>
-</tr>
-<tr>
- <td colspan="2" class="bottom">
- $content[verbose]
- </td>
-</tr>
+<!-- @DEPRECATED //-->
-<tr>
- <td class="{%template,ColorSwitch%} bottom right" align="center">
- <strong>$content[id]</strong>
- </td>
- <td class="{%template,ColorSwitch%} bottom" colspan="3" align="center">
- Erweiterung nicht auffindbar!
- </td>
-</tr>
+<!-- @DEPRECATED //-->
-<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=extensions%}" method="post">
-<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
- <tr>
- <td colspan="4" align="center" class="table_header">
- <strong>{--ADMIN_EDIT_EXTENSIONS--}:</strong>
- </td>
- </tr>
- <tr>
- <td align="center" class="header_column bottom right" width="30"><strong>{--ID_SELECT--}</strong></td>
- <td align="center" class="header_column bottom right" width="180"><strong>{--ADMIN_EXTENSION_NAME--}</strong></td>
- <td align="center" class="header_column bottom right" width="80"><strong>{--ADMIN_EXTENSION_CSSFILE--}</strong></td>
- <td align="center" class="header_column bottom right" width="80"><strong>{--ADMIN_EXTENSION_ACTIVE--}</strong></td>
- </tr>
- $content
- <tr>
- <td colspan="4" class="table_footer">
- <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
- <input type="submit" name="modify" class="form_submit" value="{--SAVE_SETTINGS--}" />
- </td>
- </tr>
-</table>
-</form>
-</div>
+<!-- @DEPRECATED //-->
-<tr>
- <td class="{%template,ColorSwitch%} bottom right" align="center"><strong>$content[id]</strong>
- <input type="hidden" name="sel[$content[id]]" value="1" /></td>
- <td class="{%template,ColorSwitch%} bottom right">
- $content[name]</td>
- <td class="{%template,ColorSwitch%} bottom right" align="center">
- $content[css]</td>
- <td class="{%template,ColorSwitch%} bottom" align="center">
- $content[active]</td>
-</tr>
+<!-- @DEPRECATED //-->
-<tr>
- <td class="{%template,ColorSwitch%} bottom right" align="center">
- <input type="checkbox" title="{--ID_SELECT--} $content[ext_id]" class="admoin_normal" name="sel[$content[ext_id]]" value="$content[ext_active]" />
- </td>
- <td class="{%template,ColorSwitch%} bottom right">
- $content[ext_name]
- </td>
- <td class="{%template,ColorSwitch%} bottom right" align="center">
- $content[ext_css]
- </td>
- <td class="{%template,ColorSwitch%} bottom right" align="center">
- {%pipe,translateYesNo=$content[ext_active]%}
- </td>
- <td class="{%template,ColorSwitch%} bottom" align="center">
- v$content[ext_version]
- </td>
-</tr>
+<!-- @DEPRECATED //-->
--- /dev/null
+<div align="center">
+<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=extensions%}" method="post">
+<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
+ <tr>
+ <td colspan="5" align="center" class="table_header bottom">
+ <strong>{--ADMIN_REGISTERED_EXTENSIONS--}</strong>
+ </td>
+ </tr>
+ <tr>
+ <td align="center" class="header_column bottom right" width="40"><strong>{--ID_SELECT--}</strong></td>
+ <td align="center" class="header_column bottom right" width="200"><strong>{--ADMIN_EXTENSION_NAME--}</strong></td>
+ <td align="center" class="header_column bottom right" width="90"><strong>{--ADMIN_EXTENSION_CSSFILE--}</strong></td>
+ <td align="center" class="header_column bottom right" width="90"><strong>{--ADMIN_EXTENSION_ACTIVE--}</strong></td>
+ <td align="center" class="header_column bottom" width="90"><strong>{--ADMIN_EXTENSION_VERSION--}</strong></td>
+ </tr>
+ $content
+ <tr>
+ <td colspan="5" class="table_footer">
+ <input type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
+ <input type="submit" class="form_submit" name="change" value="{--ADMIN_DE_ACTIVATE--}" />
+ <input type="submit" class="form_submit" name="edit" value="{--ADMIN_EDIT--}" />
+ <input type="submit" class="form_delete" name="delete" value="{--ADMIN_ACTION_UNINSTALL_SUBMIT--}" />
+ </td>
+ </tr>
+</table>
+</form>
+</div>
--- /dev/null
+<tr>
+ <td class="{%template,ColorSwitch%} bottom right" align="center">
+ <input type="checkbox" title="{--ID_SELECT--} $content[ext_id]" class="admoin_normal" name="sel[$content[ext_id]]" value="$content[ext_active]" />
+ </td>
+ <td class="{%template,ColorSwitch%} bottom right">
+ $content[ext_name]
+ </td>
+ <td class="{%template,ColorSwitch%} bottom right" align="center">
+ $content[ext_css]
+ </td>
+ <td class="{%template,ColorSwitch%} bottom right" align="center">
+ {%pipe,translateYesNo=$content[ext_active]%}
+ </td>
+ <td class="{%template,ColorSwitch%} bottom" align="center">
+ v$content[ext_version]
+ </td>
+</tr>
--- /dev/null
+<div align="center">
+<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_network_data&do=handle_networks%}" method="post">
+<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
+<tr>
+ <td colspan="8" class="table_header">
+ <strong>{--ADMIN_LIST_NEWORK_DATA_TITLE--}</strong>
+ </td>
+</tr>
+<tr>
+ <td height="25" colspan="3" class="header_column bottom right separator"> </td>
+ <td colspan="2" class="header_column bottom right" align="center">
+ <strong>{--ADMIN_NETWORK_SEPARATOR--}</strong>
+ </td>
+ <td colspan="3" class="header_column bottom separator"> </td>
+</tr>
+<tr>
+ <td align="center" class="header_column bottom right" height="25"><strong>{--ID_SELECT--}</strong></td>
+ <td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_SHORT_NAME--}</strong></td>
+ <td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_REFERRAL_LINK--}</strong></td>
+ <td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_DATA_SEPARATOR2--}</strong></td>
+ <td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_ROW_SEPARATOR2--}</strong></td>
+ <td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_REQUEST_TYPE--}</strong></td>
+ <td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_CHARSET--}</strong></td>
+ <td align="center" class="header_column bottom"><strong>{--ADMIN_NETWORK_REQUIRE_ID_CARD--}</strong></td>
+</tr>
+$content
+<tr>
+ <td colspan="8" class="table_footer">
+ <input type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
+ <input type="submit" class="form_submit" name="edit" value="{--ADMIN_ACTION_EDIT_SUBMIT--}" />
+ <input type="submit" class="form_delete" name="delete" value="{--ADMIN_ACTION_DELETE_SUBMIT--}" />
+ </td>
+</tr>
+</table>
+</form>
+
+<div class="para">
+ <a href="{%url=modules.php?module=admin&what=list_network_data&do=export%}">{--ADMIN_EXPORT_ALL_NETWORK_DATA_LINK--}</a>
+</div>
+</div>
+
+<div class="notice">
+ {--ADMIN_LIST_NETWORK_NOTICE--}
+</div>
+
+<div class="notice">
+ {--ADMIN_NETWORK_REQUIRE_ID_CARD_NOTICE--}
+</div>
--- /dev/null
+<tr>
+ <td class="{%template,ColorSwitch%} bottom right" align="center">
+ <input type="checkbox" title="{--ID_SELECT--} $content[network_id]" class="form_field" name="sel[$content[network_id]]" value="1" />
+ </td>
+ <td class="{%template,ColorSwitch%} bottom right" align="center">
+ $content[network_short_name]:<br />
+ [<a
+ href="{%url=modules.php?module=admin&what=config_network_api&network_id=$content[network_id]%}" title="{--ADMIN_NETWORK_API_CONFIG_LINK_TITLE--}">AC</a>|<a
+ href="{%url=modules.php?module=admin&what=config_network_types&network_id=$content[network_id]%}" title="{--ADMIN_NETWORK_TYPE_HANDLER_CONFIG_LINK_TITLE--}">TC</a>|<a
+ href="{%url=modules.php?module=admin&what=list_network_types&network_id=$content[network_id]%}" title="{--ADMIN_LIST_NETWORK_HANDLER_TYPES_LINK_TITLE--}">T</a>|<a
+ href="{%url=modules.php?module=admin&what=list_network_request_params&network_id=$content[network_id]%}" title="{--ADMIN_LIST_NETWORK_REQUEST_PARAMS_LINK_TITLE--}">P</a>|<a
+ href="{%url=modules.php?module=admin&what=list_network_array_translation&network_id=$content[network_id]%}" title="{--ADMIN_LIST_NETWORK_ARRAY_TRANSLATION_LINK_TITLE--}">RC</a>|<a
+ href="{%url=modules.php?module=admin&what=list_network_error_codes&network_id=$content[network_id]%}" title="{--ADMIN_LIST_NETWORK_ERROR_CODES_LINK_TITLE--}">EC</a>]
+ </td>
+ <td class="{%template,ColorSwitch%} bottom right" align="center">
+ [<a href="$content[network_reflink]" target="_blank" title="$content[network_title]">$content[network_title]</a>]
+ </td>
+ <td class="{%template,ColorSwitch%} bottom right" align="center">
+ $content[network_data_separator]
+ </td>
+ <td class="{%template,ColorSwitch%} bottom right" align="center">
+ $content[network_row_separator]
+ </td>
+ <td class="{%template,ColorSwitch%} bottom right" align="center">
+ <span title="{%pipe,translateNetworkRequestType=$content[network_request_type]%}">$content[network_request_type]</span>
+ </td>
+ <td class="{%template,ColorSwitch%} bottom right" align="center">
+ $content[network_charset]
+ </td>
+ <td class="{%template,ColorSwitch%} bottom" align="center">
+ {%pipe,translateYesNo=$content[network_require_id_card]%}
+ </td>
+</tr>
<tr>
<td align="center" class="header_column bottom right" height="25"><strong>{--ID_SELECT--}</strong></td>
<td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_TYPE_HANDLER--}</strong></td>
- <td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_REQUEST_PARAMETER_KEY--}</strong></td>
+ <td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_REQUEST_PARAMETER_KEY_SHORT--}</strong></td>
<td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_REQUEST_PARAMETER_VALUE--}</strong></td>
<td align="center" class="header_column bottom"><strong>{--ADMIN_NETWORK_REQUEST_PARAMETER_DEFAULT--}</strong></td>
</tr>
$content[network_request_param_value]
</td>
<td class="{%template,ColorSwitch%} bottom" align="center">
- $content[network_request_param_default]
+ {%pipe,fixEmptyContentToDashes=$content[network_request_param_default]%}
</td>
</tr>
<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_network_types&do=handle_network_types&network_id={%get=network_id%}%}" method="post">
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
- <td colspan="6" align="center" class="table_header bottom">
+ <td colspan="7" align="center" class="table_header bottom">
<div>
<strong>{--ADMIN_NETWORK_TYPE_HANDLER_LIST_TITLE--}</strong>
</div>
<td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_TYPE_HANDLER_API_URL--}</strong></td>
<td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_TYPE_HANDLER_CLICK_URL--}</strong></td>
<td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_TYPE_HANDLER_BANNER_URL--}</strong></td>
- <td align="center" class="header_column bottom"><strong>{--TIME_UNIT--}</strong></td>
+ <td align="center" class="header_column bottom right"><strong>{--TIME_UNIT--}</strong></td>
+ <td align="center" class="header_column bottom"><strong>{--ADMIN_NETWORK_TYPE_HANDLER_TEXT_ENCODING--}</strong></td>
</tr>
$content
<tr>
- <td colspan="6" class="table_footer">
+ <td colspan="7" class="table_footer">
<input type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
<input type="submit" class="form_submit" name="edit" value="{--ADMIN_ACTION_EDIT_SUBMIT--}" />
<input type="submit" class="form_delete" name="delete" value="{--ADMIN_ACTION_DELETE_SUBMIT--}" />
$content[network_type_click_url]
</td>
<td class="{%template,ColorSwitch%} bottom right" align="center">
- $content[network_type_banner_url]
+ {%pipe,fixEmptyContentToDashes=$content[network_type_banner_url]%}
</td>
- <td class="{%template,ColorSwitch%} bottom" align="center">
+ <td class="{%template,ColorSwitch%} bottom right" align="center">
{%pipe,translateTimeUnit=$content[network_type_reload_time_unit]%}
</td>
+ <td class="{%template,ColorSwitch%} bottom" align="center">
+ {%pipe,translateNetworkTextEncoding=$content[network_text_encoding]%}
+ </td>
</tr>
$content[network_vcheck_param_value]
</td>
<td class="{%template,ColorSwitch%} bottom" align="center">
- $content[network_vcheck_param_default]
+ {%pipe,fixEmptyContentToDashes=$content[network_vcheck_param_default]%}
</td>
</tr>
-<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_networks&do=handle_networks%}" method="post">
-<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
-<tr>
- <td colspan="8" class="table_header">
- <strong>{--ADMIN_LIST_NEWORK_DATA_TITLE--}</strong>
- </td>
-</tr>
-<tr>
- <td height="25" colspan="3" class="header_column bottom right separator"> </td>
- <td colspan="2" class="header_column bottom right" align="center">
- <strong>{--ADMIN_NETWORK_SEPARATOR--}</strong>
- </td>
- <td colspan="3" class="header_column bottom separator"> </td>
-</tr>
-<tr>
- <td align="center" class="header_column bottom right" height="25"><strong>{--ID_SELECT--}</strong></td>
- <td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_SHORT_NAME--}</strong></td>
- <td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_REFERRAL_LINK--}</strong></td>
- <td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_DATA_SEPARATOR2--}</strong></td>
- <td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_ROW_SEPARATOR2--}</strong></td>
- <td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_REQUEST_TYPE--}</strong></td>
- <td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_CHARSET--}</strong></td>
- <td align="center" class="header_column bottom"><strong>{--ADMIN_NETWORK_REQUIRE_ID_CARD--}</strong></td>
-</tr>
-$content
-<tr>
- <td colspan="8" class="table_footer">
- <input type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
- <input type="submit" class="form_submit" name="edit" value="{--ADMIN_ACTION_EDIT_SUBMIT--}" />
- <input type="submit" class="form_delete" name="delete" value="{--ADMIN_ACTION_DELETE_SUBMIT--}" />
- </td>
-</tr>
-</table>
-</form>
-
-<div class="para">
- <a href="{%url=modules.php?module=admin&what=list_networks&do=export%}">{--ADMIN_EXPORT_ALL_NETWORK_DATA_LINK--}</a>
-</div>
-</div>
-
-<div class="notice">
- {--ADMIN_LIST_NETWORK_NOTICE--}
-</div>
-
-<div class="notice">
- {--ADMIN_NETWORK_REQUIRE_ID_CARD_NOTICE--}
-</div>
+<!-- @DEPRECATED //-->
-<tr>
- <td class="{%template,ColorSwitch%} bottom right" align="center">
- <input type="checkbox" title="{--ID_SELECT--} $content[network_id]" class="form_field" name="sel[$content[network_id]]" value="1" />
- </td>
- <td class="{%template,ColorSwitch%} bottom right" align="center">
- $content[network_short_name]:<br />
- [<a
- href="{%url=modules.php?module=admin&what=config_network_api&network_id=$content[network_id]%}" title="{--ADMIN_NETWORK_API_CONFIG_LINK_TITLE--}">AC</a>|<a
- href="{%url=modules.php?module=admin&what=config_network_types&network_id=$content[network_id]%}" title="{--ADMIN_NETWORK_TYPE_HANDLER_CONFIG_LINK_TITLE--}">TC</a>|<a
- href="{%url=modules.php?module=admin&what=list_network_types&network_id=$content[network_id]%}" title="{--ADMIN_LIST_NETWORK_HANDLER_TYPES_LINK_TITLE--}">T</a>|<a
- href="{%url=modules.php?module=admin&what=list_network_request_params&network_id=$content[network_id]%}" title="{--ADMIN_LIST_NETWORK_REQUEST_PARAMS_LINK_TITLE--}">P</a>|<a
- href="{%url=modules.php?module=admin&what=list_network_array_translation&network_id=$content[network_id]%}" title="{--ADMIN_LIST_NETWORK_ARRAY_TRANSLATION_LINK_TITLE--}">RC</a>|<a
- href="{%url=modules.php?module=admin&what=list_network_error_codes&network_id=$content[network_id]%}" title="{--ADMIN_LIST_NETWORK_ERROR_CODES_LINK_TITLE--}">EC</a>]
- </td>
- <td class="{%template,ColorSwitch%} bottom right" align="center">
- [<a href="$content[network_reflink]" target="_blank" title="$content[network_title]">$content[network_title]</a>]
- </td>
- <td class="{%template,ColorSwitch%} bottom right" align="center">
- $content[network_data_separator]
- </td>
- <td class="{%template,ColorSwitch%} bottom right" align="center">
- $content[network_row_separator]
- </td>
- <td class="{%template,ColorSwitch%} bottom right" align="center">
- <span title="{%pipe,translateNetworkRequestType=$content[network_request_type]%}">$content[network_request_type]</span>
- </td>
- <td class="{%template,ColorSwitch%} bottom right" align="center">
- $content[network_charset]
- </td>
- <td class="{%template,ColorSwitch%} bottom" align="center">
- {%pipe,translateYesNo=$content[network_require_id_card]%}
- </td>
-</tr>
+<!-- @DEPRECATED //-->
--- /dev/null
+<div align="center">
+<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_user_subid%}&userid={%get,bigintval=userid%}" method="post">
+<table border="0" cellspacing="0" cellpadding="0" class="table dashed" width="800">
+<tr>
+ <td align="center" colspan="4" class="table_header">
+ <strong>{--ADMIN_LIST_USER_SUBID_TITLE--}</strong>
+ </td>
+</tr>
+<tr>
+ <td class="header_column bottom right" align="center"><strong>{--ID_SELECT--}</strong></td>
+ <td class="header_column bottom right" align="center"><strong>{--_USERID--}</strong></td>
+ <td class="header_column bottom right" align="center"><strong>{--SUBID_VALUE--}</strong></td>
+ <td class="header_column bottom" align="center"><strong>{--SUBID_ADDED--}</strong></td>
+</tr>
+$content
+<tr>
+ <td class="table_footer" colspan="4">
+ <input type="hidden" name="userid" value="{%get,bigintval=userid%}" />
+ <input type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
+ <input type="submit" class="form_submit" name="edit" value="{--ADMIN_EDIT_USER_SUBID_SUBMIT--}" />
+ <input type="submit" class="form_delete" name="delete" value="{--ADMIN_DELETE_USER_SUBID_SUBMIT--}" />
+ </td>
+</tr>
+</table>
+</form>
+</div>
--- /dev/null
+<tr>
+ <td align="center" class="bottom right {%template,ColorSwitch%}">
+ <input type="checkbox" class="form_field" name="id[$content[id]]" value="1" /></strong>
+ </td>
+ <td class="{%template,ColorSwitch%} bottom right" align="center">
+ {%pipe,generateUserProfileLink=$content[userid]%}
+ </td>
+ <td align="center" class="bottom right {%template,ColorSwitch%}">
+ <div class="tiny">
+ $content[subid]
+ </div>
+ <div class="tiny">
+ <a href="{%url=modules.php?module=admin&what=list_user_subid&do=stats&userid=$content[userid]&id=$content[id]%}">{--ADMIN_USER_SUBID_STATS_LINK--}</a>
+ </div>
+ </td>
+ <td align="center" class="bottom {%template,ColorSwitch%}">
+ $content[subid_added]
+ </td>
+</tr>
--- /dev/null
+<div align="center">
+<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_user_subid&do=stats%}&userid={%get,bigintval=userid%}&id={%get,bigintval=id%}" method="post">
+<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
+ <tr>
+ <td colspan="6" align="center" class="table_header bottom">
+ <strong>{--ADMIN_LIST_USER_SUBID_STATS_TITLE--}</strong>
+ </td>
+ </tr>
+ <tr>
+ <td align="center" class="header_column bottom right" width="20"><strong>{--ID_SELECT--}</strong></td>
+ <td align="center" class="header_column bottom right"><strong>{--SUBID_VALUE--}</strong></td>
+ <td align="center" class="header_column bottom right"><strong>{--REFERRER_URL--}</strong></td>
+ <td align="center" class="header_column bottom right"><strong>{--REMOTE_IP--}</strong></td>
+ <td align="center" class="header_column bottom right"><strong>{--USER_AGENT--}</strong></td>
+ <td align="center" class="header_column bottom"><strong>{--ENTRY_ADDED--}</strong></td>
+ </tr>
+ $content
+ <tr>
+ <td colspan="6" class="table_footer">
+ <input type="hidden" name="subid[0]" value="{%get,getSubId=id%}" />
+ <input type="hidden" name="refid" value="{%get,bigintval=userid%}" />
+ <input type="submit" class="form_delete" name="do_delete_stats" value="{--ADMIN_DELETE_USER_SUBID_STATS_SUBMIT--}" />
+ </td>
+ </tr>
+</table>
+</form>
+</div>
+
+<div class="notice">
+ {--ADMIN_USER_SUBID_STATS_NOTICE--}
+</div
--- /dev/null
+<tr>
+ <td class="{%template,ColorSwitch%} bottom right" align="center">
+ <strong>$content[id]</strong>
+ </td>
+ <td class="{%template,ColorSwitch%} bottom right" align="center">
+ $content[subid]
+ </td>
+ <td class="{%template,ColorSwitch%} bottom right">
+ {%pipe,fixEmptyContentToDashes=$content[referral_url]%}
+ </td>
+ <td class="{%template,ColorSwitch%} bottom right">
+ {%pipe,fixEmptyContentToDashes=$content[remote_address]%}
+ </td>
+ <td class="{%template,ColorSwitch%} bottom right">
+ {%pipe,fixEmptyContentToDashes=$content[user_agent]%}
+ </td>
+ <td class="{%template,ColorSwitch%} bottom" align="center">
+ $content[entry_added]
+ </td>
+</tr>
</div>
<div class="notice">
- {--MEMBER_SUBID_STATS_NOTICE--}
+ {--MEMBER_USER_SUBID_STATS_NOTICE--}
</div
--- /dev/null
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+This template provides meta data for doing deletions on nickname subid_log.
+
+@author Roland Haeder <webmaster@mxchange.org>
+@version 0.2.1-FINAL
+@copyright (c) 2003 - 2009 by Roland Haeder
+@copyright (c) 2009 - 2012 by Mailer Developer Team
+@license GNU GPL 2.0 or any newer version
+@link http://mxchange.org
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
+MA 02110-1301 USA
+//-->
+<admin-entry-meta-data>
+ <!--
+ Call-back function which should all following parameter handled over
+ to. This will always be type of string but we like homogene XMLs.
+ //-->
+ <callback-function type="string" value="adminDeleteEntriesConfirm" />
+ <!--
+ Name of the database table where the entries should be read/write from/to.
+ //-->
+ <database-table name="" type="string" value="subid_log" />
+ <!--
+ The following three lists must have the same count of list entries, else an
+ error may occur.
+ //-->
+ <!--
+ And all column names to read/write, leave this list tag empty for all (*).
+ //-->
+ <database-column-list>
+ </database-column-list>
+ <!--
+ "Filter" call-back functions to call back for piping the fetched data
+ through (can be left empty, no call-back function will be called)
+ //-->
+ <callback-function-list>
+ </callback-function-list>
+ <!--
+ Extra parameters (2nd, 3rd, ...) for above call-back functions. If an array
+ is provided, we have more than two parameters to handle over to the
+ call-back function. See function handleExtraValues() for details.
+ //-->
+ <extra-parameter-list>
+ </extra-parameter-list>
+ <!--
+ Wether to 'edit/delete/change' (change) the entries (true) or just read them for displaying (false)
+ //-->
+ <enable-modify-entries name="" type="bool" value="true" />
+ <!--
+ The table column which should be taken for the ids (see first parameter).
+ This' type can again only be 'string' (remember why?).
+ //-->
+ <table-id-column name="" type="string" value="subid" />
+ <!--
+ The table column which should be taken for user ids
+ This' type can again only be 'string' (remember why?).
+ //-->
+ <table-userid-column name="" type="string" value="refid" />
+ <!--
+ Raw userid column ($key) to skip which is always an invalid (?) entry
+ This' type can again only be 'string' (remember why?).
+ //-->
+ <raw-userid-column-key name="" type="string" value="refid" />
+ <!--
+ Cache file to delete
+ //-->
+ <cache-file name="" type="string" value="" />
+</admin-entry-meta-data>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+This template provides meta data for listing member's sub id statistics
+
+@author Roland Haeder <webmaster@mxchange.org>
+@version 0.2.1-FINAL
+@copyright (c) 2003 - 2009 by Roland Haeder
+@copyright (c) 2009 - 2012 by Mailer Developer Team
+@license GNU GPL 2.0 or any newer version
+@link http://mxchange.org
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
+MA 02110-1301 USA
+//-->
+<member-list-data>
+ <!--
+ Call-back function, the extracted data from this XML will then be re-read
+ from that function. The most common function this XML uses is
+ doGenericListEntries() so mostly you can leave this alone unless you have JOINs.
+ //-->
+ <callback-function type="string" value="doGenericListEntries" />
+ <!--
+ Now we need information which template should be loaded and which functions
+ shall be called back. So lets start with the main list template. This mostly
+ requires no call-back function.
+ //-->
+ <list-template type="string" value="admin_list_user_subid_stats" />
+ <!--
+ The template for all rows, mostly this name has a '_row' suffix and again,
+ no call-back function is usually required.
+ //-->
+ <list-row-template type="string" value="admin_list_user_subid_stats_row" />
+ <!--
+ Message id to display if no entry could be found
+ //-->
+ <no-entry-found-message type="string" value="ADMIN_USER_SUBID_STATS_404" />
+ <!--
+ The table(s) we shall grab the data from, all as list.
+ //-->
+ <data-tables>
+ <!--
+ A single table entry, with alias and without the configurable
+ _MYSQL_PREFIX. You can specify the table's name or alias later on.
+ //-->
+ <data-table type="string" alias="" value="subid_log" />
+ <!--
+ Columns to perform the SELECT statement on, with alias and name plus which table.
+ //-->
+ <select-data-from-list>
+ <!--
+ A single entry with table name (can be left empty), value (must
+ always be set), alias (again can be left empty) and SQL function
+ (can also be left empty) which shall be applied on the column.
+ //-->
+ <select-data-from-list-entry type="string" table="" value="id" alias="" function="" />
+ <select-data-from-list-entry type="string" table="" value="subid" alias="" function="" />
+ <select-data-from-list-entry type="string" table="" value="referral_url" alias="" function="" />
+ <select-data-from-list-entry type="string" table="" value="remote_address" alias="" function="" />
+ <select-data-from-list-entry type="string" table="" value="user_agent" alias="" function="" />
+ <select-data-from-list-entry type="string" table="" value="entry_added" alias="entry_added" function="UNIX_TIMESTAMP" />
+ </select-data-from-list>
+ <!--
+ And the column list to perform the WHERE statement on.
+ //-->
+ <where-select-from-list>
+ <!--
+ Search for current user's sub ids of given sub *id*
+ //-->
+ <where-select-from-list-entry type="string" table="" value="subid" condition="EQUALS" look-for="{%get,getSubId=id%}" />
+ <where-select-from-list-entry type="string" table="" value="refid" condition="EQUALS" look-for="{%get,bigintval=userid%}" />
+ </where-select-from-list>
+ <!--
+ Columns to perform the ORDER BY statement (GROUP BY is not yet supported)
+ //-->
+ <order-by-list>
+ <!--
+ A single entry to perform the ORDER BY statement on, see above WHERE entry for details.
+ //-->
+ <order-by-list-entry type="string" table="" order="entry_added" value="DESC" />
+ </order-by-list>
+ </data-tables>
+ <!--
+ List all column names from the 'select-data-from-list' node here, but now
+ with call-back informations. The list must only contain those entries where
+ a call-back function shall be called for.
+ //-->
+ <column-callback-list>
+ <!--
+ Another column, now we need a second parameter here because
+ generateDateTime() expects two parameters (first is always the data
+ from column).
+ //-->
+ <column-callback-list-entry>
+ <!--
+ The actual data, again.
+ //-->
+ <column-callback-data type="string" value="entry_added" callback="generateDateTime" />
+ <!--
+ More parameters, remember that the first parameter is always given
+ and that it is the data from column.
+ //-->
+ <callback-extra-parameter-list>
+ <!--
+ A single parameter, 'type' can be one of 'float', 'int',
+ 'bool', 'string'. 'array' is not yet supported.
+ //-->
+ <callback-extra-parameter-list-entry type="int" column="entry_added" value="2" />
+ </callback-extra-parameter-list>
+ </column-callback-list-entry>
+ </column-callback-list>
+ <!--
+ How the named column shall be logical linked to the above.
+ //-->
+ <where-condition type="string" name="refid" condition="AND" />
+</member-list-data>
<!--
Message id to display if no entry could be found
//-->
- <no-entry-found-message type="string" value="MEMBER_SUBID_STATS_404" />
+ <no-entry-found-message type="string" value="MEMBER_USER_SUBID_STATS_404" />
<!--
The table(s) we shall grab the data from, all as list.
//-->