* @TODO Affiliblatt: Layer requires script in head *
* @TODO Affiliblatt: Textlinks, popup, popunder, HTML mail, lead *
* @TODO AllAds4You: Traffic from abroad, High-Forced banner *
+ * @TODO Earn4Webbis: HighForced banner, page peel, mini layer *
* @TODO FuCoExSponsor: Textlink-View is JavaScript! *
* @TODO Fusion-Ads: Has click/banner URL in API response *
* @TODO GeldSponsor.de Requires ID card copy/business reg. *
('paid_city', 'Paid-City', 'http://www.paid-city.de/?ref=2587', '|', '|', 'GET', 'WINDOWS-1252', 'N', 100, 'Y'),
('paid4ad', 'Paid4Ad', 'http://www.paid4ad.de/index.php?seite=anmeldung&ref=ShipSimu', '|', '|', 'GET', 'ISO-8859-1', 'N', 150, 'Y'),
('ads4angel', 'Ads4Angel', 'http://ads4angel.de/?ref=200', '|', '|', 'GET', 'ISO-8859-1', 'N', 100, 'Y'),
-('werbeflut_net', 'Werbeflut.net', 'http://www.werbeflut.net/index.php?seite=anmeldung&ref=Quix0r', '|', '|', 'GET', 'ISO-8859-1', 'N', 300, 'Y')");
+('werbeflut_net', 'Werbeflut.net', 'http://www.werbeflut.net/index.php?seite=anmeldung&ref=Quix0r', '|', '|', 'GET', 'ISO-8859-1', 'N', 300, 'Y'),
+('earn4webbis', 'Earn4Webbis', 'http://www.earn4webbis.net/index.php?seite=anmeldung&ref=Quix0r', '|', '|', 'GET', 'ISO-8859-1', 'N', 500, '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`, `network_text_encoding`) VALUES
(516, 26, 'forced_half_banner', 'http://www.doubleads.de/interface/out_fbanner.php', 'http://www.doubleads.de/bannerklf.php?id=%CID%', 'http://www.doubleads.de/banner.php?id=%CID%', 'h', 'NONE'),
(517, 26, 'forced_skyscraper', 'http://www.doubleads.de/interface/out_fbanner.php', 'http://www.doubleads.de/bannerklf.php?id=%CID%', 'http://www.doubleads.de/banner.php?id=%CID%', 'h', 'NONE')");
+// Network type handlers - Earn4Webbis
+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
+(747, 62, 'banner_click', 'http://www.earn4webbis.net/int/get.php', 'http://www.earn4webbis.net/kamp/ziel.php?uid=%UID%&bid=%BID%&sid=%SID%&v1=%V1%&v2=%V2%', 'http://www.earn4webbis.net/kamp/b_view.php?uid=%UID%&bid=%BID%&sid=%SID%', 'h','NONE'),
+(748, 62, 'banner_view', 'http://www.earn4webbis.net/int/get.php', 'http://www.earn4webbis.net/kamp/ziel.php?uid=%UID%&bid=%BID%&sid=%SID%&v1=%V1%&v2=%V2%', 'http://www.earn4webbis.net/kamp/b_view.php?uid=%UID%&bid=%BID%&sid=%SID%', 'h','NONE'),
+(749, 62, 'button_click', 'http://www.earn4webbis.net/int/get.php', 'http://www.earn4webbis.net/kamp/ziel.php?uid=%UID%&bid=%BID%&sid=%SID%&v1=%V1%&v2=%V2%', 'http://www.earn4webbis.net/kamp/b_view.php?uid=%UID%&bid=%BID%&sid=%SID%', 'h','NONE'),
+(750, 62, 'button_view', 'http://www.earn4webbis.net/int/get.php', 'http://www.earn4webbis.net/kamp/ziel.php?uid=%UID%&bid=%BID%&sid=%SID%&v1=%V1%&v2=%V2%', 'http://www.earn4webbis.net/kamp/b_view.php?uid=%UID%&bid=%BID%&sid=%SID%', 'h','NONE'),
+(751, 62, 'forced_banner', 'http://www.earn4webbis.net/int/get.php', 'http://www.earn4webbis.net/kamp/ziel.php?uid=%UID%&bid=%BID%&sid=%SID%&v1=%V1%&v2=%V2%', 'http://www.earn4webbis.net/kamp/b_view.php?uid=%UID%&bid=%BID%&sid=%SID%', 'h','NONE'),
+(752, 62, 'forced_textlink', 'http://www.earn4webbis.net/int/get.php', 'http://www.earn4webbis.net/kamp/ziel.php?uid=%UID%&bid=%BID%&sid=%SID%&v1=%V1%&v2=%V2%', NULL, 'h','NONE'),
+(753, 62, 'htmlmail', 'http://www.earn4webbis.net/int/get.php', 'http://www.earn4webbis.net/kamp/ziel.php?uid=%UID%&bid=%BID%&sid=%SID%&v1=%V1%&v2=%V2%', NULL, 'h','BASE64'),
+(754, 62, 'layer', 'http://www.earn4webbis.net/int/get.php', 'http://www.earn4webbis.net/kamp/sc_layer.php?uid=%UID%&bid=%BID%&sid=%SID%&v1=%V1%&v2=%V2%', NULL, 'h','NONE'),
+(755, 62, 'textmail', 'http://www.earn4webbis.net/int/get.php', 'http://www.earn4webbis.net/kamp/ziel.php?uid=%UID%&bid=%BID%&sid=%SID%&v1=%V1%&v2=%V2%', NULL, 'h','NONE'),
+(756, 62, 'popup', 'http://www.earn4webbis.net/int/get.php', 'http://www.earn4webbis.net/kamp/sc_popup.php?uid=%UID%&bid=%BID%&sid=%SID%', NULL, 'h','NONE'),
+(757, 62, 'skyscraper_click', 'http://www.earn4webbis.net/int/get.php', 'http://www.earn4webbis.net/kamp/ziel.php?uid=%UID%&bid=%BID%&sid=%SID%&v1=%V1%&v2=%V2%', 'http://www.earn4webbis.net/kamp/b_view.php?uid=%UID%&bid=%BID%&sid=%SID%', 'h','NONE'),
+(758, 62, 'skyscraper_view', 'http://www.earn4webbis.net/int/get.php', 'http://www.earn4webbis.net/kamp/ziel.php?uid=%UID%&bid=%BID%&sid=%SID%&v1=%V1%&v2=%V2%', 'http://www.earn4webbis.net/kamp/b_view.php?uid=%UID%&bid=%BID%&sid=%SID%', 'h','NONE'),
+(759, 62, 'surfbar_click', 'http://www.earn4webbis.net/int/get.php', 'http://www.earn4webbis.net/kamp/ziel.php?uid=%UID%&bid=%BID%&sid=%SID%&v1=%V1%&v2=%V2%', 'http://www.earn4webbis.net/kamp/b_view.php?uid=%UID%&bid=%BID%&sid=%SID%', 'h','NONE'),
+(760, 62, 'surfbar_view', 'http://www.earn4webbis.net/int/get.php', 'http://www.earn4webbis.net/kamp/ziel.php?uid=%UID%&bid=%BID%&sid=%SID%&v1=%V1%&v2=%V2%', 'http://www.earn4webbis.net/kamp/b_view.php?uid=%UID%&bid=%BID%&sid=%SID%', 'h','NONE'),
+(761, 62, 'textlink_click', 'http://www.earn4webbis.net/int/get.php', 'http://www.earn4webbis.net/kamp/ziel.php?uid=%UID%&bid=%BID%&sid=%SID%&v1=%V1%&v2=%V2%', NULL, 'h','NONE'),
+(762, 62, 'textlink_view', 'http://www.earn4webbis.net/int/get.php', 'http://www.earn4webbis.net/kamp/sc_textview.php?uid=%UID%&bid=%BID%&sid=%SID%&v1=%V1%&v2=%V2%', NULL, 'h','NONE'),
+(763, 62, 'traffic', 'http://www.earn4webbis.net/int/get.php', 'http://www.earn4webbis.net/kamp/ziel.php?uid=%UID%&bid=%BID%&sid=%SID%&v1=%V1%&v2=%V2%', NULL, 'h','NONE')");
+
// Network type handlers - eu-ADS.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`, `network_text_encoding`) VALUES
(431, 42, 'forced_banner', 'http://www.eu-ads.de/interface/api_2.php', 'http://www.eu-ads.de/codes/forcedbannerklick.php?id=%UID%&bid=%CID%&aid=%SID%&trackid=%TID%&vc=%VPC%', 'http://www.eu-ads.de/codes/forced_bannerview.php?id=%UID%&bid=%CID%&aid=%SID%', 'h', 'NONE'),
(26, 517, 'site_id', 'sid', NULL),
(26, 517, 'size', 'size', '120x600')");
+// Request parameters per type handler - Earn4Webbis
+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
+(62, 747, 'extra', 'art', 'bannerklick'),
+(62, 747, 'affiliate_id', 'uid', NULL),
+(62, 747, 'password', 'pw', NULL),
+(62, 747, 'site_id', 'sid', NULL),
+(62, 747, 'reward', 'verguetung', NULL),
+(62, 747, 'reload', 'reload', NULL),
+(62, 747, 'remain_clicks', 'uebrig', NULL),
+(62, 748, 'extra', 'art', 'bannerview'),
+(62, 748, 'affiliate_id', 'uid', NULL),
+(62, 748, 'password', 'pw', NULL),
+(62, 748, 'site_id', 'sid', NULL),
+(62, 748, 'reward', 'verguetung', NULL),
+(62, 748, 'reload', 'reload', NULL),
+(62, 748, 'remain_clicks', 'uebrig', NULL),
+(62, 749, 'extra', 'art', 'buttonklick'),
+(62, 749, 'affiliate_id', 'uid', NULL),
+(62, 749, 'password', 'pw', NULL),
+(62, 749, 'site_id', 'sid', NULL),
+(62, 749, 'reward', 'verguetung', NULL),
+(62, 749, 'reload', 'reload', NULL),
+(62, 749, 'remain_clicks', 'uebrig', NULL),
+(62, 750, 'extra', 'art', 'buttonview'),
+(62, 750, 'affiliate_id', 'uid', NULL),
+(62, 750, 'password', 'pw', NULL),
+(62, 750, 'site_id', 'sid', NULL),
+(62, 750, 'reward', 'verguetung', NULL),
+(62, 750, 'reload', 'reload', NULL),
+(62, 750, 'remain_clicks', 'uebrig', NULL),
+(62, 751, 'extra', 'art', 'forcedbanner'),
+(62, 751, 'affiliate_id', 'uid', NULL),
+(62, 751, 'password', 'pw', NULL),
+(62, 751, 'site_id', 'sid', NULL),
+(62, 751, 'reward', 'verguetung', NULL),
+(62, 751, 'reload', 'reload', NULL),
+(62, 751, 'remain_clicks', 'uebrig', NULL),
+(62, 751, 'minimum_stay', 'ma', NULL),
+(62, 752, 'extra', 'art', 'forcedtextlink'),
+(62, 752, 'affiliate_id', 'uid', NULL),
+(62, 752, 'password', 'pw', NULL),
+(62, 752, 'site_id', 'sid', NULL),
+(62, 752, 'reward', 'verguetung', NULL),
+(62, 752, 'reload', 'reload', NULL),
+(62, 752, 'remain_clicks', 'uebrig', NULL),
+(62, 752, 'minimum_stay', 'ma', NULL),
+(62, 753, 'extra', 'art', 'htmlmail'),
+(62, 753, 'affiliate_id', 'uid', NULL),
+(62, 753, 'password', 'pw', NULL),
+(62, 753, 'site_id', 'sid', NULL),
+(62, 753, 'reward', 'verguetung', NULL),
+(62, 753, 'reload', 'reload', NULL),
+(62, 753, 'remain_clicks', 'uebrig', NULL),
+(62, 753, 'minimum_stay', 'ma', NULL),
+(62, 754, 'extra', 'art', 'bannerview'),
+(62, 754, 'affiliate_id', 'uid', NULL),
+(62, 754, 'password', 'pw', NULL),
+(62, 754, 'site_id', 'sid', NULL),
+(62, 754, 'reward', 'verguetung', NULL),
+(62, 754, 'reload', 'reload', NULL),
+(62, 754, 'remain_clicks', 'uebrig', NULL),
+(62, 755, 'extra', 'art', 'paidmail'),
+(62, 755, 'affiliate_id', 'uid', NULL),
+(62, 755, 'password', 'pw', NULL),
+(62, 755, 'site_id', 'sid', NULL),
+(62, 755, 'reward', 'verguetung', NULL),
+(62, 755, 'reload', 'reload', NULL),
+(62, 755, 'remain_clicks', 'uebrig', NULL),
+(62, 755, 'minimum_stay', 'ma', NULL),
+(62, 756, 'extra', 'art', 'popup'),
+(62, 756, 'affiliate_id', 'uid', NULL),
+(62, 756, 'password', 'pw', NULL),
+(62, 756, 'site_id', 'sid', NULL),
+(62, 756, 'reward', 'verguetung', NULL),
+(62, 756, 'reload', 'reload', NULL),
+(62, 756, 'remain_clicks', 'uebrig', NULL),
+(62, 756, 'minimum_stay', 'ma', NULL),
+(62, 757, 'extra', 'art', 'skybannerklick'),
+(62, 757, 'affiliate_id', 'uid', NULL),
+(62, 757, 'password', 'pw', NULL),
+(62, 757, 'site_id', 'sid', NULL),
+(62, 757, 'reward', 'verguetung', NULL),
+(62, 757, 'reload', 'reload', NULL),
+(62, 757, 'remain_clicks', 'uebrig', NULL),
+(62, 758, 'extra', 'art', 'skybannerview'),
+(62, 758, 'affiliate_id', 'uid', NULL),
+(62, 758, 'password', 'pw', NULL),
+(62, 758, 'site_id', 'sid', NULL),
+(62, 758, 'reward', 'verguetung', NULL),
+(62, 758, 'reload', 'reload', NULL),
+(62, 758, 'remain_clicks', 'uebrig', NULL),
+(62, 759, 'extra', 'art', 'surfbarklick'),
+(62, 759, 'affiliate_id', 'uid', NULL),
+(62, 759, 'password', 'pw', NULL),
+(62, 759, 'site_id', 'sid', NULL),
+(62, 759, 'reward', 'verguetung', NULL),
+(62, 759, 'reload', 'reload', NULL),
+(62, 759, 'remain_clicks', 'uebrig', NULL),
+(62, 760, 'extra', 'art', 'surfbarview'),
+(62, 760, 'affiliate_id', 'uid', NULL),
+(62, 760, 'password', 'pw', NULL),
+(62, 760, 'site_id', 'sid', NULL),
+(62, 760, 'reward', 'verguetung', NULL),
+(62, 760, 'reload', 'reload', NULL),
+(62, 760, 'remain_clicks', 'uebrig', NULL),
+(62, 761, 'extra', 'art', 'textlinkklick'),
+(62, 761, 'affiliate_id', 'uid', NULL),
+(62, 761, 'password', 'pw', NULL),
+(62, 761, 'site_id', 'sid', NULL),
+(62, 761, 'reward', 'verguetung', NULL),
+(62, 761, 'reload', 'reload', NULL),
+(62, 761, 'remain_clicks', 'uebrig', NULL),
+(62, 762, 'extra', 'art', 'textlinkview'),
+(62, 762, 'affiliate_id', 'uid', NULL),
+(62, 762, 'password', 'pw', NULL),
+(62, 762, 'site_id', 'sid', NULL),
+(62, 762, 'reward', 'verguetung', NULL),
+(62, 762, 'reload', 'reload', NULL),
+(62, 762, 'remain_clicks', 'uebrig', NULL),
+(62, 763, 'extra', 'art', 'traffic'),
+(62, 763, 'affiliate_id', 'uid', NULL),
+(62, 763, 'password', 'pw', NULL),
+(62, 763, 'site_id', 'sid', NULL),
+(62, 763, 'reward', 'verguetung', NULL),
+(62, 763, 'reload', 'reload', NULL),
+(62, 763, 'remain_clicks', 'uebrig', NULL),
+(62, 763, 'minimum_stay', 'ma', NULL)");
+
// Request parameters per type handler - eu-ADS.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
(42, 431, 'extra', 'typ', 'forcedbanner'),
(26, 246, 9, 9),
(26, 246, 25, 10)");
+// API array elements - Earn4Webbis
+addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`, `network_type_id`, `network_array_index`, `network_array_sort`) VALUES
+(62, 747, 7, 1),
+(62, 747, 2, 2),
+(62, 747, 5, 3),
+(62, 747, 4, 4),
+(62, 747, 6, 5),
+(62, 748, 7, 1),
+(62, 748, 2, 2),
+(62, 748, 5, 3),
+(62, 748, 4, 4),
+(62, 748, 6, 5),
+(62, 749, 7, 1),
+(62, 749, 2, 2),
+(62, 749, 5, 3),
+(62, 749, 4, 4),
+(62, 749, 6, 5),
+(62, 750, 7, 1),
+(62, 750, 2, 2),
+(62, 750, 5, 3),
+(62, 750, 4, 4),
+(62, 750, 6, 5),
+(62, 751, 7, 1),
+(62, 751, 2, 2),
+(62, 751, 5, 3),
+(62, 751, 4, 4),
+(62, 751, 6, 5),
+(62, 751, 10, 6),
+(62, 752, 1, 1),
+(62, 752, 2, 2),
+(62, 752, 5, 3),
+(62, 752, 4, 4),
+(62, 752, 6, 5),
+(62, 752, 10, 6),
+(62, 752, 9, 7),
+(62, 753, 1, 1),
+(62, 753, 2, 2),
+(62, 753, 5, 3),
+(62, 753, 4, 4),
+(62, 753, 6, 5),
+(62, 753, 10, 6),
+(62, 753, 38, 7),
+(62, 753, 9, 8),
+(62, 754, 7, 1),
+(62, 754, 2, 2),
+(62, 754, 5, 3),
+(62, 754, 4, 4),
+(62, 754, 6, 5),
+(62, 755, 1, 1),
+(62, 755, 2, 2),
+(62, 755, 5, 3),
+(62, 755, 4, 4),
+(62, 755, 6, 5),
+(62, 755, 10, 6),
+(62, 755, 38, 7),
+(62, 755, 9, 8),
+(62, 756, 7, 1),
+(62, 756, 2, 2),
+(62, 756, 5, 3),
+(62, 756, 4, 4),
+(62, 756, 6, 5),
+(62, 756, 10, 6),
+(62, 757, 7, 1),
+(62, 757, 2, 2),
+(62, 757, 5, 3),
+(62, 757, 4, 4),
+(62, 757, 6, 5),
+(62, 758, 7, 1),
+(62, 758, 2, 2),
+(62, 758, 5, 3),
+(62, 758, 4, 4),
+(62, 758, 6, 5),
+(62, 759, 7, 1),
+(62, 759, 2, 2),
+(62, 759, 5, 3),
+(62, 759, 4, 4),
+(62, 759, 6, 5),
+(62, 760, 7, 1),
+(62, 760, 2, 2),
+(62, 760, 5, 3),
+(62, 760, 4, 4),
+(62, 760, 6, 5),
+(62, 761, 1, 1),
+(62, 761, 2, 2),
+(62, 761, 5, 3),
+(62, 761, 4, 4),
+(62, 761, 6, 5),
+(62, 761, 9, 6),
+(62, 762, 1, 1),
+(62, 762, 2, 2),
+(62, 762, 5, 3),
+(62, 762, 4, 4),
+(62, 762, 6, 5),
+(62, 762, 9, 6),
+(62, 763, 7, 1),
+(62, 763, 2, 2),
+(62, 763, 5, 3),
+(62, 763, 4, 4),
+(62, 763, 6, 5),
+(62, 763, 10, 6)");
+
// API array elements - FuCoExSponsor.net
addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`, `network_type_id`, `network_array_index`, `network_array_sort`) VALUES
(29, 273, 7, 1),