From c6bd3b9962b4398407e7f6c3c1c62e9869cf04ec Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 17 Dec 2009 10:09:49 +0000 Subject: [PATCH] More network types and request parameters added, POST rerequest fixed --- inc/extensions/ext-network.php | 654 ++++++++++++++++++++++++++++++++- inc/functions.php | 6 +- inc/libs/network_functions.php | 12 + 3 files changed, 656 insertions(+), 16 deletions(-) diff --git a/inc/extensions/ext-network.php b/inc/extensions/ext-network.php index 3839a7cf74..ff92729c00 100644 --- a/inc/extensions/ext-network.php +++ b/inc/extensions/ext-network.php @@ -233,7 +233,7 @@ PRIMARY KEY (`network_reload_id`) addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_data` (`network_short_name`, `network_title`, `network_reflink`, `network_data_seperator`, `network_row_seperator`, `network_request_type`, `network_charset`) VALUES ('a3h', 'A3H', 'http://www.a3h.de?ref=1447', '|', '|', 'GET', 'WINDOWS-1252'), ('abiszed','AbisZED-Netz','http://abiszed-netz.de/index.php?ref=557', '|', '|', 'GET', 'WINDOWS-1252'), -('ad-magnet', 'AD-Magnet', 'http://www.ad-magnet.de/index.php?ref=495', '|', '|', 'GET', 'ISO-8859-1'), +('admagnet', 'AD-Magnet', 'http://www.ad-magnet.de/index.php?ref=495', '|', '|', 'GET', 'ISO-8859-1'), ('adcocktail', 'ADCocktail', 'http://www.adcocktail.com/?rid=2596', '|', '|', 'GET', 'WINDOWS-1252'), ('ads4', 'Ads4.de', 'http://www.ads4.de/?werber=Quix0r', '|', '|', 'GET', 'WINDOWS-1252'), ('ads4webbis', 'Ads4Webbis', 'http://www.ads4webbis.de?ref=835', '|', '|', 'GET', 'UTF-8'), @@ -244,12 +244,13 @@ PRIMARY KEY (`network_reload_id`) ('fusion', 'Fusion-Ads', 'http://www.fusion-ads.de/?ref=84', '|', '|', 'GET', 'UTF-8'), ('make-euros', 'Make-Euros.de', 'http://www.make-euros.de?ref=1184', '|', '|', 'GET', 'ISO-8859-1'), ('power-promo', 'Power-Promo', 'http://www.power-promo.de?ref=1231', '|', '|', 'GET', 'WINDOWS-1252'), +('secash', 'SeCash', 'http://www.secash.de?ref=758', '|', '|', 'GET', 'UTF-8'), ('yoomedia', 'Yoo!Media Solutions', 'http://www.yoomedia.de?ref=1715', '|', '|', 'GET', 'WINDOWS-1252')"); // Network type handlers - A3H addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`,`network_type_handle`,`network_type_api_url`,`network_type_click_url`,`network_type_banner_url`) VALUES (1, 1, 'banner', 'http://www.a3h.de/interface/out_banner.php', 'http://www.a3h.de/bannerklf.php?id=%CID%', 'http://www.a3h.de/banner.php?id=%CID%'), -(2, 1, 'textlink', 'http://www.a3h.de/interface/ out_textlink.php', 'http://www.a3h.de/textlinkklick.php?id=%CID%', NULL), +(2, 1, 'textlink', 'http://www.a3h.de/interface/out_textlink.php', 'http://www.a3h.de/textlinkklick.php?id=%CID%', NULL), (3, 1, 'surfbar', 'http://www.a3h.de/interface/out_sbanner.php', 'http://www.a3h.de/bannerklf.php?id=%CID%', 'http://www.a3h.de/banner.php?id=%CID%'), (4, 1, 'focredbanner', 'http://www.a3h.de/interface/out_fbanner.php', 'http://www.a3h.de/bannerklf.php?id=%CID%', 'http://www.a3h.de/banner.php?id=%CID%'), (5, 1, 'textmail', 'http://www.a3h.de/interface/out_paidmail.php', 'http://www.a3h.de/emailf.php?id=%CID%', NULL), @@ -288,18 +289,102 @@ PRIMARY KEY (`network_reload_id`) (25, 6, 'textmail', 'http://www.ads4webbis.de/interface/', 'http://www.ads4webbis.de/codes/paidmail.php?id=%ID%&bid=%CID%&aid=%SID%', NULL)"); // Network type handlers - Ads4World + addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handle`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`) VALUES +(29, 7, 'banner_click', 'http://www.ads4world.de/interface/', 'http://www.ads4world.de/codes/klickbanner.php?id=%ID%&bid=%CID%&aid=%SID%', 'http://www.ads4world.de/codes/viewbanner.php?id=%ID%&bid=%CID%&aid=%SID%'), +(28, 7, 'banner_view', 'http://www.ads4world.de/interface/', 'http://www.ads4world.de/codes/bannerklick.php?id=%ID%&bid=%CID%&aid=%SID%', 'http://www.ads4world.de/codes/bannerview.php?id=%ID%&bid=%CID%&aid=%SID%'), +(31, 7, 'button_view', 'http://www.ads4world.de/interface/', 'http://www.ads4world.de/codes/buttonklick.php?id=%ID%&bid=%CID%&aid=%SID%', 'http://www.ads4world.de/codes/buttonview.php?id=%ID%&bid=%CID%&aid=%SID%'), +(26, 7, 'focredbanner', 'http://www.ads4world.de/interface/', 'http://www.ads4world.de/codes/forcedbannerklick.php?id=%ID%&bid=%CID%&aid=%SID%', 'http://www.ads4world.de/codes/forcedbannerview.php?id=%ID%&bid=%CID%&aid=%SID%'), +(27, 7, 'forcedtextlink', 'http://www.ads4world.de/interface/', 'http://www.ads4world.de/codes/forcedtextlinkklick.php?id=%ID%&bid=%CID%&aid=%SID%', NULL), +(33, 7, 'popup', 'http://www.ads4world.de/interface/', 'http://www.ads4world.de/codes/popup.php?id=%ID%&bid=%CID%&aid=%SID%', NULL), +(30, 7, 'skybanner_view', 'http://www.ads4world.de/interface/', 'http://www.ads4world.de/codes/skybannerklick.php?id=%ID%&bid=%CID%&aid=%SID%', 'http://www.ads4world.de/codes/skybannerview.php?id=%ID%&bid=%CID%&aid=%SID%'), +(32, 7, 'textlink_view', 'http://www.ads4world.de/interface/', 'http://www.ads4world.de/codes/textlinkview.php?id=%ID%&bid=%CID%&aid=%SID%', NULL), +(34, 7, 'textmail', 'http://www.ads4world.de/interface/', 'http://www.ads4world.de/codes/paidmail.php?id=%ID%&bid=%CID%&aid=%SID%', NULL)"); // Network type handlers - Affiliblatt // Network type handlers - Alster-Marketing + addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handle`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`) VALUES +(35, 9, '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%'), +(45, 9, '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%'), +(38, 9, 'focredbanner', 'http://if.alstermarketing.de/interface/out_fbanner.php', 'http://www.alstermarketing.de/bannerklf.php?id=%CID%', 'http://www.alstermarketing.de/banner.php?id=%CID%'), +(48, 9, 'htmlmail', 'http://if.alstermarketing.de/interface/out_paidmail.php', 'http://www.alstermarketing.de/emailf.php?id=%CID%', NULL), +(40, 9, 'layer_click', 'http://if.alstermarketing.de/interface/out_layer.php', 'http://www.alstermarketing.de/layer.php?id=%CID%', NULL), +(49, 9, 'layer_view', 'http://if.alstermarketing.de/interface/out_layer.php', 'http://www.alstermarketing.de/layer.php?id=%CID%', NULL), +(43, 9, 'lead', 'http://if.alstermarketing.de/interface/out_lead.php', 'http://www.alstermarketing.de/lead.php?id=%CID%', NULL), +(42, 9, 'popdown', 'http://if.alstermarketing.de/interface/out_popdown.php', 'http://www.alstermarketing.de/popdown.php?id=%CID%', NULL), +(41, 9, 'popup', 'http://if.alstermarketing.de/interface/out_popup.php', 'http://www.alstermarketing.de/popup.php?id=%CID%', NULL), +(44, 9, 'sale', 'http://if.alstermarketing.de/interface/out_sale.php', 'http://www.alstermarketing.de/sale.php?id=%CID%', NULL), +(37, 9, 'surfbar_click', 'http://if.alstermarketing.de/interface/out_sbanner.php', 'http://www.alstermarketing.de/bannerklf.php?id=%CID%', 'http://www.alstermarketing.de/banner.php?id=%CID%'), +(47, 9, 'surfbar_view', 'http://if.alstermarketing.de/interface/out_sbanner.php', 'http://www.alstermarketing.de/bannerklf.php?id=%CID%', 'http://www.alstermarketing.de/banner.php?id=%CID%'), +(36, 9, 'textlink_click', 'http://if.alstermarketing.de/interface/out_textlink.php', 'http://www.alstermarketing.de/textlinkklick.php?id=%CID%', NULL), +(46, 9, 'textlink_view', 'http://if.alstermarketing.de/interface/out_textlink.php', 'http://www.alstermarketing.de/textlinkklick.php?id=%CID%', NULL), +(39, 9, 'textmail', 'http://if.alstermarketing.de/interface/out_paidmail.php', 'http://www.alstermarketing.de/emailf.php?id=%CID%', NULL)"); // Network type handlers - BonusSponsor + addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handle`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`) VALUES +(50, 10, '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%'), +(51, 10, '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%'), +(54, 10, 'focredbanner', 'http://www.bonussponsor.de/interface/out_fbanner.php', 'http://www.bonussponsor.de/bannerklf.php?id=%CID%', 'http://www.bonussponsor.de/banner.php?id=%CID%'), +(56, 10, 'htmlmail', 'http://www.bonussponsor.de/interface/out_paidmail.php', 'http://www.bonussponsor.de/emailf.php?id=%CID%', NULL), +(57, 10, 'layer_click', 'http://www.bonussponsor.de/interface/out_layer.php', 'http://www.bonussponsor.de/layer.php?id=%CID%', NULL), +(58, 10, 'layer_view', 'http://www.bonussponsor.de/interface/out_layer.php', 'http://www.bonussponsor.de/layer.php?id=%CID%', NULL), +(61, 10, 'lead', 'http://www.bonussponsor.de/interface/out_lead.php', 'http://www.bonussponsor.de/lead.php?id=%CID%', NULL), +(60, 10, 'popdown', 'http://www.bonussponsor.de/interface/out_popdown.php', 'http://www.bonussponsor.de/popdown.php?id=%CID%', NULL), +(59, 10, 'popup', 'http://www.bonussponsor.de/interface/out_popup.php', 'http://www.bonussponsor.de/popup.php?id=%CID%', NULL), +(62, 10, 'sale', 'http://www.bonussponsor.de/interface/out_sale.php', 'http://www.bonussponsor.de/sale.php?id=%CID%', NULL), +(52, 10, 'textlink_click', 'http://www.bonussponsor.de/interface/out_textlink.php', 'http://www.bonussponsor.de/textlinkklick.php?id=%CID%', NULL), +(53, 10, 'textlink_view', 'http://www.bonussponsor.de/interface/out_textlink.php', 'http://www.bonussponsor.de/textlinkklick.php?id=%CID%', NULL), +(55, 10, 'textmail', 'http://www.bonussponsor.de/interface/out_paidmail.php', 'http://www.bonussponsor.de/emailf.php?id=%CID%', NULL)"); // Network type handlers - Fusion-Ads // Network type handlers - Make-Euros + addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handle`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`) VALUES +(63, 12, '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%'), +(64, 12, '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%'), +(68, 12, 'focredbanner', '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%'), +(71, 12, 'htmlmail', 'http://www.make-euros.de/interface/out_paidmail.php', 'http://www.make-euros.de/emailf.php?id=%CID%', NULL), +(72, 12, 'layer_click', 'http://www.make-euros.de/interface/out_layer.php', 'http://www.make-euros.de/layer.php?id=%CID%', NULL), +(73, 12, 'layer_view', 'http://www.make-euros.de/interface/out_layer.php', 'http://www.make-euros.de/layer.php?id=%CID%', NULL), +(76, 12, 'lead', 'http://www.make-euros.de/interface/out_lead.php', 'http://www.make-euros.de /lead.php?id=%CID%', NULL), +(75, 12, 'popdown', 'http://www.make-euros.de/interface/out_popdown.php', 'http://www.make-euros.de/popdown.php?id=%CID%', NULL), +(74, 12, 'popup', 'http://www.make-euros.de/interface/out_popup.php', 'http://www.make-euros.de/popup.php?id=%CID%', NULL), +(77, 12, 'sale', 'http://www.make-euros.de/interface/out_sale.php', 'http://www.make-euros.de /sale.php?id=%CID%', NULL), +(67, 12, 'surfbar_click', 'http://www.make-euros.de/interface/out_sbanner.php', 'http://www.make-euros.de/bannerklf.php?id=%CID%', 'http://www.make-euros.de/banner.php?id=%CID%'), +(69, 12, 'surfbar_view', 'http://www.make-euros.de/interface/out_sbanner.php', 'http://www.make-euros.de/bannerklf.php?id=%CID%', 'http://www.make-euros.de/banner.php?id=%CID%'), +(65, 12, 'textlink_click', 'http://www.make-euros.de/interface/out_textlink.php', 'http://www.make-euros.de/textlinkklick.php?id=%CID%', NULL), +(66, 12, 'textlink_view', 'http://www.make-euros.de/interface/out_textlink.php', 'http://www.make-euros.de/textlinkklick.php?id=%CID%', NULL), +(70, 12, 'textmail', 'http://www.make-euros.de/interface/out_paidmail.php', 'http://www.make-euros.de/emailf.php?id=%CID%', NULL)"); // Network type handlers - Power-Promo + addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handle`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`) VALUES +(78, 13, '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%'), +(79, 13, '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%'), +(84, 13, 'focredbanner', '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%'), +(86, 13, 'htmlmail', 'http://www.power-promo.de/interface/out_paidmail.php', 'http://www.power-promo.de/emailf.php?id=%CID%', NULL), +(87, 13, 'layer_click', 'http://www.power-promo.de/interface/out_layer.php', 'http://www.power-promo.de/layer.php?id=%CID%', NULL), +(88, 13, 'layer_view', 'http://www.power-promo.de/interface/out_layer.php', 'http://www.power-promo.de/layer.php?id=%CID%', NULL), +(91, 13, 'lead', 'http://www.power-promo.de/interface/out_lead.php', 'http://www.power-promo.de/lead.php?id=%CID%', NULL), +(90, 13, 'popdown', 'http://www.power-promo.de/interface/out_popdown.php', 'http://www.power-promo.de/popdown.php?id=%CID%', NULL), +(89, 13, 'popup', 'http://www.power-promo.de/interface/out_popup.php', 'http://www.power-promo.de/popup.php?id=%CID%', NULL), +(92, 13, 'sale', 'http://www.power-promo.de/interface/out_sale.php', 'http://www.power-promo.de/sale.php?id=%CID%', NULL), +(82, 13, 'surfbar_click', 'http://www.power-promo.de/interface/out_sbanner.php', 'http://www.power-promo.de/bannerklf.php?id=%CID%', 'http://www.power-promo.de/banner.php?id=%CID%'), +(83, 13, 'surfbar_view', 'http://www.power-promo.de/interface/out_sbanner.php', 'http://www.power-promo.de/bannerklf.php?id=%CID%', 'http://www.power-promo.de/banner.php?id=%CID%'), +(80, 13, 'textlink_click', 'http://www.power-promo.de/interface/out_textlink.php', 'http://www.power-promo.de/textlinkklick.php?id=%CID%', NULL), +(81, 13, 'textlink_view', 'http://www.power-promo.de/interface/out_textlink.php', 'http://www.power-promo.de/textlinkklick.php?id=%CID%', NULL), +(85, 13, 'textmail', 'http://www.power-promo.de/interface/out_paidmail.php', 'http://www.power-promo.de/emailf.php?id=%CID%', NULL)"); + + // Network type handlers - SeCash + addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handle`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`) VALUES +(96, 14, 'banner_click', 'http://www.secash.de/interface/', 'http://www.secash.de/codes/klickbanner.php?id=%ID%&bid=%CID%&aid=%SID%', 'http://www.secash.de/codes/viewbanner.php?id=%ID%&bid=%CID%&aid=%SID%'), +(95, 14, 'banner_view', 'http://www.secash.de/interface/', 'http://www.secash.de/codes/bannerklick.php?id=%ID%&bid=%CID%&aid=%SID%', 'http://www.secash.de/codes/bannerview.php?id=%ID%&bid=%CID%&aid=%SID%'), +(98, 14, 'button_view', 'http://www.secash.de/interface/', 'http://www.secash.de/codes/buttonklick.php?id=%ID%&bid=%CID%&aid=%SID%', 'http://www.secash.de/codes/buttonview.php?id=%ID%&bid=%CID%&aid=%SID%'), +(93, 14, 'focredbanner', 'http://www.secash.de/interface/', 'http://www.secash.de/codes/forcedbannerklick.php?id=%ID%&bid=%CID%&aid=%SID%', 'http://www.secash.de/codes/forcedbannerview.php?id=%ID%&bid=%CID%&aid=%SID%'), +(94, 14, 'forcedtextlink', 'http://www.secash.de/interface/', 'http://www.secash.de/codes/forcedtextlinkklick.php?id=%ID%&bid=%CID%&aid=%SID%', NULL), +(100, 14, 'popup', 'http://www.secash.de/interface/', 'http://www.secash.de/codes/popup.php?id=%ID%&bid=%CID%&aid=%SID%', NULL), +(97, 14, 'skybanner_view', 'http://www.secash.de/interface/', 'http://www.secash.de/codes/skybannerklick.php?id=%ID%&bid=%CID%&aid=%SID%', 'http://www.secash.de/codes/skybannerview.php?id=%ID%&bid=%CID%&aid=%SID%'), +(99, 14, 'textlink_view', 'http://www.secash.de/interface/', 'http://www.secash.de/codes/textlinkview.php?id=%ID%&bid=%CID%&aid=%SID%', NULL), +(101, 14, 'textmail', 'http://www.secash.de/interface/', 'http://www.secash.de/codes/paidmail.php?id=%ID%&bid=%CID%&aid=%SID%', NULL)"); // Network type handlers - Yoo!Media @@ -392,30 +477,30 @@ PRIMARY KEY (`network_reload_id`) // Request parameters per type handler - Ads4 addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_param_id`, `network_id`, `network_type_id`, `request_param_key`, `request_param_value`, `request_param_default`) VALUES -(81, 5, 14, 'currency', 'waehrung', NULL), -(82, 5, 14, 'extra', 'mediatype', 'forced_banner'), (79, 5, 14, 'id', 'id', NULL), -(86, 5, 14, 'min_stay', 'ma', NULL), (80, 5, 14, 'password', 'pwd', NULL), +(81, 5, 14, 'currency', 'waehrung', NULL), +(82, 5, 14, 'extra', 'mediatype', 'forced_banner'), +(83, 5, 14, 'reward', 'verg', NULL), (84, 5, 14, 'reload', 'reload', NULL), (85, 5, 14, 'remain', 'uebrig', NULL), -(83, 5, 14, 'reward', 'verg', NULL), -(89, 5, 15, 'currency', 'waehrung', NULL), -(90, 5, 15, 'extra', 'mediatype', 'textmails'), +(86, 5, 14, 'min_stay', 'ma', NULL), (87, 5, 15, 'id', 'id', NULL), -(94, 5, 15, 'min_stay', 'ma', NULL), (88, 5, 15, 'password', 'pwd', NULL), +(89, 5, 15, 'currency', 'waehrung', NULL), +(90, 5, 15, 'extra', 'mediatype', 'textmails'), +(91, 5, 15, 'reward', 'verg', NULL), (92, 5, 15, 'reload', 'reload', NULL), (93, 5, 15, 'remain', 'uebrig', NULL), -(91, 5, 15, 'reward', 'verg', NULL), -(97, 5, 16, 'currency', 'waehrung', NULL), -(98, 5, 16, 'extra', 'mediatype', 'htmlmails'), +(94, 5, 15, 'min_stay', 'ma', NULL), (95, 5, 16, 'id', 'id', NULL), -(102, 5, 16, 'min_stay', 'ma', NULL), (96, 5, 16, 'password', 'pw', NULL), +(97, 5, 16, 'currency', 'waehrung', NULL), +(98, 5, 16, 'extra', 'mediatype', 'htmlmails'), +(99, 5, 16, 'reward', 'verg', NULL), (100, 5, 16, 'reload', 'reload', NULL), (101, 5, 16, 'remain', 'uebrig', NULL), -(99, 5, 16, 'reward', 'verg', NULL)"); +(102, 5, 16, 'min_stay', 'ma', NULL)"); // Request parameters per type handler - Ads4Webbis addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_param_id`, `network_id`, `network_type_id`, `request_param_key`, `request_param_value`, `request_param_default`) VALUES @@ -474,24 +559,563 @@ PRIMARY KEY (`network_reload_id`) (154, 6, 25, 'password', 'pw', NULL), (156, 6, 25, 'reload', 'reload', NULL), (155, 6, 25, 'remain', 'uebrig', NULL), -(157, 6, 25, 'reward', 'verguetung', NULL)"); +(157, 6, 25, 'reward', 'verguetung', NULL), +(158, 6, 25, 'min_stay', 'ma', NULL)"); + // Request parameters per type handler - Ads4World + addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_param_id`, `network_id`, `network_type_id`, `request_param_key`, `request_param_value`, `request_param_default`) VALUES +(159, 7, 29, 'type', 'typ', 'bannerklick'), +(160, 7, 29, 'id', 'id', NULL), +(161, 7, 29, 'password', 'pw', NULL), +(162, 7, 29, 'remain', 'uebrig', NULL), +(163, 7, 29, 'reload', 'reload', NULL), +(164, 7, 29, 'reward', 'verguetung', NULL), +(165, 7, 28, 'type', 'typ', 'bannerview'), +(166, 7, 28, 'id', 'id', NULL), +(167, 7, 28, 'password', 'pw', NULL), +(168, 7, 28, 'remain', 'uebrig', NULL), +(169, 7, 28, 'reload', 'reload', NULL), +(170, 7, 28, 'reward', 'verguetung', NULL), +(171, 7, 31, 'type', 'typ', 'buttonview'), +(172, 7, 31, 'id', 'id', NULL), +(173, 7, 31, 'password', 'pw', NULL), +(174, 7, 31, 'remain', 'uebrig', NULL), +(175, 7, 31, 'reload', 'reload', NULL), +(176, 7, 31, 'reward', 'verguetung', NULL), +(177, 7, 26, 'type', 'typ', 'forcedbanner'), +(178, 7, 26, 'id', 'id', NULL), +(179, 7, 26, 'password', 'pw', NULL), +(180, 7, 26, 'remain', 'uebrig', NULL), +(181, 7, 26, 'reload', 'reload', NULL), +(182, 7, 26, 'reward', 'verguetung', NULL), +(183, 7, 27, 'type', 'typ', 'forcedtextlink'), +(184, 7, 27, 'id', 'id', NULL), +(185, 7, 27, 'password', 'pw', NULL), +(186, 7, 27, 'remain', 'uebrig', NULL), +(187, 7, 27, 'reload', 'reload', NULL), +(188, 7, 27, 'reward', 'verguetung', NULL), +(189, 7, 33, 'type', 'typ', 'popup'), +(190, 7, 33, 'id', 'id', NULL), +(191, 7, 33, 'password', 'pw', NULL), +(192, 7, 33, 'remain', 'uebrig', NULL), +(193, 7, 33, 'reload', 'reload', NULL), +(194, 7, 33, 'reward', 'verguetung', NULL), +(195, 7, 33, 'min_stay', 'ma', NULL), +(196, 7, 30, 'type', 'typ', 'skybannerview'), +(197, 7, 30, 'id', 'id', NULL), +(198, 7, 30, 'password', 'pw', NULL), +(199, 7, 30, 'remain', 'uebrig', NULL), +(200, 7, 30, 'reload', 'reload', NULL), +(201, 7, 30, 'reward', 'verguetung', NULL), +(202, 7, 32, 'type', 'typ', 'textview'), +(203, 7, 32, 'id', 'id', NULL), +(204, 7, 32, 'password', 'pw', NULL), +(205, 7, 32, 'remain', 'uebrig', NULL), +(206, 7, 32, 'reload', 'reload', NULL), +(207, 7, 32, 'reward', 'verguetung', NULL), +(208, 7, 34, 'type', 'typ', 'textmails'), +(209, 7, 34, 'id', 'id', NULL), +(210, 7, 34, 'password', 'pw', NULL), +(211, 7, 34, 'remain', 'uebrig', NULL), +(212, 7, 34, 'reload', 'reload', NULL), +(213, 7, 34, 'reward', 'verguetung', NULL), +(214, 7, 34, 'min_stay', 'ma', NULL)"); // Request parameters per type handler - Affiliblatt // Request parameters per type handler - Alster-Marketing + addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_param_id`, `network_id`, `network_type_id`, `request_param_key`, `request_param_value`, `request_param_default`) VALUES +(215, 9, 35, 'id', 'id', NULL), +(216, 9, 35, 'sid', 'sid', NULL), +(217, 9, 35, 'password', 'pw', NULL), +(218, 9, 35, 'reward', 'verguetung', NULL), +(219, 9, 35, 'reload', 'reload', NULL), +(220, 9, 35, 'remain', 'uebrig', NULL), +(221, 9, 35, 'type', 'typ', 'klick'), +(222, 9, 35, 'size', 'size', NULL), +(223, 9, 45, 'id', 'id', NULL), +(224, 9, 45, 'sid', 'sid', NULL), +(225, 9, 45, 'password', 'pw', NULL), +(226, 9, 45, 'reward', 'verguetung', NULL), +(227, 9, 45, 'reload', 'reload', NULL), +(228, 9, 45, 'remain', 'uebrig', NULL), +(229, 9, 45, 'type', 'typ', 'view'), +(230, 9, 45, 'size', 'size', NULL), +(231, 9, 36, 'id', 'id', NULL), +(232, 9, 36, 'sid', 'sid', NULL), +(233, 9, 36, 'password', 'pw', NULL), +(234, 9, 36, 'reward', 'verguetung', NULL), +(235, 9, 36, 'reload', 'reload', NULL), +(236, 9, 36, 'remain', 'uebrig', NULL), +(237, 9, 36, 'type', 'typ', 'klick'), +(238, 9, 46, 'id', 'id', NULL), +(239, 9, 46, 'sid', 'sid', NULL), +(240, 9, 46, 'password', 'pw', NULL), +(241, 9, 46, 'reward', 'verguetung', NULL), +(242, 9, 46, 'reload', 'reload', NULL), +(243, 9, 46, 'remain', 'uebrig', NULL), +(244, 9, 46, 'type', 'typ', 'view'), +(245, 9, 37, 'id', 'id', NULL), +(246, 9, 37, 'sid', 'sid', NULL), +(247, 9, 37, 'password', 'pw', NULL), +(248, 9, 37, 'reward', 'verguetung', NULL), +(249, 9, 37, 'reload', 'reload', NULL), +(250, 9, 37, 'remain', 'uebrig', NULL), +(251, 9, 37, 'type', 'typ', 'klick'), +(252, 9, 37, 'size', 'size', NULL), +(253, 9, 47, 'id', 'id', NULL), +(254, 9, 47, 'sid', 'sid', NULL), +(255, 9, 47, 'password', 'pw', NULL), +(256, 9, 47, 'reward', 'verguetung', NULL), +(257, 9, 47, 'reload', 'reload', NULL), +(258, 9, 47, 'remain', 'uebrig', NULL), +(259, 9, 47, 'type', 'typ', 'view'), +(260, 9, 47, 'size', 'size', NULL), +(261, 9, 38, 'id', 'id', NULL), +(262, 9, 38, 'sid', 'sid', NULL), +(263, 9, 38, 'password', 'pw', NULL), +(264, 9, 38, 'reward', 'verguetung', NULL), +(265, 9, 38, 'reload', 'reload', NULL), +(266, 9, 38, 'remain', 'uebrig', NULL), +(267, 9, 38, 'size', 'size', NULL), +(268, 9, 38, 'min_stay', 'ma', NULL), +(269, 9, 39, 'id', 'id', NULL), +(270, 9, 39, 'sid', 'sid', NULL), +(271, 9, 39, 'password', 'pw', NULL), +(272, 9, 39, 'reward', 'verguetung', NULL), +(273, 9, 39, 'reload', 'reload', NULL), +(274, 9, 39, 'remain', 'uebrig', NULL), +(275, 9, 39, 'min_stay', 'ma', NULL), +(276, 9, 39, 'type', 'typ', 'text'), +(277, 9, 48, 'id', 'id', NULL), +(278, 9, 48, 'sid', 'sid', NULL), +(279, 9, 48, 'password', 'pw', NULL), +(280, 9, 48, 'reward', 'verguetung', NULL), +(281, 9, 48, 'reload', 'reload', NULL), +(282, 9, 48, 'remain', 'uebrig', NULL), +(283, 9, 48, 'min_stay', 'ma', NULL), +(284, 9, 48, 'type', 'typ', 'html'), +(285, 9, 40, 'id', 'id', NULL), +(286, 9, 40, 'sid', 'sid', NULL), +(287, 9, 40, 'password', 'pw', NULL), +(288, 9, 40, 'reward', 'verguetung', NULL), +(289, 9, 40, 'reload', 'reload', NULL), +(290, 9, 40, 'remain', 'uebrig', NULL), +(291, 9, 40, 'type', 'typ', 'klick'), +(292, 9, 49, 'id', 'id', NULL), +(293, 9, 49, 'sid', 'sid', NULL), +(294, 9, 49, 'password', 'pw', NULL), +(295, 9, 49, 'reward', 'verguetung', NULL), +(296, 9, 49, 'reload', 'reload', NULL), +(297, 9, 49, 'remain', 'uebrig', NULL), +(298, 9, 49, 'type', 'typ', 'view'), +(299, 9, 41, 'id', 'id', NULL), +(300, 9, 41, 'sid', 'sid', NULL), +(301, 9, 41, 'password', 'pw', NULL), +(302, 9, 41, 'reward', 'verguetung', NULL), +(303, 9, 41, 'reload', 'reload', NULL), +(304, 9, 41, 'remain', 'uebrig', NULL), +(305, 9, 41, 'min_stay', 'ma', NULL), +(306, 9, 42, 'id', 'id', NULL), +(307, 9, 42, 'sid', 'sid', NULL), +(308, 9, 42, 'password', 'pw', NULL), +(309, 9, 42, 'reward', 'verguetung', NULL), +(310, 9, 42, 'reload', 'reload', NULL), +(311, 9, 42, 'remain', 'uebrig', NULL), +(312, 9, 42, 'min_stay', 'ma', NULL), +(313, 9, 43, 'id', 'id', NULL), +(314, 9, 43, 'sid', 'sid', NULL), +(315, 9, 43, 'password', 'pw', NULL), +(316, 9, 43, 'reward', 'verguetung', NULL), +(317, 9, 43, 'remain', 'uebrig', NULL), +(318, 9, 44, 'id', 'id', NULL), +(319, 9, 44, 'sid', 'sid', NULL), +(320, 9, 44, 'password', 'pw', NULL), +(321, 9, 44, 'reward', 'verguetung', NULL), +(322, 9, 44, 'remain', 'uebrig', NULL)"); // Request parameters per type handler - BonusSponsor + addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_param_id`, `network_id`, `network_type_id`, `request_param_key`, `request_param_value`, `request_param_default`) VALUES +(323, 10, 50, 'id', 'id', NULL), +(324, 10, 50, 'sid', 'sid', NULL), +(325, 10, 50, 'password', 'pw', NULL), +(326, 10, 50, 'reward', 'verguetung', NULL), +(327, 10, 50, 'reload', 'reload', NULL), +(328, 10, 50, 'remain', 'uebrig', NULL), +(329, 10, 50, 'type', 'typ', 'klick'), +(330, 10, 50, 'size', 'size', NULL), +(331, 10, 51, 'id', 'id', NULL), +(332, 10, 51, 'sid', 'sid', NULL), +(333, 10, 51, 'password', 'pw', NULL), +(334, 10, 51, 'reward', 'verguetung', NULL), +(335, 10, 51, 'reload', 'reload', NULL), +(336, 10, 51, 'remain', 'uebrig', NULL), +(337, 10, 51, 'type', 'typ', 'view'), +(338, 10, 51, 'size', 'size', NULL), +(339, 10, 52, 'id', 'id', NULL), +(340, 10, 52, 'sid', 'sid', NULL), +(341, 10, 52, 'password', 'pw', NULL), +(342, 10, 52, 'reward', 'verguetung', NULL), +(343, 10, 52, 'reload', 'reload', NULL), +(344, 10, 52, 'remain', 'uebrig', NULL), +(345, 10, 52, 'type', 'typ', 'klick'), +(346, 10, 53, 'id', 'id', NULL), +(347, 10, 53, 'sid', 'sid', NULL), +(348, 10, 53, 'password', 'pw', NULL), +(349, 10, 53, 'reward', 'verguetung', NULL), +(350, 10, 53, 'reload', 'reload', NULL), +(351, 10, 53, 'remain', 'uebrig', NULL), +(352, 10, 53, 'type', 'typ', 'view'), +(353, 10, 54, 'id', 'id', NULL), +(354, 10, 54, 'sid', 'sid', NULL), +(355, 10, 54, 'password', 'pw', NULL), +(356, 10, 54, 'reward', 'verguetung', NULL), +(357, 10, 54, 'reload', 'reload', NULL), +(358, 10, 54, 'remain', 'uebrig', NULL), +(359, 10, 54, 'size', 'size', NULL), +(360, 10, 54, 'min_stay', 'ma', NULL), +(361, 10, 55, 'id', 'id', NULL), +(362, 10, 55, 'sid', 'sid', NULL), +(363, 10, 55, 'password', 'pw', NULL), +(364, 10, 55, 'reward', 'verguetung', NULL), +(365, 10, 55, 'reload', 'reload', NULL), +(366, 10, 55, 'remain', 'uebrig', NULL), +(367, 10, 55, 'min_stay', 'ma', NULL), +(368, 10, 55, 'type', 'typ', 'text'), +(369, 10, 56, 'id', 'id', NULL), +(370, 10, 56, 'sid', 'sid', NULL), +(371, 10, 56, 'password', 'pw', NULL), +(372, 10, 56, 'reward', 'verguetung', NULL), +(373, 10, 56, 'reload', 'reload', NULL), +(374, 10, 56, 'remain', 'uebrig', NULL), +(375, 10, 56, 'min_stay', 'ma', NULL), +(376, 10, 56, 'type', 'typ', 'html'), +(377, 10, 57, 'id', 'id', NULL), +(378, 10, 57, 'sid', 'sid', NULL), +(379, 10, 57, 'password', 'pw', NULL), +(380, 10, 57, 'reward', 'verguetung', NULL), +(381, 10, 57, 'reload', 'reload', NULL), +(382, 10, 57, 'remain', 'uebrig', NULL), +(383, 10, 57, 'type', 'typ', 'klick'), +(384, 10, 58, 'id', 'id', NULL), +(385, 10, 58, 'sid', 'sid', NULL), +(386, 10, 58, 'password', 'pw', NULL), +(387, 10, 58, 'reward', 'verguetung', NULL), +(388, 10, 58, 'reload', 'reload', NULL), +(389, 10, 58, 'remain', 'uebrig', NULL), +(390, 10, 58, 'type', 'typ', 'view'), +(391, 10, 59, 'id', 'id', NULL), +(392, 10, 59, 'sid', 'sid', NULL), +(393, 10, 59, 'password', 'pw', NULL), +(394, 10, 59, 'reward', 'verguetung', NULL), +(395, 10, 59, 'reload', 'reload', NULL), +(396, 10, 59, 'remain', 'uebrig', NULL), +(397, 10, 59, 'min_stay', 'ma', NULL), +(398, 10, 60, 'id', 'id', NULL), +(399, 10, 60, 'sid', 'sid', NULL), +(400, 10, 60, 'password', 'pw', NULL), +(401, 10, 60, 'reward', 'verguetung', NULL), +(402, 10, 60, 'reload', 'reload', NULL), +(403, 10, 60, 'remain', 'uebrig', NULL), +(404, 10, 60, 'min_stay', 'ma', NULL), +(405, 10, 61, 'id', 'id', NULL), +(406, 10, 61, 'sid', 'sid', NULL), +(407, 10, 61, 'password', 'pw', NULL), +(408, 10, 61, 'reward', 'verguetung', NULL), +(409, 10, 61, 'remain', 'uebrig', NULL), +(410, 10, 62, 'id', 'id', NULL), +(411, 10, 62, 'sid', 'sid', NULL), +(412, 10, 62, 'password', 'pw', NULL), +(413, 10, 62, 'reward', 'verguetung', NULL), +(414, 10, 62, 'remain', 'uebrig', NULL)"); // Request parameters per type handler - Fusion-Ads // Request parameters per type handler - Make-Euros + addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_param_id`, `network_id`, `network_type_id`, `request_param_key`, `request_param_value`, `request_param_default`) VALUES +(415, 12, 63, 'id', 'id', NULL), +(416, 12, 63, 'sid', 'sid', NULL), +(417, 12, 63, 'password', 'pw', NULL), +(418, 12, 63, 'reward', 'verguetung', NULL), +(419, 12, 63, 'reload', 'reload', NULL), +(420, 12, 63, 'remain', 'uebrig', NULL), +(421, 12, 63, 'type', 'typ', 'klick'), +(422, 12, 63, 'size', 'size', NULL), +(423, 12, 64, 'id', 'id', NULL), +(424, 12, 64, 'sid', 'sid', NULL), +(425, 12, 64, 'password', 'pw', NULL), +(426, 12, 64, 'reward', 'verguetung', NULL), +(427, 12, 64, 'reload', 'reload', NULL), +(428, 12, 64, 'remain', 'uebrig', NULL), +(429, 12, 64, 'type', 'typ', 'view'), +(430, 12, 64, 'size', 'size', NULL), +(431, 12, 65, 'id', 'id', NULL), +(432, 12, 65, 'sid', 'sid', NULL), +(433, 12, 65, 'password', 'pw', NULL), +(434, 12, 65, 'reward', 'verguetung', NULL), +(435, 12, 65, 'reload', 'reload', NULL), +(436, 12, 65, 'remain', 'uebrig', NULL), +(437, 12, 65, 'type', 'typ', 'klick'), +(438, 12, 66, 'id', 'id', NULL), +(439, 12, 66, 'sid', 'sid', NULL), +(440, 12, 66, 'password', 'pw', NULL), +(441, 12, 66, 'reward', 'verguetung', NULL), +(442, 12, 66, 'reload', 'reload', NULL), +(443, 12, 66, 'remain', 'uebrig', NULL), +(444, 12, 66, 'type', 'typ', 'view'), +(445, 12, 67, 'id', 'id', NULL), +(446, 12, 67, 'sid', 'sid', NULL), +(447, 12, 67, 'password', 'pw', NULL), +(448, 12, 67, 'reward', 'verguetung', NULL), +(449, 12, 67, 'reload', 'reload', NULL), +(450, 12, 67, 'remain', 'uebrig', NULL), +(451, 12, 67, 'max_stay', 'typ', 'klick'), +(452, 12, 67, 'size', 'size', NULL), +(453, 12, 69, 'id', 'id', NULL), +(454, 12, 69, 'sid', 'sid', NULL), +(455, 12, 69, 'password', 'pw', NULL), +(456, 12, 69, 'reward', 'verguetung', NULL), +(457, 12, 69, 'reload', 'reload', NULL), +(458, 12, 69, 'remain', 'uebrig', NULL), +(459, 12, 69, 'type', 'typ', 'view'), +(460, 12, 69, 'size', 'size', NULL), +(461, 12, 68, 'id', 'id', NULL), +(462, 12, 68, 'sid', 'sid', NULL), +(463, 12, 68, 'password', 'pw', NULL), +(464, 12, 68, 'reward', 'verguetung', NULL), +(465, 12, 68, 'reload', 'reload', NULL), +(466, 12, 68, 'remain', 'uebrig', NULL), +(467, 12, 68, 'size', 'size', NULL), +(468, 12, 68, 'min_stay', 'ma', NULL), +(469, 12, 70, 'id', 'id', NULL), +(470, 12, 70, 'sid', 'sid', NULL), +(471, 12, 70, 'password', 'pw', NULL), +(472, 12, 70, 'reward', 'verguetung', NULL), +(473, 12, 70, 'reload', 'reload', NULL), +(474, 12, 70, 'remain', 'uebrig', NULL), +(475, 12, 70, 'min_stay', 'ma', NULL), +(476, 12, 70, 'type', 'typ', 'text'), +(477, 12, 71, 'id', 'id', NULL), +(478, 12, 71, 'sid', 'sid', NULL), +(479, 12, 71, 'password', 'pw', NULL), +(480, 12, 71, 'reward', 'verguetung', NULL), +(481, 12, 71, 'reload', 'reload', NULL), +(482, 12, 71, 'remain', 'uebrig', NULL), +(483, 12, 71, 'min_stay', 'ma', NULL), +(484, 12, 71, 'type', 'typ', 'html'), +(485, 12, 72, 'id', 'id', NULL), +(486, 12, 72, 'sid', 'sid', NULL), +(487, 12, 72, 'password', 'pw', NULL), +(488, 12, 72, 'reward', 'verguetung', NULL), +(489, 12, 72, 'reload', 'reload', NULL), +(490, 12, 72, 'remain', 'uebrig', NULL), +(491, 12, 72, 'type', 'typ', 'klick'), +(492, 12, 73, 'id', 'id', NULL), +(493, 12, 73, 'sid', 'sid', NULL), +(494, 12, 73, 'password', 'pw', NULL), +(495, 12, 73, 'reward', 'verguetung', NULL), +(496, 12, 73, 'reload', 'reload', NULL), +(497, 12, 73, 'remain', 'uebrig', NULL), +(498, 12, 73, 'type', 'typ', 'view'), +(499, 12, 74, 'id', 'id', NULL), +(500, 12, 74, 'sid', 'sid', NULL), +(501, 12, 74, 'password', 'pw', NULL), +(502, 12, 74, 'reward', 'verguetung', NULL), +(503, 12, 74, 'reload', 'reload', NULL), +(504, 12, 74, 'remain', 'uebrig', NULL), +(505, 12, 74, 'min_stay', 'ma', NULL), +(506, 12, 75, 'id', 'id', NULL), +(507, 12, 75, 'sid', 'sid', NULL), +(508, 12, 75, 'password', 'pw', NULL), +(509, 12, 75, 'reward', 'verguetung', NULL), +(510, 12, 75, 'reload', 'reload', NULL), +(511, 12, 75, 'remain', 'uebrig', NULL), +(512, 12, 75, 'min_stay', 'ma', NULL), +(513, 12, 76, 'id', 'id', NULL), +(514, 12, 76, 'sid', 'sid', NULL), +(515, 12, 76, 'password', 'pw', NULL), +(516, 12, 76, 'reward', 'verguetung', NULL), +(517, 12, 76, 'remain', 'uebrig', NULL), +(518, 12, 77, 'id', 'id', NULL), +(519, 12, 77, 'sid', 'sid', NULL), +(520, 12, 77, 'password', 'pw', NULL), +(521, 12, 77, 'reward', 'verguetung', NULL), +(522, 12, 77, 'remain', 'uebrig', NULL)"); // Request parameters per type handler - Power-Promo + addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_param_id`, `network_id`, `network_type_id`, `request_param_key`, `request_param_value`, `request_param_default`) VALUES +(523, 13, 78, 'id', 'id', NULL), +(524, 13, 78, 'sid', 'sid', NULL), +(525, 13, 78, 'password', 'pw', NULL), +(526, 13, 78, 'reward', 'verguetung', NULL), +(527, 13, 78, 'reload', 'reload', NULL), +(528, 13, 78, 'remain', 'uebrig', NULL), +(529, 13, 78, 'type', 'typ', 'klick'), +(530, 13, 78, 'size', 'size', NULL), +(531, 13, 79, 'id', 'id', NULL), +(532, 13, 79, 'sid', 'sid', NULL), +(533, 13, 79, 'password', 'pw', NULL), +(534, 13, 79, 'reward', 'verguetung', NULL), +(535, 13, 79, 'reload', 'reload', NULL), +(536, 13, 79, 'remain', 'uebrig', NULL), +(537, 13, 79, 'type', 'typ', 'view'), +(538, 13, 79, 'size', 'size', NULL), +(539, 13, 80, 'id', 'id', NULL), +(540, 13, 80, 'sid', 'sid', NULL), +(541, 13, 80, 'password', 'pw', NULL), +(542, 13, 80, 'reward', 'verguetung', NULL), +(543, 13, 80, 'reload', 'reload', NULL), +(544, 13, 80, 'remain', 'uebrig', NULL), +(545, 13, 80, 'type', 'typ', 'klick'), +(546, 13, 81, 'id', 'id', NULL), +(547, 13, 81, 'sid', 'sid', NULL), +(548, 13, 81, 'password', 'pw', NULL), +(549, 13, 81, 'reward', 'verguetung', NULL), +(550, 13, 81, 'reload', 'reload', NULL), +(551, 13, 81, 'remain', 'uebrig', NULL), +(552, 13, 81, 'type', 'typ', 'view'), +(553, 13, 82, 'id', 'id', NULL), +(554, 13, 82, 'sid', 'sid', NULL), +(555, 13, 82, 'password', 'pw', NULL), +(556, 13, 82, 'reward', 'verguetung', NULL), +(557, 13, 82, 'reload', 'reload', NULL), +(558, 13, 82, 'remain', 'uebrig', NULL), +(559, 13, 82, 'type', 'typ', 'klick'), +(560, 13, 82, 'size', 'size', NULL), +(561, 13, 83, 'id', 'id', NULL), +(562, 13, 83, 'sid', 'sid', NULL), +(563, 13, 83, 'password', 'pw', NULL), +(564, 13, 83, 'reward', 'verguetung', NULL), +(565, 13, 83, 'reload', 'reload', NULL), +(566, 13, 83, 'remain', 'uebrig', NULL), +(567, 13, 83, 'type', 'typ', 'view'), +(568, 13, 83, 'size', 'size', NULL), +(569, 13, 84, 'id', 'id', NULL), +(570, 13, 84, 'sid', 'sid', NULL), +(571, 13, 84, 'password', 'pw', NULL), +(572, 13, 84, 'reward', 'verguetung', NULL), +(573, 13, 84, 'reload', 'reload', NULL), +(574, 13, 84, 'remain', 'uebrig', NULL), +(575, 13, 84, 'size', 'size', NULL), +(576, 13, 84, 'min_stay', 'ma', NULL), +(577, 13, 85, 'id', 'id', NULL), +(578, 13, 85, 'sid', 'sid', NULL), +(579, 13, 85, 'password', 'pw', NULL), +(580, 13, 85, 'reward', 'verguetung', NULL), +(581, 13, 85, 'reload', 'reload', NULL), +(582, 13, 85, 'remain', 'uebrig', NULL), +(583, 13, 85, 'min_stay', 'ma', NULL), +(584, 13, 85, 'type', 'typ', 'text'), +(585, 13, 86, 'id', 'id', NULL), +(586, 13, 86, 'sid', 'sid', NULL), +(587, 13, 86, 'password', 'pw', NULL), +(588, 13, 86, 'reward', 'verguetung', NULL), +(589, 13, 86, 'reload', 'reload', NULL), +(590, 13, 86, 'remain', 'uebrig', NULL), +(591, 13, 86, 'min_stay', 'ma', NULL), +(592, 13, 86, 'type', 'typ', 'html'), +(593, 13, 87, 'id', 'id', NULL), +(594, 13, 87, 'sid', 'sid', NULL), +(595, 13, 87, 'password', 'pw', NULL), +(596, 13, 87, 'reward', 'verguetung', NULL), +(597, 13, 87, 'reload', 'reload', NULL), +(598, 13, 87, 'remain', 'uebrig', NULL), +(599, 13, 87, 'type', 'typ', 'klick'), +(600, 13, 88, 'id', 'id', NULL), +(601, 13, 88, 'sid', 'sid', NULL), +(602, 13, 88, 'password', 'pw', NULL), +(603, 13, 88, 'reward', 'verguetung', NULL), +(604, 13, 88, 'reload', 'reload', NULL), +(605, 13, 88, 'remain', 'uebrig', NULL), +(606, 13, 88, 'type', 'typ', 'view'), +(607, 13, 89, 'id', 'id', NULL), +(608, 13, 89, 'sid', 'sid', NULL), +(609, 13, 89, 'password', 'pw', NULL), +(610, 13, 89, 'reward', 'verguetung', NULL), +(611, 13, 89, 'reload', 'reload', NULL), +(612, 13, 89, 'remain', 'uebrig', NULL), +(613, 13, 89, 'min_stay', 'ma', NULL), +(614, 13, 90, 'id', 'id', NULL), +(615, 13, 90, 'sid', 'sid', NULL), +(616, 13, 90, 'password', 'pw', NULL), +(617, 13, 90, 'reward', 'verguetung', NULL), +(618, 13, 90, 'reload', 'reload', NULL), +(619, 13, 90, 'remain', 'uebrig', NULL), +(620, 13, 90, 'min_stay', 'ma', NULL), +(621, 13, 91, 'id', 'id', NULL), +(622, 13, 91, 'sid', 'sid', NULL), +(623, 13, 91, 'password', 'pw', NULL), +(624, 13, 91, 'reward', 'verguetung', NULL), +(625, 13, 91, 'remain', 'uebrig', NULL), +(626, 13, 92, 'id', 'id', NULL), +(627, 13, 92, 'sid', 'sid', NULL), +(628, 13, 92, 'password', 'pw', NULL), +(629, 13, 92, 'reward', 'verguetung', NULL), +(630, 13, 92, 'remain', 'uebrig', NULL)"); + + // Request parameters per type handler - SeCash + addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_param_id`, `network_id`, `network_type_id`, `request_param_key`, `request_param_value`, `request_param_default`) VALUES +(631, 14, 93, 'type', 'typ', 'forcedbanner'), +(632, 14, 93, 'id', 'id', NULL), +(633, 14, 93, 'password', 'pw', NULL), +(634, 14, 93, 'reward', 'verguetung', NULL), +(635, 14, 93, 'reload', 'reload', NULL), +(636, 14, 93, 'remain', 'uebrig', NULL), +(637, 14, 94, 'type', 'typ', 'forcedtextlink'), +(638, 14, 94, 'id', 'id', NULL), +(639, 14, 94, 'password', 'pw', NULL), +(640, 14, 94, 'reward', 'verguetung', NULL), +(641, 14, 94, 'reload', 'reload', NULL), +(642, 14, 94, 'remain', 'uebrig', NULL), +(643, 14, 95, 'type', 'typ', 'bannerview'), +(644, 14, 95, 'id', 'id', NULL), +(645, 14, 95, 'password', 'pw', NULL), +(646, 14, 95, 'reward', 'verguetung', NULL), +(647, 14, 95, 'reload', 'reload', NULL), +(648, 14, 95, 'remain', 'uebrig', NULL), +(649, 14, 96, 'type', 'typ', 'bannerklick'), +(650, 14, 96, 'id', 'id', NULL), +(651, 14, 96, 'password', 'pw', NULL), +(652, 14, 96, 'reward', 'verguetung', NULL), +(653, 14, 96, 'reload', 'reload', NULL), +(654, 14, 96, 'remain', 'uebrig', NULL), +(655, 14, 97, 'type', 'typ', 'skybannerview'), +(656, 14, 97, 'id', 'id', NULL), +(657, 14, 97, 'password', 'pw', NULL), +(658, 14, 97, 'reward', 'verguetung', NULL), +(659, 14, 97, 'reload', 'reload', NULL), +(660, 14, 97, 'remain', 'uebrig', NULL), +(661, 14, 98, 'type', 'typ', 'buttonview'), +(662, 14, 98, 'id', 'id', NULL), +(663, 14, 98, 'password', 'pw', NULL), +(664, 14, 98, 'reward', 'verguetung', NULL), +(665, 14, 98, 'reload', 'reload', NULL), +(666, 14, 98, 'remain', 'uebrig', NULL), +(667, 14, 99, 'type', 'typ', 'textview'), +(668, 14, 99, 'id', 'id', NULL), +(669, 14, 99, 'password', 'pw', NULL), +(670, 14, 99, 'reward', 'verguetung', NULL), +(671, 14, 99, 'reload', 'reload', NULL), +(672, 14, 99, 'remain', 'uebrig', NULL), +(673, 14, 100, 'type', 'typ', 'popup'), +(674, 14, 100, 'id', 'id', NULL), +(675, 14, 100, 'password', 'pw', NULL), +(676, 14, 100, 'reward', 'verguetung', NULL), +(677, 14, 100, 'reload', 'reload', NULL), +(678, 14, 100, 'remain', 'uebrig', NULL), +(679, 14, 100, 'min_stay', 'ma', NULL), +(680, 14, 101, 'type', 'typ', 'paidmail'), +(681, 14, 101, 'id', 'id', NULL), +(682, 14, 101, 'password', 'pw', NULL), +(683, 14, 101, 'reward', 'verguetung', NULL), +(684, 14, 101, 'reload', 'reload', NULL), +(685, 14, 101, 'remain', 'uebrig', NULL), +(686, 14, 101, 'min_stay', 'ma', NULL)"); // Request parameters per type handler - Yoo!Media // Fix empty defaults to NULL + addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_network_types` SET `network_type_banner_url `=NULL WHERE `network_type_banner_url `=''"); addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_network_request_params` SET `request_param_default`=NULL WHERE `request_param_default`=''"); // Admin menu entries diff --git a/inc/functions.php b/inc/functions.php index dcdf01e71c..b56975ac61 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -1793,7 +1793,7 @@ function sendPostRequest ($script, $postData) { // Extract host name from script $host = extractHostnameFromUrl($script); - // Construct request + // Construct request body $body = http_build_query($postData, '', '&'); // Generate POST request header @@ -1801,8 +1801,11 @@ function sendPostRequest ($script, $postData) { $request .= 'Host: ' . $host . getConfig('HTTP_EOL'); $request .= 'Referer: ' . getConfig('URL') . '/admin.php' . getConfig('HTTP_EOL'); $request .= 'User-Agent: ' . getConfig('TITLE') . '/' . getConfig('FULL_VERSION') . getConfig('HTTP_EOL'); + $request .= 'Accept: text/plain;q=0.8' . getConfig('HTTP_EOL'); + $request .= 'Accept-Charset: UTF-8,*' . getConfig('HTTP_EOL'); $request .= 'Cache-Control: no-cache' . getConfig('HTTP_EOL'); $request .= 'Content-Type: application/x-www-form-urlencoded' . getConfig('HTTP_EOL'); + $request .= 'Content-Length: ' . strlen($body) . getConfig('HTTP_EOL'); $request .= 'Connection: close' . getConfig('HTTP_EOL'); $request .= getConfig('HTTP_EOL'); @@ -1950,6 +1953,7 @@ function sendRawRequest ($host, $request) { } } // END - foreach + //* DEBUG: */ print('Request:
'.print_r($request, true).'
'); //* DEBUG: */ print('Response:
'.print_r($response, true).'
'); // Proxy agent found or something went wrong? diff --git a/inc/libs/network_functions.php b/inc/libs/network_functions.php index af53bf4b3c..8bbcae08a9 100644 --- a/inc/libs/network_functions.php +++ b/inc/libs/network_functions.php @@ -531,6 +531,12 @@ function doAdminNetworkProcessAddnetworktypeForm () { // Add id setPostRequestParameter('network_id', getRequestParameter('network')); + // Is network_type_banner_url set? + if (postRequestParameter('network_type_banner_url') == '') { + // Remove empty value to get a NULL for an optional entry + unsetPostRequestParameter('network_type_banner_url'); + } // END - if + // Add the whole request to database SQL_QUERY("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` @@ -639,6 +645,12 @@ function doAdminNetworkProcessAddnetworkparamForm () { // Add id setPostRequestParameter('network_id', getRequestParameter('network')); + // Is request_param_default set? + if (postRequestParameter('request_param_default') == '') { + // Remove empty value to get a NULL for an optional entry + unsetPostRequestParameter('request_param_default'); + } // END - if + // Add the whole request to database SQL_QUERY("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` -- 2.39.5