* @TODO Admono.de: highforcedbanner, traffic from abroad *
* @TODO Affiliblatt: All except banner, do they really have UTF-8? *
* @TODO AllAds4You: Traffic from abroad, High-Forced banner *
+ * @TODO eu-ADS/WeltPromotion: Text for banner/buttons? *
* @TODO FuCoExSponsor: No High-Forced banner, HTML is BASE64 encoded *
* @TODO FuCoExSponsor: Textlink-View is JavaScript! *
* @TODO Fusion-Ads: Has click/banner URL in API response *
('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'),
-('superpromo24', 'SuperPromo24', 'http://www.superpromo24.de/index.php?seite=anmeldung&ref=Quix0r', '|', '|', 'GET', 'ISO-8859-1', 'N', 300, 'Y')");
+('superpromo24', 'SuperPromo24', 'http://www.superpromo24.de/index.php?seite=anmeldung&ref=Quix0r', '|', '|', 'GET', 'ISO-8859-1', 'N', 300, 'Y'),
+('euads', 'eu-ADS.de', 'http://www.eu-ads.de?ref=411', '|', '|', 'GET', 'ISO-8859-1', 'N', 200, '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
(245, 26, 'lead', 'http://www.doubleads.de/interface/out_lead.php', 'http://www.doubleads.de/lead.php?id=%CID%', NULL, 'h'),
(246, 26, 'sale', 'http://www.doubleads.de/interface/out_sale.php', 'http://www.doubleads.de/sale.php?id=%CID%', NULL, 'h')");
+ // Network type handlers - 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, 'forcedbanner', '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%', 'http://www.eu-ads.de/codes/forcedbannerview.php?id=%UID%&bid=%CID%&aid=%SID%','h','NONE'),
+(432, 42, 'forcedtextlink', 'http://www.eu-ads.de/interface/api_2.php', 'http://www.eu-ads.de/codes/forcedtextlinkklick.php?id=%UID%&bid=%CID%&aid=%SID%&trackid=%TID%', NULL,'h','NONE'),
+(433, 42, 'banner_view', 'http://www.eu-ads.de/interface/api_2.php', 'http://www.eu-ads.de/codes/bannerklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.eu-ads.de/codes/bannerview.php?id=%UID%&bid=%CID%&aid=%SID%','h','NONE'),
+(434, 42, 'banner_click', 'http://www.eu-ads.de/interface/api_2.php', 'http://www.eu-ads.de/codes/klickbanner.php?id=%UID%&bid=%CID%&aid=%SID%&trackid=%TID%', 'http://www.eu-ads.de/codes/viewbanner.php?id=%UID%&bid=%CID%&aid=%SID%','h','NONE'),
+(435, 42, 'skybanner_view', 'http://www.eu-ads.de/interface/api_2.php', 'http://www.eu-ads.de/codes/skybannerklick.php?id=%UID%&bid=%CID%&aid=%SID%&trackid=%TID%', 'http://www.eu-ads.de/codes/skybannerview.php?id=%UID%&bid=%CID%&aid=%SID%','h','NONE'),
+(436, 42, 'button_view', 'http://www.eu-ads.de/interface/api_2.php', 'http://www.eu-ads.de/codes/buttonklick.php?id=%UID%&bid=%CID%&aid=%SID%&trackid=%TID%', 'http://www.eu-ads.de/codes/buttonview.php?id=%UID%&bid=%CID%&aid=%SID%','h','NONE'),
+(437, 42, 'textlink_view', 'http://www.eu-ads.de/interface/api_2.php', 'http://www.eu-ads.de/codes/textlinkview.php?id=%UID%&bid=%CID%&aid=%SID%&trackid=%TID%', NULL,'h','NONE'),
+(438, 42, 'traffic', 'http://www.eu-ads.de/interface/api_2.php', 'http://www.eu-ads.de/codes/traffic.php?id=%UID%&bid=%CID%&aid=%SID%&trackid=%TID%', NULL,'h','NONE'),
+(439, 42, 'popup', 'http://www.eu-ads.de/interface/api_2.php', 'http://www.eu-ads.de/codes/popup.php?id=%UID%&bid=%CID%&aid=%SID%&trackid=%TID%', NULL,'h','NONE'),
+(440, 42, 'textmail', 'http://www.eu-ads.de/interface/api_2.php', 'http://www.eu-ads.de/codes/paidmail.php?id=%UID%&bid=%CID%&aid=%SID%&trackid=%TID%', NULL,'h','NONE')");
+
// 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
(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'),
(26, 246, 'reward', 'verguetung', NULL),
(26, 246, 'sid', 'sid', 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'),
+(42, 431, 'affiliate_id', 'id', NULL),
+(42, 431, 'password', 'pw', NULL),
+(42, 431, 'sid', 'siteid', NULL),
+(42, 431, 'remain', 'uebrig', NULL),
+(42, 431, 'reload', 'reload', NULL),
+(42, 431, 'reward', 'verguetung', NULL),
+(42, 432, 'extra', 'typ', 'forcedtextlink'),
+(42, 432, 'affiliate_id', 'id', NULL),
+(42, 432, 'password', 'pw', NULL),
+(42, 432, 'sid', 'siteid', NULL),
+(42, 432, 'remain', 'uebrig', NULL),
+(42, 432, 'reload', 'reload', NULL),
+(42, 432, 'reward', 'verguetung', NULL),
+(42, 433, 'extra', 'typ', 'bannerview'),
+(42, 433, 'affiliate_id', 'id', NULL),
+(42, 433, 'password', 'pw', NULL),
+(42, 433, 'sid', 'siteid', NULL),
+(42, 433, 'remain', 'uebrig', NULL),
+(42, 433, 'reload', 'reload', NULL),
+(42, 433, 'reward', 'verguetung', NULL),
+(42, 434, 'extra', 'typ', 'bannerklick'),
+(42, 434, 'affiliate_id', 'id', NULL),
+(42, 434, 'password', 'pw', NULL),
+(42, 434, 'sid', 'siteid', NULL),
+(42, 434, 'remain', 'uebrig', NULL),
+(42, 434, 'reload', 'reload', NULL),
+(42, 434, 'reward', 'verguetung', NULL),
+(42, 435, 'extra', 'typ', 'skybannerview'),
+(42, 435, 'affiliate_id', 'id', NULL),
+(42, 435, 'password', 'pw', NULL),
+(42, 435, 'sid', 'siteid', NULL),
+(42, 435, 'remain', 'uebrig', NULL),
+(42, 435, 'reload', 'reload', NULL),
+(42, 435, 'reward', 'verguetung', NULL),
+(42, 436, 'extra', 'typ', 'buttonview'),
+(42, 436, 'affiliate_id', 'id', NULL),
+(42, 436, 'password', 'pw', NULL),
+(42, 436, 'sid', 'siteid', NULL),
+(42, 436, 'remain', 'uebrig', NULL),
+(42, 436, 'reload', 'reload', NULL),
+(42, 436, 'reward', 'verguetung', NULL),
+(42, 437, 'extra', 'typ', 'textview'),
+(42, 437, 'affiliate_id', 'id', NULL),
+(42, 437, 'password', 'pw', NULL),
+(42, 437, 'sid', 'siteid', NULL),
+(42, 437, 'remain', 'uebrig', NULL),
+(42, 437, 'reload', 'reload', NULL),
+(42, 437, 'reward', 'verguetung', NULL),
+(42, 438, 'extra', 'typ', 'traffic'),
+(42, 438, 'affiliate_id', 'id', NULL),
+(42, 438, 'password', 'pw', NULL),
+(42, 438, 'sid', 'siteid', NULL),
+(42, 438, 'remain', 'uebrig', NULL),
+(42, 438, 'reload', 'reload', NULL),
+(42, 438, 'reward', 'verguetung', NULL),
+(42, 439, 'extra', 'typ', 'popup'),
+(42, 439, 'affiliate_id', 'id', NULL),
+(42, 439, 'password', 'pw', NULL),
+(42, 439, 'sid', 'siteid', NULL),
+(42, 439, 'remain', 'uebrig', NULL),
+(42, 439, 'reload', 'reload', NULL),
+(42, 439, 'reward', 'verguetung', NULL),
+(42, 440, 'extra', 'typ', 'paidmail'),
+(42, 440, 'affiliate_id', 'id', NULL),
+(42, 440, 'password', 'pw', NULL),
+(42, 440, 'sid', 'siteid', NULL),
+(42, 440, 'remain', 'uebrig', NULL),
+(42, 440, 'reload', 'reload', NULL),
+(42, 440, 'reward', 'verguetung', 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
(29, 273, 'extra', 'art', 'bannerklick'),
(35, 356, 6, 5),
(35, 356, 10, 6)");
- // API array elements - Adminlose.de
+ // API array elements - eu-ADS.de
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`, `network_type_id`, `network_array_index`, `network_array_sort`) VALUES
+(42, 431, 1, 1),
+(42, 431, 2, 2),
+(42, 431, 4, 3),
+(42, 431, 5, 4),
+(42, 431, 6, 5),
+(42, 431, 10, 6),
+(42, 431, 9, 7),
+(42, 431, 40, 8),
+(42, 432, 1, 1),
+(42, 432, 2, 2),
+(42, 432, 4, 3),
+(42, 432, 5, 4),
+(42, 432, 6, 5),
+(42, 432, 10, 6),
+(42, 432, 9, 7),
+(42, 432, 40, 8),
+(42, 433, 1, 1),
+(42, 433, 2, 2),
+(42, 433, 4, 3),
+(42, 433, 5, 4),
+(42, 433, 6, 5),
+(42, 433, 10, 6),
+(42, 433, 9, 7),
+(42, 433, 40, 8),
+(42, 434, 1, 1),
+(42, 434, 2, 2),
+(42, 434, 4, 3),
+(42, 434, 5, 4),
+(42, 434, 6, 5),
+(42, 434, 10, 6),
+(42, 434, 9, 7),
+(42, 434, 40, 8),
+(42, 435, 1, 1),
+(42, 435, 2, 2),
+(42, 435, 4, 3),
+(42, 435, 5, 4),
+(42, 435, 6, 5),
+(42, 435, 10, 6),
+(42, 435, 9, 7),
+(42, 435, 40, 8),
+(42, 436, 1, 1),
+(42, 436, 2, 2),
+(42, 436, 4, 3),
+(42, 436, 5, 4),
+(42, 436, 6, 5),
+(42, 436, 10, 6),
+(42, 436, 9, 7),
+(42, 436, 40, 8),
+(42, 437, 1, 1),
+(42, 437, 2, 2),
+(42, 437, 4, 3),
+(42, 437, 5, 4),
+(42, 437, 6, 5),
+(42, 437, 10, 6),
+(42, 437, 9, 7),
+(42, 437, 40, 8),
+(42, 438, 1, 1),
+(42, 438, 2, 2),
+(42, 438, 4, 3),
+(42, 438, 5, 4),
+(42, 438, 6, 5),
+(42, 438, 10, 6),
+(42, 438, 9, 7),
+(42, 438, 40, 8),
+(42, 439, 1, 1),
+(42, 439, 2, 2),
+(42, 439, 4, 3),
+(42, 439, 5, 4),
+(42, 439, 6, 5),
+(42, 439, 10, 6),
+(42, 439, 9, 7),
+(42, 439, 40, 8),
+(42, 440, 1, 1),
+(42, 440, 2, 2),
+(42, 440, 4, 3),
+(42, 440, 5, 4),
+(42, 440, 6, 5),
+(42, 440, 10, 6),
+(42, 440, 9, 7),
+(42, 440, 40, 8)");
// 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