]> git.mxchange.org Git - mailer.git/commitdiff
Mailer project continued:
authorRoland Häder <roland@mxchange.org>
Sat, 13 Oct 2012 15:47:10 +0000 (15:47 +0000)
committerRoland Häder <roland@mxchange.org>
Sat, 13 Oct 2012 15:47:10 +0000 (15:47 +0000)
- Most data of advert network 'superomo24.de' added to ext-network
- Some templates for ext-network renamed (networks->network_data) to fix
  inconsistence with database table
- Templates for extension management (admin_extensions/~_delete/~_edit) renamed
  to follow naming convention
- Sub-Id tracking: Admin area almost finished (edit/delete of sub ids
  unfinished)
- Added space between `foo`,`bar` database query to make it better readable
- Other minor improvements
- TODOs.txt updated

200 files changed:
.gitattributes
DOCS/TODOs.txt
DOCS/de/country/countries-europe.sql
DOCS/de/country/countries-full.sql
DOCS/de/country/countries-sorted.sql
DOCS/en/country/countries-europe.sql
DOCS/en/country/countries-full.sql
DOCS/en/country/countries-sorted.sql
beg.php
doubler.php
inc/classes/resolver.class.php
inc/daily/daily_100_bonus.php
inc/daily/daily_birthday.php
inc/daily/daily_holiday.php
inc/db/lib-mysql3.php
inc/extensions-functions.php
inc/extensions/ext-admins.php
inc/extensions/ext-bank.php
inc/extensions/ext-coupon.php
inc/extensions/ext-debug.php
inc/extensions/ext-earning.php
inc/extensions/ext-forced.php
inc/extensions/ext-grade.php
inc/extensions/ext-holiday.php
inc/extensions/ext-network.php
inc/extensions/ext-newsletter.php
inc/extensions/ext-online.php
inc/extensions/ext-register.php
inc/extensions/ext-sponsor.php
inc/extensions/ext-sql_patches.php
inc/extensions/ext-surfbar.php
inc/extensions/ext-transfer.php
inc/extensions/ext-user.php
inc/extensions/ext-yoomedia.php
inc/filter/admins_filter.php
inc/filter/online_filter.php
inc/filter/rallye_filter.php
inc/filter/register_filter.php
inc/filters.php
inc/fix_filters.php
inc/fix_menu.php
inc/fix_refsystem.php
inc/fix_user_points.php
inc/functions.php
inc/language/de.php
inc/language/network_de.php
inc/language/user_de.php
inc/libs/admins_functions.php
inc/libs/bonus_functions.php
inc/libs/booking_functions.php
inc/libs/country_functions.php
inc/libs/doubler_functions.php
inc/libs/earning_functions.php
inc/libs/holiday_functions.php
inc/libs/jackpot_functions.php
inc/libs/mediadata_functions.php
inc/libs/network_functions.php
inc/libs/payout_functions.php
inc/libs/rallye_functions.php
inc/libs/refback_functions.php
inc/libs/sponsor_functions.php
inc/libs/surfbar_functions.php
inc/libs/theme_functions.php
inc/libs/user_functions.php
inc/libs/wernis_functions.php
inc/libs/yoomedia_functions.php
inc/loader/load-extension.php
inc/loader/load-refdepths.php
inc/loader/load-themes.php
inc/mails/beg_mails.php
inc/mails/bonus_mails.php
inc/module-functions.php
inc/modules/admin/admin-inc.php
inc/modules/admin/overview-inc.php
inc/modules/admin/subid- [new file with mode: 0644]
inc/modules/admin/subid-stats.php [new file with mode: 0644]
inc/modules/admin/what-add_rallye.php
inc/modules/admin/what-admin_add.php
inc/modules/admin/what-adminedit.php
inc/modules/admin/what-admins_mails.php
inc/modules/admin/what-config_cats.php
inc/modules/admin/what-config_imprint.php
inc/modules/admin/what-config_mods.php
inc/modules/admin/what-config_payouts.php
inc/modules/admin/what-config_points.php
inc/modules/admin/what-config_rallye_prices.php
inc/modules/admin/what-config_register.php
inc/modules/admin/what-config_rewrite.php
inc/modules/admin/what-del_email.php
inc/modules/admin/what-del_holiday.php
inc/modules/admin/what-del_sponsor.php
inc/modules/admin/what-del_transfer.php
inc/modules/admin/what-edit_emails.php
inc/modules/admin/what-edit_sponsor.php
inc/modules/admin/what-edit_user.php
inc/modules/admin/what-email_archiv.php
inc/modules/admin/what-email_details.php
inc/modules/admin/what-extensions.php
inc/modules/admin/what-guest_add.php
inc/modules/admin/what-guestedit.php
inc/modules/admin/what-list_admins_acls.php
inc/modules/admin/what-list_bank_package.php
inc/modules/admin/what-list_cats.php
inc/modules/admin/what-list_country.php
inc/modules/admin/what-list_email_max_rec.php
inc/modules/admin/what-list_network_data.php [new file with mode: 0644]
inc/modules/admin/what-list_network_request_params.php
inc/modules/admin/what-list_network_types.php
inc/modules/admin/what-list_network_vcheck_params.php
inc/modules/admin/what-list_networks.php
inc/modules/admin/what-list_notifications.php
inc/modules/admin/what-list_payouts.php
inc/modules/admin/what-list_sponsor.php
inc/modules/admin/what-list_sponsor_pay.php
inc/modules/admin/what-list_task.php
inc/modules/admin/what-list_unconfirmed.php
inc/modules/admin/what-list_user_subid.php
inc/modules/admin/what-lock_sponsor.php
inc/modules/admin/what-mem_add.php
inc/modules/admin/what-memedit.php
inc/modules/admin/what-payments.php
inc/modules/admin/what-refbanner.php
inc/modules/admin/what-repair_amnu.php
inc/modules/admin/what-repair_gmnu.php
inc/modules/admin/what-repair_mmnu.php
inc/modules/admin/what-send_coupon.php
inc/modules/admin/what-stats_mods.php
inc/modules/admin/what-sub_points.php
inc/modules/admin/what-theme_import.php
inc/modules/admin/what-unlock_emails.php
inc/modules/admin/what-unlock_sponsor.php
inc/modules/admin/what-usr_online.php
inc/modules/frametester.php
inc/modules/guest/what-active.php
inc/modules/guest/what-sponsor_infos.php
inc/modules/guest/what-sponsor_login.php
inc/modules/guest/what-sponsor_reg.php
inc/modules/guest/what-stats.php
inc/modules/guest/what-top10.php
inc/modules/member/what-categories.php
inc/modules/member/what-holiday.php
inc/modules/member/what-order.php
inc/modules/member/what-payout.php
inc/modules/member/what-points.php
inc/modules/member/what-reflinks.php
inc/modules/member/what-reflist.php
inc/modules/member/what-stats.php
inc/modules/member/what-transfer.php
inc/modules/member/what-unconfirmed.php
inc/modules/member/what-wernis.php
inc/modules/order.php
inc/modules/sponsor/account.php
inc/modules/sponsor/settings.php
inc/modules/sponsor/welcome.php
inc/mysql-manager.php
inc/purge/purge-general.php
inc/purge/purge-unconfirmed.php
inc/referral-functions.php
inc/sql-functions.php
inc/stats-functions.php
install/menu-de.sql
install/menu-en.sql
install/tables.sql
mailid.php
mailid_top.php
templates/de/html/admin/admin_add_network.tpl
templates/de/html/admin/admin_add_network_type.tpl
templates/de/html/admin/admin_delete_extensions.tpl [new file with mode: 0644]
templates/de/html/admin/admin_delete_extensions_row.tpl [new file with mode: 0644]
templates/de/html/admin/admin_delete_extensions_row_404.tpl [new file with mode: 0644]
templates/de/html/admin/admin_delete_networks.tpl
templates/de/html/admin/admin_edit_extensions.tpl [new file with mode: 0644]
templates/de/html/admin/admin_edit_extensions_row.tpl [new file with mode: 0644]
templates/de/html/admin/admin_edit_networks.tpl
templates/de/html/admin/admin_extensions.tpl
templates/de/html/admin/admin_extensions_delete.tpl
templates/de/html/admin/admin_extensions_delete_row.tpl
templates/de/html/admin/admin_extensions_delete_row_404.tpl
templates/de/html/admin/admin_extensions_edit.tpl
templates/de/html/admin/admin_extensions_edit_row.tpl
templates/de/html/admin/admin_extensions_row.tpl
templates/de/html/admin/admin_list_extensions.tpl [new file with mode: 0644]
templates/de/html/admin/admin_list_extensions_row.tpl [new file with mode: 0644]
templates/de/html/admin/admin_list_network_data.tpl [new file with mode: 0644]
templates/de/html/admin/admin_list_network_data_row.tpl [new file with mode: 0644]
templates/de/html/admin/admin_list_network_request_params.tpl
templates/de/html/admin/admin_list_network_request_params_row.tpl
templates/de/html/admin/admin_list_network_types.tpl
templates/de/html/admin/admin_list_network_types_row.tpl
templates/de/html/admin/admin_list_network_vcheck_params_row.tpl
templates/de/html/admin/admin_list_networks.tpl
templates/de/html/admin/admin_list_networks_row.tpl
templates/de/html/admin/admin_list_user_subid.tpl [new file with mode: 0644]
templates/de/html/admin/admin_list_user_subid_row.tpl [new file with mode: 0644]
templates/de/html/admin/admin_list_user_subid_stats.tpl [new file with mode: 0644]
templates/de/html/admin/admin_list_user_subid_stats_row.tpl [new file with mode: 0644]
templates/de/html/member/member_list_subid_stats.tpl
templates/xml/admin/admin_delete_do_user_subid_stats.xml [new file with mode: 0644]
templates/xml/admin/admin_list_user_subid_stats.xml [new file with mode: 0644]
templates/xml/member/member_list_subid_stats.xml

index 0f4f5c578015ebf691e8009a402222a255fbc437..a5120f37b6a156c364a055e95611ef7b20e703c3 100644 (file)
@@ -479,6 +479,8 @@ inc/modules/admin/action-user.php svneol=native#text/plain
 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
@@ -582,6 +584,7 @@ inc/modules/admin/what-list_holiday.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
@@ -1299,6 +1302,9 @@ templates/de/html/admin/admin_delete_email_max_rec.tpl 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
@@ -1349,6 +1355,8 @@ templates/de/html/admin/admin_edit_email_max_rec.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
@@ -1464,6 +1472,8 @@ templates/de/html/admin/admin_list_email_max_rec.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
@@ -1492,6 +1502,8 @@ templates/de/html/admin/admin_list_network_array_translation.tpl svneol=native#t
 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
@@ -1570,6 +1582,10 @@ templates/de/html/admin/admin_list_user_pagenav.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
index cea6b771cb3b30a67e77daaa8b6df959d737b37b..d4095179a31197d53dff40335cd479c62cf4fefa 100644 (file)
@@ -14,6 +14,7 @@
 ./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&amp;what=impressum&amp;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&amp;what=impressum&amp;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 //-->
index 4a65c61c68a4d8ed32900cc53e24efbd2a7bec3c..a1250b19ca539939730f6a844d9acde85d5b63cc 100644 (file)
@@ -1,36 +1,36 @@
-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');
index b91029e0c44127ae804008d82ea5f4b76e8ecaa8..6520114db7efc87796bb85a728e9ef40f203774f 100644 (file)
-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');
index 945429541ccf02eee5786fbe0d548527d97974c0..6b3a5266c005b846ba1cd674d3d130e9368952b1 100644 (file)
-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');
index 4a65c61c68a4d8ed32900cc53e24efbd2a7bec3c..a1250b19ca539939730f6a844d9acde85d5b63cc 100644 (file)
@@ -1,36 +1,36 @@
-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');
index b91029e0c44127ae804008d82ea5f4b76e8ecaa8..6520114db7efc87796bb85a728e9ef40f203774f 100644 (file)
-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');
index 945429541ccf02eee5786fbe0d548527d97974c0..6b3a5266c005b846ba1cd674d3d130e9368952b1 100644 (file)
-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');
diff --git a/beg.php b/beg.php
index 8459da1436704cc40936eda4c4a241aec41b4148..1e8ef5f93e6e7c66bb99033ad24a1f66ef14b346 100644 (file)
--- a/beg.php
+++ b/beg.php
@@ -122,7 +122,7 @@ if (isGetRequestElementSet('userid')) {
                                 * 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(),
index d8a7f4be5643c34eb776dd564a69c00bcd952b91..fae376478ff05213eb2850e3b9059e66bdadc537 100644 (file)
@@ -99,7 +99,7 @@ if (isFormSent()) {
                        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()),
@@ -118,7 +118,7 @@ if (isFormSent()) {
                                // 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),
index 4f1cd1a242aff77b596eaae028515eb0d49b0317..33965be896e24f557afc807c99b118dd2327c975 100644 (file)
@@ -93,7 +93,7 @@ class HostnameResolver {
                                // 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
@@ -108,7 +108,7 @@ class HostnameResolver {
                                //* 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
index cca103ab91d1fdb8da366824600eee03a727ca4d..c32db5f50900974e55d8f955738731bcbd04a85b 100644 (file)
@@ -51,7 +51,12 @@ if (!defined('__SECURITY')) {
 
 // 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
index 96a1a8d8e2088ab8ffd4ececa0b07ec413b8949b..ae3b57134a08aa7f5cbf81cb54f9278d51fb654b 100644 (file)
@@ -102,7 +102,7 @@ if (!SQL_HASZERONUMS($result_birthday)) {
                        } // 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']
index 9fad7691ad2a8073ef54fd4ad353a91f5fa5d183..b906bd09553ebe09de9295addbb4314cbdf7bc55 100644 (file)
@@ -51,7 +51,8 @@ if (!defined('__SECURITY')) {
 
 // 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
@@ -71,7 +72,8 @@ if (!SQL_HASZERONUMS($result_main)) {
        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
index c5f502723f85aac5bd43a8d7ece643439bbcb9cf..660bcb2524f12e1e6693faf7dad821f08732f16f 100644 (file)
@@ -365,7 +365,7 @@ function SQL_RESULT_FROM_ARRAY ($table, $columns, $idRow, $id, $F, $L) {
                $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
index 93e1fdf84a88628df20810492439f7cb7656fab7..ca7717c09105e0c5cf1fdd59bc823fff5a352e07 100644 (file)
@@ -364,7 +364,7 @@ function registerExtension ($ext_name, $taskId, $isDryRun = false, $ignoreUpdate
                                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(),
@@ -374,7 +374,7 @@ function registerExtension ($ext_name, $taskId, $isDryRun = false, $ignoreUpdate
                                } 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(),
@@ -1888,7 +1888,7 @@ function addAdminMenuSql ($action, $what, $title, $descr, $sort) {
                // 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,
@@ -1896,7 +1896,7 @@ function addAdminMenuSql ($action, $what, $title, $descr, $sort) {
                        );
                } 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,
@@ -1920,14 +1920,14 @@ function addGuestMenuSql ($action, $what, $title, $sort) {
                // 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,
@@ -1950,14 +1950,14 @@ function addMemberMenuSql ($action, $what, $title, $sort) {
                // 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,
@@ -1980,7 +1980,7 @@ function addSponsorMenuSql ($action, $what, $title, $active, $sort) {
                // 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,
@@ -1988,7 +1988,7 @@ function addSponsorMenuSql ($action, $what, $title, $active, $sort) {
                        );
                } 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,
@@ -2059,7 +2059,7 @@ function registerExtensionPointsData ($subject, $columnName, $lockedMode, $payme
                } // 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,
index 762ad1eb3988c303d676ab07936559b9a416978d..44a223c773c46ad82dc9d01f23a6db47509ec30e 100644 (file)
@@ -130,7 +130,7 @@ INDEX (`admin_id`)",
 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&ouml;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&ouml;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&auml;ssig wird weiter an alle versendet.");
index 1dd49d1585524c28e6de416511d4b235f9185cb3..7b1f349b2802bf02c59d73e9f540ece82956dacb 100644 (file)
@@ -74,7 +74,7 @@ switch (getExtensionMode()) {
 `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`)",
@@ -90,8 +90,8 @@ 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');
@@ -127,7 +127,7 @@ PRIMARY KEY (`id`)",
 `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
index c14e216512537a6cf62a29e1fffb939c2bf60088..6d4428900195fe7dbb629fcc076a601cb047d05c 100644 (file)
@@ -77,7 +77,7 @@ PRIMARY KEY (`id`)",
 `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');
 
index dd9d766aee34aa6df6bf6afc0e6e2e9053ed54d8..2e080a7c99b60f70e1a869ba8c2c92d58f781eb1 100644 (file)
@@ -100,7 +100,7 @@ UNIQUE INDEX (`url`)",
                        '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');
@@ -110,7 +110,7 @@ UNIQUE INDEX (`url`)",
 `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
index 290811d8fbb7244214150f12c987a41849977d53..b9974d7648d0c486e8228a51067e71a38f82d4ae 100644 (file)
@@ -65,7 +65,7 @@ switch (getExtensionMode()) {
 `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
@@ -81,7 +81,7 @@ UNIQUE INDEX `earning_group_name` (`earning_group`,`earning_provider`)",
 `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');
 
index cd1b7579c72a00fe215be052b64a4bbc08f3f199..18b79dfd7d993e68e5b2d40588f9e5195994aed4 100644 (file)
@@ -137,7 +137,7 @@ INDEX (`forced_stats_userid`)",
                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());
index f160c29450c6071d94abcce60224223165929669..4f2c430f2be7fff37547aac32cd051b1fc7e0b90 100644 (file)
@@ -82,7 +82,7 @@ PRIMARY KEY (`cash_id`)",
 `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');
@@ -94,7 +94,7 @@ PRIMARY KEY (`connect_id`)",
 `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');
index 2a16ce295762239b3c76b277abc994f7d75b7c34..160a3ba580844dae63437359985ce861885649fe 100644 (file)
@@ -82,7 +82,7 @@ INDEX (`userid`)",
                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
@@ -187,9 +187,9 @@ INDEX (`userid`)",
                                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');
index 7ca36e8b6ccb57548bee15582aad847a1d0a9c4f..55b86ebee5fa9354a7f9a99e71ecc5c5d3999d0b 100644 (file)
@@ -32,6 +32,8 @@
  * @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               *
@@ -106,8 +108,9 @@ UNIQUE INDEX (`network_short_name`)",
 `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
@@ -120,8 +123,8 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_handler`)",
 `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
@@ -145,7 +148,7 @@ UNIQUE INDEX `provider_value` (`network_id`, `network_vcheck_param_value`)",
 `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');
 
@@ -179,7 +182,7 @@ UNIQUE INDEX (`network_translation_name`)",
 `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!');
 
@@ -196,8 +199,8 @@ INDEX (`sort`)",
 `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
@@ -212,7 +215,7 @@ UNIQUE INDEX `affiliate_site` (`network_api_affiliate_id`,`network_api_site_id`)
 `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)
@@ -241,7 +244,7 @@ UNIQUE INDEX (`network_vcheck_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
@@ -253,12 +256,12 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 `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'),
@@ -300,7 +303,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 ('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'),
@@ -340,10 +343,11 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 ('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'),
@@ -361,7 +365,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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'),
@@ -379,7 +383,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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'),
@@ -394,7 +398,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
                // 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'),
@@ -407,7 +411,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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'),
@@ -420,12 +424,12 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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'),
@@ -438,7 +442,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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'),
@@ -455,7 +459,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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'),
@@ -471,7 +475,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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'),
@@ -482,7 +486,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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%'),
@@ -495,7 +499,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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'),
@@ -512,7 +516,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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'),
@@ -525,7 +529,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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'),
@@ -539,7 +543,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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'),
@@ -552,14 +556,14 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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'),
@@ -572,7 +576,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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'),
@@ -587,7 +591,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
                // 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'),
@@ -600,7 +604,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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'),
@@ -618,7 +622,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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'),
@@ -634,7 +638,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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'),
@@ -647,7 +651,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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'),
@@ -665,7 +669,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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'),
@@ -685,12 +689,12 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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'),
@@ -701,7 +705,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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'),
@@ -714,7 +718,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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'),
@@ -730,7 +734,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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'),
@@ -743,7 +747,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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'),
@@ -761,7 +765,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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'),
@@ -774,7 +778,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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'),
@@ -792,7 +796,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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'),
@@ -804,8 +808,26 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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'),
@@ -818,7 +840,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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'),
@@ -831,7 +853,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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'),
@@ -847,7 +869,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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'),
@@ -861,7 +883,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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'),
@@ -875,8 +897,8 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -885,14 +907,14 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -900,7 +922,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -908,7 +930,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -916,38 +938,38 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -955,7 +977,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -964,14 +986,14 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -979,7 +1001,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -988,8 +1010,8 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -997,7 +1019,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -1005,21 +1027,21 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -1027,7 +1049,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -1035,7 +1057,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -1043,7 +1065,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -1051,7 +1073,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -1059,49 +1081,49 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -1109,7 +1131,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -1117,7 +1139,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -1125,7 +1147,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -1133,7 +1155,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -1141,7 +1163,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -1149,7 +1171,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -1157,7 +1179,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -1165,7 +1187,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -1173,7 +1195,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -1184,72 +1206,72 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
                // 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),
@@ -1257,72 +1279,72 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -1332,72 +1354,72 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
                // 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),
@@ -1405,23 +1427,23 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -1429,7 +1451,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -1437,7 +1459,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -1445,14 +1467,14 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -1460,7 +1482,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -1468,42 +1490,42 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -1511,23 +1533,23 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -1535,7 +1557,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -1543,7 +1565,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -1551,14 +1573,14 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -1566,7 +1588,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -1574,34 +1596,34 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -1610,47 +1632,47 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -1659,72 +1681,72 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -1732,8 +1754,8 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -1741,14 +1763,14 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -1756,7 +1778,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -1764,7 +1786,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -1772,38 +1794,38 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -1811,14 +1833,14 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -1826,7 +1848,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -1835,72 +1857,72 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -1908,8 +1930,8 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -1918,7 +1940,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -1927,21 +1949,21 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -1949,7 +1971,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -1957,7 +1979,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -1965,7 +1987,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -1974,7 +1996,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -1983,7 +2005,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -1992,7 +2014,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -2003,72 +2025,72 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -2076,10 +2098,10 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -2087,7 +2109,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -2095,7 +2117,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -2103,7 +2125,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -2111,130 +2133,130 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -2243,72 +2265,72 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
                // 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),
@@ -2316,8 +2338,8 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -2325,14 +2347,14 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -2340,7 +2362,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -2348,7 +2370,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -2356,38 +2378,38 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -2395,14 +2417,14 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -2410,7 +2432,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -2418,7 +2440,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -2427,8 +2449,8 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -2436,7 +2458,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -2444,21 +2466,21 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -2466,7 +2488,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -2474,7 +2496,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -2482,112 +2504,112 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -2595,8 +2617,8 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -2604,7 +2626,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -2612,21 +2634,21 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -2634,7 +2656,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -2642,7 +2664,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -2650,7 +2672,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -2658,7 +2680,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -2666,77 +2688,77 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -2744,7 +2766,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -2752,7 +2774,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -2760,14 +2782,14 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -2775,7 +2797,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -2783,14 +2805,14 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -2798,34 +2820,34 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -2834,16 +2856,16 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -2851,49 +2873,49 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -2902,72 +2924,72 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -2975,8 +2997,8 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -2984,7 +3006,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -2992,21 +3014,21 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -3014,7 +3036,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -3022,7 +3044,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -3030,104 +3052,104 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -3135,8 +3157,8 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -3144,7 +3166,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -3152,21 +3174,21 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -3174,7 +3196,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -3182,7 +3204,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -3190,7 +3212,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -3198,7 +3220,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -3206,111 +3228,111 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -3318,7 +3340,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -3326,21 +3348,21 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -3348,7 +3370,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -3356,7 +3378,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -3364,7 +3386,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -3372,7 +3394,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -3380,169 +3402,283 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -3550,102 +3686,102 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -3653,7 +3789,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -3661,14 +3797,14 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -3676,7 +3812,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -3684,28 +3820,28 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -3714,79 +3850,79 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -3794,9 +3930,9 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -3804,14 +3940,14 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -3819,7 +3955,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -3828,14 +3964,14 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -3843,7 +3979,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -3851,14 +3987,14 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -3866,7 +4002,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -3874,14 +4010,14 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -3984,7 +4120,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -4094,7 +4230,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -4179,7 +4315,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
                // 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),
@@ -4262,7 +4398,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -4320,7 +4456,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
                // 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),
@@ -4379,7 +4515,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -4464,7 +4600,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -4544,7 +4680,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -4593,8 +4729,10 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -4605,7 +4743,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -4616,7 +4754,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -4627,7 +4765,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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%'),
@@ -4638,7 +4776,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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%'),
@@ -4649,7 +4787,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -4660,7 +4798,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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#'),
@@ -4671,7 +4809,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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%'),
@@ -4681,8 +4819,18 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -4693,7 +4841,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -4749,7 +4897,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -4808,7 +4956,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -4891,7 +5039,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -4976,7 +5124,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -5032,7 +5180,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -5059,7 +5207,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -5142,7 +5290,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -5200,7 +5348,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
                // 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),
@@ -5274,7 +5422,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -5384,7 +5532,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -5442,7 +5590,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -5525,7 +5673,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -5635,7 +5783,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -5736,7 +5884,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -5755,7 +5903,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -5805,7 +5953,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -5861,7 +6009,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -5957,7 +6105,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -6040,7 +6188,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -6138,7 +6286,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -6194,7 +6342,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -6304,7 +6452,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -6360,7 +6508,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -6443,7 +6591,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -6499,7 +6647,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -6577,7 +6725,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -6657,7 +6805,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
 (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),
@@ -6739,7 +6887,7 @@ UNIQUE INDEX `provider_type` (`network_id`,`network_type_id`)",
                addAdminMenuSql('network', 'query_network_apis', 'APIs abfragen', 'Fragt alle eingestellten APIs ab. Die Ergebnisse werden dann f&uuml;r einen einstellbaren Zeitraum gecacht und nicht erneut angefordert.',4);
                addAdminMenuSql('network', 'config_network', 'Einstellungen', 'Stellen Sie generelle Einstellungen ein, die f&uuml;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&ouml;schen Sie hier Reload-Sperren. <strong>Vorsicht:</strong> Die hier gespeicherten Reload-Sperren sind vom jeweiligen Werbenetzwerk &uuml;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 &auml;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&ouml;chten.', 7);
+               addAdminMenuSql('network', 'list_network_data', 'Dev-Grunddaten', '<strong>Entwicklereinstellungen!</strong> Hier &auml;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&ouml;chten.', 7);
                addAdminMenuSql('network', 'list_network_types', 'Dev-Werbearten-Handler', '<strong>Entwicklereinstellungen!</strong> Hier &auml;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&ouml;chten.', 8);
                addAdminMenuSql('network', 'list_network_request_params', 'Dev-Abfrageparameter', '<strong>Entwicklereinstellungen!</strong> Hier stellen Sie die Abfrageparameter (wie sie genannt werden m&uuml;ssen, um das API-Script korrekt aufrufen zu k&ouml;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&ouml;chten.', 9);
                addAdminMenuSql('network', 'list_network_vcheck_params', 'Dev-VCheck-Parameter', '<strong>Entwicklereinstellungen!</strong> Hier stellen Sie die Abfrageparameter f&uuml;r <strong>network-vcheck.php</strong> pro Werbenetzwerk ein, damit dies vom Werbenetzwerk zur&uuml;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&ouml;chten.', 10);
index d027e01878c91e75a71a76e22d43009578084c4a..ba672dd7957aae2feefa1c3956fab7a44d5d5444 100644 (file)
@@ -179,7 +179,7 @@ INDEX `newsletter_id` (`nl_id`)",
 `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');
 
index daf560c0d647b830c9c1b3e269e0ddfcfd0bda96..9113646dfa60950bfa819eadca6a6a62ce855bcb 100644 (file)
@@ -65,7 +65,7 @@ switch (getExtensionMode()) {
 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
index 25cc59fecc1a2a8ff7190b11936aac7a6e5c10e5..4f61667a6b2f3951da4c5b0178eb73fb4cb1a911 100644 (file)
@@ -324,10 +324,10 @@ PRIMARY KEY (`id`)",
                                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&uuml;gt, weitere Felder in <span class=\"bad\">{?_MYSQL_PREFIX?}_must_register</span> eingef&uuml;gt.");
index c999cec04d3c3bd8e86b6f896b7f7244a751b7dd..697a546daebeceeabcee4f0e221764964e871802 100644 (file)
@@ -152,7 +152,7 @@ INDEX (`ext_name`)",
 `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');
@@ -264,46 +264,46 @@ INDEX (`sponsor_id`)",
                //
                // 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, '&euro;')");
-               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_paytypes` (`pay_name`,`pay_min_count`,`pay_rate`,`pay_currency`) VALUES ('Spar-Paket', 1, 200.00000, '&euro;')");
-               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_paytypes` (`pay_name`,`pay_min_count`,`pay_rate`,`pay_currency`) VALUES ('Power-Paket', 10, 2000.00000, '&euro;')");
-               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_paytypes` (`pay_name`,`pay_min_count`,`pay_rate`,`pay_currency`) VALUES ('Sponsor-Paket', 20, 4000.00000, '&euro;')");
+               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, '&euro;')");
+               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_paytypes` (`pay_name`, `pay_min_count`, `pay_rate`, `pay_currency`) VALUES ('Spar-Paket', 1, 200.00000, '&euro;')");
+               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_paytypes` (`pay_name`, `pay_min_count`, `pay_rate`, `pay_currency`) VALUES ('Power-Paket', 10, 2000.00000, '&euro;')");
+               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_paytypes` (`pay_name`, `pay_min_count`, `pay_rate`, `pay_currency`) VALUES ('Sponsor-Paket', 20, 4000.00000, '&euro;')");
                //
                // Admin menu
                //
index c90cdc548b75b97ddb3206d4d32941c6e2f5d604..828f4c43df27fa7b616bcf075d26f217059b3460 100644 (file)
@@ -561,7 +561,7 @@ INDEX (`admin_id`)",
                        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&uuml;tzt nun detailierte Referral-&Uuml;bersicht und vieles mehr.");
@@ -631,7 +631,7 @@ INDEX (`admin_id`)",
 `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
index d8f605d05f0269b126be8d3020966dc1979f56e4..bcba549557aeda4702e54b3be4e5b80ac7c9ae97 100644 (file)
@@ -68,8 +68,8 @@ switch (getExtensionMode()) {
 `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
@@ -80,7 +80,7 @@ INDEX `status_userid` (`url_status`,`url_userid`)",
 `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');
 
@@ -92,7 +92,7 @@ INDEX (`locks_url_id`)",
 `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');
 
@@ -105,7 +105,7 @@ INDEX (`salts_url_id`)",
 `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');
 
@@ -117,33 +117,33 @@ INDEX (`stats_url_id`)",
 `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'");
index c852bb24d74d2dc03ac4c9422fcd5723c6968e89..035e906627e49d0312106ca3d48c62aae892f4b4 100644 (file)
@@ -230,9 +230,9 @@ INDEX (`to_userid`)",
                                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');
index fc973a3dcf51be19765c3824e7927224080bf605..af69d72851c1526bae126ca0baf4a18162961a43 100644 (file)
@@ -99,7 +99,7 @@ INDEX (`cat_id`)",
 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');
@@ -386,7 +386,7 @@ INDEX (`userid`)",
 
                        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&ouml;schen des Users mit ausgesendet.");
@@ -477,7 +477,7 @@ INDEX (`userid`)",
 `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');
index 534be3b12d5e7959b840b009c858dd28e12b40f2..829a0f6314fdeac9bee27dbd1ccccae4dd09061b 100644 (file)
@@ -80,7 +80,7 @@ switch (getExtensionMode()) {
 `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;
 
index 7a9259df3942c9c6cb3ae46c847ca6c4adc1c120..66cff72ea3220725ae11a6fa84f88c119655d3e7 100644 (file)
@@ -47,7 +47,7 @@ function FILTER_ADD_EXTRA_SQL_DATA ($add = '') {
        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!');
index c124eec65edad33a10c8d21d98d09e7e1a6400e8..43c4ed97aaaba8e6a417004eb739be9615c33a75 100644 (file)
@@ -103,7 +103,7 @@ LIMIT 1",
                ), __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,
index f7ab4e7a478b9bccb127ae9559e9f9c99b6964ab..2965cc5acc432f2ba5d7558b187302618ec14df1 100644 (file)
@@ -123,7 +123,7 @@ function FILTER_ADD_RALLYE_SQL_COLUMNS ($filterData) {
        //* 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
 
index 0720d5f8dddae4f9bd5aea03e851b0dffeb59357..58a1da787d7bafea1492bf81907280901d7e9780 100644 (file)
@@ -44,7 +44,7 @@ if (!defined('__SECURITY')) {
 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
index 634d0f1c00a306d515f5a03686b77aadcdf17b99..4bdb699670d53af0b484ed6de81bc42c4f41fc6c 100644 (file)
@@ -70,7 +70,7 @@ function FILTER_FLUSH_FILTERS () {
        $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
@@ -1176,7 +1176,7 @@ function FILTER_HANDLE_HOME_IN_INDEX_SETTING ($filterData) {
 // 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__);
 
index f4f95a55d6450e9ab673afa8c9e46e11e65ce2c7..a181b258abedc6199cad7f1b12467c3426fe1a94 100644 (file)
@@ -74,7 +74,7 @@ SQL_FREERESULT($result);
 
 // 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]
 ?>
index 6dec7b19c795cdfb260976a180ddd12a5bdb77da..02696bb908ab5703094b96e0c96307cf9d7f1cf3 100644 (file)
@@ -43,7 +43,7 @@ if (!defined('__SECURITY')) {
 // 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
@@ -99,7 +99,7 @@ foreach (array('guest','member','admin') as $menu) {
 
        // 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));
index bf874dbc2f9082496569fb22222143f91c1e5e0d..6df29ac09edf30c1f806cae9dcaea90f8a32db10 100644 (file)
@@ -50,7 +50,7 @@ if (!SQL_HASZERONUMS($result)) {
        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');
index f720907ff1c5ef34eff0e1b06291beaf5e7aebd4..47b00fa51af7e835a3818b460cf2776a749aa2fb 100644 (file)
@@ -74,7 +74,7 @@ if (!SQL_HASZERONUMS($result)) {
                                // 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'],
index c37b570c973521bd1b26183a87f88e4754da0972..a97a707f38f92cd91a6f27b93344005022294721 100644 (file)
@@ -2060,7 +2060,7 @@ function generateAdminMailLinks ($mailType, $mailId) {
        // 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,
index e65597b4deb3d1846f8e30a1de923dd9ebb28aaa..6d31a0c1274bcf7c92363041610a66c542fa7048 100644 (file)
@@ -42,7 +42,8 @@ if (!defined('__SECURITY')) {
 
 // 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.",
@@ -635,6 +636,7 @@ addMessages(array(
        '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.",
@@ -740,7 +742,7 @@ addMessages(array(
        '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&uuml;hrte SQL-Anweisungen",
        'ADMIN_EXTENSION_VERBOSE_SQLS_404' => "Die Erweiterung hat keine SQL-Anweisungen zum Ausf&uuml;hren.",
        'ADMIN_SQLS_EXECUTED_ON_UPDATE' => "Beim Aktualisieren ausgef&uuml;hrte SQL-Anweisungen",
@@ -1214,6 +1216,7 @@ addMessages(array(
        'ADMIN_ACTION_EXPORT_SUBMIT' => "Exportieren",
        'ADMIN_ACTION_CHANGE_SUBMIT' => "Editierungen ausf&uuml;hren",
        'ADMIN_ACTION_DELETE_SUBMIT' => "L&ouml;schen",
+       'ADMIN_ACTION_UNINSTALL_SUBMIT' => "Deinstallieren",
        'ADMIN_ACTION_REMOVE_SUBMIT' => "Eintr&auml;ge l&ouml;schen",
        'ADMIN_ACTION_EDIT_SELECT_SUBMIT' => "Ausgew&auml;hlten Eintrag bearbeiten",
        'ADMIN_ACTION_UNLOCK_SUBMIT' => "Ent-/sperren",
index 7a29444e19b0863118e54369f47fb66812b924a5..d01229b6d60e4ec435a30442fb9e16cd5b07456c 100644 (file)
@@ -135,9 +135,9 @@ addMessages(array(
        'ADMIN_LIST_NETWORK_NOTICE' => "Seien Sie mit dem L&ouml;schen und Editieren vonallgemeinen Daten der Werbenetzwerke sehr vorsichtig. Sie sollten hierzu R&uuml;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&amp;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&ouml;ffentlicht.",
        'ADMIN_ADD_NETWORK_HANDLER_TYPE_NOTICE' => "F&uuml;gen Sie hier weitere Werbearten-Handler dem ausgw&auml;hlten Werbenetzwerk hinzu. Die Klick- und Banner-URL m&uuml;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&ouml;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&amp;pw=xyzxyzxyz</strike>",
-       'ADMIN_NETWORK_TYPE_HANDLER_LIST_NOTICE' => "Seien Sie mit dem L&ouml;schen und Editieren von Werbeart-Handlern sehr vorsichtig. Sie sollten hierzu R&uuml;cksprache <a href=\"http://forum.mxchange.org/forum-43.html\" target=\"_blank\" title=\"Direktlink zum Forum\">im Forum</a> halten. Dokumentation zu den Platzhaltern (&#37;FOO&#37;, &#37;BAR&#37; usw.) finden Sie in der Dokumentation DOCs/de/network/README.txt.",
+       'ADMIN_NETWORK_TYPE_HANDLER_LIST_NOTICE' => "Seien Sie mit dem L&ouml;schen und Editieren von Werbeart-Handlern sehr vorsichtig. Sie sollten hierzu R&uuml;cksprache <a href=\"http://forum.mxchange.org/forum-43.html\" target=\"_blank\" title=\"Direktlink zum Forum\">im Forum</a> halten. Dokumentation zu den Platzhaltern (&#37;FOO&#37;, &#37;BAR&#37; usw.) finden Sie in der Dokumentation <strong>DOCs/de/network/README.txt</strong>.",
        'ADMIN_ADD_NETWORK_REQUEST_PARAMETER_NOTICE' => "F&uuml;gen Sie hier weitere Abfrageparameter dem ausgw&auml;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&ouml;schen und Editieren von Abfrageparameter sehr vorsichtig. Sie sollten hierzu R&uuml;cksprache <a href=\"http://forum.mxchange.org/forum-43.html\" target=\"_blank\" title=\"Direktlink zum Forum\">im Forum</a> halten. Dokumentation zu den Abfragenamen (&#37;FOO&#37;, &#37;BAR&#37; usw.) finden Sie in der Dokumentation DOCs/de/network/README.txt.",
+       'ADMIN_NETWORK_REQUEST_PARAMETER_LIST_NOTICE' => "Seien Sie mit dem L&ouml;schen und Editieren von Abfrageparameter sehr vorsichtig. Sie sollten hierzu R&uuml;cksprache <a href=\"http://forum.mxchange.org/forum-43.html\" target=\"_blank\" title=\"Direktlink zum Forum\">im Forum</a> halten. Dokumentation zu den Abfragenamen (&#37;FOO&#37;, &#37;BAR&#37; usw.) finden Sie in der Dokumentation <strong>DOCs/de/network/README.txt</strong>.",
        'ADMIN_NETWORK_VCHECK_PARAMETER_LIST_NOTICE' => "Seien Sie mit dem L&ouml;schen und Editieren von VCheck-Abfrageparameter sehr vorsichtig. Sie sollten hierzu R&uuml;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&uuml;gen Sie hier weitere Array-Element-&Uuml;bersetzungen zu dem ausgew&auml;hlten Netzwerk und Werbeart-Handler ein.",
        'ADMIN_LIST_NETWORK_ARRAY_TRANSLATION_NOTICE' => "Seien Sie mit dem Editieren bzw. L&ouml;schen von Array-Elementen sehr vorsichtig, die API-Abfrage k&ouml;ntte unerwartete Ergebnisse bzw. Fehler zur&uuml;ckliefern.",
@@ -203,13 +203,18 @@ addMessages(array(
        '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&uuml;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&auml;hlen:",
-       'ADMIN_NETWORK_REQUEST_PARAMETER_KEY' => "Abfragename:",
+       'ADMIN_NETWORK_REQUEST_PARAMETER_KEY' => "Abfrageparameter-Schl&uuml;ssel:",
+       'ADMIN_NETWORK_REQUEST_PARAMETER_KEY_SHORT' => "Schl&uuml;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",
@@ -218,7 +223,7 @@ addMessages(array(
        'ADMIN_NETWORK_REQUEST_PARAMETER_MAXIMUM_STAY' => "Maximaler Auffenthalt",
        'ADMIN_NETWORK_REQUEST_PARAMETER_CURRENCY' => "W&auml;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&uuml;tung",
        'ADMIN_NETWORK_REQUEST_PARAMETER_SIZE' => "Werbemittelgr&ouml;sse",
        'ADMIN_NETWORK_REQUEST_PARAMETER_EROTIC' => "Erotik erlaubt",
@@ -310,7 +315,7 @@ addMessages(array(
        '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",
index ef6feb05ffa77edad2115ffbde79251c060d9b69..058e0fb97800a67ebd6bd98ab9b91972f88fb837 100644 (file)
@@ -119,7 +119,7 @@ addMessages(array(
        // 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&uuml;r diese Sub-Id ist noch keine Statistik abfragbar, da sie noch nicht aufgerufen wurde.",
+       'MEMBER_USER_SUBID_STATS_404' => "F&uuml;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&uuml;ck, w&auml;hlen Sie mindestens eine Sub-Id aus und versuchen Sie es dann erneut.",
@@ -134,11 +134,17 @@ addMessages(array(
        'MEMBER_USER_SUBIDS_CHANGE_SUBMIT' => "Sub-Ids &auml;ndern",
        'MEMBER_USER_SUBIDS_REMOVE_SUBMIT' => "Sub-Ids l&ouml;schen",
 
-       // Member - sub ids - notices
+       // Admin - sub ids - submit buttons
+       'ADMIN_DELETE_USER_SUBID_SUBMIT' => "Sub-Id l&ouml;schen",
+       'ADMIN_EDIT_USER_SUBID_SUBMIT' => "Sub-Id editieren",
+       'ADMIN_DELETE_USER_SUBID_STATS_SUBMIT' => "Sub-Id Logbuch *sofort* l&ouml;schen",
+
+       // Member/admin - sub ids - notices
        'MEMBER_ADD_USER_SUBIDS_NOTICE' => "<strong>Hinweise:</strong> Mit Sub-Ids haben Sie die M&ouml;glichkeit, die Aufrufe Ihres Referral-Linkes noch genauer zu verfolgen. Zum Beispiel k&ouml;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>&amp;subid=<em>Ihre Sub-Id</em></strong> anh&auml;ngen. Bewerben Sie nun diesen erweiterten Link. Sobald Aufrufe auf diesen erfolgen, k&ouml;nnen Sie bei der jeweiligen Sub-Id auf &quot;Aufruf-Statistik&quot; 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 &auml;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&uuml;hrte(n) Sub-Id(s) wirklich l&ouml;schen? Dieses ist nicht umkehrbar! Die Statistik dazu bleibt noch eine Weile gespeichert, ist aber nicht mehr aus der Auswahl aufrufbar (Sie k&ouml;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&uuml;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&uuml;be aus, alles verb&uuml;rokratisiert ... :-(",
+       'MEMBER_USER_SUBID_STATS_NOTICE' => "<strong>Wichtiger Hinweis:</strong> Tauschen Sie diesen Text im Template (nicht hier in der Sprachdatei) aus und f&uuml;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&uuml;be aus, alles verb&uuml;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&ouml;scht. Es erfolgt keine erneute Sicherheitsabfrage, ob wirklich gel&ouml;scht werden soll.",
 
        // Member - sub ids - title
        'MEMBER_USER_SUBID_EDIT_DELETE_TITLE' => "Editieren und L&ouml;schen von Sub-Ids",
@@ -147,7 +153,7 @@ addMessages(array(
        'MEMBER_DELETE_USER_SUBIDS_TITLE' => "Ausgew&auml;hlte Sub-Ids l&ouml;schen",
        'MEMBER_SUBID_STATS_TITLE' => "Aufrufstatistik f&uuml;r Ihre Sub-Ids",
 
-       // Member - sub ids - subject lines
+       // Admin/member - sub ids - subject lines
        'ADMIN_ADD_USER_SUBIDS_SUBJECT' => "Sub-Id wurde hinzugef&uuml;gt",
        'ADMIN_EDIT_USER_SUBIDS_SUBJECT' => "Mitglied hat eine Sub-Id ge&auml;ndert",
        'ADMIN_DELETE_USER_SUBIDS_SUBJECT' => "Mitglied hat eine Sub-Id gel&ouml;scht",
@@ -159,6 +165,14 @@ addMessages(array(
        '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&uuml;r die Sub-Id <span class=\"data\">{%get,getSubId=id%}</span> noch keine Statistikeintr&auml;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&auml;ge auflisten",
+       'ADMIN_USER_SUBID_NO_SELECTIONS' => "Sie haben keine Eintr&auml;ge ausgew&auml;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&uuml;gt:",
index c1851a0cfe8e7815b3af6e60591b45197100e9d5..f60eeac5f258035601441275eddc9240140c907b 100644 (file)
@@ -322,7 +322,7 @@ function adminsEditAdminAccount ($postData) {
                $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
@@ -415,7 +415,7 @@ function adminsDeleteAdminAccount ($postData) {
                        $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?
@@ -514,7 +514,7 @@ function sendAdminsEmails ($subject, $template, $content, $userid) {
        // 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)
index 48d29cd3bc70d3b0617d4e8f7b15999e56ecf414..22c6f07d4ae698ae87e8994ff88d3ed86891ab1c 100644 (file)
@@ -100,7 +100,7 @@ function addTurboBonus ($mid, $userid, $type) {
                ), __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),
@@ -126,7 +126,7 @@ function addBonusRanks ($data, $type, $userid) {
        $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,
@@ -156,7 +156,8 @@ function addBonusRanks ($data, $type, $userid) {
                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
index cbbde725902d4b423ad9aeba12acc6cfdd38824b..57741ef14aab2892d8804760b2fb85f062ab826a 100644 (file)
@@ -49,7 +49,7 @@ function addBookingRecord ($subject, $userid, $points, $pointsMode) {
        } // 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,
index 613132340139d63fd1834aa1017fd533aea2088b..0f4201057f48eaa9dc7fd708850406243428fc22 100644 (file)
@@ -46,7 +46,14 @@ function generateCountryInfo ($id) {
        $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?
index c29c36b3c47c02972eadd0be7fb802a6c431b6b2..d5e9ba00ed154993d00fdea539c846c0eca026c4 100644 (file)
@@ -68,7 +68,10 @@ function generateDoublerTable ($userid = NULL, $done = 'N', $ref = 'N', $sort =
 
        // List entries
        $result = SQL_QUERY_ESC("SELECT
-       `userid`,`refid`,`points`,`timemark`
+       `userid`,
+       `refid`,
+       `points`,
+       `timemark`
 FROM
        `{?_MYSQL_PREFIX?}_doubler`
 WHERE
index 7beda4063751fa2e375e62606d0338545a498c5f..507db350bb7500fa082c44d997cfc85975572d13 100644 (file)
@@ -116,7 +116,7 @@ function doMemberEarning ($earningId, $dailyAmount, $isActive = 'Y') {
 // 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(),
index bd09b0a29e3a0ce5f2ff75ba029ad3bb36248927..a27a59720a4a8e85d795322501e4e1400ed9bf12 100644 (file)
@@ -44,7 +44,10 @@ if (!defined('__SECURITY')) {
 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
index 68f76b9c37e99ea218631d27f9a28130e60a965e..a71f843b6534434aafbe4edc87852a4651092cb2 100644 (file)
@@ -52,7 +52,7 @@ function getJackpotPoints () {
        // 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);
index 8f9d2203050a2109cfb2f3af8e430b646f4f3fef..617d69d38ccdedfa89acc8553bdc775bcb60b16f 100644 (file)
@@ -61,7 +61,7 @@ LIMIT 1", array($key), __FUNCTION__, __LINE__);
                        //* 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
index f89979e68dc8e36e5f900a4003d438967c70bdaf..8312c16ea9f066878400b96ae1dcd27c2f505124 100644 (file)
@@ -293,7 +293,8 @@ function getNetworkDataByTypeId ($networkId, $column = '') {
        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
@@ -670,6 +671,29 @@ function generateNetworkTypesAvailableOptions ($defaultType = NULL) {
        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?
@@ -678,7 +702,7 @@ function generateNetworkRequestKeyOptions () {
                $GLOBALS[__FUNCTION__] = generateOptions(
                        '/ARRAY/',
                        array(
-                               'id',
+                               'affiliate_id',
                                'sid',
                                'hash',
                                'password',
@@ -803,8 +827,8 @@ function translateNetworkTranslationName ($name) {
 
        // 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
@@ -871,6 +895,21 @@ function translateNetworkVcheckParameterKey ($param) {
        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?
@@ -1788,7 +1827,7 @@ function doAdminNetworkProcessExport () {
        // 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
@@ -1848,7 +1887,7 @@ ORDER BY
                __FUNCTION__, __LINE__);
 
        // Start an empty SQL query
-       $SQL = "INSERT INTO `&#123;&#63;_MYSQL_PREFIX&#63;&#125;_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 `&#123;&#63;_MYSQL_PREFIX&#63;&#125;_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)) {
@@ -1892,7 +1931,8 @@ function doAdminNetworkExportTypes () {
        `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
@@ -1904,7 +1944,7 @@ ORDER BY
                ), __FUNCTION__, __LINE__);
 
        // Start an empty SQL query
-       $SQL = "INSERT INTO `&#123;&#63;_MYSQL_PREFIX&#63;&#125;_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 `&#123;&#63;_MYSQL_PREFIX&#63;&#125;_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)) {
@@ -1926,7 +1966,7 @@ ORDER BY
                }
 
                // 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
@@ -1966,7 +2006,7 @@ ORDER BY
                ), __FUNCTION__, __LINE__);
 
        // Start an empty SQL query
-       $SQL = "INSERT INTO `&#123;&#63;_MYSQL_PREFIX&#63;&#125;_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 `&#123;&#63;_MYSQL_PREFIX&#63;&#125;_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)) {
@@ -2022,7 +2062,7 @@ ORDER BY
                ), __FUNCTION__, __LINE__);
 
        // Start an empty SQL query
-       $SQL = "INSERT INTO `&#123;&#63;_MYSQL_PREFIX&#63;&#125;_network_vcheck_params` (`network_id`,`network_vcheck_param_key`,`network_vcheck_param_value`,`network_vcheck_param_default`) VALUES\n";
+       $SQL = "INSERT INTO `&#123;&#63;_MYSQL_PREFIX&#63;&#125;_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)) {
@@ -2078,7 +2118,7 @@ ORDER BY
                ), __FUNCTION__, __LINE__);
 
        // Start an empty SQL query
-       $SQL = "INSERT INTO `&#123;&#63;_MYSQL_PREFIX&#63;&#125;_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES\n";
+       $SQL = "INSERT INTO `&#123;&#63;_MYSQL_PREFIX&#63;&#125;_network_array_translation` (`network_id`, `network_type_id`, `network_array_index`, `sort`) VALUES\n";
 
        // Load all entries
        while ($content = SQL_FETCHARRAY($result)) {
index c9b05aadd683f534e7bc5fc69221d10e94bfc1ce..805b9d9ee0efd7ecebf57c1b139f953870c2cd3e 100644 (file)
@@ -45,14 +45,17 @@ function outputPayoutList ($points) {
        // 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
index 3974a2df090c68a2f98f65f9afbc73b0323d70e7..e768e226c7acd48069c0715663cdaf245e6ee8a7 100644 (file)
@@ -378,7 +378,7 @@ function addUserToReferralRallye ($userid, $content = array()) {
 
        // 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
@@ -610,7 +610,7 @@ function getReferralRallyeUserDataFromArray ($userIds) {
 
        // Load users
        $result = SQL_QUERY_ESC("SELECT
-       `userid`,`gender`,`surname`,`family`,`email`
+       `userid`, `gender`, `surname`, `family`, `email`
 FROM
        `{?_MYSQL_PREFIX?}_user_data`
 WHERE
@@ -650,7 +650,9 @@ function getArrayFromReferralRallyePrices ($rallye) {
 
        // Load prices
        $result = SQL_QUERY_ESC("SELECT
-       `price_level`,`points`,`info`
+       `price_level`,
+       `points`,
+       `info`
 FROM
        `{?_MYSQL_PREFIX?}_rallye_prices`
 WHERE
index 7547757ff713a3c03acc1bb0f6ecc0ddbc3a102e..d993ebaf94216f9916a7faef7ea2a414c3c6fd95 100644 (file)
@@ -50,7 +50,7 @@ function addRefbackPoints ($userid, $ref, $points, $ref_points) {
        $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
@@ -274,7 +274,7 @@ function getArrayFromUserRefbackData ($id) {
        $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?
index 3e5909476677b783bf26173550e8b80e698556aa..00e8bd66f78047c11b8d4189a32c718ca95ff59e 100644 (file)
@@ -174,7 +174,7 @@ function handleSponsorRequest ($postData, $update=false, $messageArray = array()
                                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
index a2a040bacf762163a69a2b0b4ed4ebce29e9af98..6b62afbc0cc3866ca8dd21b015bfe1482773b0ce 100644 (file)
@@ -703,7 +703,7 @@ function insertSurfbarUrlByArray ($urlData) {
        } // 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'],
@@ -1112,7 +1112,7 @@ function addSurfbarReloadLockById ($urlId) {
        // 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)
@@ -1175,7 +1175,7 @@ function updateInsertSurfbarStatisticsRecord () {
        // 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()
@@ -1220,7 +1220,7 @@ function updateSurfbarSaltStatistics () {
        // 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(),
index 8245ee807cbfed3de354ff2c111c961b2b3ba795..a044e8a06c2aeb84b049a401378a4715a3cd5e4f 100644 (file)
@@ -65,7 +65,8 @@ function generateThemeSelectionBox () {
 
        // Select all themes we want
        $result = SQL_QUERY('SELECT
-       `theme_path`,`theme_name`
+       `theme_path`,
+       `theme_name`
 FROM
        `{?_MYSQL_PREFIX?}_themes`
 ' . $add . '
index e31d35a01634d148c55d734518f29258ad46ae59..d0b5379881d64c08411a2b0f1fe82b4f65b144dd 100644 (file)
@@ -543,7 +543,7 @@ function insertUserStatsRecord ($userid, $statsType, $statsData) {
        // 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,
@@ -573,7 +573,7 @@ function doConfirmUserAccount ($hash) {
        $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
@@ -824,15 +824,52 @@ function prepareSubId ($subId) {
 }
 
 // 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];
 }
 
 //-----------------------------------------------------------------------------
index 7530ecd0cf354d0ba2479271a57685ff28fadef6..11ecf02670f93d856b6194629fc196722adda02d 100644 (file)
@@ -335,7 +335,7 @@ function translateWernisTransferStatus ($status) {
 // 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),
index bedb886982080d2d197b8df02e93aef986692bfb..dad248da2a846258012df0f2d2b3f69de0b59e93 100644 (file)
@@ -264,7 +264,7 @@ function YOOMEDIA_EXCLUDE_MAIL ($data, $mailMode) {
                $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']),
@@ -359,7 +359,7 @@ function YOOMEDIA_RELOAD_LOCK ($data, $mailMode) {
                $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
 }
index 8de1d6aedc2e72bbc9a797e47e7fb2e56ed82102..746957a8ccc473e9f646bba855c42b3e33ec04e8 100644 (file)
@@ -143,7 +143,16 @@ if (($GLOBALS['cache_instance']->loadCacheFile('extension')) && ($GLOBALS['cache
        } // 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)) {
index 879f242a0dd61c146b64572aeae3912a9472d880..876372eb3fab816923714c0809ed1694c6c24743 100644 (file)
@@ -52,7 +52,7 @@ if (($GLOBALS['cache_instance']->loadCacheFile('refdepths')) && ($GLOBALS['cache
        $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)) {
index 7507530122b0e9be4134a3c46a50a4731c3d6e1a..41f43e5a080565a6d93124e92816fd1570bbfd0a 100644 (file)
@@ -76,9 +76,9 @@ if (($GLOBALS['cache_instance']->loadCacheFile('themes')) && ($GLOBALS['cache_in
 
        // 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
index fb2292c127152042d77bc9c35f9d57aeacfca76b..902997e72954985f496c63b83d8f25708e7af677 100644 (file)
@@ -51,7 +51,7 @@ $mark = mktime(0, 0, 0, getLastMonth(), getDay(), getYear());
 $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()) {
index d52b33b2789501fc343444400c48e558e58ebb5e..1014e7497fed9a9bb3f83cf029ec7d5acb1bff1c 100644 (file)
@@ -51,7 +51,7 @@ $mark = mktime(0, 0, 0, getLastMonth(), getDay(), getYear());
 $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') {
index a102350bb853d169810af9b931d7a7373052746d..83f166696cfa57c302559d5a3277d5e9ff1dc281 100644 (file)
@@ -145,7 +145,7 @@ function isModuleRegistered ($module) {
        } 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
@@ -292,13 +292,13 @@ function checkModulePermissions ($module = '') {
                                 * 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__);
                        }
@@ -402,7 +402,7 @@ function addModuleSql ($module, $title, $locked, $hidden, $adminOnly, $memOnly)
        // 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",
index 2e47837431641f431c3e483a6c55638377c51bde..10afaf399b09ca8333cbc5c74e11be439638d219 100644 (file)
@@ -52,7 +52,7 @@ function addAdminAccount ($adminLogin, $passHash, $adminEmail) {
        // 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,
@@ -512,7 +512,7 @@ function adminMenuSelectionBox_DEPRECATED ($mode, $default = '', $defid = '') {
        $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
@@ -629,7 +629,7 @@ function adminSaveSettings (&$postData, $tableName = '_config', $whereStatement
                } // END - foreach
 
                // Add both in one line
-               $keys   = implode('`,`', $keys);
+               $keys   = implode('`, `', $keys);
                $values = implode(', ' , $values);
 
                // Generate SQL string
@@ -1101,7 +1101,7 @@ function sendAdminPasswordResetLink ($email) {
        $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?
@@ -1139,7 +1139,7 @@ function adminResetValidateHashLogin ($hash, $login) {
        $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?
@@ -1312,9 +1312,6 @@ function doVerifyExpertSettings () {
 
                                                // Change it in the admin
                                                adminsChangeAdminAccount($postData, 'expert_warning');
-
-                                               // Clear form
-                                               unsetPostRequestElement('ok');
                                        } // END - if
 
                                        // All fine!
@@ -1330,6 +1327,13 @@ function doVerifyExpertSettings () {
                                // 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';
index 7a80734d6eea3903d9f53d4379bd978f548b7693..1f5127967b5f13c88764d189f450ebdd1af67d61 100644 (file)
@@ -140,7 +140,14 @@ function outputSeletectedTasks ($postData, $result_tasks) {
                $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
@@ -419,7 +426,7 @@ LIMIT 1",
                        }
 
                        // 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
 
diff --git a/inc/modules/admin/subid- b/inc/modules/admin/subid-
new file mode 100644 (file)
index 0000000..f7dfffc
--- /dev/null
@@ -0,0 +1,46 @@
+<?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&amp;what=list_user_subid');
+}
+
+// [EOF]
+?>
diff --git a/inc/modules/admin/subid-stats.php b/inc/modules/admin/subid-stats.php
new file mode 100644 (file)
index 0000000..d8c9b27
--- /dev/null
@@ -0,0 +1,49 @@
+<?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&amp;what=list_user_subid');
+}
+
+// List all entries
+showEntriesByXmlCallback('admin_list_user_subid_stats');
+
+// [EOF]
+?>
index 8697560930fec671c3e4ba14d13febac8ed28c62..3f3406b69011126b643a84b8d10360f114e5a095 100644 (file)
@@ -49,7 +49,7 @@ if (isFormSent()) {
        $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)) {
index abf421126ed8db612903486595bcc4fa9f15bf80..0fb82ebbd68cc9bd258f2c880b1aba5e5ac55b79 100644 (file)
@@ -55,7 +55,7 @@ if (!isFormSent()) {
        $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?
@@ -93,7 +93,7 @@ if (!isFormSent()) {
 
                // 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
@@ -165,7 +165,7 @@ if (!isFormSent()) {
        // 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'),
index 84ccdcfe2b04d73214c6094612b11c49e4100314..dd450855a5657dc8bcf1bf916cdf1b9017d40581 100644 (file)
@@ -60,7 +60,7 @@ if ((isFormSent('edit')) && (ifPostContainsSelections()) && (!isDemoModeActive()
        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...
@@ -194,7 +194,7 @@ LIMIT 1",
        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)) {
index 47f0fa9dfab9324916e8901d787ffa0d2bc47dcc..6283451b58db88d37f306622b0fb373c516a2dd3 100644 (file)
@@ -50,7 +50,7 @@ if (isFormSent('edit')) {
                $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';
index 0cd9676bc761b190e971eccb0078b629322245e4..12cc75c01a6411f0dab53f83c52b7f3167161b65 100644 (file)
@@ -53,7 +53,7 @@ if (isFormSent('add')) {
                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'),
@@ -124,7 +124,7 @@ if (isFormSent('add')) {
        $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);
 
@@ -145,7 +145,7 @@ if (isFormSent('add')) {
        $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 = '';
index c2e6865badf1a315b463f51b870f0ddefac0a6b4..2558197013489fd1f56eb3ee906832a373397453 100644 (file)
@@ -48,7 +48,13 @@ if (isFormSent()) {
        // 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)) {
index cd5e40d9ba62f20fc887cfdbb85ae89f2893a458..61d35587815c1a903a6a170b8c68fac712884234 100644 (file)
@@ -53,7 +53,7 @@ if (isFormSent('edit')) {
                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
@@ -126,7 +126,7 @@ LIMIT 1",
 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
index 43d6d7354dd7a02dafcd1ead2726b9f5306d8a28..11d986d4077b6364d39cd92ff226681b2fc844ab 100644 (file)
@@ -53,7 +53,7 @@ if ((isFormSent('add')) && (isPostRequestElementSet('title')) && (postRequestEle
                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'
 )",
@@ -91,7 +91,7 @@ if ((isFormSent('edit')) && (ifPostContainsSelections())) {
        $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);
@@ -149,7 +149,7 @@ LIMIT 1",
                $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);
@@ -183,12 +183,16 @@ if (!empty($message)) {
 } // 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
index bf65c6b6256d999e2ea2b43075aa05f9b1dc4e07..a31a1588a73e8b16d3166bcf3ba537cbc7e9585f 100644 (file)
@@ -79,7 +79,7 @@ if (isFormSent()) {
                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
@@ -176,7 +176,7 @@ WHERE
                // 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);
@@ -191,7 +191,7 @@ WHERE
                // 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);
@@ -204,7 +204,7 @@ WHERE
                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 = '';
index 96d315663e7e4e9bc629f0dee13f185e58340b35..90039eb2fca1fd7fa219feded8e274008b294e99 100644 (file)
@@ -55,7 +55,7 @@ if (isGetRequestElementSet('rallye_id')) {
                                // 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(
@@ -205,7 +205,7 @@ LIMIT 1",
                }
        } 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)) {
index b48a3737755e8c42d1cda23d336c6f5720855dae..103f12db8ee1f93299bc63e68216c266ad2565ce 100644 (file)
@@ -63,7 +63,7 @@ if (isFormSent()) {
 } // 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
index 55439336130c495514a982f83a2540469df3eec8..90a6caeccd1688eebf6647101de1771be5397f0c 100644 (file)
@@ -62,7 +62,7 @@ if (isFormSent()) {
        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?
index 478b00bddecebd2ca14ae5185ab9858e4c9134a2..b72c0970b15428361e4c4ecbdb1d717dd1118bfa 100644 (file)
@@ -48,7 +48,7 @@ $count = '0';
 
 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
@@ -160,7 +160,7 @@ LIMIT 1",
        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
@@ -197,7 +197,7 @@ LIMIT 1",
        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
index 8db0aa4c2e7833630c58c4158629bbe0fa36ea38..39069e12b5034663c849a14079f6c4348a683bee 100644 (file)
@@ -50,7 +50,9 @@ if (ifPostContainsSelections()) {
        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
index 07673f76160740e18799f39aa176e8279e5e6f80..fa3f68a19d51236f549edd30012cc8a9d374cd27 100644 (file)
@@ -45,7 +45,7 @@ addYouAreHereLink('admin', __FILE__);
 
 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
index 246ab3297312161c55cb1c6997184919c527f9f3..eb79d653e832cbbbd185ead41eda8e63f673e09a 100644 (file)
@@ -64,7 +64,12 @@ if (isFormSent('delete')) {
 
 // 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
index 78665e009f19590555ee15a7ab1878bd05fad02f..4d998c0132968ac39764c8d8f9ef919f028e1e0e 100644 (file)
@@ -50,13 +50,17 @@ if ((isFormSent()) && (!isPostRequestElementSet('id'))) {
 // 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
@@ -69,13 +73,17 @@ LIMIT 1",
        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
@@ -88,13 +96,16 @@ LIMIT 1",
        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
@@ -163,7 +174,11 @@ LIMIT 1",
 } 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
index 8dff51a427e9c2bdca78fe76b3fd0c7695dea0b5..29bbdf826d20370b4b4aa3dca7573e9413a302fe 100644 (file)
@@ -46,10 +46,10 @@ addYouAreHereLink('admin', __FILE__);
 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
index 73b1ff59781ee020139f24d0c26daf5989f77b82..11a4f2677ec98ff66311eb1c6837e8e3ff72b3ae 100644 (file)
@@ -50,9 +50,9 @@ $result_main = false;
 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`
index a2c6ec2cd7850c7b9b3c846474acbb3fe610f55a..ede6370692e17a1aa395281ae2421a780054f86b 100644 (file)
@@ -45,7 +45,17 @@ addYouAreHereLink('admin', __FILE__);
 
 // 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
@@ -83,7 +93,7 @@ if (!SQL_HASZERONUMS($result)) {
        $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
index 226fa76ffbabc322c0311413deb3400f3eea84bb..a5a4ab2f1dff4811691b4d3356638ec634802d33 100644 (file)
@@ -52,7 +52,7 @@ if (!isExtensionInstalledAndNewer('sql_patches', '0.7.4')) {
 
 // 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
@@ -66,7 +66,7 @@ $SQL2 = '';
 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
@@ -78,7 +78,7 @@ LIMIT 1",
 } 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
@@ -96,7 +96,7 @@ $result_bonus = false;
 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`
index 453e9c6142aadc305a9a865006f27e9afdeec4ae..48e424977da191a2a83e650edf035c614d2b43a9 100644 (file)
@@ -134,7 +134,7 @@ if (isGetRequestElementSet('reg_ext')) {
 
                                // 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);
@@ -161,12 +161,12 @@ if (isGetRequestElementSet('reg_ext')) {
                                );
 
                                // 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())) {
@@ -202,7 +202,7 @@ if (isGetRequestElementSet('reg_ext')) {
                        );
 
                        // 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(
@@ -210,12 +210,12 @@ if (isGetRequestElementSet('reg_ext')) {
                        );
 
                        // 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!)
@@ -317,14 +317,14 @@ ORDER BY
                                $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--}');
index 8e7c9ca55c964d39060d4f1bca025eb32f3ca52a..43205e66a702bbaa379e1e34dfb5bb4569f18659 100644 (file)
@@ -55,7 +55,7 @@ if (!isFormSent()) {
 
        // Get all available main menus
        $result_menu = SQL_QUERY("SELECT
-       `action`,`title`,`sort`
+       `action`, `title`, `sort`
 FROM
        `{?_MYSQL_PREFIX?}_guest_menu`
 WHERE
@@ -98,7 +98,7 @@ ORDER BY
                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
@@ -181,7 +181,7 @@ ORDER BY `sort` ASC",
 } 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'),
@@ -191,7 +191,7 @@ ORDER BY `sort` ASC",
                                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'),
index 780587a29a601131babdac3728304c200d819fd7..10ee27a8c1b1363d4101c11735ac79044fc58731 100644 (file)
@@ -61,7 +61,7 @@ if ((isFormSent('edit')) && (ifPostContainsSelections()) && (!isDemoModeActive()
        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...
@@ -149,7 +149,7 @@ if ((isFormSent('edit')) && (ifPostContainsSelections()) && (!isDemoModeActive()
        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...
@@ -193,10 +193,10 @@ if ((isFormSent('edit')) && (ifPostContainsSelections()) && (!isDemoModeActive()
        // 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__);
        }
 
index 69c9b1a67cd8fdbc74fd64c79765335bd2521a29..acb7783c64e9b5dbe75458864431e34b8ccfdb47 100644 (file)
@@ -48,7 +48,7 @@ if ((isFormSent('edit')) && (ifPostContainsSelections())) {
        $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
@@ -107,7 +107,7 @@ LIMIT 1",
        $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);
index a8d1c1720c82a0d026dd17eef44bd389ea53cd38..963faa233be2f496879c4a86363b383690f04a2d 100644 (file)
@@ -164,12 +164,18 @@ if (ifPostContainsSelections('id')) {
 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)) {
index d7d6dd1e4218f0b3f2dcb0049a248c12be3cc1c8..15a090bda7cbfdaf3d91522de848eb6f88a1868b 100644 (file)
@@ -55,7 +55,7 @@ if (isGetRequestElementSet('userid')) {
                $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
index 1a5e1ceddce6b52d261d4ee7f74134d232e0325f..c27f2284b37833333e73221dd078bc4e0e8e8a26 100644 (file)
@@ -50,7 +50,7 @@ if ((isFormSent('add')) && (isPostRequestElementSet('code')) && (isPostRequestEl
        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'),
@@ -104,7 +104,7 @@ if ((isFormSent('add')) && (isPostRequestElementSet('code')) && (isPostRequestEl
                $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
@@ -172,7 +172,7 @@ LIMIT 1");
        } // 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?
index 12c9599acce27c43d0a3f810c1ee1740f34214dd..beba87e5e2f4a82bf224f2bd4c703cabfe287fb5 100644 (file)
@@ -54,7 +54,7 @@ if (isPostRequestElementSet('add_max')) {
        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 {
@@ -102,7 +102,7 @@ if (isPostRequestElementSet('add_max')) {
        $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);
@@ -119,7 +119,7 @@ if (isPostRequestElementSet('add_max')) {
        $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);
@@ -132,7 +132,7 @@ if (isPostRequestElementSet('add_max')) {
        // 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
diff --git a/inc/modules/admin/what-list_network_data.php b/inc/modules/admin/what-list_network_data.php
new file mode 100644 (file)
index 0000000..aa4a932
--- /dev/null
@@ -0,0 +1,104 @@
+<?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]
+?>
index 6a0585b87a3fb7a92f15977a9165d9a50bc92753..74e1909cd6b2341a062dbe509e118f07cd2407b7 100644 (file)
@@ -115,9 +115,6 @@ ORDER BY
                                $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
index 5a5537f16f05ab81ff97b34762dd092699463829..bb15cf56cbefd4af4de1c7745a25468f3a52d205 100644 (file)
@@ -76,7 +76,8 @@ if (isGetRequestElementSet('network_id')) {
        `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
@@ -90,9 +91,6 @@ ORDER BY
                // 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;
 
index f6f9693848a20a0a95804f5583819ae4ba3b0f33..b2b77a52481740467ef0617292a849194bfb4bfd 100644 (file)
@@ -88,9 +88,6 @@ ORDER BY
                // 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;
 
index 283feb5fc31f81c1daa677f4a28279550fa90096..f551ef47b7591c74e7b59193e56a1fa6505a87ab 100644 (file)
@@ -1,104 +1,3 @@
 <?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
 ?>
index 82fc0c9317d6c6e53a9c10a6a348f8fceb75142d..f61e1785a820450936a09727888aab30d9c71c13 100644 (file)
@@ -54,8 +54,8 @@ if (!isGetRequestElementSet('offset')) setGetRequestElement('offset', getMailsPa
 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
index 58bb57a2ddfd218e8c4869d7dedd367256faf75d..c52066f03f1029092a67dba65a01cfd7d738d4e3 100644 (file)
@@ -45,7 +45,7 @@ addYouAreHereLink('admin', __FILE__);
 
 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);
@@ -89,7 +89,13 @@ if (isGetRequestElementSet('pid')) {
                                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
index fe3fe710ba752869f4fb410c56b5a943a92f02f2..c5dc0eb0fdfabb659df58a0b5e3a43f75b361a49 100644 (file)
@@ -46,14 +46,14 @@ addYouAreHereLink('admin', __FILE__);
 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
@@ -135,10 +135,10 @@ ORDER BY
 } 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
index cf3fb4821cb612f9ecf0f946b392cd16aca3274d..e4eff806bc86121b3478ce9ff9fa10c4ec242f25 100644 (file)
@@ -115,7 +115,7 @@ if (isFormSent('add')) {
                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')),
@@ -140,7 +140,7 @@ if (isFormSent('add')) {
        $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
index a49d80a7c6906a57962327aec93f39c1cebaa454..0862a618d457b0e58b5bb9530f2c6d33afbf05ff 100644 (file)
@@ -88,7 +88,7 @@ if (!empty($whereStatement)) {
        } 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
@@ -126,7 +126,7 @@ ORDER BY
 
                        // 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
index 5c137d098cd5c03741ce1ac4aeb2fba42755cd98..c9177fa93a74dce781d9b8f9928002654ab2ba60 100644 (file)
@@ -84,8 +84,15 @@ LIMIT 1",
        // @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
index b2bede3bafba00ca0fe836b4a5f5c4635098c5d1..75dba7e9b911740ad9277b5af5dfe2546c9d5e7c 100644 (file)
@@ -47,7 +47,7 @@ addYouAreHereLink('admin', __FILE__);
 $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--}');
 
@@ -56,7 +56,16 @@ if ((countRequestPost() > 0) && (!ifPostContainsSelections('id'))) {
 } // 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');
 
@@ -65,6 +74,27 @@ if (isFormSent('delete')) {
 } 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?
index c932979a54bfed6230e5cc9325e86214ce7d07fc..3190cc2c06731aa56e3b8bac52fb79ed87602089 100644 (file)
@@ -46,7 +46,7 @@ $message = '';
 
 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
index 2ac057db6260d41cf23d6d424c28ae75cfbc81e3..ae023ac81e1398d939d7507c3c4aa1b5c8a72fda 100644 (file)
@@ -56,7 +56,7 @@ if (!isFormSent()) {
        $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
@@ -97,7 +97,7 @@ if (!isFormSent()) {
 
                // 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
@@ -170,7 +170,7 @@ if (!isFormSent()) {
 } 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'),
@@ -180,7 +180,7 @@ if (!isFormSent()) {
                                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'),
index 05ad9b72fa3f5a969ce967f1988fd9b391447ded..e16002dc3f7db5d5bc3c57f61c20bf9be9ce45da 100644 (file)
@@ -60,7 +60,7 @@ if ((isFormSent('edit')) && (ifPostContainsSelections()) && (!isDemoModeActive()
        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...
@@ -145,7 +145,7 @@ if ((isFormSent('edit')) && (ifPostContainsSelections()) && (!isDemoModeActive()
        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...
@@ -189,10 +189,10 @@ if ((isFormSent('edit')) && (ifPostContainsSelections()) && (!isDemoModeActive()
 
        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?
index 66e61a4694183c71eeb47f01b1a899041abb0069..8723a902c23c8cce6418813e900e8346b49093f1 100644 (file)
@@ -50,7 +50,7 @@ if (((!isPostRequestElementSet('t_wait')) || (!isPostRequestElementSet('payment'
 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();
@@ -91,7 +91,7 @@ if (isFormSent()) {
        // 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);
 
@@ -108,7 +108,7 @@ if (isFormSent()) {
        // 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);
 
@@ -123,7 +123,7 @@ if (isFormSent()) {
        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 = '';
index 6dc09178097776d9d19da630724fcb1e0a54a738..1f48c21fca25807d71365a8981a5d4f798fc42c6 100644 (file)
@@ -59,7 +59,7 @@ if (isFormSent()) {
                        // 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'),
@@ -105,7 +105,7 @@ VALUES ('%s','%s','%s')",
        $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);
@@ -129,7 +129,7 @@ VALUES ('%s','%s','%s')",
        } // 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)) {
index f686b5d05ff08ce7dc8179febe4e7e366b5a65d1..a06cbdc6e8a40698af77c4c5ba4418213a1e5228 100644 (file)
@@ -46,7 +46,7 @@ addYouAreHereLink('admin', __FILE__);
 $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
index 6a8a74913a1cf943f5b8709b3f1f0bf5216828b2..0a9c4d856737f67b6c8b20da4e152e713808d33e 100644 (file)
@@ -46,7 +46,7 @@ addYouAreHereLink('admin', __FILE__);
 $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
index 7ac68a44f21c3f2784d15b59ff4eea496fd6d1d9..5a614dbf507f889056317dee1377b44c41a906fa 100644 (file)
@@ -46,7 +46,7 @@ addYouAreHereLink('admin', __FILE__);
 $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
index f259265150ec1476edc952c4fb1cff8c1da3ddca..38244178440f975fbde16a117bd213226d8748e2 100644 (file)
@@ -72,7 +72,7 @@ ORDER BY
                        $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),
@@ -104,7 +104,7 @@ ORDER BY
                                } // 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,
index 6d4d26cc760b58395f831aa8e09233fcbce00b04..8c5ae5b1acbba04f0482d9ddef2e6cd92258223c 100644 (file)
@@ -49,7 +49,7 @@ if ((getRequestElement('mod') == 'index') || (getRequestElement('mod') == 'login
        $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)) {
@@ -64,7 +64,7 @@ if ((getRequestElement('mod') == 'index') || (getRequestElement('mod') == 'login
        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')) {
index bef68109a756ee19c4883727f63cc0f60c2d8600..77249ba5ca20420648b3a2d1e7af3245cc722345 100644 (file)
@@ -50,7 +50,7 @@ if (getRequestElement('userid') == 'all') {
                $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
index 7388ea48ea562acc5c0fe4099bbdb01cf4e6ec76..0486556a726e50284734aa01abdd7dca9ee91c50 100644 (file)
@@ -59,7 +59,7 @@ if (isPostRequestElementSet('theme')) {
                        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'),
index 85bbeedc1061c2d15725cd9262ca864f702d5aff..0cf0c8583fe4111124e33cf9895093f05c6c4849 100644 (file)
@@ -45,7 +45,14 @@ addYouAreHereLink('admin', __FILE__);
 
 // 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
@@ -62,8 +69,12 @@ if ((!SQL_HASZERONUMS($result_main)) || (isFormSent('lock'))) {
                                $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
@@ -72,7 +83,7 @@ ON
        po.`payment_id`=pay.`id`
 WHERE
        po.`id`=%s
-LIMIT 1",
+LIMIT 1',
                                        array($id), __FILE__, __LINE__);
 
                                // Update wents fine?
@@ -130,7 +141,7 @@ LIMIT 1",
                                $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
@@ -179,7 +190,7 @@ LIMIT 1",
                                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
 
index 052984e3910c084b8968ca47d5a456dd60bb5300..831b2827924d2ffd0e37f6db99c03890881c125d 100644 (file)
@@ -57,9 +57,9 @@ if (isFormSent()) {
 
                        // 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
@@ -199,7 +199,7 @@ LIMIT 1",
 
 // 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`
index 46fa7c584bc85882cb3baf65d90c4ba4644645f5..199e54c05b16464eec994a73b76aad641bf89a14 100644 (file)
@@ -55,7 +55,7 @@ if (isExtensionActive('online')) {
        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
index 9631fa303389fd3140b56a225a25d46adaed2ed5..9a49fd0cf9fc7d7825f248a29a0c9658645e632a 100644 (file)
@@ -46,7 +46,7 @@ if (isGetRequestElementSet('order')) {
        // 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?
index 76dc94f8ef28236cf11c2c8ee34050cfcc7d74ba..df44f6acd75fdec831881799ba8c009e8cab1c80 100644 (file)
@@ -50,7 +50,8 @@ if ((!isExtensionActive('active')) && (!isAdmin())) {
 
 // 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
index c8a724f3a4fbe0c791b95f4cb9fb2867bc475b96..d094f9e21d36a4338e25ec1bc881436d11d4bbbd 100644 (file)
@@ -80,7 +80,7 @@ if (!SQL_HASZERONUMS($result_act)) {
        } // 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 = '';
index 017688f261c037fa2b854c14016e42bc14a0238e..df8037e3e41d26195f55e31903338969881b6a77 100644 (file)
@@ -64,10 +64,10 @@ if (isGetRequestElementSet('do')) {
 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
@@ -156,7 +156,7 @@ LIMIT 1",
        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`
@@ -207,7 +207,7 @@ LIMIT 1",
        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`
index ed4025993a1bd3e521630c88e09273fddd5d7f59..f283557055cbdc8bf4ad9b57ee983bde41372370 100644 (file)
@@ -234,7 +234,11 @@ LIMIT 1',
 } 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 
index 0eb2d020421833c59d3c0c1b5a5d25e1c53bd439..552fa76c3512c5a694723d5dbad156333ac8c0c6 100644 (file)
@@ -102,7 +102,7 @@ switch (getConfig('guest_stats')) {
                } // 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();
@@ -184,8 +184,8 @@ switch (getConfig('guest_stats')) {
                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)) {
index f369b02da0d9efcd2f8caa612d3132b1eeedae42..fe0892ddb042cdef58b07305f68c902e09b9c17c 100644 (file)
@@ -53,7 +53,8 @@ $rows = array();
 
 // TOP logins
 $result = SQL_QUERY("SELECT
-       `userid`,`last_online`
+       `userid`,
+       `last_online`
 FROM
        `{?_MYSQL_PREFIX?}_user_data`
 WHERE
index d3fb3b9d62d6fffe5997a4549f67819d29f96f01..7c6b40505570689ca1fd7bff348ae72131d4c99e 100644 (file)
@@ -49,7 +49,7 @@ $whereStatement = " WHERE `visible`='Y'";
 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)) {
@@ -82,7 +82,7 @@ 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;
 
index 23ac182eccccf05ea58d7e9d6be9c399105c0be0..ec4fae0ba8e477dad99b2e16f48f69f744eccb6e 100644 (file)
@@ -119,7 +119,7 @@ if (isFormSent()) {
                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
@@ -257,7 +257,8 @@ LIMIT 1", array(getMemberId()), __FILE__, __LINE__);
                        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
index 1f9aa867e316e1760aace3a05da2dc4c903de6a8..8914ad5202f5f25d3ccdba8785d88a8507a966ac 100644 (file)
@@ -540,7 +540,7 @@ LIMIT 1",
                        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)) {
index 41d4988293a5e795c0483966c5123560097d3bda..e0bba7eee52b59dda96982013d9c7fd17f8b5c7a 100644 (file)
@@ -58,7 +58,11 @@ $payoutPoints = getPayoutPoints(getMemberId());
 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
@@ -72,17 +76,27 @@ ORDER BY
 
                // 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
@@ -98,7 +112,7 @@ ORDER BY
                                                // 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
@@ -123,7 +137,7 @@ ORDER BY
        }
 } 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) {
@@ -155,7 +169,7 @@ ORDER BY
                                // 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(),
@@ -175,7 +189,7 @@ VALUES (%s,%s,%s, UNIX_TIMESTAMP(), 'NEW','%s','%s','%s')",
                                        }
                                } 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(),
index 34b65b9817f5ccb01dcbeb89aeee1330d864fcb0..dfb51b82524b7a1684de6e6d61f0fa51878c4c72 100644 (file)
@@ -52,7 +52,7 @@ if ((!isExtensionActive('user')) && (!isAdmin())) {
 } // 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);
index 51cd39a8b7969c1a73434d11beb80072eefa1a86..eef4ea8fe0823d334b3faa57ca0aefd388ea9aa9 100644 (file)
@@ -66,7 +66,7 @@ if (isExtensionActive('nickname')) {
 $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
index e289fae8c3aba5670bed2c9865914e5b91243685..0022880cc162d51eaae0d1098dc79cb04eb6cc8a 100644 (file)
@@ -48,7 +48,8 @@ addYouAreHereLink('member', __FILE__);
 
 // Load all referral levels
 $result = SQL_QUERY('SELECT
-       `level`,`percents`
+       `level`,
+       `percents`
 FROM
        `{?_MYSQL_PREFIX?}_refdepths`
 WHERE
index c31177ee1cbd454ccaa2882a384678a30137cc0f..51b82ba7e5d51aaea674924aed7e0844dd59f4bc 100644 (file)
@@ -50,7 +50,15 @@ $main_content = array();
 
 // 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
@@ -83,14 +91,22 @@ if (!SQL_HASZERONUMS($result)) {
 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)) {
index f974520cdf04ddfe8fdc38e67295f9637e703bd3..5deb526cfa5fbb2d2202c6f481ed820ea127cb42 100644 (file)
@@ -94,7 +94,7 @@ switch ($mode) {
                        $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'))
@@ -143,7 +143,7 @@ switch ($mode) {
                                $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(),
@@ -151,7 +151,7 @@ switch ($mode) {
                                                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')),
@@ -281,14 +281,14 @@ switch ($mode) {
                $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--}';
@@ -358,31 +358,31 @@ INDEX (`party_userid`)
 ) 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';
index 1da948a63c2c92ca0e4bac219464bded1e700596..06ababa80706fa4f5bb49ca62aa24e6cb801a89c 100644 (file)
@@ -54,13 +54,22 @@ if (!isExtensionActive('mailid')) {
 // 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
@@ -150,11 +159,11 @@ LIMIT 1",
 
 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__);
 }
 
@@ -176,15 +185,19 @@ if (!SQL_HASZERONUMS($result)) {
                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';
@@ -193,7 +206,7 @@ LIMIT 1",
                                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'];
index 2086288fef4fe2da3e5118865ddf3acf0bd5ba4c..7d3929862e9cac034bf0360379eb108ca25c5e9b 100644 (file)
@@ -72,7 +72,7 @@ if ((!isGetRequestElementSet('do')) || (getRequestElement('do') == 'choose')) {
                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
index 915500d4d7aba0bf78abef0429f65ad1d269ac77..9a1ecb313b820ad631b12d3ccf10e609f0e7c6b2 100644 (file)
@@ -77,7 +77,7 @@ if (empty($url)) {
        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()
index 6888a955a991749cb8c986e86655d6e2c752e533..fa3cf9904716312630c845053246870856bddc91 100644 (file)
@@ -49,10 +49,10 @@ if (!defined('__SECURITY')) {
 
 // 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
index 006210e96add7c21345a47034a56e36881073d73..662cd1641a36890c7e8d0e837c34551d37fef528 100644 (file)
@@ -52,7 +52,13 @@ $message = '';
 
 // 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
index ded3689a7354e81c05947162057e4cf01adf81b0..bb08ec125dd5849870c594a3421a052fc88e052d 100644 (file)
@@ -48,13 +48,17 @@ if (!defined('__SECURITY')) {
 }
 
 // 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__);
index 691fbd4cba6ed88da5378b0de1bdd3989ba28544..db1db43c106c11241a12ca79cf5915854f839db0 100644 (file)
@@ -636,14 +636,14 @@ function addMaxReceiveList ($mode, $default = '') {
        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;
 
@@ -748,7 +748,7 @@ function isMenuActionValid ($mode, $action, $what, $updateEntry = false) {
                        ), __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,
@@ -756,7 +756,7 @@ function isMenuActionValid ($mode, $action, $what, $updateEntry = false) {
                        ), __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
@@ -959,7 +959,7 @@ function removeReceiver (&$receivers, $key, $userid, $poolId, $statsId = 0, $isB
                        // 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),
@@ -1354,7 +1354,7 @@ function generateOptions ($table, $key, $value, $default = '', $extra = '', $whe
                } // 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,
@@ -1796,7 +1796,7 @@ function reduceRecipientReceivedMails ($column, $id, $count) {
 // 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),
@@ -1860,52 +1860,52 @@ function doGenericListEntries ($tableTemplate, $rowTemplate, $noEntryMessageId,
        }
 
        // 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
@@ -1916,7 +1916,7 @@ function doGenericListEntries ($tableTemplate, $rowTemplate, $noEntryMessageId,
        // 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)));
@@ -1925,25 +1925,25 @@ function doGenericListEntries ($tableTemplate, $rowTemplate, $noEntryMessageId,
                        // 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)) {
@@ -2061,7 +2061,7 @@ function doGenericAddEntries ($tableName, $columns = array(), $filterFunctions =
        // 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__);
@@ -2226,8 +2226,14 @@ function doGenericDeleteEntriesConfirm ($tableName, $columns = array(), $filterF
                $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?
index 77ef4a9aff52a05d74f1f6db4bc22f78ce54286a..f3ab83bd2d7124f637d2be0121e2d5c8ee95397c 100644 (file)
@@ -106,7 +106,7 @@ ORDER BY
        // 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';
index 0371f26ca3aacd18904e9751b5f42597f80f2718..0517925652473c1179536c52c4f5f069a673fe31 100644 (file)
@@ -50,7 +50,9 @@ if ((!isExtensionActive('autopurge')) || (!isAutoPurgingActive())) {
 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
index 0d3f523306c1ffe685776a698e05bb2d253bac5a..ad4b3f9feed2a9b4ce82ea769e87b9d0002cfce0 100644 (file)
@@ -160,7 +160,7 @@ function addPointsThroughReferralSystem ($subject, $userid, $points, $refid = NU
                        // 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),
@@ -335,7 +335,7 @@ function updateReferralCounter ($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])
@@ -475,7 +475,7 @@ function getPointsDataArrayFromSubject ($subject) {
        } // 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?
@@ -489,7 +489,7 @@ function getPointsDataArrayFromSubject ($subject) {
                } // 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
@@ -682,7 +682,7 @@ function flushReferralTableToDatabase ($userid) {
        } // 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
index bbd3036c38c75a9d01b7ee72833c54f10e9292f4..d684cbd07edbe0564940e50d547e33cb918c765b 100644 (file)
@@ -184,7 +184,7 @@ function getInsertSqlFromArray ($array, $tableName) {
        $SQL = 'INSERT INTO
 `{?_MYSQL_PREFIX?}_' . $tableName . '`
 (
-`' . implode('`,`', array_keys(postRequestArray())) . '`
+`' . implode('`, `', array_keys(postRequestArray())) . '`
 ) VALUES (';
 
        // Walk through all entries
index a6308e25b3518527a1f868ef39a197ebbebdfeab..816be3410d7a723eb21656bb336bc1afe907cddc 100644 (file)
@@ -111,7 +111,7 @@ function loadStatsTable () {
        } // 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__);
@@ -162,7 +162,7 @@ function writeStatsTable () {
                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
index c5b91618903a39937d4f9187fdc69887b7dc31c8..abad4aefb06772d107923099d2aeb4e967c6922a 100644 (file)
@@ -1,84 +1,84 @@
-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&uuml;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 &auml;ndern','Hier k&ouml;nnen Sie u.a. die gebuchte URL der Emails um&auml;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 &auml;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&ouml;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','&Auml;ndern oder l&ouml;schen Sie bereits bestehende Kategorien oder f&uuml;gen Sie weitere hinzu.',7);
-INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`,`what`,`title`,`descr`,`sort`) VALUES ('setup','refbanner','Referral-Banner','F&uuml;gen Sie neue Banner hinzu, die dann die Mitglieder verlinken k&ouml;nnen, um neue Mitglieder zu werben. Oder editieren / l&ouml;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&uuml;tungen','F&uuml;gen Sie neue {OPEN_CONFIG}POINTS{CLOSE_CONFIG}-Verg&uuml;tungen hinzu oder &auml;ndern / l&ouml;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&ouml;scht und Sie m&uuml;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&uuml;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 &auml;ndern','Hier k&ouml;nnen Sie u.a. die gebuchte URL der Emails um&auml;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 &auml;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&ouml;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','&Auml;ndern oder l&ouml;schen Sie bereits bestehende Kategorien oder f&uuml;gen Sie weitere hinzu.',7);
+INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`, `what`, `title`, `descr`, `sort`) VALUES ('setup','refbanner','Referral-Banner','F&uuml;gen Sie neue Banner hinzu, die dann die Mitglieder verlinken k&ouml;nnen, um neue Mitglieder zu werben. Oder editieren / l&ouml;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&uuml;tungen','F&uuml;gen Sie neue {OPEN_CONFIG}POINTS{CLOSE_CONFIG}-Verg&uuml;tungen hinzu oder &auml;ndern / l&ouml;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&ouml;scht und Sie m&uuml;ssen sich erneut anmelden.',999);
 
-INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`,`visible`,`sort`) VALUES ('Mix / Alles Senden --&gt; keine Erotik!','Y',0);
-INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`,`visible`,`sort`) VALUES ('Mix / Alles Senden --&gt; 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&ouml;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 &amp; 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 --&gt; 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 --&gt; keine Erotik!','Y',0);
+INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`, `visible`, `sort`) VALUES ('Mix / Alles Senden --&gt; 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&ouml;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 &amp; 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 --&gt; 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&uuml;',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&auml;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&uuml;',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&auml;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&ouml;glich!');
-INSERT INTO `{?_MYSQL_PREFIX?}_max_receive` (`value`,`comment`) VALUES (90,'Bonus m&ouml;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&ouml;glich!');
+INSERT INTO `{?_MYSQL_PREFIX?}_max_receive` (`value`, `comment`) VALUES (90,'Bonus m&ouml;glich!');
 
-INSERT INTO `{?_MYSQL_PREFIX?}_member_menu` (`action`,`what`,`title`,`sort`,`visible`,`locked`) VALUES ('main',NULL,'Mitgliedsmen&uuml;',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&auml;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&auml;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&uuml;',1000,'Y','N');
+INSERT INTO `{?_MYSQL_PREFIX?}_member_menu` (`action`, `what`, `title`, `sort`, `visible`, `locked`) VALUES ('main',NULL,'Mitgliedsmen&uuml;',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&auml;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&auml;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&uuml;',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&ouml;schen','L&ouml;schen Sie hierr&uuml;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&auml;tigten Mails werden dem Werber wieder verg&uuml;tet.','7');
-INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`,`what`,`title`,`descr`,`sort`) VALUES ('misc','extensions','Erweiterungen','Erweiterungen installieren, updaten, sperren, l&ouml;schen usw.','8');
+INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`, `what`, `title`, `descr`, `sort`) VALUES ('email','del_email','E-Mail l&ouml;schen','L&ouml;schen Sie hierr&uuml;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&auml;tigten Mails werden dem Werber wieder verg&uuml;tet.','7');
+INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`, `what`, `title`, `descr`, `sort`) VALUES ('misc','extensions','Erweiterungen','Erweiterungen installieren, updaten, sperren, l&ouml;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');
index 73ce24151265b062135010a092de33b010144db1..ee7aa47d11a0518adf01d874c733c382ebe7047d 100644 (file)
@@ -1,84 +1,84 @@
-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&uuml;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 &auml;ndern','Hier k&ouml;nnen Sie u.a. die gebuchte URL der Emails um&auml;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 &auml;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&ouml;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','&Auml;ndern oder l&ouml;schen Sie bereits bestehende Kategorien oder f&uuml;gen Sie weitere hinzu.',7);
-INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`,`what`,`title`,`descr`,`sort`) VALUES ('setup','refbanner','Referral-Banner','F&uuml;gen Sie neue Banner hinzu, die dann die Mitglieder verlinken k&ouml;nnen, um neue Mitglieder zu werben. Oder editieren / l&ouml;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&uuml;tungen','F&uuml;gen Sie neue {OPEN_CONFIG}POINTS{CLOSE_CONFIG}-Verg&uuml;tungen hinzu oder &auml;ndern / l&ouml;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&ouml;scht und Sie m&uuml;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&uuml;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 &auml;ndern','Hier k&ouml;nnen Sie u.a. die gebuchte URL der Emails um&auml;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 &auml;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&ouml;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','&Auml;ndern oder l&ouml;schen Sie bereits bestehende Kategorien oder f&uuml;gen Sie weitere hinzu.',7);
+INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`, `what`, `title`, `descr`, `sort`) VALUES ('setup','refbanner','Referral-Banner','F&uuml;gen Sie neue Banner hinzu, die dann die Mitglieder verlinken k&ouml;nnen, um neue Mitglieder zu werben. Oder editieren / l&ouml;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&uuml;tungen','F&uuml;gen Sie neue {OPEN_CONFIG}POINTS{CLOSE_CONFIG}-Verg&uuml;tungen hinzu oder &auml;ndern / l&ouml;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&ouml;scht und Sie m&uuml;ssen sich erneut anmelden.',999);
 
-INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`,`visible`,`sort`) VALUES ('Mix / Alles Senden --&gt; keine Erotik!','Y',0);
-INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`,`visible`,`sort`) VALUES ('Mix / Alles Senden --&gt; 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&ouml;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 &amp; 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 --&gt; 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 --&gt; keine Erotik!','Y',0);
+INSERT INTO `{?_MYSQL_PREFIX?}_cats` (`cat`, `visible`, `sort`) VALUES ('Mix / Alles Senden --&gt; 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&ouml;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 &amp; 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 --&gt; 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&uuml;',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&auml;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&uuml;',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&auml;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&ouml;glich!');
-INSERT INTO `{?_MYSQL_PREFIX?}_max_receive` (`value`,`comment`) VALUES (90,'Bonus m&ouml;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&ouml;glich!');
+INSERT INTO `{?_MYSQL_PREFIX?}_max_receive` (`value`, `comment`) VALUES (90,'Bonus m&ouml;glich!');
 
-INSERT INTO `{?_MYSQL_PREFIX?}_member_menu` (`action`,`what`,`title`,`sort`,`visible`,`locked`) VALUES ('main',NULL,'Mitgliedsmen&uuml;',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&auml;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&auml;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&uuml;',1000,'Y','N');
+INSERT INTO `{?_MYSQL_PREFIX?}_member_menu` (`action`, `what`, `title`, `sort`, `visible`, `locked`) VALUES ('main',NULL,'Mitgliedsmen&uuml;',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&auml;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&auml;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&uuml;',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&ouml;schen','L&ouml;schen Sie hierr&uuml;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&auml;tigten Mails werden dem Werber wieder verg&uuml;tet.','7');
-INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`,`what`,`title`,`descr`,`sort`) VALUES ('misc','extensions','Erweiterungen','Erweiterungen installieren, updaten, sperren, l&ouml;schen usw.','8');
+INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`, `what`, `title`, `descr`, `sort`) VALUES ('email','del_email','E-Mail l&ouml;schen','L&ouml;schen Sie hierr&uuml;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&auml;tigten Mails werden dem Werber wieder verg&uuml;tet.','7');
+INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`, `what`, `title`, `descr`, `sort`) VALUES ('misc','extensions','Erweiterungen','Erweiterungen installieren, updaten, sperren, l&ouml;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');
index 43ccce3f6d4de2619f30f824b9cd99b78787a82a..6f177fc6742ef77017a202c6aa362ec796d08c3f 100644 (file)
@@ -205,20 +205,20 @@ CREATE TABLE `{?_MYSQL_PREFIX?}_jackpot` (
 
 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);
index fc7e64ae70bf211417d9ffdfeb39de8d02d4036c..fcf1e3beac9f0375ece5a96a985ade1fe4df60e3 100644 (file)
@@ -103,7 +103,7 @@ if ((isValidUserId($userId)) && (($mailId > 0) || ($bonusId > 0)) && (!ifFatalEr
                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;
 
@@ -112,7 +112,7 @@ if ((isValidUserId($userId)) && (($mailId > 0) || ($bonusId > 0)) && (!ifFatalEr
                                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;
 
@@ -159,7 +159,7 @@ if ((isValidUserId($userId)) && (($mailId > 0) || ($bonusId > 0)) && (!ifFatalEr
                                                        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);
index ca8c3a57410b1e6f8d3039c303d6ee0d7b890861..15228331df02b4f469b3900d37795f52a504c0f0 100644 (file)
@@ -165,7 +165,7 @@ if ((isValidUserId($userId)) && (($mailId > 0) || ($bonusId > 0)) && (!ifFatalEr
                                                        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?
index e8a7f377b4b7ba7bf18e203e1322c21704de2df5..5eef712c65381bf90f17af7ea8d37f7b4bec8f86 100644 (file)
@@ -1,5 +1,5 @@
 <div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&amp;what=list_networks&amp;do=add_network%}" method="post">
+<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&amp;what=list_network_data&amp;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">
index 5903a69c4b226b5344d54ff5da73e622b1ff73fa..79b2d0f331516e5ac7705fa6c5498048cb12f2c1 100644 (file)
@@ -10,7 +10,7 @@
                </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--}" />
diff --git a/templates/de/html/admin/admin_delete_extensions.tpl b/templates/de/html/admin/admin_delete_extensions.tpl
new file mode 100644 (file)
index 0000000..87483ea
--- /dev/null
@@ -0,0 +1,22 @@
+<div align="center">
+<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&amp;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>
diff --git a/templates/de/html/admin/admin_delete_extensions_row.tpl b/templates/de/html/admin/admin_delete_extensions_row.tpl
new file mode 100644 (file)
index 0000000..a2ba0af
--- /dev/null
@@ -0,0 +1,17 @@
+<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>
diff --git a/templates/de/html/admin/admin_delete_extensions_row_404.tpl b/templates/de/html/admin/admin_delete_extensions_row_404.tpl
new file mode 100644 (file)
index 0000000..229e81b
--- /dev/null
@@ -0,0 +1,8 @@
+<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>
index c0c8452093fc3bf64ca062052f1ed1192d8c4e4b..1ab7cb5dfb027fa41689c7561d9c85bd739addea 100644 (file)
@@ -1,5 +1,5 @@
 <div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&amp;what=list_networks&amp;do=remove_networks%}" method="post">
+<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&amp;what=list_network_data&amp;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">
diff --git a/templates/de/html/admin/admin_edit_extensions.tpl b/templates/de/html/admin/admin_edit_extensions.tpl
new file mode 100644 (file)
index 0000000..a9ac2b9
--- /dev/null
@@ -0,0 +1,24 @@
+<div align="center">
+<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&amp;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>
diff --git a/templates/de/html/admin/admin_edit_extensions_row.tpl b/templates/de/html/admin/admin_edit_extensions_row.tpl
new file mode 100644 (file)
index 0000000..bfbff43
--- /dev/null
@@ -0,0 +1,15 @@
+<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>
index 2be7b7b0c42935550f5812f0f57493aac0ac8c32..097ddb05506a42827791d73c8309e81dc6737fb7 100644 (file)
@@ -3,7 +3,7 @@
        {--ADMIN_LIST_NETWORK_REFERRAL_LINK_NOTICE--}
 </div>
 
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&amp;what=list_networks&amp;do=change_networks%}" method="post">
+<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&amp;what=list_network_data&amp;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">
index d66493459d53dc2606c048cc1962ba4ca8133b10..11f5d85d80b1ca4d16cf4c19e14af24e5ec2a60f 100644 (file)
@@ -1,27 +1 @@
-<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&amp;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 //-->
index 87483eac4096074365cea972153437480651516e..11f5d85d80b1ca4d16cf4c19e14af24e5ec2a60f 100644 (file)
@@ -1,22 +1 @@
-<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&amp;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 //-->
index a2ba0af380ff76de23b7f1f3f3ee9c55c1599c69..11f5d85d80b1ca4d16cf4c19e14af24e5ec2a60f 100644 (file)
@@ -1,17 +1 @@
-<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 //-->
index ca9cf056dc7108925c97a54f72ebf7a2514d4fad..11f5d85d80b1ca4d16cf4c19e14af24e5ec2a60f 100644 (file)
@@ -1,8 +1 @@
-<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 //-->
index a9ac2b95aa480ce5e1e76705d814237ef0eaad1c..11f5d85d80b1ca4d16cf4c19e14af24e5ec2a60f 100644 (file)
@@ -1,24 +1 @@
-<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&amp;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 //-->
index 95f70983c4cc57928d9e8daced8cc33353655d40..11f5d85d80b1ca4d16cf4c19e14af24e5ec2a60f 100644 (file)
@@ -1,10 +1 @@
-<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">
-       &nbsp;&nbsp;$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 //-->
index c3785a6fd55dca9a2cd48deb7d1ae0bded58a061..11f5d85d80b1ca4d16cf4c19e14af24e5ec2a60f 100644 (file)
@@ -1,17 +1 @@
-<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 //-->
diff --git a/templates/de/html/admin/admin_list_extensions.tpl b/templates/de/html/admin/admin_list_extensions.tpl
new file mode 100644 (file)
index 0000000..d1b5a5b
--- /dev/null
@@ -0,0 +1,27 @@
+<div align="center">
+<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&amp;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>
diff --git a/templates/de/html/admin/admin_list_extensions_row.tpl b/templates/de/html/admin/admin_list_extensions_row.tpl
new file mode 100644 (file)
index 0000000..c3785a6
--- /dev/null
@@ -0,0 +1,17 @@
+<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>
diff --git a/templates/de/html/admin/admin_list_network_data.tpl b/templates/de/html/admin/admin_list_network_data.tpl
new file mode 100644 (file)
index 0000000..deed55c
--- /dev/null
@@ -0,0 +1,48 @@
+<div align="center">
+<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&amp;what=list_network_data&amp;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">&nbsp;</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">&nbsp;</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&amp;what=list_network_data&amp;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>
diff --git a/templates/de/html/admin/admin_list_network_data_row.tpl b/templates/de/html/admin/admin_list_network_data_row.tpl
new file mode 100644 (file)
index 0000000..e47dea2
--- /dev/null
@@ -0,0 +1,33 @@
+<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&amp;what=config_network_api&amp;network_id=$content[network_id]%}" title="{--ADMIN_NETWORK_API_CONFIG_LINK_TITLE--}">AC</a>|<a
+                href="{%url=modules.php?module=admin&amp;what=config_network_types&amp;network_id=$content[network_id]%}" title="{--ADMIN_NETWORK_TYPE_HANDLER_CONFIG_LINK_TITLE--}">TC</a>|<a
+                href="{%url=modules.php?module=admin&amp;what=list_network_types&amp;network_id=$content[network_id]%}" title="{--ADMIN_LIST_NETWORK_HANDLER_TYPES_LINK_TITLE--}">T</a>|<a
+                href="{%url=modules.php?module=admin&amp;what=list_network_request_params&amp;network_id=$content[network_id]%}" title="{--ADMIN_LIST_NETWORK_REQUEST_PARAMS_LINK_TITLE--}">P</a>|<a
+                href="{%url=modules.php?module=admin&amp;what=list_network_array_translation&amp;network_id=$content[network_id]%}" title="{--ADMIN_LIST_NETWORK_ARRAY_TRANSLATION_LINK_TITLE--}">RC</a>|<a
+                href="{%url=modules.php?module=admin&amp;what=list_network_error_codes&amp;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>
index 4d705b93550b6ab3eb33f8df99e830a5e1efa9dd..79e3eaf15499d5955ef30584774dc9b2ccb55642 100644 (file)
@@ -14,7 +14,7 @@
        <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>
index 0f215790bd62a803c0dffd7cc6649266e553c253..340d3be143acb2b4f6e6a2aaebe0f0f266c1227d 100644 (file)
@@ -12,6 +12,6 @@
                $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>
index 5edf164756dd6b5792d3a92764f39b67af693271..405d29b7c0404a1caa665b7cc84724d0c84ac6d9 100644 (file)
@@ -2,7 +2,7 @@
 <form accept-charset="UTF-8" action="{%url=modules.php?module=admin&amp;what=list_network_types&amp;do=handle_network_types&amp;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--}" />
index 7fcb56937cf94c685fcf84b26e1fdac453dad575..739087a7b0585847672f3ca31968617dedbd8a03 100644 (file)
                $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>
index 5a2004d105ece06f5dbc192b9c40eade33d14b7b..8df354e299be6fff5084384105180dca4efda6ac 100644 (file)
@@ -9,6 +9,6 @@
                $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>
index 250542e36419729646cb323cf7df98e87b264b4f..11f5d85d80b1ca4d16cf4c19e14af24e5ec2a60f 100644 (file)
@@ -1,48 +1 @@
-<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&amp;what=list_networks&amp;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">&nbsp;</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">&nbsp;</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&amp;what=list_networks&amp;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 //-->
index e47dea204a905ac8fb1e271787e9b64d0ac514e6..11f5d85d80b1ca4d16cf4c19e14af24e5ec2a60f 100644 (file)
@@ -1,33 +1 @@
-<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&amp;what=config_network_api&amp;network_id=$content[network_id]%}" title="{--ADMIN_NETWORK_API_CONFIG_LINK_TITLE--}">AC</a>|<a
-                href="{%url=modules.php?module=admin&amp;what=config_network_types&amp;network_id=$content[network_id]%}" title="{--ADMIN_NETWORK_TYPE_HANDLER_CONFIG_LINK_TITLE--}">TC</a>|<a
-                href="{%url=modules.php?module=admin&amp;what=list_network_types&amp;network_id=$content[network_id]%}" title="{--ADMIN_LIST_NETWORK_HANDLER_TYPES_LINK_TITLE--}">T</a>|<a
-                href="{%url=modules.php?module=admin&amp;what=list_network_request_params&amp;network_id=$content[network_id]%}" title="{--ADMIN_LIST_NETWORK_REQUEST_PARAMS_LINK_TITLE--}">P</a>|<a
-                href="{%url=modules.php?module=admin&amp;what=list_network_array_translation&amp;network_id=$content[network_id]%}" title="{--ADMIN_LIST_NETWORK_ARRAY_TRANSLATION_LINK_TITLE--}">RC</a>|<a
-                href="{%url=modules.php?module=admin&amp;what=list_network_error_codes&amp;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 //-->
diff --git a/templates/de/html/admin/admin_list_user_subid.tpl b/templates/de/html/admin/admin_list_user_subid.tpl
new file mode 100644 (file)
index 0000000..47d89b3
--- /dev/null
@@ -0,0 +1,26 @@
+<div align="center">
+<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&amp;what=list_user_subid%}&amp;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>
diff --git a/templates/de/html/admin/admin_list_user_subid_row.tpl b/templates/de/html/admin/admin_list_user_subid_row.tpl
new file mode 100644 (file)
index 0000000..234d91b
--- /dev/null
@@ -0,0 +1,19 @@
+<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&amp;what=list_user_subid&amp;do=stats&amp;userid=$content[userid]&amp;id=$content[id]%}">{--ADMIN_USER_SUBID_STATS_LINK--}</a>
+               </div>
+       </td>
+       <td align="center" class="bottom {%template,ColorSwitch%}">
+               $content[subid_added]
+       </td>
+</tr>
diff --git a/templates/de/html/admin/admin_list_user_subid_stats.tpl b/templates/de/html/admin/admin_list_user_subid_stats.tpl
new file mode 100644 (file)
index 0000000..ebd2571
--- /dev/null
@@ -0,0 +1,31 @@
+<div align="center">
+<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&amp;what=list_user_subid&amp;do=stats%}&amp;userid={%get,bigintval=userid%}&amp;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
diff --git a/templates/de/html/admin/admin_list_user_subid_stats_row.tpl b/templates/de/html/admin/admin_list_user_subid_stats_row.tpl
new file mode 100644 (file)
index 0000000..1aa825e
--- /dev/null
@@ -0,0 +1,20 @@
+<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>
index 3f03f785da5c5c2e42777822e4d45879fc33e6ec..af1c3c8126a0d900b6dff2c56c614e8dbf4b5267 100644 (file)
@@ -23,5 +23,5 @@
 </div>
 
 <div class="notice">
-       {--MEMBER_SUBID_STATS_NOTICE--}
+       {--MEMBER_USER_SUBID_STATS_NOTICE--}
 </div
diff --git a/templates/xml/admin/admin_delete_do_user_subid_stats.xml b/templates/xml/admin/admin_delete_do_user_subid_stats.xml
new file mode 100644 (file)
index 0000000..342e060
--- /dev/null
@@ -0,0 +1,82 @@
+<?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>
diff --git a/templates/xml/admin/admin_list_user_subid_stats.xml b/templates/xml/admin/admin_list_user_subid_stats.xml
new file mode 100644 (file)
index 0000000..c6da886
--- /dev/null
@@ -0,0 +1,127 @@
+<?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>
index 9fb05e44c6231f6c7f7dc0bf611f40a06008f19d..4c1882a5409015d05aa75b7ea2f142c0a12f78d7 100644 (file)
@@ -45,7 +45,7 @@ MA  02110-1301  USA
        <!--
        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.
        //-->